[E6853][TWRP] Root with unlocked bootloader [ABANDONED]

Status
Not open for further replies.
Search This thread

AndroPlus

Senior Member
Mar 13, 2013
1,898
4,156
Kyoto
androplus.org
Lenovo P11
Xiaomi Mix Fold 2
I created TWRP and custom kernel for Z5 Premium E6853.
I won't update this kernel since I don't have Z5P.

NOTE: This kernel is not for people who don't read official instruction at Sony Developer World!
This note is ridiculous, but some people don't read long instruction even if it has risk.

Download:
https://dl.androplus.org/Xperia Z5 Premium_E6853/

NOTE: You should search how to setup adb and fastboot.
You can find how to for unlocking bootloader on Sony Developer World.

1. Download Z5P_AndroPlusKernel_v4a.zip and twrp-2.8.7.0-E6853-20151122_material.img
You also need SuperSU from this thread
2. Enter into fastboot mode and run these commands in same folder you downloaded 1.
Code:
fastboot flash boot boot.img
fastboot flash recovery twrp-2.8.7.0-E6853-20151122_material.img
fastboot reboot
3. Press volume key when LED is on
4. Install SuperSU zip
5. Reboot and rooting is done

If TWRP didn't work, you can alternatively do this:
Code:
adb shell
rootsh +p
./SuperSU_files/install_SuperSU.sh
reboot
Source:
Kernel -
https://github.com/AndroPlus-org/android_kernel_sony_msm8994_kitakami_r2
Device tree -
https://github.com/AndroPlus-org/android_device_sony_kitakami
https://github.com/AndroPlus-org/device-sony-satsuki
 
Last edited:

rx7boy22

Senior Member
Apr 17, 2012
56
8
Medicine Hat, AB
I created TWRP and custom kernel for Z5 Premium E6853.
I won't update this kernel or create one for Dual since I don't have Z5P.

Download:
https://dl.androplus.org/Xperia Z5 Premium_E6853/

NOTE: You should search how to setup adb and fastboot.
You can find how to for unlocking bootloader on Sony Developer World.

1. Download Z5P_AndroPlusKernel_v4a.zip and twrp-2.8.7.0-E6853-20151122_material.img
You also need SuperSU from this thread
2. Enter into fastboot mode and run these commands in same folder you downloaded 1.
Code:
fastboot flash boot boot.img
fastboot flash recovery twrp-2.8.7.0-E6853-20151122_material.img
fastboot reboot
3. Press volume key when LED is on
4. Install SuperSU zip
5. Reboot and rooting is done

If TWRP didn't work, you can alternatively do this:
Code:
adb shell
rootsh +p
./SuperSU_files/install_SuperSU.sh
reboot
Source:
Kernel -
https://github.com/AndroPlus-org/android_kernel_sony_msm8994_kitakami_r2
Device tree -
https://github.com/AndroPlus-org/android_device_sony_kitakami
https://github.com/AndroPlus-org/device-sony-satsuki

Hi androplus

You do awesome work I have used your kernel on the z3 before. So happy to see you helping us out. Is there any changes or things you have added to this kernel or is it just rooted?

Thanks

Sent from my E6853 using XDA Free mobile app
 
Last edited:

AndroPlus

Senior Member
Mar 13, 2013
1,898
4,156
Kyoto
androplus.org
Lenovo P11
Xiaomi Mix Fold 2
  • Like
Reactions: get2easy

get2easy

Senior Member
Nov 12, 2010
376
27
51
Petrinja
Have anyone guys the S1 Fastboot driver for my Z5P and me

---------- Post added at 03:09 PM ---------- Previous post was at 02:49 PM ----------

Ok, i Found the S1 driver and download it, but when i will install the driver, aborts the installation( installtion error)

My Os is Windows 10 64 bit
 
  • Like
Reactions: hadiey020400

get2easy

Senior Member
Nov 12, 2010
376
27
51
Petrinja
Ok i have install S1 driver, but i have the same problem as Jacob_Bentzen(FAILD (remote: Command not allowed))
 

Gentle Jesus

Senior Member
May 16, 2012
57
3
Amazing been waiting to root for so long

This is cool thanks a massive bunch :)

I will be rooting and flashing the recovery after work.

One question, will I still get Xperia updates for the sony rom after I have rooted and will my phone be wiped after u locking bootloader and flashing recovery ?
 
Last edited:
  • Like
Reactions: hadiey020400
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 23
    I created TWRP and custom kernel for Z5 Premium E6853.
    I won't update this kernel since I don't have Z5P.

    NOTE: This kernel is not for people who don't read official instruction at Sony Developer World!
    This note is ridiculous, but some people don't read long instruction even if it has risk.

    Download:
    https://dl.androplus.org/Xperia Z5 Premium_E6853/

    NOTE: You should search how to setup adb and fastboot.
    You can find how to for unlocking bootloader on Sony Developer World.

    1. Download Z5P_AndroPlusKernel_v4a.zip and twrp-2.8.7.0-E6853-20151122_material.img
    You also need SuperSU from this thread
    2. Enter into fastboot mode and run these commands in same folder you downloaded 1.
    Code:
    fastboot flash boot boot.img
    fastboot flash recovery twrp-2.8.7.0-E6853-20151122_material.img
    fastboot reboot
    3. Press volume key when LED is on
    4. Install SuperSU zip
    5. Reboot and rooting is done

    If TWRP didn't work, you can alternatively do this:
    Code:
    adb shell
    rootsh +p
    ./SuperSU_files/install_SuperSU.sh
    reboot
    Source:
    Kernel -
    https://github.com/AndroPlus-org/android_kernel_sony_msm8994_kitakami_r2
    Device tree -
    https://github.com/AndroPlus-org/android_device_sony_kitakami
    https://github.com/AndroPlus-org/device-sony-satsuki
    5
    Thread cleaned.

    Please do not spam the thread if you cannot read the thread and sony's website properly. It is clearly mentioned in this thread that unlocking bootloader will make you lose DRM keys for which OP is NOT responsible.
    3
    I created TWRP and custom kernel for Z5 Premium E6853.
    I won't update this kernel or create one for Dual since I don't have Z5P.

    Download:
    https://dl.androplus.org/Xperia Z5 Premium_E6853/

    NOTE: You should search how to setup adb and fastboot.
    You can find how to for unlocking bootloader on Sony Developer World.

    1. Download Z5P_AndroPlusKernel_v4a.zip and twrp-2.8.7.0-E6853-20151122_material.img
    You also need SuperSU from this thread
    2. Enter into fastboot mode and run these commands in same folder you downloaded 1.
    Code:
    fastboot flash boot boot.img
    fastboot flash recovery twrp-2.8.7.0-E6853-20151122_material.img
    fastboot reboot
    3. Press volume key when LED is on
    4. Install SuperSU zip
    5. Reboot and rooting is done

    If TWRP didn't work, you can alternatively do this:
    Code:
    adb shell
    rootsh +p
    ./SuperSU_files/install_SuperSU.sh
    reboot
    Source:
    Kernel -
    https://github.com/AndroPlus-org/android_kernel_sony_msm8994_kitakami_r2
    Device tree -
    https://github.com/AndroPlus-org/android_device_sony_kitakami
    https://github.com/AndroPlus-org/device-sony-satsuki

    Hi androplus

    You do awesome work I have used your kernel on the z3 before. So happy to see you helping us out. Is there any changes or things you have added to this kernel or is it just rooted?

    Thanks

    Sent from my E6853 using XDA Free mobile app
    2
    1. Setup build environment - search, try and think.
    Basic requirement is written in README_Xperia:
    https://github.com/AndroPlus-org/an.../blob/lollipop_mr1_32.0.A.6.152/README_Xperia
    I can't write full how-to since I'm not good at Linux setup.

    2. Make insecure ramdisk
    Get kernel.sin from FTF and extract it using Flashtool (Tools -> Sin Editor -> Extract data).
    Then run this:
    git clone --recursive https://github.com/AndroPlus-org/build_tools_xperia.git
    This is unpack/repack ramdisk tools.
    Put kernel.elf to same dir and run runme_1unpack64.sh and runme_2repack_mod64.sh.
    *If you want to modify ramdisk, edit files in work dir before running runme_2repack_mod64.sh.
    You will get ramdiskE68.cpio.gz.
    This is same as "ramdisk.img", so change file name in the command.

    3. If you don't use my kernel source, you should add this to the bottom of your arch/arm64/configs/kitakami_defconfig
    Code:
    CONFIG_SECURITY_SONY_RIC=n
    # CONFIG_DM_VERITY is not set
    CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=1
    CONFIG_SECURITY_SELINUX_DISABLE=y
    CONFIG_SECURITY_SELINUX_DEVELOP=y
    CONFIG_SECURITY_SELINUX_AVC_STATS=y
    # CONFIG_SECURITY_SELINUX_AVC_EXTRA_INFO is not set
    # CONFIG_SECURITY_SELINUX_TRAP is not set
    4. Follow build guide in README_Xperia.
    You will need to adjust path or file names.
    2
    I get this :(

    FAILD (remote: Command not allowed)

    What does that mean?? :(
    you have to unlock your bootloader first