Hi.
I have an European Oneplus 7T Pro. The bootloader is unlocked. And the rom is stock Android 11 (beta). Phone is not rooted.
I am planing to sell the device so I want to make it all stock again.
I tried to re-lock the bootloader but I got an error. Error said that it could not boot. Locking bootloader again allowed it to boot.
So how can I make the device factory stock?
MSM I don't think there is an Android 11 specific one out there, but you can certainly go back to Android 10 with it. Just make sure to use the right version as there is both a Global and EU versions in the thread.
jfm91 said:
Hi.
I have an European Oneplus 7T Pro. The bootloader is unlocked. And the rom is stock Android 11 (beta). Phone is not rooted.
I am planing to sell the device so I want to make it all stock again.
I tried to re-lock the bootloader but I got an error. Error said that it could not boot. Locking bootloader again allowed it to boot.
So how can I make the device factory stock?
Click to expand...
Click to collapse
You can wipe all data from the settings menu then go to fastboot and flash original recovery if you put twrp on, the lock the bootloader in fastboit
Related
Hello EDA Forums
I am having an issue with my Moto E 2015, after unlocking the device.
I had it unlocked, and accidentally hit the relock button. Now, my device is stuck in the fastboot menu. The only options I am able to do are barcodes, power off, and bootloader logs.
When I try to use the other options, my phone flashes the your phone is unlocked message then closes very quickly.
My phone is locked, and has a status code of 2. I cant boot into the OS, because in the bootloader logs, it says "Failed to validate system image".
Also, after relocking the phone, my oem unlock developer console setting was turned off, so I cant flash in a new operating system.
I already have android sdk, and have been trying to get the phone working.
Thank you so much for your time, Allan
See this thread: http://forum.xda-developers.com/moto-e-2015/general/warning-bootloader-relocking-t3059595
The short story is that you need to reflash the signed stock firmware for your model using fastboot. Assuming you were running the 5.0.2 stock ROM, you should reflash the 5.0.2 stock ROM signed for your device. Don't try flashing a 5.1 stock ROM with fastboot, as upgrading the bootloader will prevent rollback, and could brick your device in certain scenarios that I won't confuse you with here.
squid2 said:
See this thread: http://forum.xda-developers.com/moto-e-2015/general/warning-bootloader-relocking-t3059595
The short story is that you need to reflash the signed stock firmware for your model using fastboot. Assuming you were running the 5.0.2 stock ROM, you should reflash the 5.0.2 stock ROM signed for your device. Don't try flashing a 5.1 stock ROM with fastboot, as upgrading the bootloader will prevent rollback, and could brick your device in certain scenarios that I won't confuse you with here.
Click to expand...
Click to collapse
Thank you for the reply. The issue is that I am not able to flash a new os, or stock os to my phone, because it is not unlocked. My oem unlocking access was revoked when I relocked the device.
Nanrx3 said:
Thank you for the reply. The issue is that I am not able to flash a new os, or stock os to my phone, because it is not unlocked. My oem unlocking access was revoked when I relocked the device.
Click to expand...
Click to collapse
No. Your bootloader will allow you to flash signed firmware for your region when locked. When unlocked, it also allows you to flash firmware not for your region, and firmware that is not signed at all. You just need to flash firmware whose CID matches your region.
Hey all!
I just got my Note 3 (Snapdragon/Kenzo) from DX and it came with global US rom. I checked and its bootloader is already unlocked. I want to update to Miui 8 global dev but I'm worried with this unlock, is there a way to know if it was officialy or unnoficialy unlocked? I want to flash the oficial recovery rom but heard that it can brick the phone if it was unnoficialy unlocked.
link: http://www.dx.com/p/432294
It came with Miui 7.3 Stable (7.3.2.0.0 LHOCNDD)
Please, help. =)
Hazihell said:
It came with Miui 7.3 Stable (7.3.2.0.0 LHOCNDD)
Click to expand...
Click to collapse
That is a vendor rom.
More than likely it is unofficially unlocked, because your only allow to unlock 1 device per month for each account.
Since your bootloader is unlocked, flash an official rom (which might lock the bootloader again).
Don't flash the latest 6.0.1 rom yet as you might not be able unlock with that.
Then unlock officially.
Check the reddit xiaomi wiki for guides.
Got it! Thanks, for your answer. I realy dont mind unlocking, I just want a miui 8 dev(it has a built in root, right?). I just was afraid of what method of flashing I should use with this unnoficialy unlocked bootloader. I'm going to search this wiki for it.
And better do a Alka TWRP backup now, before anything! Then, if you get your bootloader locked, you can always restore the backup to your current status - ROM and unlocked bootloader. I have two Kenzos in the same situation, and that's the way I do it.
Nice! Will do. Can't I just use that recovery to install an updated rom? There is an annoying bug on this version, I can't open my contact or dialer app, they close befero they appear on screen, tried erasing data but no help.
Boot from TWRP without installing it, make the backup (all partitions), then make sure you get the backup on your PC. After that you can install TWRP and make whatever you wish.
And don't forget, if you need to restore, do it without restoring the firmware partition, or else you'll get an error.
Thansk! But I think I will stick with the global dev. Can I flash it via Fastboot (MiFlash)? This unnoficial unlock wont cause any trouble, right ?
This is not an unofficial unlock. Is isn't either official
My phones came with some vendor MIUI's - 7.4.9.0(LHOCNDD), respectively 7.4.18.0(LHOMIDD), but I never flashed another MIUI, just custom ROMs. For what I know, if you flash via fastboot it will wipe the entire partition structure, including boot and recovery, and the bootloader will get locked. In that case you can not restore the backup you make now. You'll have to apply for official unlocking, or go unofficial.
Hazihell said:
Hey all!
I just got my Note 3 (Snapdragon/Kenzo) from DX and it came with global US rom. I checked and its bootloader is already unlocked. I want to update to Miui 8 global dev but I'm worried with this unlock, is there a way to know if it was officialy or unnoficialy unlocked? I want to flash the oficial recovery rom but heard that it can brick the phone if it was unnoficialy unlocked.
link: http://www.dx.com/p/432294
It came with Miui 7.3 Stable (7.3.2.0.0 LHOCNDD)
Please, help. =)
Click to expand...
Click to collapse
that means.. you recieved an unboxed device, may be refurbished, repacked and resealed and sold $25 costlier than the original. :silly:
Not necessarily. I have two, buyed from a local big online store, both came with unlocked bootloader. Both boxes were sealed, with no sign of foreign hands
I have 7.3.2.0.0 LHOCNDD rom and unlocked bootloader. Can I just type on fastboot:
fastboot flash recovery recoveryAlkaUpdate.img
to get twrp(alka)?
Thats work!
paul_damian said:
This is not an unofficial unlock. Is isn't either official
My phones came with some vendor MIUI's - 7.4.9.0(LHOCNDD), respectively 7.4.18.0(LHOMIDD), but I never flashed another MIUI, just custom ROMs. For what I know, if you flash via fastboot it will wipe the entire partition structure, including boot and recovery, and the bootloader will get locked. In that case you can not restore the backup you make now. You'll have to apply for official unlocking, or go unofficial.
Click to expand...
Click to collapse
I have the same MIUI vendor as you, 7.4.9.0(LHOCNDD), what method did you use to install TWRP? I only want to install AOSP/CM based ROM on this device. I want to flash it ASAP cause this MIUI ROM have a Trojan downloader, which luckily can be disabled.
I used Cofface on first phone, Alka on the second. Before flashing, first boot from TWRP image, make backup of all partitions to the SD card, copy the backup on computer, and only after that flash the TWRP image. After that... flash ROMs
paul_damian said:
I used Cofface on first phone, Alka on the second. Before flashing, first boot from TWRP image, make backup of all partitions to the SD card, copy the backup on computer, and only after that flash the TWRP image. After that... flash ROMs
Click to expand...
Click to collapse
I followed a tutorial that uses ZXC TWRP while on MIUI. Then I flashed ALKA, I'm on Nexus Experience now.
I have Redmi Note 3 SD. I applied for official unlock while phone was on MIUI stable 8.0.6.0 (Lollipop) , but I did not wait for permission and I unlocked unofficial and I upgraded to MIUI stable 8.1.1.0 (Marshmallow). Safe TWRP is installed and phone is rooted .
What to do now ? Should I continue with official unlock ? Could it be done if phone is already unlocked (unofficial) ?
Does it change anything significant ? I think I would prefer to be officially unlocked , so the bootloader doesn't ever lock again , but I am not sure if I can or if I should proceed from actual state .
Thanks
PS - Just checked Mi Unlock status in settings and it says - This device is locked !!! . But in Fastboot says bootloader unlock : true !!!
I'm in the same position, and I've sometimes considered unlocking officially. But, for the most part, I am happy with my unofficial unlock and worried that the official process will not work immediately, so I haven't bothered to officially unlock yet.
This would be the proper procedure for doing so, I believe.
1. Take a full backup in TWRP and be sure to copy it to a PC or somewhere separate from the phone. Also copy any important files from internal storage to a PC or some external storage.
2. Flash the latest China development rom using Miflash. (This would relock your phone).
3. Boot and log in with your Mi Account. Check in with "find my phone" to make sure Xiaomi knows you are logged in on your phone with your account.
4. Unlock via the official method using the Mi Unlock Tool... and pray that it doesn't get stuck at 50%. (If it does. Do "find my phone again" and try again later... and again later... etc. Sometimes it reportedly takes days. This is why I haven't bothered to do this yet.)
5. After officially unlocking, you could theoretically restore your TWRP backup (probably avoid restoring any weird partitions other than system and data in case it screws up your bootloader).
seaman5705 said:
I have Redmi Note 3 SD. I applied for official unlock while phone was on MIUI stable 8.0.6.0 (Lollipop) , but I did not wait for permission and I unlocked unofficial and I upgraded to MIUI stable 8.1.1.0 (Marshmallow). Safe TWRP is installed and phone is rooted .
What to do now ? Should I continue with official unlock ? Could it be done if phone is already unlocked (unofficial) ?
Does it change anything significant ? I think I would prefer to be officially unlocked , so the bootloader doesn't ever lock again , but I am not sure if I can or if I should proceed from actual state .
Thanks
PS - Just checked Mi Unlock status in settings and it says - This device is locked !!! . But in Fastboot says bootloader unlock : true !!!
Click to expand...
Click to collapse
Hi , I unlocked unofficial way & now I'm using Nougat ROM.
Can you tell me how did you go to MIUI Global stable 8.1.1.0 after unlocking bootloader ?
The method & steps you followed please !
VaibhavKumar07 said:
Hi , I unlocked unofficial way & now I'm using Nougat ROM.
Can you tell me how did you go to MIUI Global stable 8.1.1.0 after unlocking bootloader ?
The method & steps you followed please !
Click to expand...
Click to collapse
Flash through MI Flash in fastboot mode.
VaibhavKumar07 said:
Hi , I unlocked unofficial way & now I'm using Nougat ROM.
Can you tell me how did you go to MIUI Global stable 8.1.1.0 after unlocking bootloader ?
The method & steps you followed please !
Click to expand...
Click to collapse
I followed this guide - https://www.youtube.com/watch?v=PtoeZg6K-z4&feature=youtu.be
Update - I tried unlocking official without flashing dev rom and relocking the phone - of course it didn't work because MiFlash could see the bootloader already unlocked . I will not bother anymore to unlock official if actual state of phone is safe for further custom roms .
Just to make sure - can someone advise if I can flash xiaomi.eu roms from Safe TWRP without worries ? Do I need to flash Universal boot img patcher too after I flash rom ?
seaman5705 said:
Update - I tried unlocking official without flashing dev rom and relocking the phone - of course it didn't work because MiFlash could see the bootloader already unlocked . I will not bother anymore to unlock official if actual state of phone is safe for further custom roms .
Just to make sure - can someone advise if I can flash xiaomi.eu roms from Safe TWRP without worries ? Do I need to flash Universal boot img patcher too after I flash rom ?
Click to expand...
Click to collapse
I went through same path. Now on LAOS 14.1 . You can flash .. but do take backup of all partitions. Also do try to find what your FP sensor is. You may end up in issue like this https://forum.xda-developers.com/showthread.php?t=3543397
Scroll though my other posts for more info.
The problem with Settings crashing , I solved by flashing Radon kernel - also FP is working with this kernel .
It looks like this Redmi Note 3 is much more prone to brick than Redmi 3 I used before. I went through quite a few bricks and failed flashes while unlocking and upgrading to Marshmallow .
With Redmi 3 , which I bought unlocked from Greece , I never had a single problem flashing custom roms - never used fastboot, edl , myflash , just TWRP .
So - no need to flash universal boot img patcher or anything else after flashing custom rom ?
seaman5705 said:
Update - I tried unlocking official without flashing dev rom and relocking the phone - of course it didn't work because MiFlash could see the bootloader already unlocked . I will not bother anymore to unlock official if actual state of phone is safe for further custom roms .
Just to make sure - can someone advise if I can flash xiaomi.eu roms from Safe TWRP without worries ? Do I need to flash Universal boot img patcher too after I flash rom ?
Click to expand...
Click to collapse
Most guides say that you need the latest dev rom in order to unlock.
If you want to try with merely re-locked bootloader on your current rom, I believe maybe you can re-lock in fastboot?
"fastboot oem lock"
?
kazekiri said:
Most guides say that you need the latest dev rom in order to unlock.
If you want to try with merely re-locked bootloader on your current rom, I believe maybe you can re-lock in fastboot?
"fastboot oem lock"
?
Click to expand...
Click to collapse
It's an idea - I will try to just re-lock the bootloader in fastboot . Thanks
seaman5705 said:
It's an idea - I will try to just re-lock the bootloader in fastboot . Thanks
Click to expand...
Click to collapse
Hi , I just flashed fast boot Dev rom from this Nitrogen OS + Cm14 Firmware setup , as I got official permissions.
Now device is unlocked. [ Flash Dev Rom only ]
I would like to know which Twrp to use , now I need to get back to Miui official global stable with custom recovery [ need OTA , Incremental updates ] & also if I flash radon kernel will I receive Incremental updates?
ZCX Twrp is recommended?
Sent from my Redmi Note 3 using Tapatalk
Hey, I've been using Kangvip rom for the Mate10Pro from this (https://forum.xda-developers.com/mate-10/help/kangvip-rom-t3738379)
It comes rooted with Supersu, and got TWRP up and running.
Now I thought of comming back to the stock version of the phone, and having a problem with that.
First my bootloader is unlocked and FRP is locked, Enable Oem unlocking in Devs Settings is off and greyed out, when trying to flash from the full OTA (from this website)
http://pro-teammt.ru/firmware-database/?firmware_model=bla-l29C432B129&firmware_page=0
Based on my Version BLA-l29C432B129
When I try to flash something, an error appears with Command not allowed, I read that I should relock the bootloader so I did try, but got the error " Root type is risk" so it didn't work.
Same problem in TWRP, everything is SDCARD is encrypted so I can't have a zip or boot image there.
Heard you could system upgrade with inbuilt huawei software, but only allows an external sd card :/
I'd just want to return to stock firmware , stock recovery and unrooted
I will provide as much information as I can!
Kind Regards Felipe
I unlocked bootloader in official method. I flashed twrp and magisk. but after the latest Global beta, I've somehow lost both TWRP and magisk. that said, my phone is no longer rooted and the stock recovery is back. now i want to relock my bootloader. I never installed any custom rom. My question is, how to relock bootloader, and, if i do relock will all my data get wiped? like system reset or something? if so, is there any way to avoid that while relocking?
flash an official miui fastboot rom using mi flashtool and choose the option to clean and lock.
as far as I remember there is an option to keep data but you can backup everything to your PC before flashing