Good evening. I need to update my TWRP but my USB port is broken. I read somewhere that you can just take a TWRP image, rename it recovery.img and then zip it up with no compression. Once flashed in TWRP, Android will do the rest, realize it is a new recovery image, and flash it to the recovery partition.
Is this accurate info? If not, does anyone know the correct process? Thanks in advance..
Sent from my 2013 Nexus 7
"Until death, I will remain a Dirty Unicorn.."
For anyone that finds this thread and wants the same question answered, download Flashify, and you can update TWRP directly from Flashify as long as you have root access.
Or you could just get the TWRP app and update thru there
Sent from my Nexus 7 using Tapatalk
Related
Hey guys, my GL is unlocked, rooted and I have installed the latest cwm trough Rom Manager.
The thing is that I can only enter in cwm if I reflash it in rom manager everytime.
Is that a normal behavior by now in the gl development or something is wrong?
should I try to flash a new boot.img via fastboot?
Thanks
Sent from my Galaxy Nexus using xda premium
I had the same issue that I posted about earlier. I could only get into CWM straight after I had flashed it. Same for doing it by fast boot. I have since flashed a rom from CWM and now it boots into it as it should do.
Hope that helps a little
Sent from my Galaxy Nexus using xda premium
lucasmine said:
Hey guys, my GL is unlocked, rooted and I have installed the latest cwm trough Rom Manager.
The thing is that I can only enter in cwm if I reflash it in rom manager everytime.
Is that a normal behavior by now in the gl development or something is wrong?
should I try to flash a new boot.img via fastboot?
Thanks
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
There is an auto recovery restore system on android Stock Roms.
Delete the 'recovery-from-boot.p' file from /system and CWM will not be overwritten after reboot.
Mark.
mskip said:
There is an auto recovery restore system on android Stock Roms.
Delete the 'recovery-from-boot.p' file from /system and CWM will not be overwritten after reboot.
Mark.
Click to expand...
Click to collapse
I'm not seeing this file in /system, /system/bin or in /system/etc on my completely stock ITL41D ROM.
Could this file only be present on the "google" ROM ITL41F ?
Seems odd they continue (think they started in Android 2.1) to use this method of reflashing a stock ROM after they allow the user to oem unlock and root ...
if you cannot find recovery-from-boot.p then try to find /system/etc/install-recovery.sh and you will see what is trying to be reflashed.
you can also check http://andwise.net/?p=292
finally you can go over your init.rc(you can also post it here) and check out what could cause this.
Btw let me know as it is interesting to know. Btw where you got your build from ?
I recently picked up a Nexus 7, unlocked it, and loaded KitKat yesterday with the factory image. I have set the device up now and would like to use a custom backup to take an image of the 7 and then store that image off of the device on an external drive since I only have a 16gb 7.
I have downloaded Clockworkmod ROM Manager to do this. Is it easily feasible to make a stock image and then transfer the image to an external drive? I'm having an issue installing the Clockworkmod Recovery tool, but I posted a question about that in a different forum.
Any advice would be appreciated.
Thanks,
Rick
I presume you have a custom recovery installed in addition to the ClockWorkMod Manager? If not, use the WugFresh Nexus Root Toolkit to install that, then boot into the recovery and select the backup option. It will create a folder on the root of your device called clockworkmod which will contain your backups. Just copy that to your PC, and transfer it back to the device when you need it.
C5Longhorn said:
I recently picked up a Nexus 7, unlocked it, and loaded KitKat yesterday with the factory image. I have set the device up now and would like to use a custom backup to take an image of the 7 and then store that image off of the device on an external drive since I only have a 16gb 7.
I have downloaded Clockworkmod ROM Manager to do this. Is it easily feasible to make a stock image and then transfer the image to an external drive? I'm having an issue installing the Clockworkmod Recovery tool, but I posted a question about that in a different forum.
Any advice would be appreciated.
Thanks,
Rick
Click to expand...
Click to collapse
I've used ROM Manager a fair amount for creating backups. It works well, but like was said previously, you'll need to flash a custom recovery. The two main choices are Clockworkmod (CWM) and Team Win Recovery Project (TWRP). CWM works well with ROM Manager in my experience on another device.
I've found TWRP much easier to use though. It features a touch interface. You'll be able to customize the backup file name if you initiate a backup in recovery mode. The file name will also allow spaces, while CWM doesn't.
Check it out at teamw.in/project/twrp2. I think the recoveries are the same, but make sure you select the correct Nexus 7 model (LTE or Wi-Fi). You can flash the image in the bootloader using fastboot. Instructions are avalaible on the TWRP website.
Wrngway said:
I've used ROM Manager a fair amount for creating backups. It works well, but like was said previously, you'll need to flash a custom recovery. The two main choices are Clockworkmod (CWM) and Team Win Recovery Project (TWRP). CWM works well with ROM Manager in my experience on another device.
I've found TWRP much easier to use though. It features a touch interface. You'll be able to customize the backup file name if you initiate a backup in recovery mode. The file name will also allow spaces, while CWM doesn't.
Check it out at teamw.in/project/twrp2. I think the recoveries are the same, but make sure you select the correct Nexus 7 model (LTE or Wi-Fi). You can flash the image in the bootloader using fastboot. Instructions are avalaible on the TWRP website.
Click to expand...
Click to collapse
TWRP will also allow you to backup, restore, and flash from a USB drive if you get a USB OTG cable.
Sent from my SM-P600 using XDA Premium HD app
nrage23 said:
TWRP will also allow you to backup, restore, and flash from a USB drive if you get a USB OTG cable.
Sent from my SM-P600 using XDA Premium HD app
Click to expand...
Click to collapse
I don't think TWRP is working with 4.4 build number KRT16S
Can anyone confirm? I just tried to flash the latest TWRP recovery 2.6.3.1 and it was not working when I rebooted into recovery. I was still getting the stock image.
Rick
C5Longhorn said:
I don't think TWRP is working with 4.4 build number KRT16S
Can anyone confirm? I just tried to flash the latest TWRP recovery 2.6.3.1 and it was not working when I rebooted into recovery. I was still getting the stock image.
Rick
Click to expand...
Click to collapse
TWRP working fine here..
C5Longhorn said:
I don't think TWRP is working with 4.4 build number KRT16S
Can anyone confirm? I just tried to flash the latest TWRP recovery 2.6.3.1 and it was not working when I rebooted into recovery. I was still getting the stock image.
Rick
Click to expand...
Click to collapse
Just backed up stock KitKat to a thumb drive and flashed newest 4.4 Omni Rom from thumb Drive. Use the WugFresh Nexus Toolkit to flash recovery. It makes it much simpler.
C5Longhorn said:
I don't think TWRP is working with 4.4 build number KRT16S
Can anyone confirm? I just tried to flash the latest TWRP recovery 2.6.3.1 and it was not working when I rebooted into recovery. I was still getting the stock image.
Rick
Click to expand...
Click to collapse
From what I've read, the stock recovery for KRT16S is the same as KRT16O. I'm running the latest TWRP on KRT16O without issue.
Assuming your bootloader is unlocked, you shouldn't have an issue. Can you list the steps you're using to flash recovery? Maybe you're missing something.
If you have the correct driver on your computer and you're using fastboot, the command should be "fastboot flash recovery [insert recovery file name].img" from the fastboot directory.
Wrngway said:
From what I've read, the stock recovery for KRT16S is the same as KRT16O. I'm running the latest TWRP on KRT16O without issue.
Assuming your bootloader is unlocked, you shouldn't have an issue. Can you list the steps you're using to flash recovery? Maybe you're missing something.
If you have the correct driver on your computer and you're using fastboot, the command should be "fastboot flash recovery [insert recovery file name].img" from the fastboot directory.
Click to expand...
Click to collapse
Ok, maybe I was doing something wrong. The command line indicated it was installing correctly when I flashed it. However, when I rebooted to recovery it was never TWRP.
I just installed Clockworkmod Recovery so it was probably an error on my end.
Now, since I have made a backup, how can I identify where it is stored? I would like to move it to my computer since I only have a 16gb 7.
Thanks for all the replies,
Rick
I can't remember the default location. I think it's sdcard/clockworkmod/backups.
If you remember the file name, you can just search for that using ES File Explorer or a similar app.
Wrngway said:
I can't remember the default location. I think it's sdcard/clockworkmod/backups.
If you remember the file name, you can just search for that using ES File Explorer or a similar app.
Click to expand...
Click to collapse
great, thanks for all the help. I will probably reflash back to stock and then rebuild my device and backup. I have OCD about making sure I've got the cleanest install and right now don't know that for sure since it's been trial and error.
They are saved in /mnt/shell/emulated/clockworkmod/backup
They are hidden from other apps, so you need a file explorer with root to move them.
Great, thank you for the reply. The help from folks on the forum has been fantastic and really helps a newb.
Rick
Please help me, regarding Android System Recovery
I actually thought I was booted into CWM Recovery, but I ended up booting into Android System Recovery. And I happen to wipe partition and factory reset already.
Now there is no rom to boot, and I am unable to flash custom rom due to the signature verification errors.
Is there anyway for me to recover from this?
Would appreciate your help.
Have you tried using Odin via download mode?
Sent from my GT-I8160 using Tapatalk
shaqman89 said:
Have you tried using Odin via download mode?
Sent from my GT-I8160 using Tapatalk
Click to expand...
Click to collapse
Yes that's what I did, but I seem to be not able to get to CWM Recovery and it always goes to Android System Recovery.
Anyway I recovered my system by flashing a stock rom so that I can restart.
How can I install CWM Recovery properly and make the device boot to CWM?
Kiwi8 said:
Yes that's what I did, but I seem to be not able to get to CWM Recovery and it always goes to Android System Recovery.
Anyway I recovered my system by flashing a stock rom so that I can restart.
How can I install CWM Recovery properly and make the device boot to CWM?
Click to expand...
Click to collapse
This is normal behaviour. After you restore using Odin, recovery would always be Android System Recovery. You need to flash a CWM recovery via temporary CWM first, to get CWM recovery.
Lookup for temporary CWM here in forum. And you'll find the thread that I mean.
shaqman89 said:
This is normal behaviour. After you restore using Odin, recovery would always be Android System Recovery. You need to flash a CWM recovery via temporary CWM first, to get CWM recovery.
Lookup for temporary CWM here in forum. And you'll find the thread that I mean.
Click to expand...
Click to collapse
I am not able to download the zip file, as it needs to download from an installer and run the installer from there. I ran through the whole step but did not end up with the update.zip.
Are there other ways for me to get the zip file, preferably through a direct download or torrent website?
Kiwi8 said:
I am not able to download the zip file, as it needs to download from an installer and run the installer from there. I ran through the whole step but did not end up with the update.zip.
Are there other ways for me to get the zip file, preferably through a direct download or torrent website?
Click to expand...
Click to collapse
Try this: http://d-h.st/2td
shaqman89 said:
Try this:
Click to expand...
Click to collapse
Thanks.... I do not need the file already.
The new CM11 rom by Chrono has been installed and running already. However, I am not able to connect via Wifi to my router.
What could be the issue?
So far I have tried:
ace2nutzer: cm-11-20150714-UNOFFICIAL-codina.zip
ChronoMonochrome: cm-11-20150730-UNOFFICIAL-codina-universal.zip
Both the wifi are not working. I was not able to connect to my D-Link 868L router.
I want to be able to flash my stock recovery when I no longer want TWRP or CWM. How would I go about doing this?
tcmoffitt said:
I want to be able to flash my stock recovery when I no longer want TWRP or CWM. How would I go about doing this?
Click to expand...
Click to collapse
Hello,
Thanks for using XDA Assist.
What device do you have?
___
v7
XDA Assist
v7 said:
Hello,
Thanks for using XDA Assist.
What device do you have?
___
v7
XDA Assist
Click to expand...
Click to collapse
HTC One m8 Tmobile
Thanks for the help guys I really appreciate it. This forum is just so helpful............. ---____---
Which T-Mobile ?
If it is T-Mob US .. there's a dedicated section for T-Mob US and you can find any info there.
tcmoffitt said:
Thanks for the help guys I really appreciate it. This forum is just so helpful............. ---____---
Click to expand...
Click to collapse
This is not possible to backup your stock recovery. When you need that you can download it simply (base on your phone's build number). Also you can extract stock recovery frome your ota zip update(the file with img format inside of firmware folder)
Arsinn said:
This is not possible to backup your stock recovery.
Click to expand...
Click to collapse
Actually, the following usually works:
This has to be done before flashing custom recovery. Unlock bootloader, then fastboot boot recovery.img
With "recovery.img" being a TWRP file located in your fasboot folder. This will boot into TWRP without actually flashing it. From there, you can pick recovery in the backup options, to backup stock recovery.
But yes, I agree that stock recovery images are pretty easy to obtain from these forums, or extracting from a OTA or ROM.zip.
redpoint73 said:
Actually, the following usually works:
This has to be done before flashing custom recovery. Unlock bootloader, then fastboot boot recovery.img
With "recovery.img" being a TWRP file located in your fasboot folder. This will boot into TWRP without actually flashing it. From there, you can pick recovery in the backup options, to backup stock recovery.
But yes, I agree that stock recovery images are pretty easy to obtain from these forums, or extracting from a OTA or ROM.zip.
Click to expand...
Click to collapse
Hi, redpoint73...
Maybe I'm missing something here, but I'm not seeing an option to backup the Recovery in TWRP 2.8.7.0... Just Boot, Cache, System, Data and Android Secure are available (see attached screenshot). I remote booted TWRP from my laptop, as I did when I rooted Marshmallow around a fortnight ago, in order to keep the stock recovery intact.
It would certainly be useful to be able to backup the stock recovery via TWRP... I just haven't found a way of accomplishing it .
-----
But a possible option to backup the stock recovery would be to use the Flashify app...
Remote boot TWRP from your PC, acquire root, and then run Flashify...
Flashify PlayStore link...
https://play.google.com/store/apps/details?id=com.cgollner.flashify
XDA discussion thread...
http://forum.xda-developers.com/showthread.php?t=2349847
This app uses <dd=if/of> commands to backup and potentially restore the boot and/or recovery images.
Although it does require root to work.
I've used Flashify on my Nexus 7 and Nexus 9 in the past, but never on my M8, except to backup... never to restore, so I cannot personally vouch for it's safety on the M8.
-----
What I'm unsure of about Flashify...
@redpoint73, @ckpv5, maybe you guys could shed some light on this...
Would such a <dd=if/of> created backup of stock recovery be flashable via fastboot?
And would it be safe to do so?
I know that TWRP uses <dd=if/of> commands, having looked through TWRPs logs... but I'm not quite sure how fastboot works when it comes to flashing stuff, and I'm very wary about doing it myself or recommending it for others.
Normally, you'd just use the Flashify app to restore any recovery/boot.img backups you've previously made...
But Flashify requires root to work, and with an unrooted system, this is isn't viable. So could one use fastboot in the normal way to flash such a previously made backup of the stock recovery?
-----
Anyhow, it's not critical at the moment for me, because I've not flashed TWRP to my M8, my stock recovery remains intact.
-----
I would recommend anybody reading this seeking to root their Marshmallow M8 to just remote boot TWRP from their PC with fastboot boot twrp.img (ie., don't actually flash it), perform an unrooted Nandroid backup first...
...and then flash Chainfire in the usual way.
This leaves the stock recovery intact, which will be required for future OTAs.
And there still might be some...
My Nexus 9 receives monthly security patches from Google (probably after the StageFright debacle of last year), and it may well be that the M8 will also continue to receive security patches, despite it being nearly two years old.
So you need to be ready... with an unrooted/untouched Nandroid of your own creation and the stock recovery.
I know that Chainfires systemless root method is supposed to address this issue, but if you're going to mess with system, you should have a Nandroid backup anyway...
...just in case.
Rgrds,
Ged.
Funny, I use the fastboot boot option to boot into TWRP saving my original recovery.
Hello guys, i have a problem with my nexus 5X: the type-c port doesn't work anymore for pc transfers (i tried with 3 different cables and 2 PCs), i guess that only the data rail is gone because the charging still works.
My problem is that i don't have the stock rom and i need it to send it back for warranty so i'd like to ask if someone can give me a link to flash the stock rom (and recovery!!) to flash everything through twrp and if it is possible.
Thanks, Luca
harkan91 said:
Hello guys, i have a problem with my nexus 5X: the type-c port doesn't work anymore for pc transfers (i tried with 3 different cables and 2 PCs), i guess that only the data rail is gone because the charging still works.
My problem is that i don't have the stock rom and i need it to send it back for warranty so i'd like to ask if someone can give me a link to flash the stock rom (and recovery!!) to flash everything through twrp and if it is possible.
Thanks, Luca
Click to expand...
Click to collapse
What you're asking for only exists in one place.
https://developers.google.com/android/images
Your main option is to download the latest factory image. Unzip the archive so that you have the system, boot, and vendor images available. Boot into TWRP 3.0+ and do a factory reset then select Install/Install image to flash those three images individually. Bootloader and radio cannot be installed in this manner.
Your alternative is to use the Google stock Full OTA images:
https://developers.google.com/android/ota
Then use Flashfire to install this image:
https://forum.xda-developers.com/general/paid-software/flashfire-t3075433
Sent from my Nexus 5X using Tapatalk
SlimSnoopOS said:
What you're asking for only exists in one place.
https://developers.google.com/android/images
Your main option is to download the latest factory image. Unzip the archive so that you have the system, boot, and vendor images available. Boot into TWRP 3.0+ and do a factory reset then select Install/Install image to flash those three images individually. Bootloader and radio cannot be installed in this manner.
Your alternative is to use the Google stock Full OTA images:
https://developers.google.com/android/ota
Then use Flashfire to install this image:
https://forum.xda-developers.com/general/paid-software/flashfire-t3075433
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
thanks for you comment: i didn't know that i can flash stock rom too through twrp recovery
if i install flashfire i would be able to flash the recovery?
harkan91 said:
thanks for you comment: i didn't know that i can flash stock rom too through twrp recovery
if i install flashfire i would be able to flash the recovery?
Click to expand...
Click to collapse
Yes it can. Btw, stock recovery will replace TWRP on reboot if you flash Nougat images for boot, system, and vendor in TWRP.
Sent from my Nexus 5X using Tapatalk