Flashing stock ROM - Nexus 6 Q&A, Help & Troubleshooting

Hello everyone,
My Nexus 6 has TWRP installed without any ROM (had CM12.1, but removed it). Now I want to flash my stock Lollipop 5.1.1 ROM, which is a .tgz file (thus, I can't flash using TWRP as it only supports .zip). Also, fastboot is not working in TWRP. What should I do to flash stock rom and unroot my device?

bunny26 said:
Hello everyone,
My Nexus 6 has TWRP installed without any ROM (had CM12.1, but removed it). Now I want to flash my stock Lollipop 5.1.1 ROM, which is a .tgz file (thus, I can't flash using TWRP as it only supports .zip). Also, fastboot is not working in TWRP. What should I do to flash stock rom and unroot my device?
Click to expand...
Click to collapse
Either use ADB or Nexus Root Toolkit. Easiest way in my opinion is to use the latter, pretty much just one click. Just use the flash stock plus unroot option.
Sent from my Nexus 6 using Tapatalk

Othoric said:
Either use ADB or Nexus Root Toolkit. Easiest way in my opinion is to use the latter, pretty much just one click. Just use the flash stock plus unroot option.
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
But it needs fastboot enabled, which is not there in twrp recovery.

bunny26 said:
But it needs fastboot enabled, which is not there in twrp recovery.
Click to expand...
Click to collapse
Fastboot is done in bootloader. Not recovery(TWRP).

prdog1 said:
Fastboot is done in bootloader. Not recovery(TWRP).
Click to expand...
Click to collapse
It takes forever to load in bootloader mode

bunny26 said:
It takes forever to load in bootloader mode
Click to expand...
Click to collapse
What are you loading. The TGZ not gonna go. Have to unzip the images. Once know how to do it the flashing is only 3-5 minutes depending on how fast you can type.

bunny26 said:
Hello everyone,
My Nexus 6 has TWRP installed without any ROM (had CM12.1, but removed it). Now I want to flash my stock Lollipop 5.1.1 ROM, which is a .tgz file (thus, I can't flash using TWRP as it only supports .zip). Also, fastboot is not working in TWRP. What should I do to flash stock rom and unroot my device?
Click to expand...
Click to collapse
May I ask why you removed cm12.1?
Sent from my Nexus 6 using Tapatalk

Related

[ROOT - FIX] Android 5.0

If you're experiencing that root doesn't work on some apps well this thing is for you. Chainfire may have been fixed all that issues.
To install flash this zip in your recovery (twrp or cwm):
http://download.chainfire.eu/624/SuperSU/BETA-SuperSU-v2.23.zip
Note that this SuperSU is beta!
So basically what you saying is that with this version of SuperSU its possible to use flashify /flash twrp or cwm, and then flash superSu 2.23 and we are rooted on 5.0??
Or its not that simple, i wont have pc for few days thats why I'm asking
Sent from my Nexus 5
grgana said:
So basically what you saying is that with this version of SuperSU its possible to use flashify /flash twrp or cwm, and then flash superSu 2.23 and we are rooted on 5.0??
Or its not that simple, i wont have pc for few days thats why I'm asking
Sent from my Nexus 5
Click to expand...
Click to collapse
U have custom recovery already installed?
Sent from my Android 5.0 Nexus 5
I'm not sure if root issue has got to do anything with nexus devices because we have ADB/Fastboot.
Root is working fine since the release of lollipop, basically all i did was flash the Permissive kernel + cf root from chainfire via fastboot (this is for people that do not have access to TWRP recovery in the first place on lollipop).
Link for kernel : http://download.chainfire.eu/580/SuperSU/nexus5-hammerhead-lpx13d-kernel.zip
Link for cf root : http://autoroot.chainfire.eu/
After you flash two of those via fastboot, you can just download latest twrp img file and rename it as "reocvery" then flash it via "fastboot flash recovery recovery.img" if you want twrp...
Link for twrp : http://techerrata.com/browse/twrp2/hammerhead
inferol said:
I'm not sure if root issue has got to do anything with nexus devices because we have ADB/Fastboot.
Root is working fine since the release of lollipop, basically all i did was flash the Permissive kernel + cf root from chainfire via fastboot (this is for people that do not have access to TWRP recovery in the first place on lollipop).
Link for kernel : http://download.chainfire.eu/580/SuperSU/nexus5-hammerhead-lpx13d-kernel.zip
Link for cf root : http://autoroot.chainfire.eu/
After you flash two of those via fastboot, you can just download latest twrp img file and rename it as "reocvery" then flash it via "fastboot flash recovery recovery.img" if you want twrp...
Link for twrp : http://techerrata.com/browse/twrp2/hammerhead
Click to expand...
Click to collapse
Well... That's an old kernel, although I don't know if anything has changed since then.
CF Auto Root also removes Maps and YouTube from the System/app Partition for some weird reason.
I always used Wugfresh's NRT. It did everything while I just sat and watched, lol.
Curiousn00b said:
Well... That's an old kernel, although I don't know if anything has changed since then.
CF Auto Root also removes Maps and YouTube from the System/app Partition for some weird reason.
I always used Wugfresh's NRT. It did everything while I just sat and watched, lol.
Click to expand...
Click to collapse
I didn't have that problem though, it works fine on my lollipop flawlessly.
Oh thats good for you but if i were you, I'd stay away from toolkit and do it manually.
inferol said:
Oh thats good for you but if i were you, I'd stay away from toolkit and do it manually.
Click to expand...
Click to collapse
Are there problems associated with it?
I've made sure I had ADB, Fastboot, etc setup before I used it. Nothing can really go wrong since it's a Nexus, lol.
Here's an actual link to the thread...
http://forum.xda-developers.com/showthread.php?t=2868133
Current bets version 2.25
Curiousn00b said:
Well... That's an old kernel, although I don't know if anything has changed since then.
CF Auto Root also removes Maps and YouTube from the System/app Partition for some weird reason.
I always used Wugfresh's NRT. It did everything while I just sat and watched, lol.
Click to expand...
Click to collapse
Did the same, no issues !
All in recovery flash -
1- http://forum.xda-developers.com/showthread.php?p=56702681
2- https://app.box.com/s/p946pbh4nlw83jucxwxt
3- https://app.box.com/s/y2yi8914ov3h2y3zgb57
Then reboot... Done... You have root access
Sent from my Android 5.0 Nexus 5
Ben36 said:
U have custom recovery already installed?
Sent from my Android 5.0 Nexus 5
Click to expand...
Click to collapse
Yes my bootloader is unlocked!
Edit : oh sorry, no custom recovery at the moment.
Sent from my Nexus 5
grgana said:
Yes my bootloader is unlocked!
Edit : oh sorry, no custom recovery at the moment.
Sent from my Nexus 5
Click to expand...
Click to collapse
Root? Flash a custom recovery with flashify?
Sent from my Android 5.0 Nexus 5
Ben36 said:
Root? Flash a custom recovery with flashify?
Sent from my Android 5.0 Nexus 5
Click to expand...
Click to collapse
Flashify is an app that have ability to flash custom recoveries among other stuff..only thing im not certain if root is required in order for app to work..especially on lollipop..
I think its not possible anyway so nevermind....
Sent from my Xperia L
grgana said:
Flashify is an app that have ability to flash custom recoveries among other stuff..only thing im not certain if root is required in order for app to work..especially on lollipop..
I think its not possible anyway so nevermind....
Sent from my Xperia L
Click to expand...
Click to collapse
Ah yeah. Lol. Forgot about that! Ha ha
Sent from my Android 5.0 Nexus 5
Please use the existing thread HERE

[Q] Updete Nexus 6 to newer build

I have Verizon Nexus 6 which came with LMY47E system but as it is well known LMY47I is now officially available. but with older radio. I'm already unlocked and rooted and have latest version of TWRP recovery installed instead of stock recovery. So my question is can I extract system.img and flash using TWRP install option and get newer system but keeping original radio and user data without data wipe? Should I wipe any cashe before flashing to avoid possible problems?
Anything else I should flash to make sure I will be able to use phone without problems while keeping root and unlocked bootloader or i will have to do unlocking and rooting again? Any help is appreciated
Fastboot flash system and boot and you'll be good.
Sent from my Nexus 6 using Tapatalk
david279 said:
Fastboot flash system and boot and you'll be good.
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
Thanks for quick reply. So I can't use TWRP recovery? Flashing boot will not wipe root and bootloader?
It's a lot easier to just flash system and boot in fastboot. Flashing system will erase root but after you flash system and boot go directly into recovery and flash Su.
Sent from my Nexus 6 using Tapatalk
What's on I that's not on E that you need? The changes are miniscule
Sent from my Google N6 on VZ
DebianDog said:
What's on I that's not on E that you need? The changes are miniscule
Sent from my Google N6 on VZ
Click to expand...
Click to collapse
Hoping that it might fix my WiFi issue
olegausa said:
Hoping that it might fix my WiFi issue
Click to expand...
Click to collapse
Don't think so. http://www.androidpolice.com/androi....0_r1-to-android-5.1.0_r3-AOSP-changelog.html
Sent from my Google N6 on VZ
I isn't meant for you E is
Any build posted on the factory images page for the Nexus 6 is meant for any Nexus 6 device.
slider112 said:
Any build posted on the factory images page for the Nexus 6 is meant for any Nexus 6 device.
Click to expand...
Click to collapse
That's exactly how I understand and that's why I"m asking if it's possible to do the upgrade using TWRP recovery by flashing just one IMG file at a time in specific sequence and than restarting the phone while still keeping current radio and data plus SuperSU at the end
You can't flash the IMG files in twrp. You'll need to use fastboot. Just flashed whichever files you need. I usually flash everything but recovery and then just reroot. Takes about 10 minutes.

Install latest OTA?

I have a VZW XT1096 that is rooted, unlocked and has TWRP. The update downloaded to my phone but the last time I tried to install an update it put my phone into a boot loop. Do I need to flash the stock recovery or is there more to it? Thanks!
GatorsUF said:
I have a VZW XT1096 that is rooted, unlocked and has TWRP. The update downloaded to my phone but the last time I tried to install an update it put my phone into a boot loop. Do I need to flash the stock recovery or is there more to it? Thanks!
Click to expand...
Click to collapse
There is more to it. You have to be 100% unmodified to take an OTA. So no root, xposed, busybox, modifications... your best bet if you modified a lot would be to flash your stock system and recovery images then take the OTA.
Sent from my XT1095 using Tapatalk
AGISCI said:
There is more to it. You have to be 100% unmodified to take an OTA. So no root, xposed, busybox, modifications... your best bet if you modified a lot would be to flash your stock system and recovery images then take the OTA.
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
Any idea where to find the stock .51 images? If it just like nexus where you fastboot flash each partition in bootloader mode?
GatorsUF said:
Any idea where to find the stock .51 images? If it just like nexus where you fastboot flash each partition in bootloader mode?
Click to expand...
Click to collapse
http://www.filefactory.com/file/5hj...ZON_XT1096_5.1_LPE23.32-25-3_cid2_CFC.xml.zip
Yes, the process is just like flashing them on the nexus.
Sent from my XT1095 using Tapatalk

[LG-F600S] TWRP porting from Stock Recovery.img

Try to port a TWRP recovery, but failed. I just used the "boot-repacker-4.0.1" to unpack and try to merge it to the twrp-2.8.7.0H901.img. My device was rooted and flash using flashify download from google play.
https://www.dropbox.com/s/ewkeg8kb5xbb366/Stock%20Recovery?dl=0 Stock Recovery.img
https://www.androidfilehost.com/?fid=24269982086988199 TWRP for LG-H901<--- can anyone help to port this one?
http://boot-recovery-repacker.software.informer.com/ Boot Repacker Tools for Pack and UnPack img
@hoi_lai can you tell me the way you rooted your phone? Mine having a F600L.
hoi_lai said:
Try to port a TWRP recovery, but failed. I just used the "boot-repacker-4.0.1" to unpack and try to merge it to the twrp-2.8.7.0H901.img. My device was rooted and flash using flashify download from google play.
https://www.dropbox.com/s/ewkeg8kb5xbb366/Stock%20Recovery?dl=0 Stock Recovery.img
http://boot-recovery-repacker.software.informer.com/ Boot Repacker
Click to expand...
Click to collapse
How to root F600s. Thanks!
I think the vendor did it by edited their .tot file with corresponding .dll before flashing it with LG flash tools. http://www.lgbbs.com/thread-7260-1-1.html
Well not sure if it has a unlocked no but you absolutely need a unlocked boot loader to even touch the stock recovery
mr turtle droid said:
Well not sure if it has a unlocked no but you absolutely need a unlocked boot loader to even touch the stock recovery
Click to expand...
Click to collapse
Under developer's option, there is a check box to enable oem unlock bootloader, so I don't think it was the cause. I can use adb to boot into fastboot mode. And with Flashfire.apk developed by the well known developer "Chainfire", I can even backup the whole phone and flash .zip file without custom recovery. However, If the system crash and cannot boot, you cannot get into the app to restore it. So, porting the custom recovery is crucial.
Use fastboot to flash the recovery image then?
Pretty sure the check box for enable oem unlock bootloader is on every v10 version. It's just that the only one that it actually *works* on and actually unlocks the bootloader is the USA t-mobile version.
Sent from my pretty nifty brand new LG V10
You can't replace the recovery while the bootloader is locked. The only partition than can be touched n modified is system.
Sent from my LG-H900 using Tapatalk
MysteryEmotionz said:
You can't replace the recovery while the bootloader is locked. The only partition than can be touched n modified is system.
Sent from my LG-H900 using Tapatalk
Click to expand...
Click to collapse
Is there any hope to have an exploit that can break the bootloader lock?
hoi_lai said:
Is there any hope to have an exploit that can break the bootloader lock?
Click to expand...
Click to collapse
I'm working on it but I work 6 days a week n have a family. I requested certain files that I needed that would help but never received them also
Sent from my LG-H900 using Tapatalk
Is this thread still alive?

Why TWRP deleted after booting?

I flashed latest TWRP with fastboot command on CMD.
TWRP works but after I reset the TWRP was deleted and I can get STOCK recovery.
I can boot up TWRP only if I connect my device to computer and use command FASTBOOT BOOT RECOVERY.IMG
Why?
If u flashed a rom,.then before booting you must flash the root file or a custom kernel in order to keep the TWRP.
Unleashed by my rooted OP3T on 8.0
I do not flashing another rom, only new open beta versions and flash files.
saarxee said:
I do not flashing another rom, only new open beta versions and flash files.
Click to expand...
Click to collapse
New open beta is another Rom buddy.
Unleashed by my rooted OP3T on 8.0
But I dont need custom kernel and root.
saarxee said:
But I dont need custom kernel and root.
Click to expand...
Click to collapse
You have to flash at least Magisk/SuperSU or custom kernel in order to keep TWRP intact after each reboot. Not sure about modified stock kernels with dm-verity and forceencrypt disabled, they may work too.
This is the nature of stock ROM.
saarxee said:
But I dont need custom kernel and root.
Click to expand...
Click to collapse
OOS enforces encryption and restores the stock recovery when you reboot your phone.
Custom ROMs, custom kernels, and Magisk all prevent that from happening.
If you want plain OOS (stable or Open Beta) and keep TWRP, then use Xennet's patched boot image. See https://forum.xda-developers.com/on...y-force-encryption-op3t-t3688748/post74155053
Sent from my OnePlus3T using XDA Labs
I flashed magisk on TWRP and TWRP deleted again after restart.
What can I do?
Reflash your current ROM via TWRP and flash Magisk right after ROM without restarting
Today I flashed open beta 24 and after that Magisk and wipe dalvik and restart recovery and I got stock recovery and dont TWRP.
saarxee said:
Today I flashed open beta 24 and after that Magisk and wipe dalvik and restart recovery and I got stock recovery and dont TWRP.
Click to expand...
Click to collapse
Like I said, use Xennet's patched boot image.
Sent from my OnePlus3T using XDA Labs
What to do about this file? flash it and install TWRP again? or only flash it and restart to recovery?
Why I need to change my boot file? If my device dont booting up after the flash?
saarxee said:
Why I need to change my boot file? If my device dont booting up after the flash?
Click to expand...
Click to collapse
Because stock will always revert to stock recovery.
If the device doesn't boot, then you're using an incompatible boot image
(it seems that Magisk/SuperSU isn't enough)
I flashed this boot patched image and choose restart to recovery and stock recovery again...
I have the same problem - twrp gets erased after booting in OS Since beta 24
I don't know guys what's wrong with your devices, I'm using Open Beta 24 with custom kernel and TWRP boots everytime.
I use stock kernel, maybe that is the clue.
Viktorrr said:
I use stock kernel, maybe that is the clue.
Click to expand...
Click to collapse
Then maybe you should flash the modified kernel that is especially modified to not restore the stock recovery.....
gizahNL said:
Then maybe you should flash the modified kernel that is especially modified to not restore the stock recovery.....
Click to expand...
Click to collapse
Correct, as I pointed out in this post https://forum.xda-developers.com/oneplus-3t/help/twrp-deleted-booting-t3769867/post76049932
Sent from my OnePlus3T using XDA Labs
gizahNL said:
Then maybe you should flash the modified kernel that is especially modified to not restore the stock recovery.....
Click to expand...
Click to collapse
BillGoss said:
Correct, as I pointed out in this post https://forum.xda-developers.com/oneplus-3t/help/twrp-deleted-booting-t3769867/post76049932
Sent from my OnePlus3T using XDA Labs
Click to expand...
Click to collapse
OP said that it didn't work:
I flashed this boot patched image and choose restart to recovery and stock recovery again...
Click to expand...
Click to collapse

Categories

Resources