Might have ****ed up the Recovery partition, any solution to restore it? - OnePlus 5T Questions & Answers

So I've held off software updates and decided to upgrade to OOS 9, but I didn't realise that there were treble compatiability flags. I then tried to install a newer version of codeworkx's TWRP with the compatiability check disabled but then had a kernel panic. Since then, flashing the original recovery I had (codeworx TWRP universal) and even the stock OnePlus recovery failed to work. I also tried
Code:
fastboot erase recovery
hoping that it would wipe the partition to allow me to reset the recovery, but still does not work.
To make it clear, I can boot into the OS fine, and fastboot works perfectly fine as well. It's just that the recovery partition that's ****ed and seems to not load at all.
Is there any way that this could be fixed?

rysx said:
So I've held off software updates and decided to upgrade to OOS 9, but I didn't realise that...
Is there any way that this could be fixed?
Click to expand...
Click to collapse
Hi, have you tried to flash the recovery within fastboot mode?
fastboot flash recovery 'recovery.img'

Related

Recovery Mode isn't working (Black Screen)

Hello guys,
I think I ****ed up. My recovery mode isn't working anymore, after I tried to install an update while TWRP was installed. I tried to flash it with TWRP and also with the stock recovery image. It doesn't help, the screen stays black after I try to boot into recovery mode. I flashed the recovery partition about a hundred times by now. It's still not working. The stock system (Oxygen 3.5.2) and fastboot is working, but in order to update Oxygen, I apparently need a working recovery mode.
I don't care about the data on the phone - I just want a working recovery mode . Can you guys help?
Regards
Which TWRP did you use? Why are you even on 3.5.2 that's some sold stuff.
Puddi_Puddin said:
Which TWRP did you use? Why are you even on 3.5.2 that's some sold stuff.
Click to expand...
Click to collapse
I think it was TWRP 3.0.2.1. To be honest: I can't tell you how I ended up with 3.5.2, because I did a lot of weird stuff yesterday to fix the problem...
You need modified TWRP
Try this:
Fastboot erase recovery
Fastboot flash recovery modified-recovery.img
Puddi_Puddin said:
You need modified TWRP
Try this:
Fastboot erase recovery
Fastboot flash recovery modified-recovery.img
Click to expand...
Click to collapse
The modified TWRP image worked! Thanks for saving me!

[SOLVED] HELP! i'm stuck in a boot loop! :(

my flashing history:
i was on audax (oos based nougat rom) with blu spark kernel before, then went to official ob1, then back to audax, then back to stock oos nougat and now i flashed audax and after clean flashing it, it just wont boot up.
when i try to boot up i see the 1+ logo but then it reboots to recovery. i also tried flashing stock nougat again and also flashed stock kernel manually but it also doesnt work.
i always do:
1. wipe system/dalvic/cache/data
2. install ROM
3. wipe dalvik/cache
4. flash magisk (also tried without flashing magisk)
5. reboot
i've been looking on the interwebs all day but nothing worked.. help pls :/
EDIT: problem was blu spark twrp. Maybe installing Oreo ****ed it up. I flashed codeworkx newest twrp universal build and now Im able to boot again!! Btw: I also found that magisk 15.0 prohibits a proper boot up and results in a boot loop. version 15.2, however, does the trick!
when it auto reboot to recovery, formate data
When s**t happens, it is wise to start everything from scratch:
-boot in fastboot mode and flash stock recovery with "fastboot flash recovery recovery.img" (rename recovery.img with your recovery filename), then reboot recovery and select english, advanced, adb sideload;
-flash stock OS with "adb sideload rom.zip" (rename rom.zip with your Oxygen OS filename).
Procedure will require some minute because of the large file size. Remember to save all your data on internal storage first!
I advice you to flash original recovery because often sideloading in TWRP leads to some error.
Your phone will boot again... after that you may reflash TWRP, Magisk etc
I had the same issue. Bootloop and jumb into recovery by itself. You have to flash magisk 15.2 via recovery and will be boot.
redatak said:
I had the same issue. Bootloop and jumb into recovery by itself. You have to flash magisk 15.2 via recovery and will be boot.
Click to expand...
Click to collapse
He says that it occurs even without Magisk... I had a similar trouble once, and the only way to solve it was the procedure I wrote above...
I dont know if you can boot it w/o root
redatak said:
I dont know if you can boot it w/o root
Click to expand...
Click to collapse
Why not? Stock OS is not rooted.
jonsat said:
Why not? Stock OS is not rooted.
Click to expand...
Click to collapse
He said audrax not stock oos
SOLVED! TWRP was the only variable left that I didn't think of. See initial post for solution. thx for help!

[Recovery][TWRP] Mi 8 Lite TWRP-3.2.3 Multilanguage from 4pda

RECOVERY information:
Name Version: Xiaomi Mi 8 Lite Multilanguage TWRP
Download:
DOWNLOAD
MOD EDIT: Link removed, side is containing warez
How to install:
Fastboot just run .bat file to install it from fastboot mode
TWRP.img can be flashed manually from fastboot
all credits goes to @wzsx150, and poison-74 (4pda)
U know if this is compatible with latest Miui EU rom?
Is data decryptable?
Not entire related to Platina but Mi8 SE users are having trouble with twrp and miui eu.
Thanks.
Have downloaded and installed file recovery.img with twrp, works ok with xiaomi.eu rom.
I have MIUI 10 xiaomi.eu 9.1.10 android 9
lucainno said:
Have downloaded and installed file recovery.img with twrp, works ok with xiaomi.eu rom.
I have MIUI 10 xiaomi.eu 9.1.10 android 9
Click to expand...
Click to collapse
Can you enter in twrp and see if data folder is avalable?
Or it ask a password?
Go recovery no enter password, press cancell .
Before wipe Save All data to PC
(this action wipe All data and internal Memory) Wipe data factory reset and reboot phone
install update recovery.img multilanguage
Please help me, how enter to twrp recovery on Mi8 Lite ? I try all buttons combinations and nothing.
Power of phone
Press Vol + and Power for 5 seconds for enter recovery
Hi guys, I just went from Redmi5 Plus to Mi8 lite, unfortunately I have to wait for the famous 360 hours in the meantime I'm downloading what I need on the R5Plus was available Orange Fox recovery, which automatically decrypted the partitions without having to install lazy Flasch later, here how does this TWRP mod do this?
I would like to install the Xiaomi Eu as soon as I unlock the bootloader I am currently on last Global Stable 10.2.2.0 a help thanks.
It's work on android pie beta global 9.3.1?
this should be a new one:
MOD EDIT: Link removed, side is containing warez
This build does not work with Pie - can someone update the initial post?
excuse me sir, ust want to ask, after flashing twrp 1003 version why after reboot always revert to stock recovery, is there any to fix it, thanks
edit : i already fix it
falqon said:
excuse me sir, ust want to ask, after flashing twrp 1003 version why after reboot always revert to stock recovery, is there any to fix it, thanks
edit : i already fix it
Click to expand...
Click to collapse
Could you please share how you fixed it?
Just upgraded the ROM to 10.3.2.0 and now TWRP recovery always reverted to stock recovery after reboot.
reflash your twrp via adb and when u type "fastboot reboot" press and hold Volume Up until enter twrp, and then try to reboot recovery via twrp. i can't share youtube link, afk right now
falqon said:
reflash your twrp via adb and when u type "fastboot reboot" press and hold Volume Up until enter twrp, and then try to reboot recovery via twrp. i can't share youtube link, afk right now
Click to expand...
Click to collapse
Done this several times, but I didn't use hard buttons, instead i used fastboot boot recovery.img command to reboot to recovery after flashing recovery. I also tried rebooting to recovery from twrp without problem, but after rebooted to system, twrp reverted to stock recovery, everytime.
I didn't have this problem with MIUI 10.3.1.0 with the same TWRP.
edit : I'm using TWRP 0330 btw, and somehow there was no swipe to allow modification confirmation when the phone rebooted to twrp for the 1st time after flashing twrp.
Wonder why.
ne0t said:
Done this several times, but I didn't use hard buttons, instead i used fastboot boot recovery.img command to reboot to recovery after flashing recovery. I also tried rebooting to recovery from twrp without problem, but after rebooted to system, twrp reverted to stock recovery, everytime.
I didn't have this problem with MIUI 10.3.1.0 with the same TWRP.
edit : I'm using TWRP 0330 btw, and somehow there was no swipe to allow modification confirmation when the phone rebooted to twrp for the 1st time after flashing twrp.
Wonder why.
Click to expand...
Click to collapse
check your display panel via device hardware info on playstore, mine is synaptic, not all twrp version work on this panel, i'm using twrp 3.2.3-1003 btw
https://www.youtube.com/watch?v=7eeiSm7rzZY
falqon said:
check your display panel via device hardware info on playstore, mine is synaptic, not all twrp version work on this panel, i'm using twrp 3.2.3-1003 btw
https://www.youtube.com/watch?v=7eeiSm7rzZY
Click to expand...
Click to collapse
Tks, but I don't have problem with TWRP 0330, it works fine, including touch screen, the problem is TWRP get replaced by Stock Recovery everytime I boot my my phone to system.
I don't want to root my phone, just like to have TWRP recovery around so I can use it to flash hosts file for ads blocking and some other things.
Someone told me i need to flash lazyflasher...I'm going to do it later ..
ne0t said:
Tks, but I don't have problem with TWRP 0330, it works fine, including touch screen, the problem is TWRP get replaced by Stock Recovery everytime I boot my my phone to system.
I don't want to root my phone, just like to have TWRP recovery around so I can use it to flash hosts file for ads blocking and some other things.
Someone told me i need to flash lazyflasher...I'm going to do it later ..
Click to expand...
Click to collapse
Boot to recovery through fastboot and then flash the image or the zip through TWRP, then to flash it reboot again to TWRP before to boot up to system.
SubwayChamp said:
Boot to recovery through fastboot and then flash the image or the zip through TWRP, then to flash it reboot again to TWRP before to boot up to system.
Click to expand...
Click to collapse
Tried that too, actually more, boot to recovery from fastboot with fastboot boot recovery.img command and also hard button, boot to recovery from twrp recovery, flash recovery.img, boot to twrp recovery again twice, but stock recovery still came back.
ne0t said:
Tried that too, actually more, boot to recovery from fastboot with fastboot boot recovery.img command and also hard button, boot to recovery from twrp recovery, flash recovery.img, boot to twrp recovery again twice, but stock recovery still came back.
Click to expand...
Click to collapse
No. don´t try to boot to recovery from fastboot after to flash it, don´t flash it through fastboot.
Do the next three steps and see what happens but do it exactly the same or won´t worth the try:
- In fastboot delete recovery partition by typing fastboot erase recovery
- Then reboot to recovery (don´t flash it yet) by typing fastboot boot twrp.img (rename recovery image firstly to twrp)
- Now once in TWRP flash the zip or image to the recovery partition, when you finish go to Reboot options within TWRP and choose recovery to boot to it before to boot up to system. If you boot at this instance to TWRP then the issue have to be solved, reboot normally to system.
Edit: If this way the problem is not solved then after to install TWRP flash Magisk that can prevent it to be overwritten.

Pixel 3a XL soft #BRICK - please help

On my way to installing LineageOS I tried to downgrade Android version 11 -> 10. Unfortunately I used the WRONG INCOMPATIBLE firmware files from google's website (I think for 3 XL), that's why I have a brick now. ''Device is corrupt and no bootup possible.''
Access to Fastboot and STOCK Recovery Mode is possible.
Bootloader is Locked Now (it *was* unlocked before for flashing the firmware)
ADB is not working (since I'm getting stuck on ''google'' symbol when booting up I can't go to Developer Settings)
Factory Preset from Recovery Mode fails: ''can't send spi messages.'' Same Brick occurs.
With No Access to ADB (is it possible to set up from fastboot mode without enabling it in den Developer Options?) I can't try stuff.
And with the bootloader locked no way to flash a new Rom right?
I have NO IDEA what to do next, any IDEAS??
Thank you!!
#brick
Since you can get to recovery you should download the latest ota and sideload it from recovery.
https://developers.google.com/android/images
you should flash the stock image from recovery. Basically unzip it all and just run "flash-all.bat"
41rw4lk said:
Since you can get to recovery you should download the latest ota and sideload it from recovery.
Click to expand...
Click to collapse
Thank you, this worked perfectly fine, since you don't need an unlocked bootloader to flash this system image.
However, I am facing a new problem on my way to installing TWRP Recovery Image...!!
CMD gives me THIS log:
Writing 'recovery' FAILED (remote: 'Not allowed to flash (recovery)')
fastboot: error: Command failed
- the device is unlocked (I even relocked it and unlocked it again, didn't work)
- I tried one other older .img for my phone from official twrp.me website, didn't work
Any Ideas?
dadu1257 said:
Thank you, this worked perfectly fine, since you don't need an unlocked bootloader to flash this system image.
However, I am facing a new problem on my way to installing TWRP Recovery Image...!!
CMD gives me THIS log:
Writing 'recovery' FAILED (remote: 'Not allowed to flash (recovery)')
fastboot: error: Command failed
- the device is unlocked (I even relocked it and unlocked it again, didn't work)
- I tried one other older .img for my phone from official twrp.me website, didn't work
Any Ideas?
Click to expand...
Click to collapse
You need the BL unlocked to flash unsigned/unofficial images, so make sure yours is unlocked. That being said, I'm not sure how solid twrp is for our device, I've never tried it. Twrp was/is a little iffy for android 10 never mind 11. Most around here just use fastboot to do what needs to be done. Most of it is pretty quick and painless, and twrp is not really necessary.
dadu1257 said:
Thank you, this worked perfectly fine, since you don't need an unlocked bootloader to flash this system image.
However, I am facing a new problem on my way to installing TWRP Recovery Image...!!
CMD gives me THIS log:
Writing 'recovery' FAILED (remote: 'Not allowed to flash (recovery)')
fastboot: error: Command failed
- the device is unlocked (I even relocked it and unlocked it again, didn't work)
- I tried one other older .img for my phone from official twrp.me website, didn't work
Any Ideas?
Click to expand...
Click to collapse
I'm pretty sure you would have to downgrade to android 9 (pie) and install a custom kernel to get twrp to install. Unless you want to rock android pie - like I currently am (Bootlegger's 9 - I like my smartbar customizations) - it's best to give up on TWRP and just use fastboot commands for android 10 and up.
If you do decide to downgrade to pie the elementalX kernel (ElementalX-P3a-1.06) works fine with twrp and is available on their site. Temp boot twrp via fastboot, flash kernel, flash twrp zip file, reboot to recovery and flash magisk zip for root (if you want root). But it may be hard to find older pie ROMs out in the wild to flash since devs have dropped support and will be focused on android 10/11.
teemothay said:
I'm pretty sure you would have to downgrade to android 9 (pie) and install a custom kernel to get twrp to install. Unless you want to rock android pie - like I currently am (Bootlegger's 9 - I like my smartbar customizations) - it's best to give up on TWRP and just use fastboot commands for android 10 and up.
If you do decide to downgrade to pie the elementalX kernel (ElementalX-P3a-1.06) works fine with twrp and is available on their site. Temp boot twrp via fastboot, flash kernel, flash twrp zip file, reboot to recovery and flash magisk zip for root (if you want root). But it may be hard to find older pie ROMs out in the wild to flash since devs have dropped support and will be focused on android 10/11.
Click to expand...
Click to collapse
Unlike most of the LineageOS Tutorials out there is used the Custom Recovery from Lineage to install LIneageOS! It was super easy, a few ADB commands and here it is. No Root, no TWRP whatsoever.
Follow wiki lineageos devices website instructions. Here you may also find the recovery data.
Thx guys/girls!
dadu1257 said:
Unlike most of the LineageOS Tutorials out there is used the Custom Recovery from Lineage to install LIneageOS! It was super easy, a few ADB commands and here it is. No Root, no TWRP whatsoever.
Follow wiki lineageos devices website instructions. Here you may also find the recovery data.
Thx guys/girls!
Click to expand...
Click to collapse
Cool. No more soft brick for you :good: Congrats on sorting things out. :highfive:
BUT I still cannot install TWRP Recovery on LineageOS 17. I am getting the same problem as quoted below.
I want to perform Nandroid Backups, any other way to that if TWRP doesn't want me? Maybe with a Magisk Root and some app from F Droid?
?
thanks
dadu1257 said:
Thank you, this worked perfectly fine, since you don't need an unlocked bootloader to flash this system image.
However, I am facing a new problem on my way to installing TWRP Recovery Image...!!
CMD gives me THIS log:
Writing 'recovery' FAILED (remote: 'Not allowed to flash (recovery)')
fastboot: error: Command failed
- the device is unlocked (I even relocked it and unlocked it again, didn't work)
- I tried one other older .img for my phone from official twrp.me website, didn't work
Any Ideas?
Click to expand...
Click to collapse
dadu1257 said:
BUT I still cannot install TWRP Recovery on LineageOS 17. I am getting the same problem as quoted below.
I want to perform Nandroid Backups, any other way to that if TWRP doesn't want me? Maybe with a Magisk Root and some app from F Droid?
?
thanks
Click to expand...
Click to collapse
Twrp doesn't work very well on android 10 and above, there is a twrp install guide around here, but not much has come from it. When was the last time anyone actually made and used a nandroid backup? Not that backups aren't important, but that's a little antiquated. Besides, most are really trying to backup data, which is a shared partition on A/B devices. Generally, restoring data on A/B devices causes more problems than anything. Most data backups can be done with an app and/or making a backup of your internal storage. As for more sensitive things like your persist partition and whatnot, you can always use the 'dd' command to back those partitions up.
I should clarify, restoring nand backups of data causes more problems on A/B devices, apps that restore data and settings tend to handle it better.
Now having a different problem
I tried to install Magisk following this guide https://magisk.download/root-pixel-3a-3a-xl/
When I try to flash magisk_patched.img in fastboot, it flashes, but reboots to fastboot with "error boot prepare" displayed.
I am stuck in Fastboot now.
How can I get out of that?
I used the boot.img from the google firmware android 10 I built Lineage on. Should I use a boot.img from LineageOS .zip? Is there anything like this?
What is dm-verity?
Can I get to my previous unrooted device?
I have a Pixel 3aXL with LineageOS 17
''bootslot: b
enter reason: error boot prepare''
dadu1257 said:
Now having a different problem
I tried to install Magisk following this guide https://magisk.download/root-pixel-3a-3a-xl/
When I try to flash magisk_patched.img in fastboot, it flashes, but reboots to fastboot with "error boot prepare" displayed.
I am stuck in Fastboot now.
How can I get out of that?
I used the boot.img from the google firmware android 10 I built Lineage on. Should I use a boot.img from LineageOS .zip? Is there anything like this?
What is dm-verity?
Can I get to my previous unrooted device?
I have a Pixel 3aXL with LineageOS 17
''bootslot: b
enter reason: error boot prepare''
Click to expand...
Click to collapse
Reflash the boot.img from Los17 to get back to proper boot up, then patch Los17 boot.img and flash that to have root.
41rw4lk said:
Reflash the boot.img from Los17 to get back to proper boot up, then patch Los17 boot.img and flash that to have root.
Click to expand...
Click to collapse
Where is the boot.img from Lineage? There is no such file in the Lineage folder I downloaded.
dadu1257 said:
Where is the boot.img from Lineage? There is no such file in the Lineage folder I downloaded.
Click to expand...
Click to collapse
A lot of devs wil upload the boot.img separately when they upload the rom, so wherever you downloaded Los from check there. If you just have a payload.bin file in your zip, you can always dump it and grab the boot.img there. You could always just reflash Los period to get boot back, then us 'dd' command to backup your own boot.img.
custom recovery for lineageos 17 based on android 10?
teemothay said:
I'm pretty sure you would have to downgrade to android 9 (pie) and install a custom kernel to get twrp to install. Unless you want to rock android pie - like I currently am (Bootlegger's 9 - I like my smartbar customizations) - it's best to give up on TWRP and just use fastboot commands for android 10 and up.
If you do decide to downgrade to pie the elementalX kernel (ElementalX-P3a-1.06) works fine with twrp and is available on their site. Temp boot twrp via fastboot, flash kernel, flash twrp zip file, reboot to recovery and flash magisk zip for root (if you want root). But it may be hard to find older pie ROMs out in the wild to flash since devs have dropped support and will be focused on android 10/11.
Click to expand...
Click to collapse
thanks!
I got Lineage 17 w/ Magisk root running now and want to perform a full NANDroid Backup.
After some research it seems crucial to have a custom recovery like TWRP for that. There is the online nandroid thing - but I would need CWM or anything like this to restore?!
So my question is
a) is there another custom recovery (compatible with Pixel 3a XL w/ lineage 17 based on android 10) I can install and perform Nandroid backup with?
b) any other solution to perform this backup and restore? I heard there are cmd commands for that as well , but I'm a noobie not so sure to do that.
of course there are several apps out there to backup data.. but I don't trust ''any'' app to get root permission. In F Droid I couldn't find what I was looking for.
thank you for help!

OP7T ROM Installing Partition Error

After trying to install a custom ROM (PixelExperience for OnePlus 7T [hotdogb]) via fastboot, the installation flashing ended with errors with "no such partition" for odm, product and system I tried everything to get out of the fastboot screen loop. After finding a bat file with IMG files which got me on the Android 11 Beta 1. build (still no WiFi)
What can I do to fix the partition error to get on the Pixel Experience ROM or even get back to the stable build - I did try MSM but it isn't listing the phone even after pressing ENUM.
Please help...
Context (can skip): The latest stable build OOS for my 7T had issues with the microphone not working and so I decided to do a factory reset which resulted in having a clean install but now, WiFi doesn't connect for some reason. After trying some fixes I decided to install a custom ROM.
U need to flash stock recovery (fastboot flash recovery recovery.img) as twrp prevents fastbootD entry. Then type fastboot reboot fastboot to enter fastbootD. Then flash your rom. Personally, I just flash roms via Chinese twrp or 3.5.10 twrp
HueyT said:
U need to flash stock recovery (fastboot flash recovery recovery.img) as twrp prevents fastbootD entry. Then type fastboot reboot fastboot to enter fastbootD. Then flash your rom. Personally, I just flash roms via Chinese twrp or 3.5.10 twrp
Click to expand...
Click to collapse
that was my process for the first try - entered fastbootD for the flashing process which ended with the mentioned partition error and the fastboot loop. I realised that TWRP version I got from TOOL ALL IN ONE wasn't going to work as it couldn't access data no matter what.
No twrp can decrypt oos or a11 custom roms data. Chinese twrp can access data only on a10 custom roms if u remove screen lock before booting into twrp for backup
What do you reckon I try this time then?
itssata said:
What do you reckon I try this time then?
Click to expand...
Click to collapse
[OP7T][OOS 11.0.5.1 HD65AA/BA] Unbrick tool to restore your device to OxygenOS
Disclaimer: By attempting any of the processes listed in this thread you accept full responsibility for your actions. I will not be held responsible if your device stops working, catches fire, or turns into a hipster and claims to have been...
forum.xda-developers.com

Categories

Resources