Format the recovery partition - Redmi K30 5G Questions & Answers

Hello,
I am under xiaomi.eu ROM (latest one) and I have TWRP recovery (3.4.0 unofficial) installed as recovery. But I want to completely remove this recovery/format the recovery partition. is it possible without flashing stock ROM again?
I just want to keep my recovery empty/stock with no TWRP or PBRP. Any suggestion?

Go to fastboot and
Code:
fastboot erase recovery
Though I don't know the use of erasing the recovery partition, as it can be useful if you ever face any bootloop issue or receive any xiaomi.eu update (you need a recovery to flash OTA updates).

Related

TWRP gets overwritten

I'm on latest ob18. I am able to flash it, and run it once, but after reboot, the stock recovery gets Back. Any ideas?
Just Reflash twrp via flashify or adb in fastboot mode, that could be normal if u r flash an unmodified stock rom
Yep. On latest ob-Oos or H2o for me recovery stays, after instaltion of the rom. But on a second reboot, stock recovery shows and i reflash custom recovery again.
Guys I flashed latest H2OS beta over OOS Beta18 and lost access to recovery. These are the steps I followed, please help.
1. Backup current ROM (OB18)
2. Dirty Flash New H2OS version
3. Flash recovery image again
4. Reboot system
ROM booted without any problems and all my data is present but I lost access to TWRP.
Solution attempted: Reboot to fastboot and flash recovery image again, the process is successful but still TWRP is not coming up.
Please help. Thanks in advance
Stock rom always over writes recovery best way to get it to stick is flash stock zip than twrp reboot to twrp and reboot or flash mods/root
liam_davenport said:
Stock rom always over writes recovery best way to get it to stick is flash stock zip than twrp reboot to twrp and reboot or flash mods/root
Click to expand...
Click to collapse
Thanks this worked

Mi Max(hydrogen) bootloop after TWRP flashing

Hi there.
I'm using Global Developer ROM(MIUI9, 8.4.19).
And I'm trying to flash TWRP and install Custom ROM.
I asked Xiaomi for unlock my bootloader, and after 72 hours I could unlock my phone.
After that, I flashed TWRP 3.2.1-4.
Method to flash :
1. Boot into fastboot mode(vol down + power)
2. On windows command prompt, type "fastboot flash recovery twrp.img", "fastboot reboot"
but I can't boot normally, only can boot fastboot & TWRP recovery.
I tried several methods.
1. Try LazyFlasher - bootloop, nothing was changed.
2. Try to flash another ROM(8.1 OmniROM) and gapps(OpenGapps, ARM64 pico) - same bootloop, with Omni bootlogo.
3. Try to flash OmniROM and LazyFlasher - same bootloop.
I can revoke my phone by Fastboot ROM and have no problem without trivial permission reset, but I can't use TWRP still.
Any methods to flash TWRP without bootloop?
flashing twrp doesnt cause bootloop. you went wrong somewhere. did you format system partition before flashing new rom?
yusoffb01 said:
flashing twrp doesnt cause bootloop. you went wrong somewhere. did you format system partition before flashing new rom?
Click to expand...
Click to collapse
Of course.
On the other hand, definitely, just flashing TWRP causes bootloop. I assume that stock beta rom might cause bootloop by incompatibility of TWRP, but I can't return to stock stable rom because I can't use TWRP recovery so I would lose all of my data.
try using stable rom. when i bought this phone2 years ago, i could flash twrp and root miui just fine

Might have ****ed up the Recovery partition, any solution to restore it?

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'

Stock recovery for Mate SE oreo BND-L34?

How does one get back to stock recovery for the Mate SE BND-L34?
My phone is rooted with TWRP/Magisk but would like to try AOSP to see if it will fix my issues but AOSP says it won't work with twrp. Thanks
teatimecrumpet said:
How does one get back to stock recovery for the Mate SE BND-L34?
My phone is rooted with TWRP/Magisk but would like to try AOSP to see if it will fix my issues but AOSP says it won't work with twrp. Thanks
Click to expand...
Click to collapse
ASOP will work with both TWRP and Magisk. The install is different as you flash just a system image from fastboot instead of through TWRP. The only other issue that I know of is with a factory reset/wipe which is needed when installing a GSI like most of the ASOP stuff. If you do a factory wipe through TWRP, you will brick your device. The factory wipe has to be done through the stock recovery. Basically, download the firmware for your phone and extract either 'recovery' or 'recovery_ramdisk' depending on if you are on Oreo or Pie. Flash that file through fastboot "fastboot flash (name of reovery partition on your device) (name of recovery file in the fast boot folder) for mine it looks like this "fastboot flash recovery recovery.img"
You will have to reinstall magisk after you install your choosen GSI

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