[UB][RECOVERY] TWRP v3.2.2 for Xperia Z

mharis0786

Member
Aug 9, 2015
29
4
0
Thank you :)

Yeah, but you see that I did nothing special, I just followed the instructions. :)
In my opinion the initial root access in the stock firmware was the hardest part to execute "dd" in the terminal to install TWRP.
How did you rooted the stock firmware?
I used kingroot.apk to root & supersume to remove it & install SuperSU succesfully.
then performed the steps as mentioned in twrp.me.
Installed official twrp apk from play store.flashed through it successful but still can't boot into recovery
then install terminal emulator apk and enter the following commands:
1) su
2) dd if=/sdcard/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
3) exit
then try to reboot into recovery using simple reboot apk but still this not work. :confused:
 

MartinX3

Recognized Contributor
Sep 14, 2014
5,568
2,784
253
Mars
martinx3.github.io
How did you rooted the stock firmware?
I used kingroot.apk to root & supersume to remove it & install SuperSU succesfully.
then performed the steps as mentioned in twrp.me.
Installed official twrp apk from play store.flashed through it successful but still can't boot into recovery
then install terminal emulator apk and enter the following commands:
1) su
2) dd if=/sdcard/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
3) exit
then try to reboot into recovery using simple reboot apk but still this not work. :confused:
Hmm I installed first magisk 18.1 (not 19.1)
Maybe it modifies the kernel, so that the recovery is bootable :confused:
 
  • Like
Reactions: mharis0786

k0m3n9

Senior Member
Apr 19, 2011
274
68
48
Kuala Lumpur
reinstall rom .zip

I followed this steps from LineageOs website for Yuga
Here is the link: https://wiki.lineageos.org/devices/yuga/install
as there is no method for non-rooted device on twrp.me. :confused:
you can use above method but just need to reinstall <rom>.zip via adb sideload (as mention in link posted).

mine no longer boot to twrp after install magisk :rolleyes:.. running lineage os 15.1
magisk 16.7 works with less modules..
 
Last edited:

mungoAttack

Member
Mar 31, 2017
6
0
0
Problem after flashing TWRP

This is what I did:
1. Unlocked the bootloader
2. Updated to stock android 5.1.1. (with sonys flashtool)
3. fastboot flash recovery twrpfilename.img (probably a bad idea)
4. fastboot flash boot twrpfilename.img (I did not install the TWRP FOTA zip)
5. Installed Lineageos 15.1 (but it did not work)
6. Installed stock android 5.1.1. (again with sonys flashtool)

This is my problem:
(1) I can not boot into recovery with power button+volume down, nor with LineageOS power off/restart/recovery; both ways result in a black screen. The command adb reboot recovery is the only way that work, to my knowledge. (2) The fastboot command does not work anymore (it is not a driver problem); the adb command still work, but not fastboot; I get "waiting for device". I have tested with an other phone (Motorola) and fastboot work as it should with that phone.

Solution?
Do you have any good advice? What can I do to solve this problem?
 
Last edited: