[q] htc one x restore - need help with fastboot commands - HTC One X

I am seeking your help to clear up some of my confusion in solving a problem with my HTC ONE X. I tried flashing a custom ROM on my HTC Android phone but all the files and partitions got messed up that every time it boots up, it is on a bootloop. I know the cause to this is due to a mixture of inconsistent (boot, recovery)partitions libraries that I have on the phone.
Therefore, I want to FULLY WIPE OF ALL the data on the phone's storage and reinstall a clean set of libraries and stock rom. However, before I wipe off all data and install the new stock rom, I want to know all the commands that I can issue to correct this problem but the problem I have is that the stock zip has a boot.img, hboot.img and recovery.img along with a set of folders (System and Meta-inf folders) and I don't know the command that I can issue to push the folders I mentioned in the right partition, "/system" partition. Moreover, I cannot boot into any recovery modes (CWM or TWRP) so everything has to be done via fastboot commands, I think.
I know I can execute the following commands if everything(all the partitions) were an .img file but for the folders I do not know how to push them onto my phones storage.
For example to push the boot content on the boot partition, I issue the following command to flash the device
fastboot erase boot
fastboot flash boot boot.img
and the following for the rest of the partitions:-
fastboot erase recovery
fastboot flash recovery recovery.img
and so on..
So what would be the solution to push those folders that are non img format related onto the right partitions? Flash it as a zip file?
Lastly, the phone is unlocked, CID: 11111111, Hboot: 1.09 and can only boot into fastboot mode for now. I also tried running the automatic RUU files via zip and exe formats but always fail due to signature or some other missing file error.

totti_09 said:
I am seeking your help to clear up some of my confusion in solving a problem with my HTC ONE X. I tried flashing a custom ROM on my HTC Android phone but all the files and partitions got messed up that every time it boots up, it is on a bootloop. I know the cause to this is due to a mixture of inconsistent (boot, recovery)partitions libraries that I have on the phone.
Therefore, I want to FULLY WIPE OF ALL the data on the phone's storage and reinstall a clean set of libraries and stock rom. However, before I wipe off all data and install the new stock rom, I want to know all the commands that I can issue to correct this problem but the problem I have is that the stock zip has a boot.img, hboot.img and recovery.img along with a set of folders (System and Meta-inf folders) and I don't know the command that I can issue to push the folders I mentioned in the right partition, "/system" partition. Moreover, I cannot boot into any recovery modes (CWM or TWRP) so everything has to be done via fastboot commands, I think.
I know I can execute the following commands if everything(all the partitions) were an .img file but for the folders I do not know how to push them onto my phones storage.
For example to push the boot content on the boot partition, I issue the following command to flash the device
fastboot erase boot
fastboot flash boot boot.img
and the following for the rest of the partitions:-
fastboot erase recovery
fastboot flash recovery recovery.img
and so on..
So what would be the solution to push those folders that are non img format related onto the right partitions? Flash it as a zip file?
Lastly, the phone is unlocked, CID: 11111111, Hboot: 1.09 and can only boot into fastboot mode for now. I also tried running the automatic RUU files via zip and exe formats but always fail due to signature or some other missing file error.
Click to expand...
Click to collapse
if you flash that recovery it will go back to stock lol you need to flash a firmware.zip...for more information please read the guides to how to flash it...all what you need to know and need to flash is stated in those guides

Hboot 1.09 that's not a endevour HTC one X ! .....what does the top of the bootloader say ?
And second.....questions do not belong in the general section !!!
And give the outcome of :
Fastboot getvar version-main

Related

[Q] insertcoin data plus V3 help

i have installed insertcoin dataplus v3 with partition of fat32 =6.40gb
and ext3=1gb ...still the internal memory appears low all the time ...can any1 help me with this .....
Thanx
Are you S-off? Did you flashed the CM7 HBoot partition table?
YES M S-OFF ..... I DIDNT FLASH CM7 HBoot partition table ...WHAT IS IT ???
Next time READ!!!
from the Insertcoin data++ thread:
1st things 1st, you need to flash Bravo CM7 Hboot. either from fastboot or from hboot.- goto alpharev.nl site - is there together with all the info how to flash it
Click to expand...
Click to collapse
From alpharev.nl (here you can find also the required files).
If you are already S-OFF, you can get our newest patched HBOOTs from here. (without going through the entire procedure again).
Please read the entire table and pick the partition table with the correct sizes for your ROM. One easy way to switch partition tables, is to nandroid backup,
and verify that the sizes of your backup are indeed the ones listed in the table (or smaller), and restore after flashing hboot.
1) Nandroid backup in recovery.
1a) Download This file.
2) Verify the MD5SUM of the file you downloaded against the one in the table.
3) Flash HBOOT with your phone in fastboot mode (Back+POWER) -> 'fastboot flash hboot bravo_alphaspl.img' (change into the correct filename for the HBOOT you downloaded)
4) 'fastboot reboot-bootloader'
5) 'fastboot erase cache'
6) Boot recovery, wipe everything and restore.
Click to expand...
Click to collapse
More detailed instructions here:
http://forum.xda-developers.com/showpost.php?p=12699557&postcount=8
thanx davebugyi
gawwd .....i still cant get it still didnt understand the procedure wanted to use data++
1.Download the .img file from Alpharev's site. The BRAVO_CM7 one.
2. Download android SDK from official site, and run SDK Manager. When it is running, then install the platform-tools (revision 3 ATM), too.
3. Copy the CM7 file (.img) you downloaded into the android SDK folder, where fastboot.exe is located.
4. Reboot your phone into fastboot (holding down BACK+POWER keys when the phone is switched off) - it should show FASTBOOT USB.
4a. Make sure you have the USB drivers installed (for me HTC sync is not needed, i used the UNREVOKED USB drivers instead)
5. Fastboot flash. navigate to your android SDK directory in Command Promt (CMD.EXE) then run these commands:
a, fastboot flash hboot bravo_alphaspl.img (or whatever is the name of the file)
b, fastboot reboot-bootloader
c, fastboot erase cache
6. You have now the Partition table.
7. Just in case, go to the recovery, wipe EVERYTHING and Re-flash the ROM.
Alternative solution here: Did not try it myself, so don't ask, how to
http://forum.xda-developers.com/showthread.php?t=794638
finally did it .....
thanx alot davebugyi

Bootloader crashes after flashing fastboot boot.img

Every time I try to flash boot.img for a custom ROM using fastboot the bootloader on the device crashes (gets stuck until manual reboot).
It seems to flash fine according to terminal.
To test, I just flashed the newest CWM recovery using fastboot and that worked fine. Bootloader didn't get stuck.
The device is crashing a lot since installing 1.29 ROMs so I think boot.img isn't flashing.
any ideas?
is that after changing roms?
You need to have correct boot.img for the ROM you are using.
Also, between changing ROMs, you should delete at least(!) the cache partition (fastboot erase cache), preferably whole /data (will reset to factory!).
Simply put - I think erasing cache will solve your problem: fastboot erase cache
Did you manage to resolve this in the end? I'm getting exactly the same issues.
Naturally, after posting, I realised that I was typing fastboot boot boot.img, forgetting to add the "flash"
Actual syntax: fastboot flash boot boot.img

Fastboot flashing

Ok, back in my HTC Desire HD days I could rename a prepared radio zip file to PD98IMG.zip, move the file to my SD-card root, then go to fastboot and the file was immediately recognized as flashable and I could choose to flash it, without going through adb.
Is there any similar method in Gnex?
For instance, I would like to flash a ClockworkMod Recovery update file straight from fastboot, without adb commands (i.e. a PC).
Thanks.
no. HTC phones use hboot which is their own bootloader written to look for that file name.
Thanks!:good:
In the Nexus, you flash raw images through fastboot.
'fastboot flash <partition_name> filename.img'
Partition names available: system, boot, recovery, userdata, logo.bin
Edit: read the stickies
http://forum.xda-developers.com/showthread.php?t=1812959
Sent from my i9250

[Q] Can't Upgrade HTC One X

Guys i've installed CWM and unlcoked my tegra HTC One X.
I want to go back to the stock rom and dont have a backup. I am running 2.17.980.6 with OPTUS_001 CID. I can't find this ROM anywhere....
I tried a few newer versions of the OPTUS_001 CID ROM, but neither worked. What i'm doing is (a) relocking the bootrom with fastboot oem lock (b) in fastboot usb, typing fastboot flash boot boot.img, where boot.img is from the RUU i downloaded (two versions I got from the xda formums).
When I do the second command, i get the following
sending 'boot' (8192 KB)... FAILED (remote: (00000008))
I've also tried doing the Software update within the phone itself, it reboots my phone, then it goes to the bootloader screen and sits there........ weird. I also can't load recovery anymore, and my bootloader now says *** RELOCKED *** *** Security Warning ***
Help!!
Thanks
First thing now is to unlock the bootloader now.....i will find a link to a "new" stock nandroid backup you can use !
http://forum.xda-developers.com/showthread.php?t=1975140
Here is a 2.17 nandroid backup for Optus 001 ....
Flash the custom cwm recovery again ans enter it, go to mounts and storage and mount is a usb mass storage device. Then unpack and copy the nandroid to the right folder on the sdcard of the phone. Copy the boot.img from that nandroid to the fastboot folder.
Now you flash the boot.img first. Type in the command window on the pc
Adb reboot bootloader
Then
Fastboot erase cache
Fastboot flash boot boot.img
Fastboot erase cache
Then unhook the usb cable and enter the recovery
Make a full wipe there......factory reset, wipe cache partion, dalvik cache, system, data .....
Then restore the nandroid backup and boot it up to check of it works. Now don't update ! You need to flash back the stock 2.17 recovery first in order to be able to update !
http://db.tt/U5CK4noo
Hi Hofs,
My HTC has been sitting on a table gathering dust all this time. I wiped the dust off it and gave it a charge and thought i'd give your process a whirl.
I'm right up to the last step, where I need to restore the stock 2.17 recovery. I clicked the link you provided to dropbox and it says file not found! doh.......... any chance you have the file still?
Cheers, joo
Mr Hofs said:
First thing now is to unlock the bootloader now.....i will find a link to a "new" stock nandroid backup you can use !
http://forum.xda-developers.com/showthread.php?t=1975140
Here is a 2.17 nandroid backup for Optus 001 ....
Flash the custom cwm recovery again ans enter it, go to mounts and storage and mount is a usb mass storage device. Then unpack and copy the nandroid to the right folder on the sdcard of the phone. Copy the boot.img from that nandroid to the fastboot folder.
Now you flash the boot.img first. Type in the command window on the pc
Adb reboot bootloader
Then
Fastboot erase cache
Fastboot flash boot boot.img
Fastboot erase cache
Then unhook the usb cable and enter the recovery
Make a full wipe there......factory reset, wipe cache partion, dalvik cache, system, data .....
Then restore the nandroid backup and boot it up to check of it works. Now don't update ! You need to flash back the stock 2.17 recovery first in order to be able to update !
http://db.tt/U5CK4noo
Click to expand...
Click to collapse
Sure mate
http://db.tt/OtcxVXh5
Changed some names and folders since march

[Q] Boot loop and can't find appropriate boot.img

Hi
I've been given a One X (he bought an M8) and I thought I'd easily put on KK 4.4.4, but I have hit a brick wall.
It was running ViperX 2.6.0 with Hboot 0.95, and it's S-ON.
Well 4.4.4 needs a Hboot above 1.28, so the flashing failed.
So I did my homework and got the CID (it's HTC-023) to install the firmware so that I could update the Hboot via OTA.
So I installed the boot.img for the HTC-023 firmware and that (of course) was a an error as I didn't have a copy of the boot.img for the ViperX 2.6.0.
Then the firmware was a .rar file and didn't install anyrate.
So now it's in bootloop.
I have not been able to find a copy of ViperX 2.6.0 to extract the required boot.img
I've got TWRP with Sideloader installed, and ADB works fine.
So I am stuck (like my One X really) so any advice would be appreciated.
Thanks
Solution
I thought I should post the solution.
The essential problem was to get a Hboot 1.28 or higher so that a new version of Cyanogenmod could be installed.
On this page http://forum.xda-developers.com/showthread.php?t=1957376&page=189 is the following from ClydeB1
To flash you need to run the following commands: (It is advised to take a backup of your data and important files on your sd card)
1. Lock bootloader - fastboot oem lock
2. Boot to RUU mode - fastboot oem rebootRUU
3. Flash firmware - fastboot flash zip firmware.zip (if you get an error then rerun this command)
Note: The firmware will flash the new hboot, as well as a new stock boot.img and stock recovery.img.
To flash a custom rom you then need to do the following:
4. Unlock bootloader - fastboot flash unlocktoken Unlock_code.bin (you can use the same unlock_code file as you used previously, check your emails if you can't find it, or else reapply at htcdev.com)
5. Flash custom recovery - fastboot flash recovery nameofrecoveryfile.img
Note: If the unlock process wiped your sd card you may need to boot to recovery and mount usb storage to copy the rom file across again. If your phone won't boot into recovery then run command - fastboot erase cache and try again.
If you then wish to flash a JB custom rom:
6. Flash new boot.img from rom - fastboot flash boot boot.img
7. For good measure - fastboot erase cache
8. Boot to recovery and flash rom
I followed these steps exactly and it worked perfectly. I did need to use CWM as with TWRP the touch screen did not work.
and have more ease way to do this. You are with too low HBOOT and you can run RUU and then update the phone to latest JB because are you know witch HBoot you install to your phone

Categories

Resources