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

lexero

New member
Mar 20, 2018
3
0
0
WARNING!
TWRP builds version 3.2.1-0 and higher are not compatible with Android Lollipop (5.0/5.1.1) due to SELinux rejection

OFFICIAL DOWNLOADS FOR YUGA :
https://twrp.me/sony/sonyxperiaz.html
twrp-3.x.x-x-yuga.img : Official TWRP image
How to install : All informations available on TWRP.me



DEVELOPMENT DOWNLOADS FOR YUGA :
https://androidfilehost.com/?w=files&flid=202353
twrp-3.2.x-x-yuga.zip : Flashable TWRP 3 to FOTA installer
twrp-3.2.x-x-yuga.img : Fastboot bootable TWRP 3 image
cleaner-fota-yuga.zip : Flashable FOTA formatter (optional)



HOW TO INSTALL EASILY TO FOTA :
* (Optional) : Download the TWRP bootimage and flash it to boot
fastboot flash boot twrpfilename.img
* Boot to recovery : Enter the Recovery as usual
* Flash to FOTA : Install the TWRP FOTA zip
* (Optional) : Flash the ROM you want



HOW TO INSTALL MANUALLY TO FOTA :
* Bootimage : Download the TWRP bootimage you want to flash
* File storage : Adapt the path and push the file to the device this way :

* Flash : Extract the TWRP image to the FOTA partition

* Reboot to recovery :adb reboot recovery



ADDITIONAL LINKS :
* Easy ADB and Fastboot for unexperienced users :

https://forum.xda-developers.com/showthread.php?p=48915118

Thanks to the TWRP Team

Current local manifest of the TWRP build
can we use this rec to flash android o?(like rr and los15)
 

Astur_Torque

Senior Member
Aug 21, 2014
286
41
0
Gijón
Coming from 4.4 official.. I can install up to 3.0.20.. if I try to install newer, the device doesn't even boot, infinite bootloop trying to enter into the recovery


I'm stuck I want to install the lastest oreo builds

---------- Post added at 17:14 ---------- Previous post was at 16:23 ----------

Thank you @CyberWalkMaN
The newest twrp-3.2.3-0-yuga.img works nice flashed on boot and on FOTAkernel on my new Xperia Z. :)
Now flashing the newest official LineageOS 15.1 :)

How did you do it? In my case I couldn't because if I try to install a TWRP version newer than 3.0.2.0, the recovery doesn't boot and enters into a bootloop


I come from Official 4.4, but it's unlocked
 

MartinX3

Recognized Contributor
Sep 14, 2014
5,568
2,784
253
Mars
martinx3.github.io
Coming from 4.4 official.. I can install up to 3.0.20.. if I try to install newer, the device doesn't even boot, infinite bootloop trying to enter into the recovery


I'm stuck I want to install the lastest oreo builds

---------- Post added at 17:14 ---------- Previous post was at 16:23 ----------




How did you do it? In my case I couldn't because if I try to install a TWRP version newer than 3.0.2.0, the recovery doesn't boot and enters into a bootloop


I come from Official 4.4, but it's unlocked
I came from official 5.1.1.
 

mharis0786

Member
Aug 9, 2015
29
4
0
I have xperia z android 5.1.1 with unlocked bootloader but not rooted

Now I have done the step:
fastboot flash boot twrp3.0.2.img

My phone is alway in TWRP mode after restart.

Same issue after flashing twrp(latest)
Bootloader: Unlocked
Rom: Stock LB(5.1.1)
Phone is not rooted
Any help would be appreciated.
 

MartinX3

Recognized Contributor
Sep 14, 2014
5,568
2,784
253
Mars
martinx3.github.io
I have xperia z android 5.1.1 with unlocked bootloader but not rooted



Now I have done the step:

fastboot flash boot twrp3.0.2.img



My phone is alway in TWRP mode after restart.



Same issue after flashing twrp(latest)

Bootloader: Unlocked

Rom: Stock LB(5.1.1)

Phone is not rooted

Any help would be appreciated.
Please follow the Instructions of the twrp installation for exactly this device and use the newest version.
 
Last edited:
  • Like
Reactions: mharis0786

mharis0786

Member
Aug 9, 2015
29
4
0
Please follow the Instructions of the twrp installation for exactly this device and use the newest version.
Steps that I followed:
adb reboot bootloader
fastboot devices
fastboot flash boot twrp_yuga.img
fastboot reboot
adb push twrp_yuga.img /sdcard
adb shell
dd if=/sdcard/twrp_yuga.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
exit
but then after pressing reboot then system in twrp, the phone is rebooting into twrp not in android system. :crying:
 

MartinX3

Recognized Contributor
Sep 14, 2014
5,568
2,784
253
Mars
martinx3.github.io
Steps that I followed:

adb reboot bootloader

fastboot devices

fastboot flash boot twrp_yuga.img

fastboot reboot

adb push twrp_yuga.img /sdcard

adb shell

dd if=/sdcard/twrp_yuga.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel

exit

but then after pressing reboot then system in twrp, the phone is rebooting into twrp not in android system. :crying:
I don't know where you got the instruction, but this mixes the right and wrong steps together. :silly:
Please look at twrp.me :)
 
  • Like
Reactions: mharis0786

mharis0786

Member
Aug 9, 2015
29
4
0
Weird.
Something must be wrong with your PC drivers.
It works here.
Could you please provide me the detailed steps how do you flashed it on stock LP.
I guess the drivers are correctly installed in my PC as there was no error (except: root this bundle is not valid) occured while flashing stock kk or lp ftf from flashtool 0.9.18.6., the phone booted normally with no issue.
Using platform-tools_r28.0.2-windows.zip, extracted it on C:\adb .:confused:
 

MartinX3

Recognized Contributor
Sep 14, 2014
5,568
2,784
253
Mars
martinx3.github.io
Could you please provide me the detailed steps how do you flashed it on stock LP.

I guess the drivers are correctly installed in my PC as there was no error (except: root this bundle is not valid) occured while flashing stock kk or lp ftf from flashtool 0.9.18.6., the phone booted normally with no issue.

Using platform-tools_r28.0.2-windows.zip, extracted it on C:\adb .:confused:
First i flashed the stock 5.1.1 and Booted it once
Then I followed exactly the twrp.me instructions, then I booted into twrp, installed lineageOS and installed twrp again.

I use linux Ubuntu 18.04 / Linux mint 19.1
My adb and fastboot drivers are integrated into the kernel
I just downloaded the google platform tools r28.0.1 (now 28.0.3)
I did nothing special, but under windows 10 I got driver problems.
It is difficult to install the drivers there :(
 
  • Like
Reactions: mharis0786

mharis0786

Member
Aug 9, 2015
29
4
0
First i flashed the stock 5.1.1 and Booted it once
Then I followed exactly the twrp.me instructions, then I booted into twrp, installed lineageOS and installed twrp again.

I use linux Ubuntu 18.04 / Linux mint 19.1
My adb and fastboot drivers are integrated into the kernel
I just downloaded the google platform tools r28.0.1 (now 28.0.3)
I did nothing special, but under windows 10 I got driver problems.
It is difficult to install the drivers there :(
I dont want to flash custom rom after flashing twrp although I done it previously & the phone booted normally in android system
Issue persist when you flash twrp, then reboot into system from twrp options without flashing any custom rom or any kind of tweaks.
I want to flash "SONY DRM FUNCTION RESTORATION" through twrp on stock LP Link: https://www.google.co.in/amp/s/foru...ria-z1-z2-z3-series-devices-drm-t2930672/amp/
as I didn't backup ta partition before unlocking bootloader.
You can easily install sony drivers from driver folder in flashtool in Windows 10 by temporarly disabling signed driver enforcement in Windows 10
 

MartinX3

Recognized Contributor
Sep 14, 2014
5,568
2,784
253
Mars
martinx3.github.io
I dont want to flash custom rom after flashing twrp although I done it previously & the phone booted normally in android system
Issue persist when you flash twrp, then reboot into system from twrp options without flashing any custom rom or any kind of tweaks.
I want to flash "SONY DRM FUNCTION RESTORATION" through twrp on stock LP Link: https://www.google.co.in/amp/s/foru...ria-z1-z2-z3-series-devices-drm-t2930672/amp/
as I didn't backup ta partition before unlocking bootloader.
You can easily install sony drivers from driver folder in flashtool in Windows 10 by temporarly disabling signed driver enforcement in Windows 10
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.
 
  • Like
Reactions: mharis0786