yashsingh1/xdaforums huggingface dataset:
[Nexus 6  General] V3TTOO:
It will not connect until I put in the PIN.

---------- Post added at 12:11 PM ---------- Previous post was at 12:08 PM ----------

Actually, I stand corrected. It is a PIN for the encryption to access the partition. Not actual protection in TWRP. I are shamed.
[Nexus 6  General] :
Not shamed at all. You provided needed confirmation. Look at it like that instead. And we all learned! :)
[Nexus 6  General] efrant:
I kind of figured. TWRP's ramdisk is insecure, meaning that it gives you root via ADB by default, and with root you can flash any partition you want. Which I guess brings us back to the original point: there is no advantage to having a locked bootloader when TWRP is installed, only inconveniences/disadvantages.
[Nexus 6  General] V3TTOO:
Thanks for the kind words.

Well, even thought I could boot into TWRP by canceling the screen that prompted me for the PIN, the partitions show as 0MB in size. Maybe they are locked, since you shouldn't be able to flash to a partition of 0 size....

Might have to give this a test.
[Nexus 6  General] :
What I'm having a tough time dealing with, is why so many people are running into trouble and thinking that locking the bootloader is going to help? ??? There have been so many cries for help because of soft brick where people have panicked and locked their bootloader and ended up totally bricked. Where are they getting this information?

Locking the bootloader will NOT fix a soft brick. It will NOT fix anything! I just don't get it and it leaves me frustrated as to why it keeps happening. I know that not everybody reads enough or anything at all, for that matter. I know that people use toolkits and don't know the basics, but how many times can we say it before people understand?

If you have the disposable income for a $600+ device and don't want to take the precautions needed to ensure that you do things right or can get out of a jam, then kudos to you. I am not that fortunate however, and I feel most of us aren't. It's like driving a car to the gas station. Only you don't know if it takes gasoline or diesel fuel. Just pump one of them in and maybe you'll get lucky or maybe you'll end up with an expensive repair bill.

It really is that simple.
[Nexus 6  General] cam30era:
[MENTION=5302753]Evolution_Freak[/MENTION],

I wish we could get a simple banner at the top of the N6 forum, that said, Do not attempt relocking bootloader prior to reading this >.
[Nexus 6  General] :
Right along with one that says (although it already does in a sense) do not attempt to alter your device without knowing the risks involved and how to avoid them. The problem is, that even if warnings flashed on your screen in bright red, people still wouldn't read them. Sad but true.
[Nexus 6  General] adl:
Anybody knows if this applies to Nexus 5 as well?
[Nexus 6  General] :
It has not been confirmed or otherwise noted here, if so.
[Nexus 6  General] gee2012:
Its almost the same across all nexus devices but better check it in the N5 threads to be 100% sure.

---------- Post added at 11:58 AM ---------- Previous post was at 11:40 AM ----------

@Evolution_Freak Just read your OP and besides usb debugging enabled and enable boot unlock i always booted in fastboot and typed fastboot oem unlock and that was it (besides diasbling encryption). I didn`t do the steps 2,3, 5 and 6 as you discribe or in that order and never had an issue, or maybe i was just lucky ;)
[Nexus 6  General] :
---------- Post added at 11:58 AM ---------- Previous post was at 11:40 AM ----------

[/COLOR]@Evolution_Freak Just read your OP and besides usb debugging enabled and enable boot unlock i always booted in fastboot and typed fastboot oem unlock and that was it (besides diasbling encryption). I didn`t do the steps 2 and 3 as you discribe and never had an issue, or maybe i was just lucky ;)[/QUOTE]

USB debugging could be listed as optional because it's only used for ADB to reboot to bootloader. If using button combination, it is not needed. So, you are not removing your Google account, prior to unlocking? Is that right?
[Nexus 6  General] gee2012:
USB debugging could be listed as optional because it's only used for ADB to reboot to bootloader. If using button combination, it is not needed. So, you are not removing your Google account, prior to unlocking? Is that right?[/QUOTE]

Nope, i don`t wipe my account:

- first i enable usb debugging and check for usb authorization

- then i enable oem unlocking

- reboot into bootloader/fastboot mode

- type in cmd: fastboot oem unlock and select yes in the pop-up screen on the phone and reboot or

Optional

- then in fastboot flash a boot.img that doesn`t force encryption

- flash userdata.img

- erase cache and then flash cache.img

- reboot.

Quote: USB debugging could be listed as optional because it's only used for ADB to reboot to bootloader.

Or when to use adb sideload in the (custom )recovery ;)
[Nexus 6  General] :
Nope, i don`t wipe my account:

- first i enable usb debugging and check for usb authorization

- then i enable oem unlocking

- reboot into bootloader/fastboot mode

- type in cmd: fastboot oem unlock and select yes in the pop-up screen on the phone and reboot or

Optional

- then in fastboot flash a boot.img that doesn`t force encryption

- flash userdata.img

- erase cache and then flash cache.img

- reboot.

Quote: USB debugging could be listed as optional because it's only used for ADB to reboot to bootloader.

Or when to use adb sideload in the (custom )recovery ;)[/QUOTE]

After this, upon your first boot of Android, does it ask for your Google account password to proceed?
[Nexus 6  General] gee2012:
After this, upon your first boot of Android, does it ask for your Google account password to proceed?[/QUOTE]

Not to start android, only after I added my Gmail account Mailadres

Verstuurd vanaf mijn Nexus 6 met Tapatalk
[Nexus 6  General] :
Not to start android, only after I added my Gmail account Mailadres

Verstuurd vanaf mijn Nexus 6 met Tapatalk[/QUOTE]

With stock boot IMG or modified or both?
[Nexus 6  General] gee2012:
With stock boot IMG or modified or both?[/QUOTE]

Both

Verstuurd vanaf mijn Nexus 6 met Tapatalk
[Nexus 6  General] :
OP updated, Step 2 is optional. Thanks again [MENTION=2743227]gee2012[/MENTION]
[Nexus 6  General] :
Post #2 updated with link to a guide on properly preparing the Nexus 6 for resale. Thanks [MENTION=4617969]PatimusXPrime[/MENTION]
[Nexus 6  General] cocoanut:
How i wish i've read this !! (sorry, if you heard people said this .....)

But my Nexus 9 is now in the state of limbo. Locked my bootloader after flashing 5.1.1 image before knowing it's working. So now it fall into endless loop of starting up and optimizing apps, without properly booting the OS.

Can't unlock bootloader, can't flash.

Any solution to this?:confused:
[Nexus 6  General] danarama:
Short answer, no. Send it in for warranty...unless you have a custom recovery
[Nexus 6  General] cocoanut:
:crying:

ok....
[Nexus 6  General] :
Nexus 9? Use this fastboot command:

fastboot oem verified

See this post:

http://xdaforums.com/showpost.php?p=60594210&postcount=267
[Nexus 6  General] cocoanut:
still doesn't work for my case, perhaps my image wasn't properly flashed, so it couldn't be restored.

thanks nevertheless, at least i learned the "fastboot oem verified" command
[Nexus 6  General] hendo25:
Hi,

I followed all of the instructions, and think I've locked the device successfully.

Cmd tool says Lock completed, and bootloader says Device is LOCKED.

However - it didn't automatically reboot like I was expecting. So right now I'm looking at the bootloader. The allow OEM unlocking was definitely on when I booted into bootloader, but I'm still concerned to select Start in case I get stuck in the much discussed bootloop.

Can any one advise? Or has anyone else experienced this?

Thanks

Hendo
[Nexus 6  General] cam30era:
[MENTION=5302753]Evolution_Tech[/MENTION], [MENTION=2872010]rootSU[/MENTION],

Can you help this guy?
[Nexus 6  General] :
fastboot reboot

Device will wipe again.
[Nexus 6  General] hendo25:
Thanks for your help guys. I found another guide saying to use fastboot reboot, and it worked.

All erased, and back up and running.

Thanks
[Nexus 6  General] :
Thanks for reporting back. :good:
[Nexus 6  General] :
Update:

It seems that with the recent 5.1.1 updates, the allow OEM unlock toggle now stays set after multiple reboots.
[Nexus 6  General] Knight-Rider:
Mine isn't and I've rebooted at least 7 times.
[Nexus 6  General] efrant:
Bizarre. Mine stays enabled on 5.1.1, while it always reverted to disabled on 5.1.
[Nexus 6  General] danarama:
Out of interest, are you on a pre-5.1 boot loader?
[Nexus 6  General] Mayank97:
Do I need to do this to safely update my rooted nexus 6 to 5.1.1?
[Nexus 6  General] :
No, you don't need to lock your bootloader to update.
[Nexus 6  General] lilliput222:
can i follow this guide on Nexus 9 having 5.1.. as this thread says not to relock ur BL

http://xdaforums.com/nexus-9/general/warning-lock-bootloader-android-5-1-t3061462
[Nexus 6  General] :
I can't say for sure, as I do not have the 9. Theoretically, it should however.
[Nexus 6  General] Larzzzz82:
And read read read. It's all in here if you look for it. :)
[Nexus 6  General] pablittus:
Hi ! Thanks for your guide! I've read everything but I still have some doubts. Can someone clarify me this?

I have a Nexus 6 with stock, after this I unlocked the bootloader on 5.1.1 and rooted, just that. After a few days I have unrooted the device, so I still have the BL unlocked. So my question really is: Is it necessary to flash the stock img from Nexus 6 to relock the BL? or I just can go run the fastboot lock bootloader command?

Thanks in advance! :)
[Nexus 6  General] :
First, why are you relocking? Should only be done for RMA or resale. Second, things changed a bit with 5.1.1, OEM unlock should stay ticked through reboots. Otherwise, just remove security features (pin, password, etc) and your Google account and you should be fine.
[Nexus 6  General] cam30era:
Third thing: Using the "unroot" option in SuperSU is no longer effective. It leaves a few modified files laying around that can be a problem. For this reason, the only effective means to unroot is to flash the stock system.img.
[Nexus 6  General] pablittus:
Great, that's an excellent answer :) Thanks!

Evolution, thanks for your quick reply! I just want to have all by default so I can receive OTA updates without any upgrade issues.
[Nexus 6  General] :
Bootloader does not need to be locked to install ota. :)
[Nexus 6  General] pablittus:
Even if I have some files laying around from the root process?? Anyway, that's a good point, the one you mention
[Nexus 6  General] :
Flashing the system image will remove all remnants of root. Bootloader can remain unlocked. :good:
[Nexus 6  General] nitrous²:
I'm sorry, this is just to get attention and to hope that someone eventually can tell me what's going on. You may have stumbled upon my thread where I talk about my impossible to lock N6 http://xdaforums.com/showthread.php?t=3147936

Every idea is appreciated.

Gesendet von meinem Nexus 6 mit Tapatalk
[Nexus 6  General] :
Ahh yes, I've worked with you in that thread. Unfortunately, your situation is very unique and I haven't seen it mentioned prior or since. I would seriously consider returning the device in its current state and hope they replace it without question.
[Nexus 6  General] nitrous²:
Yea, that's probably the only thing I can do now. I'm just afraid they'll deny warranty because of its unlocked state. Anyway, thank you.
[Nexus 6  General] :
No problem. I sincerely hope it works out for you. :)
[Nexus 6  General] sempot:
Just wanted to say that the original locked bootloader status code out of the box is Code 2.
[Nexus 6  General] conquesoextra:
First of all sorry for my english!

Guys my nexus its bricked:

- bootloader locked

- no system at all

After hours reading i realized that i cant do anything aditional to flash a factory image from google, so... In theory ¿its possible to intentionally brick my phone as QHSUB?

I dont know, maybe as QSHUB it can be flashed, or not?

What do you think?

And again, sorry sorry sorry for my english!
[Nexus 6  General] :
No, you must RMA the device with Motorola. Sorry.
[Nexus 6  General] Utini:
I am about to send my Nexus 6 back to Amazon for a Money refund... should I still try re-locking the bootloader? :S Kinda scared that I brick it.
[Nexus 6  General] :
Follow the directions in the OP. You'll be fine.
[Nexus 6  General] Utini:
Mkay, I will use the stock ROM "5.1.1 (LMY48I)" and then follow your guide. hopefully it will work.

Thanks !
[Nexus 6  General] mediaman123:
Just to recap on the re-locking of the bootloader......................

to re-lock my bootloader when running 5.1 or higher I need to perform a factory reset of the device and make sure OEM Unlock is selected in developer options before re-locking.....

is that the jist of it......

I was thinking I would have to flash stock 5.0 before re-locking..........is this just me misunderstanding..............

i have a 6 which I have re-locked before for warranty but I am sure it was before 5.1....................I now have a 9 too so would like it clear in my head......

does the re-locking of the bootloader un mark the OEM Unlock in developers options.........I wouldn't assume so.......

Thanks....
[Nexus 6  General] :
Just remove all screen lock security, I.E. pin, password, pattern. Remove Google account, factory reset, check to see if device boots to android, skip all setup, enable developer options, tick the OEM unlock option on, boot to bootloader, execute: fastboot oem lock.

Profit.
[Nexus 6  General] mediaman123:
Thanks,

I am just trying to work out at what stage the OEM unlock option goes from being switched on to switched off..............

does it get switched off during a factory reset.....?

or my preferred choice, a stock flash..........
[Nexus 6  General] :
I believe both. Definitely on flashing stock.
[Nexus 6  General] mediaman123:
So its just to remember to select 'OEM Unlock' after a factory reset or stock image flash.............sorry for sounding like a broken record.......

I was sure the option to turn it on and off was already built in to android 5.0.....

can you describe a scenario were a brick would happen with the OEM unlock turned off.........?

I would assume that any activity that could risk a brick would always need to have the bootloader unlocked anyway.....
[Nexus 6  General] NLBeev:
And after removing the Google account.

That is the most important point.
[Nexus 6  General] conquesoextra:
Removed.
[Nexus 6  General] yurikoles:
Do recovery logs contain any evidence that a bootloader was unlocked in past?
[Nexus 6  General] mikeprius:
how is fastboot format boot going to brick the phone ? Can you just run flash-all.bat and restore to stock if the bootloader is unlocked ? Isn't the command anyways to fastboot erase boot, or is this different than fastboot format boot ?
[Nexus 6  General] gee2012:
Never tried myself it but `fastboot format boot` removes the kernel, flash-all.batt doesn`t work anymore so you have to flash the individual img`s in fastboot and can only be done with a unlocked bootloader, just flashing a new(er) boot.img will replace the current boot image so ther is no need for formatting boot.
[Nexus 6  General] mikeprius:
Actually, I think I know what the guy who I previously quoted was saying. I've read some threads where people have typed "fastboot erase bootloader" which actually wipes out the entire bootloader and nothing will load thus becoming bricked. I don't know if fastboot format bootloader will also do the same thing, but in the previous instance the bootloader is wiped out.

Just fastboot format boot.img will just wipe out the kernel which isn't that big of a deal. Flash-all.bat will not work in fastboot mode ? It seems it may work as long as the bootloader is unlocked even if the kernel is wiped since it looks like it just runs the script, but I agree you can either flash each image separately, or just flash a new ROM via TWRP.

---------- Post added at 08:52 PM ---------- Previous post was at 08:49 PM ----------

Now that I think about it, that's kinda funny, the difference between bricking your device or not is a few letters "fastboot erase boot" vs. "fastboot erase bootloader" LOL
[Nexus 6  General] gee2012:
Messing with system partitions will surely mess up your phone, and off course you can brick any device but as long as the bootloader is unlocked you have a window to fix it.
[Nexus 6  General] SilverFlash:
Wow I realized this...

wow, I only noticed this since Chainfire launched SUhide. Seems like rooting & bootloader is now getting restricted by Google (and of course Samsung lol):eek:
[Nexus 6  General] nokianyc:
I found a way to re-lock bootolader on nexus 6 android 7.0. Follow the link below and read post by wittier. It does work. You have to use Nexus Root Tool.

Link: http://www.wugfresh.com/forums/thread/cant-relock-bootloader/

Here is copy of his instructions:

I’ve figured out how to use NRT to relock the bootloader on the Nexus 6, with Android 7.0 Nougat. (Probably works with Marshmallow as well).

THIS WILL DELETE YOUR PERSONAL DATA, STARTING YOU WITH A FRESH CLEAN INSTALL OF ANDROID.

(Unfortunately I didn’t figure this out earlier. So now I have to download my apps again…not a big deal).

My device now has a locked bootloader. When I reboot, I no longer see the unlocked padlock icon below the Google logo on the first splash screen.

After using NRT to Flash Stock and Unroot, successfully, then unplug your phone, and power down. Boot it into Bootloader mode (Hold Power Down and Power). You’ll see the dead android icon and in red type it will say AP Fastboot Flash Mode (Secure)

Then attach phone to USB and use NRT OEM Lock. The phone will warn that your personal data will be erased (not a big deal if you just flashed Factory Image to it).

Proceed with NRT and when it’s done you’ll have Bootloader Locked. On that Fastboot screen I further confirmed this …at the bottom it says Device is LOCKED. Status Code: 2.
[Nexus 6  General] istperson:
Great, another Wugfresh ad...
[Nexus 6  General] :
I will not ever recommend a toolkit for a Nexus device. All of the steps mentioned above are done equally as easy with fastboot commands.
[Nexus 6  General] najoor:
If one is unable or unwilling to learn a few basic commands to use fastboot and would have to resort to a toolkit then I wonder why would one even want to mess with the bootloader to begin with...
[Nexus 6  General] VManuelP:
If i unlock my bl i will loss the OTA Updates?
[Nexus 6  General] bobsie41:
I only got my Nexus 6 on Friday and after having messed with rooting for a day or two, Yesterday I updated to 7.1.1 using the full system image. I proceeded to boot my device without using wifi and data then performed fastboot oem lock.

Perhaps I should have done more reading first as I was unaware of the dangers but, it worked fine for me.
[Nexus 6  General] taranvohra:
I have an unlocked bootloader as of now. I see that the OEM Unlocking option is faded ( because bootloader is unlocked ), so in that case I can't re lock my bootloader ever? Is it necessary to factory reset first?
[Nexus 6  General] wase4711:
there is NO REASON to ever relock your bootloader
[Nexus 6  General] xdadevmt:
Android Pay would not work for me citing my unlocked bootloader.
[Nexus 6  General] SeekingRest2019:
So what exactly was the issue with Android 5.1? If I understand correctly, the issue was that the "OEM unlocking" option in Developer Options would get disabled automatically in 5.1 without users choosing to do so? Was this only a problem when they already had their bootloader locked?

In STEP 4, it says:

Is this basically allowing ADB to lock and unlock your bootloader if it is enabled? What does it mean if it is disabled while the phone has an unlocked bootloader? Why would it not always be ticked? Also, mine is currently greyed out. Is that okay? Can I proceed with it like this?

Screenshot: OEM Unlocking

[IMG="OEM Unlocking"]https://i.imgur.com/yeit2Yt.png?2[/IMG]

In STEP 5, it says:

Is this a typo? Should it say "ready to lock your bootloader"? I feel like it must be a typo, but I just wanna be sure I'm not lost, since I'm a newb.

I used "flash-all.bat" from "7.1.1 (N6F27M, Oct 2017)" from Google. Is that an appropriate way to flash the stock ROM before relocking the bootloader? My Android Version is now 7.1.1. Can I proceed with relocking the bootloader? I am doing this to return the phone from an eBay purchase, and the bootloader was locked when I received it, so I would like to relock it.

Screenshot: Android Version 7.1.1

[IMG="Android Version"]https://i.imgur.com/kxrbTq7.png?2[/IMG]

I have already done the following:

• Flashed a stock ROM from Google (Android Version 7.1.1) using the "flash-all.bat" file.

• Factory reset the device after flashing the stock ROM, making sure not to enable any screen locks or add any accounts to the phone.

• In STEP 4, it says to make sure OEM unlock sticks. "OEM unlocking" is both enabled, and greyed out. I couldn't untick it if I wanted to.

• I don't understand STEP 5. My bootloader is unlocked, and I wish to lock it. Also, the "factory image" is the same thing as the "stock ROM" right?

What I plan to do next:

• Restart phone using the power button + volume down to boot into the bootloader. Connect it to my PC, open a command prompt in the ADB folder, and run the command:

fastboot oem lock

So this command both locks the bootloader and also factory resets the phone again?

I want to see if I correctly understand why locking the bootloader has been the cause of hard bricking the Nexus 6. The original issue is that in Android 5.1, the "OEM unlocking" option would disable on its own. And this was only a problem if you locked your bootloader when there was no OS on the phone?
[AT&T Samsung Galaxy Note 4] kellykelz:
I was browsing the web and ran into this one click root method that is suppose to work for the at&t note 4 on kit kat and/or lollipop. Has anyone heard of it or tried it? Sorry if this had already been posted. I was short on time and did not thoroughly read through all the posts. The link is posted below.

http://www.oneclickroot.com/device/samsung-galaxy-note-4-sm-n910a-att-lollipop/
[AT&T Samsung Galaxy Note 4] NCzerniak83:
I don't have access to a computer today but whoever tries it first please let us know. This would be great.
[AT&T Samsung Galaxy Note 4] hyst3rical:
I checked it out a while back. You download the software, plug in your phone, and it comes back and says your device is not yet supported. I doubt that has changed, you will most likely see the first root method available here within 24 hours of it being successfully accomplished., if not sooner.
[AT&T Samsung Galaxy Note 4] iamStrykyr:
I started a thread on this last night and immediately regretted it..Whoever set that site up needs to be slapped. I asked a mod to remove the thread. It doesn't work. Says phone not supported. Why they are paying to keep that page up is beyond me. It is specifically for the SM-n910a. But whatever. Maybe I'll rage spam my anger.
[AT&T Samsung Galaxy Note 4] Xak:
They keep it up for people like you who buy it thinking root is available for the Note 4 and can not do research themselves on the product or to even see if their is a method available. If XDA doesn't have a method no one does. A fact.
[General Questions and Answers] Dedzigs:
PLEASE HELP ME!

-[posted this aswell on: XDA, stacoverflow, android dev group, androidforums, etc]-

JUST LOOK AT THE PICTURES & TELL ME WHATS WRONG & HOW TO FIX..

-[problem my quesses: MALI-400, or ram heap size, or high rez textures]-

-[what i tryed unsuccessful: GLtool 'every' option, pirated APK data/obb]-

-[games that does this: Avable, Reckless Racing 2 & 3, Dead Effect, ~etc]-

-[all games run smooth no lagg..]-

WILL CHECK REGULARLY FORUMS ASK IF NEED ERROR LOGS OR MORE INFO! :)
[General Questions and Answers] Dedzigs:
-[bump]-