I unlocked my bootloader, installed twrp and several roms to try them out, then decided to go back to stock. Currently have OOS 3.5.4 installed with stock recovery (that came with the toolkit). However, whenever I try to lock the booltloader again, the phone won't boot up. It will bootloop, or just stay off with the led glowing white. I tried to sideload the stock ROM from OnePlus, but it fails after about 45% completion. I tried both 3.5.3 and 3.5.4 and both fail after about 45%. The only way to get the phone to boot again is by unlocking the bootloader again, then it boots just fine. Tried unlocking with the toolkit as well as fastboot oem lock. Both give me the prompt on the phone, then wipe the phone and go into the bootloop.
Any suggestions on how to re-lock the bootloader? I want to be able to get the OTA update, which I think will fail with an unlocked bootloader. Note, I have also tried loading the Nougat update from settings - system update - local upgade (both full and update) and they also fail to load shortly after booting to recovery.
Thanks,
TR
Instead of using the toolkit, try just doing it manually.
fastboot oem lock IS the correct way to lock the bootloader.
If you're running into all those issues, try to reflash the stock rom from the official site. OR try this
NOTE: This WILL wipe everything on your phone so make a backup first!
First Unlock booloader1. On your phone go into Developer screen (Settings --> Developer Options)
If you don't have this go back to Settings --> About Device. Tap "Build number" 7-10 times to unlok developer options
2. In Developer Options turn on "USB Debugging" and "OEM Unlock"
3. Open ADB in command prompt and go to the directory where ADB is.
Type adb reboot bootloader
4. Once your device is in fastboot mode, type in fastboot devices to make sure your device is listed
5. Type in fastboot oem unlock to unlock your device bootloader
You can check to make sure it was properly unlocked by typing in fastboot oem device-info.
6. Reboot into your system
Files we need7. Download the following files:
TWRP - https://build.nethunter.com/test-builds/twrp/oneplus/twrp-3.0.2-0-oneplus3t.img
No-verity-opt-encrypt - https://build.nethunter.com/android-tools/no-verity-opt-encrypt/no-verity-opt-encrypt-5.0.zip
Magisk - http://tiny.cc/latestmagisk
Phh-Superuser - https://forum.xda-developers.com/attachment.php?attachmentid=3988488&d=1483407725
Latest Stable Nougat Rom - http://otafsc.h2os.com/patch/amazon...s3TOxygen_28_OTA_035_all_1612310259_2dc0c.zip
8. Copy all the files to your phone (keep the original on your pc just in case)
9. Load back up to fastboot mode
In ADB type adb reboot bootloader
10. Flash twrp img we downloaded above by typing
fastboot flash recovery twrp-3.0.2-0-oneplus3t.img
11. After this reboot into the system
Install all of our downloaded files through TWRP12. Now boot into recovery by issuing the following ADB command
adb reboot recovery (you should go into TWRP)
13. Once you're in twrp flash the "no-verity-opt-encrypt-5.0.zip" file OR you can format the data partition to f2fs to prevent the dm-verity error.
14. Now install the stock stable nougat rom we downloaded above
15. Do a factory system wipe / cache & dalvik
16. Install magisk through TWRP
17. Wipe cache/dalvik
18. Install phh SuperUser
19. Now reboot into the system normally.
NOTE: This *COULD* take a while since you did a clean install of nougat so just be patient and you should be good to go after this.
Thanks for the reply.
I did do fastboot oem lock, and it results in an unbootable system. fastboot oem unlock makes it bootable again. Not sure why. Also, whenever I do adb sideload <any_rom> it fails after about 45%. Not sure what's happening. Your instructions would get me to Nougat with TWRP and an unlocked bootloader, which may be what I end up doing, but I was trying to get back to fully stock, and locked again, so that OTA's will work properly. If nothing else works, I will go the route you suggest above.
Thanks again!
I just figured I'd try to get you to a working system/phone. After you get all that working you can probably lock your bootloader back to default. Now, I'm not 100% sure, but I believe that if you have a custom recovery you will need to restore that to stock as well before setting the bootloader back to locked.
TXRangerXDA said:
I unlocked my bootloader, installed twrp and several roms to try them out, then decided to go back to stock. Currently have OOS 3.5.4 installed with stock recovery (that came with the toolkit). However, whenever I try to lock the booltloader again, the phone won't boot up. It will bootloop, or just stay off with the led glowing white. I tried to sideload the stock ROM from OnePlus, but it fails after about 45% completion. I tried both 3.5.3 and 3.5.4 and both fail after about 45%. The only way to get the phone to boot again is by unlocking the bootloader again, then it boots just fine. Tried unlocking with the toolkit as well as fastboot oem lock. Both give me the prompt on the phone, then wipe the phone and go into the bootloop.
Any suggestions on how to re-lock the bootloader? I want to be able to get the OTA update, which I think will fail with an unlocked bootloader. Note, I have also tried loading the Nougat update from settings - system update - local upgade (both full and update) and they also fail to load shortly after booting to recovery.
Thanks,
TR
Click to expand...
Click to collapse
I also have the same problem, after the bootloader lock the phone does not start.
I tried with all the possible procedures, also even the rom flash in local and sideload it does not work, It comes to 45% and then fails.
we will highlight the problem, so everyone will know and maybe there is a solution
m0d hipp¥ said:
I just figured I'd try to get you to a working system/phone. After you get all that working you can probably lock your bootloader back to default. Now, I'm not 100% sure, but I believe that if you have a custom recovery you will need to restore that to stock as well before setting the bootloader back to locked.
Click to expand...
Click to collapse
But of course, you can't relock phone with a non standard recovery. Replace TWRP with the ROMs real recovery and relock will work again.
That's what I figured. Thanks for the confirmation.
Use the unbrick tutorial to go back to stock
This is what i did
https://forum.xda-developers.com/oneplus-3t/how-to/unbrick-unbrick-tutorial-oneplus-3t-t3515306
pitrus- said:
But of course, you can't relock phone with a non standard recovery. Replace TWRP with the ROMs real recovery and relock will work again.
Click to expand...
Click to collapse
I'm sorry, even with the stock recovery but does not work, it was the first thing I did
You can a unbick tutorial. It worked for my OnePlus 3T. Just search up How to unbrick (whatever OnePlus device you have) on Google. Then follow all the instructions carefully. If you need help with it I could try to do a remote session with you. Edit: It will erase all data and you will boot with oos 3.5.3 ( I also had the same issue as you. But I couldn't install any zip with stock recovery or adb side load.
Haven't seen nothing on the fórum about this particular subject, locking the bootloader seems a problem in this phone
enokack said:
Haven't seen nothing on the fórum about this particular subject, locking the bootloader seems a problem in this phone
Click to expand...
Click to collapse
Only if you have modified the phone in some way or another (like rooting and installing twrp) before trying to re-lock.
If you keep it stock, you should be able to re-lock. Or else, just use the Qualcomm restore method to re-lock.
tried this
OK what i did was when the phone was starting and vibrating I push the power bottom and volume down bottom at the same time ,then i connected the phone to the PC,from the panel in the phone there are 3 categories to erase everything on the phone I did it all(1,2,3) and then I put the phone in ADB mode from the control panel in the phone,After that I flash via fastboot the original .zip from one plus for the version 4.0.3 (1.4 GB) ,when it finished I restarted and the phone started normal again,I hope this help someone alse,I was so desesperated:silly:.
I think the problem in re-locking it is the modified boot image. Locked bootloaders don't support those.
re-locking bootloader will getback the warranty ???
No solutions till now
enokack said:
Haven't seen nothing on the fórum about this particular subject, locking the bootloader seems a problem in this phone
Click to expand...
Click to collapse
Its three easy steps, no need to use any toolkit just follow the instructions. https://forums.oneplus.net/threads/...-3-3t-and-go-back-completely-to-stock.456232/
Abrar123 said:
re-locking bootloader will getback the warranty ???
Click to expand...
Click to collapse
Unlocking the bootloader does not void the warranty on this device:
https://oneplus.net/support/answer/will-rooting-or-unlocking-the-bootloader-void-my-warranty
Once I have root, is there a command to re-lock and later eventually unlock the bootloader again?
I remember this was possible with google nexus devices, there was a shell command (require root) that was able to change bootloader status
Hi all,
I have a Mi 9 europe version and want to get back to stock.
The current status of my device is:
- Bootloader unlocked
- TWRP
- flashed GSI FlokoRom
Can I just put the phone into fastboot mode and flash (10.2.24.0 PFAEUXM from there) with MI flash tool as mentioned there? Is it possible to relock the bootloader after this or will it brick my device?
I recommend you to flash rom WITHOUT LOCKING at first time. Even if something is wrong you should be able to flash twrp and then flash any rom.
But if after flashing your ohone boot up normally, flash it again and tick LOCK BOOTLOADER. Simple and secure way to get stock phone.
hi, I've installed the Global rom (over the original eea )using XiaoMi Tool 2, the program did everything by itself with my minimum intervention.
Now I am trying to bring it back to its original Eea Rom, but the program says it is necessary to unlock the bootloader.
Once the unlocking procedure has been carried out, it seems that Fastboot mode no longer works, the phone responds only to the boot commands, fastboot reboot which restarts it in Fastbootd (never seen before) for the rest if you launch adb devices or fastboot devices the phone is not seen.
Anyone have any idea how to proceed?
you need to flash the full stock miui.
Flashing the full Rom in fastboot mode with XiaoMi Flash needs that the bootloader be unlocked, but i cant unlock because fastboot mode don't work
avoid any software except spflashtool.
how do i install the miui rom in zip or fastboot format with this program?
for spflashtool you need the fastboot rom.
the recovery rom doesn't work with spflashtool.
i have the fastboot rom also, scatter loading file and authentication file are inside the fastboot folder?
[GUIDE] How to properly use the SP FLASH TOOL for MERLIN ? (Redmi Note 9 / Redmi 10X 4G)
Warnings: - If you try to flash in "firmware upgrade" mode, bootloader will be LOCKED again ! - NEVER try to flash in "format all" mode ! Otherwise, you will LOSE all secure and identifying infos for your device. Like IMEI and MAC. - Keep your...
forum.xda-developers.com
Hi everyone,
I'm afraid that my 12 Pro commited suicide... :/
It's pretty new, only 2 weeks old now. I was using it with the latest Xiaomi.eu ROM a did not have any problems - tilll yesterday.
Out of nowhere it started lagging and crashed during normal use. After the reboot it seemed to be fine again.
But in the following hours it crashed several times and rebooted by itself. Even while sitting on the table with screen off.
Finally it ended in a bootloop.
What I've tried so far:
- reflash Xiaomi.eu ROM without wiping data
- reflash Xiaomi.eu ROM with data wipe
- reflash Global ROM with the Mi Flash Tool and "clean all"
- reflash Global ROM with the Mi Tool, "clean all" and Relock Bootloader
- factory reset in stock recovery
- start without inserted SIM card
What is working:
Fastboot
Recovery Mode (and ADB sideload using the Mi Tool option in recovery mode)
Unlocking the BL using the official Xiaomi Unlock tool
Occasionally it boots into system but crashes afer a short time, so I'm not eben able to complete the setup assistant.
Most of the time it just hangs at the boot screen (the one with the Mi Logo, "Powered by Android" text and open lock at the top).
Any suggestions how to bring it back to life?
Pio
It sounds like hardware problems.
Flash it back to the original rom that came with the phone.
Then check if the problem occurs again or not.
When not than it is a problem with the EU rom, and when it has the same problem it probably is an hardware issue.
Unlock bootloader again.
Flash with full Chineese ROM (i assume that yours is a Chinese edition) with the option bootloader relock selected.
Please note, you are good to flash Global ROM on the top of any Chinese ROM including xiaomi.eu ROM. But do not choose relocking because it will brick your phone permanently.
Avoid your step,
"- reflash Global ROM with the Mi Tool, "clean all" and Relock Bootloader"
smohanv said:
Unlock bootloader again.
Flash with full Chineese ROM (i assume that yours is a Chinese edition) with the option bootloader relock selected.
Please note, you are good to flash Global ROM on the top of any Chinese ROM including xiaomi.eu ROM. But do not choose relocking because it will brick your phone permanently.
Avoid your step,
"- reflash Global ROM with the Mi Tool, "clean all" and Relock Bootloader"
Click to expand...
Click to collapse
Nope, I have the Global Edition.
So flashing the Chinese Rom and locking the BL is probably not the best idea
The device is at the service center at the moment, let's hope it won't take too long.
Worst out of worst, I can perform soldering and replace the nand chip of the device to recover it
I got my 12 Pro back und it's running fine so far.
Have had some random reboots in the past but they seem to be gone since the .18 update
Hi
That's exactly what I did. Is there any way to fix it?
Avoid your step, "- reflash Global ROM with the Mi Tool, "clean all" and Relock Bootloader"
smohanv said:
Unlock bootloader again.
Flash with full Chineese ROM (i assume that yours is a Chinese edition) with the option bootloader relock selected.
Please note, you are good to flash Global ROM on the top of any Chinese ROM including xiaomi.eu ROM. But do not choose relocking because it will brick your phone permanently.
Avoid your step,
"- reflash Global ROM with the Mi Tool, "clean all" and Relock Bootloader"
Click to expand...
Click to collapse
That's exactly what I did. Is there any way to fix it?
What a situation?
You have locked the bootloader on a CN version with a Global rom or vice versa?
NOSS8 said:
That's exactly what I did. Is there any way to fix it?
What a situation?
You have locked the bootloader on a CN version with a Global rom or vice versa?
Click to expand...
Click to collapse
I opened the bootloader and uploaded the global rom to Chinese. I locked the bootloader. I got into a loop. Now I can't open the bootloader to load the new firmware
I was locking my bootloader to try to reroot and pass safetynet. So, I factory reset it, set it up, and then went into the bootloader and typed "fastboot flashing lock". I selected yes to confirm the locking of my bootloader and then my phone rebooted. But now my phone says "Can't find valid operating system" and I can't boot into Android. i was able to unlock the bootloader again but now i don't have magisk installed and I can't even boot into Android to install anything. Is there anything i can do to fix this?
Yes, if you're bootloader is unlocked then you can fastboot flash (or use Chrome web based Android Flash Tool) factory images from https://developers.google.com/android/images
If you want to root extract the boot.img from the zip and patch with Magisk, then fastboot flash boot magisk_patched.img after you boot the phone once on stock unrooted kernel.
Thank you. I did it with the flash tool. Then later, it happened again and I realized I could use the boot.img. I'm glad these Google pixels are noob friendly.
Never lock your bootloader unless you know for a fact that you are on bone stock OEM firmware.