5 day N6 owner - my first monthly flash - Nexus 6 Q&A, Help & Troubleshooting

Got my N6 from the Amazon sale. As the LMY48M factory image has just been posted, I want to make sure I do this right and not lose my data/settings since it's my first time.
Phone is XT1103. Unlocked 64 gig (non carrier/branded) but using a VZW Sim. Bootloader unlocked, rooted but still encrypted. Running TWRP-2.8.7.1. On LMY48I currently.
Are these the only commands I need to execute to update but not lose the data/settings (actual IMG file names taken from the 48M image)?
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.10.img
fastboot flash radio radio-shamu-d4.0-9625-02.101.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot reboot-bootloader
Am I missing anything? I believe after I do this I will have lost root but I'll use CF-Root to get it back.
Thanks
EDIT: Forgot to mention I did find other instructions (http://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008) that said to also flash boot, recovery and cache in addition to what I already listed. Is that necessary? Do I have to overwrite TWRP only to reflash it later?
THUS, should these be my instructions?
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.10.img
fastboot reboot-bootloader
fastboot flash radio radio-shamu-d4.0-9625-02.101.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot erase cache
fastboot flash cache cache.img

you will only have root after flashing twrp recovery in fastboot, then flash the latest supersu in twrp recovery. what you are doung is flashing a factory image, has nothing to do with getting root.
---------- Post added at 03:32 PM ---------- Previous post was at 03:31 PM ----------
to root..
1. unlock your bootloader with fastboot
2. fastboot flash twrp recovery
3. flash the latest supersu in twrp recovery
4. reboot, with root.
---------- Post added at 03:34 PM ---------- Previous post was at 03:32 PM ----------
and im stupid, you wrote you believe youll lose root, and you will. but it will take just a few minutes to get it back.

Related

Question about Dev Edition Factory Images

To begin, I'm a guy who has only used Nexus devices. I am very comfortable flashing things, rooting, etc. with them, but I'm out my element with anything else. I want to just use "fastboot oem unlock", flash a custom recovery, then flash whatever else I want. Nexus has spoiled me. I have a Moto X Dev Edition on it's way. A few questions:
1. From what I can gather, Motorola has factory images for the Moto X Dev Edition here, but is on a request-only basis. Why? So they can keep track of who downloaded them, but why does it matter? Unlocking the bootloader on Dev Editions no longer voids the warranty. In any case, couldn't someone just download them, then mirror them? I don't mind requesting the download, I'm just wondering their thought behind it.
2. On that website above, they say I can manually flash each partition, which is how I'd like to handle it. What is RSD Lite, and why do most guides recommend I use that instead of typing the flash commands into the command prompt? Is it preferred because it is kind of an automated thing and is faster than typing each command or am I just misinterpreting what RSD does? To put this more simply, if I prefer, can I manually type the following commands into the command prompt while in fastboot mode to flash the different partitions on the phone instead of using RSD Lite to return to stock?
Code:
$ fastboot flash partition gpt.bin
$ fastboot flash motoboot motoboot.img
$ fastboot reboot-bootloader
$ fastboot flash logo logo.bin
$ fastboot flash boot boot.img
$ fastboot flash recovery recovery.img
$ fastboot flash system system.img
$ fastboot erase modemst1
$ fastboot erase modemst2
$ fastboot flash fsg fsg.mbn
$ fastboot reboot
Rsd:moto:din:Samsung
Sent from my XT1058 using Tapatalk
---------- Post added at 12:36 PM ---------- Previous post was at 12:34 PM ----------
Oops. Evidently that turned into emoji. Rsd is to moto as Odin is to Samsung. Go ahead and use it. (I too am coming from exactly your situation... I'm just a week ahead if you! )
Sent from my XT1058 using Tapatalk
---------- Post added at 12:37 PM ---------- Previous post was at 12:36 PM ----------
Here is what I did to replicate my n4 experience+the moto x features. http://forum.xda-developers.com/showthread.php?t=2556400
Sent from my XT1058 using Tapatalk
most suggest RSDLite because it can flash the entire ROM, without having to manually enter each command correctly at a command prompt.
You can do it either way.
Fastboot is nice because you can pick/choose which "parts" to flash.

update HBOOT how to

I am running hboot 1.44, i want to upgrade so i can install newer viper one roms.
I am lost on how to do this.
Here is the process if you are S-Off. If not you need to relock your bootloader before doing fastboot flash firmware.
1 download latest firmware here http://forum.xda-developers.com/showthread.php?t=2182823
2. Put it in your SDK folder together with you ADB.
3. Connect your phone to PC and fire up your ADB
4. Type:
Adb reboot bootloader
(After entering bootloader)
Fastboot devices
(To be sure you are connected)
5. Type
Fastboot oem rebootRUU
(Phone will reboot and silver htc logo will appear.)
6. Type
Fastboot flash zip firmware.zip
Let it process. It will most certain end with FAILED.
7. IMPORTANT: repeat same command again. It will now end with success.
8. End with
Fastboot reboot
All done.
---------- Post added at 10:51 PM ---------- Previous post was at 10:50 PM ----------
Also make sure md5 is correct on the firmware.

Nexus 6 Stuck in Boot loop

Hey All.. my nexus 6 is stuck in a boot loop. I tried up dating to 5.0.1 and now it's boot looped. Anyone have any suggestions?
Try wiping cache in recovery.
eddies92 said:
Try wiping cache in recovery.
Click to expand...
Click to collapse
I can get to recovery, how do I wipe the cache?
To get to recovery hold the power button until it shuts off then press volume down and power at the same time to boot into bootloader. Then use the volume buttons to choose recovery mode and press power.
Sent from my Nexus 6
housry23 said:
To get to recovery hold the power button until it shuts off then press volume down and power at the same time to boot into bootloader. Then use the volume buttons to choose recovery mode and press power.
Sent from my Nexus 6
Click to expand...
Click to collapse
Hi! Same problem here. Happened when tried to update to 5.0.1 using this guide:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash boot boot.img (I used a decrypted boot.img for 5.0.1)
fastboot flash recovery recovery.img
fastboot erase cache
Click to expand...
Click to collapse
I didn't get any error during the installation. I only did step 1 and 2, and when rebooted before step 3, I got the boot loop.
Recovery mode doesn't work, it shows a "dead" android with a red exclamation sign. I can still go to bootloader mode.
Can you please help me?
Solved it flashing "cache.img".
Hope it helps anyone.
mattogodoy said:
Solved it flashing "cache.img".
Hope it helps anyone.
Click to expand...
Click to collapse
my situation is the n6 will boot and then attempt to boot twrp but the boot splash screen of twrp loops so i guess the recvery segment is in a boot loop. if i co
low.humidity said:
my situation is the n6 will boot and then attempt to boot twrp but the boot splash screen of twrp loops so i guess the recvery segment is in a boot loop. if i co
Click to expand...
Click to collapse
Follow these steps:
Download Android 5.0.1 for Shamu (Nexus 6) from Google servers.
In the terminal:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash boot boot.img (I used a decrypted boot.img for 5.0.1)
fastboot flash recovery recovery.img
fastboot erase cache
fastboot flash cache cache.img (this one fixed my problem)
Hope that fixes it.
mattogodoy said:
Follow these steps:
Download Android 5.0.1 for Shamu (Nexus 6) from Google servers.
In the terminal:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash boot boot.img (I used a decrypted boot.img for 5.0.1)
fastboot flash recovery recovery.img
fastboot erase cache
fastboot flash cache cache.img (this one fixed my problem)
Hope that fixes it.
Click to expand...
Click to collapse
Why are you rebooting it twice while flashing? I've never rebooted it until it was done and I haven't had any issues. Maybe I'm just used to flashing older Nexus devices.
Pilz said:
Why are you rebooting it twice while flashing? I've never rebooted it until it was done and I haven't had any issues. Maybe I'm just used to flashing older Nexus devices.
Click to expand...
Click to collapse
I asked myself the same haha. For no special reason, I was just following a guide, but I've seen other guides where you don't reboot until the end of the process. It's fast and harmless anyway.
mattogodoy said:
I asked myself the same haha. For no special reason, I was just following a guide, but I've seen other guides where you don't reboot until the end of the process. It's fast and harmless anyway.
Click to expand...
Click to collapse
yeah, thanks for that info, it helped. i keep logs of the stuff i enter so it is not until i reread the logs that i really know wjhat i did , and some of those commands i did not do but you basically pointed me in the right direction. anyway, my device is working again thank god, i had moments of panic when i thought i had trashed a 700 buck phone but its all good now. again, thanks.
low.humidity said:
yeah, thanks for that info, it helped. i keep logs of the stuff i enter so it is not until i reread the logs that i really know wjhat i did , and some of those commands i did not do but you basically pointed me in the right direction. anyway, my device is working again thank god, i had moments of panic when i thought i had trashed a 700 buck phone but its all good now. again, thanks.
Click to expand...
Click to collapse
Haha, I'm very glad to know!
Same happened to me and scared the **** out of me. Luckily everything is fine now.
Enjoy your new nexus! It's AWESOME
i'm having trouble understanding..my n6 is stuck in bootloop, twrp keeps showing up after boot screen.. what programs are you guys using to slove this problem..please help..
---------- Post added at 06:37 PM ---------- Previous post was at 06:30 PM ----------
i'm having the same problem..what program are using to slove this problem..please help..
mattogodoy said:
Follow these steps:
Download Android 5.0.1 for Shamu (Nexus 6) from Google servers.
In the terminal:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash boot boot.img (I used a decrypted boot.img for 5.0.1)
fastboot flash recovery recovery.img
fastboot erase cache
fastboot flash cache cache.img (this one fixed my problem)
Hope that fixes it.
Click to expand...
Click to collapse
If I erase and flash cache… all my data and settings are gone?
Via my NeXus™ 7FHD on XDA Premium app
Nexus 6 Boot Loop
Im stuck in boot loop and im using the Nexus root toolkit to try to get me out of the of the loop. It downloaded the image and began to flash but gives me an error at the end saying boot.img was not found. Please help someone?
bitw_alex said:
Im stuck in boot loop and im using the Nexus root toolkit to try to get me out of the of the loop. It downloaded the image and began to flash but gives me an error at the end saying boot.img was not found. Please help someone?
Click to expand...
Click to collapse
http://forum.xda-developers.com/nex...sh-factory-images-nexus-6shamu-t2954008/page9
fastboot flash bootloader filename.img
fastboot flash radio filename.img
fastboot reboot-bootloader
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash cache cache.img (in case you would like to wipe cache files)
fastboot flash userdata userdata.img (only in case you would like to wipe userdata)
fastboot reboot
Little different situation
Not sure what im doing wrong. my nexus was rooted for 2 to 3 weeks on android 5.1 . restarted today to only find myself stuck in a bootloop [ red green yellow blue ] nexus symbol continuously going, i booted into twrp and tried to restore my nexus to a backup i made after i rooted , but still stuck in bootloop , tried 1 more time to use my backup , but still in a bootloop , then tried to factory reset using twrp , and was still stuck in a bootloop , any tips would be awesome , thanks
EDIT: Think what put me in bootloop was making it where i need a password everytime i restart. just did it and seems some are having same problems .
EDIT 2: Well i got out of bootloop . appears i have also lost root . not sure what i did . after using twrp to install backups, format data , it finally restarted . im pretty positive the problem was caused by setting a restart passcode ! watch out guys ,
junior990 said:
i'm having trouble understanding..my n6 is stuck in bootloop, twrp keeps showing up after boot screen.. what programs are you guys using to slove this problem..please help..
---------- Post added at 06:37 PM ---------- Previous post was at 06:30 PM ----------
i'm having the same problem..what program are using to slove this problem..please help..
Click to expand...
Click to collapse
Same prob. Can't get into recovery
forcedairinduction said:
Same prob. Can't get into recovery
Click to expand...
Click to collapse
Can you get to bootloader? Stock or TWRP recovery?
Evolution_Tech said:
Can you get to bootloader? Stock or TWRP recovery?
Click to expand...
Click to collapse
Can get into bootloader, but if I try and go from there to recovery it goes back to team win splash repeatedly flashing
---------- Post added at 02:34 PM ---------- Previous post was at 02:33 PM ----------
Evolution_Tech said:
Can you get to bootloader? Stock or TWRP recovery?
Click to expand...
Click to collapse
forcedairinduction said:
Can get into bootloader, but if I try and go from there to recovery it goes back to team win splash repeatedly flashing
Click to expand...
Click to collapse
PS, I'm very noon at this still. Been flashing since having my n4 but never got into this kinda trouble before. When things have gone wrong in the past I've always managed to go back into twrp & flash nandroid backup...... Scared stiff now

5.0.1 without wiping?

So, is there a way to flash the update to 5.0.1? I'm unlocked, rooted, and still encrypted. I want to stay encrypted. Sorry, just my own paranoia I guess. But is there a way to do it as an update without wiping the device and having to restore a backup? I have had too many backups fail in the past, and I'm kinda lazy. Plus its been a long time since I played with flashing an Android. since my old EVO 4G. LOL Thanks all. Oh yeah, if it matters, I'm on a T-Mobile Nexus 6.
scothern99 said:
So, is there a way to flash the update to 5.0.1? I'm unlocked, rooted, and still encrypted. I want to stay encrypted. Sorry, just my own paranoia I guess. But is there a way to do it as an update without wiping the device and having to restore a backup? I have had too many backups fail in the past, and I'm kinda lazy. Plus its been a long time since I played with flashing an Android. since my old EVO 4G. LOL Thanks all. Oh yeah, if it matters, I'm on a T-Mobile Nexus 6.
Click to expand...
Click to collapse
The flash-all.bat script doesn't work anyway, so don't use it. Just use fastboot and flash:
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.05.img
fastboot reboot-bootloader
(wait for reboot)
fastboot flash radio radio-shamu-d4.0-9625-02.55.04.img
fastboot reboot-bootloader
(wait for reboot)
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
Then, I like to boot directly into twrp and flash supersu.zip to reroot (I don't flash twrp on, just boot into it)
fastboot boot openrecovery-twrp-2.8.2.0-shamu.img
---------- Post added at 02:12 PM ---------- Previous post was at 02:02 PM ----------
You can turn that into a simple bat file to use if you like. Just copy and past the following (in between dashes) into notepad and save as something like nexus-flash.bat:
--------------------------
PATH=%PATH%;"%SYSTEMROOT%\System32"
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.05.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot flash radio radio-shamu-d4.0-9625-02.55.04.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot boot openrecovery-twrp-2.8.2.0-shamu.img
echo Press any key to exit...
pause >nul
exit
---------------------------------------
If you have named the twrp recovery something other than what it downloads as, be sure to adjust the file name in the script.
This assumes that all the files are in the same folder including the platform tools. So you would need to extract everything into the same folder.
livinginkaos said:
The flash-all.bat script doesn't work anyway, so don't use it. Just use fastboot and flash:
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.05.img
fastboot reboot-bootloader
(wait for reboot)
fastboot flash radio radio-shamu-d4.0-9625-02.55.04.img
fastboot reboot-bootloader
(wait for reboot)
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
Then, I like to boot directly into twrp and flash supersu.zip to reroot (I don't flash twrp on, just boot into it)
fastboot boot openrecovery-twrp-2.8.2.0-shamu.img
---------- Post added at 02:12 PM ---------- Previous post was at 02:02 PM ----------
You can turn that into a simple bat file to use if you like. Just copy and past the following (in between dashes) into notepad and save as something like nexus-flash.bat:
--------------------------
PATH=%PATH%;"%SYSTEMROOT%\System32"
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.05.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot flash radio radio-shamu-d4.0-9625-02.55.04.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot boot openrecovery-twrp-2.8.2.0-shamu.img
echo Press any key to exit...
pause >nul
exit
---------------------------------------
If you have named the twrp recovery something other than what it downloads as, be sure to adjust the file name in the script.
This assumes that all the files are in the same folder including the platform tools. So you would need to extract everything into the same folder.
Click to expand...
Click to collapse
Ok, so not to be a noob, where do I get the image files to flash?
Nexus images are all posted here - https://developers.google.com/android/nexus/images
Ok, so I used the toolkit to unlock/root, I'm assuming then that to use this script you posted, I would need to download the actual ADB/Fastboot files separately?
Sorry for the stupid questions, I'm learning all over again, and this is my first Nexus device.
EDIT: So it looks like I can use the toolkit to individually flash the system image and then the radio. Will that work doing it in that order?
scothern99 said:
Ok, so I used the toolkit to unlock/root, I'm assuming then that to use this script you posted, I would need to download the actual ADB/Fastboot files separately?
Sorry for the stupid questions, I'm learning all over again, and this is my first Nexus device.
EDIT: So it looks like I can use the toolkit to individually flash the system image and then the radio. Will that work doing it in that order?
Click to expand...
Click to collapse
Does anyone know if this is correct?
What I did to upgrade without wiping, i was on stock with elementalx kernel, root and twrp.
Only flashed radio and system img.
1. Downloaded images, extracted zip of the images.
2. Reboot to bootloader
3. Fastboot commands
fastboot flash radio radio-shamu-d4.0-9625-02.55.04.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot reboot
4. Reboot to bootloader again
Run chainfire autoroot script.
5. Done
Remember to read read read if you don't know what are you doing, nobody here is responsible if things go wrong.
With my past phones, there was always a stock rom posted shortly after the update came out. I would just flash that over what I had already to update. Is there some reason why no one has posted any stock roms for the nexus 6?
lion1750 said:
With my past phones, there was always a stock rom posted shortly after the update came out. I would just flash that over what I had already to update. Is there some reason why no one has posted any stock roms for the nexus 6?
Click to expand...
Click to collapse
I'm wondering the same. Usually it was out right away and I would do the same as you. Seems crazy to me that we would have to unroot update and reroot agaain.
Usually I would flash a stock rom with the update that the dev would also throw root into.
livinginkaos said:
Then, I like to boot directly into twrp and flash supersu.zip to reroot (I don't flash twrp on, just boot into it)
fastboot boot openrecovery-twrp-2.8.2.0-shamu.img
Click to expand...
Click to collapse
Can you do this as opposed to using the CF-Auto-Root-shamu-shamu-nexus6.zip to root for the very first time as well?
GMoGoody said:
Can you do this as opposed to using the CF-Auto-Root-shamu-shamu-nexus6.zip to root for the very first time as well?
Click to expand...
Click to collapse
You bet. You can be sure to have the most recent SuperSU that way as well. CF-Auto isn't always updated as quickly.
http://download.chainfire.eu/supersu
livinginkaos said:
You bet. You can be sure to have the most recent SuperSU that way as well. CF-Auto isn't always updated as quickly.
http://download.chainfire.eu/supersu
Click to expand...
Click to collapse
That su 2.4zip is for all devices? Not just for the n7 fhd? Thx
Via my NeXus™ 7FHD on XDA Premium app

[Q] When updating manually, do I need to flash stock recovery if I am using TWRP?

When applying official updates manually, can I skip flashing the recovery below if I use TWRP? Or, should I always flash the stock recovery then re-flash custom recovery?
fastboot flash bootloader bootloader-shamu-xxx.img
fastboot reboot-bootloader
fastboot flash radio radio-shamu-xxx.img
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot erase cache
fastboot flash cache cache.img
fastboot reboot-bootloader
fastboot flash system system.img
I didn't flash recovery or cache, no issues here. I did however, flash the bootloader and the radio before rebooting bootloader
Sent from my Nexus 6 using Tapatalk
---------- Post added at 07:41 PM ---------- Previous post was at 07:38 PM ----------
So:
Fastboot flash bootloader bootloader-shamu...
Fastboot flash radio radio-shamu...
Fastboot reboot bootloader
Fastboot flash boot boot.img (i used a no force encrypt boot.img)
Fastboot flash system system.img
Reboot and let apks update
Boot to recovery, flash SU and done
Sent from my Nexus 6 using Tapatalk
No need to flash stock recovery, although I always do and then reflash twrp after.....I have no idea why I do that, but I always do.
beelow319 said:
I didn't flash recovery or cache, no issues here. I did however, flash the bootloader and the radio before rebooting bootloader
Sent from my Nexus 6 using Tapatalk
---------- Post added at 07:41 PM ---------- Previous post was at 07:38 PM ----------
So:
Fastboot flash bootloader bootloader-shamu...
Fastboot flash radio radio-shamu...
Fastboot reboot bootloader
Fastboot flash boot boot.img (i used a no force encrypt boot.img)
Fastboot flash system system.img
Reboot and let apks update
Boot to recovery, flash SU and done
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
I reboot between the bootloader and radio because that is how it is written in the scripts included in the official download. I figured Google had a reason for doing it that way, so I do too.
moporoco said:
I reboot between the bootloader and radio because that is how it is written in the scripts included in the official download. I figured Google had a reason for doing it that way, so I do too.
Click to expand...
Click to collapse
I've heard it done both ways. Though I'll only share what I have done. I'd feel bad if I told somebody something wrong and it broke their phone.
Sent from my Nexus 6 using Tapatalk

Categories

Resources