[XT1097] Recovery does not start - X 2014 Q&A, Help & Troubleshooting

Hi,
I'm on CM13 and using OpenGapps with Xposed on my XT1097, and I'm having this problem since TWRP 2.8.7. I reboot into recovery, the TWRP splash screen appears, and it get stuck there. After some time, the recovery reboots and it keeps that way until I reboot the system. To get back recovery working, I had to install CM recovery and then install TWRP again.
Now on TWRP 3.0.0-0, this method doesn't work anymore, and I can't use recovery. CM recovery works fine, but it doesn't install OpenGapps packages, so I need TWRP.
Anyone have this issue too? Any suggestion?
Sent from my XT1095 using Tapatalk

lucasdeeiroz said:
Hi,
I'm on CM13 and using OpenGapps with Xposed on my XT1097, and I'm having this problem since TWRP 2.8.7. I reboot into recovery, the TWRP splash screen appears, and it get stuck there. After some time, the recovery reboots and it keeps that way until I reboot the system. To get back recovery working, I had to install CM recovery and then install TWRP again.
Now on TWRP 3.0.0-0, this method doesn't work anymore, and I can't use recovery. CM recovery works fine, but it doesn't install OpenGapps packages, so I need TWRP.
Anyone have this issue too? Any suggestion?
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
I'm not familiar with Xposed, so I don't know if it can cause such problems, but I do know TWRP 3.0 has been causing problems (I did try it a few times, it mostly worked fine). But right now I'm using a TWRP 2.8.7.0 build by "Invisiblek" (from 2015-12-08):
http://www.invisiblek.org/twrp/
"Reboot and Install" CM updating works fine.
If all else fails, I can only suggest starting clean, with the Invisiblek build (and your latest stock firmware):
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash recovery twrp_2.8.7.0-0624b8bd_victara.img
Boot into recovery, advanced wipe, wipe the 4 partitions (not internal storage).

Gus Ghanem said:
I'm not familiar with Xposed, so I don't know if it can cause such problems, but I do know TWRP 3.0 has been causing problems (I did try it a few times, it mostly worked fine). But right now I'm using a TWRP 2.8.7.0 build by "Invisiblek" (from 2015-12-08):
http://www.invisiblek.org/twrp/
"Reboot and Install" CM updating works fine.
If all else fails, I can only suggest starting clean, with the Invisiblek build (and your latest stock firmware):
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash recovery twrp_2.8.7.0-0624b8bd_victara.img
Boot into recovery, advanced wipe, wipe the 4 partitions (not internal storage).
Click to expand...
Click to collapse
Yeah, I had to come back to stock and then reinstall all over again. Problem solved.
Sent from my XT1095 using Tapatalk

I have a similar problem

Related

Constant Boot into TWRP

I was on stock ROM and had my bootloader unlocked
I flashed the latest TWRP on my XSP
Then on booting into recovery I wiped data/cache/dalvik cache and then installed AICP with the GApps
after installing when i chose reboot it asked me whether to install superuser I clicked no and rebooted
And now even on normal booting it goes into TWRP
even if I try to connect to my laptop in fastboot mode it is booting up into TWRP
basically no matter what button i press, It is booting up into TWRP
I have installed the latest TWRP available
I even tried the hard seret but again it goes into TWRP
AnishK said:
I was on stock ROM and had my bootloader unlocked
I flashed the latest TWRP on my XSP
Then on booting into recovery I wiped data/cache/dalvik cache and then installed AICP with the GApps
after installing when i chose reboot it asked me whether to install superuser I clicked no and rebooted
And now even on normal booting it goes into TWRP
even if I try to connect to my laptop in fastboot mode it is booting up into TWRP
basically no matter what button i press, It is booting up into TWRP
I have installed the latest TWRP available
I even tried the hard seret but again it goes into TWRP
Click to expand...
Click to collapse
Flash tangerine and see if the problem is solved.
If not,
Do a full wipe again, flash ROM, then tangerine, then GApps.
AnishK said:
I was on stock ROM and had my bootloader unlocked
I flashed the latest TWRP on my XSP
Then on booting into recovery I wiped data/cache/dalvik cache and then installed AICP with the GApps
after installing when i chose reboot it asked me whether to install superuser I clicked no and rebooted
And now even on normal booting it goes into TWRP
even if I try to connect to my laptop in fastboot mode it is booting up into TWRP
basically no matter what button i press, It is booting up into TWRP
I have installed the latest TWRP available
I even tried the hard seret but again it goes into TWRP
Click to expand...
Click to collapse
Hello. This problem is really weird. May I know where did you learned to flash the TWRP recovery?
Also what is the current state of your bootloader?
In the meantime, you can try out my Stock Components as Flashable ZIPs to flash. Read the OP carefully and only choose FOTAkernel component.
Flash it through your TWRP. Shut down the phone (Main Menu > Reboot > Power off) and try to fastboot.
Zenith said:
Flash tangerine and see if the problem is solved.
If not,
Do a full wipe again, flash ROM, then tangerine, then GApps.
Click to expand...
Click to collapse
Did a full wipe, flashed ROM, then tangerine, then GApps..
Rebooted the phone
And no response
It just vibrated as always when it turns on but the screen didn't even turned on.
TechnoSparks said:
Hello. This problem is really weird. May I know where did you learned to flash the TWRP recovery?
Also what is the current state of your bootloader?
In the meantime, you can try out my Stock Components as Flashable ZIPs to flash. Read the OP carefully and only choose FOTAkernel component.
Flash it through your TWRP. Shut down the phone (Main Menu > Reboot > Power off) and try to fastboot.
Click to expand...
Click to collapse
I flashed the TWRP using flashtool on my laptop
And currently my bootloader in unlocked
AnishK said:
Did a full wipe, flashed ROM, then tangerine, then GApps..
Rebooted the phone
And no response
It just vibrated as always when it turns on but the screen didn't even turned on.
Click to expand...
Click to collapse
Seems to be an unusual problem.
Try flashing stock again.
AnishK said:
I flashed the TWRP using flashtool on my laptop
And currently my bootloader in unlocked
Click to expand...
Click to collapse
Please try to flash stock ROM again.
Zenith said:
Seems to be an unusual problem.
Try flashing stock again.
Click to expand...
Click to collapse
Yeah.. Flashed stock Rom again..
But before it i tried installing some other Rom's.. other than AICP..
it was successful for resurrection remix and stryflex..
but again when i used to flash TWRP it again used to start booting into recovery..
Might be some problem with the recovery.. Didn't try any other recovery though..
AnishK said:
Yeah.. Flashed stock Rom again..
But before it i tried installing some other Rom's.. other than AICP..
it was successful for resurrection remix and stryflex..
but again when i used to flash TWRP it again used to start booting into recovery..
Might be some problem with the recovery.. Didn't try any other recovery though..
Click to expand...
Click to collapse
I'm not sure which TWRP you installed,
but this is an updated one and it works perfectly. It won't get deleted even if you change ROMs.
Flash the fotakernel of your device from the link provided by TechnoSparks in post#3.
Then flash TWRP.
Zenith said:
I'm not sure which TWRP you installed,
but this is an updated one and it works perfectly. It won't get deleted even if you change ROMs.
Flash the fotakernel of your device from the link provided by TechnoSparks in post#3.
Then flash TWRP.
Click to expand...
Click to collapse
I had installed the latest TWRP..
No idea why this happened..
I will try installing fotakernel and then TWRP..

Stuck in recovery after 4.0.1 OTA

Hi,
I was running Oxygen 4.0.0 and a beta build of TWRP 3.0.3 which works with new encryption. I used the android update mechanics to get the 4.0.1 OTA. System rebooted to recovery, recovery threw an error (zip file corrputed) and since then I am not able to boot the system. Whatever I do I land in TWRP recovery.
Things I did so far:
- Tried installing the full 4.0.1 zip. Install worked without errors, device still boots to recovery.
- Tried to get stock recovery, since another post (https://forum.xda-developers.com/oneplus-3t/help/stuck-recovery-mode-t3532524) indicates stock recovery might fix the problem
--> stock recovery is not obtainable anymore. Seems deleted from all the download links I could find. Example is here: https://forum.xda-developers.com/oneplus-3t/how-to/zip-flashable-firmware-modem-t3509015
- Wipe cache and dalvik cache in the hopes, the instruction to boot to recovery is there somewhere.
I did not do the unbrick tool, since I run linux and didnt want to fiddle with windows yet.
I did make a nandroid backup, so once my system boots again I should be fine.
Any Idea where to either get a mirror of stock recovery or how to fix this problem otherwise?
I had this same problem, and I solved downloading the unbrick tool and extracting the recovery from there. Here is the file
https://drive.google.com/file/d/0BwaafKaXbak3d1RFblFOWVd5eGs/view?usp=sharing
Also locking the bootloader worked for me. Booted into system then unlocked again.
Thanks a lot for the stock recovery. That worked!
Once it booted, installing TWRP and SuperSU again.
mad-murdock said:
Thanks a lot for the stock recovery. That worked!
Once it booted, installing TWRP and SuperSU again.
Click to expand...
Click to collapse
Does your TWRP boot correctly? I flashed it and when I restarted I still had the stock recovery, so I used fastboot boot and it booted, but it is stuck in the loading screen.
Edit: After rebooting and reflashing totally random, it worked.
mariospizza said:
Does your TWRP boot correctly? I flashed it and when I restarted I still had the stock recovery, so I used fastboot boot and it booted, but it is stuck in the loading screen.
Edit: After rebooting and reflashing totally random, it worked.
Click to expand...
Click to collapse
Yeah, worked totally normal as it should.
My educated guess about this whole dilemma is, the system sets a flag to boot to recovery which TWRP doesn't clear and only stock recovery clears. Usually those flags should be in cache partition, but in this case isn't.
Tldr: don't use build in update mechanisms if you modified Rom and recovery.

[Q] TWRP is gone

I tried to boot into recovery to make a backup but TWRP has disappeared - no recovery whatsoever. Phone boots to system only. How can this have happened? I've been using Omni for the past month or so with no problems and updating every Sunday.
To recap, I have not done any modifications since the last opdate.Tried to boot into recovery and it is gone. Since only using Omini ROM I thought it was a ROM issue but no one in the Omni thread as been able to help so posting it here.
I can probably flash it again but am puzzled why is should just vanish.
The recovery might have got updated and the last update has overwritten TWRP, so it may be the cause of disappearance, but I'm not sure. You should've got standard recovery bundled with ROM.
And yes, just flash TWRP and it should work again. No need to flash Magisk or custom kernel, since you're on custom ROM.
Recovery partitions may have been corrupted. Try fastboot erase cache, and then fastboot flash recovery (TWRP). See if it boots into TWRP then.
TRWP installed again
Many thanks to all.
Recovery back! Still don't know why it disappeared.

recoveries + flash problems

Hello, i have a Mi8 global version, unlocked and actually i'm on latest xiaomi.eu dev (9.1.24), but i have some problems with twrp and custom kernels.
I don't know why, but almost every recovery won't boot.
Actually i'm on TWRP 3.2.2-0711 (the only one that works) and managed to flash xiaomi.eu rom as written before.
But every other recovery on the forum won't boot, tried to flash and boot from cmd, only boot from cmd, flash with some tools, flash and with apps from playstore, restart from cmd with vol up, disconnect phone and use keys combination, but same result: only 3.2.2 works.
Every other recovery i try to flash does nothing, it just reboots normally without enter in twrp.
I have similar problem with custom kernel: only francoKernel_r4 boots fine. With every other miui compatible kernel i have bootloop.
I've tried to reflash fastboot rom with XiaomiFlash but still have same results.
Can anyone help me please? I have no more ideas what to do
IronJacob said:
Hello, i have a Mi8 global version, unlocked and actually i'm on latest xiaomi.eu dev (9.1.24), but i have some problems with twrp and custom kernels.
I don't know why, but almost every recovery won't boot.
Actually i'm on TWRP 3.2.2-0711 (the only one that works) and managed to flash xiaomi.eu rom as written before.
But every other recovery on the forum won't boot, tried to flash and boot from cmd, only boot from cmd, flash with some tools, flash and with apps from playstore, restart from cmd with vol up, disconnect phone and use keys combination, but same result: only 3.2.2 works.
Every other recovery i try to flash does nothing, it just reboots normally without enter in twrp.
I have similar problem with custom kernel: only francoKernel_r4 boots fine. With every other miui compatible kernel i have bootloop.
I've tried to reflash fastboot rom with XiaomiFlash but still have same results.
Can anyone help me please? I have no more ideas what to do
Click to expand...
Click to collapse
Did you know this thread?
https://xiaomi.eu/community/threads...neage-compatible-global-rom-compatible.48432/
lolo9393 said:
Did you know this thread?
https://xiaomi.eu/community/threads...neage-compatible-global-rom-compatible.48432/
Click to expand...
Click to collapse
No i did know. Just tried but both twrp don't work.
Btw i'll try to write in that thread too.
Thank you
Fastboot flash the recovery img, then fastboot boot the recovery img.
Then reflash recovery zip file from within twrp you just fastboot booted
https://forum.xda-developers.com/showpost.php?p=78693530&postcount=71
Use TWRP 3.2.3-1208 version from OP in this link
Stoffl_ said:
Fastboot flash the recovery img, then fastboot boot the recovery img.
Then reflash recovery zip file from within twrp you just fastboot booted
https://forum.xda-developers.com/showpost.php?p=78693530&postcount=71
Use TWRP 3.2.3-1208 version from OP in this link
Click to expand...
Click to collapse
As written on eu forum, the only recovery working is the 3.2.2.
Every other recovery, 1208 too give me:
Mi logo (unlocked) - black screen - Mi logo (unlocked) - system. But no recovery.
Tried to flash a custom rom different to xiaomi.eu but got bootloop, same with kernel flashable zips on xda. Only bootlooo...
I really don't know what to do anymore...
Yeah weird, I've literally guided a friend through the process just yesterday with that method.
Zero issues

Question How do i get Stock recovery to not replace TWRP when rebooting???

Tried a bunch of things to make the TWRP installation persistent, but it just goes back to MIUI recovery when i reboot from the system.
I'm using TWRP 3.5.2 by Nebrassy.
USB debugging turned on
Correct drivers installed
fastboot devices work Using minimal ADB and fastboot
I have the file renamed as TWRP.img.
Steps i followed:
fastboot boot "TWRP.img" - Correctly boots into TWRP
install the TWRP image to the recovery partition - Happens with no errors
Reboot to system - No errors there as well
Reboot to recovery - Goes back to MIUI recovery.
Can someone please tell me what i should do?
PS: Tried with TWRP 3.6.0 as well just now. Same issue.
Helhound0 said:
Tried a bunch of things to make the TWRP installation persistent, but it just goes back to MIUI recovery when i reboot from the system.
I'm using TWRP 3.5.2 by Nebrassy.
USB debugging turned on
Correct drivers installed
fastboot devices work Using minimal ADB and fastboot
I have the file renamed as TWRP.img.
Steps i followed:
fastboot boot "TWRP.img" - Correctly boots into TWRP
install the TWRP image to the recovery partition - Happens with no errors
Reboot to system - No errors there as well
Reboot to recovery - Goes back to MIUI recovery.
Can someone please tell me what i should do?
PS: Tried with TWRP 3.6.0 as well just now. Same issue.
Click to expand...
Click to collapse
Try again to flash TWRP dirty and if it's started don't boot with software. You have to boot TWRP again by pressing volume + and power button until you'll get vibration , afterwards you'll be in TWRP again, clear dalvik and cache and restart system via TWRP menu
Laptapper said:
Try again to flash TWRP dirty and if it's started don't boot with software. You have to boot TWRP again by pressing volume + and power button until you'll get vibration , afterwards you'll be in TWRP again, clear dalvik and cache and restart system via TWRP menu
Click to expand...
Click to collapse
Sorry mate that didn't work. Still going back to stock recovery...
Since i didn't find a solution to make the installation presistant, i went ahead and flashed Elixir with the temporarily booted TWRP. Then wiped cache and dalvik, flashed the TWRP image, formatted data and then rebooted. Now it works.
Edit: This method did something to my recovery. I can boot to system and recovery fine but TWRP isn't able to mount the data partition. So i'm not able to flash anything or root the device anymore.
I tried formatting data, no luck.
Then tried repairing the data partition. No luck.
Changed the file system to EX2 and then EX4... Nothing.
Anyone know a solution for this?
Helhound0 said:
Sorry mate that didn't work. Still going back to stock recovery...
Click to expand...
Click to collapse
Then you've got to do a flash with stock ROM and miflash via pc
Laptapper said:
Then you've got to do a flash with stock ROM and miflash via pc
Click to expand...
Click to collapse
Would that re-lock the bootloader? And if so do i have to wait 7 more days for it to be unlocked?
I used the Disable-Dm-Verity-Zip directly in TWRP after installation. Worked without a problem.
romuser87 said:
I used the Disable-Dm-Verity-Zip directly in TWRP after installation. Worked without a problem.
Click to expand...
Click to collapse
I read that somewhere too but that didn't help me at all... Maybe i have a bad zip file..
Can you share the zip you flashed?
Also, any idea how i could get this fixed:
Helhound0 said:
Since i didn't find a solution to make the installation presistant, i went ahead and flashed Elixir with the temporarily booted TWRP. Then wiped cache and dalvik, flashed the TWRP image, formatted data and then rebooted. Now it works.
Edit: This method did something to my recovery. I can boot to system and recovery fine but TWRP isn't able to mount the data partition. So i'm not able to flash anything or root the device anymore.
I tried formatting data, no luck.
Then tried repairing the data partition. No luck.
Changed the file system to EX2 and then EX4... Nothing.
Anyone know a solution for this?
Click to expand...
Click to collapse
Helhound0 said:
I read that somewhere too but that didn't help me at all... Maybe i have a bad zip file..
Can you share the zip you flashed?
Also, any idea how i could get this fixed:
Click to expand...
Click to collapse
The attached file worked for me
Helhound0 said:
Would that re-lock the bootloader? And if so do i have to wait 7 more days for it to be unlocked?
Click to expand...
Click to collapse
1. With MiFlash there is an option at the bottom of the screen to lock bootloader. Just make sure it is NOT checked, and you will be safe to use MiFlash without relocking bootloader.
2. When installing TWRP for first time, it is essential that your first reboot is straight back to TWRP - then it becomes persistent, and future reboots to recovery will be to TWRP. If you do not do the first reboot back to TWRP, the stock MIUI ROM recovery reinstalls itself.
HiQual said:
1. With MiFlash there is an option at the bottom of the screen to lock bootloader. Just make sure it is NOT checked, and you will be safe to use MiFlash without relocking bootloader.
2. When installing TWRP for first time, it is essential that your first reboot is straight back to TWRP - then it becomes persistent, and future reboots to recovery will be to TWRP. If you do not do the first reboot back to TWRP, the stock MIUI ROM recovery reinstalls itself.
Click to expand...
Click to collapse
The first ever twrp install i did, i rebooted to system by mistake but i reflashed twrp and made sure to reboot to recovery.... That was the second try. I think i may have tried at least two dozen times since that but it just kept booting back to stock recovery...
I think I'll run with this until the end of Jan and then redo everything from scratch...
Helhound0 said:
Since i didn't find a solution to make the installation presistant, i went ahead and flashed Elixir with the temporarily booted TWRP. Then wiped cache and dalvik, flashed the TWRP image, formatted data and then rebooted. Now it works.
Edit: This method did something to my recovery. I can boot to system and recovery fine but TWRP isn't able to mount the data partition. So i'm not able to flash anything or root the device anymore.
I tried formatting data, no luck.
Then tried repairing the data partition. No luck.
Changed the file system to EX2 and then EX4... Nothing.
Anyone know a solution for this?
Click to expand...
Click to collapse
I'm stuck at this stage. Have you found any solution yet?

Categories

Resources