How to extract EU stock recovery? - HTC Sensation

Hi,
I'm still facing issues with CMW (all versions) regarding charging of my battery and no restart of the phone...
I would like to re-install stock EU recovery but how to extract the img file and from where?
Thanks!

Here you go, taken from the 1.35.401.1 RUU. It is NOT a flashable ZIP, it's just the recovery from the RUU

EddyOS said:
Here you go, taken from the 1.35.401.1 RUU. It is NOT a flashable ZIP, it's just the recovery from the RUU
Click to expand...
Click to collapse
Thanks!
For my knowledge, could you explain how you proceed?

If you don't know what you're doing don't even think about trying to flash it. You need to learn the fastboot commands as you need to use ADB to flash it

EddyOS said:
If you don't know what you're doing don't even think about trying to flash it. You need to learn the fastboot commands as you need to use ADB to flash it
Click to expand...
Click to collapse
I know how to flash it in command line, that's not the problem. I wanted just to know how you extract .img files from a RUU?

Related

US Tmobile One S failed RUU

After unlock, root install recovery, by following
http://www.htconeforum.com/forum/htc-one-s-hacks/385-how-unlock-root-htc-one-s.html
then I put miui.2.8.24 from official website:
http://www.miui.com/extra.php?mod=download/rom&fid=160
after reboot, install miui, then reboot, the screen stays on the boot picture of miui, never changes, I guess that failed, and too bad, I didn't notice there is back up function in recovery, so I didn't notice,
what I have is: fast boot still talks to the phone, but seems can't mount the phone as a drive, so I can't load other ROMs to try it out.
then I try to follow this one:
http://www.htconeforum.com/forum/ht...c-one-s-back-100-stock-relocked.html#post2817
to restore the stock rom, there was any luck, after long time trying, RUU just failed. what should I do now?
I already relock it, can I still unlock it? if so, is there anywhere I can find stock img, and use fast boot to flash the stock img? is that possible?
Thanks.
Did you fastboot the boot.img of say ROM you're flashing?
If using CWM you need to fastboot the boot.img, just extract the boot.img from the ROM
Using fastboot
Code:
fastboot flash boot boot.img
baseballfanz said:
Did you fastboot the boot.img of say ROM you're flashing?
If using CWM you need to fastboot the boot.img, just extract the boot.img from the ROM
Using fastboot
Code:
fastboot flash boot boot.img
Click to expand...
Click to collapse
first of all, thanks for reply,
no, but i did try to flash another boot.img, and wasn't any luck, so each rom has its own boot.img?
Ummm.......Yeah. It should be in the zip of rom you flashed.
T-MobileUS HTC One S running Stock Rooted 2.21.
fmedrano1977 said:
Ummm.......Yeah. It should be in the zip of rom you flashed.
T-MobileUS HTC One S running Stock Rooted 2.21.
Click to expand...
Click to collapse
thanks, I will try it tonight. by the way, after you rooted, you get better battery performance while running stock rom?

[Q] Is flashing a kernel as easy as going to recovery and installing it?

Hi i'm new to the att htc one x, just rooted, and installed twrp... then flash cleanrom5. I also noticed clean has a kernel, i did not see an install guide, but i've installed kernels before on my captivate. So what i'm wondering if it's as easy as....
1. place kernel on phone storage
2. reboot into recovery
3. install kernel from recovery
4. reboot
If there anything i am missing or if i am completely off could someone please help me out with this?
Thank you :good:
If you are on the 1.14 hboot (rooted on 2.20 firmware) you can't flash kernels from recovery. You have to do it using fastboot.
redpoint73 said:
If you are on the 1.14 hboot (rooted on 2.20 firmware) you can't flash kernels from recovery. You have to do it using fastboot.
Click to expand...
Click to collapse
Would you mind walking me through that process?
Unless this makes any difference "CleanROM V is based on the latest Asian 2.29 RUU which is Android 4.0.4, Sense 4.1 and is ODEXED!"
not sure if that means i am on 2.29 rooted.
cannon19932006 said:
Would you mind walking me through that process?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1957193
http://forum.xda-developers.com/showpost.php?p=33493959&postcount=2
Sent from my HTC One XL
absolutelygrim said:
http://forum.xda-developers.com/showthread.php?t=1957193
http://forum.xda-developers.com/showpost.php?p=33493959&postcount=2
Sent from my HTC One XL
Click to expand...
Click to collapse
I don't see anything about flashing kernels in that thread.
cannon19932006 said:
I don't see anything about flashing kernels in that thread.
Click to expand...
Click to collapse
the boot.img has the kernel in it, it has to be flashed from fastboot.
heres the kernel. dl.dropbox.com/u/31360541/CleanKERNEL/CleanKERNEL 1.1 - HOX.zip
flash the boot.img from fastboot, then flash the zip from recovery. fastboot flash method http://forum.xda-developers.com/showpost.php?p=33493959&postcount=2
edit: btw, what exploit did you use to achieve root? Was it the x-factor exploit?
cannon19932006 said:
Unless this makes any difference "CleanROM V is based on the latest Asian 2.29 RUU which is Android 4.0.4, Sense 4.1 and is ODEXED!"
not sure if that means i am on 2.29 rooted.
Click to expand...
Click to collapse
Not the firmware you are on now. The firmware you originally achieved root on. More importantly, what version is your hboot (go to hboot, and the version number is listed)?
If your phone was purchased with 2.20 firmware, and you rooted using the new X-factor exploit method, you have the 1.14 hboot.
Hboot 1.14 plugged the hole by which flashing kernels from recovery was possible. So it can only be done by fastboot.
redpoint73 said:
Not the firmware you are on now. The firmware you originally achieved root on. More importantly, what version is your hboot (go to hboot, and the version number is listed)?
If your phone was purchased with 2.20 firmware, and you rooted using the new X-factor exploit method, you have the 1.14 hboot.
Hboot 1.14 plugged the hole by which flashing kernels from recovery was possible. So it can only be done by fastboot.
Click to expand...
Click to collapse
i used x-factor yes, and yes it's 1.14, thank you both for the help.
cannon19932006 said:
i used x-factor yes, and yes it's 1.14, thank you both for the help.
Click to expand...
Click to collapse
Ok, since you used x-factor, make sure to flash your boot.img before flashing the ROM
Same with a kernel. Flash boot.img then the kernel zip
absolutelygrim said:
Ok, since you used x-factor, make sure to flash your boot.img before flashing the ROM
Same with a kernel. Flash boot.img then the kernel zip
Click to expand...
Click to collapse
I already flashed the rom, just not the kernel, i don't remember flashing the boot.img, just following the instructions on the rom's page here
http://forum.xda-developers.com/showthread.php?t=1655011
"Must have twrp Recovery installed with unlocked bootloader! CWM Recovery will cause serious issues!!!
Copy ROM to storage
Reboot to Recovery
Wipe data / Factory Reset in Recovery!
Install ROM and Aroma installer will start.
Choose Options
Let install complete
Reboot to System"
That's how i flashed this rom anyway.
That's funny your in schertz, i live like 5 miles from there in Universal city lol.
cannon19932006 said:
I already flashed the rom, just not the kernel, i don't remember flashing the boot.img, just following the instructions on the rom's page here
http://forum.xda-developers.com/showthread.php?t=1655011
"Must have twrp Recovery installed with unlocked bootloader! CWM Recovery will cause serious issues!!!
Copy ROM to storage
Reboot to Recovery
Wipe data / Factory Reset in Recovery!
Install ROM and Aroma installer will start.
Choose Options
Let install complete
Reboot to System"
That's how i flashed this rom anyway.
That's funny your in schertz, i live like 5 miles from there in Universal city lol.
Click to expand...
Click to collapse
Well, If cleanROM is using the same Kernel as stock, then you got lucky. If they use the same kernel, no need to flash boot.img.
If they are different kernels and you dont flash boot.img, you are now in a bootloop
lol Universal City
not bad
Sorry for so many questions lol, just making sure i do this right.
okay so basically i want to download the kernel and the fastboot drivers posted in your post.
Extract the fastboot drivers, and then unzip the kernel, taking the boot.img from it and placing it into the fastboot directory that i just unzipped.
I then want to boot my phone into hboot and select fastboot
open the command prompt and take it to where the fastboot.exe is.
then type fastboot flash boot boot.img into the command prompt
After all this is done i want to go into recovery and flash the zip of the kernel?
Is that all right?
cannon19932006 said:
Sorry for so many questions lol, just making sure i do this right.
okay so basically i want to download the kernel and the fastboot drivers posted in your post.
Extract the fastboot drivers, and then unzip the kernel, taking the boot.img from it and placing it into the fastboot directory that i just unzipped.
I then want to boot my phone into hboot and select fastboot
open the command prompt and take it to where the fastboot.exe is.
then type fastboot flash boot boot.img into the command prompt
After all this is done i want to go into recovery and flash the zip of the kernel?
Is that all right?
Click to expand...
Click to collapse
Yeap. Don't "extract" the zip, just drag the boot.img out of the zip
absolutelygrim said:
Yeap. Don't "extract" the zip, just drag the boot.img out of the zip
Click to expand...
Click to collapse
Success, THANKS!
absolutelygrim said:
the boot.img has the kernel in it, it has to be flashed from fastboot.
heres the kernel. dl.dropbox.com/u/31360541/CleanKERNEL/CleanKERNEL 1.1 - HOX.zip
flash the boot.img from fastboot, then flash the zip from recovery.
Click to expand...
Click to collapse
Why do you say to flash the boot.img and then zip if boot.img has the kernel in it?
Thank you. R
cimenta said:
Why do you say to flash the boot.img and then zip if boot.img has the kernel in it?
Thank you. R
Click to expand...
Click to collapse
Because the new hboot makes it to where you cant flash kernels through recovery. only fasboot
So why the second flash if the boot.img was flashed via fastboot?
I am just lost in these. Could you recommend any reading except this forum for me to get more understanding? So I don't do anything to my phone?
cimenta said:
So why the second flash if the boot.img was flashed via fastboot?
I am just lost in these. Could you recommend any reading except this forum for me to get more understanding? So I don't do anything to my phone?
Click to expand...
Click to collapse
It wasn't.
boot.img can't be flashed from recovery, it skips it.
Thats why you flash boot.img from fastboot then the ROM from recovery
http://forum.xda-developers.com/showthread.php?t=1963896
absolutelygrim said:
It wasn't.
boot.img can't be flashed from recovery, it skips it.
Thats why you flash boot.img from fastboot then the ROM from recovery
http://forum.xda-developers.com/showthread.php?t=1963896
Click to expand...
Click to collapse
So although ROM zip file contains boot.img when flashing boot.img won't be flashed? That's why we need to flash is separately? Is it important to flash it before flashing ROM?
Thank you.R
I'm also, learning as I go. From reading and multiple failed attempts at flashing ROMs and kernels, I have found the correct way with 1.14 Hboot.
-dl the rom/kernel
-extract only the boot.img file
- save both .zip and boot to your desired folder.
-go into recovery and mount sd card to pc
-transfer .zip file to your phones sd card
-get back into fastboot on your phone
-transfer boot.img to fastboot folder
-from fastboot cmd prompt(if you have win7, open your folder with fastboot in it hold shift+right click and open cmd)
-type "fastboot boot boot.img" without quotes
-go back into recovery and clean cache/delvik
-then install .zip that you copied to the sd card
You should be good to go from there.
If I have left anything out, please feel free to correct.
Sent from my HTC One X using xda app-developers app

Installing another Kernel (Zip not .img) on a S-ON device

I can't find any guides about how to install a different (but compatible) kernel, zipped, on a S-ON device. I know I need the kernel to be in .img form and not .zip. Can anyone lead me to a guide, or give me some advices on how do I actually do it?
So you want .zip or .img?
At title it says ''Zip not .img'' And later it says ''to be in .img form and not .zip''
Anyways, with the .img one; you need to find a correct boot.img, then follow this;
http://forum.xda-developers.com/showthread.php?t=1631861
Scroll down, find the ''Extra 1: Flashing "boot.img"''
If this is what you're looking for..
Someone smarter should correct me if I was wrong.
each kernel in development section comes with zip format
There's a mess in my head right now and I can't explain exactly what I want. I apologize.
I have a S-ON HTC Sensation, that means when I want to install a new rom I need to enter bootloader and fastboot the boot.img. Then enter Recovery and flash the rom in zip form.
What if I want to install a new Kernel (a compatible one, as i said) but which is in zip form as the rom. How do I get the boot.img out of it so I can flash the zip afterwards? Because I understand that zipping it normally without any boot.img might get me some errors.
rareshutzu said:
There's a mess in my head right now and I can't explain exactly what I want. I apologize.
I have a S-ON HTC Sensation, that means when I want to install a new rom I need to enter bootloader and fastboot the boot.img. Then enter Recovery and flash the rom in zip form.
What if I want to install a new Kernel (a compatible one, as i said) but which is in zip form as the rom. How do I get the boot.img out of it so I can flash the zip afterwards? Because I understand that zipping it normally without any boot.img might get me some errors.
Click to expand...
Click to collapse
i think i know what are you talking about
do you have 4ext recovery installed?
if not then install 4ext and before flashing any rom or even a kernel enable smartflash from it
you just avoid the step for flashing the boot.img manually
with smartflash feature you don't need to flash any boot.img
rzr86 said:
i think i know what are you talking about
do you have 4ext recovery installed?
if not then install 4ext and before flashing any rom or even a kernel enable smartflash from it
you just avoid the step for flashing the boot.img manually
with smartflash feature you don't need to flash any boot.img
Click to expand...
Click to collapse
Great. That's exactly what I wanted. To not flash boot.img anymore. I'll try and let you know
rareshutzu said:
Great. That's exactly what I wanted. To not flash boot.img anymore. I'll try and let you know
Click to expand...
Click to collapse
FYi, Boot.img comes with every kernel. Open the zip on your pc look around and extract it.
JAM THAT THANKS BUTTON.
Happy to help.

Downgrade or smth with firmware 5.18 (at&t one x, one xl)

Hey.
Need you help or advice..
I made a mistake when flashed my ATT One X with the latest firmware(
And now i can't do anything, I mean root or custom recovery.
I have S-OFF and super CID but I don't how to fix this.. to downgrade or to roll back to oldest firmware.
Even to have root will be perfect.
How can I manage this?
Thanks in advance!
vimev said:
Hey.
Need you help or advice..
I made a mistake when flashed my ATT One X with the latest firmware(
And now i can't do anything, I mean root or custom recovery.
I have S-OFF and super CID but I don't how to fix this.. to downgrade or to roll back to oldest firmware.
Even to have root will be perfect.
How can I manage this?
Thanks in advance!
Click to expand...
Click to collapse
According to your bootloader details you are at a good starting point. Here is what I recommend you do from here:
1. Download a custom recovery like TWRP:
http://forum.xda-developers.com/showthread.php?t=2558503
2. flash this in bootloader mode. If you don't know how here is the help thread you need to read through:
http://forum.xda-developers.com/showthread.php?t=2593382
3. Once you have a custom recovery installed, you can flash SuperSu or other root app (google is your friend.)
4. Stick with the rooted rom you have or flash another of your choosing.
Madcat8686 said:
According to your bootloader details you are at a good starting point. Here is what I recommend you do from here:
1. Download a custom recovery like TWRP:
http://forum.xda-developers.com/showthread.php?t=2558503
2. flash this in bootloader mode. If you don't know how here is the help thread you need to read through:
http://forum.xda-developers.com/showthread.php?t=2593382
3. Once you have a custom recovery installed, you can flash SuperSu or other root app (google is your friend.)
4. Stick with the rooted rom you have or flash another of your choosing.
Click to expand...
Click to collapse
Men.. thats great! Thanks a lot!
I was thinking its impossible to make root...
vimev said:
Men.. thats great! Thanks a lot!
I was thinking its impossible to make root...
Click to expand...
Click to collapse
Not impossible for you because your bootloader is unlocked and you are S-Off. You are always able to root and flash.
Hey, I have the same bootloader setup but i am unable to flash a recovery
Grinno said:
Hey, I have the same bootloader setup but i am unable to flash a recovery
Click to expand...
Click to collapse
What happens when you try to flash a recovery?
What recovery are you trying to flash?
Post your own bootloader (Don't show the IMEI)
Madcat8686 said:
Not impossible for you because your bootloader is unlocked and you are S-Off. You are always able to root and flash.
Click to expand...
Click to collapse
exad said:
What happens when you try to flash a recovery?
What recovery are you trying to flash?
Post your own bootloader (Don't show the IMEI)
Click to expand...
Click to collapse
I use EZT toolkit....It runs the commands then said fail (too many links
Grinno said:
I use EZT toolkit....It runs the commands then said fail (too many links
Click to expand...
Click to collapse
Why are you using a toolkit to flash recovery???
Just download from http://goo.im/devs/OpenRecovery/evita
or download the unofficial TWRP from the original android dev section if you plan on flashing an AOSP or CM based Rom and then fastboot flash recovery recovery_filename.img
Easy peasy. Too many links is an error that should have nothing to do with flashing recovery...
exad said:
Why are you using a toolkit to flash recovery???
Just download from http://goo.im/devs/OpenRecovery/evita
or download the unofficial TWRP from the original android dev section if you plan on flashing an AOSP or CM based Rom and then fastboot flash recovery recovery_filename.img
Easy peasy. Too many links is an error that should have nothing to do with flashing recovery...
Click to expand...
Click to collapse
Donno, Maybe fastboot/drivers or messed up. I keep getting cannot load 'recovery.img' unknown error
Grinno said:
Donno, Maybe fastboot/drivers or messed up. I keep getting cannot load 'recovery.img' unknown error
Click to expand...
Click to collapse
You need to type the filename of the recovery file you download. Either the recovery filename you are typing is wrong or the file is not in the folder you are trying to flash from.
exad said:
You need to type the filename of the recovery file you download. Either the recovery filename you are typing is wrong or the file is not in the folder you are trying to flash from.
Click to expand...
Click to collapse
Thanks, Got it to flash..... you were correct i was typing the filename wrong.

Running 4.4.2 and Want 4.4.3 -- Confused On Some Things

So I think I want to make the jump now to 4.4.3 from 4.4.2. Is there any reason not to? I am running CleanROM 1.4 currently and want to install CleanROM 2.0. I am just confused about what I need to do to make the jump. What firmware do I need and is that just a flashable zip? Is there anything I need to do other than the firmware and ROM? Is there a radio too or anything like that? Lastly, can I install 4.4.3 over 4.4.2 with just a dalvik wipe and cache wipe? I have so many apps on my phone wiping completely would be a total pain. Thanks in advance guys, it is much appreciated!
pettigrew95 said:
So I think I want to make the jump now to 4.4.3 from 4.4.2. Is there any reason not to? I am running CleanROM 1.4 currently and want to install CleanROM 2.0. I am just confused about what I need to do to make the jump. What firmware do I need and is that just a flashable zip? Is there anything I need to do other than the firmware and ROM? Is there a radio too or anything like that? Lastly, can I install 4.4.3 over 4.4.2 with just a dalvik wipe and cache wipe? I have so many apps on my phone wiping completely would be a total pain. Thanks in advance guys, it is much appreciated!
Click to expand...
Click to collapse
4.4.4 is out now.
dottat said:
4.4.4 is out now.
Click to expand...
Click to collapse
So then let's pretend I said 4.4.2 to 4.4.4, all the same questions asked still apply. Thanks!
pettigrew95 said:
So then let's pretend I said 4.4.2 to 4.4.4, all the same questions asked still apply. Thanks!
Click to expand...
Click to collapse
Just flash the RUU mode flashable firmware zip in the dev section and update your Rom.
dottat said:
Just flash the RUU mode flashable firmware zip in the dev section and update your Rom.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2727831 --This contains the latest 4.4.4 firmware/radio/baseband etc etc? Basically everything I need other than a 4.4.4 ROM obviously. Correct me if I'm wrong. Thanks.
pettigrew95 said:
http://forum.xda-developers.com/showthread.php?t=2727831 --This contains the latest 4.4.4 firmware/radio/baseband etc etc? Basically everything I need other than a 4.4.4 ROM obviously. Correct me if I'm wrong. Thanks.
Click to expand...
Click to collapse
Here
http://forum.xda-developers.com/showthread.php?p=56203039
dottat said:
Here
http://forum.xda-developers.com/showthread.php?p=56203039
Click to expand...
Click to collapse
Awesome, thanks! So just flash that 4.4.4 firmware zip in recovery and then I can install any 4.4.4 ROM? Anything else I'd need to do? Is CWM an ok recovery to flash the firmware zip in?
pettigrew95 said:
Awesome, thanks! So just flash that 4.4.4 firmware zip in recovery and then I can install any 4.4.4 ROM? Anything else I'd need to do? Is CWM an ok recovery to flash the firmware zip in?
Click to expand...
Click to collapse
no.. fastboot/RUU mode.
dottat said:
no.. fastboot/RUU mode.
Click to expand...
Click to collapse
Ok, is this the method I would use?
"Download 4.4.3 firmware
Rename file to 0P6BIMG(zero at the start)
Place file on root of SD card
Reboot to bootloader an click hboot it will auto detect file
Follow the prompts an you will be updated
directions for flashing firmware via fastboot an radios below.
FASTBOOT RUU METHOD
Place the zip in your fastboot/adb directory on your computer.
Put the device in fastboot mode
(Volume down and power until menu appears, select fastboot using power button)
Connect the device to the computer
Enter the following commands from terminal/command prompt in the fastboot directory, one at a time:
fastboot oem rebootRUU (this puts the device in RUU mode)
fastboot flash zip firmware.zip (rename file to firmware.zip)
It will say that the update did not finish, to flush again, so repeat the above step:
fastboot flash zip firmware.zip
Then fastboot reboot-bootloader"
I'm on Viper ROM 1.8.0 with 4.4.2. I am wanting to upgrade to 2.5.0 but that requires the new firmware. From what I'm reading, I need to do a complete wipe/restore to stock 4.4.2 and then flash the 4.4.4 firmware and after that I can flash the 2.5.0 ROM?
I'm just not sure what the process is or if I'm making this more complicated than it needs to be. http://forum.xda-developers.com/showthread.php?t=2723159 I see this thread and it just contains the 4.4.4 firmware. Can I just flash that in fastboot and then wipe from TWRP? http://forum.xda-developers.com/ver...ent/ruu-m8vzw-4-4-3-s-off-onlynewest-t2873144 I see this thread that has the 4.4.3 RUU.
I just don't want to brick my device, that's all. I am S-OFF with superCID, if that makes any difference. Any advice is welcome.
himom said:
I'm on Viper ROM 1.8.0 with 4.4.2. I am wanting to upgrade to 2.5.0 but that requires the new firmware. From what I'm reading, I need to do a complete wipe/restore to stock 4.4.2 and then flash the 4.4.4 firmware and after that I can flash the 2.5.0 ROM?
I'm just not sure what the process is or if I'm making this more complicated than it needs to be. http://forum.xda-developers.com/showthread.php?t=2723159 I see this thread and it just contains the 4.4.4 firmware. Can I just flash that in fastboot and then wipe from TWRP? http://forum.xda-developers.com/ver...ent/ruu-m8vzw-4-4-3-s-off-onlynewest-t2873144 I see this thread that has the 4.4.3 RUU.
I just don't want to brick my device, that's all. I am S-OFF with superCID, if that makes any difference. Any advice is welcome.
Click to expand...
Click to collapse
fastboot oem rebootRUU
fastboot flash zip (nameoffirmware.zip)
fastboot reboot
That's it. FIrmware won't wipe anything. Supercid is only gonna get you in trouble. No real reason to have it.
dottat said:
fastboot oem rebootRUU
fastboot flash zip (nameoffirmware.zip)
fastboot reboot
That's it. FIrmware won't wipe anything. Supercid is only gonna get you in trouble. No real reason to have it.
Click to expand...
Click to collapse
Is this the only thing I need to do get the 4.4.4 firmware running on my phone:
"Download 4.4.4 firmware
Rename file to 0P6BIMG(zero at the start)
Place file on root of SD card
Reboot to bootloader an click hboot it will auto detect file
Follow the prompts an you will be updated"
This will update only the firmware and won't touch my recovery or anything else correct? Once I flash this 4.4.4 firmware then I can start flashing 4.4.4 ROMs once they start coming out? Thanks.
Yes, you got it. Some people are experiencing some weird but minor problems after flashing the 4.4.4 firmware while still running a 4.4.3 rom it seems.
I am waiting to flash the firmware until my favorite rom has been updated to 4.4.4...

Categories

Resources