TWRP problem... Help - Xperia Z2 Tablet Q&A, Help & Troubleshooting

Hello, I have a tablet Xperia Z2 andriod 6.0.1, the original sony rom. I can't upload TWRP, everything loads fine with fastboot and TWRP won't boot because I'd like to install LineageOS. Bootloader unlocked correctly.
Sorry for my bad english and please help

From what I found out, it is possible to upload a custom rom via NUT'S Dual Recovery. Only the download page of this program and the links are inactive. If anyone has it, please link to the NUT'S Dual Recovery program

As you know fastboot, try this and see if you have luck.
Extract your custom rom zip and reveal your .img files.
Put the .img files into the same folder with fastboot.exe
fastboot erase cache
fastboot erase data
fastboot flash system system.img
fastboot flash boot boot.img
If you have luck, it will boot into system. Backup, always, beforehand as it will delete all your data.

Thank you very much, thanks to this I somehow managed to launch TWRP. I have installed LineageOs 18.1, the system works.

Silny033 said:
Thank you very much, thanks to this I somehow managed to launch TWRP. I have installed LineageOs 18.1, the system works.
Click to expand...
Click to collapse
Could you please describe your steps? I followed the instructions in lineage's wiki, tried flashing the latest castor compatible lineage recovery, tried different TWRP versions... It's always the same: fastboot prints "OKAY" but I can't boot into recovery.
My device is unlocked, but not rooted.

Testing Tester said:
Could you please describe your steps? I followed the instructions in lineage's wiki, tried flashing the latest castor compatible lineage recovery, tried different TWRP versions... It's always the same: fastboot prints "OKAY" but I can't boot into recovery.
My device is unlocked, but not rooted.
Click to expand...
Click to collapse
Hello, did you try fastboot boot twrp twrp.img, and flash TWRP in TWRP as soon as you get into it?

Testing Tester said:
Could you please describe your steps? I followed the instructions in lineage's wiki, tried flashing the latest castor compatible lineage recovery, tried different TWRP versions... It's always the same: fastboot prints "OKAY" but I can't boot into recovery.
My device is unlocked, but not rooted.
Click to expand...
Click to collapse
I'm in the same situation except I only tried with Lineage recovery for now. What did you end up doing? Many thanks.

LR7875 said:
Hello, did you try fastboot boot twrp twrp.img, and flash TWRP in TWRP as soon as you get into it?
Click to expand...
Click to collapse
Shall I try this? At this stage I haven't even tried TWRP. I only tried LineageOS Recovery but same situation as @Testing Tester : impossible to boot into it. What TWRP version do you recommand? @Silny033 which version worked for you?

Bonpotiron said:
Shall I try this? At this stage I haven't even tried TWRP. I only tried LineageOS Recovery but same situation as @Testing Tester : impossible to boot into it. What TWRP version do you recommand? @Silny033 which version worked for you?
Click to expand...
Click to collapse
I did everything as LR7875 advised, boot twrp first and then LineageOS 18.1 and it works fine. I have twrp 3.2.1-1

Silny033 said:
I did everything as LR7875 advised, boot twrp first and then LineageOS 18.1 and it works fine. I have twrp 3.2.1-1
Click to expand...
Click to collapse
LineageOS 18.1 really? I'm confused because the instructions on Lineage website say that the last nightly built is LineageOS 17.1 – [ Android 10.0.0 (Android 10) ] of 2021-10-06

LR7875 said:
As you know fastboot, try this and see if you have luck.
Extract your custom rom zip and reveal your .img files.
Put the .img files into the same folder with fastboot.exe
fastboot erase cache
fastboot erase data
fastboot flash system system.img
fastboot flash boot boot.img
If you have luck, it will boot into system. Backup, always, beforehand as it will delete all your data.
Click to expand...
Click to collapse
What do you call 'system' please? is it the custom rom or the recovery?

Is this procedure similar to yours? the user also has the SGP511 device. https://forum.xda-developers.com/t/...for-castor-castor_windy.4210181/post-84710741

Bonpotiron said:
What do you call 'system' please? is it the custom rom or the recovery?
Click to expand...
Click to collapse
1. Unzip the lineageos zip
2. Find system.img (special case it is system.new.dat.br, tell me if it is)
3. Execute the aforementioned command

LR7875 said:
1. Unzip the lineageos zip
2. Find system.img (special case it is system.new.dat.br, tell me if it is)
3. Execute the aforementioned command
Click to expand...
Click to collapse
it is system.new.dat.br

Bonpotiron said:
LineageOS 18.1 really? I'm confused because the instructions on Lineage website say that the last nightly built is LineageOS 17.1 – [ Android 10.0.0 (Android 10) ] of 2021-10-06
Click to expand...
Click to collapse
This is the latest unofficial version from this topic: https://forum.xda-developers.com/t/rom-unofficial-lineageos-18-1-for-castor-castor_windy.4261491/
It is stable on this

Bonpotiron said:
it is system.new.dat.br
Click to expand...
Click to collapse
Ok and what happens if you 'fastboot boot twrp.img'?
Try this
If it gets into twrp immediately wipe and flash lineageos

@LR7875 the device enters recovery in a hidden way, as the display stays black.
I managed to install Lineage 17.0 with these instructions: https://forum.xda-developers.com/t/...for-castor-castor_windy.4261491/post-85738643
Boy, that was tricky !

Seems like the graphics driver of the recovery is broken.

Related

pollux/LTE + TWRP: will not boot system. Why?

SGP-321 / LTE / pollux
Bootloader unlocked
CM13 installation:
- extracted boot.img and installed by: fastboot flash boot boot.img
- installed CM13 bei "update" from inside CM_recovery
- everything works OK until now.
TWRP 3.0.2.0 instal:
- installed by ADB "fastboot flash boot TWRP.img": sending/writing 'boot': OKAY
- fastboot reboot: rebooting into TWRP
In TWRP/Reboot SYSTEM: this reboots back into TWRP, does NOT boot CM13. Why?
CM13 installed again by "install" in TWRP: this installs CM13 but overwrites TWRP with the CM13_boot.img. So after the installation TWRP is gone and i have only the CM recovery.
Installing TWRP again has the same result as above: no booting of CM13, only booting into TWRP.
How can i solve this?
(PS: on my another xperia, "pollux_windy"/WiFi everything works ok, no issues with TWRP/CM13. )
nicky-xda said:
SGP-321 / LTE / pollux
Bootloader unlocked
CM13 installation:
- extracted boot.img and installed by: fastboot flash boot boot.img
- installed CM13 bei "update" from inside CM_recovery
- everything works OK until now.
TWRP 3.0.2.0 instal:
- installed by ADB "fastboot flash boot TWRP.img": sending/writing 'boot': OKAY
- fastboot reboot: rebooting into TWRP
In TWRP/Reboot SYSTEM: this reboots back into TWRP, does NOT boot CM13. Why?
CM13 installed again by "install" in TWRP: this installs CM13 but overwrites TWRP with the CM13_boot.img. So after the installation TWRP is gone and i have only the CM recovery.
Installing TWRP again has the same result as above: no booting of CM13, only booting into TWRP.
How can i solve this?
(PS: on my another xperia, "pollux_windy"/WiFi everything works ok, no issues with TWRP/CM13. )
Click to expand...
Click to collapse
Use CM13 kernel (boot.img) with TWRP integrated or if you don't have it, flash TWRP to FOTA:
dd if=/sdcard/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
Click to expand...
Click to collapse
Thanks a lot for the hint!
CM13 kernel (boot.img) with TWRP integrated: unfortunately i have not seen that anywhere mentionded until now. Where could i get that?
I have TWRP 3.0.2.0 for my "pollux_windy" that works fine, from the following download:
https://dl.twrp.me/pollux_windy/
I have been trying TWRP 3.0.2.0 for my "pollux" from the same site:
https://dl.twrp.me/pollux/
Is the TWRP for pollux_windy with integrated boot.img and the one for "pollux" without boot.img?
nicky-xda said:
unfortunately i have not seen that anywhere mentioned until now. Where could i get that?
Click to expand...
Click to collapse
here.
I actually don't know why it worked for you with windy, as when you flash fastboot flash boot TWRP.img it replaces stock CM boot.img and it won't boot, cause inside twrp.img is only recovery, but not kernel to boot system.
Thanks a lot for this excellent hint! It was a big help and it seems to work now perfectly.
pollux_windy / WiFi & TWRP:
After second thought i have to admit that i do not quite remember how exactly i installed TWRP on this one, it was some 2 months ago and i cannot remember any more:
- after unlocking the bootloader i extracted the "boot.img" from CM13 and installed it by "fastboot flash boot boot.img"
- then i installed CM13 by the option "update" in CM_recovery
- after that i maybe tried to install TWRP (from the link above) by the ADB command: fastboot flash recovery twrp.img. Would that have worked?
- or i did it by the app "TWRP manager" which i have also installed
In any case until your answer in this topic i have not heard about the "boot" part having to be integrated into TWRP for it to work on the xperia.
Anyway: it works on my pollux_windy ok.
BTW: if it should some time in the future be necessary to install TWRP again on my "windy" would you have a link for a TWRP+boot.img for the "windy" as well?
nicky-xda said:
Would that have worked?
- or i did it by the app "TWRP manager" which i have also installed
Click to expand...
Click to collapse
"fastboot flash recovery" command will not work, because sony devices (at least besides the very latest ones) don't have separate recovery partition, as nexus and other manufacturers have. That's why recovery should be integrated with kernel in boot.img
TWRP manager could have possibly installed it for you properly, but to FOTA partition which is used to install OTA updates on stock Sony firmware.
On unlocked bootloader it is not in use and could store TWRP recovery permanently (as normal recovery partition).
nicky-xda said:
BTW: if it should some time in the future be necessary to install TWRP again on my "windy" would you have a link for a TWRP+boot.img for the "windy" as well?
Click to expand...
Click to collapse
Sure. PM me, when you need it.
Did you follow my tutorial stricly ?
http://forum.xda-developers.com/xpe...de-tutorial-sony-xperia-tablet-z-lte-t3392831
djibe89 said:
Did you follow my tutorial stricly ?
http://forum.xda-developers.com/xpe...de-tutorial-sony-xperia-tablet-z-lte-t3392831
Click to expand...
Click to collapse
Yes, i did. But in your tutorial i do not mention anything about the sort of recovery it needs to wor properly: recovery inkluding the kernel. Did you read the hints by Rootk1t above in this topic?
Sony doesn't have a Recovery partition.
Hence you need a FOTAkernel compatible recovery (latest TWRP 3.x are) (hack that takes the Sony partition reserved for over the air updates, and turns it into a persistent recovery partition).
This guide : http://forum.xda-developers.com/xperia-s/general/twrp-recovery-to-fota-partition-guide-t3258821 looks good but read carefully.
Why don't you try to step back to my guide. Back to the recovery flash.
Fastboot flash temporary TWRP, enter TWRP, format partitions to F2FS, wipe data and then flash RESURECTION REMIX 5.7.4 + Black kernel for pollux + Gapps ?
I will update my tutorial this weekend to explain better.
Keep in touch
@Djibe: just take a look in this topic above, posting #4. This is a file including TWRP + kernel. Only this one i was able to successfully instal by the command:
fastboot flash boot twrp.img
The TWRP that you link in your guide does not work because it does not include the kernel.
You should have pointed it out better to be understandable better by beginners like me
Otherwise: thanks a lot for your help and support anyway
nicky-xda said:
@Djibe: just take a look in this topic above, posting #4. This is a file including TWRP + kernel. Only this one i was able to successfully instal by the command:
fastboot flash boot twrp.img
The TWRP that you link in your guide does not work because it does not include the kernel.
You should have pointed it out better to be understandable better by beginners like me
Otherwise: thanks a lot for your help and support anyway
Click to expand...
Click to collapse
Sorry sorry, i replied in a rush.
Enjoy TabZ
@Rootk1t: What about updating to the newest ver. TWRP 3.1.x?

[RECOVERY][OFFICIAL]TWRP 3.1.0-0 [LeEco Le Max 2]

Installing this recovery will void your warranty. I am not responsible for any bricked device.
Installation:
Make sure your bootloader is unlocked
Download the recovery image from above
Reboot into fastboot
Run the following command (Change the .img to whatever the name of file is you downloaded):
Code:
fastboot flash recovery recovery.img
Download link:
https://dl.twrp.me/x2/twrp-3.1.0-0-x2.img.html
BraskOviedo said:
Installing this recovery will void your warranty. I am not responsible for any bricked device.
Installation:
Make sure your bootloader is unlocked
Download the recovery image from above
Reboot into fastboot
Run the following command (Change the .img to whatever the name of file is you downloaded):
Code:
fastboot flash recovery recovery.img
Download link:
https://dl.twrp.me/x2/twrp-3.1.0-0-x2.img.html
Click to expand...
Click to collapse
Does this also have pstore enabled?
infrag said:
Does this also have pstore enabled?
Click to expand...
Click to collapse
It is the latest official release, if it was on previous versions it should have it also.
For me it works at the first flash and after the reboot touch stops working, any advice ?
Im on 6/64Gb x820.
rshahzad17 said:
For me it works at the first flash and after the reboot touch stops working, any advice ?
Im on 6/64Gb x820.
Click to expand...
Click to collapse
How did you flash it?
through TWRP? or fastboot?
xuser_ said:
How did you flash it?
through TWRP? or fastboot?
Click to expand...
Click to collapse
Through fastboot and also tried through previous TWRP with no luck, the touch doesn't seem to work for me with 3.1, I actually had Cuoco92's recovery earlier.
rshahzad17 said:
Through fastboot and also tried through previous TWRP with no luck, the touch doesn't seem to work for me with 3.1, I actually had Cuoco92's recovery earlier.
Click to expand...
Click to collapse
Oh!!!
I think Cuoco92's recovery is modified one(not sure about the modification)
I suggest to revert back to
https://eu.dl.twrp.me/x2/twrp-3.0.2-1-x2.img.html
then full wipe using above TWRP version
then try installing the latest TWRP
https://eu.dl.twrp.me/x2/twrp-3.1.0-0-x2.img.html
xuser_ said:
Oh!!!
I think Cuoco92's recovery is modified one(not sure about the modification)
I suggest to revert back to
https://eu.dl.twrp.me/x2/twrp-3.0.2-1-x2.img.html
then full wipe using above TWRP version
then try installing the latest TWRP
https://eu.dl.twrp.me/x2/twrp-3.1.0-0-x2.img.html
Click to expand...
Click to collapse
Thanks, I will try this !
I was using TWRP 3.0.2.1-x2 and I tried flashing a new ROM; After flash I'm stuck, it will boot only to recovery!
I tried flashing TWRP 3.1.0.0-x2 - same thing, can't get out of the loop - any ideas please?
Thank you!
the latest 3.1.1 is not work
通过我的 Le X821 上的 Tapatalk发言
Hi Mate
unfortunately the latest twrp doesn't work, you will need to revert to "twrp-3.1.1-0-x2"
it is working fine, you can do so on windows once all drivers installed correctly or use any Linux operating system
if you need help let me know and will write a detailed instruction how to do it on Linux as it is a lot easier than junk windows
good luck
sam

Development [RECOVERY][OFFICIAL] TWRP for ASUS ZenFone 9

Official TWRP is now available: https://twrp.me/asus/zenfone9.html
IMPORTANT NOTES:
CleanSlate custom kernel is not currently compatible with TWRP for this device (Kirisakura is compatible as of v2.0.6).
This device has a recovery partition (2, in fact), and fastboot boot is disabled in the bootloader. Flashing TWRP to the recovery partition is the only way to use it.
If you attempt to fastboot boot the TWRP image, your device may end up unbootable. YOU'VE BEEN WARNED.
Any questions, comments, feedback, or concerns should always be accompanied by logs (recovery log, logcat, dmesg)
TWRP Trees
Common: https://github.com/TeamWin/android_device_asus_sm84xx-common
Device: https://github.com/TeamWin/android_device_asus_AI2202
Thanks for your work!
Installed as on twrp.me described wont boot (https://twrp.me/asus/zenfone9.html)
Had to flash stock recovery again.
Rooted device on 32.2050.2050.29 with kirisakura-kernel.
Any idea what im doing wrong?
Hermann2306 said:
Thanks for your work!
Installed as on twrp.me described wont boot (https://twrp.me/asus/zenfone9.html)
Had to flash stock recovery again.
Rooted device on 32.2050.2050.29 with kirisakura-kernel.
Any idea what im doing wrong?
Click to expand...
Click to collapse
If you're not on stock kernel, then that's probably the problem. I know the custom kernel situation is different on this device than previous ones. This may be something that @Freak07 & I have to look into together. In the meantime, can you restore back to stock kernel and confirm that TWRP works, and then install Kirisakura and see if everything still works?
Restored stock kernel with kernelflasher but now it wont boot. Tried to change the slot to a but isnt allowed in fastboot.
Have to find out now how to change the slot or install stock kernel via fastboot...
Hermann2306 said:
Restored stock kernel with kernelflasher but now it wont boot. Tried to change the slot to a but isnt allowed in fastboot.
Have to find out now how to change the slot or install stock kernel via fastboot...
Click to expand...
Click to collapse
It doesn't sound like you followed the procedure in the Kirisakura thread FAQ to fully return to stock. Can you confirm exactly what you did?
just restored the backup i made with kernelflasher befor i installed the custom kernel and rebooted.
Hermann2306 said:
just restored the backup i made with kernelflasher befor i installed the custom kernel and rebooted.
Click to expand...
Click to collapse
I'm not familiar with that app, sorry. I just know that's not the process mentioned in his thread, so until you do that, I can't really confirm what the problem could be.
ok, im back on stock. flashing following files helped. i will test twrp again later and report. thanks for your replies.
fastboot flash boot boot.img
fastboot flash vendor_boot vendor_boot.img
fastboot flash dtbo dtbo.img
fastboot reboot fastboot
fastboot flash vendor_dlkm vendor_dlkm.img
fastboot reboot
With stock kernel twrp works. Just installed as described on twrp.me. The official twrp app from playstore crashes after root allowing.
For everyone who comes from custom kernel flash the files from your actual firmware (payload-dumper) as described in the post above.
Are you working on custom kernel support?
Hermann2306 said:
With stock kernel twrp works. Just installed as described on twrp.me. The official twrp app from playstore crashes after root allowing.
For everyone who comes from custom kernel flash the files from your actual firmware (payload-dumper) as described in the post above.
Are you working on custom kernel support?
Click to expand...
Click to collapse
From stock, I just flashed the Kirisakura zip in TWRP and my device booted up fine.
EDIT: While the above is true, TWRP no longer functions after installing the kernel, and the device won't reboot again after installing it. So something is definitely wrong somewhere.
For now, I can only suggest not using it with a custom kernel until we figure this out.
Ok, flashing with EXKernelManager works also.
update
I can do reboots but twrp doesnt work anymore
Hermann2306 said:
Ok, flashing with EXKernelManager works also.
update
I can do reboots but twrp doesnt work anymore
Click to expand...
Click to collapse
Yes, there seems to be an issue in the kernel that's preventing TWRP from working. I'm not sure what the issue is, unfortunately.
So every time I restore a back up, do I have to delete all lock screen requirements ?
If that's the case, I would have to redo my fingerprints every time
c19932 said:
So every time I restore a back up, do I have to delete all lock screen requirements ?
If that's the case, I would have to redo my fingerprints every time
Click to expand...
Click to collapse
Yes.
Quick PSA for anyone using this TWRP that also wants to use a custom kernel:
As of Kirisakura 2.0.6, the custom kernel and TWRP can now co-exist. This is due to the changes that allowed a monolithic kernel build. Presently, CleanSlate has not adopted those changes, but if/when it does, I will remove that disclaimer from the OP.
Thanks to @arter97, @Freak07, & @tbalden for supporting this device!
Is the twrp compatible with android 13?
NisseGurra said:
Is the twrp compatible with android 13?
Click to expand...
Click to collapse
There's a really easy way to find out...
Captain_Throwback said:
There's a really easy way to find out...
Click to expand...
Click to collapse
I getting decrypt errors that why the q
NisseGurra said:
I getting decrypt errors that why the q
Click to expand...
Click to collapse
Then you should post some logs
Will do

General Seems Omnirom has been released for Zenfone 9

OmniROM - zenfone9
Anyone tested?
Not yet, but now that I know it's out, maybe at the week end.
Thanks for sharing the info!
Hello, anyone knows how to install it?
I tried it with offcial twrp but no luck
josepmaria said:
Hello, anyone knows how to install it?
I tried it with offcial twrp but no luck
Click to expand...
Click to collapse
Why you couldn't install? You got an error or something else?
palamosteliaro said:
Why you couldn't install? You got an error or something else?
Click to expand...
Click to collapse
I fastboot flashed official twrp, and then sideloaded omnirom. Didn't boot. Asus logo only
josepmaria said:
I fastboot flashed official twrp, and then sideloaded omnirom. Didn't boot. Asus logo only
Click to expand...
Click to collapse
I'm sure this is obvious, but u did rest data and stuff?
Darkmasterhk said:
I'm sure this is obvious, but u did rest data and stuff?
Click to expand...
Click to collapse
Didn't know. Can you help me?
Hi guys
[ROM][OFFICIAL] OmniRom for zenfone9 [Android-13.0]
What is Omnirom ? Selinux Status: Enforcing Instructions : Follow this Steps by steps * Remove all Security pwd/pin/pattern on you current Rom * Download the ROM (see Dl section) * Download TWRP recovery and installer zip (see TWRP section)...
forum.xda-developers.com
enjoy
josepmaria said:
Didn't know. Can you help me?
Click to expand...
Click to collapse
Well, as there is now an official thread, better follow that. Gonna do the same at the weekend.
But yeah, the wipe user data step is important.
josepmaria said:
Didn't know. Can you help me?
Click to expand...
Click to collapse
I had the same issue. You need to go into bootloader. For me it only worked holding volume down + power button to reboot the device, then quickly volume up while it is rebooting to get into bootloader. From there you should be able to flash TWRP again with "fastboot flash recovery twrp-3.7.0_12-0-AI2202.img". Go in into TWRP then "Format Data". Reboot into TWRP and push stock .zip to device "adb push UL-ASUS_AI2202-ASUS-33.0804.2060.100-1.1.1-2302-user.zip /sdcard" + trwp installer .zip - In my case I was only able to do that without clicking on ADB sideload in TWRP. Then install stock .zip and twrp installer from /sdcard. Phone should be able to boot now. After first boot you should be able to access data parition fomr PC again, as well.

[RECOVERY] [Unofficial] [12] TWRP 3.6.2_12 For Merlin

I DON'T KNOW WHO MADE THIS OR THE SOURCE CODE FOR THIS! USE AT YOUR OWN RISK
I stumbled upon this android 12-13 supported TWRP while looking at the PPUI Installation instructions, I have tested it on miui 13 and it works, I dont know about android 13 though.
If you don't trust me and want to download it for yourself, then go to PPUI installation instructions for merlinx, and tap on the blue S VENDOR RECOVERY link and it will take you to telegram, download it from there.
Edit: after reboot it got replaced by MIUI Recovery, I dont have magisk installed since I updated to 13 I havent installed it. this probably will not happen with magisk
is there any way to have the instructions? I found a video online with a recovery as this I did all the process but didn't work.
dolchys said:
is there any way to have the instructions? I found a video online with a recovery as this I did all the process but didn't work.
Click to expand...
Click to collapse
unlock bootloader
root your phone using magisk (instructions)
go into fastboot
flash this as recovery using "fastboot flash recovery recovery.img" (or something else if you renamed the file)
done
FYI you have to extract this from the zip first lmao
SymtaxError said:
unlock bootloader
root your phone using magisk (instructions)
go into fastboot
flash this as recovery using "fastboot flash recovery recovery.img" (or something else if you renamed the file)
done
FYI you have to extract this from the zip first lmao
Click to expand...
Click to collapse
I don't think rooting process is required for this
I installed it without issues using "XiaoMiTool V2" and holding "volume up" before the cellphone reboots into TWRP.
Maximus Real said:
I don't think rooting process is required for this
Click to expand...
Click to collapse
it is for stock miui or else it will replace twrp with miui recovery
Tried flashing it, only getting a loop into recovery (black screen, other twrp works).
Might be because of MIUI 13? and android on 12

Categories

Resources