Is it possible to get Bootloader unlock code on a rooted device? - P8 Lite (2017) Discussion

Hi
I've unlocked my phones bootloader and rooted my phone. But I've lost bootloader unlock code!
Is there a way to get bootloader unlock code on a rooted phone?
I mean without dc unlocker or such a service.
Can i get the code with adb command or a rooted app or can i find it in a system file?
I'm on pra-la1 and emui 8 and my phones bootloader is unlocked and it's rooted.

Traceur017 said:
Hi
I've unlocked my phones bootloader and rooted my phone. But I've lost bootloader unlock code!
Is there a way to get bootloader unlock code on a rooted phone?
I mean without dc unlocker or such a service.
Can i get the code with adb command or a rooted app or can i find it in a system file?
I'm on pra-la1 and emui 8 and my phones bootloader is unlocked and it's rooted.
Click to expand...
Click to collapse
Have you tried this? In principle you could even enter the command "su -c ..." in a terminal directly on the phone.
https://forum.xda-developers.com/p8lite/general/alternative-method-unlocking-bootloader-t3799294

fklein said:
Have you tried this? In principle you could even enter the command "su -c ..." in a terminal directly on the phone.
https://forum.xda-developers.com/p8lite/general/alternative-method-unlocking-bootloader-t3799294
Click to expand...
Click to collapse
Hi
I've tried it but the first code didn't work. The second that someone else said somehow worked but the codes that the power shell show are like this
Uuuuu dddd
It says that permission denied and are not showing the code completely. Maybe it doesn't work on emui 8 anymore

Related

O4X Unlock relock bootloader tool

All Thanks to @Derjan23
I used Code from his post here
thanks to @OopsWare for his analysis of this code here
Disclaimer:
I am not responsible for any damage at your device!
You're running this program on your own risk!
Here's unlock Program it does the following
1-try to read odm_reserved
2-check if your bootloader unlocked or locked
3-calculate the most effective string that you have to echo to reverse bootloader state(it will relock if your Bootloader is unlocked - unlock if your Bootloader is locked
4-you can copy echo command and use it after su root in terminal
DONT BLOWN ALL FUSES WITH echo /data/local/tmp/odm_reserved >/sys/firmware/fuse/odm_reserved
by using this program you have 16 chances to unlock relock bootloader before all fuses blown
you can read how this works here
Someone tested on 262?
chrisch91 said:
Someone tested on 262?
Click to expand...
Click to collapse
the official method checks this numbers before unlock and this method unlock directly so sure it works - if you don't already know 262 234 232 even sim locked is unlocked with odm hack I only modified it to do whats really needed only - so you have other chances to relock unlock
Yes....
I love you...
lol...
This worked perfectly....
The only thing that worked for me....
Thank you.
Hey man! Can you tell me how I can relock bootloader? ;/
I don't have odm_ file in data / local /tmp
dawidex444 said:
Hey man! Can you tell me how I can relock bootloader? ;/
I don't have odm_ file in data / local /tmp
Click to expand...
Click to collapse
make sure you've jb rooted stock rom - download terminal from market
use my program to copy suitable command
open terminal type su root
then paste the copied command and you are done
future81 said:
make sure you've jb rooted stock rom - download terminal from market
use my program to copy suitable command
open terminal type su root
then paste the copied command and you are done
Click to expand...
Click to collapse
Still "Unlocked" :/
Does this method erase data or my apps? Thanks
Sent from my LG-P880 using xda app-developers app
For me its showing "Permanently Locked All Fuses Are Blown" but only unlocked one time (manual method)
But I send it to service maybe they did something to permanently lock bootloader?!?
saenta said:
For me its showing "Permanently Locked All Fuses Are Blown" but only unlocked one time (manual method)
But I send it to service maybe they did something to permanently lock bootloader?!?
Click to expand...
Click to collapse
Did you unlock and relock before sending it to service?
Sent from my LG-P880
Adam77Root said:
Did you unlock and relock before sending it to service?
Click to expand...
Click to collapse
haven't relocked it, I've send it unlocked.
did you relock bootloader?
jon_s said:
did you relock bootloader?
Click to expand...
Click to collapse
Already been answered, what was the point of this post?
SimonTS said:
Already been answered, what was the point of this post?
Click to expand...
Click to collapse
Quote:
Originally Posted by future81 View Post
make sure you've jb rooted stock rom - download terminal from market
use my program to copy suitable command
open terminal type su root
then paste the copied command and you are done
Still "Unlocked" :/
i have no solution yet
I'm unsure on the LG's as it's my girlfriend's phone. She has stock ics. Will this unlock the bootloader for here straight as her phone is now?
Sent from my 4.2.2 Xperia S via Tapatalk
Ben36 said:
I'm unsure on the LG's as it's my girlfriend's phone. She has stock ics. Will this unlock the bootloader for here straight as her phone is now?
Sent from my 4.2.2 Xperia S via Tapatalk
Click to expand...
Click to collapse
you can only unlock phones with jellybean, ics isn't unlockable.
Flying_Bear said:
you can only unlock phones with jellybean, ics isn't unlockable.
Click to expand...
Click to collapse
Ah thanks. Is there some guide about for updating and unlocking etc. I know what I'm doing with my Xperia, totally unsure of the LG tho
Sent from my 4.2.2 Xperia S via Tapatalk
Ben36 said:
Ah thanks. Is there some guide about for updating and unlocking etc. I know what I'm doing with my Xperia, totally unsure of the LG tho
Click to expand...
Click to collapse
There's several of them, just search and read mate.
this method works if you used official bootloader unlock method or used my program to unlock - if you used the other hack method echo /data/local/tmp/odm_reserved >/sys/firmware/fuse/odm_reserved then you have no more chances to relock - anyone can't relock should check /sys/firmware/fuse/odm_reserved contents with es file explorer before and after using program
this program for LG 4X only and you should have stock JB and rooted device
saenta said:
haven't relocked it, I've send it unlocked.
Click to expand...
Click to collapse
Did they repair your phone ?
I'm just curious as I'm about to send mine in for charging problems and wondered if i should reoock it.

nexus 6 unlock codes for ADB

Accidently lock phone can only get into bootloader
status 2 locked
can't get phone to start up
need unlock string to run ADB
You cannot use adb in bootloader. If you're on 5.1 - you're screwed.
rootSU said:
You cannot use adb in bootloader. If you're on 5.1 - you're screwed.
Click to expand...
Click to collapse
If he can get into bootloader mode and OEM unlock is enabled, can't he unlock the bootloader?
fastboot oem unlock
If that results in an error you are boned and need to return the phone.
walt4861 said:
Accidently lock phone
Click to expand...
Click to collapse
How does this happen? That someone accidentally relocks their phone? I don't get it.
JulesJam said:
If he can get into bootloader mode and OEM unlock is enabled, can't he unlock the bootloader?
Click to expand...
Click to collapse
Yes, but not with adb.

Bootloader unlocked message, but bootloader status code 2 - what to do?

Hi,
I have bought a droid turbo 32GB red from ebay. It works, no problem. But I want to install custom rom.
So, the blue bootloader unlocked message is there when I start the phone. In fastboot mode device is locked, status code 2.
I have already used sunshine to unlock the bootloader again. Sunshine told me it was a success, but status code is always 2.
When I want to flash TWRP recovery via fastboot I get message (bootloader) preflash validation failed.
What can I do?
Thanks and greetings from germany.
Only one little tip, please.
Once a Droid Turbo XT1254 bootloader is unlocked, if the previous owner relocked it can not be unlocked again.
Status 2 means unlocked at one point and then relocked, yes?
I don`t know what it means...
It means someone unlocked it, relocked it, and now it cannot be unlocked again.
Polarisfff said:
Hi,
I have bought a droid turbo 32GB red from ebay. It works, no problem. But I want to install custom rom.
So, the blue bootloader unlocked message is there when I start the phone. In fastboot mode device is locked, status code 2.
I have already used sunshine to unlock the bootloader again. Sunshine told me it was a success, but status code is always 2.
When I want to flash TWRP recovery via fastboot I get message (bootloader) preflash validation failed.
What can I do?
Thanks and greetings from germany.
Click to expand...
Click to collapse
Try this I have never done it and have no idea how to the thred I grabbed this from is in this section of the forum under something like relocked bootloader bricked?? So if u need more guidance check that thread but here is the info.
Re Unlock
I did the same thing on my xt1254 this is what Beaups told me from sunshine and it worked for me. I did it from terminal emulated on the device and then was ablebto reflash twrp
Beaups (TheRootNinja Support)
Dec 29, 17:10
tested this on my device and it worked. Keep in mind we can't guarantee it will work for you and also can't guarantee it won't kill your device (but I don't see why it should). Copy paste this command, do NOT make any errors.
From a ROOT adb shell (if you don't have root you'll need to figure out how to get it, kingroot, etc):
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/sp bs=1 seek=8
It should hang for a few seconds and then you should see something like:
dd: /dev/block/platform/msm_sdcc.1/by-name/sp: No space left on device
1048569+0 records in
1048568+0 records out
1048568 bytes transferred in 7.203 secs (145573 bytes/sec)
At that point reboot to bootloader and hopefully your problem is solved. Do NOT relock that device again in the future.
--beaups
Grynch13 said:
Try this I have never done it and have no idea how to the thred I grabbed this from is in this section of the forum under something like relocked bootloader bricked?? So if u need more guidance check that thread but here is the info.
Re Unlock
I did the same thing on my xt1254 this is what Beaups told me from sunshine and it worked for me. I did it from terminal emulated on the device and then was ablebto reflash twrp
Beaups (TheRootNinja Support)
Dec 29, 17:10
tested this on my device and it worked. Keep in mind we can't guarantee it will work for you and also can't guarantee it won't kill your device (but I don't see why it should). Copy paste this command, do NOT make any errors.
From a ROOT adb shell (if you don't have root you'll need to figure out how to get it, kingroot, etc):
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/sp bs=1 seek=8
It should hang for a few seconds and then you should see something like:
dd: /dev/block/platform/msm_sdcc.1/by-name/sp: No space left on device
1048569+0 records in
1048568+0 records out
1048568 bytes transferred in 7.203 secs (145573 bytes/sec)
At that point reboot to bootloader and hopefully your problem is solved. Do NOT relock that device again in the future.
--beaups
Click to expand...
Click to collapse
Hi ok,
i will test this. Another Problem is actually that I didn`t get it rooted...
Polarisfff said:
Hi ok,
i will test this. Another Problem is actually that I didn`t get it rooted...
Click to expand...
Click to collapse
Makes sense, since your bootloader is still locked.
but "From a ROOT adb shell (if you don't have root you'll need to figure out how to get it, kingroot, etc)". So, kingroot rooted the device, but I get problems with closing apps etc...
So, I am sorry, but I dont not know how I get adb root access? Is it a terminal emulator which root king gave root access or is it a special ADB command when the phone is in fastboot mode? In fastboot mode there is also (Secure)...
puh! :-/
Polarisfff said:
but "From a ROOT adb shell (if you don't have root you'll need to figure out how to get it, kingroot, etc)". So, kingroot rooted the device, but I get problems with closing apps etc...
So, I am sorry, but I dont not know how I get adb root access? Is it a terminal emulator which root king gave root access or is it a special ADB command when the phone is in fastboot mode? In fastboot mode there is also (Secure)...
puh! :-/
Click to expand...
Click to collapse
If you can get root through king root even if its just temporary make sure all programs you can close are closed then use a terminal emulator on your phone and should be able to type in the command there I will do some more searching and see what else I can find out u may also want to go to rootninja website and ask them they could probably explain it better than me. Should have asked this first but I assume your on the latest version of lollipop if not that could be a problem and we will need to get u up to date on that first
Hi Grynch, yes, you nailed it. I will test it what you wrote. THX a lot!
Polarisfff said:
Hi Grynch, yes, you nailed it. I will test it what you wrote. THX a lot!
Click to expand...
Click to collapse
You can also use Sunshine to get root access. Just start it and follow the directions until it says that it has root access.
Grynch, your steps did work. Now I have flashed TWRP with success. Thank you all guys. You are saved my weekend!!!!!!!!!!
Great!
Polarisfff said:
Grynch, your steps did work. Now I have flashed TWRP with success. Thank you all guys. You are saved my weekend!!!!!!!!!!
Great!
Click to expand...
Click to collapse
Awesome good to know it works glad your unlocked enjoy your phone and if you haven't been there yet check out the moto maxx forum as well most of the ROMs are over there.
Grynch13 said:
Awesome good to know it works glad your unlocked enjoy your phone and if you haven't been there yet check out the moto maxx forum as well most of the ROMs are over there.
Click to expand...
Click to collapse
Was gonna link him the same tutorial.
Glad to see now three people succeed with this method.

Is there any way to unlock the Bootloader?

Hi everybody,
So I wanted to root the phone for my dad because of the low storage issue solution and saw that Huawei doesn't really support this for a time now. I saw some links and guides about DC unlocker but it looks shady. Can you guys enlight me that is it still possible or not to unlock this phone's bootloader as of today?
The model is: CHE-L11
Thanks for the help.
i tried temporary root my honor 4x (che2-l11) using kingroot just to obtain unlock code inside system file. there's unlock code inside the system file called nvme. So this is what i did :
1) after root, search Inside the folder /dev/block/platform/hi_mci.0/by-name/ look for a file called nvme
2)extract the nvme file and name it to nvme.txt so that u can read it with any text reader and find a keyword called WVLOCK and next to it is your unlock code
3) save the unlock code then i reflash stock firmware just to get rid of kingroot app(u no longer need root access after this)
4) boot into fastboot using cmd and type fastboot oem unlock [your unlock code]
5) i have successfully unlock my bootloader
after that i can freely flash twrp/root/install custom rom and do whatever i wanted.
since theres no option left (huawei stopped giving unlock code from their website) this is how i obtain unlock code.
if any of you guys knows other method on how to temporary root honor 4x let me know.
So I recently tried a method to unlock the bootloader with DCUnlocker which worked fine and installed twrp also rooted the phone. Sadly it's not free it was 4 euro to get the code but it was worked 100%.
Thanks! Taswim.Your method work.
I have Honor 4x (CHE2-L12). After unlock I can flash twrp-3.0.2-0-cherry + SuperSU-v2.82

Can't unlock bootloader

I bought a secondhand Sony XZ2 AU version. When I try to unlock the bootloader using command prompt, it'll say the command isn't allowed. When I use flashtool to unlock the bootloader, it'll give me java error.
Are you sure you have ADB installed correctly on that computer? If so, are you navigating to your ADB folder in CMD before you execute the command?
TypicalNoob said:
I bought a secondhand Sony XZ2 AU version. When I try to unlock the bootloader using command prompt, it'll say the command isn't allowed. When I use flashtool to unlock the bootloader, it'll give me java error.
Click to expand...
Click to collapse
It can be unlocked using qunlock tools. You need to pay around 30$ . I am using AU version sony xz2. I unlocked the boot loader and now using lineage os.
XDARoni said:
Are you sure you have ADB installed correctly on that computer? If so, are you navigating to your ADB folder in CMD before you execute the command?
Click to expand...
Click to collapse
I have installed ADB from XDA and Google, both don't work
Japan version usually not allowed bootloader to be unlocked.
Have you check your phone is allowed?
Go to : *#*#7378423#*#*
Then Select Service Menu, then select configuration. You'll see something like this.
If you see unlocked allowed : NO, then try this
https://forum.xda-developers.com/t/...ed-no-to-yes-is-now-finally-possible.4044091/
But prepare some money for it.
hibikase said:
Japan version usually not allowed bootloader to be unlocked.
Have you check your phone is allowed?
Go to : *#*#7378423#*#*
Then Select Service Menu, then select configuration. You'll see something like this.
If you see unlocked allowed : NO, then try this
https://forum.xda-developers.com/t/...ed-no-to-yes-is-now-finally-possible.4044091/
But prepare some money for it.
Click to expand...
Click to collapse
Have you tried unlocking bootloader using those website, and if so is it trustable?
TypicalNoob said:
Have you tried unlocking bootloader using those website, and if so is it trustable?
Click to expand...
Click to collapse
I'm not use that website. I was ask person as same with my country to buy credit for qunlock tools as mentioned up there. Then execute it by myself.

Categories

Resources