Frp locked - Honor 9 Lite Questions & Answers

I cant unlock frp as It is grayed out the option of oem unlocking in the dev options
pls I need help
Model : LLD-L21
OS : KangVIP Rom (EMUI 8.0.0)
Bootloader Status : Unlocked
In fastboot it says
Phone Unlocked
FRP Locked

did u try dload method?

yes I tried dload
It did not work

I can't upload zipI will send u the file to unlock frp or you can find that file in telegram group of our device

That wont work...
Go to terminal in root mode and do
Code:
Setprop sys.oem_unlock_allowed 1
Than you can change the value and its not longer greyed out.

Darkest-Dark said:
That wont work...
Go to terminal in root mode and do
Code:
Setprop sys.oem_unlock_allowed 1
Than you can change the value and its not longer greyed out.
Click to expand...
Click to collapse
If that dosent work you can also follow the below procedure.
Relock your bootloader. Your phone will factory reset and boot. Then head to developer options and you will see oem unlock is not greyed out. Then just enable oem unlocking and unlock the bootloader. When you boot up again you will see that oem is greyed out but it'll be enabled. So you'll have unlocked fastboot and unlocked frp now.

Fredin_ said:
That wont work...
Go to terminal in root mode and do
If that dosent work you can also follow the below procedure.
Relock your bootloader. Your phone will factory reset and boot. Then head to developer options and you will see oem unlock is not greyed out. Then just enable oem unlocking and unlock the bootloader. When you boot up again you will see that oem is greyed out but it'll be enabled. So you'll have unlocked fastboot and unlocked frp now.
Click to expand...
Click to collapse
This will just brick the device.

Fredin_ said:
If that dosent work you can also follow the below procedure.
Relock your bootloader. Your phone will factory reset and boot. .....<snip>.
Click to expand...
Click to collapse
Never Ever a good idea to try and relock the bootloader.

viratbansal001 said:
This will just brick the device.
Click to expand...
Click to collapse
Sparkrite said:
Never Ever a good idea to try and relock the bootloader.
Click to expand...
Click to collapse
Umm why? Its working pretty fine for me. ?

Fredin_ said:
Umm why? Its working pretty fine for me.
Click to expand...
Click to collapse
Have you Unlocked, Relocked and then Unlocked again ?

[/COLOR]
Sparkrite said:
Have you Unlocked, Relocked and then Unlocked again ?
Click to expand...
Click to collapse
I haven't gone that far. I've unlocked and then relocked.
Everything fine. I believe it's completely safe if you have complete stock firmware installed ie, stock rom, stock recovery, stock Kernal and all that stuff. Otherwise you'll end up in a loop. Guess I forgot that part sorry.
So I know this is someone else's thread but can you tell me if I relocked bootloader will the service center be able to know I'd unlocked before? I don't have the phone unlocked warning at boot. Just curious.

Fredin_ said:
[/COLOR]
I haven't gone that far. I've unlocked and then relocked.
Everything fine. I believe it's completely safe if you have complete stock firmware installed ie, stock rom, stock recovery, stock Kernal and all that stuff. Otherwise you'll end up in a loop. Guess I forgot that part sorry.
So I know this is someone else's thread but can you tell me if I relocked bootloader will the service center be able to know I'd unlocked before? I don't have the phone unlocked warning at boot. Just curious.
Click to expand...
Click to collapse
Hey will it work if I have complete stock firmware like you said? I want to take my device to service centre but my bootloader is unlocked and I have L OS installed. Will relockeing bootloader get me back my waranty?
PS. I have already asked in question and answers section but no reply yet. ?I

Fredin_ said:
[/COLOR]
I haven't gone that far. I've unlocked and then relocked.
Everything fine. I believe it's completely safe if you have complete stock firmware installed ie, stock rom, stock recovery, stock Kernal and all that stuff. Otherwise you'll end up in a loop. Guess I forgot that part sorry.
So I know this is someone else's thread but can you tell me if I relocked bootloader will the service center be able to know I'd unlocked before? I don't have the phone unlocked warning at boot. Just curious.
Click to expand...
Click to collapse
Some if not all bootloaders nowadays are not "locked" by the manufacturer using a code but are usually "locked" by employing a digital signature and/or a CID (carrier Id) hard coded into the OS. When we "unlock" a bootloader with a code we are simply using a routine written into the loader by the manufacturer to now ignore signatures and/or CIDs of the OS and this allows us to flash whatever we wish.
Sometimes upon unlocking using a code the DS/CID is erased/altered and cannot be retrieved, so not a good idea to relock an altered bootloader.
At least, that is my understanding of it.

Krazydon said:
Hey will it work if I have complete stock firmware like you said? I want to take my device to service centre but my bootloader is unlocked and I have L OS installed. Will relockeing bootloader get me back my waranty?
PS. I have already asked in question and answers section but no reply yet. I
Click to expand...
Click to collapse
Sparkrite said:
Some if not all bootloaders nowadays are not "locked" by the manufacturer using a code but are usually "locked" by employing a digital signature and/or a CID (carrier Id) hard coded into the OS. When we "unlock" a bootloader with a code we are simply using a routine written into the loader by the manufacturer to now ignore signatures and/or CIDs of the OS and this allows us to flash whatever we wish.
Sometimes upon unlocking using a code the DS/CID is erased/altered and cannot be retrieved, so not a good idea to relock an altered bootloader.
At least, that is my understanding of it.
Click to expand...
Click to collapse
That's too bad. Means we won't get back our waranty if we relock it ?. So thanks for the heads up . I'll be careful while unlocking it again (if ever).?

Fredin_ said:
That's too bad. Means we won't get back our waranty if we relock it . So thanks for the heads up . I'll be careful while unlocking it again (if ever).
Click to expand...
Click to collapse
Not necessarily, I doubt if most service centres would bother delving that deep, but maybe some would.
I don't know...........

Sparkrite said:
Not necessarily, I doubt if most service centres would bother delving that deep, but maybe some would.
I don't know...........
Click to expand...
Click to collapse
Thanks for your quick reply but do you know any way to get back CID/DS

No, but I haven't delved that deeply into Huaweis bootloaders, but I NEVER attempt to re-lock them.

Sparkrite said:
No, but I haven't delved that deeply into Huaweis bootloaders, but I NEVER attempt to re-lock them.
Click to expand...
Click to collapse
Anyways thanks for your replies. Means a lot ?

Related

[Q] Locking my bootloader

Hi. I'd like to know if there's any way I can relock my bootloader, after getting it unlocked, so that I can trick them and get my warranty back.
As far as I understand the unlocking and relocking procedure, they will still see that the fuses have been messed with. A relocked fuse value is not the same as the locked factory one.
Adam77Root said:
As far as I understand the unlocking and relocking procedure, they will still see that the fuses have been messed with. A relocked fuse value is not the same as the locked factory one.
Click to expand...
Click to collapse
So... there's no way I can trick them, right?
amkirk94 said:
So... there's no way I can trick them, right?
Click to expand...
Click to collapse
If they just test the bootloader status with the secret code, they will probably see locked. If they do the same in oem-unlock mode, it will very likely be the same. But if they read odm_reserved, they see it has been messed with.
You should wait for somebody else to answer too. I don't own the device yet and do neither know about the internal workings of the lock status test app using the secret code nor the oem-unlock code checking mechanism. It could be possible that these also know about relocking and display that status instead of 'locked'.
It would also be good to know if there are any devices that come with relocked (i.e. next iteration checking fuses) bootloader [Bgby default[/B] from factory. If there was any, we could be sure that they won't notice that you unlocked and relocked.
ok, thanks for the help. I'll wait for more replies.

[Q] Locking & Unlocking Moto X 2013

Hey Folks,
I was curious to know if you have unlocked your bootloader, and then locked it again via fastboot oem lock command, if you wanted to unlock the bootloader maybe in the distant future again, would you need to use the same unlock key that was given to you by moto?
Thanks!
alternetconcept said:
Hey Folks,
I was curious to know if you have unlocked your bootloader, and then locked it again via fastboot oem lock command, if you wanted to unlock the bootloader maybe in the distant future again, would you need to use the same unlock key that was given to you by moto?
Thanks!
Click to expand...
Click to collapse
Yes the one you got in your mail.
Take care not to lose it.
I am not sure if they give it again
adity said:
Yes the one you got in your mail.
Take care not to lose it.
I am not sure if they give it again
Click to expand...
Click to collapse
Ah okay great.
Thank you!
I've unlocked my bootloader but have never once considered relocking it. Why would you lock it after unlocking it in the first place? I can't think of a single benefit.
nhizzat said:
I've unlocked my bootloader but have never once considered relocking it. Why would you lock it after unlocking it in the first place? I can't think of a single benefit.
Click to expand...
Click to collapse
I've seen some people claim they want to be as "close to stock as possible" when selling their phone. Unfortunately it doesn't really make a difference.
There are 3 states for the 2013 Moto X bootloader:
LOCKED Status:0
Unlocked Status:3
Locked Status:2
note: Status 2 is also known as relocked.
As users we can toggle it to either Status 2 or Status 3, but we can never set it back to Status 0. On Status 2 or 3, you'll get the Bootloader Unlocked warning message at reboot (where replacing the LOGO.BIN with custom one will hide the message).
alternetconcept said:
Hey Folks,
I was curious to know if you have unlocked your bootloader, and then locked it again via fastboot oem lock command, if you wanted to unlock the bootloader maybe in the distant future again, would you need to use the same unlock key that was given to you by moto?
Thanks!
Click to expand...
Click to collapse
Have you managed to lock it?
alexhdkn said:
Have you managed to lock it?
Click to expand...
Click to collapse
I didn't actually. I just tried right now but got the following message.
(bootloader) FAIL: Please run fastboot oem lock begin first!
The reason I wanted to re-lock it was for purposes of my phone getting stolen. I'm assuming if it was relocked, the person wouldn't get the joy of installing a custom recovery.
Yeah kind of silly. In any case, couldn't get it to lock.
alternetconcept said:
I didn't actually. I just tried right now but got the following message.
(bootloader) FAIL: Please run fastboot oem lock begin first!
The reason I wanted to re-lock it was for purposes of my phone getting stolen. I'm assuming if it was relocked, the person wouldn't get the joy of installing a custom recovery.
Yeah kind of silly. In any case, couldn't get it to lock.
Click to expand...
Click to collapse
There is a process to re-lock which involves flashing the stock rom first, etc. and it does wipe the phone.
So if you re-lock, you'll also lose root. (at least until you unlock, flash custom recovery and root).
KidJoe said:
There is a process to re-lock which involves flashing the stock rom first, etc. and it does wipe the phone.
So if you re-lock, you'll also lose root. (at least until you unlock, flash custom recovery and root).
Click to expand...
Click to collapse
Yeah. I think I realized that I would need to wipe my phone again to re-lock it. I turned it back to stock so I can get the OTA which should hopefully come out soon.
I guess once they allow us to download stock 5.0.2, I'll do a re-lock then.
Thanks though for the info.

[Q] Android M flash

hello guys ) i just wanna ask if its possible to flash android m with nexus root toolkit or no ??
Apparently, yes. https://plus.google.com/113329792100896065459/posts/ZFUJD6Yn4hm
jj14 said:
Apparently, yes. https://plus.google.com/113329792100896065459/posts/ZFUJD6Yn4hm
Click to expand...
Click to collapse
thank you for the fast reply
Yes I followed those steps and flashed it perfectly.
BossJ said:
Yes I followed those steps and flashed it perfectly.
Click to expand...
Click to collapse
yeah same here, everything went more then well.
Should I relock the bootloader after flashing M ?
M5Rahul said:
Should I relock the bootloader after flashing M ?
Click to expand...
Click to collapse
NOOO!!!!
To many folks have encountered an issue that soft-bricked their device afterwards.
You will still receive OTA with an unlocked bootloader.
M5Rahul said:
Should I relock the bootloader after flashing M ?
Click to expand...
Click to collapse
you can relock it (safer) but if you want to flash any new rom later you will loose all your data. cause everytime you flash you need to unlock the bootloader. its up to you
stricker said:
you can relock it (safer) but if you want to flash any new rom later you will loose all your data. cause everytime you flash you need to unlock the bootloader. its up to you
Click to expand...
Click to collapse
Hang on now, lets be clear about the advice that we're giving here.
Yes, a locked bootloader is safer if a thief were to get his hands on your device. However, locking the bootloader has a whole host of other problems linked to it. For example, if you end up in a boot loop with a locked bootloader because something breaks in the rom or kernel, if you have stock recovery, you can never unlock the bootloader again, without sending it for repair.
I would suggest people using experimental ROMs should keep their bootloader unlcoked to avoid this
danarama said:
Hang on now, lets be clear about the advice that we're giving here.
Yes, a locked bootloader is safer if a thief were to get his hands on your device. However, locking the bootloader has a whole host of other problems linked to it. For example, if you end up in a boot loop with a locked bootloader because something breaks in the rom or kernel, if you have stock recovery, you can never unlock the bootloader again, without sending it for repair.
I would suggest people using experimental ROMs should keep their bootloader unlcoked to avoid this
Click to expand...
Click to collapse
If I did lock the boot loader, can it not be unlocked again using NRT ? I'm wondering since this (Android M) is an official release from Google, there should be a way to unlock the Boot loader if someone wants to roll back to lollipop ... Am I wrong in this assumption ?
Sent from my Nexus 6 using Tapatalk
M5Rahul said:
If I did lock the boot loader, can it not be unlocked again using NRT ? I'm wondering since this (Android M) is an official release from Google, there should be a way to unlock the Boot loader if someone wants to roll back to lollipop ... Am I wrong in this assumption ?
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
It's a security feature whereby if you do not have "enable OEM unlocking" set in the rom, you cannot unlock the bootloader. If you don't have it set, have stock recovery then have a rom that will not boot, you cannot set that, ergo cannot unlock the bootloader. If you're going to mess with exxperiemental previews, I would suggest not re-locking the bootloader.
danarama said:
It's a security feature whereby if you do not have "enable OEM unlocking" set in the rom, you cannot unlock the bootloader. If you don't have it set, have stock recovery then have a rom that will not boot, you cannot set that, ergo cannot unlock the bootloader. If you're going to mess with exxperiemental previews, I would suggest not re-locking the bootloader.
Click to expand...
Click to collapse
I just checked and the 'OEM unlocking' option is turned on under Dev Options.
So, can I unlock the bootloader and flash back to 5.1.1 ?
Sent from my Nexus 6 using Tapatalk
M5Rahul said:
I just checked and the 'OEM unlocking' option is turned on under Dev Options.
So, can I unlock the bootloader and flash back to 5.1.1 ?
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
If you like.

Is it possible to re-lock bootloader after official unlock?

I'm doing some research before I commit to unlocking my bootloader, and I can't find anything definitive on whether or not it's possible to re-lock after unlocking with the official tool. I have experience unlocking and re-locking bootloaders, flashing custom recoveries/ROMs/kernels etc but only with Nexus and Samsung phones, so I just want to make sure I'm clear on how Nokia's setup differs (If at all). Would also be interested to find out if Nokia will still offer me OTA's with unlocked bootloader.
Thanks for any help, and feel free to move or close the thread if it matches another one that I've missed.
Bb
2WildFirE said:
I'm really sure you can relock bootloader. Why not?
And yes ota works fine with open bootloader if you are on stock
Click to expand...
Click to collapse
Awesome, cheers for the assist ?
2WildFirE said:
I'm really sure you can relock bootloader. Why not?
And yes ota works fine with open bootloader if you are on stock
Click to expand...
Click to collapse
Nokia says that relooking isn't possible. Is there anybody who tried the command 'fastboot oem relock'?
And why says this text please lock ? the bootloader, if it is not possible?
2WildFirE said:
And why says this text please lock ? the bootloader, if it is not possible?
Click to expand...
Click to collapse
Dude, crop out that serial number?
Go to download mode
Run adb:fastboot oem lock
Choose lock bootloader in your phone
namle98 said:
Go to download mode
Run adb:fastboot oem lock
Choose lock bootloader in your phone
Click to expand...
Click to collapse
confirmed, i did it today
Since I also unlocked critical, I ran: fastboot oem lock_critical and then fastboot oem lock
Phone will factory reset both times.
Has anyone tried the re-lock with a custom kernel/ROM?
dimitar10 said:
Has anyone tried the re-lock with a custom kernel/ROM?
Click to expand...
Click to collapse
No, and nobody should do it. It will brick your device.
The point of a locked bootloader is to prevent unofficial software from running, and the point of unlocking it is to make that possible. So relocking the bootloader with unofficial software installed will make the phone think that the software got corrupted and rightfully lock down the device.
THMSP said:
No, and nobody should do it. It will brick your device.
The point of a locked bootloader is to prevent unofficial software from running, and the point of unlocking it is to make that possible. So relocking the bootloader with unofficial software installed will make the phone think that the software got corrupted and rightfully lock down the device.
Click to expand...
Click to collapse
Basically anyone should be able to do it and it shouldn't brick your device, as per Google's bootloader recommendations. However, manufacturers decide to cripple bootloaders not to support it in the verified boot chain (where kernel verification can be explicitly made against a custom root of trust set after the device has left the factory i.e. set by the user, instead of the original root of trust). As far as I know, only Pixel devices implement this, and can be achieved by issuing the command:
Code:
fastboot flash avb_custom_key <key_blob>
I'm sure there are lots of advanced users/modders that can find this feature beneficial (if implemented by the device vendors).
dimitar10 said:
Basically anyone should be able to do it and it shouldn't brick your device, as per Google's bootloader recommendations. However, manufacturers decide to cripple bootloaders not to support it in the verified boot chain (where kernel verification can be explicitly made against a custom root of trust set after the device has left the factory i.e. set by the user, instead of the original root of trust). As far as I know, only Pixel devices implement this, and can be achieved by issuing the command:
Code:
fastboot flash avb_custom_key <key_blob>
I'm sure there are lots of advanced users/modders that can find this feature beneficial (if implemented by the device vendors).
Click to expand...
Click to collapse
I accidently locked the bootloader and without locking critical with custom recovery in system.
now it's saying data is corrupt and phone can't be trusted.
that unlock key url got expired and there is no way i can get that unlock key .
is there any other way to fix my phone??
Code:
fastboot flash avb_custom_key <key_blob>
how to use this code? any specific key_blob for nokia 8 or is it supported on this phone?
help me guys ;(
Edit:
After so many tries, I went to service centre and they fixed the phone in few mins :highfive::silly:
Crazy Tweaks said:
I accidently locked the bootloader and without locking critical with custom recovery in system.
now it's saying data is corrupt and phone can't be trusted.
that unlock key url got expired and there is no way i can get that unlock key .
is there any other way to fix my phone??
Code:
fastboot flash avb_custom_key <key_blob>
how to use this code? any specific key_blob for nokia 8 or is it supported on this phone?
help me guys ;(
Edit:
After so many tries, I went to service centre and they fixed the phone in few mins :highfive::silly:
Click to expand...
Click to collapse
I have the same problem right now. May i ask how they fixed it and what did you tell them ?
---------- Post added at 03:31 PM ---------- Previous post was at 03:27 PM ----------
CommieTurtle said:
I have the same problem right now. May i ask how they fixed it and what did you tell them ?
Click to expand...
Click to collapse
Did they fix it for free since bootloader is locked? I'm going to service centre in few hours
CommieTurtle said:
I accidently locked the bootloader and without locking critical with custom recovery in system.
now it's saying data is corrupt and phone can't be trusted.
that unlock key url got expired and there is no way i can get that unlock key .
is there any other way to fix my phone??
I have the same problem right now. May i ask how they fixed it and what did you tell them ?
---------- Post added at 03:31 PM ---------- Previous post was at 03:27 PM ----------
Did they fix it for free since bootloader is locked? I'm going to service centre in few hours
Click to expand...
Click to collapse
Well it wasn't in warranty xD so just asked me this and boom it was not free after that but well yeah it doesn't matter if it's locked or unlocked lol as long as they are getting paid, they'll do it hahahha
Crazy Tweaks said:
Well it wasn't in warranty xD so just asked me this and boom it was not free after that but well yeah it doesn't matter if it's locked or unlocked lol as long as they are getting paid, they'll do it hahahha
Click to expand...
Click to collapse
lol my device was under warranty so I got it fixed for free
I can assume that, in service centers, they are able to reflash the entire firmware including the (secondary) bootloader. They would probably boot the device into EDL mode, and flash it with stock firmware, with a properly signed Qualcomm EDL programmer, and use Qualcomm's QFIL tool to do this.
CommieTurtle said:
lol my device was under warranty so I got it fixed for free
Click to expand...
Click to collapse
Glad to hear that

(Q) Query about bootloader and re-packaging an OTA

hi all,
Just having a thought (might not work but thought i'd ask)
Some OTA's / Firmwares which you can install from the bootloader have the ability to re-lock the device, would the same be possible for the other way around?
I mean i'm on a locked bootloader now cos of the crap i installed which updated me to 9.1, it relocked the bootloader, I can turn on OEM unlocking (FRP) but obviously it remains unlocked.
Would there be a way to repackage a firmware package so that it does the opposite to re-locking?
I think everyone has pretty much given up on Huawei devices, I was just trying to disable zRAM and i can't.
Any thoughts ? Is this a possible avenue? or is this simply not going to work?
I'd guess the latter but thought i'd ask.
Which firmware version relocked your bootloader? I can perhaps take a look at it in my free time.
dladz said:
hi all,
Just having a thought (might not work but thought i'd ask)
Some OTA's / Firmwares which you can install from the bootloader have the ability to re-lock the device, would the same be possible for the other way around?
I mean i'm on a locked bootloader now cos of the crap i installed which updated me to 9.1, it relocked the bootloader, I can turn on OEM unlocking (FRP) but obviously it remains unlocked.
Would there be a way to repackage a firmware package so that it does the opposite to re-locking?
I think everyone has pretty much given up on Huawei devices, I was just trying to disable zRAM and i can't.
Any thoughts ? Is this a possible avenue? or is this simply not going to work?
I'd guess the latter but thought i'd ask.
Click to expand...
Click to collapse
Nope, that won't work!
Aodrulez said:
Which firmware version relocked your bootloader? I can perhaps take a look at it in my free time.
Click to expand...
Click to collapse
Oh god, will have to find the bugger, 318 I think.
Pretoriano80 said:
Nope, that won't work!
Click to expand...
Click to collapse
There's no service firmware we could flash they would unlock it?
dladz said:
There's no service firmware we could flash they would unlock it?
Click to expand...
Click to collapse
Nope! DLOAD re-lock bootloader to factory condition, but there's no way to unlock the bootloader with it.
I don't think Huawei will give you the unlock code a second time, but maybe you will be lucky, who knows.
Maybe you can retrieve it from an email from them!?
Edit: You can download your HuaweiID data from Settings - > HuaweiID - > Privacy Center but i doubt you will get the bootloader code from there
Pretoriano80 said:
Nope! DLOAD re-lock bootloader to factory condition, but there's no way to unlock the bootloader with it.
I don't think Huawei will give you the unlock code a second time, but maybe you will be lucky, who knows.
Maybe you can retrieve it from an email from them!?
Edit: You can download your HuaweiID data from Settings - > HuaweiID - > Privacy Center but i doubt you will get the bootloader code from there
Click to expand...
Click to collapse
I've spoke with them, they said they've not heard of a situation like this.
Bare in mind that this is information that has been passed to me before. Which is a correspondence, they are obligated to provide it regardless.
I don't believe it was in an email and I've checked all accounts
Thanks for sharing this topic
Thanks for sharing your experiences.

Categories

Resources