How can I manually flash a downloaded recovery while the ROM is running?
Since some apps (such as ROM Manager) can flash a new recovery from within the app, I know it's possible.
Only certain recoveries can do this...other than that your only option with this device is the .img fastboot way...ROM manager offers the cwm recovery and the goo manager app has twrp (which you can install by going to the flash ROM section and downloading and installing recommended recovery)....among ra and anything else as far as I personally know you have to fastboot flash
Sent from my L1QU1D H311H0UND using xda app-developers app
I did this on my MyTouch 3G when I had it. I just tried it on a sense ROM but it doesn't seem to work. I get flash_image: not found.
Related
HEY GUYS everytime i attempt to flash a rom in TWRP that uses an aroma installer, it just reboots to the TWRP splash screen. im fastbooting the boot.img, altho that doesnt work; i use flash im GUI to flash the boot.img with the rest of the modules, but still nothing help?????
What version of twrp are you using? I would update twrp if you aren't on the latest since some roms require newer versions of recovery
om4 said:
What version of twrp are you using?
Click to expand...
Click to collapse
i am using v 2.1.8, or whichever version comes with the one click method .........thanks for the quick response! is there an updated version i can try??
Go to teamwin and download the latest, if you aren't familiar with fastboot then download the zip update and rename it following the instructions listed and in recovery mount external and copy the zip. Do not place the zip on internal, it will cause the phone to endlessly install and reboot (or reboot if you cancel) if you don't have a full system to boot to
easiest way is to download goo manager app.. top rite click the box.. then hit install openrecoveryscript.. that will install the latest twrp.. :good:
Trying to flash a 4.4 Rom which currently only works with Twrp 2.6.3.3 BUT........
Twrp 2.6.3.3 Will absolutely not flash for me wether it's trying with goo manager it finds the open recovery script but brings up a invalid error when trying to download it from goo
Trying to flash the whole openrecovery-Twrp-2.6.3.3.img file itself with flashify says it flashed fine but when I reboot it's still on the older twrp version.
What's the issue here ?
Is that version problematic?
Sent from my HTC One using xda app-developers app
try flashing from fastboot command on a pc. or go here and download the flashable zip and flash it in recovery. its 2.6.3.2 which works with kit kat roms
mikexmayhem said:
try flashing from fastboot command on a pc. or go here and download the flashable zip and flash it in recovery. its 2.6.3.2 which works with kit kat roms
Click to expand...
Click to collapse
You said to "go here" for the flashable zip. Where is this "here" that you speak of? I could really use that flashable zip.
My HTC one m8 has root access. I was using twrp recovery and stock rom. I wanted to flash a custom rom (tried cyanogen and pan) but twrp never helped me in finding my zip file. Then I tried swapping my recovery from twrp to cwm but that never happened and it got stuck in bootloader mode and then I did factory reset :/. And now everytime I try going into recovery it takes me to the bootloader mode. now I am trying flashing a custom recovery but first turning s_off and I tried firewater but it doesn't work.
What should I do?
It still has root access but s_on and don't know about bootloader on/off and no recovery.
Sent from my HTC one m8 using XDA Free mobile app
Fahad khan lodhi said:
My HTC one m8 has root access. I was using twrp recovery and stock rom. I wanted to flash a custom rom (tried cyanogen and pan) but twrp never helped me in finding my zip file. Then I tried swapping my recovery from twrp to cwm but that never happened and it got stuck in bootloader mode and then I did factory reset :/. And now everytime I try going into recovery it takes me to the bootloader mode. now I am trying flashing a custom recovery but first turning s_off and I tried firewater but it doesn't work.
What should I do?
It still has root access but s_on and don't know about bootloader on/off and no recovery.
Sent from my HTC one m8 using XDA Free mobile app
Click to expand...
Click to collapse
and does your device say unlocked at the top of your bootloader? if not follow this guild http://forum.xda-developers.com/showthread.php?t=2799796 , but use the twrp for you device carrier only
if you did it via recovery you should still be ok
go to your bootloader download this twrp img here http://techerrata.com/file/twrp2/m8/openrecovery-twrp-2.7.1.0-m8.img on your computer (for gsm) int. att (i'm guessing this is the device carrier you have)
ensure you have fastboot tools(adb tools installed)
put the .img in your folder that contains fastboot
open a cmd in that folder on your computer and make sure you put your phone in fastboot mode via your bootloader.
then type on your computer in cmd fastboot flash recovery (name of twrp you downloaded).img
then type fastboot erase cache
you now have twrp installed to get to it now select recovery from bootloader on your phone.
when installing custom roms in twrp you need to go to advanced wipe(select data,cache,delvik cache, and system then swipe the arrow bar beneath)
then press home and press install the go to the location on the sdcard where you put the rom.zip of the custom rom and select it. instalation will begin after completion reboot(done)
It says unlocked at the top but S On.
Shouldn't I turn s off before flashing recovery?
Sent from my unknown using XDA Free mobile app
@Fahad khan lodhi
it won't matter either way.
but just so you know what s-off is
s-off turns security mode off so you can swap out boot splashes and such, if you s-off and super cid you can flash any carrier's firmware,
also allows you to flash a kernel in recovery on older devices(m8 doesn't need s-off to flash kernel)
Can't S-Off unless you can boot. Firewater only works if you can get into the OS and then only for some devices. You should reinstall TWRP and see if you can boot to it then put a rom on an external SD card or use adb to push a rom zip to the internal if you don't have an SD card. Make sure that you fastboot flash the boot.img of whatever rom you are trying due to being S-On. If all that fails, then you will need to find the same or newer RUU from HTC for your carrier to restore the phone to stock and start over.
es0tericcha0s said:
Can't S-Off unless you can boot. Firewater only works if you can get into the OS and then only for some devices. You should reinstall TWRP and see if you can boot to it then put a rom on an external SD card or use adb to push a rom zip to the internal if you don't have an SD card. Make sure that you fastboot flash the boot.img of whatever rom you are trying due to being S-On. If all that fails, then you will need to find the same or newer RUU from HTC for your carrier to restore the phone to stock and start over.
Click to expand...
Click to collapse
Hey thank you very much.
It helped and i flashed latest twrp recovery and then flashed viper one m8 1.8.0 rom but the latest version is 2.4.0 and it says to have that your firmware should be 4.4.3 and i have 4.4.2.
Question is can i flash paranoid android coz that gives me 4.4.4 firmware and then flash latest viper one m8 version or i have to go to stock rom and update it and then flash latest version of viper?
Reply please.
Sent from my HTC One_M8 using XDA Free mobile app
Fahad khan lodhi said:
Hey thank you very much.
It helped and i flashed latest twrp recovery and then flashed viper one m8 1.8.0 rom but the latest version is 2.4.0 and it says to have that your firmware should be 4.4.3 and i have 4.4.2.
Question is can i flash paranoid android coz that gives me 4.4.4 firmware and then flash latest viper one m8 version or i have to go to stock rom and update it and then flash latest version of viper?
Reply please.
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
It should still work with the firmware you have. It's recommended but not necessary. And flashing PA would certainly not update your firmware. Firmware in this instance is mostly focused on the radio/baseband version and the touch drivers. These are not included in any kind of custom rom for your phone (nor 99% of android custom roms for anything). Much more important if you were originally on 4.2.2 or 4.3 and trying to run the new Viper. The only way to update firmware while S-On is via RUU or OTA. If you were S-Off then you could flash just the firmware package that has the hboot and stock recovery files removed.
Is there a way to root via linux? Im running the dev miui atm and looking to install aosp, is there a way to install twrp via mi recovery?
Sent from my Redmi Note 2 using Tapatalk
Rooting via linux? You can flash an alternative recovery (TWRP) using fastboot (which is available on linux) and from the recovery flash SuperSU which in turn will grant you root access. But since you're already on dev MIUI there's a simple 'Root enable' function built in already (can't remember exactly where it is, I think it's somewhere in the Security app) and there's no real need to flash SuperSU (unless you want more options/granular control). And, the easiest way to install TWRP is indeed by using the Updater app on MIUI (put twrp.zip on root of internal storage -> Updater app and then there should be an option called 'install/update package' or similar).
Cheers.
Unknownkj said:
Is there a way to root via linux? Im running the dev miui atm and looking to install aosp, is there a way to install twrp via mi recovery?
Sent from my Redmi Note 2 using Tapatalk
Click to expand...
Click to collapse
Since you was running dev miui, btw, if china dev rom and it was rooted. Used flashify which you can downloaded from playstore to flashed twrp.img. if you erer running global dev rom, you need to root it first. The easier was was used windroid in windows, used it to flash twrp and root your phone. Sorry i don't know the rooting method on linur. backup your data by using miui system backup first, But you can just used the phone by flashing china dev rom and used flashify to flash twrp.img.
Sent from my 2014817 using Tapatalk
you can just like in windows via fastboot. If youre phone is not detected on abd devices (like it happended to me) see this: http://en.miui.com/thread-197576-1-1.html . Dont forget to put the phone in "developer" mode.
You can flash TWRP through Flashify, an Android app.
No need to even touch a PC.
Cheers guys i will take a look at flashify. Almost forgot about this gem
Sent from my Redmi Note 2 using Tapatalk
you can use tutorial http://www.linuxslaves.com/2015/07/install-android-tools-adb-fastboot-on-ubuntu-linux.html for adb and fastboot installation
No need adb, fastboot, if you have a twrp you can found many supersu zip installable via recovery, if you not have the twrp recovery so you need fastboot and twrp version for your phone
I had twrp installed before, and i wanted to updae it. So i downloaded twrp app, downloaded twrp img file and try to flash it , and twrp app says flash webt fine. But when i reboot to recovery it keeps loading, like if it was a bootloop of TVE recovery... Idk what is happening, can someone help me?? Thanks!!
Heyyo, hmm is TWRP app installed as a system app? TWRP is able to do that from within TWRP recovery. Installing it from the Play store does not install it as a system app.
I do always prefer to install TWRP updates manually but that's just personal preference.
If you can't boot to recovery? You may need to flash TWRP via bootloader and a PC using...
fastboot flash twrp-3.2.1-2-x2.img
Good luck!
Oh, if you're rooted? I think you can use flashify app via play store to flash TWRP image to recovery... But tbh haven't tried it like that in a while but I imagine it still can work like that.