Help with unlocking boot loader - Nexus 6P Q&A, Help & Troubleshooting

Hello everyone,
So I got my Nexus 6p a few days ago and I finally decided to unlock the bootloader.
My issue is that
Code:
fastboot oem unlock
or
Code:
fastboot flashing unlock
is not working for me.
I just installed the latest SDK tools today so that can't be the issue. I also have the OEM unlocking option checked in developer options.
All the other commands seem to to work.
Not sure what to do here. Is there a new command?
Thanks for any help.
UPDATE: The issue was solved by running terminal in the platform tools folder and running commands locally.

ICStevenC. said:
UPDATE: The issue was solved by running terminal in the platform tools folder and running commands locally.
Click to expand...
Click to collapse
Glad you got it unlocked. Just FYI.... Almost any question along these lines is extremely well covered in @Heisenberg guide that is sticky at the stop of the General section.

Related

[How to] Unlock the Nexus 9 Bootloader and Root

Hey everyone, made a tutorial showing how to unlock the bootloader on your Nexus 9! I'll make rooting videos and more soon enough.
Hope they help.
How to unlock the bootloader:
https://www.youtube.com/watch?v=AJEORWbf658
How to root the Nexus 9:
http://youtu.be/5jwoPx5mB7Y
Unboxing and hands on:
https://www.youtube.com/watch?v=8K5WAmwRH7o
Doing it as soon as i get home .
That's the first nexus device I've seen that doesn't use Google's bootloader, very interesting!
Sent from my Nexus 10 using Tapatalk
Good news: You can unlock the bootloader under the development tab in settings. http://www.androidpolice.com/2014/1...-6-9-requires-checking-box-developer-options/
lary50 said:
Good news: You can unlock the bootloader under the development tab in settings. http://www.androidpolice.com/2014/1...-6-9-requires-checking-box-developer-options/
Click to expand...
Click to collapse
Thanks for that, I kept getting permission denied. All is well now ?
I wonder what HTC means when they say ,"this *may* void your warranty" when unlocking the bootloader. Did the all the other nexus devices say that in the bootloader before they were unlocked?
Deltadroid said:
Did the all the other nexus devices say that in the bootloader before they were unlocked?
Click to expand...
Click to collapse
My nexus 4 did.
I guess it's fine as long as it's not being permanently marked with some bit set somewhere so their service department can see. The device can be locked again.
pantmunu said:
Doing it as soon as i get home .
Click to expand...
Click to collapse
same there but them i get it i will
Edit: no need to set up adb or fastboot
i have ubuntu haha
Deltadroid said:
I wonder what HTC means when they say ,"this *may* void your warranty" when unlocking the bootloader. Did the all the other nexus devices say that in the bootloader before they were unlocked?
Click to expand...
Click to collapse
They did. Although you can just type fastboot oem lock and it should relock the bootloader without wiping any data.
Will wait till root is available to unlock it
mk92595 said:
Will wait till root is available to unlock it
Click to expand...
Click to collapse
No way. Unlocking wipes the device, but rooting doesnt. I plan to unlock mine the second I get it. That way I can start loading data and stuff onto it and start using it. Then, when root is available, I don't have to wipe my data at that point to do it becuase I was already proactive about unlocking the bootloader.
qbking77 said:
Hey everyone, made a tutorial showing how to unlock the bootloader on your Nexus 9! I'll make rooting videos and more soon enough.
Hope they help.
How to unlock the bootloader:
https://www.youtube.com/watch?v=AJEORWbf658
Unboxing and hands on:
https://www.youtube.com/watch?v=8K5WAmwRH7o
Click to expand...
Click to collapse
Hey great tutorial!
I got 1 problem.
I installed the latest android the latest sdk of android on my pc.
Followed the tutorial from you to setup adb. although its from 2011
and when i tried to do: 'adb devices' nothing happened.
The list stayed empty and my nexus 9 didn't have a pop up.
I had the nexus 9 unlocked with the screen on.
berendspruijt said:
Hey great tutorial!
I got 1 problem.
I installed the latest android the latest sdk of android on my pc.
Followed the tutorial from you to setup adb. although its from 2011
and when i tried to do: 'adb devices' nothing happened.
The list stayed empty and my nexus 9 didn't have a pop up.
I had the nexus 9 unlocked with the screen on.
Click to expand...
Click to collapse
Same there win 8
But I unlocked it
On Ubuntu
berendspruijt said:
Hey great tutorial!
I got 1 problem.
I installed the latest android the latest sdk of android on my pc.
Followed the tutorial from you to setup adb. although its from 2011
and when i tried to do: 'adb devices' nothing happened.
The list stayed empty and my nexus 9 didn't have a pop up.
I had the nexus 9 unlocked with the screen on.
Click to expand...
Click to collapse
If you're on Windows, it could be a driver problem. You can check on it in Windows device manager. If you need to install the driver, Open the Android SDK manager and make sure the USB driver is installed, and install any available updates. If that doesn't work, you can find the Google nexus USB driver by itself and install it using the windows device manager. You can search for the relevant step by step guides here on the forum or elsewhere online.
mrkvchm said:
No way. Unlocking wipes the device, but rooting doesnt. I plan to unlock mine the second I get it. That way I can start loading data and stuff onto it and start using it. Then, when root is available, I don't have to wipe my data at that point to do it becuase I was already proactive about unlocking the bootloader.
Click to expand...
Click to collapse
I already installed everything I need. also with ADB you can backup apps easily.
mk92595 said:
I already installed everything I need. also with ADB you can backup apps easily.
Click to expand...
Click to collapse
But you'll have to reinstall everything when you unlock the bootloader. I know its not hard to do with ADB, but I don't understand why you'd bother backing up and restoring everything when you can just unlock the bootloader right away and save yourself from wiping to root once you're already established on the device. Well, to each his own I guess.
If i unlock my nexus9 do i still get android OTA's?
hill67 said:
If i unlock my nexus9 do i still get android OTA's?
Click to expand...
Click to collapse
Yes
mrkvchm said:
But you'll have to reinstall everything when you unlock the bootloader. I know its not hard to do with ADB, but I don't understand why you'd bother backing up and restoring everything when you can just unlock the bootloader right away and save yourself from wiping to root once you're already established on the device. Well, to each his own I guess.
Click to expand...
Click to collapse
I already have my Nexus 9. Everything is already installed.

OEM Unlock?

Hi all,
I don't have this phone yet, but was wondering if the bootloader can be unlocked. If it can then it will be possible to root.
Here is a simple guide, if there is anyone here that would like to try. No software required.
http://techbeasts.com/how-to-enable-oem-unlock-on-android-nougat/
If OEM Unlock shows up in the developers options menu.. good news!! If OEM Unlock doesn't show up, then there is no way to unlock the bootloader.
Please let me know if your phone is the Amazon Prime version. The Prime version may be locked down.
Thanks for any replies!
Prime version is indeed locked down. Also, at any point that you change anything on the phone to do anything with the software, Amazon will not provide you updates again.
I was able to unlock developer options in my Amazon version but now what? I'm assuming that the bootloader is now unlocked and theoretically, I should be able to flash a new rom? Problem is, does one exist? Cheers.
Just an FYI that my Prime Version did allow me to activate Developer Options/OEM Unlocking. Next step is trying to find a rom or even flash it to regular factory default. That I have not found yet.
Quick question SDACymru - I'm getting this phone in a few days... how did you perform the OEM unlock in dev options?
The normal way. Just tapping on the option for 5 or 6 times.
SDACymru said:
The normal way. Just tapping on the option for 5 or 6 times.
Click to expand...
Click to collapse
Thanks. Is there a reason we shouldn't be able to restore from a backup of a non-ads phone stock image and at least get that running on ad-based versions? From my understanding they are exactly the same hardware-wise, so should be possible...
Being able to expose "Developer option" and access to "OEM unlock" still don't make this is developer-friendly device, but I quite surprised that the Amazon Prime version even show the "OEM unlock" in the "Developer option". Anyway, it is close, if you can also perform the last 2 steps, then this device can be considered as developer-friendly.
The next 2 steps are:
- Reboot into fastboot
- fastboot oem unlock (from adb console)
Some devices with full fastboot implementation can check the device lock state by
- fastboot getvar all
If all these commands work, then the device will have good developer support. In addition, if all these commands work on the Amazon Prime version, then it is a piece of cake to remove the Amazon ads.
did anyone every try any of this? ADB Shell temp root has been achieved on this model, I have the temp root xploit but it's useless unless people know what they are doing with it. You can easily brick your phone. I don't physically have this phone but what I do have is a little knowledge, access to the stock rom and a way to flash it. I also know that the recovery can be swapped with TWRP during that flash process. Hit me up on Telegram: https://t.me/PizzaG
So being that I have actually gained temp root access (all credit to PizzaG, he knows his stuff)
Should I go ahead and give the fastboot steps a go? Would the persdata\nvdata remove the temp root access with a reboot or am I way off course?
Any input appreciated
Sent from my Alcatel 6060C using XDA Labs
DelRi0 said:
So being that I have actually gained temp root access (all credit to PizzaG, he knows his stuff)
Should I go ahead and give the fastboot steps a go? Would the persdata\nvdata remove the temp root access with a reboot or am I way off course?
Any input appreciated
Sent from my Alcatel 6060C using XDA Labs
Click to expand...
Click to collapse
Just rebooting you will lose temp root access. all you have to do is run the commands again any time you want adb shell temp root.
Please check out my new thread in the idol 5 forum. I have some things and ideas brewing
Magisk working
Thanks to the Mtk Easy Su app I have magisk working without flashing anything. How do ya get to fastboot on this thing? Recovery sucks, factory mode is pointless, so where's the good boot mode 99?
My guide to unlock bootloader and install twrp recovery.
https://androidforums.com/threads/6060c-bootloader-unlock.1327876/

trouble unlocking tmobile bootloader

I SIM unlocked my T-Mobile one plus 6t and went to OnpePlus website and followed the directions to get my T-Mobile unlock code but when I put my phone in bootloader mode and executed fastboot command it's stuck on waiting on device. The phone says device is locked on bootloader screen.
Follow this guide and you should be fine you are likely missing drivers or something simple
https://forum.xda-developers.com/oneplus-6t/how-to/guide-oneplus-6t-unlock-bootloader-t3851789
bladestonez said:
Follow this guide and you should be fine you are likely missing drivers or something simple
https://forum.xda-developers.com/oneplus-6t/how-to/guide-oneplus-6t-unlock-bootloader-t3851789
Click to expand...
Click to collapse
Thank you, I will try updating my adb and fast boot drivers and see if that works. Adb worked fine as it listed my device.
bladestonez said:
Follow this guide and you should be fine you are likely missing drivers or something simple
https://forum.xda-developers.com/oneplus-6t/how-to/guide-oneplus-6t-unlock-bootloader-t3851789
Click to expand...
Click to collapse
Hey I just want to give you a big THANKS! I updated my adb and fasboot drivers and binary and sent in my OEM unlock code. I know there is other ways to switch it to the international version but I'm playing it safe. Again thank you
spasecowboi77 said:
Hey I just want to give you a big THANKS! I updated my adb and fasboot drivers and binary and sent in my OEM unlock code. I know there is other ways to switch it to the international version but I'm playing it safe. Again thank you
Click to expand...
Click to collapse
Not a problem happy to help.

Trying to Root a Moto e4, stuck on unlocking the Bootloader

Hello all! First post here so if I out this in the wrong section, or do the pst wrong, then feel free to correct me.
I am trying to root my old phone, which is a Moto e4. I tried rooting with mutiple sources (Using a computer) but all of them failed. I concluded through google searches that one reason this may be happening is because the bootloader is still locked, so I started on that.
I got to the command promt, and can locate and identify the device, but when I run the command to unlock the bootloader and get the code for the motorola website, (fastboot oem unlock, and some variations of this command, all the same result.) When I do this, I get the results that I should get, but where the code should be, it says not found. I have my OEM unclokcing checked in Deve settings, and USB debugging is on as well. I am at school right now, so unfornatly I cannot give information on the model number, or anything like that, but I can respond to questions when I can. If I don't even need to unlock the bootloader on the moto e4 to root, then all the better, but I am fine with going through the trouble of unlokcing the bootloader!
Thanks,
Eriith
Eriith said:
Hello all! First post here so if I out this in the wrong section, or do the pst wrong, then feel free to correct me.
I am trying to root my old phone, which is a Moto e4. I tried rooting with mutiple sources (Using a computer) but all of them failed. I concluded through google searches that one reason this may be happening is because the bootloader is still locked, so I started on that.
I got to the command promt, and can locate and identify the device, but when I run the command to unlock the bootloader and get the code for the motorola website, (fastboot oem unlock, and some variations of this command, all the same result.) When I do this, I get the results that I should get, but where the code should be, it says not found. I have my OEM unclokcing checked in Deve settings, and USB debugging is on as well. I am at school right now, so unfornatly I cannot give information on the model number, or anything like that, but I can respond to questions when I can. If I don't even need to unlock the bootloader on the moto e4 to root, then all the better, but I am fine with going through the trouble of unlokcing the bootloader!
Thanks,
Eriith
Click to expand...
Click to collapse
yes bootloader needs to be unlocked.
It could be a usb driver issue
See moto driver link in my
Motorola Flashing Guide
https://forum.xda-developers.com/general/rooting-roms/guide-flashing-motorola-firmware-t4042039
Sent from my mata using XDA Labs
sd_shadow said:
yes bootloader needs to be unlocked.
It could be a usb driver issue
See moto driver link in my
Motorola Flashing Guide
https://forum.xda-developers.com/general/rooting-roms/guide-flashing-motorola-firmware-t4042039
Sent from my mata using XDA Labs
Click to expand...
Click to collapse
In between the time you responded and now, I have ublcoked the bootloader, and got TWRP to work, not I just need to install Magisk and start the root! Thank you for responding though.

Question Bootloader unlocking

Is anyone tried to unlock bootloader of there nothing phone 1
hasnainali2404 said:
Is anyone tried to unlock bootloader of there nothing phone 1
Click to expand...
Click to collapse
I can't wait to get my hands on the device.
Think you can unlock the bootloader with fastboot/adb (same as with Nexus/Pixel/Oneplus-devices) no?
Hey!
After enabling OEM Unlock in the developer options, the commands to unlock it are:
fastboot flashing unlock
fastboot flashing unlock_critical
Hope this helps.
What about relocking?
Krullendhaar said:
What about relocking?
Click to expand...
Click to collapse
same commands, just change "unlock" with "lock" ^^.
I like old OnePlus brand/Carl Pei for that, Root Friendly
No Knox, No 169 hours Waiting Period or Forbidden Unloack Bootloader.
It's premature to say whether this will be possible or not, as the Phone(1) was released only 5 days ago.
But knowing Carl, I think that everything will be allowed on this smartphone so that it can be used by many people.
It will be a while before we have a custom recovery and therefore can develop around the Phone(1).
But the kernel is already available for developers which is a good sign.
Post with link for Phone(1) Kernel
@gigantino said:
Hey!
After enabling OEM Unlock in the developer options, the commands to unlock it are:
fastboot flashing unlock
fastboot flashing unlock_critical
Hope this helps.
Click to expand...
Click to collapse
Thanks man, definitely helps
Sib64 said:
It's premature to say whether this will be possible or not, as the Phone(1) was released only 5 days ago.
But knowing Carl, I think that everything will be allowed on this smartphone so that it can be used by many people.
It will be a while before we have a custom recovery and therefore can develop around the Phone(1).
But the kernel is already available for developers which is a good sign.
Post with link for Phone(1) Kernel
Click to expand...
Click to collapse
if you're a developer ,know this, I love you guys for the stuff you domake us proud
Does unlocking bootloader wipe my data? If yes, is there a way to circumvent this?
abrattic said:
Does unlocking bootloader wipe my data? If yes, is there a way to circumvent this?
Click to expand...
Click to collapse
Yes!! No!!
abrattic said:
Does unlocking bootloader wipe my data? If yes, is there a way to circumvent this?
Click to expand...
Click to collapse
Yes! Unlocking your phone will always wipe your data!
And No! if you want to unlock your phone, there is no way around the data wipe at the moment
Is it able to retain L1 status after unlock?
After unlocking (without root, unmodified partitions):
I still have L1 wildvine ("DRM Info").
Safetynet CTS profile match fails.
I'm missing play protect certification.
I can still apply OTAs. (just did 1.1.0 -> 1.1.2)
dedors said:
After unlocking (without root, unmodified partitions):
I still have L1 wildvine ("DRM Info").
Safetynet CTS profile match fails.
I'm missing play protect certification.
I can still apply OTAs. (just did 1.1.0 -> 1.1.2)
Click to expand...
Click to collapse
You need to install Magisk (and also root your device) in order to install Universal safetynet fix module and ofc actually pass safetynet. Worked fine on my device.
I have unlocked many phones but never used this command "fastboot flashing unlock_critical"
Why do we have to use that command aswell?
bariz143 said:
I have unlocked many phones but never used this command "fastboot flashing unlock_critical"
Why do we have to use that command aswell?
Click to expand...
Click to collapse
You don't need to.
bariz143 said:
I have unlocked many phones but never used this command "fastboot flashing unlock_critical"
Why do we have to use that command aswell?
Click to expand...
Click to collapse
If you have read my tuto with all the process and explanations , you would have seen this point that concerns your question:
12-Once you’re on the bootloader menu, you’ll now have to switch to using fastboot command to communicate with your device. To unlock the Nothing Phone 1’s bootloader, enter the following command: fastboot flashing unlock
In case you need to flash low-level firmware partitions like the bootloader images, you will have to execute another command afterwards: fastboot flashing unlock_critical
Click to expand...
Click to collapse
Sib64 said:
If you have read my tuto with all the process and explanations , you would have seen this point that concerns your question:
Click to expand...
Click to collapse
So as long as I flash ROMS i don't have to use that command. Only for modem.and so on.
bariz143 said:
So as long as I flash ROMS i don't have to use that command. Only for modem.and so on.
Click to expand...
Click to collapse
Since my HTC Hero, it's the 1st time that I have inserted this command

Categories

Resources