Getting my 6p tomorrow. Suggested first steps? - Nexus 6P Q&A, Help & Troubleshooting

Been looking through the root guide and of course will be unlocking and rooting. Should I first unlock, flash TWRP, load stock. Set up stock with my accounts and settings. Reboot to TWRP. Make NAND back up. Then root and then flash a rom? I'm still confused about the library IMG file. Will I need to do anything with it assuming the phone I receive was manufactured within the last 2 months?
Any other tips/suggestions would be much appreciated.
Sent from my LG-D851 using XDA Free mobile app

If you plan on unlocking bootloader, do that first. Device has to be wiped clean when doing so.

update to the March MHC19I update before modifying the system partition. It'll save you the headache of doing it via fastboot and re-rooting.

sirdizzle415 said:
update to the March MHC19I update before modifying the system partition. It'll save you the headache of doing it via fastboot and re-rooting.
Click to expand...
Click to collapse
So unlock bootloader. Flash TWRP. Load stock. Update to latest update (can I do this via OTA?) Then NAND back up and flash ROM?
Sent from my LG-D851 using XDA Free mobile app

Don't forget to flash SuperSU
Sent from my Dope 6P using Tapatalk

Unlock Bootloader, Ota or flash by other means, then root and flash twrp
Sent from my Nexus 6P using Tapatalk

Starzboy77 said:
So unlock bootloader. Flash TWRP. Load stock. Update to latest update (can I do this via OTA?) Then NAND back up and flash ROM?
Sent from my LG-D851 using XDA Free mobile app
Click to expand...
Click to collapse
I'll give it a try. Comments from anyone?
Unlock bootloader then upgrade to latest FW by OTA (or vice versa?), then flash TWRP and nandroid. Now root.

Great. I hope the OTA will pop up as soon as possible or is there a way to manually search for updates through system settings? By the way, thank you everyone.
Sent from my LG-D851 using XDA Free mobile app

Starzboy77 said:
So unlock bootloader. Flash TWRP. Load stock. Update to latest update (can I do this via OTA?) Then NAND back up and flash ROM?
Sent from my LG-D851 using XDA Free mobile app
Click to expand...
Click to collapse
Unlock your bootloader, then take the OTA(s) to the latest build (MHC19I). You can't take an OTA with TWRP installed so don't flash that first. If for some reason the OTA doesn't appear you can just flash the factory images for the latest build in order to update. Once you're fully up to date you can flash TWRP and make a nandroid backup. Then just flash whatever ROM you want to use. Keep in mind that after flashing the ROM + gapps you also need to flash the appropriate vendor image to suit the build of the ROM you're flashing. You can flash it with fastboot, or use the "install image" option in bottom-right corner of the install menu in TWRP (TWRP can flash some images now).
I have detailed instructions in my guide:
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928

Related

Best way to update JB?

I am currently unlocked (TWRP v2.4.4.0) and rooted running 4.1.2. I would to update to the latest version of JB. Is there a simply way to do that without having to unroot, relock, and return to factory specs. I am just really looking to be able to keep all my data and settings. I've installed the latest version of WugFresh NRT on my desktop. Thanks so much for any help that you can provide.
Download the deodexed 4.2.2 stock rom and flash it via recovery.
http://forum.xda-developers.com/showthread.php?t=2148337
Don't forget to download the bootloader on the second post of that thread. Flash it via recovery as well.
Sent from my Nexus 4 using Tapatalk 2
You must be using an HTC device if you have to relock which you have to do to get the OTA update you cannot flash it without relocking your bootloader. You would have to flash a custom 4.2.2 ROM to keep your phone unlocked and your phone allowing it to flash properly. Otherwise you must relock then flash the ota update then unlock and root again. You will have to wipe it and reset when you flash the custom rom. Just make a nandroid before you do anything.
Sent from my SGH-I747 using Tapatalk 2
AcquiredIntellect said:
You must be using an HTC device if you have to relock which you have to do to get the OTA update you cannot flash it without relocking your bootloader. You would have to flash a custom 4.2.2 ROM to keep your phone unlocked and your phone allowing it to flash properly. Otherwise you must relock then flash the ota update then unlock and root again. You will have to wipe it and reset when you flash the custom rom. Just make a nandroid before you do anything.
Sent from my SGH-I747 using Tapatalk 2
Click to expand...
Click to collapse
99% wrong for the Nexus 7. It might well be true for HTC devices, but is not germane to this device.
scream4cheese said:
Download the deodexed 4.2.2 stock rom and flash it via recovery.
http://forum.xda-developers.com/showthread.php?t=2148337
Don't forget to download the bootloader on the second post of that thread. Flash it via recovery as well.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Thanks! I was able to upgrade my Nexus 7 using the NRT and the stock rom from that link that you provided (and didn't have to relock my device or wipe it). However, I forgot to download and install the bootloader you mentioned. Do I still need to do this and/or is it too late to do it? Everything seems to be working fine (root included) so far. Thanks again!

[Q] Custom kernel and reverting to stock kernel

Hi,
Long time reader, first time poster. I just unlocked the bootloader and flashed the latest franco nightly with fastboot and have two questions:
1. From what I've understood, in order to perform OTA updates, I have to be on the stock kernel. Do I just flash the stock boot.img extracted from the factory image? I think I may have read something about additional changes being done to the system partition after flashing a custom kernel, but I can't seem to find the thread.
2. If I want to flash a different kernel or update the existing one, do I just flash the fastboot image? Does it just overwrite the existing one or do I have to perform any additional steps, like a wipe?
I have not flashed a custom recovery or rooted the device and would like to keep it that way.
Yes. Some kernels do modify system files. If you wanted to get back to stock for an ota you'd flash both the boot.img and the system.img
Sent from my Nexus 4 using xda premium
El Daddy said:
Yes. Some kernels do modify system files. If you wanted to get back to stock for an ota you'd flash both the boot.img and the system.img
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Thanks for the quick reply.
Do I keep my current settings and SMS messages when I flash system.img?
I'm guessing this is only necessary before performing an OTA update. If I'm only updating the kernel I just flash boot?
Eregoth said:
Thanks for the quick reply.
Do I keep my current settings and SMS messages when I flash system.img?
I'm guessing this is only necessary before performing an OTA update. If I'm only updating the kernel I just flash boot?
Click to expand...
Click to collapse
Yep your data will stay intact.
Yep just flash boot. Some say you should clear dalvik cache as well.
Sent from my Nexus 4 using Tapatalk 4 Beta
And what am i doing wrong, when the bootloader is not ending? i have root, unlocked bootloader, fancy kernel, cwmr and louder mod. i reverted the mod. flashed boot, system and recovery back to stock. i also want to perform an ota update.

5.1 Update with TWRP / Unlocked Bootloader

Hello,
Is it possible to update from 5.0 to 5.1 if i have unlocked the bootloader? I also have TWRP. I downloaded the 5.1 update, but when i want to install it the phone reboots and i get into TWRP menu. Is there any way to flash the OTA update without losing my current data on the phone?
Thank you!
Dealing with the same problem here.
IIRC TWRP automatically handled OTA updates in the past but it doesn't seem to be working anymore.
What was the procedure you were using before? You just installed as a normal zip from TWRP ?
For the ota to work you have to be 100% stock system, recovery, and kernel. I'd just flash the system and boot images from 5.1 in fastboot to update.
Sent from my Nexus 5 using XDA Free mobile app
So sad. I will lose all the stuff I have on the device.
tzeus said:
So sad. I will lose all the stuff I have on the device.
Click to expand...
Click to collapse
Not if you just flash the System and Boot images and remove -w from the Flashall.bat command to prevent the wipe instead of using the OTA. If you use the OTA, you will have to be stock as the previous posted stated, which since you are rooted with a custom recovery, would require you to flash the stock image, wiping your device, before you could run the OTA. This is the result of a change in the way Android 5.+ authenticates, which is why it worked previously. It now checks the whole partition, and one byte out of place will abort it.
That said, you can always backup your phone (which is a good thing to do anyway before flashing/upgrading) to prevent data loss.
Edit: Actually, thinking about it, I think Wugs added a No Wipe option to his toolkit, just flash System and Boot images from there is likely easiest for you.
Can i flash 5.1 directly ? And then root and unlock bootloader/flash TWRP again ?
tzeus said:
Can i flash 5.1 directly ? And then root and unlock bootloader/flash TWRP again ?
Click to expand...
Click to collapse
To be clear, you do not need to relock your bootloader. You can just flash 5.1 and then root and install a custom recovery like TWRP again, yes. If you are not familiar, Wug's NRT make this a breeze. Once you get 5.1 installed, just hit root. It will install the latest TWRP version and root/install SuperSU and Busybox for you.
I need to download the whole 5.1 image from Google. And flash just like any other ROM from TWRP ?
tzeus said:
I need to download the whole 5.1 image from Google. And flash just like any other ROM from TWRP ?
Click to expand...
Click to collapse
No, download the image and extract it. See this, http://forum.xda-developers.com/showthread.php?p=47156064
Sent from my Nexus 9 using XDA Free mobile app

Flashing factory image OTA using flash fire

What's up? I flashed the latest May OTA by following this video https://youtu.be/cvs0JQswTWw
I did all the steps minus the 'inject SuperSU setting' as I was gonna flash thru twrp myself when I reinstalled xposed, However when I try and boot into recovery I see a android with a triangle and exclamation mark.
My device is fully functioning with all my data intact but I am stuck without a recovery.
Previously I was on the April ota unlocked bootloader, stock rom, stock kernel, with Xposed installed. Hopefully someone can help me
Systemless root?
Sent from my Nexus 5 using Tapatalk
i2andog said:
Systemless root?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Yes, rooted by using this guide.
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
Flash twrp with flashify.
https://play.google.com/store/apps/details?id=com.cgollner.flashify&hl=sv
tarroyo said:
What's up? I flashed the latest May OTA by following this video https://youtu.be/cvs0JQswTWw
I did all the steps minus the 'inject SuperSU setting' as I was gonna flash thru twrp myself when I reinstalled xposed, However when I try and boot into recovery I see a android with a triangle and exclamation mark.
My device is fully functioning with all my data intact but I am stuck without a recovery.
Previously I was on the April ota unlocked bootloader, stock rom, stock kernel, with Xposed installed. Hopefully someone can help me
Click to expand...
Click to collapse
The OTA over wrote TWRP with stock recovery once it rebooted.
Sent from my Nexus 6P using XDA-Developers mobile app
Is the Stock flash image the same as the OTA image that google pushes out?
rsalas187 said:
Is the Stock flash image the same as the OTA image that google pushes out?
Click to expand...
Click to collapse
Yes
dratsablive said:
The OTA over wrote TWRP with stock recovery once it rebooted.
Sent from my Nexus 6P using XDA-Developers mobile app
Click to expand...
Click to collapse
To get TWRP back, I would have to reinstall thru adb correct?
Correct. Next time when flashing, before reboot to system, immediately go to recovery and flash SU Beta. This will prevent stock recovery from over writing TWRP.
Sent from my Nexus 6P using XDA-Developers mobile app

Can you use Twrp to flash stock roms?

I know I can go back to stock by using fastboot to reflash all the partitions, but can I use TWRP to just flash the stock rom and vendor images?
Yes. I use it every month to flash the latest security update.
Sent from my Nexus 6P using XDA Labs
lunotown said:
I know I can go back to stock by using fastboot to reflash all the partitions, but can I use TWRP to just flash the stock rom and vendor images?
Click to expand...
Click to collapse
Yes, unzip the zip inside the factory image zip, and choose install img instead of install zip. Only thing you have to flash with fastboot is the bootloader and radio. Best would be to stay at the latest ones. Before first boot flash supersu to prevent stock image to replace twrp with the stock recovery.
swallowingled said:
Yes. I use it every month to flash the latest security update.
Sent from my Nexus 6P using XDA Labs
Click to expand...
Click to collapse
Really? I thought the security patch OTAs did a check and if you don't have stock recovery it fails. Or do you flash the entire system partition
Sent from my Nexus 6P using Tapatalk
funnel71 said:
Really? I thought the security patch OTAs did a check and if you don't have stock recovery it fails. Or do you flash the entire system partition
Click to expand...
Click to collapse
Use the factory images from Google, I don't do OTA updates.
Sent from my Nexus 6P using XDA Labs

Categories

Resources