Abandoned
This rooting method is deprecated. Use TWRP for Z5C instead.
Old post:
I have rooted my Z5 Compact and figured you might want a short how-to.
Disclaimer
I am well aware that this is not the nicest method of rooting, but I got the phone a few hours ago and haven't got the time to put together a better way.
Credits
@Tommy-Geenexus for Zombie kernel
@AndroPlus for Z5 recovery and guidance :good:
@Chainfire for SuperSU
Guide
First, you need to unlock you bootloader (I know, I know, now stop weeping :crying::crying::crying
A rooted device does not boot using default kernel, so you need to install an insecure kernel.
I am using a repacked Zombie b1 kernel, with a small modification (wrong owner on all files in ramdisk).
All credits fly out to @Tommy-Geenexus : [Kernel][Sony5.x][Z5C]Zombie[13.10.15]
Flash using:
Reboot your phone using:
And verify that it works as expected.
Now, reboot your phone to bootloader again (see info how to at the end of post).
Then issue:
This recovery is partly broken, but it works well enough to install root.
Thanks to @AndroPlus for TWRP code.
The phone will boot to a black screen, but you can connect to it using ADB.
You need to manually mount the system and userdata partition by issuing:
If you get this error:
mount: mounting /dev/block/platform/soc.0/by-name/system on /system failed: No such file or directory
You probably just need to wait a while and try again.
You can also try this command (and then re-enter the mount commands above):
If you got /system and /data to mount, you can now push SuperSU to the phone and install it:
If it all works, just reboot and enjoy root:
Files
zombie_b1_fixed.img
recovery.img
Extra info
Boot to bootloader by adb command:
or by turning off the phone, and then hold down VOL UP while plugging in the USB cable.
This rooting method is deprecated. Use TWRP for Z5C instead.
Old post:
I have rooted my Z5 Compact and figured you might want a short how-to.
Disclaimer
I am well aware that this is not the nicest method of rooting, but I got the phone a few hours ago and haven't got the time to put together a better way.
Credits
@Tommy-Geenexus for Zombie kernel
@AndroPlus for Z5 recovery and guidance :good:
@Chainfire for SuperSU
Guide
First, you need to unlock you bootloader (I know, I know, now stop weeping :crying::crying::crying
A rooted device does not boot using default kernel, so you need to install an insecure kernel.
I am using a repacked Zombie b1 kernel, with a small modification (wrong owner on all files in ramdisk).
All credits fly out to @Tommy-Geenexus : [Kernel][Sony5.x][Z5C]Zombie[13.10.15]
Flash using:
Code:
fastboot flash boot zombie_b1_fixed.img
Reboot your phone using:
Code:
fastboot reboot
Now, reboot your phone to bootloader again (see info how to at the end of post).
Then issue:
Code:
fastboot boot recovery.img
Thanks to @AndroPlus for TWRP code.
The phone will boot to a black screen, but you can connect to it using ADB.
You need to manually mount the system and userdata partition by issuing:
Code:
adb shell mount /dev/block/platform/soc.0/by-name/system /system
adb shell mount /dev/block/platform/soc.0/by-name/userdata /data
If you get this error:
mount: mounting /dev/block/platform/soc.0/by-name/system on /system failed: No such file or directory
You probably just need to wait a while and try again.
You can also try this command (and then re-enter the mount commands above):
Code:
adb shell mount
adb shell cat /proc/partitions
If you got /system and /data to mount, you can now push SuperSU to the phone and install it:
Code:
adb push UPDATE-SuperSU-v2.46.zip /data/media/0/
adb shell twrp install /data/media/0/UPDATE-SuperSU-v2.46.zip
adb shell rm /data/media/0/UPDATE-SuperSU-v2.46.zip
If it all works, just reboot and enjoy root:
Code:
adb reboot
Files
zombie_b1_fixed.img
recovery.img
Extra info
Boot to bootloader by adb command:
Code:
adb reboot bootloader
Last edited: