Like it says in the title.
I have a Xiaomi phone with an unlocked bootloader.
Just installed the latest stock ROM and was thinking about installing the TWRP Recovery, mostly for the full backup and Nandroid restore function.
Is it possible to safely RElock the phone using the usual Fastboot command, or is that a bad idea??? Also, I have read that the "fastboot oem unlock" command will delete TWRP recovery anyway.
Some advice would be appreciated.
Related
Hi. I have had the OnePlus X for a very long time, and I have recently bricked .
Ok, here it goes :fingers-crossed:. I had a OnePlus X running CM13 with TWRP but a locked bootloader. I decided to try cyanogenmod recovery but soon realized it was terrible.
I was unable to flash img. files and the UI was unappealing to me. However at that point I was able to reboot into my ROM (CM13) with no issues. Knowing this, I thought that the only way I could get TWRP back was through a fastboot command (fastboot flash recovery recovery.img).
For me to execute that command, I needed to unlock my bootloader first, so I took all the necessary steps in the developer options settings menu. I then booted into fastboot mode and executed this command: fastboot oem unlock. This was my big mistake, as I read up after that you should not unlock bootloader on a custom recovery.
After executing this command, it booted me into recovery. I tried many times without success to wipe data and flash a rom zip via external sd card but they never worked. To make things worse, I was unable to boot up the device. Whenever I tried to power on the device, it booted straight into recovery. I am able to boot into fasboot and recovery, but that is pretty much it. Can someone please help me? I am willing to donate.
If you were able to flash the Cyanogen recovery with a locked bootloader you should be able to flash the official OPX recovery as well. You can download that from this link: https://s3.amazonaws.com/oxygenos.oneplus.net/OPX_recovery.img
Then you should be able to unlock the bootloader!
Or if @Tanner1294's doesn't help, flashing stock rom via fastboot will surely help..
PS: Don't ever flash anything on a locked bootloader.
Hi,
I have unlocked my bootloader officially through the unlock tool and wanted to flash a custom recovery and also root my device (Redmi Note 3 - Snapdragon).
I was on Global Dev (6.5.19) before I even started to unlock my bootloader.
After unlock, I was succesffuly able to flash Cofface TWRP recovery through fastboot (well the command prompt didn't throw up any errors and had a success message).
However, when i reboot into recovery (either through button combination or "adb reboot recovery", I just get a screen that shows an image of a phone and USB cable" (similar to the image on the official bootloader unlock tool.
I checked whether the bootloader was unlocked (fastboot oem device-info) and it was indeed unlocked.
I have factory reset and reflashed 6.5.19 (Global dev rom) with MiFlash and this hasn't made any difference.
I also relocked the bootloader with MiFlash Beta and then unlocked successfully with the official unlock tool.
All of these steps still haven't made a difference.
Can someone please advise on the next step to do (as unlocked bootloader is pretty useless if I can't install a custom recovery).
P.S. I also get the same phone and usb cable image when booting into stock recovery
find it weird problem
if you dont,then first just boot the recovery
code:- fastboot boot xxxrecovery.img where xxxrecovery replace your own recovery img name in fastboot folder.
you must success and see twrp recovery
then again transfer img to sdcard and to flash from recovery.
then flash it from recovery and when you reboot ,just swipe to diseable rom to replace it with stock one.
find it really weird ,i did it hundredths of time in my offi unlocked and every time goes fine flashing recovery from fastboot
Hit thanks if i helped
please follow this... it does help for me.
http://forum.xda-developers.com/showpost.php?p=67636917&postcount=32
Thanks very much! These instructions solved my issue
mra1n1 said:
Thanks very much! These instructions solved my issue
Click to expand...
Click to collapse
I have the same problem .How u solved your problem?
You can easily flash this one ZCX Twrp. Is the best i didn`t encountered any issue until now. I`ve flashed custom roms and miui roms as well.. The install process is very simple, follow this one https://forum.xda-developers.com/redmi-note-3/how-to/zcx-twrp-install-twrp-flash-supersu-t3462448
Hello, I need help with my OPX.
I cannot enter Android or recovery, only Fastboot. Also, Fastboot on my PC can detect my device, but ADB cannot.
I had CM 13 and TWRP 3.0.2.0 installed on it, and now I was going to install LineageOS 14.1. I was first going to update TWRP to 3.0.3.0 because I thougt why not. I installed the new version with TWRPs image flashing and then it rebooted itself to Android. Then I was going to enter recovery again to install Lineage, the problem was that I couldn't even start the recovery. So now I tried to install TWRP with Fastboot, but it told me that the bootloader was locked which I thought was strange since I had unlocked it before.
So I tried to unlock the bootloader with Fastboot using "fastboot oem unlock" which it reported that it did and now I couldn't even enter Android.
But when I use "fastboot oem device-info", it says false to both unlocked and tampered and I still couldn't flash or boot into a recovery with Fastboot.
So now I can only boot into Fastboot Mode.
EDIT 2: Never mind, I fixed it with https://forum.xda-developers.com/oneplus-x/general/guide-mega-unbrick-guide-hard-bricked-t3272108
Can I remove this thread somehow?
You needed to flash OOS3 ROM or system partion before flashing 3.0.3 and Lineage
Yepp, I noticed. Found out later that it was because of the older bootloader. I had no idea about that before.
I have extensively searched this forum and couldn't find to answers to the following!
Looking for experts to guide..
Query #1: TWRP Backup of Stock ROM causes bootloop!
I had unlocked Bootloader of Redmi Note 4 and used temporary TWRP (fastboot boot twrp.img) to take a backup of stock ROM and found that the device cannot boot back into Stock ROM.
I had tried to restore 'boot.img' using the TWRP stock ROM backup (and also from downloaded stock ROM) but that didnt help.
Same problem seen in Redmi 4 as well.
When booted to TWRP using fastboot boot (without flashing), in which partition TWRP is stored (boot or cache)?
After I had booted into TWRP (without flashing), is the backup of boot partition that I took still a stock version one?
Query #2: Relocking and unlocking Bootloader
I had unlocked bootloader using the MiFlash unlock tool (miflash_unlock-en-3.5.1108.44).
If I relock the bootloader using the MiFlash tool, would I need MiFlash unlock tool again to unlock or would 'fastboot flashing unlock' work?
Thank you!
n.dnivra said:
I have extensively searched this forum and couldn't find to answers to the following!
Looking for experts to guide..
Query #1: TWRP Backup of Stock ROM causes bootloop!
I had unlocked Bootloader of Redmi Note 4 and used temporary TWRP (fastboot boot twrp.img) to take a backup of stock ROM and found that the device cannot boot back into Stock ROM.
I had tried to restore 'boot.img' using the TWRP stock ROM backup (and also from downloaded stock ROM) but that didnt help.
Same problem seen in Redmi 4 as well.
When booted to TWRP using fastboot boot (without flashing), in which partition TWRP is stored (boot or cache)?
After I had booted into TWRP (without flashing), is the backup of boot partition that I took still a stock version one?
Query #2: Relocking and unlocking Bootloader
I had unlocked bootloader using the MiFlash unlock tool (miflash_unlock-en-3.5.1108.44).
If I relock the bootloader using the MiFlash tool, would I need MiFlash unlock tool again to unlock or would 'fastboot flashing unlock' work?
Thank you!
Click to expand...
Click to collapse
1. That bootloop *probably* happened because you swiped the "allow modification option" in twrp.
(One more advice : in twrp backup you should backup the "system image" and "vendor image" not the "system" and "vendor", If you don't want bootloop after restoring. (Or If you got a bootloop already flash that verity removal zip)
2. You will need mi unlock again.
I was unable to flash aex rom and so I flashed stock rom through twrp and now I am in realme UI with a stock recovery but an unlocked bootloader. and when I try to relock bootloader by using "fastboot flashing lock" or "./fastboot flashing lock" in my pc it just shows a list of commands.....what do I do?