flashing firmware.zip - HTC One X+

I was flashing latest ota update with TWRP, now last thing i have to do is to flash firmware.zip
wich contains
boot.img
hboot_1.40.0000_signedbyaa.img
rcdata.img
recovery.img
Will i lose any data???
Im trying to get updated 1.17.401.3 with custom recovery, stock rom and root.
Can anyone confirm>??
thanks

IMO, the easiest way to do what you are asking is to just lock the bootloader, reboot into fastboot, and run the RUU.exe. It will update everything. After that, you just re-unlock your boot loader with the unlock.bin you used last time. Then install superSU.zip after you install a recovery. This process gets everything you want and takes about 10-15min.

badtlc said:
IMO, the easiest way to do what you are asking is to just lock the bootloader, reboot into fastboot, and run the RUU.exe. It will update everything. After that, you just re-unlock your boot loader with the unlock.bin you used last time. Then install superSU.zip after you install a recovery. This process gets everything you want and takes about 10-15min.
Click to expand...
Click to collapse
Thanks for your post!
Edit: i mean i have custom recovery TWRP no stock.
But what you said, i will lose data, pictures etc??
and what about my way, will i lose data too?

I flashed the firmware.zip and lost my whole sdcard so i'd back up before doing anything!
edit: you'll need to relock the bootloader to flash it too, which might be what actually wiped everything.

Related

[Q] Confused about RUU firmware and mainver

Back from Moto-land with Rezound. I've flashed several ROMS and one I would like to flash now says that I must firs be on the leaked 3.11.605.22 firmware.
I thought that when I flashed a rom and it rebooted into bootloader to install the PH98IMG.zip file, that it was installing the necessary firmware. I'm confused.
How do I get to the necessary Leaked firmware. I've searched and googled, but everything I find, indicates that I cannot install the leak, because I have already used the HTC unlock tool. Again, confused
I appreciate your help!
ruu isn't a Tom that loads the kernel afterwards. the leak is flashed all at once which appears to be how kernels are flashed. flashing the leak requires the lock then it flashes everything together but remember it wipes all data with exception of external sd
Followup Q1: So is it possible to get to the RUU 3.11.605.22 firmware, WITHOUT re-locking and flashing the leak? (not concerned at all about full wipe, do it with each rom)
Q2: If I do have to re-lock and then flash the leak, do I first have to return to a 100% stock state (ie, restore all the bloat-ware and such)? (if you've ever had a Bionic you know what I'm talking about)
http://forum.xda-developers.com/showthread.php?p=23700622
Sent from my ADR6425LVW using Tapatalk
nukeboyt said:
Followup Q1: So is it possible to get to the RUU 3.11.605.22 firmware, WITHOUT re-locking and flashing the leak? (not concerned at all about full wipe, do it with each rom)
Q2: If I do have to re-lock and then flash the leak, do I first have to return to a 100% stock state (ie, restore all the bloat-ware and such)? (if you've ever had a Bionic you know what I'm talking about)
Click to expand...
Click to collapse
Originally Posted by JoelZ9614 View Post
Here are the instructions...
Download...
rename the zip to PH98IMG.zip
put on your sdcard
reboot to bootloader
fastboot oem lock
reboot to bootloader again
flash.
reboot to bootloader
[if it says security warning and tampered at the top flash again..after continue to next step]
fastboot flash unlocktoken Unlock_code.bin [of course only if u have ur original Unlock_code.bin if not do the whole htc thing again]
reboot......
A little confused. Android Police says you have to be fully stock with a locked bootloader to install 605.22. According to this, I don't have to be stock, I just have to relock it, and be aware that the full RUU install with radios will wipe my entire phone except external SD? (I wouldn't ask this except that it directly contradicts the AP post.)
And do we have the ability to re-root the resulting ICS installation?
And there's no other way to apply just the radios and the pre-rooted (Non-RUU?) version?
Does the pre-rooted version also do a full wipe?
cpurick said:
A little confused. Android Police says you have to be fully stock with a locked bootloader to install 605.22. According to this, I don't have to be stock, I just have to relock it, and be aware that the full RUU install with radios will wipe my entire phone except external SD? (I wouldn't ask this except that it directly contradicts the AP post.)
And do we have the ability to re-root the resulting ICS installation?
And there's no other way to apply just the radios and the pre-rooted (Non-RUU?) version?
Does the pre-rooted version also do a full wipe?
Click to expand...
Click to collapse
So far no other way to get the new radios , sounds like the only reason the OTA leak worked was the way it was packaged. This new leak isn't packaged the same way so you would have to relock and run the RUU to get the new radios.
Personally, all I did was reflash stock recovery before hand, but I had to run it a few times to get it to work fully and at one point I just relocked with amon recovery installed and ran it and it worked just fine. It wipes recovery as part of the installation and installs the updated stock recovery.
andybones said:
Originally Posted by JoelZ9614 View Post
Here are the instructions...
Download...
rename the zip to PH98IMG.zip
put on your sdcard
reboot to bootloader
fastboot oem lock
reboot to bootloader again
flash.
reboot to bootloader
[if it says security warning and tampered at the top flash again..after continue to next step]
fastboot flash unlocktoken Unlock_code.bin [of course only if u have ur original Unlock_code.bin if not do the whole htc thing again]
reboot......
Click to expand...
Click to collapse
Sorry for the questions, but when I do all of this, will I still have the Amon Ra recovery, or does this return to the stock recovery (which I assume it does)?
When the PH file is flashed in recovery it will overwrite whatever recovery you had flashed previously and leave you with stock everything...including recovery.
Sent from my ADR6425LVW
I was able to upgrade to the new ROM and then re-unlock my phone. But when I put Amon Ra in SD folder as PH98IMG.zip and reboot to the loader, I am never prompted to install it. Furthermore, attempts to get into recovery result in a green circular icon followed by a red triangle with exclamation point.
I tried all sorts of resets and reboots. Right now I have a green recovery option, but no working recovery. The top line says "UNLOCKED".
I've tried Amon Ra 3.13 and 3.14.
Download this file.
Place it in the same folder that you setup for the HTCdev unlock.
Rename it to "recovery."
Go to the command prompt and type in this command: cd c:\nameoffolder (mine is c:\Android for example)
Boot into Hboot
Select Fastboot
Connect to PC
Then type this exactly : fastboot flash recovery recovery.img
That should get you loaded with Amon Ra.
http://forum.xda-developers.com/showthread.php?p=19205213
Installation instructions are in the OP.
What you see now when you select recovery in hboot is what is considered stock recovery
Sent from my ADR6425LVW using Tapatalk
EmerikL said:
Download this file.
Place it in the same folder that you setup for the HTCdev unlock.
Rename it to "recovery."
Go to the command prompt and type in this command: cd c:\nameoffolder (mine is c:\Android for example)
Boot into Hboot
Select Fastboot
Connect to PC
Then type this exactly : fastboot flash recovery recovery.img
That should get you loaded with Amon Ra.
Click to expand...
Click to collapse
Thank you. I had already figured it out, and this is exactly what the problem was. Last time I flashed with a PH98IMG version of recovery, but this latest version that I have is for Fastboot. Thanks!
Never thought it would be such a relief to see the "TAMPERED" warning, lol.
All is good!
ZIP to fix mainver problems
http://forum.xda-developers.com/showpost.php?p=23169557&postcount=4

How to unroot/go back to stock completely?

I did my search and I went over some topics and a lot of them say to boot into fast boot. Does that just mean to relock the boot loader and flash the PH85IMG.zip and that's it? Can someone just give my some instructions?
this might help you
nulcon said:
I did my search and I went over some topics and a lot of them say to boot into fast boot. Does that just mean to relock the boot loader and flash the PH85IMG.zip and that's it? Can someone just give my some instructions?
Click to expand...
Click to collapse
ok well all i can tell you is this... download this file http://d-h.st/rfa after you finish downloading my guess is that you have a custom recovery
image on your phone and if you dont install it again for a little... after you downloaded the file and have it on your sdcard boot into recovery
and flash it like you would any custom rom by wiping data, cache, and dalvik...
now you would reboot the phone and you will be on stock ICS from tmobile check if you have root access if you dont then just use
use Amaze_All-In-One_Kit_V3.2 and flash the stock recovery from the top right box and you will be back on stock tmobile unrooted
and with stock recovery mode...
yes to go back to stock without root, you need to first relock your bootloader and then flash the STOCK RUU that you renamed PH85IMG.zip after that you will be back to full stuck, but your bootloader status will say "Relocked"

[q] help! Phone wont past sprint logo after kernel update!!!

i was previously running Meanrom 6.4 rooted S-ON and i decided to S-OFF my phone
i have RUU my phone and unlock the bootloader through dirtyracun s-off but when i was about to run the final step which is RabiesShot.exe(to S-OFF), my laptop have barely any battery left so i decided to not do that for the time being.
after that, I am still running the RUU 2.13.651.1 - HBOOT 1.19 without Root or any mods.
I decided to flash the "PJ75IMG - Stock Kernel". i renamed it to PJ75IMG and put it on my sdcard and it did successfully flash.
the problem is that my phone wont boot past Sprint Logo(it would suddenly black screen of death).
also, since i have no way of removing the PJ75IMG on the SD card, everytime i try to access recovery, it automatically tries to flash that file then it would exit and reboot automatically.
the only way for me to skip that part is to remove the sdcard.
my TWRP is also gone so i cannot flash any roms.
i have no card reader so i cannot place any stuff on my micro sd. :crying:
i though about downgrading the kernel to the previous working version through fastboot but when i looked for the files, they say downgrading would result in a brick.
is there any way i can maybe fastboot jellybean or ics or the kernel to make my phone work again?
edit:
if i did flash the Jellybean with my current kernel, is there a way to achieve S-OFF?
i also havent found stock jellybean rom that isnt rooted
Just...
raclimja said:
i was previously running Meanrom 6.4 rooted S-ON and i decided to S-OFF my phone
i have RUU my phone and unlock the bootloader through dirtyracun s-off but when i was about to run the final step which is RabiesShot.exe(to S-OFF), my laptop have barely any battery left so i decided to not do that for the time being.
after that, I am still running the RUU 2.13.651.1 - HBOOT 1.19 without Root or any mods.
I decided to flash the "PJ75IMG - Stock Kernel". i renamed it to PJ75IMG and put it on my sdcard and it did successfully flash.
the problem is that my phone wont boot past Sprint Logo(it would suddenly black screen of death).
also, since i have no way of removing the PJ75IMG on the SD card, everytime i try to access recovery, it automatically tries to flash that file then it would exit and reboot automatically.
the only way for me to skip that part is to remove the sdcard.
my TWRP is also gone so i cannot flash any roms.
i have no card reader so i cannot place any stuff on my micro sd. :crying:
i though about downgrading the kernel to the previous working version through fastboot but when i looked for the files, they say downgrading would result in a brick.
is there any way i can maybe fastboot jellybean or ics or the kernel to make my phone work again?
edit:
if i did flash the Jellybean with my current kernel, is there a way to achieve S-OFF?
i also havent found stock jellybean rom that isnt rooted
Click to expand...
Click to collapse
If i were you, i would go back through the s-off process if you can, that will get you back to stock and s-off, then install latest twrp, and then instal OMJ's custom release of the new JB update, it will give you root and the new update, Install the radios since you are s-off and you are good to go.
You need to finish that last step to gain s-off though lol. You should have waited.
Also, im not sure if that is just the kernel, but if it is, just the kernel and nothing else. Then you should be able to do s-off fine still.
Someone correct me if im wrong, i just learned this whole s-off process today so i could do the update.
igotlostintampa said:
If i were you, i would go back through the s-off process if you can, that will get you back to stock and s-off, then install latest twrp, and then instal OMJ's custom release of the new JB update, it will give you root and the new update, Install the radios since you are s-off and you are good to go.
You need to finish that last step to gain s-off though lol. You should have waited.
Also, im not sure if that is just the kernel, but if it is, just the kernel and nothing else. Then you should be able to do s-off fine still.
Someone correct me if im wrong, i just learned this whole s-off process today so i could do the update.
Click to expand...
Click to collapse
the thing is the phone wont even boot past the HTC Logo then it would display black screen of death
edit: i found through google saying the error is rekated to the kernel version and i should downgrade first.
is there any safe/reliable method of downgrading the latest kernel from ota (i did not flash the one with the latest hboot but i am still s-on)
i tried to Fastboot RUU but i got an error saying FAILED (remote: 43 main version check fail)
Fix boot loop after jellybean firmware update via bootloader
raclimja said:
the thing is the phone wont even boot past the HTC Logo then it would display black screen of death
edit: i found through google saying the error is rekated to the kernel version and i should downgrade first.
is there any safe/reliable method of downgrading the latest kernel from ota (i did not flash the one with the latest hboot but i am still s-on)
i tried to Fastboot RUU but i got an error saying FAILED (remote: 43 main version check fail)
Click to expand...
Click to collapse
I had the same problem.
1.remove the PJ75IMG file from exrtenal sd card.
2.reboot to fastboot pres factory reset
3. immidietly press and hold volume down, this should get you to recovery.
4. wipe
5. restore a backup rom
6.reboot
It worked for me after hours of trying other methods.
I just went through a bootloop mess. What i did to get my phone back was to use fastboot and use commands (on my pc) like
fastboot flash recovery recovery.img (for TWRP)
fastboot flash boot boot.img (for Kernel)
That got my phone back up and working.
Have you tried this?
raclimja said:
the thing is the phone wont even boot past the HTC Logo then it would display black screen of death
edit: i found through google saying the error is rekated to the kernel version and i should downgrade first.
is there any safe/reliable method of downgrading the latest kernel from ota (i did not flash the one with the latest hboot but i am still s-on)
i tried to Fastboot RUU but i got an error saying FAILED (remote: 43 main version check fail)
Click to expand...
Click to collapse
ok i believe, fastboot should get you twrp. As will it get you the boot flash.
Fastboot flash zip (latest twrp)
Fastboot flash boot (ICS sense rom's boot.img extracted from zip) (this will get you the kernel)
Reboot hold vol down and power to get to bootloader
select recovery
Twrp wipe and flash ICS rom you got the boot img from. (this will take a bit because it wont install kernel, but you already have it from step 2)
you should boot into the rom. then re-do Dirty Raccoon installation, go all the way through, and you should now be s-off
re-install twrp
Flash radios in bootloader (fastboot flash zip (.zip for radios) (link one from Original android development jelly bean flashables post) (optional)
Go to twrp, factory reset, wipe cache, wipe dalvic, wipe syste.
Twrp Flash OMJ's custom JB release of this update, or stock with goodies, or jewel-swag.
Wipe cache/Dalvic
reboot.
I think this should work but i would immagine you've tried it already. Im running the new kernel and am experiencing no problems with it.
If you're s-off just use fastboot to flash a new kernel, no need to do a factory reset or anything else.
The kernel and ROM must be installed as a pair, just upgrading one isn't going to work.

[Q] Bootlooping

I was trying to ruu'ing and my sd card would not mount through the android recovery. So i wiped Dev/cache, cache, and system, thinking that it would fix the problem. Now i can not get into recovery mode and factory reset doesn't work and my phone is not being recognized by my PC. Anything i press in bootloader just reboots my device back to bootloader. I also locked my bootloader with the command "fastboot eom lock" i was experimenting and now i can not unlock it it say "relocked". What do i have to do to fix this?
Slax. said:
I was trying to ruu'ing and my sd card would not mount through the android recovery. So i wiped Dev/cache, cache, and system, thinking that it would fix the problem. Now i can not get into recovery mode and factory reset doesn't work and my phone is not being recognized by my PC. Anything i press in bootloader just reboots my device back to bootloader. I also locked my bootloader with the command "fastboot eom lock" i was experimenting and now i can not unlock it it say "relocked". What do i have to do to fix this?
Click to expand...
Click to collapse
If you place a Sense ROM PH98IMG on an external microSD card, does it install? Try that.
I cant seem to find an PH98IMG that will work. At this point do i have to flash boot or install an OTA (3.14.605.12)
I can not flash anything from the recovery. I also can not find an PH98IMG that would work at this point. the only think that im able to do is to get into bootloader which is relocked and i have s-on.
Do i need to unlock my bootloader to get into recovery?
How do i reinstall the whole system file?
Slax. said:
I can not flash anything from the recovery. I also can not find an PH98IMG that would work at this point. the only think that im able to do is to get into bootloader which is relocked and i have s-on.
Do i need to unlock my bootloader to get into recovery?
How do i reinstall the whole system file?
Click to expand...
Click to collapse
What is your current firmware/radio version from the bootloader screen?
My current radio version is 2.23.10.0123r
HBOOT is 2.28.0000
OpenDSP is v14.6.0.7708.00.0507
Slax. said:
My current radio version is 2.23.10.0123r
HBOOT is 2.28.0000
OpenDSP is v14.6.0.7708.00.0507
Click to expand...
Click to collapse
You are on current OTA firmware, and you said you were S-On so you can't RUU, there isn't one available and you can't go down a version.
You need to unlock your boot loader, get a ROM zip (any stable ROM will do, but I suggest Tachyon or Infection), download TWRP/CWM/PhilZ recovery, and you will need working adb/fastboot on a Win7/XP machine (Win 8/8.1 will not work).
Extract boot.IMG from ROM and recovery.IMG (name might vary) from recovery zip and place them in the directory with fastboot. Now start phone and fastboot and boot recovery with 'fastboot boot recovery.img', now in recovery wipe/format everything except external microSD, then Install/flash ROM zip. Reboot.
If you follow these instructions it should just boot now.
If you want stock, there is a ROM zip that the complete stock image with root applied in the development forum, its a page or two back though.
Sent from my Nexus 4 using Tapatalk
What are the TWRP/CWM/PhilZ recovery for?
Custom recovery, you need one, not all three... To wipe/format partitions and install custom zips
Sent from my Nexus 4 using Tapatalk

HELP! Soft Bricked HTC One S!

I'm not new to flashing custom roms and rooting Android devices, so I don't think I'm a noob at this. I decided to help my friend unleash the power in his HTC One S by rooting it and giving it a custom recovery, I went through the right processes, Unlocked the phone's bootloader, and flashed the superuser zip and the twrp image, as it didn't seem like a clockworkmod image was compatible with the phone.
I then booted into recovery, wiped/factory reset and then flashed the latest CM11 nightly and got an error in TWRP recovery about the bootloader not been interoperable something like "
Code:
2.15==2.13"
in the error message , fine, I rebooted back into fastboot and checked the HBOOT Version and found out the phone was on HBOOT 1.13 and I think CM11 requires the most recent HBOOT version to work on HTC devices. The phone has got S-Off though.
Now I'm stuck in a bootloop cause I already wiped the OS in TWRP, I have everything in place, the right drivers and all that, I also tried re-installing the stock rom by downloading an HTC One S's RUU file but the device wasn't recognized at all by the RUU installer, I also tried to flash a stock 4.0.x rom as a zip file, no Joy. Now the phone is stuck at the point where it doesn't have an OS to boot into at all.
I'll really appreciate the community's support helping me fix this issue.
geek-x said:
I'm not new to flashing custom roms and rooting Android devices, so I don't think I'm a noob at this. I decided to help my friend unleash the power in his HTC One S by rooting it and giving it a custom recovery, I went through the right processes, Unlocked the phone's bootloader, and flashed the superuser zip and the twrp image, as it didn't seem like a clockworkmod image was compatible with the phone.
I then booted into recovery, wiped/factory reset and then flashed the latest CM11 nightly and got an error in TWRP recovery about the bootloader not been interoperable something like "
Code:
2.15==2.13"
in the error message , fine, I rebooted back into fastboot and checked the HBOOT Version and found out the phone was on HBOOT 1.13 and I think CM11 requires the most recent HBOOT version to work on HTC devices. The phone has got S-Off though.
Now I'm stuck in a bootloop cause I already wiped the OS in TWRP, I have everything in place, the right drivers and all that, I also tried re-installing the stock rom by downloading an HTC One S's RUU file but the device wasn't recognized at all by the RUU installer, I also tried to flash a stock 4.0.x rom as a zip file, no Joy. Now the phone is stuck at the point where it doesn't have an OS to boot into at all.
I'll really appreciate the community's support helping me fix this issue.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2322755
You need that. Luckily you're already S-Off, so shouldn't be terrible to get going again. Just update the firmware, reinstall TWRP and re-flash CM11. Should be good to go afterwards.
es0tericcha0s said:
http://forum.xda-developers.com/showthread.php?t=2322755
You need that. Luckily you're already S-Off, so shouldn't be terrible to get going again. Just update the firmware, reinstall TWRP and re-flash CM11. Should be good to go afterwards.
Click to expand...
Click to collapse
Thank you so much for the reply, does it matter that I don't have an OS to boot into as I already wiped and factory reset the phone for installation of a new rom.?
geek-x said:
Thank you so much for the reply, does it matter that I don't have an OS to boot into as I already wiped and factory reset the phone for installation of a new rom.?
Click to expand...
Click to collapse
Nah, shouldn't. The firmware we're referring to here is independent of the OS.
es0tericcha0s said:
Nah, shouldn't. The firmware we're referring to here is independent of the OS.
Click to expand...
Click to collapse
At the end of the guide, should help fix the issue, there's a part where I'm supposed to install the new CM kernel from the CM .zip package, how do I flash a kernel from Fastboot?
geek-x said:
At the end of the guide, should help fix the issue, there's a part where I'm supposed to install the new CM kernel from the CM .zip package, how do I flash a kernel from Fastboot?
Click to expand...
Click to collapse
Since you are S-Off, needing fastboot to install the boot.img is not necessary. It will install through recovery.
But, for future reference, you would boot to the bootloader screen, select fastboot, then assuming you have fastboot set up on the PC and the boot.img in the directory of said fastboot, you would use this command:
fastboot flash boot boot.img
then
fastboot reboot
es0tericcha0s said:
Since you are S-Off, needing fastboot to install the boot.img is not necessary. It will install through recovery.
But, for future reference, you would boot to the bootloader screen, select fastboot, then assuming you have fastboot set up on the PC and the boot.img in the directory of said fastboot, you would use this command:
fastboot flash boot boot.img
then
fastboot reboot
Click to expand...
Click to collapse
I tried flashing the firmware.zip file from the thread but I got a FAILED: (remote: not allowed) error in command prompt at the end of the process, what did I do wrong?
UPDATE: I was able to update the bootloader version successfully, as I forgot the part where I was to boot into RUU mode with fastboot oem rebootRUU and worked perfectly the second time.
I rebooted and found out the boot loader was updated to HBoot 2.15, and I also updated twrp to the latest S4 version but now in recovery I get errors about twrp been unable to mount the /data partition. Do I flash another recovery image?
UPDATE:
Thank you so much es0tericcha0s, I really appreciate the support, I got the /data mount issue fixed finally. I just had to flash an older twrp recovery image and then reflashed the new one in fastboot and I could then flash CM successfully.
I can't believe I finally unbricked this phone, its been bricked since Sunday. Once again, es0tericcha0s, Thank you!
geek-x said:
UPDATE: I was able to update the bootloader version successfully, as I forgot the part where I was to boot into RUU mode with fastboot oem rebootRUU and worked perfectly the second time.
I rebooted and found out the boot loader was updated to HBoot 2.15, and I also updated twrp to the latest S4 version but now in recovery I get errors about twrp been unable to mount the /data partition. Do I flash another recovery image?
Click to expand...
Click to collapse
You might need to RUU back then. If you have issues with the RUU exe, then you can extract the rom.zip and install it like you did the firmware. There are quite a few tutorials on how to extract it, or there might already be a version floating around for your phone.

Categories

Resources