[Q] TWRP Flashable zip? - Nexus 6 Q&A, Help & Troubleshooting

Hi Nexus 6 Community
Im new to own a Nexus 6 but Im an "enthusiastic flasher" per say. I've being looking around with no luck so I was hopping someone will point me to the right direction:
Usually whenever I flash anything on my previous phones I like to flash TWRP again in case of boot loops or something flashing bad that could delete or corrupt my custom recovery. I'm rooted and installed the latest TWRP through fastboot, but as I previously said, I would like to have a flashable zip to ensure my recovery will be installed and have a higher chance of not being locked out of my phone.
Or I'd notice you can flash images through TWRP, will this re-install my recovery using the TWRP .img file?
I really appreciate all for your help, thanks

Once you boot into twrp for the first time it patches /system to prevent the stock rom from replacing it unless you choose the "keep system mounted as read-only." This option is only offered to you if you boot into twrp with an untouched /system. And as for worrying about being locked out of your phone, as long as you have an unlocked bootloader you can always use a google factory image to get back to stock w/o a custom recovery.
I'd assume no one's made a flashable zip for twrp because reflashing it wouldn't accomplish much of anything if you already have twrp to flash it in.

Related

[Q] Decrypt if I'm already rooted with unlocked boot loader??

So I have a T-mo rooted Nexus 6 running stock rom and kernel presently. I would like to decrypt the phone as I've heard/read I will see an improvement in both performance and battery life. So first question is what would be the best/easiest method to do this and second will I lose root and have to re-root after decrypting. Thanks in advance for any help.
Basically you will have to flash a different boot image that disable the encryption flag.
This will require you to completely wipe your device and start over. Yes, you would have to re-root but if you know how to flash a stock no-encrypt image then rooting is easy and simply requires you to flash the current SuperSU zip from recovery once you are all set up.
Basically follow the long version of this guide. Technically you don't need to flash completely stock and couold just follow the guide in the next section but if you have to factory reset anyway I would want to start fresh:http://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008
But use this no-encrypt boot image instead that matches the stock google rom you flash:http://forum.xda-developers.com/nexus-6/development/disable-forced-encryption-gain-root-t2946715
Once that is done you can flash recovery (or simply boot into TWRP temporarily if you want to keep the stock recovery) and flash Supersu.zip from here and then you're rooted again. I think you could also flash TWRP in the first step above when you are going back to stock but I usually do it at the end for some reason:http://forum.xda-developers.com/showthread.php?t=1538053
Thank you so much

How to encrypt with TWRP recovery installed

I realised I haven't re-encrypted my Titan yet since wiping it to correct some issues but when I tried, it just reboots. I've run into this issue before, which is caused by having a custom recovery (in my case TWRP) installed as Android uses the stock recovery to do the encryption. I don't particularly want to mess around flashing back the stock recovery and then back to TWRP, so is there a way to encrypt the phone without doing that, perhaps using ADB?
Bump. If the only way to encrypt it is to flash back the stock Recovery, could someone point me to where I can find some instructions on doing this and a download link please?
EDIT: Never mind, I found this now http://forum.xda-developers.com/showthread.php?t=2635706 so I'll use that to flash stock recovery.

Manually flashing 6.0, will this approach still work?

To start: 5.1.1 (LMY48M), rooted, with TWRP for recovery
For every 5.x update so far, this has been my procedure using fastboot:
Flash boot.img
Flash radio.img
Flash system.img
After successfully updated, I'd use WugFresh's Nexus toolkit to root and flash TWRP.
I'm a fan of not needing to flash userdata.img, as I don't think that should be necessary given that the OTA wouldn't wipe installed apps and such.
I've read other threads about using fastboot to upgrade and am concerned about the boot warnings, which seem to require a custom kernel to circumvent. My question is: will the above approach still work? Do I need to flash any other files? If I need to flash a custom kernel, where do I get it, how do I flash it (is it just a custom boot.img?), and at which point in the flash sequence should I apply it?
Secondly, has anyone tried gaining root through the Nexus toolkit once upgraded to 6.0?
I'm looking for recommendations so I don't spend hours trying to unbrick my device. Thanks!
You'll also want to flash the 6.0 bootloader and why are you using the toolkit to flash twrp when you can flash it in fastboot along with the rest of the files?
Ah OK, I'll flash the bootloader image as well. Anything else to be concerned with? The toolkit has a feature to root + flash twrp as a feature, so I just use that.
Do the bootloader first, then reboot the bootloader before you flash anything else. There are instructions floating around here some where or you can google nexus 6 flash factory images. You don't have to flash user data as this will format all you data/ apps.
Just download the latest SuperSu zip (2.50) and put it on your SDcard. If you flash as you suggested and then boot directly into recovery, you will still have TWRP. If you don't flash the stock recovery.img to replace TWRP, it will replace on first boot anyway, unless you root imeediately, but you are probably booting to use the toolkit, which replaces recovery only to have to use the toolkit to flash recovery anwyay.
So do your flashes, boot straight into recovery, flash the supersu zip on your sdcard. Done.

Do I have to flash TWRP everytime using Flashtool if I need to access it?

Newbie to the 'Dark Side of the Android World' and just curious.
well, after rooting your phone you only need to flash custom recovery once then you can access it as many times as you want
Your question is a little bit weird. Can you link me to a place of reference? Or at least explain what you are actually wanting to do?
Flashing TWRP is a one-time action, once flashed it remain on your Xperia SP. However, FlashTool doesn't offer flashing TWRP to other partitions via fastboot other than the "boot" partition. So far, the only way to correctly flash TWRP is via a recovery.
If you indeed flashed TWRP image via FlashTool, then you are actually putting TWRP into your boot partition, and this makes your device to only boot into TWRP infinitely until you flash a ROM (which will of course again override the boot partition).
The reason why I asked is because this method of accessing recovery is posted in my custom ROM guide, so I want to know if you get this kind of idea from my guide.
Thanks

Downgrading from Marshmallow if I have custom recovery

Hi everyone, this question was asked already but I just want to make sure that it's safe to flash a 5.1 based ROM over a currently active Marshmallow ROM using TWRP using only the usual wipes? I remember that I had to flash a custom boot image with a PC or something like that in order for the custom recovery to work on my K3 Note, which I received with Marshmallow installed, so I'm not sure if I can hop back to 5.1 if phone never even had it installed. Any advice?
livgrave said:
Hi everyone, this question was asked already but I just want to make sure that it's safe to flash a 5.1 based ROM over a currently active Marshmallow ROM using TWRP using only the usual wipes? I remember that I had to flash a custom boot image with a PC or something like that in order for the custom recovery to work on my K3 Note, which I received with Marshmallow installed, so I'm not sure if I can hop back to 5.1 if phone never even had it installed. Any advice?
Click to expand...
Click to collapse
Yes, IT IS SAFE but there are some points to note:
Every Rom Zip contains a boot.img file which is also flashed when the zip is flashed.
You do not need to replace boot.img in order to install TWRP, but you need it to flash SuperSU.zip to your device or install xposed
Remember You need to wipe data partition (No need to wipe Internal) in order to continue.
Thanks for the reply. I don't know why, but I remember when I was installing TWRP I couldn't boot into it until I flashed a new boot image or something like that. All I could boot into was the stock recovery or something like that. I needed to use SP flash tools and flash something in order to get it to work. So it's safe for me to try 5.1 ROMs? They seem to be more stable than custom Marshmallow ROMs....
livgrave said:
Thanks for the reply. I don't know why, but I remember when I was installing TWRP I couldn't boot into it until I flashed a new boot image or something like that. All I could boot into was the stock recovery or something like that. I needed to use SP flash tools and flash something in order to get it to work. So it's safe for me to try 5.1 ROMs? They seem to be more stable than custom Marshmallow ROMs....
Click to expand...
Click to collapse
You must have flashed the recovery.img ( and also the boot.img) because my root methods mention them.

Categories

Resources