Stock recovery help - HTC Desire 510

What is needed to pull the stock recovery image I already dumped the partition correctly I have root running on stock recovery.
I just need to figure out why i cant boot the stock recovery from fastboot
the screen just gets scrambled. But i mean i do have the recovery.img and boot.img pulled from their respective blocks. and dd'd into imgs
Maybe someone could point me in the right direction and we can have a copy of the stock recovery as well. I don't want to
fastboot flash it in case of bricking the recovery partition(Even though it should be a 1-1 copy)

I wanted to boot TWRP rather then flash it to install super su then boot into system to backup recovery partition using flashify. I can boot into TWRP but then I can't do anything after that.

LarryBoyG said:
I wanted to boot TWRP rather then flash it to install super su then boot into system to backup recovery partition using flashify. I can boot into TWRP but then I can't do anything after that.
Click to expand...
Click to collapse
Ill try with flashify i got TWRP to boot using fastboot boot, but i cant get the stock recovery to work. and dont want to flash without making sure. since the stock recovery when i use dd is 16mb

Related

Phone won't boot.

I just flashed from eclair to 1.6 (Cyanogen) and my phone is stuck at the bootscreen.
ddms reports that there is no recovery.img, but I can get into the recovery console, any fixes?
edit:
I did a full wipe, and reparitioned Fat + ext + swap, and I am using ext3.
Did you flash the base rom before flashing the cyanogenmod?
It looks like you somehow deleted your recovery image. Flash Amon_RA's recovery through fastboot. I beieve the code is
fastboot flash recovery recovery.img
and
fastboot reboot
That will replace whatever recovery image you have with amon_RA's.

[Q] Stock Nandroid Backup

I remember reading somewhere (dont remember exactly where) that you can make a nandroid backup before rooting or flashing a custom recovery.
This was done by booting into fastboot mode and running the custom recovery, not flashing, just running it. This would preserve the stock recovery as a custom recovery is not flashed, but would still allow you to make a backup of the stock rom without root and without a custom recovery.
Is this a possible method for making a nandroid backup of the stock rom? Which would allow you to return to stock after rooting and installing custom roms?
fastboot boot recovery CWM.img (or whatever you have called the recovery image) will boot into CWM but not flash it and you can then make a nandroid
EddyOS said:
fastboot boot recovery CWM.img (or whatever you have called the recovery image) will boot into CWM but not flash it and you can then make a nandroid
Click to expand...
Click to collapse
One more question, even if you have a nandroid of the stock rom, wouldnt your device still show up as tampered and unlocked? Is there a way to remove that AFTER returning to the stock rom..?
EddyOS said:
fastboot boot recovery CWM.img (or whatever you have called the recovery image) will boot into CWM but not flash it and you can then make a nandroid
Click to expand...
Click to collapse
Hi, you again
That didn't work for me with CWM, but it didn't work after I flashed it either. It just failed to back anything up.
I didn't try it with TRWP though, in theory you're correct.

[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.

.236 stock LP rom with Offical Twrp

Can I use the stock rom with the offical twrp?
If I can somebody could tell me how to boot the system because If I install twrp as a Kernel image It can t boot.
in order to use Official TWRP Recovery, you should unlock your Z1 to access the Recovery partition and after that you can do it.
lm/\/trix said:
in order to use Official TWRP Recovery, you should unlock your Z1 to access the Recovery partition and after that you can do it.
Click to expand...
Click to collapse
I have root and my bootloader unlocked so If u have time can you help me a little bit? How to install twrp?
so if you have Unlocked Bootloader on your Z1 just boot your Sony into Fast Boot mode and flash TWRP recovery image by these commands.
fastboot flash recovery [RECOVERY FILE ADDRESS]
nemes480 said:
Can I use the stock rom with the offical twrp?
If I can somebody could tell me how to boot the system because If I install twrp as a Kernel image It can t boot.
Click to expand...
Click to collapse
Obviously if you put recovery image in boot partition . How will the system boot ??
Put recovery in recovery partition
fastboot flash recovery insertrecoveryname.img
lm/\/trix said:
so if you have Unlocked Bootloader on your Z1 just boot your Sony into Fast Boot mode and flash TWRP recovery image by these commands.
fastboot flash recovery [RECOVERY FILE ADDRESS]
Click to expand...
Click to collapse
Jeah I know that but i get a message back :tmp-mksh:fastboot: not found . And i tryed to install it with NUT s recovery's twrp but if I install it to FOTAkernel just the recovery boot. Maybe fastboot driver what I should have but I installed that long time ago. Sorry for my english.
in the other side of the coin you should reinstall fastboot and drivers.
lm/\/trix said:
in the other side of the coin you should reinstall fastboot and drivers.
Click to expand...
Click to collapse
I did it. Same things when I try to install the twrp. I tryed it after clean flash the stock rom but it not solve my problem. any idea?
try it on another pc!
It will be okay just I need to take the phone to fastboot mode. But I installed again the nuts so tomorrow I will try it. Thanks everyone.
Well, I can t solve the problem. Still cannot install twrp. Please somebody help me. Stock rom support twrp?
Just flash the latest .236 stock rom and boot into fastboot and flash twrp recovery as RECOVERY not KERNEL!
Look, I tryed to flash stock after do this process but It never worked.

Accidentally flashed TWRP in the boot partition

Hello,
So I did a mistake by flashing TWRP into the boot partition... Now whenever I reboot my phone it enters TWRP. How can I fix that or is it bricked? I can't find anywhere on the Internet stock boot images, only some modded kernels or something like that. Can anyone tell me how can I get stock boot.img and flash it so that I can use my phone again?
Aspect13 said:
Hello,
So I did a mistake by flashing TWRP into the boot partition... Now whenever I reboot my phone it enters TWRP. How can I fix that or is it bricked? I can't find anywhere on the Internet stock boot images, only some modded kernels or something like that. Can anyone tell me how can I get stock boot.img and flash it so that I can use my phone again?
Click to expand...
Click to collapse
Downllad zip or tgz file for your extract firmware, ectract boot img and then flash by fastboot to boot

Categories

Resources