Related
Hi,
I have an LG Nexus 5 (KTU84P, or "hammerhead") running Android KitKat 4.4.4. It is rooted using Chainfire's AutoRoot for the Nexus 5 for Android 4.4.4, and I have no custom ROM, simply Vanilla Android but with SuperSU. I am looking to update to Android L, version 5, and I have received a notification for the OTA update.
I understand that with OTA updates, your data will not be wiped, but you will lose root access. I have researched ways to keep the root, but they only appear to be for older versions of Android. I understand that I will lose root.
My question is, will I have to run the "oem unlock" (which I understand is the part of the whole rooting process which actually wipes your device), or will I just have to load Chainfire's AutoRoot? If I go through with it, I will use his AutoRoot for hammerhead for Android L, but basically my end goal is to root and update and not lose any data.
Thanks, if you need more info, let me know?
Autoroot will not wipe your data if your bootloader is already unlocked. Only if your bootloader was locked to begin with.
Nope. Once unlocked it stays unlocked unless you lock it yourself
frenziedfemale said:
Autoroot will not wipe your data if your bootloader is already unlocked. Only if your bootloader was locked to begin with.
Click to expand...
Click to collapse
musclehead84 said:
Nope. Once unlocked it stays unlocked unless you lock it yourself
Click to expand...
Click to collapse
Thank you both very much!
Of course with L you can no longer get the OTA if you have custom recovery. Just incase you weren't aware
rootSU said:
Of course with L you can no longer get the OTA if you have custom recovery. Just incase you weren't aware
Click to expand...
Click to collapse
I have updated OTA, and I kept EVERYTHING, even my root apps, but when I open up SuperSU I get a notification explaining that the Su binary is not installed, which is obviously removed when updating. Now, I'm just backing up my data. Another thing I would like to confirm is, if I use Chainfire's Auto Root for the Nexus 5 running Android 5.0, will it run OEM unlock again, and if it does, will I be affected considering my bootloader is already unlocked?
AudaxNovus said:
I have updated OTA, and I kept EVERYTHING, even my root apps, but when I open up SuperSU I get a notification explaining that the Su binary is not installed, which is obviously removed when updating. Now, I'm just backing up my data. Another thing I would like to confirm is, if I use Chainfire's Auto Root for the Nexus 5 running Android 5.0, will it run OEM unlock again, and if it does, will I be affected considering my bootloader is already unlocked?
Click to expand...
Click to collapse
If its unlocked, it can't be unlocked again.
Just a little info, afaik, if you update from KK to L and had an unlocked bootloader ('oem unlock'), like I did, your bootloader will get locked again after update, as it did with me.
So that "if it was unlocked it'll stay unlocked" is not correct.
D3abL3 said:
Just a little info, afaik, if you update from KK to L and had an unlocked bootloader ('oem unlock'), like I did, your bootloader will get locked again after update, as it did with me.
So that "if it was unlocked it'll stay unlocked" is not correct.
Click to expand...
Click to collapse
Odd. Hasn't locked for anyone else afaik
D3abL3 said:
Just a little info, afaik, if you update from KK to L and had an unlocked bootloader ('oem unlock'), like I did, your bootloader will get locked again after update, as it did with me.
So that "if it was unlocked it'll stay unlocked" is not correct.
Click to expand...
Click to collapse
There's a REALLY easy way to test that theory.
Open the factory image archives and check the script. Unless it runs 'fastboot oem lock' it isn't relocking it.
#stayparanoid
Don't you think this makes the trick?
"fastboot flash bootloader bootloader-hammerhead-hhz12d.img"
Is there any way to completely reset your Honor 8?
I unlocked bootloader with code from huawei, rooted, twrp etc.
Is there any way to completely restore it to factory default?
I tried unrooting it and locked the bootloader using the tool here on the forum. But the warning is still there when you booted, that its been tampered with and is unsafe etc.
Is there no way to completely factory reset it, like it was when it was new?
nivity said:
Is there any way to completely reset your Honor 8?
I unlocked bootloader with code from huawei, rooted, twrp etc.
Is there any way to completely restore it to factory default?
I tried unrooting it and locked the bootloader using the tool here on the forum. But the warning is still there when you booted, that its been tampered with and is unsafe etc.
Is there no way to completely factory reset it, like it was when it was new?
Click to expand...
Click to collapse
I would also like to know the answer. I flashed stock and am now unrooted with stock recovery but still have unlocked bootloader warning screen on start. Tried to relock bootloader with serveral different fastboot commands, no luck!
redeyss said:
I would also like to know the answer. I flashed stock and am now unrooted with stock recovery but still have unlocked bootloader warning screen on start. Tried to relock bootloader with serveral different fastboot commands, no luck!
Click to expand...
Click to collapse
If u have L09 u should flash stock recovery and then flash stock full firmware B101 and the bootloader should be locked and warning should be gone.
I guess there is an internal counter that is tripped when bootloader is unlocked. Like Samsung's Knox.
I have L04, after updating manually root was wiped and stock recovery installed but was still getting bootloader warning. I booted into stock "erecovery" by holding volume up while booting. From there i restored stock firmware and when rebooted warning was gone. So I am now stock without unlocked warning on boot, YAY!
I unlocked my bootloader and then installed the B131 full update. Afterwards my bootloader was locked again and i had it to unlock again.
-> If you want to completely reset, install a full update and do a factory reset
@whiper: after the bootloader was locked and you unlock again, did the phone a factory reset?
Palindrom87 said:
@whiper: after the bootloader was locked and you unlock again, did the phone a factory reset?
Click to expand...
Click to collapse
Yes. The unlocking process was the same after the update as before including factory reset.
I think the B131 update includes all partitions so that the unlock flag is overwritten.
After the update all was normal, no data wipe, but bootloader locked. I had to unlock it again and all data was wiped.
When i do the next update i will try an ota version.
(With my Honor 7 i did a full update which does not lock the bootloader, so i think it depends from the partitions the update contains)
Guys, just to make it clear. I have a L04 model. i am bootloader unlocked, rooted and have TWRP installed. Is it possible to relock and go back to stock, but simply flashing the stock L04 firmware? Does Honor 8 have some inbuilt trip to notify that the bootloader is unlocked?
SpidySun said:
Guys, just to make it clear. I have a L04 model. i am bootloader unlocked, rooted and have TWRP installed. Is it possible to relock and go back to stock, but simply flashing the stock L04 firmware? Does Honor 8 have some inbuilt trip to notify that the bootloader is unlocked?
Click to expand...
Click to collapse
Yes. Just flash the whole firmware using fastboot.
Sent from my honor 5X using XDA Labs
Hello there,
About year ago I've done an update to 6.0 android. Battery was charged near full and everything seemed okey. But, after update I faced a bootloop. So I tried to flash stock firmware and... failed. Many times. I'm unable to boot into recovery mode. Factory mode also isnt working. So, I tried to unlock my bootloader and flash another image, but when I try to unlock, I get a: "Check allow oem unlock in developer options". Sadly, I cant boot to check this option Is there any way to unlock oem without running android? What can I do? :crying:
Jaszka said:
Hello there,
About year ago I've done an update to 6.0 android. Battery was charged near full and everything seemed okey. But, after update I faced a bootloop. So I tried to flash stock firmware and... failed. Many times. I'm unable to boot into recovery mode. Factory mode also isnt working. So, I tried to unlock my bootloader and flash another image, but when I try to unlock, I get a: "Check allow oem unlock in developer options". Sadly, I cant boot to check this option Is there any way to unlock oem without running android? What can I do? :crying:
Click to expand...
Click to collapse
You can flash the /persist partition from a device which has had OEM Unlock previously enabled in Developer Options.
MotoJunkie01 said:
You can flash the /persist partition from a device which has had OEM Unlock previously enabled in Developer Options.
Click to expand...
Click to collapse
How can you flash the /persist partition in a device with a locked bootloader? Doesn't this contain other information as well?
I think the real problem here is either the OP is not using the correct factory firmware image, or incorrect user procedure.
acejavelin said:
How can you flash the /persist partition in a device with a locked bootloader? Doesn't this contain other information as well?
I think the real problem here is either the OP is not using the correct factory firmware image, or incorrect user procedure.
Click to expand...
Click to collapse
You are probably correct. Even with a locked bootloader, certain partitions can be flashed as long as downgrading is not detected. Example, if I have an xt1548 Moto G3 running on stock 5.1.1 firmware, and I have a locked bootloader, I can flash either an updated 6.0.1 stock firmware package or I can reflash the 5.1.1 firmware with the same build as the one already installed. The bootloader will, however, prevent downgrading. In flashing the /persist partition, the .img being flashed would need to be from an equal or newer build as well.
But again, your statement regarding the correct firmware procedure and/or correct firmware package is likely correct.
MotoJunkie01 said:
You are probably correct. Even with a locked bootloader, certain partitions can be flashed as long as downgrading is not detected. Example, if I have an xt1548 Moto G3 running on stock 5.1.1 firmware, and I have a locked bootloader, I can flash either an updated 6.0.1 stock firmware package or I can reflash the 5.1.1 firmware with the same build as the one already installed. The bootloader will, however, prevent downgrading. In flashing the /persist partition, the .img being flashed would need to be from an equal or newer build as well.
But again, your statement regarding the correct firmware procedure and/or correct firmware package is likely correct.
Click to expand...
Click to collapse
You can't flash anything except a bootloader. I was in this situation as MotoJunkie knows and nothing works. I did have a full backup of every partition on the phone and none flashed. Today I bricked it so badly that it doesn't even turn on anymore. My tip is to not mess with the bootloader and stuff and just use the phone normally as many things are encrypted on this phone.
purplefruity said:
You can't flash anything except a bootloader. I was in this situation as MotoJunkie knows and nothing works. I did have a full backup of every partition on the phone and none flashed. Today I bricked it so badly that it doesn't even turn on anymore. My tip is to not mess with the bootloader and stuff and just use the phone normally as many things are encrypted on this phone.
Click to expand...
Click to collapse
Yes I recall your situation and your hard brick. I'm saying that under normal circumstances you can flash full firmware packages with a locked bootloader, as long as downgrading is not attempted.
MotoJunkie01 said:
Yes I recall your situation and your hard brick. I'm saying that under normal circumstances you can flash full firmware packages with a locked bootloader, as long as downgrading is not attempted.
Click to expand...
Click to collapse
You can't flash regular ones too. It has to be a newer firmware for the locked bootloader to let it pass
purplefruity said:
You can't flash regular ones too. It has to be a newer firmware for the locked bootloader to let it pass
Click to expand...
Click to collapse
That's what I was saying. An equal or newer one. Downgrading isn't permitted.
MotoJunkie01 said:
That's what I was saying. An equal or newer one. Downgrading isn't permitted.
Click to expand...
Click to collapse
Mine was on marshmallow and it wouldn't want to flash marshmallow stock so what I was saying is that you can't go anywhere unless stock nougat is released for this device.
purplefruity said:
Mine was on marshmallow and it wouldn't want to flash marshmallow stock so what I was saying is that you can't go anywhere unless stock nougat is released for this device.
Click to expand...
Click to collapse
You obviously developed corrupt partitions some way or another. I flash stock firmware packages with a locked bootloader on a regular basis. You should always be able to flash the same firmware build that is currently installed on your device.
MotoJunkie01 said:
You obviously developed corrupt partitions some way or another. I flash stock firmware packages with a locked bootloader on a regular basis. You should always be able to flash the same firmware build that is currently installed on your device.
Click to expand...
Click to collapse
O well I guess my device was different then. Won't turn on at all now . Gonna sell it for parts so at least I get some money back.
Hello all!
I attempted to flash a ROM and failed miserably. Luckily, I managed to get the phone back to the stock ROM. However, the bootloader is still unlocked, and I would like to change that. Ideally, I would like to put the phone exactly how it was when I first bought it; eg. locked bootloader, no root, no custom recovery, etc. Or as close to it as possible.
Is this possible? If so, how can I achieve this?
The model number is : MHA-L29
The build number is : MHA-L29 C567 B190
fastboot oem lock? Or a similar command?
If you want locked bootloader, you have to reflash your phone using this link. Don't forget to make a backup, because it'll delete all your user data.
okey..
I used fastboot oem relock [password used for unlocking bootloader] and it worked without issue. Just be warned that on the Mate 9, locking the bootloader caused mine to factory reset.
aindow said:
I used fastboot oem relock [password used for unlocking bootloader] and it worked without issue. Just be warned that on the Mate 9, locking the bootloader caused mine to factory reset.
Click to expand...
Click to collapse
well done that man! exactly what i needed
Hi, is It possible to relock bootloader for to have warranty back?
Thanks
once you flash the stock img, it will be locked again.
Till Nougat, we had dload method which locks it fully (other method for unlocking it would just re-lock it)
shashank1320 said:
once you flash the stock img, it will be locked again.
Till Nougat, we had dload method which locks it fully (other method for unlocking it would just re-lock it)
Click to expand...
Click to collapse
Hey, i am in the same situation and after flashing the stock rom + stock recovery my bootloader is still unlocked, and i still get that "This device has been unlocked and can't be trusted" screen on boot.
Is there any way to manually lock the bootloader?
Edit: i found this SRKTool and i was able to easily relock the bootloader. You need the Unlock code though and it resets your phone, so backup your data.
https://forum.xda-developers.com/mate-8/development/tool-srk-tool-huawei-t3369797 @alboz83
Arrandale said:
Hey, i am in the same situation and after flashing the stock rom + stock recovery my bootloader is still unlocked, and i still get that "This device has been unlocked and can't be trusted" screen on boot.
Is there any way to manually lock the bootloader?
Edit: i found this SRKTool and i was able to easily relock the bootloader. You need the Unlock code though and it resets your phone, so backup your data.
https://forum.xda-developers.com/mate-8/development/[email protected]
Click to expand...
Click to collapse
Yes it will only relock the bootloader but not lock. Anyone experienced with this can get this that you had unlocked your bootloader earlier
Arrandale said:
Hey, i am in the same situation and after flashing the stock rom + stock recovery my bootloader is still unlocked, and i still get that "This device has been unlocked and can't be trusted" screen on boot.
Is there any way to manually lock the bootloader?
Edit: i found this SRKTool and i was able to easily relock the bootloader. You need the Unlock code though and it resets your phone, so backup your data.
https://forum.xda-developers.com/mate-8/development/tool-srk-tool-huawei-t3369797 @alboz83
Click to expand...
Click to collapse
I relocked yesterday bootloader and my relocated easily. I can not find the update of stock firmware. Once found update. I clicked on update, update failed. I have not got the update since then. So I did relock. Very easy to relock. But my mobile update is not happening. Please give me some help
Sent from my [device_name] using XDA-Developers Legacy app
shashank1320 said:
once you flash the stock img, it will be locked again.
Till Nougat, we had dload method which locks it fully (other method for unlocking it would just re-lock it)
Click to expand...
Click to collapse
Many people say that if we flash stock rom the bootloader stay unlock. Or i have to flash in a particular mode?
With the tool i can relock but not lock, right?
alboz83 said:
Many people say that if we flash stock rom the bootloader stay unlock. Or i have to flash in a particular mode?
With the tool i can relock but not lock, right?
Click to expand...
Click to collapse
Yup
i Read somewhere that if u flash the stock rom using dload after u have relocked the bootloader, the bootloader status will change from relock to locked. does this work? can anyone try and confirm this? i want to make sure of this before i unlock. I would be greatful forever.
Thanks
Anzee said:
i Read somewhere that if u flash the stock rom using dload after u have relocked the bootloader, the bootloader status will change from relock to locked. does this work? can anyone try and confirm this? i want to make sure of this before i unlock. I would be greatful forever.
Thanks
Click to expand...
Click to collapse
Have tried to this more than 100 times and it works fine. It will be locked BL rather than relock
shashank1320 said:
Have tried to this more than 100 times and it works fine. It will be locked BL rather than relock
Click to expand...
Click to collapse
If u flash stock?
Thank you thank you thank you you're a life saver ♥
Anzee said:
If u flash stock?
Thank you thank you thank you you're a life saver ♥
Click to expand...
Click to collapse
Yes. Did you solve the BL state?
shashank1320 said:
Yes. Did you solve the BL state?
Click to expand...
Click to collapse
No I haven't even unlocked the bl yet. I just wanted to make sure it the relock to lock state was possible before I unlock. I will do so soon when I get some time.
Anzee said:
No I haven't even unlocked the bl yet. I just wanted to make sure it the relock to lock state was possible before I unlock. I will do so soon when I get some time.
Click to expand...
Click to collapse
Yes you can always do via full ota or flashing the stock firmware via dload. Not hard to do to retain warranty:silly:
shashank1320 said:
Have tried to this more than 100 times and it works fine. It will be locked BL rather than relock
Click to expand...
Click to collapse
But dload method not work only for a single update.app file? With view 10 there are 3 files
alboz83 said:
But dload method not work only for a single update.app file? With view 10 there are 3 files
Click to expand...
Click to collapse
Use the first file, update.zip. it will contain a update.app file around 3 GB. Can use this single file.
shashank1320 said:
Use the first file, update.zip. it will contain a update.app file around 3 GB. Can use this single file.
Click to expand...
Click to collapse
Really? And I have to install over the same firmware, not an update? For example, now I'm on 162 build with unlock bootloader. If I install only update.zip of 162 build with dload method, I obtain the lock bootloader?
alboz83 said:
Really? And I have to install over the same firmware, not an update? For example, now I'm on 162 build with unlock bootloader. If I install only update.zip of 162 build with dload method, I obtain the lock bootloader?
Click to expand...
Click to collapse
Yes.
hello all guys!
i have honor 10 (now col-l29)
before rebranding (col-tl10)
may i relock the BL safety?? i have official rom
ecsalos said:
hello all guys!
i have honor 10 (now col-l29)
before rebranding (col-tl10)
may i relock the BL safety?? i have official rom
Click to expand...
Click to collapse
Why you want to relock, to gain warranty?
If so, better dload the current firmware and it will lock it safely.
because, i dont want to see everytime when i reboot my phone,this stupid message, who tells me that i have unlock bl...
i have 8.1.0.151 (c432)
i was downloaded this version when im trying to rebranding.. for official site..
if i relock with this version, the worse scenario it will be...??? brick???
if i dload the current firmware, i will install it with TWRP again? and after it will be locked safety?
and what firmware i must to dload?