yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
Next time enable usb debugging and ENABLE OEM UNLOCK, both in developer options. You can flash the latest firmware available directly in fastboot by flashing the individual img files.

Here is a link to setup adb/platform-tools https://www.google.nl/url?sa=t&rct=...orial/&usg=AFQjCNGolazOWoMssTikMpokJ6TtwEND5A.
[Nexus 6 Q&A, Help & Troubleshooting] Markh2001:
This is getting very weird now as I just typed into the adb fastboot window : fastboot oem unlock and its giving me a message on my screen to click yes and unlock the bootloader?
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
Well click the power button and in the next screen scroll down with the volume button to select yes and push power.
[Nexus 6 Q&A, Help & Troubleshooting] Markh2001:
It says this on my Nexus 6 phone screen.

Unlock bootloader?

If you unlock the bootloader, you will be able to install custom operating system on this phone.

A custom OS is not subject to the same testing as the original OS, and can cause your phone and installed applications to stop working properly.

To prevent unauthorized access to your personal data, unlocking the bootloader will also delete all personal data from your phone (a "factory data reset".)

Press the volume up/down buttons to select yes or no. Then press power button to continue.

Yes (Unlock bootloader, may void warranty)

No. ( Do not unlock bootloader and restart phone)
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
Click yes, see my above post
[Nexus 6 Q&A, Help & Troubleshooting] Markh2001:
Okay but will I be able to relock and put it back to the way it was? Can you please stay around to help me do this step by step?! I'd appreciate it a million :)
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
Sure, but first we have to get the phone working again,
[Nexus 6 Q&A, Help & Troubleshooting] Markh2001:
Okay thanks, the device is now unlocked by me clicking yes. What's the next step?
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
type in cmd (terminal) fastboot reboot-bootloader and do you see a serial number?
[Nexus 6 Q&A, Help & Troubleshooting] Markh2001:
I typed into the adb bootloader window "fastboot reboot bootloader" says okay finished total time 0.000 on the PC.
[Nexus 6 Q&A, Help & Troubleshooting] Markh2001:
Only shows the serial number on the phone screen not the PC screen.
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
See a serialnumber? Download the latest firmware from here https://developers.google.com/android/nexus/images and extract the file with 7-zip (or similar app), then extract the .tar file and then the system.zip also till you see a couple of img files.

Its: fastboot reboot-bootloader
[Nexus 6 Q&A, Help & Troubleshooting] Markh2001:
No serial number on the PC only on the phone. Also if I type in adb devices still none show up.
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
type fastboot reboot-bootloader, don`t forget the -
[Nexus 6 Q&A, Help & Troubleshooting] Markh2001:
Just put the - in this time and only difference is its taken 0.007s, still no serial number showing.
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
Try to boot the phone and see if it boots
[Nexus 6 Q&A, Help & Troubleshooting] Markh2001:
Sorry I've taken a while to reply just been trying to unzip the n6 files. Just booting the phone so fingers crossed will let you know.
[Nexus 6 Q&A, Help & Troubleshooting] Markh2001:
Just tried to boot the phone and its still bootlooping.
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
Oke shut down the phone and boot into bootloader and then connect the phone and look for a serial number.
[Nexus 6 Q&A, Help & Troubleshooting] Markh2001:
Do I type in adb devices again?
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
fastboot devices, in bootlaoder its fastboot devices and when the phone is turned on or in recovery its adb devices
[Nexus 6 Q&A, Help & Troubleshooting] Markh2001:
When I'm in the bootloader on my phone where it shows the adroid green man and start, I typed in the command window on the PC fastboot devices and it shows in the command window my device serial number * next to the word fastboot.

Tried adb devices when the phone is on as normal (bootlooping) and it shows nothing.
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
If you`re in bootloader mode copy the following img files to the /sdk/platform-tools folder: boot, radio, system and recovery and userdata. What firmware did you download?
[Nexus 6 Q&A, Help & Troubleshooting] Markh2001:
Is it possible you could give me more of a step by step? I've got WinZip and 7zip, currently using 7zip, do I need to copy the cache.img over? However you do it.
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
rightclick on the img, then click and paste it in the platform-tools folder (right click)
[Nexus 6 Q&A, Help & Troubleshooting] Markh2001:
Give me a few secs will try again now. Do I put cache.img in too?
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
Yup, copy cache.img and we`ll try to flash it as a test.

Once you copied it go to the bootloader mode and type: fastboot flash cache cache.img
[Nexus 6 Q&A, Help & Troubleshooting] Markh2001:
Right in the system tools folder I have radio shamu img. Recovery img. System img. Userdata img. Boot img. and cache img.

Is this okay?
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
Yes, now go into bootloader mode and flash the radio: fastboot flash radio nameradio.img (name should be the same as in the platform-tools folder)
[Nexus 6 Q&A, Help & Troubleshooting] Markh2001:
So I flash the radio img first? Is there any going back after this step?
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
After the radio we flash other files, try this one first.
[Nexus 6 Q&A, Help & Troubleshooting] Markh2001:
Okay for some reason the radio shamu img name is really long the other files are just one word without img.
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
Just copy the name of the radio and paste it in the terminal and press enter
[Nexus 6 Q&A, Help & Troubleshooting] Markh2001:
just tried too and it came back with an error, this is the file name for the radio shamu: radio-shamu-d4.01-9625-05.32+fsg-9625-02.109

seems unusual as the rest are literally "recovery" "userdata" etc
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
Did you type: fastboot flash radio radio-shamu-d4.01-9625-05.32+fsg-9625-02.109
[Nexus 6 Q&A, Help & Troubleshooting] Markh2001:
yes and it just comes back saying error cannot load radio-shamu.....
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
Did you place the img files in the fastboot (platform-tools) folder? Have you created a path in windows system variables/enviroment /path named /android-sdk/platform-tools/?
[Nexus 6 Q&A, Help & Troubleshooting] Markh2001:
i'm honestly lost now, i have the adroid sdk folder with the platform tools inside of that and the extracted img's inside of that, i dont have or know of system variables, environment, path or have a fastboot folder.

I'm sorry i must be doing your head in.
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
In windows go to system and security, in the left side at the bottom click advanced settings, there you see near the bottom something with Variables, click that and select path in the second window and click edit, then add /sdk name/platform-tools/ and click OK.

Here is a tutorial http://www.redmondpie.com/how-to-set-up-android-adb-and-fastboot-on-windows-tutorial/.
[Nexus 6 Q&A, Help & Troubleshooting] Markh2001:
hey gee2012, i give up, ive been defeated, i appreciate all your help but i just dont have the strength or willpower left in me, been up all night and i'm grumpy now! just spoken to motorola support who will exchange the phone for a new one but that might not be till after christmas! what a joke. ohh well. thanks buddy and sorry I didn't persevere!
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
Oke , would appreciate if you press the thanks button and we`re even ;). Better read up before doing things the next time.

- edit - you allready did that

Thanks for your thanks but once would be enough :)
[Nexus 6 Q&A, Help & Troubleshooting] istperson:
Maybe it's because Windows is hiding the extesion ".img"?

But the best would be renaming the above file to just radio.img
[Nexus 6 Q&A, Help & Troubleshooting] Witek_M:
I hope you are getting some sleep now:fingers-crossed: Don't give up. You are just few keystrokes from a fix.:victory:

Slowly read through post #56. You will find it easy to follow.

---------- Post added at 06:21 AM ---------- Previous post was at 06:16 AM ----------

I think you are right. Command is missing .img extension. It should be:

fastboot flash radio radio-shamu-d4.01-9625-05.32+fsg-9625-02.109.img
[Nexus 6 Q&A, Help & Troubleshooting] CapitalParallax:
This is a really good point.

Earlier in the thread, you mentioned that the files do not show ".img" on the end of them. If you rename anything, DO NOT add ".img". It's already there, but hidden.

*EDIT

To clarify this a little bit, in command prompt, when you flash an .img, you DO need to include the .img in what you type. Right click the radio file, select "rename". This SHOULD highlight the whole file name for you. Right click again, select "copy", then left click in some blank space on your desktop or something. This will copy the file name to your clipboard, and deselect it so you don't accidentally actually rename it.. When you're ready to put this in CMD, right click anywhere in the command prompt window and select "paste". Then you will need to type [.img] at the end of this file. You're command prompt should look something like this:

<C:\shamu>fastboot flash radio radio-shamu-d4.01-9625-05.32+fsg-9625-02.109.img

*/EDIT

Don't lose faith. Once you see this through to the end, you'll realize how very easy it is to bounce back from total phone devastation. Be very grateful you have a Nexus 6, they're basically made for this stuff.

AAAAAAAAAAAND, when you realize it's not so bad, and you know you can fix it.... you'll be back. You'll tinker. You'll break it, fix it, and be right back here looking for root. ;)

Read through my last post a few times, then get that PATH set up. I can try to walk you through that, but I'm still on XP, so it may be a little different for you. For me, I had to:

Right click "My Computer" > Properties > Advanced > Environment Variables. In the next pop up, there are two sections. User Variables, and System Variables. Under "System Variables", there is a variable called "Path". When I double click on that, another box pops up with the details (which I can't actually do at the moment, as I am not signed on as Administrator). One of those editable boxes (I think it might say "Value") has a whole bunch of paths in a row. If you look close, you'll see that each one is separated with a ; .This is where the "no spaces" thing comes in handy. I renamed my Android SDK folder to Android_SDK. So for me, my path to adb and fastboot is C:\Android_SDK\platform-tools. At the end of the existing line, I added

;C:\Android_SDK\platform-tools

Yours might be a little different, depending on where you had Android SDK install the folder.

Trust me, this gets WAY less confusing once you have it set up.
[Nexus 6 Q&A, Help & Troubleshooting] jj14:
[MENTION=4121158]Markh2001[/MENTION] - hope you haven't given up - it looks like you are almost done. Like the other folks mentioned above, the problem is likely because of the missing ".img" at the end of the filename in the fastboot command. At this point, since your phone is already set up to be exchanged, and it isn't working anyway, try to complete the flash. That way, you will learn how to do this (if needed in the future). You don't lose anything but a little time. If you are able to complete the next few steps, you'll have a working phone!

[MENTION=2743227]gee2012[/MENTION] - you are very patient - I remember how daunting this would be for a person unfamiliar with fastboot/adb - who just wants to use their phone. Thank you for trying to help op out :)
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
I wish new users we`re to read the stickies and get a bit familiar with flashing, adb/fastboot, rooting etc. , that would make communication easier and and solving the issue much quicker.
[Nexus 6 Q&A, Help & Troubleshooting] jj14:
Amen to that!! I guess panic sets in when one's phone is unusable, and the first thought is "HELP ME". I agree though - the sticky (roll-up) is very detailed.
[Nexus 6 Q&A, Help & Troubleshooting] Witek_M:
What brought OP here was not an urge to tinker and fool around with the phone but failed OTA that went FUBAR right out off the box.;)
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
True that was the cause, but he lacked the basic knowledge to solve the situation. As long as fastboot is available most issues can be solved.
[Nexus 6 Q&A, Help & Troubleshooting] CapitalParallax:
A total noob doesn't understand that though.

Though detailed they may be, the stickies are not noob-friendly.
[Nexus 6 Q&A, Help & Troubleshooting] Markh2001:
Hey everyone I'm back, just woke up, I can't believe the amount of other support mentioned after I went to bed. I gave up as I'd been up all night and was really tired but I think in ready to try again, I do appreciate anyone's help with this very much. I also day thanks yet again for gee2012 for putting up with me.

This is ofcourse a learning experience for me and I think I'm starting to understand the basics, just some information that might be useful, my phone is the 64GB version and I'm running windows 10 on a cheap dell laptop.

Before I start and I know I should really do this myself and will attempt to try but is it possible that anyone could remotely contoll my PC and take over if I go wrong? If not I will just keep going.

Right so I understand I've got to make a "Path" going straight from my local drive through to the final path name and folder but I shouldn't leave any spaces and instead put -'s to fill in the blanks.

As I said yesterday all my img.'s didn't have img. at the end in my SDK folder, I extracted them using WinZip free version, (I hate trying to unzip files!) and that's how they appeared. So from what I could understand I should just add img. at the end in the command window! Not to actually add and change the filename in the folder.

Anyway I'm going to give this a go again now shortly and if I get things working I will be the most elated greatful person in the world but before I do I'd like to think one of you gentleman were here to help/guide me along the way if I hit any road bumps.

Thanks :)
[Nexus 6 Q&A, Help & Troubleshooting] Witek_M:
Take a look at this Youtube video. https://www.youtube.com/watch?v=2IHrrcEn-PU
[Nexus 6 Q&A, Help & Troubleshooting] jj14:
The reason the path variable is suggested is because it will let you run the fastboot command from anywhere (when you are in the command prompt).

For example: if you open a command prompt in C:\Users\Markh\, and want to execute fastboot command (when your fastboot.exe file is in C:\Android_SDK\platform-tools), windows will tell you that it doesn't know where fastboot.exe is. You can instead tell Windows to execute C:\Android_SDK\platform-tools\fastboot.exe - but that's a roundabout way.

Now, let's say you have fastboot.exe in C:\Android_SDK\platform-tools and your .img files are in C:\shamu,

You open a command prompt and use the CD command to switch to C:\Android_SDK\platform-tools, so you can run the fastboot command.

You enter fastboot flash system system.img

Windows will see fastboot.exe, since you are in C:\temp, but it doesn't find system.img there, so it will not work.

Two ways around this issue.

Place the img files in the same directory as fastboot.exe, and open a command prompt in that same directory, and run the fastboot commands. It will work

Tell Windows to look for for commands in the directory where fastboot.exe is. That is done by setting the path variable. Once you do this, you can navigate to the folder where the IMG files are and run the fastboot command (regardless of where fastboot.exe is, because windows will find it using the path variable)

Hope that makes sense.

The other thing to consider is that windows file explorer doesn't always show the file extensions. In Windows 10 for example, you open the File Explorer (or My computer), and switch to the View Tab, and select the "File Name extensions" checkbox. Or, right click on the file, and select properties - it will show you the complete file name. If you extracted the files from the zip file, it will have the IMG extension. Just verify it by right clicking on the file name. Don't add another .img to the filename - else, your file name will become system.img.img and your fastboot command will not work (since you will be trying to reference system.img, which doesn't exist anymore after being renamed to system.img.img)

Edit: in the video referenced above by [MENTION=4187239]Witek_M[/MENTION], you can see the presenter copying all the fastboot files into the folder where the img files are (about 1:50 into the video) - that's #1 in my comment above
[Nexus 6 Q&A, Help & Troubleshooting] Markh2001:
Hey everyone theres a good ending to this story!

CapitalParallax inboxed me and then added my on fb for convenience and went through each step with me bit by bit explaining what I needed to do in noob language. I could sent photos instantly as to what I was doing so he could make sure I was doing it right.

Anyway I've now got 6.0.1 on my Nexus 6 with no more bootlooping and I no longer need to send my device back for RMA! I'm over the bloody moon, might have taken some time but I really appreciate all the help. Thanks Capital and for the rest of you who tried to help and support me.

Happy N6 owner now. :)
[Nexus 6 Q&A, Help & Troubleshooting] AarSyl:
I do hope that you remember some of the steps that you had to rake to get things up and running. It will prove to be useful information in the near future.
[Nexus 6 Q&A, Help & Troubleshooting] phaze one:
Just wanted to give a quick shout out to both you guys, [MENTION=6938354]CapitalParallax[/MENTION] and [MENTION=2743227]gee2012[/MENTION]. Just got the N6 today and messed up root trying to go the root done right route. Not a noob, but I got stuck and you guys got me out of the hole. I think just flashing the 6.0 boot.img was the culprit. Cheers and thanks again. Is Chainfire's root really that suspect? Just looking to get proper root and customize my phone.
[Nexus 6 Q&A, Help & Troubleshooting] CapitalParallax:
Cool. Glad to be of help!

I am currently using doitright's root method. Since you're fresh out of the box, flashing his boot.img shouldn't be a problem, so long as you're on 6.0 and not 6.0.1.
[Nexus 6 Q&A, Help & Troubleshooting] phaze one:
Yeah, my problem was I was on LMY47E 5.1 out of the box and not 6.0 duh, lol. Went full retard on that one. So I'll just repeat the steps with 6.0 and then flash his boot.img after?
[Nexus 6 Q&A, Help & Troubleshooting] CapitalParallax:
You can do it all at once. Replace Google's boot.img with doitright's.
[Nexus 6 Q&A, Help & Troubleshooting] phaze one:
Nice, that's what I was just thinking. Thanks again man.
[Nexus 6 Q&A, Help & Troubleshooting] CapitalParallax:
No problem. Good luck.
[Nexus 6 Q&A, Help & Troubleshooting] TTchy:
I'm so sorry about this. I also got my Nexus 6 from Moto UK and have the same issue. I've read through the post but get abit lost. Could anyone help?
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
Read the stickies thread here in General, especialy threads 2,3,4 and 5 and this will surely help you. Its dangerous to storm into batlle without basic knowledge and wreck your phone. I want to help you but i can`t do the work for you ;)
[Nexus 6 Q&A, Help & Troubleshooting] TTchy:
This is such a dumb question but i dont have a clue what sticky threads you talking about. Never used XDA other then looking for roms for my S3. crap at forums.
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
http://xdaforums.com/nexus-6/general/nexus-6-sticky-roll-thread-t3061066. BTW with this attitude forums will do the same at you ;)
[Nexus 6 Q&A, Help & Troubleshooting] TTchy:
Well learning new things is always good :)

So my first step would be to download and install ABD (which is android studio?) or is it the "other download option" SDK only tool "android-sdk_r24.4.1-windows.zip"
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
You only need to install the sdk (platform)-tools, here is a step by step guide https://www.google.nl/url?sa=t&rct=...orial/&usg=AFQjCNGolazOWoMssTikMpokJ6TtwEND5A.
[Nexus 6 Q&A, Help & Troubleshooting] TTchy:
Ok i got the SDK all working. Unlockled the bootloader. Could you help me here. I think i have to transfer the img files over and flash just want you to confirm.
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
Oke, you`re doing great so far. Have you enabled ENABLE OEM UNLOCK in developer options (or else unlocking will fail)? If yes, type fastboot oem unlock (will wipe your device) and reboot.

You have to extract the downloaded stock rom with 7-zip (or similar) a few times (rar, tar, system.zip) and flash the individual img files seperately.

I always flash, bootloader, radio, boot and system img`s myself most of the time.
[Nexus 6 Q&A, Help & Troubleshooting] TTchy:
How can i enable oem unlock from cmd? can not get into the os.
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
Just try the command, if it fails you`re out of options i`am afraid ....
[Nexus 6 Q&A, Help & Troubleshooting] TTchy:
What would the command be i cant see it.

I unlocked the bootloader already.
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
What you said, fastboot oem unlock.
[Nexus 6 Q&A, Help & Troubleshooting] TTchy:
OK i got the bootloader , cache , radio , recovery , system , userdata all moved to platform-tools where do i go from here now and which order would be best?
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
Now type:

fastboot reboot-bootloader,

flash bootloader namebootloader.img

fastboot reboot-bootloader

fastboot flash radio nameradio.img

fastboot reboot-bootloader

fastboot flash system system.img

fastboot flash boot boot.img

fastboot flash userdata userdata.img

fastboot flash recovery recovery.img

fastboot erase cache

fastboot flash cache cache.img

reboot.

Make sure the .img files are copied in the platform-tools or it will not work.
[Nexus 6 Q&A, Help & Troubleshooting] TTchy:
flash bootloader namebootloader.img is this supposed to be "fastboot flash bootloader namebootloader.img"

I see you fixed it XD
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
Use the names as used in the platform-tools folder
[Nexus 6 Q&A, Help & Troubleshooting] TTchy:
I was mentioning you forgot to put fastboot infront of flash etc.
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
Correct, thought you knew this :) Always start with fastboot.
[Nexus 6 Q&A, Help & Troubleshooting] TTchy:
Ok i booting into os i have the new boot animation. Just taking a while. which i assume is normal.
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
Have you flashed all the files allready?
[Nexus 6 Q&A, Help & Troubleshooting] TTchy:
yes.
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
Quick learner :good:
[Nexus 6 Q&A, Help & Troubleshooting] TTchy:
I am still on the boot animation been like this for 5 mins.

Could i of flashed the wrong img. i went for 6.0.1 there was only one of them on the release list?

https://developers.google.com/android/nexus/images the 6.0.1 (MMB29K)

Didnt flash the boot.img ffs. do i just go back into bootloader and start flashing again from the start bootloader.img
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
I live in the EU and i use the 29M version, where do you live?
[Nexus 6 Q&A, Help & Troubleshooting] TTchy:
EU UK.

Check last post about boot.img

29m is for nexus 6P i have nexus 6
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
Sorry mate , meant 29K :o

Is the device still booting? Ususaly after a bootloader unlock we reboot but as we can`t do this now its a wild card.
[Nexus 6 Q&A, Help & Troubleshooting] TTchy:
I saw that i didnt use boot.img

Went back into the thread where [MENTION=6938354]CapitalParallax[/MENTION] went into detail and used that. And guess what I got marshmallow!!

Thanks a lot man! sorry if I took up any of your free time.