[Q] Switch from CWM to TWRP - Nexus 5 Q&A, Help & Troubleshooting

I have CWM installed now, but I need to RMA because of some excessive screen bleeding in the upper left corner of my N5. On the return to stock thread, there is a section that involves resetting the tamper flag, and it says that it works best with TWRP.
I've only used CWM before, so can I just download TWRP and flash it in adb the same way I initially installed CWM?
Thanks for any help.

vinnycogs820 said:
I have CWM installed now, but I need to RMA because of some excessive screen bleeding in the upper left corner of my N5. On the return to stock thread, there is a section that involves resetting the tamper flag, and it says that it works best with TWRP.
I've only used CWM before, so can I just download TWRP and flash it in adb the same way I initially installed CWM?
Thanks for any help.
Click to expand...
Click to collapse
yes just download the .img from twrp website and flash in recovery. "fastboot flash recovery filename.img"

Boblank said:
yes just download the .img from twrp website and flash in recovery. "fastboot flash recovery filename.img"
Click to expand...
Click to collapse
awesome thanks man, that worked perfectly. one other question if you know this, when I do the factory reset in CWM and in TWRP, it seems to get hung up and never finishes. Is there anything I can do to make sure that it fully wipes?
I was going to play around with a few ROMs before my new N5 gets here.

vinnycogs820 said:
awesome thanks man, that worked perfectly. one other question if you know this, when I do the factory reset in CWM and in TWRP, it seems to get hung up and never finishes. Is there anything I can do to make sure that it fully wipes?
I was going to play around with a few ROMs before my new N5 gets here.
Click to expand...
Click to collapse
I don't know why TWRP hangs during factory reset, but you can get the same result using fastboot. Just flash the userdata partition and erase the cache partition.

Related

Can not reboot to recovery

I'm trying to flash an update to PAC Rom, but I can't get my phone to reboot to recovery (or even shut down).
When I use the power menu, no matter what I choose, the phone does a hot boot. When I hold power and volume down it will go to bootloader then I can access TWRP, but I can't clear dalvik or cache as it says that it can't mount the partitions. The ROM runs fine however and I can access all my data so the cache can't be corrupt.
What can I do here? Thanks to those who help!
Sounds like somethings wrong with your recovery. Get into the bootloader and reflash TWRP using "fastboot flash recovery FileNameOfTWRP.img"
Chromium said:
Sounds like somethings wrong with your recovery. Get into the bootloader and reflash TWRP using "fastboot flash recovery FileNameOfTWRP.img"
Click to expand...
Click to collapse
Would using flashify work here?
It's been a recurring theme on the PAC forum
Synyster06Gates said:
Would using flashify work here?
It's been a recurring theme on the PAC forum
Click to expand...
Click to collapse
Yea that should work too, but if not, fastboot is the way to go.
EDIT : Very very strange. Flashing TWRP again via Flashify got it to work. It seems something in PAC Rom is corrupting the recovery. I think if I get this all worked out then I'm going to have to go back to DK until it's all worked out. I wish there was another ROMs with all the same features as these two but got updates (whereas DK doesn't any more) and is stable enough to DD (lots of FC with PAC).
EDIT 2: Just tried to reboot into recovery again. After booting teh ROM just for a few minutes the recovery was corrupted. I can't access internal memory from recovery any more, even if I get it to boot. It doesn't make any sense as the ROM has full access to it all.
To be clear, TWRP says Internal Storage - 0
Synyster06Gates said:
EDIT : Very very strange. Flashing TWRP again via Flashify got it to work. It seems something in PAC Rom is corrupting the recovery. I think if I get this all worked out then I'm going to have to go back to DK until it's all worked out. I wish there was another ROMs with all the same features as these two but got updates (whereas DK doesn't any more) and is stable enough to DD (lots of FC with PAC).
EDIT 2: Just tried to reboot into recovery again. After booting teh ROM just for a few minutes the recovery was corrupted. I can't access internal memory from recovery any more, even if I get it to boot. It doesn't make any sense as the ROM has full access to it all.
To be clear, TWRP says Internal Storage - 0
Click to expand...
Click to collapse
Here could be the solution. http://forum.xda-developers.com/showthread.php?t=2513701
Flash the cache.img
if it wont work, will have to flash-all
GUGUITOMTG4 said:
Here could be the solution. http://forum.xda-developers.com/showthread.php?t=2513701
Flash the cache.img
if it wont work, will have to flash-all
Click to expand...
Click to collapse
That worked! Thank you!
I actually used to go around the Q&A forum telling people to do just that when they were having issues with wiping on early TWRP versions. Surprised I didn't think to try it. All back on DK now and hunting for a new ROM. :victory:
Synyster06Gates said:
That worked! Thank you!
I actually used to go around the Q&A forum telling people to do just that when they were having issues with wiping on early TWRP versions. Surprised I didn't think to try it. All back on DK now and hunting for a new ROM. :victory:
Click to expand...
Click to collapse
Sounds like you solved it, but I think you could've also done an adb reboot recovery command. Not sure if that works though since I usually only use fastboot.
Sent from my Nexus 5 using Tapatalk
numel007 said:
Sounds like you solved it, but I think you could've also done an adb reboot recovery command. Not sure if that works though since I usually only use fastboot.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
After flashing teh recovery again, I could get INTO it, but the data was not showing up so I couldn't actually do anything from within TWRP. It read I had 0mb internal storage.

Can't get my new tf700t to root or install recovery.

Hey guys.
I just got a very nice condition used TF700T. I am trying to get recovery to install so I can flash a rom. I used the Transformer Toolkit to unlock it, which worked, it says device unlocked when booting.
But I absolutely cannot get it to Root, or flash recovery. If I try using debugfs root generic 2.3 it fails to write everything. If I try to flash any recovery with the toolkit it downloads and says flashing but just sits at about 25%, it boots my device into the screen that says usb fastboot mode with the three icons that say RCK Android and factory wipe. If I click the RCK it says rebooting and then goes to android mascot installing icon, but then the one with an X and error appears. What on earth am I doing wrong?
Is it the latest 4.2 update locking me out? Can I downgrade? I just can't get anything to root or flash recovery no matter what I do. I feel a little defeated being a long time member and 3 phone habitual rom flasher :crying:\
Any ideas what i'm missing?
benjmiester said:
Hey guys.
I just got a very nice condition used TF700T. I am trying to get recovery to install so I can flash a rom. I used the Transformer Toolkit to unlock it, which worked, it says device unlocked when booting.
But I absolutely cannot get it to Root, or flash recovery. If I try using debugfs root generic 2.3 it fails to write everything. If I try to flash any recovery with the toolkit it downloads and says flashing but just sits at about 25%, it boots my device into the screen that says usb fastboot mode with the three icons that say RCK Android and factory wipe. If I click the RCK it says rebooting and then goes to android mascot installing icon, but then the one with an X and error appears. What on earth am I doing wrong?
Is it the latest 4.2 update locking me out? Can I downgrade? I just can't get anything to root or flash recovery no matter what I do. I feel a little defeated being a long time member and 3 phone habitual rom flasher :crying:\
Any ideas what i'm missing?
Click to expand...
Click to collapse
What custom recovery are you installing? You may want to try with fastboot or adb method to flash your custom recovery which doesn't require rooted device, good luck....
LetMeKnow said:
What custom recovery are you installing? You may want to try with fastboot or adb method to flash your custom recovery which doesn't require rooted device, good luck....
Click to expand...
Click to collapse
Well I tried TWRP 2.7.1.1 I believe and also CWM , and Phil's custom touch CWM that all three are options to flash with the all in one ADB Toolkit app via USB from windows (http://forum.xda-developers.com/showthread.php?t=2094746)
How do I do the Fastboot method? I read about that, but have no idea how the process goes. I'm ok with skipping root and going straight to recovery and a rom because I can just flash superuser after if the rom isn't rooted already.
benjmiester said:
Well I tried TWRP 2.7.1.1 I believe and also CWM , and Phil's custom touch CWM that all three are options to flash with the all in one ADB Toolkit app via USB from windows (http://forum.xda-developers.com/showthread.php?t=2094746)
How do I do the Fastboot method? I read about that, but have no idea how the process goes. I'm ok with skipping root and going straight to recovery and a rom because I can just flash superuser after if the rom isn't rooted already.
Click to expand...
Click to collapse
I wanted to try an app I used to get twrp onto my LG G2 for the first time called "flashify" that worked like a charm. I just installed the app, downloaded the twrp file and flashed it then it reboots to recovery, but it requires root as far as I know. Does unlocking the boot loader allow things like this?
benjmiester said:
I wanted to try an app I used to get twrp onto my LG G2 for the first time called "flashify" that worked like a charm. I just installed the app, downloaded the twrp file and flashed it then it reboots to recovery, but it requires root as far as I know. Does unlocking the boot loader allow things like this?
Click to expand...
Click to collapse
Unlocked bootloader is allowed you to install the custom recovery so you can install the custom ROM, I believed..... You can check this guide out to see if you can setup your fastboot/adb. It is very easy to follow for the beginners, good luck....:fingers-crossed:
http://forum.xda-developers.com/showthread.php?t=2688891
benjmiester said:
I wanted to try an app I used to get twrp onto my LG G2 for the first time called "flashify" that worked like a charm. I just installed the app, downloaded the twrp file and flashed it then it reboots to recovery, but it requires root as far as I know. Does unlocking the boot loader allow things like this?
Click to expand...
Click to collapse
Once you unlocked the bootloader you can flash a custom recovery and after that - the sky's the limit.
Flashify works great, and it is a wonderful tool as long as you're able to boot into Android.
My problem with Flashify and Goomanager and TwrpManger is that it saves users from setting up a proper ADB/fastboot connection from PC to tablet.
As long as you can boot Android, these apps are great. But what if you can't? Once the tablet doesn't boot it's so much harder (and often too late) to get the correct drivers installed for ADB and fastboot.
So if you flash your recovery with any of those apps still make sure you have access with ADB and fastboot from your PC.
You will regret it if you don't - I (almost) guarantee it.
That's an excellent point. Thanks. I did actually get the Fastboot method to work. The problem was that I kept clicking into RCK recovery when I ws supposed to just leave it on that screen to push twrp instead. I got recover and just got done doing a backup. I'm about the flash my first rom (http://forum.xda-developers.com/showthread.php?t=2672751). Do we need to do factory reset / wipe data/system etc? The instructions on the ROM post say to just flash it from twrp so I'm guessing it has a built in wipe feature during install?
benjmiester said:
That's an excellent point. Thanks. I did actually get the Fastboot method to work. The problem was that I kept clicking into RCK recovery when I ws supposed to just leave it on that screen to push twrp instead. I got recover and just got done doing a backup. I'm about the flash my first rom (http://forum.xda-developers.com/showthread.php?t=2672751). Do we need to do factory reset / wipe data/system etc? The instructions on the ROM post say to just flash it from twrp so I'm guessing it has a built in wipe feature during install?
Click to expand...
Click to collapse
The instructions in the OP actually say that you have to do a full wipe (Factory Wipe) in TWRP coming from a different rom base. Which would be you unless you had a version of CROMBi-KK installed prior to this.
It's the default selection under the Wipe menu in TWRP. Just do that and then flash the rom and your ok.
Do not use the Factory Reset option from Settings or the Wipe Data option from the BL menu! Do this in TWRP only!
Cool thanks. I figured so because that's the norm with roms on all my phones. Thanks a lot for the help guys. So happy to be get KK running on my new toy!
Just wanted to update. KK 4.4.3 rom flashed and booted in. It's much nicer. The stock was a little laggy, and KK breathed a lot of new life into my ancient single core 1.0 ghz Galaxy S that I use as a music player so I figured it would help make the tab real nice and snappy too. Gotta go now, much fun to be had!!

Recovery not starting

Hi,
I wanted to flash the just released lollipop image so I unlocked my phone and updated TWRP from 2.8.0.1 to 2.8.1.0. Then I started Recovery and it was doing some werid thing in a list (was too fast), then rebooted. Recovery came up again (only the image of TWRP) and a restart again. Since then always when I try to go into recovery the starting image will show up, after 2-3 secs it gets black for half a second, then the image will show up again. This is a permanent loop. I flashed back to the old recovery but nnothing, still the same (and this one worked before!).
Hopefully someone of you knows whats wrong.
Thanks,
S3cret
reflash twrp recovery. but to correct you on your mistake before you do it, factory imgs are not flashable via any recovery, you can only flash them via fastboot.
I reflashed recovery several times now. I just thought being on the latest recovery version would be good. I know how to flash the lollipop image via fastboot, but I still need recovery for root.
I locked and unlocked the bootloader again and the same happened. Recovery started, doing some weird things and then the loop again.
Edit: Ok, I fixed it, somehow, I dont rly know how...
TWRP only starts after flashing it on my device. After a reboot, it doesn't work.
vercety974 said:
TWRP only starts after flashing it on my device. After a reboot, it doesn't work.
Click to expand...
Click to collapse
exactly the same here
Yup, dead Android with red warning triangle appears...
My stock recovery is broken after fastbooting the latest 5 image. Shows a red triangle above the laying down android.
How are we supposed to fix this?
Moreover, I've just reflashed the entire rom, and can't access the stock recovery. But the stock recovery seems to work beacause I can to factory reset via the settings menu, backup and restore.... Maybe it is the new security policy from google, to avoid that a thief make a factory reset directly from the recovery ?
So we can't navigate in the stock recovery anymore ?
Highway 55 said:
After fastboot flashing the .img files you need to (WITHOUT REBOOTING) flash custom recovery, TWRP etc... After that from the bootloader reboot into TWRP or whatever. When your in the custom recovery you need to adb push a permissive stock kernel or custom kernel as well as suspersu.zip. Again, without rebooting into the system, flash the kernel first then supersu. Now you can reboot into the system. ?
Click to expand...
Click to collapse
vercety974 said:
Moreover, I've just reflashed the entire rom, and can't access the stock recovery. But the stock recovery seems to work beacause I can to factory reset via the settings menu, backup and restore.... Maybe it is the new security policy from google, to avoid that a thief make a factory reset directly from the recovery ?
So we can't navigate in the stock recovery anymore ?
Click to expand...
Click to collapse
Yes I think it does have to do with the new selinux security stuff. I don't know the specifics. Maybe you want to refer to this thread. http://forum.xda-developers.com/showthread.php?p=56538538 @rootSU knows far more than I do. [emoji6]
Highway 55 said:
Yes I think it does have to do with the new selinux security stuff. I don't know the specifics. Maybe you want to refer to this thread. http://forum.xda-developers.com/showthread.php?p=56538538 @rootSU knows far more than I do. [emoji6]
Click to expand...
Click to collapse
It is exactly as he said in the post you linked.
Flash TWRP recovery and immidiately after run auto root. Then TWRP recovery will survive system boots.

I accidentally wiped the whole Phone

Without taking any backup, i accidently wiped/formatted my Nexus5( Cache partition/system/data/persist/firmware) using ClockworkMod
My Phone won't Boot now, it's get stuck on GOOGLE Screen.
Can anyone please help me out Step by Step.
Hansil said:
Without taking any backup, i accidently wiped/formatted my Nexus5( Cache partition/system/data/persist/firmware) using ClockworkMod
My Phone won't Boot now, it's get stuck on GOOGLE Screen.
Can anyone please help me out Step by Step.
Click to expand...
Click to collapse
Since you wiped /system, you have no OS installed. So, either use fastboot to flash a system image, or transfer a ROM over to it and flash it via recovery. No biggie. I do recommend switching to TWRP from ClockworkMod though. Is ClockworkMod even supported anymore?
_MetalHead_ said:
Since you wiped /system, you have no OS installed. So, either use fastboot to flash a system image, or transfer a ROM over to it and flash it via recovery. No biggie. I do recommend switching to TWRP from ClockworkMod though. Is ClockworkMod even supported anymore?
Click to expand...
Click to collapse
This guy is on the money. You've wiped it anyway, might as well just flash a fresh factory image and start from scratch, nice and clean.
Hansil said:
Without taking any backup, i accidently wiped/formatted my Nexus5( Cache partition/system/data/persist/firmware) using ClockworkMod
My Phone won't Boot now, it's get stuck on GOOGLE Screen.
Can anyone please help me out Step by Step.
Click to expand...
Click to collapse
I advise you to download Nexus root toolkit from Wugfresh. After you installed it (assuming you already have adb drivers), under "Restore/ Upgrade/Downgrade" click on "Soft-Bricked/Bootloop" and then on "Flash Stock + Unroot". The appliciation tells you what to do next.
sp_greek said:
I advise you to download Nexus root toolkit from Wugfresh. After you installed it (assuming you already have adb drivers), under "Restore/ Upgrade/Downgrade" click on "Soft-Bricked/Bootloop" and then on "Flash Stock + Unroot". The appliciation tells you what to do next.
Click to expand...
Click to collapse
And I advise against using toolkits. If you rely solely on toolkits, you'll never learn how to fix problems such as this. It's best to familiarize yourself with fastboot, you'll find that it is nowhere near as difficult to use as it seems, and you'll be equipped to get yourself out of pretty much any situation imaginable. Not to mention that toolkits are the culprits for many "Help! I bricked my phone and don't know what to do!" threads.
Here's a great guide on using fastboot- http://forum.xda-developers.com/showthread.php?t=2277112
_MetalHead_ said:
Since you wiped /system, you have no OS installed. So, either use fastboot to flash a system image, or transfer a ROM over to it and flash it via recovery. No biggie. I do recommend switching to TWRP from ClockworkMod though. Is ClockworkMod even supported anymore?
Click to expand...
Click to collapse
Thanks got my phone working now..:good:
how do i uninstall ClockworkMod? and install TWRP.
i tried installing TWRP over Clockworkmod but seems it does not support need to find a way to uninstall clockwork 1st..
Hansil said:
Thanks got my phone working now..:good:
how do i uninstall ClockworkMod? and install TWRP.
i tried installing TWRP over Clockworkmod but seems it does not support need to find a way to uninstall clockwork 1st..
Click to expand...
Click to collapse
You don't need to uninstall CWM first, just use fastboot to flash TWRP with this command-
Code:
fastboot flash recovery recoveryname.img
Hansil said:
Thanks got my phone working now..:good:
how do i uninstall ClockworkMod? and install TWRP.
i tried installing TWRP over Clockworkmod but seems it does not support need to find a way to uninstall clockwork 1st..
Click to expand...
Click to collapse
No need to uninstall just:
fastboot flash recovery recovery-filename.img if recovery is in the same directory as fastboot or
fastboot flash recovery /path/to/your/recovery/recovery-filename.img
if the recovery is under /path/to/your/recovery/
You may drag and drop the file to you terminal or commandline...
L
Sent from my Nexus 7 using XDA Free mobile app
There are also apps that allow you to flash a recovery image from within the OS. I prefer that because I keep my bootloader locked and flash the stock recovery for a little extra bit of security when I don't need to flash anything.
sp_greek said:
I advise you to download Nexus root toolkit from Wugfresh. After you installed it (assuming you already have adb drivers), under "Restore/ Upgrade/Downgrade" click on "Soft-Bricked/Bootloop" and then on "Flash Stock + Unroot". The appliciation tells you what to do next.
Click to expand...
Click to collapse
NOOOOOOOO - if you're a noob, just don't advise people please!

i accidentally flashed a custom rom over oxygenos lol help (really though help)

Hi.
So this was pretty stupid of me. I was trying to flash LiquidRemix onto my OP6, but I forgot to wipe the system partition. Flashed the rom, then blu_spark twrp, and rebooted into recovery to flash gapps and all. Got a black screen with a static LED. Didn't think that was a big issue cause this has happened before with normal TWRP on OB6 or OB7. Tried hard resetting to see if I could get into system, same result. Tried fastboot flashing 9.0.2, no help. And finally tried flashing OB9 via fastboot, and also no help.
I've reverted back to my tiny S6 and have sent repair request to OP. I haven't gotten anything back yet, so I thought in the mean time, I'd look for help on XDA and try to fix it before having the chance to send it in.
Any help/advice would be greatly appreciated.
Cheers
// EDIT
Figured out how to fix it. Used the MSMDownloadTool to unbrick my device. Worked wonders. Thanks to r/oneplus Discord
I did something like that I had to format data after I flashed the stock rom
mightyblazer said:
I did something like that I had to format data after I flashed the stock rom
Click to expand...
Click to collapse
How did you get to format? I really can't get into the OS or recovery at all
I was actually able to boot into TWRP maybe you can get into fastboot? And try flashing TWRP again
mightyblazer said:
I was actually able to boot into TWRP maybe you can get into fastboot? And try flashing TWRP again
Click to expand...
Click to collapse
I'm able to get into fastboot, but even if I fastboot boot [insert twrp file name here], it'd still result in the blank screen and static LED
Hmm I don't know then sorry
Try
fastboot flash boot twrp.zip
Then
fastboot reboot
You will need to use full stock rom first before doing anything else though.
I was in the same boat as you the other day. I flashed different versions of twrp until i managed to boot one because some twrp isn't compatible with pie.
Lol I never wipe system...
Might sound like a "hard-bricking" issue since you cant boot into the OS nor recovery. There 's a hard brick recovery guide, but it'll put you down to oreo OOS: https://forum.xda-developers.com/oneplus-6/how-to/tool-msmdownloadtool-v4-0-international-t3798892
As long as you can boot into fastboot, you can follow the guide's process with no problem.

Categories

Resources