Changing custom recovery - 3 questions - One (M7) Q&A, Help & Troubleshooting

I have ClockWorkMode Touch recovery 6.
1) I want to change recovery. How to do that?
Can I use:
Code:
fastboot flash recovery recovery.img
And if I want to try another recovery img, can I use same code?
2)I found Flashify apk can I do with this app?
3) What happen if I get error when flashing?
Can phone previous recovery still works?

atlantisu21 said:
I have ClockWorkMode Touch recovery 6.
1) I want to change recovery. How to do that?
Can I use:
Code:
fastboot flash recovery recovery.img
And if I want to try another recovery img, can I use same code?
2)I found Flashify apk can I do with this app?
3) What happen if I get error when flashing?
Can phone previous recovery still works?
Click to expand...
Click to collapse
Yes you can use Flashify or Rashr app if you are rooted.There should not be any error,I use flashify and rashr all the time.
Sent from my HTC One using XDA Free mobile app

atlantisu21 said:
I have ClockWorkMode Touch recovery 6.
1) I want to change recovery. How to do that?
Can I use:
Code:
fastboot flash recovery recovery.img
And if I want to try another recovery img, can I use same code?
2)I found Flashify apk can I do with this app?
3) What happen if I get error when flashing?
Can phone previous recovery still works?
Click to expand...
Click to collapse
1 yes that is the correct command to flash recovery as long as you rename your file to recovery.img.
It's always recommended to do fastboot erase cache to clear old recovery data after flashing a new recovery and then fastboot reboot-bootloader for the changes to take effect.
2 apps are not recommended for flashing deep system files.
3 depends on the error you get, chances of getting an error are very slim and usually because of something simple like the recovery file is in the wrong location or you typed the command wrong.
Have a look for the twrp app in the playstore, most M7 users use twrp recovery now and it's required for most custom roms

Related

[Q] Install TWRP over CWM

HEy Guys, i just wanted to Install the flashable zip of the newest TWRP over the current CWM. It said okay, but i still get the CWM Recovery. The App Rom Manager says that my current recovery is TWRP, but it isnt, i only get to CWM.
Im not into that stuff like adbfiles or fastboot mode, this is to hard for me to try.
Isnt there another option to get TWRP running?
thanks
Should not be flashing the phone if adb/ fastboot is too hard
hennesch said:
HEy Guys, i just wanted to Install the flashable zip of the newest TWRP over the current CWM. It said okay, but i still get the CWM Recovery. The App Rom Manager says that my current recovery is TWRP, but it isnt, i only get to CWM.
Im not into that stuff like adbfiles or fastboot mode, this is to hard for me to try.
Isnt there another option to get TWRP running?
thanks
Click to expand...
Click to collapse
Dude go 2 fastboot. Then flash the twrp file the same way u did when u first installed cwm after unlocking the bootloader(using command prompt). There might b a flashable zip directly, but I wud advise u use the fast boot method.
Dont flash. Use fastboot.
Put the recovery file in your SDK root on your computer and hook up your phone
Go to fastboot in bootloader
Then
Fastboot flash recovery recovery.zip
Another option is Flashify app on play store. Flash recovery with that without the adb hassle.
problem in recovery verion
hi guys..... my problem is ia install kikat 4.4 on old recovery version.and make factory reset.and now i cann't connect mobile on pc.how can i install another recovery version now...thanks to all

[Q] Can you just boot twrp recovery?

All,
I'm coming from a nexus environment where I've been able to do fastboot boot twrp-2.6.3.1-ghost-4.4.img rather than fastboot flash recovery twrp-2.6.3.1-ghost-4.4.img since I'm hoping to keep the stock recovery while installing supersu. It complains about "(bootloader) Command restricted" with the MotoX even though my bootloader is unlocked. Is this typical of Moto devices? Do I actually need to flash twrp, then supersu and then the stock recovery if that's the final result I want? FWIW, I want SU on it but I'd like to also receive future OTA updates w/o too much dorking around of at all possible.
thanks peterb
Are you using mfastboot or just regular fastboot?
I fastboot twrp no problem. I did however mfastboot the system.img . But to answer your question twrp will ask you if you want to root when you go to reboot.
Fastboot flash recovery twrp 2.6.3.1-ghost-4.4.img is the command, when you flash do not reboot the device to the system but boot into recovery instead, you should be good to go and twrp should ask if you wish to root, if not just download the flashable supersu zip
Sent on my Moto X
I understand that you should flash if you want to have TWRP installed on your phone but that's not what I want. I'd like to just boot into TWRP, install the SuperSU.zip and then boot back up as normal leaving the stock recovery in place so that I will continue to get OTA updates. I get that this is likely not the norm but it's what I did with my N4 to get SuperSu so that I could update boot.prop for flashing a hybrid radio. Doing this made it easier to get the phone back to OTA ready w/o having to flash the stock recovery back.
I found a couple of posts in the N4 where the fastboot command failed and you needed to start using the "-c" command. I was wondering if this was the problem I was running into. The argument for -c is a bit cryptic so I worry that the one I found is likely N4 specific:
fastboot -c "lge.kcal=0|0|0|x" boot customrecovery.img
Basically what I'm wondering is if anyone has been able to just boot into TWRP w/o actually flashing it to the recovery partition.
If this is not possible then I'll flash TWRP, root and then flash the stock recovery back on since I did get the stock 4.4 image from Motorola.
thanks peterb
flashallthetime said:
Fastboot flash recovery twrp 2.6.3.1-ghost-4.4.img is the command, when you flash do not reboot the device to the system but boot into recovery instead, you should be good to go and twrp should ask if you wish to root, if not just download the flashable supersu zip
Sent on my Moto X
Click to expand...
Click to collapse
Interested in this as well, for booting kernels. Device support has been hit-or-miss for me in the past.
And folks, he's asking about fastboot's ability to launch an image _without_ flashing. This is a somewhat esoteric/advanced use.
I'm interested in this too even though I have a locked Moto X.
I didn't know this was possible, huh. As for our device, it'll probably help if we can figure out what that -c command means.
Sent from my Moto-X (GSM DE) using the xda-developers app
thehockeydude44 said:
I didn't know this was possible, huh. As for our device, it'll probably help if we can figure out what that -c command means.
Sent from my Moto-X (GSM DE) using the xda-developers app
Click to expand...
Click to collapse
If I'm remembering right, google took the ability to boot a recovery without loading one away in 4.2. We tried to do this on the HTC 1 Google edition when we pulled its partitions to make a system dump. It failed.
OTA fails when the device is rooted, even if you have the stock recovery.
The OTA zip checks the system partition. If there is any single modification, it fails.
you can just:
- flash twrp to recovery partition
- reboot into recovery
- install supersu
- reboot into fastboot
- flash stock recovery
- reboot to system
you have installed supersu and still have stock recovery -> you can take OTAs
edit: i just read that even with stock recovery, if u are rooted the ota won't work
Yea, this is the other way to do it. It's just a bummer if one can't use the flexibility to just boot into recovery. Note that I still seem to be able to boot into custom recovery on my Nexus 4 that's running KitKat. I'm curious about the comment about not getting an OTA with su installed. I know that with a modified build.prop and radio, the N4 wouldn't update but I could adb sideload successfully once I put build.prop back and the stock radio on. I figured the OTA would just unroot and then I'd have to do the process again.
Anyway, this was my plan B, just would have preferred to boot recovery.
peterb
waiflih said:
you can just:
- flash twrp to recovery partition
- reboot into recovery
- install supersu
- reboot into fastboot
- flash stock recovery
- reboot to system
you have installed supersu and still have stock recovery -> you can take OTAs
edit: i just read that even with stock recovery, if u are rooted the ota won't work
Click to expand...
Click to collapse
if u want to "unroot" to take otas, u can just flash stock system
waiflih said:
you can just:
- flash twrp to recovery partition
- reboot into recovery
- install supersu
- reboot into fastboot
- flash stock recovery
- reboot to system
you have installed supersu and still have stock recovery -> you can take OTAs
edit: i just read that even with stock recovery, if u are rooted the ota won't work
Click to expand...
Click to collapse
I am interested in this as well. How do we get a copy of the stock recovery to reflash?
Also, I have had rooted stock and custom recoveries and have received OTA's before (but they were on Nexus devices).
droiddog said:
I am interested in this as well. How do we get a copy of the stock recovery to reflash?
Also, I have had rooted stock and custom recoveries and have received OTA's before (but they were on Nexus devices).
Click to expand...
Click to collapse
you can take it from the the file used in rsdlite, according to you fw version
The only reason I want the stock recovery is because I think you can't remotely lock or erase your device on a custom recovery. Does anyone know anything to the contrary? Thanks.

How to flash images with fastboot?

My phone is almost bricked
I was trying to install sevenrov v3.2 while i was on v3.1 and i ****ed up everything while doing a fullwipe
Right now there is only fastboot&rescuemode available
twrp is not working, because it does no read the digitizer(i cannot press anything)
i can install cwm but should i ?
I believe that is best to flash images through fastboot.
But what images should i flash?
Where to find them?
How should i flash them?
revery0 said:
My phone is almost bricked
I was trying to install sevenrov v3.2 while i was on v3.1 and i ****ed up everything while doing a fullwipe
Right now there is only fastboot&rescuemode available
twrp is not working, because it does no read the digitizer(i cannot press anything)
i can install cwm but should i ?
I believe that is best to flash images through fastboot.
But what images should i flash?
Where to find them?
How should i flash them?
Click to expand...
Click to collapse
Oh dear! You are in a mess. All I can suggest is that you flash the stock recovery and then install a stock ROM for your phone using the force update (dload) method that has been described in other threads. Then you can return to a custom ROM of your choice. As far as I know CWM for this phone is only in Chinese so it may be of little value unless you understand the language.
arthios said:
Oh dear! You are in a mess. All I can suggest is that you flash the stock recovery and then install a stock ROM for your phone using the force update (dload) method that has been described in other threads. Then you can return to a custom ROM of your choice. As far as I know CWM for this phone is only in Chinese so it may be of little value unless you understand the language.
Click to expand...
Click to collapse
cwm has english also but it has no use for me
Only fastboot works
dload method does not complete, the blue progress bar goes up to to 85% and stays there forever...
I am looking for a mathod to create a flashable zip for fastboot
to use fastboot flash filename.zip command
or flash each partition seperatly , i tried the method with huawei extractor
extracted the images system,root,boot,cache,cust,userdata
flashed each one on their partitions
but without success
revery0 said:
cwm has english also but it has no use for me
Only fastboot works
dload method does not complete, the blue progress bar goes up to to 85% and stays there forever...
I am looking for a mathod to create a flashable zip for fastboot
to use fastboot flash filename.zip command
or flash each partition seperatly , i tried the method with huawei extractor
extracted the images system,root,boot,cache,cust,userdata
flashed each one on their partitions
but without success
Click to expand...
Click to collapse
Why you do not flash twrp recovery in fastboot mode and then install a flashable ZIP?
Edit:
In this thread, are the same probs:
http://forum.xda-developers.com/showthread.php?p=56634210
Short: install recovery and try to flash a rom again.
I See your post in this thraed that this not work for you but i think you have to try it again. In fastboot mode you can flash recovery and cust. Its that working?
Can you explain step by step what are you doing?
87insane said:
Why you do not flash twrp recovery in fastboot mode and then install a flashable ZIP?
Edit:
In this thread, are the same probs:
http://forum.xda-developers.com/showthread.php?p=56634210
Short: install recovery and try to flash a rom again.
I See your post in this thraed that this not work for you but i think you have to try it again. In fastboot mode you can flash recovery and cust. Its that working?
Can you explain step by step what are you doing?
Click to expand...
Click to collapse
First of all thank you,
Right now my phone is in a bootloop(not more than 6 sec duration, with short vibration)
3 buttons , power button tricks and combos don't seem to work
The only way to exit the bootloop is by sending the fastbbot reboot recovery command and wait for some loops while you are doing the vol+vol-power combo
Then the phone enters fastboot rescue mode
I get reply when sending the fastboot devices command,
And the phone has unlocked bootloader (OEM command)
I can flash images extracted from the official 135 ROM
I tried cust boot user data system cache recovey , and the are all flashed correctly
But I can't get into recovery mode aftethe reboot (yes I am doing the 3 buttons trick)
I tried different SD cards with different update.app each time, from b135 official and sevenrom3 (yes I put them in /dload folder)
I even tried flashing cwm and twrv recovery images in the recovery partition, but I got in a bootloop after the reboot again
So I am asking if there is anyway to flash the partitions correctly from fastboot or maybe send a kernel image with some offset and run it with the fastboot command
Of course adb does not work, not responding
Maybe reparation the storage?
I don't know
And I am desperare...
revery0 said:
First of all thank you,
Right now my phone is in a bootloop(not more than 6 sec duration, with short vibration)
3 buttons , power button tricks and combos don't seem to work
The only way to exit the bootloop is by sending the fastbbot reboot recovery command and wait for some loops while you are doing the vol+vol-power combo
Then the phone enters fastboot rescue mode
I get reply when sending the fastboot devices command,
And the phone has unlocked bootloader (OEM command)
I can flash images extracted from the official 135 ROM
I tried cust boot user data system cache recovey , and the are all flashed correctly
But I can't get into recovery mode aftethe reboot (yes I am doing the 3 buttons trick)
I tried different SD cards with different update.app each time, from b135 official and sevenrom3 (yes I put them in /dload folder)
I even tried flashing cwm and twrv recovery images in the recovery partition, but I got in a bootloop after the reboot again
So I am asking if there is anyway to flash the partitions correctly from fastboot or maybe send a kernel image with some offset and run it with the fastboot command
Of course adb does not work, not responding
Maybe reparation the storage?
I don't know
And I am desperare...
Click to expand...
Click to collapse
Okay...
your system is so messy. we must bring fully to factory condition first time.
Plesse try to flash stock recovery img. (In your post you write only that you have tryed twrp/cwm).
And then try update in recovery.
I not think your phone is broken. You can try my tool (http://forum.xda-developers.com/asc...eandadjust-t2941186/post56774286#post56774286). There is a stock recovery img in it. In your case you have to flash cust img to.
87insane said:
Okay...
your system is so messy. we must bring fully to factory condition first time.
Plesse try to flash stock recovery img. (In your post you write only that you have tryed twrp/cwm).
And then try update in recovery.
I not think your phone is broken. You can try my tool (http://forum.xda-developers.com/asc...eandadjust-t2941186/post56774286#post56774286). There is a stock recovery img in it. In your case you have to flash cust img to.
Click to expand...
Click to collapse
Thank you but I already did flash the official recovery image, both extracted from a factory update.app and your recovery.IMG also... None of them worked.... Iam still in the same bootloop.
I am starting to believe that the partitions have been ****ed up.
Any way to repartition?
Also is there a procedure to create a flashable zip with huawei software extractor? I edited the accompaning XML to add the p7 device on the list (copy data from p6 and changed the name) created the zip but fastboot doesn't flash the zip because its missing 2 XML files which I can't remember their name.
And at this point I would like to give my 2 cents of advice to everyone who might listen,
Before you flash anything from a microsd, first verify the card with h2testw, and always use high quality microsd and never ever stop a flashing procedure by any means. . i would like to make it more extreme and advise to use a software with copy verification (like richcopy) when you copy files that are going to be flashed.
I tend to believe that a faulty microsd is the cause of my problems... Even though I checked the microsd afterwards and didn't got any errors.
I would advise the ROM creators to append this on their posts!

Fresh root, recovery not booting

Finally decided to root my own device to find out that the recovery is not working when I try going into it on the bootloader mode. It is a rooted device and I've tried flashing the twrp recovery through the command prompt and also through the flashify app. It only works when I try booting in from the flashify app but doesn't work through the bootloader, when trying it through the bootloader i select the recovery and the phone turns off. Anyone have a clue of how I could try to make it work, I would appreciate any help. Thanks
Blue.F150 said:
Finally decided to root my own device to find out that the recovery is not working when I try going into it on the bootloader mode. It is a rooted device and I've tried flashing the twrp recovery through the command prompt and also through the flashify app. It only works when I try booting in from the flashify app but doesn't work through the bootloader, when trying it through the bootloader i select the recovery and the phone turns off. Anyone have a clue of how I could try to make it work, I would appreciate any help. Thanks
Click to expand...
Click to collapse
Looks like a system error which can be solved only if you flash the factory image again
which command did yu use "fastboot flash recovery (twrp File name ).img
If it didn't work, flash cwm and then twrp 8.6.0. Maybe it'll work Or flash twrp img while ur in twrp itself. Or download advanced reboot if ur using stock rom.
james11705 said:
Looks like a system error which can be solved only if you flash the factory image again
which command did yu use "fastboot flash recovery (twrp File name ).img
If it didn't work, flash cwm and then twrp 8.6.0. Maybe it'll work Or flash twrp img while ur in twrp itself. Or download advanced reboot if ur using stock rom.
Click to expand...
Click to collapse
Yea it was the fastboot flash recovery trwp.... then tried it and didnt work. Thanks I'll try out the other options you gave me. I tried reflashing stock everything and booting into recovery now it didnt work again with the stock recovery.
Blue.F150 said:
Yea it was the fastboot flash recovery trwp.... then tried it and didnt work. Thanks I'll try out the other options you gave me. I tried reflashing stock everything and booting into recovery now it didnt work again with the stock recovery.
Click to expand...
Click to collapse
Like flashing the full firmware? It should work, because something is wrong with ur recovery system.
james11705 said:
Like flashing the full firmware? It should work, because something is wrong with ur recovery system.
Click to expand...
Click to collapse
I have the same problem. Flashed the stock firmware. Then flashed TWRP in fastboot, but whenever i select recovery from the fastboot menu, the phone just shuts off. Only way to get into recovery is by Flashify app too...

TWRP is not staying after flashing recovery

Greetings,
I have been trying to install a custom rom on my Moto G5s Plus and I have noticed a problem. After I flash TWRP (using the fastboot flash recovery command), I can enter recovery mode but after I reboot, it seems to clear recovery and displays the error message No Command.
Is there a way to make the recovery stay?
Thank you in advance for your help.
copy the recovery image on phone and open the recovery using pc, then click on install - click install image locate the recovery file select recovery option (from 4 options) and swipe to flash . Done

Categories

Resources