How to update TWRP? - Nexus 5 Q&A, Help & Troubleshooting

With Goomanager gone how do you update TWRP?

milleirish said:
With Goomanager gone how do you update TWRP?
Click to expand...
Click to collapse
Flash the image in fastboot or find a flashable zip you can flash in twrp. Google recovery zip collection xda
Sent from my Nexus 9 using XDA Free mobile app

Flash it using fastboot
Sent from my Nexus 5 using XDA Free mobile app

Thanks I'll look for it when I get home.

milleirish said:
Thanks I'll look for it when I get home.
Click to expand...
Click to collapse
Use 2.8.1.0

Fastboot.

Fastboot with a PC, flashify directly on device, zip file in recovery, terminal emulator+IMG file...pick one.
#stayparanoid

You can also use the TWRP app from the Play Store, which is probably the easiest way.

So how can i flash my updated version? I downloaded the version on my phone its in my downloads. I boot into recovery go to flash and it does not recognize the img.

milleirish said:
So how can i flash my updated version? I downloaded the version on my phone its in my downloads. I boot into recovery go to flash and it does not recognize the img.
Click to expand...
Click to collapse
You need a zip file to flash in recovery. Use the flahify app if you want to flash the.img file or flash it in fastboot
Sent from my Nexus 9 using XDA Free mobile app

Related

Kernels...

How do I flash them? Do I have to flash via command prompt or can I flash via recovery?
Sent from my Nexus 5 using XDA Premium 4 mobile app
most are available through a flashable zip, those you can flash via your recovery. very few arent meant for all to use and are kept in a .img format, so those you flash via command line(but can flash via the flashify app as well).
FLBoy1991 said:
How do I flash them? Do I have to flash via command prompt or can I flash via recovery?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
inside recovery, I recommend TWRP

Question to update

http://forum.xda-developers.com/showthread.php?t=2523217
I have rooted stock phone with xposed and cwm installed otherwise fully stock....... So do I just follow section c and then b???
Thanks just checking if I'm right or totally wrong
Sent from my Nexus 5 using XDA Premium 4 mobile app
assuming you made no other system mods, yes, thats the order you would do it in.
Zepius said:
assuming you made no other system mods, yes, thats the order you would do it in.
Click to expand...
Click to collapse
Thanks. I still have questions.....do I lose root and when I install the ota.zip do I have to clear data etc. Cause I want to keep my data
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
Thanks. I still have questions.....do I lose root and when I install the ota.zip do I have to clear data etc. Cause I want to keep my data
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
you will lose root, but not your data.
just reflash the custom recovery in fastboot, then supersu from the custom recovery.
Zepius said:
you will lose root, but not your data.
just reflash the custom recovery in fastboot, then supersu from the custom recovery.
Click to expand...
Click to collapse
Errr....... I have cwm so why do I need fastboot and is there anyway to get root back?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Because the OTA may include a recovery and replace cwm
Sent from my Nexus 5 using Tapatalk
rootSU said:
Because the OTA may include a recovery and replace cwm
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
pretty much this. sometimes the OTA will replace the recovery.
Zepius said:
pretty much this. sometimes the OTA will replace the recovery.
Click to expand...
Click to collapse
Yep, anyway we look at this, fastboot is involved so embrace it and learn it because it's a must-know
Sent from my Nexus 5 using Tapatalk
rootSU said:
Yep, anyway we look at this, fastboot is involved so embrace it and learn it because it's a must-know
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
OK so I install using the CWM then when it installs I lose that beacase of the ota. So Install cwm back then root using fastboot?
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
OK so I install using the CWM then when it installs I lose that beacase of the ota. So Install cwm back then root using fastboot?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yep, sort of. You install cwm via fastboot but then you root via cwm by flashing a zip that has the root files in it.
The best bet is to get fastboot set up now before doing anything. I know it may seem daunting but once it'a set up, it's done and once you've used it, you'll realise you were worrying about nothing
Sent from my Nexus 5 using Tapatalk
rootSU said:
Yep, sort of. You install cwm via fastboot but then you root via cwm by flashing a zip that has the root files in it.
The best bet is to get fastboot set up now before doing anything. I know it may seem daunting but once it'a set up, it's done and once you've used it, you'll realise you were worrying about nothing
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
OK thanks. Just one tiny question that I need explaining. How do I install CWM through fastboot. Do I download the zip of cwm and boot into fastboot once I'm on 4.4.3 using the button sequence power - then install?
Do I need to install cwm if I don't want root? And in cwm do I just flash on top without clearing data and cache
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
OK thanks. Just one tiny question that I need explaining. How do I install CWM through fastboot. Do I download the zip of cwm and boot into fastboot once I'm on 4.4.3 using the button sequence power - then install?
Do I need to install cwm if I don't want root? And in cwm do I just flash on top without clearing data and cache
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
So a couple of things to clarify.
Ultimately, cwm is an .img file (a bit like a cd image). If you have a flashable zip of a recovery, it will contain a recovery.img.
Other flashable zips that contain .img files are kernels (boot.img) and radio (radio.img) but most other flashable zips such as ROMs and mods do not use image files.
Fastboot is a command line tool that is used to flash image files outside of flashable zips. So if you have a flashable zip of cement you want to use, you must extract the recovery.img
Fastboot works in 2 halves. Half of it is built into the bootloader of your nexus so to use fastboot you must boot into the bootloader and connect via USB.
The other half is the command line tool which is a fastboot.exe that you put on you computer and access via cmd (command prompt).
To use fastboot once it's configured, it's quite easy, you just type "fastboot flash" followed by the partition you want to flash too and the name of the file you want to flash. Usually you will only flash system.img, boot.img, radio.img or recovery.img and each flash to the same named partition.
Example
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash boot boot.img
One thing to remember though, is you either put these images in the same folder as fastboot.exe OR you type the full location when flashing for example
fastboot flash recovery c:\users\dec115e\desktop\recovery.img
Have a look in the 2 threads mentioned in my signature as they both should cover setting up fastboot.
Let us know if you have more questions
Sent from my Nexus 5 using Tapatalk
rootSU said:
So a couple of things to clarify.
Ultimately, cwm is an .img file (a bit like a cd image). If you have a flashable zip of a recovery, it will contain a recovery.img.
Other flashable zips that contain .img files are kernels (boot.img) and radio (radio.img) but most other flashable zips such as ROMs and mods do not use image files.
Fastboot is a command line tool that is used to flash image files outside of flashable zips. So if you have a flashable zip of cement you want to use, you must extract the recovery.img
Fastboot works in 2 halves. Half of it is built into the bootloader of your nexus so to use fastboot you must boot into the bootloader and connect via USB.
The other half is the command line tool which is a fastboot.exe that you put on you computer and access via cmd (command prompt).
To use fastboot once it's configured, it's quite easy, you just type "fastboot flash" followed by the partition you want to flash too and the name of the file you want to flash. Usually you will only flash system.img, boot.img, radio.img or recovery.img and each flash to the same named partition.
Example
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash boot boot.img
One thing to remember though, is you either put these images in the same folder as fastboot.exe OR you type the full location when flashing for example
fastboot flash recovery c:\users\dec115e\desktop\recovery.img
Have a look in the 2 threads mentioned in my signature as they both should cover setting up fastboot.
Let us know if you have more questions
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
So I extract the cwm.zip and find the recovery IMG. Boot into fastboot (thorough my phone or computer?!?!!?!?????) And install then its finished......
Sent from my Nexus 5 using XDA Premium 4 mobile app
rootSU said:
So a couple of things to clarify.
Ultimately, cwm is an .img file (a bit like a cd image). If you have a flashable zip of a recovery, it will contain a recovery.img.
Other flashable zips that contain .img files are kernels (boot.img) and radio (radio.img) but most other flashable zips such as ROMs and mods do not use image files.
Fastboot is a command line tool that is used to flash image files outside of flashable zips. So if you have a flashable zip of cement you want to use, you must extract the recovery.img
Fastboot works in 2 halves. Half of it is built into the bootloader of your nexus so to use fastboot you must boot into the bootloader and connect via USB.
The other half is the command line tool which is a fastboot.exe that you put on you computer and access via cmd (command prompt).
To use fastboot once it's configured, it's quite easy, you just type "fastboot flash" followed by the partition you want to flash too and the name of the file you want to flash. Usually you will only flash system.img, boot.img, radio.img or recovery.img and each flash to the same named partition.
Example
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash boot boot.img
One thing to remember though, is you either put these images in the same folder as fastboot.exe OR you type the full location when flashing for example
fastboot flash recovery c:\users\dec115e\desktop\recovery.img
Have a look in the 2 threads mentioned in my signature as they both should cover setting up fastboot.
Let us know if you have more questions
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Sorry ignore previous comment. If I don't want to root after I get 4.4.3 do I still have to do this?
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
Sorry ignore previous comment. If I don't want to root after I get 4.4.3 do I still have to do this?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Nope.
Sent from my Nexus 5 using Tapatalk
rootSU said:
Nope.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I watched a YouTube video explaining everything about fastboot so I understand now fully
Sent from my Nexus 5 using XDA Premium 4 mobile app
Excellent.
Sent from my Nexus 5 using Tapatalk
But once I install 4.4.3 will i still have my data? I might hold off rooting for the time being. I have the freedom app allowing me to have in app purchases so in 4,4,3 will these purchases still be there?
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
But once I install 4.4.3 will i still have my data? I might hold off rooting for the time being. I have the freedom app allowing me to have in app purchases so in 4,4,3 will these purchases still be there?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It depends how you do it but if you're using an OTA file or flashing the system.img and boot.img you won't lose data.
Only flashing a userdata.img which overwrites the data partition will loose your data
Sent from my Nexus 5 using Tapatalk
rootSU said:
It depends how you do it but if you're using an OTA file or flashing the system.img and boot.img you won't lose data.
Only flashing a userdata.img which overwrites the data partition will loose your data
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I'm using the cwm to flash the ota.zip cause I decided I am no longer going to root. Can I not flash on cwm???????
Sent from my Nexus 5 using XDA Premium 4 mobile app

Twrp disappears 5.0

I have unlocked boot loader, but when I flash twrp through command prompt it works that one time I boot into recovery from boot loader but afterwards it reverts back to stock recovery. Any help would be appreciated!
Sent from my Nexus 5 using XDA Free mobile app
Getxrealx said:
I have unlocked boot loader, but when I flash twrp through command prompt it works that one time I boot into recovery from boot loader but afterwards it reverts back to stock recovery. Any help would be appreciated!
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
What worked for me is to flash TWRP 2.8.1.0 in fastboot and after booting up flash 2.8.2.0 with Flashify.
gee2012 said:
What worked for me is to flash TWRP 2.8.1.0 in fastboot and after booting up flash 2.8.2.0 with Flashify.
Click to expand...
Click to collapse
Thanks! So what you suggest is to flash 2.8.1.0 flash the new beta of superuser, then flash the new version through flashify?
Sent from my Nexus 5 using XDA Free mobile app
Getxrealx said:
Thanks! So what you suggest is to flash 2.8.1.0 flash the new beta of superuser, then flash the new version through flashify?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Thats what did it for me
If you delete /system/etc/recovery-from-boot.bak (or similar) the recovery should stick also when flashing via fastboot and using TWRP 2.8.1.0
Sent from my Nexus 5 using XDA Free mobile app
Got it working. Thanks guys!
Sent from my Nexus 5 using XDA Free mobile app

Root by apk

Hi!Is there any apk (like Towelroot) for nexus 5 5.0.1 (LRX22C)? I am looking for solution without use of recovery (or Toolkits).Any help will be appreciated!Thanks!
themenucha said:
Hi!Is there any apk (like Towelroot) for nexus 5 5.0.1 (LRX22C)? I am looking for solution without use of recovery (or Toolkits).Any help will be appreciated!Thanks!
Click to expand...
Click to collapse
Why don't you just boot into a recovery and flash SuperSU. I'd recommend twrp
fastboot boot twrp.img
Then flash SuperSU in it.
It won't install twrp on you device
Sent from my Nexus 9 using XDA Free mobile app
Thanks, I know that.
I need to perform root "on the fly" .Without PC
That's why I am looking for application solution.
Thanks!
mind pulling me through the process... I got stock 5.1 with adb loaded & ready.
jd1639 said:
Why don't you just boot into a recovery and flash SuperSU. I'd recommend twrp
fastboot boot twrp.img
Then flash SuperSU in it.
It won't install twrp on you device
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
themenucha said:
Thanks, I know that.
I need to perform root "on the fly" .Without PC
That's why I am looking for application solution.
Thanks!
Click to expand...
Click to collapse
If you don't have TWRP installed, the apk is on Google Play here:
https://play.google.com/store/apps/details?id=eu.chainfire.supersu
Or, if you do have TWRP, DL the zip on your phone from here and do as @jd1639 suggested.
http://download.chainfire.eu/696/SuperSU/
Best of luck
joegestes said:
If you don't have TWRP installed, the apk is on Google Play here:
https://play.google.com/store/apps/details?id=eu.chainfire.supersu
Or, if you do have TWRP, DL the zip on your phone from here and do as @jd1639 suggested.
http://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip?retrieve_file=1
Best of luck
Click to expand...
Click to collapse
You probably should not be linking to SuperSU zip directly.
beekay201 said:
You probably should not be linking to SuperSU zip directly.
Click to expand...
Click to collapse
Maybe so.
I have edited the link from being direct to taking you the the CF-Root download page.

Can't install OTA update...

So I had my phone rooted, with TWRP recovery, and today I've received a notification for 5.1 update, and when I pressed Install and reboot, it rebooted directly into TWRP, so I can't update it (or didn't find a way). Is there any way to update it now without wiping data?
There's a whole thread on the ota process in the general forum. You should read it. The ota will not work with a custom recovery. You need the stock recovery which you can install using fastboot. There are other requirements too. You have to be 100% stock system, kernel and recovery.
Sent from my Nexus 5 using XDA Free mobile app
Just flash the ota zip via twrp you will loose all root and your system modifiactions which are reversible!
bhavstech said:
Just flash the ota zip via twrp you will loose all root and your system modifiactions which are reversible!
Click to expand...
Click to collapse
It won't work with 5.x. You need the stock recovery.
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
it won't work with 5.x. You need the stock recovery.
Sent from my nexus 5 using xda free mobile app
Click to expand...
Click to collapse
oh i didnt know that thanks!
AlexSRB said:
So I had my phone rooted, with TWRP recovery, and today I've received a notification for 5.1 update, and when I pressed Install and reboot, it rebooted directly into TWRP, so I can't update it (or didn't find a way). Is there any way to update it now without wiping data?
Click to expand...
Click to collapse
See quote below.
Elluel said:
download new factory images
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash radio radio.img
fastboot flash bootloader bootloader.img
boot into custom recovery
then flash SuperSU/other stuff if desired
Click to expand...
Click to collapse

Categories

Resources