[Q] Can I, and how do I, flash the stock recovery after rooting and keep root? - HTC One S

Hi there. I'm new to rooting but I've done a considerable amount of reading before this and I have a question.
I'm rooting using a guide (can't post link due to new user restrictions) on another forum, and before doing this I realized that I wouldn't be able to receive OTA updates using the one of the two custom recovery options (CWM or TWRP 2) that the root method specifies. Is it possible to restore the stock recovery to receive OTA updates and keep my root? And how would I go about doing this for the HTC One S?
Thank you!

you just need to flash the stock recovery and relock your boot loader.
This isn't hard to do in fastboot
fastboot flash recovery recovery.img (change the name of the recovery.img file to make it easier than typing something like recovery_signed_ville.img or whatever)
fastboot oem lock
I have the s4 variety of htc one s and I've used this stock recovery. it's the second download not the first.
http://www.modaco.com/topic/353006-...ch-recovery-for-the-htc-one-s-stock-download/
or you can use the all in one toolkit
http://forum.xda-developers.com/showthread.php?t=1604677
select 'your own recovery' and click flash recovery button. It will bring up a window to browse to where the recovery you want to flash is.
you can lock or unlock bootloader with it by putting your unlock_code.bin file in the data folder of the toolkit.

Related

[Q] HBoot 2.00.0002, unlocked, S-ON and recovery destroyed !

Hello guys,
My recovery doesn't work anymore : I get stuck on the HTC logo.
Apart from that, my phone is fine : the bootloader works and I can boot my phone in normal mode.
Me being stupid, I unlocked my phone with HTCDev and though that was enough to get the phone S-OFF.
So I flash a 4ext recovery image without doing any backup (another rookie mistake). And since, I cannot launch the recovery.
The hboot is 2.00.0002, and I still have the original unrooted 3.0 Sense ROM.
I don't want to go on tinkering with my phone (ie rooting, S-OFF and install a custom rom) until I fixed the recovery.
So I have the following questions :
1) what I can do to restore/fix my recovery ?
2) do you have a backup recovery image for a French Orange HTC Desire S ?
3) what procedure should I follow to backup my phone NOW (boot, recovery, data, rom, etc...) ?
Thanks for your help,
Deckard
Flash in fastboot recovery.img
download the 4EXTRecovery_v2.1.0_saga.zip package here http://forum.xda-developers.com/showthread.php?t=1130004
rename it to PG88IMG.zip
put that file on the root of your sd card
start you phone in bootloader (hboot not fastboot)
the bootloader will ask you if you want to install recovery.img
confrim
reboot
rename the file again into something else or delete it (cause bootloader will always try to flash if a PG88IMG.zip file is on your sd card every time you boot into it)
If you are rooted, the easiest solution to get a working recovery, one that doesn't involve fastboot, hboot, multiple restarts, adb etc, is to simply download the recovery updater app (free) from 4ext.net and use the app to download and flash your new recovery (4EXT Recovery) without any reboots or jumping through hoops!!
Hope you get what you want... you have all the possible solutions now (see posts above)
mah1950 said:
If you are rooted, the easiest solution to get a working recovery, one that doesn't involve fastboot, hboot, multiple restarts, adb etc, is to simply download the recovery updater app (free) from 4ext.net and use the app to download and flash your new recovery (4EXT Recovery) without any reboots or jumping through hoops!!
Hope you get what you want... you have all the possible solutions now (see posts above)
Click to expand...
Click to collapse
The OP stated that he has HBOOT 2.00.0002 and stock, unrooted 2.3.5/Sense 3.0 ROM, so your solution will not work for him.
He will need to flash a recovery.img using fastboot.
Thanks for your answer, korenisko
The truth is that I nicked my recovery using that particular command
(fastboot flash recovery recovery.img).
I tried to flash 4ext 1.0.0.3b9.
So, I'm a little wary of it right now.
I didn't understand why it failed. Is it because my phone wasn't S-OFF ?
Because I weren't root (as far as I know, it shouldn't matter) ?
Because the downloaded file was corrupted (the zip seemed valid, though) ?
Because I unlocked my phone through htcdev ?
Do you have any idea ?
Anyway, for the time being, I am a little puzzled. And uncomfortable.
I don't want to messed up again.
I guess, I don't risk anything trying to flash another recovery....
Maybe the stable version 4ext...
Thanks for your suggestion !
Don't I need my phone to be S-OFF before I can do what you are suggesting ?
webdo said:
download the 4EXTRecovery_v2.1.0_saga.zip package here http://forum.xda-developers.com/showthread.php?t=1130004
rename it to PG88IMG.zip
...
Click to expand...
Click to collapse

[Q] unroot htc wildfire s(asia_india version,s-on)

i have htc wildfire s.its asia_india version.and i unlock my bootloader through htcdev.and root it.but now i want to unroot it.i flash ruu euro version(build:2.13.401.2 and baseband:57.23a.35.3035H_7.53.39.03M) by flashy tool.
by this method:
http://forum.xda-developers.com/showthread.php?t=1467844
but still i cant get stock recovery.when i select recovery from hboot its opens clockwork mod recovery.
i tried to flash recovery.img but nothing work.
so how do i get my phone back as before rooting device.and regularly gets ota updates.
please help.
crossfire77 said:
i have htc wildfire s.its asia_india version.and i unlock my bootloader through htcdev.and root it.but now i want to unroot it.i flash ruu euro version(build:2.13.401.2 and baseband:57.23a.35.3035H_7.53.39.03M) by flashy tool.
by this method:
http://forum.xda-developers.com/showthread.php?t=1467844
but still i cant get stock recovery.when i select recovery from hboot its opens clockwork mod recovery.
i tried to flash recovery.img but nothing work.
so how do i get my phone back as before rooting device.and regularly gets ota updates.
please help.
Click to expand...
Click to collapse
What command did you use to flash recovery?
Make sure than when you flash a recovery through Fastboot, you use the following:
fastboot flash recovery recovery.img
The recovery must be in the same folder as fastboot/ADB
Let me know if you need any more help!
not using manual method
i didnt used manual method for install ruu.i just used flashy tool mentioned in given thread see it.
http://forum.xda-developers.com/showthread.php?t=1467356
but it just stock me euro ruu.but when i hboot n select recovery here still showing me clockwork mode.
so again i rooted my phone and installed clockwork mode and try to remove by
flash_image recovery /sdcard/recovery.img but it isnt work.(by terminal emulator)
i doing this because if once clockwork mode removed i can unroot and relock my bootloader and its same as before and i will have ota updates.
but nothing is work.
and see i found these three methods.please see them all and then tell which one is preffered i tried them all but cant remove clock work mode.
first one is here:
http://forum.xda-developers.com/showthread.php?t=1567628
and second is here:
http://androidforums.com/htc-wildfi...arvel-a510e-gsm-software-version-2-3-5-a.html
(in second method i dont use: Procedure 3: Flashing the ROM manually from a command prompt using fastboot)
and last one is here:
http://forum.xda-developers.com/showthread.php?t=1467844
it is fine.get ruu europe but still clockwork recovery mode.
so now tell me what should i do?
and there are no ruu asia_india.exe file so i have to use europe rom version coz its same as mine.
I'd go with the third method - it's the easiest, and you don't have to flash anything manually
done!!
hey thnx.i choose third but it wont work with my ruu.so i used your command with fastboot
fastboot flash recovery recovery.img
and its done..thanks it restored my wfs with factory state and able to update via fota.
crossfire77 said:
hey thnx.i choose third but it wont work with my ruu.so i used your command with fastboot
fastboot flash recovery recovery.img
and its done..thanks it restored my wfs with factory state and able to update via fota.
Click to expand...
Click to collapse
I'm glad it worked for you!
There is no substitute for 'manual' flashing in my eyes, it shows you every step and you can actually see whether it has worked or not Plus, it's a handy skill to have for when you change devices, or when there's no tools available
Enjoy!

[Q] How to root stock JellyBean Nexus S 4g?

I've been stock for a while again, and feel like going back to having more control. I'm on stock Sprints Nexus S 4g's 4.1 JB...how would I go about rooting this?
Windst said:
I've been stock for a while again, and feel like going back to having more control. I'm on stock Sprints Nexus S 4g's 4.1 JB...how would I go about rooting this?
Click to expand...
Click to collapse
I used "http://forum.xda-developers.com/showthread.php?t=1250583&highlight=one-click-nexus-7+2" by ShabbyPenguin. Works good . . .
Windst said:
I've been stock for a while again, and feel like going back to having more control. I'm on stock Sprints Nexus S 4g's 4.1 JB...how would I go about rooting this?
Click to expand...
Click to collapse
yep shabby's 7.2 tool is the way to go
Thank You both
Download supersu.zip onto phones internal storage.
Fastboot flash or boot custom recovery.
Flash supersu.zip from recovery
Stock rooted.
Easiest way. Best way. Never fails way. The same way the phone was rooted in the first place.....
can't get Shabby's way to work. just searches for devices & on my phone it stays at the bootloader screen. how can I flash something if i'm unable to use ROM manager?
courtesy of my Jelly Bean'd Nexus S 4G using Tapatalk 2.1
Thread Cleaned. Lets stop the arguing.
Deleted my comments
Vs Nexus S4G using tapatalk2
Follow the instructions below to install CWM on your phone and then you can flash super user binaries to get root access.
If you have lost recovery then install pdanet on your computer.(It will also install Nexus S USB Drivers) then put your phone into fastboot mode by holding down both Volume Up and Power buttons together. When you are in fastboot mode connect your phone to your PC using USB cable.Download ADB and recovery you want to flash put it in your C:/recovery (Put adb and recovery image in this folder)
Then open cmd and type
1)CD C:/recovery
2)fastboot flash recovery recoveryname.img (replace recoveryname with actual file name of the recovery image).
You can download recovery from here
Or you can avoid all this and just use this
http://forum.xda-developers.com/showthread.php?t=1544940&highlight=recovery
how to root nexus s ? from jb ? more infos ?
To root ANY nexus the process is the same. All that differs is the files used.
1. Unlock bootloader
2. Get the proper su zip on the devices storage. Either boot up and put it there or do it by mounting storage in step 3
3. Boot or flash custom recovery and flash your su.zip.
That's it. If you're already unlocked skip step one. Make sure you got the su.zip on your phone. Use fastboot to flash or boot recovery and boot into it. Flash the zip.
ive tried everything in this post, but i cant unlock or root. Im assuming the drivers are my problem because in Device Manager I can only install ACER ADB or Android Adb Interface.
In shabby's one-click, I get to the step where it says something like "select the unlock option on my phone", but in fastboot i only get 4 options and neither say "unlock"
peopleface said:
ive tried everything in this post, but i cant unlock or root. Im assuming the drivers are my problem because in Device Manager I can only install ACER ADB or Android Adb Interface.
In shabby's one-click, I get to the step where it says something like "select the unlock option on my phone", but in fastboot i only get 4 options and neither say "unlock"
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1623481
Its old but still works. Go into fast boot and type in cmd fastboot oem unlock, its not an option in fadtboot. Don't use one clicks, learn the original way. You will be much better off in the future.
This might help also
http://forum.xda-developers.com/showthread.php?t=1901617
Sent from my Nexus S using xda premium

[Q][510] Installation aborted

Hi,
Following on from this thread I'm trying to get back to stock rom.
Each time I attempt to flash from (stock) recovery I get
check.partition.size=[__PROP_UNDEFINED__]
Installation aborted
I've tried CUS1 and GEN1 roms from Acer site both with and without the 1st line of the script commented out.
Any ideas?
Clumzie said:
Hi,
Following on from this thread I'm trying to get back to stock rom.
Each time I attempt to flash from (stock) recovery I get
check.partition.size=[__PROP_UNDEFINED__]
Installation aborted
I've tried CUS1 and GEN1 roms from Acer site both with and without the 1st line of the script commented out.
Any ideas?
Click to expand...
Click to collapse
OK, is there another way I can approach this as I need to get back before sending the tablet off to be fixed.
1) Can I push the ROM somehow using adb? If so, how?
2) What about installing CWM to flash the ROM and restore custom recovery? This would be my last resort as if it didn't work I'm stuck with root files & CWM!
Any help gratefully received as I need to send it back this week.
First off, I have some questions:
1. Are you unlocked?
2. Are you root? (Doesnt really matter)
3. Android 4.0 or 4.1?
4. At which point is that error showing up?
5. What about the stock beta ROMs?
6. Did you rename the ROM to update.zip and to what place did you copy it ?
http://forum.xda-developers.com/showpost.php?p=34015330&postcount=108
Somebody had the same problem. Im not sure about the solution though.
You can boot into a different recovery (since the message youre gettin' is from the stock recovery).
Search the forum for cwm. Then use fastboot boot recovery-nameoffile.img
It requires an unlocked bootloader.
1: You can, if you are able to boot into Android. If you can't, adb will not work.
To push a file to your tablet, use the following commands:
adb push update.zip /sdcard
Update.zip being the stock ROM, obviously.
2: Yes. That could work. Try to install CWM and you should be able to flash a stock ROM from this thread:
http://forum.xda-developers.com/showthread.php?t=1729692
However, you should be able to flash that ROM already. Remember you have to unlock your device. You can, however lock it again by installing a stock ROM; but I heard it will unlock itself after an OTA or flashing another stock ROM or something like that.
TomONeill said:
First off, I have some questions:
1. Are you unlocked? No
2. Are you root? (Doesnt really matter) Root files (su and busybox) but not superuser.apk due to JB OTA
3. Android 4.0 or 4.1? 4.1.2
4. At which point is that error showing up? After Finding/opening/verifying package
5. What about the stock beta ROMs? No, just the 2 official ones on the Acer site
6. Did you rename the ROM to update.zip and to what place did you copy it ? The downloaded files from ACER are a zip file with a pdf and update.zip inside. I copied update.zip to my SD card. Am I supposed to extract a particular file from it and create an archive out of that that or use the entire thing as I did?
http://forum.xda-developers.com/showpost.php?p=34015330&postcount=108
Somebody had the same problem. Im not sure about the solution though.
You can boot into a different recovery (since the message youre gettin' is from the stock recovery).
Search the forum for cwm. Then use fastboot boot recovery-nameoffile.img
It requires an unlocked bootloader.
1: You can, if you are able to boot into Android. If you can't, adb will not work.
To push a file to your tablet, use the following commands:
adb push update.zip /sdcard
Update.zip being the stock ROM, obviously.
/system/bin/sh: push: not found
2: Yes. That could work. Try to install CWM and you should be able to flash a stock ROM from this thread:
http://forum.xda-developers.com/showthread.php?t=1729692
However, you should be able to flash that ROM already. Remember you have to unlock your device. You can, however lock it again by installing a stock ROM; but I heard it will unlock itself after an OTA or flashing another stock ROM or something like that.
Click to expand...
Click to collapse
I'm a bit hesitant about installing CWM as I'm not convinced I won't encounter the same problems as I did with stock recovery.
Thanks again Tom
TomONeill said:
First off, I have some questions:
1. Are you unlocked?
2. Are you root? (Doesnt really matter)
3. Android 4.0 or 4.1?
4. At which point is that error showing up?
5. What about the stock beta ROMs?
6. Did you rename the ROM to update.zip and to what place did you copy it ?
http://forum.xda-developers.com/showpost.php?p=34015330&postcount=108
Somebody had the same problem. Im not sure about the solution though.
You can boot into a different recovery (since the message youre gettin' is from the stock recovery).
Search the forum for cwm. Then use fastboot boot recovery-nameoffile.img
It requires an unlocked bootloader.
1: You can, if you are able to boot into Android. If you can't, adb will not work.
To push a file to your tablet, use the following commands:
adb push update.zip /sdcard
Update.zip being the stock ROM, obviously.
2: Yes. That could work. Try to install CWM and you should be able to flash a stock ROM from this thread:
http://forum.xda-developers.com/showthread.php?t=1729692
However, you should be able to flash that ROM already. Remember you have to unlock your device. You can, however lock it again by installing a stock ROM; but I heard it will unlock itself after an OTA or flashing another stock ROM or something like that.
Click to expand...
Click to collapse
Hi I have question. If my phone USB can't working with PC anymore because the terminal cut out and my Gionee e3 phone stuck on boot logo or bootloop, how can I get it back to normal? Is there a flashable zip files can solve it? If there was please help me. Thanks.
Hey cryingbee,
Can't you get to the recoverymode by pressing volume down and the power button? If not, try booting into fastboot, which I think is volume up + the power button. If those combinations won't work, google for your phone name + fastboot mode. If you can reach fastboot, you can boot into a recovery by using fastboot commands or install new roms etc.

how to install custom roms and custom recovery easily ?

how to install custom roms and custom recovery easily ?
no adb or some thing please
Depends if you have unlocked bootloader or not.
If you have, Flashify is the easiest way to flash custom recovery and boot into it. Then is easy to flash custom rom. Make backup first!!!
If your bootloader is locked, then install SafeStrap, install recovery from SS, reboot, choose recovery, make backup of stock slot, create new one, activate new slot and flash rom compatible with SS or restore backup to safely customize stock rom.
As you can see all can be done from phone. I didn't mentioned adb of fastboot but I strongly recommend to learn how to use them. It's not that complicated but could be device saver
Zeljko1234 said:
Depends if you have unlocked bootloader or not.
If you have, Flashify is the easiest way to flash custom recovery and boot into it. Then is easy to flash custom rom. Make backup first!!!
If your bootloader is locked, then install SafeStrap, install recovery from SS, reboot, choose recovery, make backup of stock slot, create new one, activate new slot and flash rom compatible with SS or restore backup to safely customize stock rom.
As you can see all can be done from phone. I didn't mentioned adb of fastboot but I strongly recommend to learn how to use them. It's not that complicated but could be device saver
Click to expand...
Click to collapse
my Device is Lock !
i dont like to have two roms on my Razr HD
before i had Razr and i install Bmm and it's very easy to install custom roms on Stock Slot
can you help me like this ? please
I suppose that is similar with razr hd. Just follow what I wrote for locked bootloader. Two roms, as you call it, is much better and safer solution for locked bootloader. Here you can find roms compatible with SS.
s27moto said:
my Device is Lock !
i dont like to have two roms on my Razr HD
before i had Razr and i install Bmm and it's very easy to install custom roms on Stock Slot
can you help me like this ? please
Click to expand...
Click to collapse
You can't flash a ROM over the stock slot on the HD. However, there is a method to restore a backup to the stock slot. Set up a ROM on slot 1 as you like, back it up, and then restore over the stock slot.
i found it from CM forum
Unlocking the device
Configure your computer for fastboot.
Enable USB debugging on the device.
Connect the device to the computer through USB.
From a terminal on a computer, type the following to boot the device into fastboot mode:
$ adb reboot bootloader
Once the device is in fastboot mode, verify your PC sees the device by typing fastboot devices
If you don't see your device serial number, and instead see "<waiting for device>", fastboot is not configured properly on your machine. See fastboot documentation for more info.
If you see "no permissions fastboot", try running fastboot as root.
From the same terminal, type the following command to obtain your bootloader unlock code:
$ fastboot oem get_unlock_data
Visit the Motorola Bootloader Unlock website and follow the instructions there to obtain your unlock key.
If the device doesn't automatically reboot, reboot it from the menu. It should now be unlocked.
Since the device resets completely, you will need to re-enable USB debugging on the device to continue.
is it safe ?
can i use it on my device ?
http://wiki.cyanogenmod.org/w/Install_CM_for_xt925
If you have a 925 you can unlock through Moto, if you have a 926 you cannot use the method you posted. What phone and what system version do you have?
RikRong said:
If you have a 925 you can unlock through Moto, if you have a 926 you cannot use the method you posted. What phone and what system version do you have?
Click to expand...
Click to collapse
i have XT925 and it's original package
right now i have stock 4.1.1 france orange

Categories

Resources