Related
I was gifted a Nexus 6 after my 5X died. As far as I know the device has never been OEM unlocked, much less flashed with anything. I've unlocked developer options and allowed USB debugging and OEM unlock but when I try to use power+Vol(-) to get into fastboot mode nothing happens, the screen is just black. When I bridged the device using ADB I could see the serial number and tried using the boot into recovery mode command and it rebooted to the same black screen. When I used fastboot commands on the black screen I could see the device and tried running fastboot oem unlock, it did something but wasn't successful in unlocking it. I'm not prepared to just start running fastboot commands blind like that without being able to see what's happening on the device's screen.
It's a curious problem, has anyone ever heard of it happening before? I can't find anything similar when I google it.
All I really want to do is clear the Dalvik cache and flash the latest factory image because currently, even after doing a factory reset, the device is very slow and laggy.
Is there anyway I could clear all the caches etc without going into fastboot mode or does anyone know of any fixes I could use so I can see the recovery menu?
If you boot to bootloader mode, then "fastboot boot <TWRP.img>" you might be able run twrp on your pc and clear caches. If it works, I'd consider factory resetting. You can get twrp here: https://dl.twrp.me/shamu/
I have considered that. But that requires OEM unlock, no? I still haven't managed to unlock it yet. The first time I tried, I said yes to unlock (it involves using the rocker to select a response, which I can't see the options for) but in the command window it said it failed (can't remember the error message though). I was going to try again today but because I couldn't see the options when I tried it said I'd cancelled the operation and I was too scared to try again in case something went wrong.
But, do you think I should try the fastboot oem unlock command again? I definitely need OEM unlock to install TWRP, right?
connorjolley said:
I have considered that. But that requires OEM unlock, no? I still haven't managed to unlock it yet. The first time I tried, I said yes to unlock (it involves using the rocker to select a response, which I can't see the options for) but in the command window it said it failed (can't remember the error message though). I was going to try again today but because I couldn't see the options when I tried it said I'd cancelled the operation and I was too scared to try again in case something went wrong.
But, do you think I should try the fastboot oem unlock command again? I definitely need OEM unlock to install TWRP, right?
Click to expand...
Click to collapse
To install twrp yes, you need an unlocked bootloader. This doesn't install twrp on the device. I believe it should work. It certainly shouldn't hurt. I've been unlocked since the N6 came out so I can't double check for you.
If it doesn't work, I'd be a bit inclined to just flash a factory image thus ensuring everything is stock and current. You might want to wait for others to chime in, but it's what I would do.
You may consider downloading Nexus Root Toolkit, works like a charm : ).
I can't just flash the stock bootloader without OEM unlock, right?
connorjolley said:
I can't just flash the stock bootloader without OEM unlock, right?
Click to expand...
Click to collapse
Correct, you need to be unlocked to flash a factory image, that includes the bootloader. See Google's instructions. Don't get confused by the "fastboot oem unlock"
vrs "fastboot flashing unlock" we are an older device and use oem unlock. The other is for the 6P and newer devices.
ktmom said:
Correct, you need to be unlocked to flash a factory image, that includes the bootloader. See Google's instructions. Don't get confused by the "fastboot oem unlock"
vrs "fastboot flashing unlock" we are an older device and use oem unlock. The other is for the 6P and newer devices.
Click to expand...
Click to collapse
Successfully unlocked. TWRP didn't help, still can't see the bootloader menu to access the recovery. I'm flashing the factory image now, hopefully a new bootloader will fix it. If not, is there anyway to clear the Dalvik cache using fastboot commands now the phone is unlocked?
UPDATE
Still a black screen even with a new bootloader flash. I'm assuming now this must be a hardware problem
connorjolley said:
Successfully unlocked. TWRP didn't help, still can't see the bootloader menu to access the recovery. I'm flashing the factory image now, hopefully a new bootloader will fix it. If not, is there anyway to clear the Dalvik cache using fastboot commands now the phone is unlocked?
Click to expand...
Click to collapse
I think the command is "fastboot erase cache". Also, unlocking will have wiped the device.
connorjolley said:
UPDATE
Still a black screen even with a new bootloader flash. I'm assuming now this must be a hardware problem
Click to expand...
Click to collapse
Why not just flash the entire factory image you got the bootloader from? What can it hurt? It would be really odd for this to be hardware if you can boot into the ROM and the screen works.
Hi guys, if you are like me trying to lock the bootloader to get Android Pay, or Netflix back up and running without much fuss, I found a way to lock the bootloader.
WARNING: This will do a factory reset to your device, so do backups...
Requires:
- Official OOS flashed (Download here the full zip file for the latest OOS, you can flash through TWRP or stock Recovery)
- Latest Fastboot drivers and SDK file
- Basic knowledge of Fastboot commands
Guide:
- Boot the device into Bootloader mode (power the device with Volume up + Power Button)
- Connect to the PC
- Run the command "fastboot flashing lock"
- On the device, using the volume keys select "Yes" to lock the bootoader
And that's it, the 1st boot will take longer, but just wait.
Hope this helps =)
@hugoprh
It should be
Code:
fastboot oem lock
instead of
Code:
fastboot flashing lock
as OnePlus still uses the older LK. Only Nexus 6P & Pixel/Pixel XL have updated LK that includes these changes.
You should also mention that this procedures factory resets the device i.e. the internal memory is wiped.
Titokhan said:
@hugoprh
It should be
Code:
fastboot oem lock
instead of
Code:
fastboot flashing lock
as OnePlus still uses the older LK. Only Nexus 6P & Pixel/Pixel XL have updated LK that includes these changes.
You should also mention that this procedures factory resets the device i.e. the internal memory is wiped.
Click to expand...
Click to collapse
Hi, thanks for your feedback, but I did try "fastboot oem lock", as other XDA Oneplus 5 users have tried as well, without success, so I tried the Nexus 6p way "fastboot flashing lock" and it worked and this is the reason I decided to make this guide and I did write a "WARNING" about this procedure doing a factory reset, it's written in bold and underlined, please read carefully.
hugoprh said:
Hi, thanks for your feedback, but I did try "fastboot oem lock", as other XDA Oneplus 5 users have tried as well, without success, so I tried the Nexus 6p way "fastboot flashing lock" and it worked and this is the reason I decided to make this guide and I did write a "WARNING" about this procedure doing a factory reset, it's written in bold and underlined, please read carefully.
Click to expand...
Click to collapse
Let me explore the firmware - it would a curious case of hybridization then.
Regarding the warning: Yah, my bad... missed it somehow.
Trying to relock my bootloader, everytime I get to the fastboot screen I scroll through to "START" and select it using the power button the phone shuts off and reboots. Having a hard time getting into fastboot. any suggestions?
rgreene1971 said:
Trying to relock my bootloader, everytime I get to the fastboot screen I scroll through to "START" and select it using the power button the phone shuts off and reboots. Having a hard time getting into fastboot. any suggestions?
Click to expand...
Click to collapse
I was able to figure out my fastboot issues and able to flash twrp and revert back to a stock image, however when I try to lock the boot loader i get the error "FAILED (remote: flashing lock is not allowed).
Any ideas on the direction I need to go?
rgreene1971 said:
I was able to figure out my fastboot issues and able to flash twrp and revert back to a stock image, however when I try to lock the boot loader i get the error "FAILED (remote: flashing lock is not allowed).
Any ideas on the direction I need to go?
Click to expand...
Click to collapse
+1
rgreene1971 said:
I was able to figure out my fastboot issues and able to flash twrp and revert back to a stock image, however when I try to lock the boot loader i get the error "FAILED (remote: flashing lock is not allowed).
Any ideas on the direction I need to go?
Click to expand...
Click to collapse
You need to turn on OEM Unlocking in Developer Settings. If for any reason OEM Unlocking is freezed, flash Magisk and then turn on OEM Unlocking. Flash the stock recovery and the lock bootloader command. It should work flawless!
Don't forget the backup!
Why lock? Why not just use Magisk? That works fine with Android Pay.
You don't need to lock your bootloader to use Netflix
nagorimayank said:
You need to turn on OEM Unlocking in Developer Settings. If for any reason OEM Unlocking is freezed, flash Magisk and then turn on OEM Unlocking. Flash the stock recovery and the lock bootloader command. It should work flawless!
Don't forget the backup!
Click to expand...
Click to collapse
I am getting the same error saying that Flashing Lock is not allowed.I did what you said to do but the i can't turn on the OEM Unlocking in Developer Settings since it is greyed out.
What should i do?
mullafabz said:
I am getting the same error saying that Flashing Lock is not allowed.I did what you said to do but the i can't turn on the OEM Unlocking in Developer Settings since it is greyed out.
What should i do?
Click to expand...
Click to collapse
What I did was install custom ROM, the option isn't greyed out. Then try again. But make sure you install stock ROM and recovery before bootloader lock.
beache said:
What I did was install custom ROM, the option isn't greyed out. Then try again. But make sure you install stock ROM and recovery before bootloader lock.
Click to expand...
Click to collapse
I managed to lock back the bootloader but now am stuck in an bootloop.
mullafabz said:
I managed to lock back the bootloader but now am stuck in an bootloop.
Click to expand...
Click to collapse
You have to format data in recovery
Note: THIS IS NOT A SOLUTION TO BYPASS FRP!
I am not responsible if you are dumb dumb and break your phone
This Solution is written in under 10 minutes AND WORKS ONLY AND ONLY FOR STOCK people with no experience stay away
This is not a comprehensive solution, if you don't know what you're doing then don't do it!
This solution might work for all huawei phones where:
1. The Oem-unlock is greyed out and NOT activated in Developer Options
2 .Bootloader is unlocked & FRP is locked.
3. You are on !!! STOCK !!!
Problem case:
Huawei P9 lite VNS-L31 on B380
Bootloader unlocked.
FRP Locked.
Fastboot commands fail with
Code:
FAILED (remote: Command not allowed)
except
Code:
fastboot oem get-bootinfo
and
Code:
fastboot devices
Solution:
Have ready your Unlock bootloader code from Huawei
Factory Reset your device. (Factory Reset implies removing Fingerprints and standard Factory Reset)
Reboot to fastboot ,in fastboot you should see:
Phone: unlocked
FRP: locked
Re-lock your bootloader and factory reset ( it will do it automatically)
Code:
fastboot oem relock *Here Huawei Code*
Reboot normally, skip everything
Activate Developer Options
Activate OEM unlocking from Dev Options
Reboot fastboot, now you should see:
Phone: locked
FRP: unlocked
Unlock bootloader again, it will factory reset again
Code:
fastboot oem unlock *Here Huawei Code*
Skip everything again
Reboot again to fastboot and flash recovery, now you will see:
Phone: unlocked
FRP: unlocked
Code:
fastboot flash recovery *imagename*
The OEM Unlock option now is greyed out and ACTIVE
Sucess!After a few hours of debugging and searching for answers I finally managed to flash TWRP, hope this helps.
Alexander33 said:
Note: THIS IS NOT A SOLUTION TO BYPASS FRP!
I am not responsible if you are dumb dumb and break your phone
This Solution is written in under 10 minutes, although I think I've covered everything, people with no experience stay away, this is not a comprehensive solution, if you don't know what you're doing then don't do it.
This solution might work for all huawei phones where:
1. The Oem-unlock is greyed out and NOT activated in Developer Options
2 .Bootloader is unlocked & FRP is locked
Problem case:
Huawei P9 lite VNS-L31 on B380
Bootloader unlocked.
FRP Locked.
Fastboot commands fail with except andfastboot devices
Solution:
Have ready your Unlock bootloader code from Huawei
Factory Reset your device.
Reboot to fastboot ,in fastboot you should see:
Phone: unlocked
FRP: locked
Re-lock your bootloader and factory reset ( it will do it automatically)
Solution:
Have ready your Unlock bootloader code from Huawei
Factory Reset your device.
Reboot to fastboot ,in fastboot you should see:
Phone: unlocked
FRP: locked
Re-lock your bootloader and factory reset ( it will do it automatically)
fastboot oem relock *Here Huawei Code*
Reboot normally, skip everything
Activate Developer Options
Activate OEM unlocking from Dev Options
Reboot fastboot, now you should see:
Phone: locked
FRP: unlocked
Unlock bootloader again, it will factory reset again
Skip everything again
Reboot again to fastboot and flash recovery, now you will see:
Phone: unlocked
FRP: unlocked
The OEM Unlock option now is greyed out and ACTIVE
Sucess!
After a few hours of debugging and searching for answers I finally managed to flash TWRP, hope this helps.
Click to expand...
Click to collapse
Can i have your permission to add this guide to the unified help thread (FAQ post> "error: command not allowed") in this subforum. I will credit you by mention ofc.
fu**ing great, if I try to relock its says stat not match!!!!! Anyone ?
title
Alexander33 said:
Note: THIS IS NOT A SOLUTION TO BYPASS FRP!
I am not responsible if you are dumb dumb and break your phone
This Solution is written in under 10 minutes, although I think I've covered everything, people with no experience stay away, this is not a comprehensive solution, if you don't know what you're doing then don't do it.
This solution might work for all huawei phones where:
1. The Oem-unlock is greyed out and NOT activated in Developer Options
2 .Bootloader is unlocked & FRP is locked
Problem case:
Huawei P9 lite VNS-L31 on B380
Bootloader unlocked.
FRP Locked.
Fastboot commands fail with
Code:
FAILED (remote: Command not allowed)
except
Code:
fastboot oem get-bootinfo
and
Code:
fastboot devices
Solution:
Have ready your Unlock bootloader code from Huawei
Factory Reset your device.
Reboot to fastboot ,in fastboot you should see:
Phone: unlocked
FRP: locked
Re-lock your bootloader and factory reset ( it will do it automatically)
Code:
fastboot oem relock *Here Huawei Code*
Reboot normally, skip everything
Activate Developer Options
Activate OEM unlocking from Dev Options
Reboot fastboot, now you should see:
Phone: locked
FRP: unlocked
Unlock bootloader again, it will factory reset again
Code:
fastboot oem unlock *Here Huawei Code*
Skip everything again
Reboot again to fastboot and flash recovery, now you will see:
Phone: unlocked
FRP: unlocked
Code:
fastboot flash recovery *imagename*
The OEM Unlock option now is greyed out and ACTIVE
Sucess!After a few hours of debugging and searching for answers I finally managed to flash TWRP, hope this helps.
Click to expand...
Click to collapse
i have situation:
Phone : Relocked
FRP: Lock
any idea? im stuck in Bootloader.
Thank you very much! I spent many hours looking for a solution to this problem!
Your solution is incredible! Can I share your steps in Spanish for more people? I live in Mexico and I know more people with this problem. And of course I give you the credits for this magnificent solution. I'm sorry for my English, I know I write badly in this language
I have strange problem... I have "Phone unlocked, frp lock". But on my P9 Lite only fastboot mode works.
Rrecovery mode (vol+ i power) or download mode (vol+, vol-, power) are not responding - phone reboots always to Huawei logo.
Any way to fix that?
My phone its f***
What i do
Honor 7x
skiswim said:
i have situation:
Phone : Relocked
FRP: Lock
any idea? im stuck in Bootloader.
Click to expand...
Click to collapse
Me too
Any idea?
tootysa said:
Me too
Any idea?
Click to expand...
Click to collapse
I have a solution for you both.
I mistakenly followed the instructions above but made the mistake of not skipping everything. I got the message "Data partition corrupted do you want to format the partition" or something similar, DO NOT FORMAT ANYTHING, it should boot up normaly. I'm a bit rusty in my rooting ways u_u
Now, I got exactly the same situation as you both "Relocked" and "FRP Locked". I was able to get into the eRecovery and this is way to restore your phone.
1.- You need to get the Huawei Firmware Finder (Team MT) (https://forum.xda-developers.com/tools/general/huawei-firmware-finder-team-mt-t3469146)
2.- Unzip it and run FirmwareFinderRewrite.exe
3.- Go to the tab that says Common Base
4.- Search for the update that you know it works in my case was VNS-L31C432B388 (I tried to use VNS-L31C432B404 but its still "not active" whatever that means). Look for the FullOTA and copy the change log address (in my case: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1258/g104/v91282/f1/full/changelog.xml)
5.- In the icons above the Tabs pres on the cloud with a page infront, the tooltip should say Proxy
6.- Copy the changelog addres in the section Firmware for install and press Set.
7.- Press Register for Update
8.- Follow the instructions bellow this (Change your DNS temporarily)
9.- In your phone go to the eRecovery.
10.- Connect to WLAN and it should find a package.
10a.- In case it doesn't find it, go back to step 4. You probably got 2 packages with the same name. I do not enterily understand the differences but I assume one is for one region and the other for other region.
11.- Wait until it restores and be happy.
If you can not change the DNS in you router, as it was my case. You can set a hotspot with your laptop/desktop and change the DNS there but you still need and active internet conection.
I connected my cellphone to my laptop via WLAN and my laptop to the router via Ethernet which provides internet. I change both DNS's for both connections.
skiswim said:
i have situation:
Phone : Relocked
FRP: Lock
any idea? im stuck in Bootloader.
Click to expand...
Click to collapse
tootysa said:
My phone its f***
What i do
Honor 7x
Click to expand...
Click to collapse
tootysa said:
Me too
Any idea?
Click to expand...
Click to collapse
Did you guys unlock your bootloader prior to having this situation? aka did you start with
Phone unlocked.
FRP locked.
My solution is for this situation ^ and this situation only, not for any other case.
One other thing it springs right now in my mind is, did you factory reset and delete the fingerprints ? As this might be related...
Kucharskov said:
I have strange problem... I have "Phone unlocked, frp lock". But on my P9 Lite only fastboot mode works.
Rrecovery mode (vol+ i power) or download mode (vol+, vol-, power) are not responding - phone reboots always to Huawei logo.
Any way to fix that?
Click to expand...
Click to collapse
That's called a soft brick and have you tried eRecovery?
You need to go back to stock using a stock firmware which you have to find on the internet, then make a folder on your SDCard called DLOAD and put it in there, then press all three buttons and the eRecovery should boot up and detect the stock firmware.
EDIT: The guys that got stuck didn't read the part where I said VNS-L31 On B380 and did this having a custom ROM. How I know this? I've also followed my own guide and in the moment you relock your bootloader you will NOT be able to boot into your ROM anymore and you will boot to e-recovery
(which doesn't give too many options), if you were on Nougat or even on Marshmallow (skip the rollback part? )follow the rollback tutorial from N to MM from this Forum Section to get back to stock C432B160/1 , if you can't find the link just PM me
Again, I have VNS-L31 and I'm talking only from what I did, I don't know anything about your device
Man it's not working for me to relock the bootloader. its the same result. what can i do?
really need your help sir
Alexander33 said:
Note: THIS IS NOT A SOLUTION TO BYPASS FRP!
I am not responsible if you are dumb dumb and break your phone
This Solution is written in under 10 minutes AND WORKS ONLY AND ONLY FOR STOCK people with no experience stay away
This is not a comprehensive solution, if you don't know what you're doing then don't do it!
This solution might work for all huawei phones where:
1. The Oem-unlock is greyed out and NOT activated in Developer Options
2 .Bootloader is unlocked & FRP is locked.
3. You are on !!! STOCK !!!
Problem case:
Huawei P9 lite VNS-L31 on B380
Bootloader unlocked.
FRP Locked.
Fastboot commands fail with
Code:
FAILED (remote: Command not allowed)
except
Code:
fastboot oem get-bootinfo
and
Code:
fastboot devices
Solution:
Have ready your Unlock bootloader code from Huawei
Factory Reset your device. (Factory Reset implies removing Fingerprints and standard Factory Reset)
Reboot to fastboot ,in fastboot you should see:
Phone: unlocked
FRP: locked
Re-lock your bootloader and factory reset ( it will do it automatically)
Code:
fastboot oem relock *Here Huawei Code*
Reboot normally, skip everything
Activate Developer Options
Activate OEM unlocking from Dev Options
Reboot fastboot, now you should see:
Phone: locked
FRP: unlocked
Unlock bootloader again, it will factory reset again
Code:
fastboot oem unlock *Here Huawei Code*
Skip everything again
Reboot again to fastboot and flash recovery, now you will see:
Phone: unlocked
FRP: unlocked
Code:
fastboot flash recovery *imagename*
The OEM Unlock option now is greyed out and ACTIVE
Sucess!After a few hours of debugging and searching for answers I finally managed to flash TWRP, hope this helps.
Click to expand...
Click to collapse
Sir please help me , I need step by step tutorial from you please I need your facebook account name and I will pm you.
I'm on stock ROM and already do factory reset. But the bootloader still unlocked. When I'm trying to lock, its failed. Can someone help me?
my phone seems to be stuck at emui circled been about 5mins like that
honor 9 lite
Alexander33 said:
Did you guys unlock your bootloader prior to having this situation? aka did you start with
Phone unlocked.
FRP locked.
My solution is for this situation ^ and this situation only, not for any other case.
One other thing it springs right now in my mind is, did you factory reset and delete the fingerprints ? As this might be related...
That's called a soft brick and have you tried eRecovery?
You need to go back to stock using a stock firmware which you have to find on the internet, then make a folder on your SDCard called DLOAD and put it in there, then press all three buttons and the eRecovery should boot up and detect the stock firmware.
EDIT: The guys that got stuck didn't read the part where I said VNS-L31 On B380 and did this having a custom ROM. How I know this? I've also followed my own guide and in the moment you relock your bootloader you will NOT be able to boot into your ROM anymore and you will boot to e-recovery
(which doesn't give too many options), if you were on Nougat or even on Marshmallow (skip the rollback part? )follow the rollback tutorial from N to MM from this Forum Section to get back to stock C432B160/1 , if you can't find the link just PM me
Again, I have VNS-L31 and I'm talking only from what I did, I don't know anything about your device
Click to expand...
Click to collapse
If you have this situation : phone Relocked --> its mean that the phone has been unlocked before and then relocked
If you have this situation : phone locked --> its mean that the phone has never been unlocked before
it's a security from huawei to know if the phone still have a warranty
I have the same situation : phone relocked and frp lock (P20 lite with ANE-LX1 C652 )
because i relocked the bootloader without leaving the frp unlocked.
When you relock the bootloader ( relock phone) the phone will do an automatic factory reset, and if he fail with, you can't unlock bootloader again because of the frp lock, and you can not unlock frp from developper option because the phone won't start.
I tried the Firmware Finder solution to get erecovery working with DNS, i found an update for (ANE-LX1 C652 not FullOTA) and i register it for download, the phone start downloading, after finish downloading i get a fail install error.
i tried register many version C432 C185 ..... but the erecovery is not reconizing them i think that i need a FullOTA for my ANE-LX1 C652.
Installing update with sdcard dload, always fail .
re
Hello dear,
so i have unlocked my phone and this was the beginning of the problems, I had to deal with samsung phones before but the huawei was very sensitive, so i got into a problem and broke the phone system, which had taken the phone to an expert and had restored the stock phone system n it was good to roll back ,phone to work at least, he tells me that he did relock the bootloader but the message of warning still appears everytime i booted up ,
now ive the same problem as u have, and i noticed that the adb commands works only when the phone is on system ,either when i enter the FASTBOOT MODE ,ADB commands do not work anymore ,even the gray OEM unlocking,, and now i do not know if this solution works with me or not ,if i can get rid the warning message?? i dont need that silly unlocking anymore
ِِCan u advise me PLEASE !!!!
markraiem said:
Hello dear,
so i have unlocked my phone and this was the beginning of the problems, I had to deal with samsung phones before but the huawei was very sensitive, so i got into a problem and broke the phone system, which had taken the phone to an expert and had restored the stock phone system n it was good to roll back ,phone to work at least, he tells me that he did relock the bootloader but the message of warning still appears everytime i booted up ,
now ive the same problem as u have, and i noticed that the adb commands works only when the phone is on system ,either when i enter the FASTBOOT MODE ,ADB commands do not work anymore ,even the gray OEM unlocking,, and now i do not know if this solution works with me or not ,if i can get rid the warning message?? i dont need that silly unlocking anymore
ِِCan u advise me PLEASE !!!!
Click to expand...
Click to collapse
The warning will always appear as long as the Bootloader is unlocked. read the first 3 conditions . If you are on stock and can boot on stock, delete fingerprints and any PINs and Google accounts, then Factory Reset and this should set you to FPR Unlocked, BL Unlocked. Here just lock the bootloader back and then reboot normally and use the device as you normally do, the moment you add your Google Account and/or Fingerprint the FRP will lock back. If you want to continue flashing custom ROMs etc. follow the tutorial but read all the comments (relevant ones) before you do it.
This solution might work for all huawei phones where:
1. The Oem-unlock is greyed out and NOT activated in Settings -> Developer Options
2 .Bootloader is unlocked & FRP is locked.
3. You are on !!! STOCK !!!
Click to expand...
Click to collapse
if that applies to you, you can try my tutorial, otherwise I have no other suggestion for you, I quit tampering with my Huawei long ago, stock is quite fine for me.
I don't have the code, how do i lock and unlock bootloader? thx
to me puts
PHONE Locked
FRP Lock
phone stuck on recovery mode
After successfully installing MIUI EU and using it just fine, I then attempted to lock the bootloader as the phone is going back tomorrow for a screen repair. Upon using the command fastboot oem lock in fastboot mode, the bootloader was locked, but I am now in a bootloop returning me to the fastboot screen no matter what I try. WIth my bootloader locked adb does nothing and same with most fastboot commands. Whenever I try to reboot my device regularly or while using any combination of volume buttons, it shows the MIUI boot screen then straight back to fastboot and repeat.
Any help appreciated, thanks.
10TICKTERROR said:
After successfully installing MIUI EU and using it just fine, I then attempted to lock the bootloader as the phone is going back tomorrow for a screen repair. Upon using the command fastboot oem lock in fastboot mode, the bootloader was locked, but I am now in a bootloop returning me to the fastboot screen no matter what I try. WIth my bootloader locked adb does nothing and same with most fastboot commands. Whenever I try to reboot my device regularly or while using any combination of volume buttons, it shows the MIUI boot screen then straight back to fastboot and repeat.
Any help appreciated, thanks.
Click to expand...
Click to collapse
Strange idea to want lock bootloader for repair a screen. Even if you must send to Xiaomi warrantly center / agreed shop, unlock bootloader do not cancel the warrantly. Only desimlock is forbidden.
You must lock your bootloader only from your native official/legit ROM (EEA or Global or CN, etc), but never from a custom MIUI or AOSP because these roms have need to have bootloader unlocked for working.
For now you must
1- using Mi Unlock and Unlock again your device, like the first time (from waiting unlock period) but you will lose all your data, data partition (internal) is wiped.
2- using MiFlash for flash the lastest MIUI fastboot legit rom from your device (EEA ? Global ? CN ?) and be careful , by default (on the bottom right) app install / erase and lock bootloader, choose install / no lock.
I managed to fix it by using Mi Unlock with my sim in another phone for verification, I was just worried I would be faced with the wait again. Thanks.
10TICKTERROR said:
I managed to fix it by using Mi Unlock with my sim in another phone for verification, I was just worried I would be faced with the wait again. Thanks.
Click to expand...
Click to collapse
No problem, as soon as you have unlock with success your bootloader the first time, you do not have period unlock anymore
plempereur said:
A few notes on my experience with this tablet : I got it with the global rom and I wished to flash the stock rom and re-lock the tablet after to restore it in the original factory state :
- Flashed the CN rom using this guide, it went fine. I used "adb oem edl" to enter EDL mode as the mehod with the buttons did not work for me
- Re locked using "fastboot flashing lock" from the bootloader menu (vol+up), not the fastboot menu. (this driver was needed to "see" the tablet with fastboot)
- The tablet was bricked (refused to boot after re-locking / some error messsage like "system corrupted / unable to boot" then after this it just kept going to the bootloader when turning on)
- Unlocked the bootloader using "fastboot oem unlock-go"
- Managed to flash again from EDL, to enter EDL again (took me a bit of time to figure this) I had to use "fastboot oem reboot-edl" from the bootloader
- Starting over I did all the OTA updates up to ZUI14 "14.0.255 ST" (I received the updates even if the tablet bootloader is unlocked), then did a "Factory data reset" from the settings menu.
- After this I attempted to lock again and... it worked. Not 100% sure if it's due to the Z14 OTA, the factory reset or both (I suspect the OTA).
(I am keeping the "OEM unlocking" (allows the unlocking of the bootloader) option enabled in the developper options just in case I need to re-flash for some reason in the future)
Hope this can help others,
Cheers
Click to expand...
Click to collapse
Reposting this guide from @plempereur as it deserves prominent attention.
OMGrant said:
Reposting this guide from @plempereur as it deserves prominent attention.
Click to expand...
Click to collapse
I used this guide mentioned in that post, but this post helped me solve some issues I had. We need a sticky with links to all the posts in that one long thread because there's so much information in there and its buried.