Hi
I rooted and installed a CyanogenMod ROM on my One X and decided to revert back to stock using the backup I had created. I forgot to backup the boot.img though and it's now stuck in a boot loop.
I have access to fastboot but when I select recovery it displays the HTC logo white screen and doesn't progress from there. I've tried to flash the latest CWM recovery however when I send it I get an error message back:
sending 'recovery' (5742 kb)... FAILED (remote: (00000004))
I was flashing the latest recovery in the hope of being able to mount sd card and flash a new ROM/boot.img.
I've searched and searched and I've been unable to find any information that helps. :crying:
Please help me!
Mitch
mitchger said:
Hi
I rooted and installed a CyanogenMod ROM on my One X and decided to revert back to stock using the backup I had created. I forgot to backup the boot.img though and it's now stuck in a boot loop.
I have access to fastboot but when I select recovery it displays the HTC logo white screen and doesn't progress from there. I've tried to flash the latest CWM recovery however when I send it I get an error message back:
sending 'recovery' (5742 kb)... FAILED (remote: (00000004))
I was flashing the latest recovery in the hope of being able to mount sd card and flash a new ROM/boot.img.
I've searched and searched and I've been unable to find any information that helps. :crying:
Please help me!
Mitch
Click to expand...
Click to collapse
If you can enter fastboot USB, you shouldn't have any problems flashing CWM touch, maybe you have a corrupt CWM image - here is a perfectly working version.
http://db.tt/VF9J2eo8
Just in case you don't know,
Place the IMG in the folder that contains fastboot, adb etc in Android SDK - ie platform tools
Open CMD whilst phone is in fastboot USB,
CD c:/Android-SDK/platform-tools
fastboot flash recovery CWM.img
Good luck
Sent from my Nexus 7 using Tapatalk 2
You can only flash the boot.img using fastboot.
The boot.img is in the nandroid backup.
If you can't access recovery you could try fastboot erase cache
sent from my One X using xda venom premium
Related
Hi all.
Please help me fix my HTC One X!! I am trying to restore my phone back to its former glory after a failed attempt to upgrade to Jelly Beans. I installed Clockwork Recovery by
c:\Fastboot>fastboot flash recovery recovery-clockwork-touch-5.8.2.4-endeavouru.
img
sending 'recovery' (5452 KB)... OKAY [ 0.701s]
writing 'recovery'... INFOFormat partition SOS done
OKAY [ 0.556s]
finished. total time: 1.257s
However now I can not seem to mount my sdcard!! I have tried
c:\AndroidSDK\tools\platform-tools>adb devices
List of devices attached
>>>> which lists nothing!!
I need to put the operating system back on, but I am at a loss for what to do next after hours searching fruitlessly.
Please help if you can!!
Zugz
Why would you use such an ancient version of clockworkmod? You want 5.8.4.0, then you can mount SD card from recovery. And charge. Both good things
Try to install Android revolution ,then if you want follow going to stock threat :reboot to bootloader and flash rom boot.img , erase cache , boot into recovery bootloader->hboot->recovery or if it dont work try to flash recovery again than do full wipe and flash rom.zip
You can now boot system
Sent from my HTC One X using xda app-developers app
I updated
ms0 said:
Try to install Android revolution ,then if you want follow going to stock threat :reboot to bootloader and flash rom boot.img , erase cache , boot into recovery bootloader->hboot->recovery or if it dont work try to flash recovery again than do full wipe and flash rom.zip
You can now boot system
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
I updated to
c:\Fastboot>fastboot flash recovery recovery-clockwork-5.8.4.0-endeavoru.img
sending 'recovery' (5742 KB)... OKAY [ 0.738s]
writing 'recovery'... INFOFormat partition SOS done
OKAY [ 0.564s]
finished. total time: 1.304s
But I still didn't get can't seem to mount the sd card.
c:\AndroidSDK\tools\platform-tools>adb devices
List of devices attached
>>> still finds nothing.
Please would someone mind giving me basic instructions as how to go about remounting the sd card?
@ms0, I installed the Android Revolution, but I didn't understand your instructions properly.
Thanks for the messages so far, I am still very stuck
1) go into recovery
2) mount storage as USB.
When you're in fastboot it won't show in adb - you need android running for that
Sent from my HTC One X using xda premium
Adb only work when booted in system.
Sdcard mount can work in system and recovery.
To install recovery or system you can use fastboot command in bootloader
(Phone connected to USB and in bootloader-fastboot
Tab.)
To enter bootloader just shut down your phone (hold power for 10sec)and hold both vol- and power button.
When you are in bootloader on your computer you can run
Fastboot flash recovery -filename-.img
to flash recovery
Fastboot flash boot boot.img to flash rom kernel (you must also do fastboot erase cache ).
When this is done on your phone you can go to main bootloader screen and from there you can enter recovery and flash rom itself. Now you should be able to boot system and check usb debuging in settings . You should now be able to connect to adb if this don't work make sure you have proper drivers on your computer (HTC sync manager and Android sdk.)
Sorry for bad english - i hate htc keyboard
Sent from my HTC One X using xda app-developers app
Hi! i flashed a CM10 rom and i already had two backed up (one is the official and the other is a custom rom).. i have never restored a rom any time before but today i was trying to restore the official one and, as it didn't work, i tried to restore the second one with also no success.. i was able to restore this CM10 though.. what was happening is that after the restore was complete i selected reboot (from clockwork mod) and it started booting but only showing the first boot image (htc quietly brilliant image) and then rebooting at this point repeating this as a loop.. any ideas of what could be happening? could it be the boot.img file? thanks for your help
You have to reflash the appropriate boot.img file for the ROM you're restoring. You can find it the folder with your backups on the sdcard
Porsche.V said:
Hi! i flashed a CM10 rom and i already had two backed up (one is the official and the other is a custom rom).. i have never restored a rom any time before but today i was trying to restore the official one and, as it didn't work, i tried to restore the second one with also no success.. i was able to restore this CM10 though.. what was happening is that after the restore was complete i selected reboot (from clockwork mod) and it started booting but only showing the first boot image (htc quietly brilliant image) and then rebooting at this point repeating this as a loop.. any ideas of what could be happening? could it be the boot.img file? thanks for your help
Click to expand...
Click to collapse
Always keep a backup of your backed up Roms on your PC. (The file can be found in the 'clockworkmod' folder located in the SD card's root directory.
Once you are done with the process of flashing the recovery file through Clockwork Mod, reboot your phone into fastboot, flash the boot.img through command prompt.
fastboot flash boot boot.img
fastboot erase cahce
fastboot reboot
It should reboot after that :good:
thanks a lot for the help!
now that i am trying to flash the boot.img from my first backed up rom (official) i am getting from cmd:
C:\Android\fastboot\fastboot2>fastboot boot boot.img
creating boot image...
creating boot image - 8390656 bytes
downloading 'boot.img'...
OKAY [ 1.109s]
booting...
FAILED (remote: reproduce boot image with on-flash ramdisk error)
finished. total time: 1.149s
any idea?
wrong command line.. i was missing the "flash".. sorry
Porsche.V said:
now that i am trying to flash the boot.img from my first backed up rom (official) i am getting from cmd:
C:\Android\fastboot\fastboot2>fastboot boot boot.img
creating boot image...
creating boot image - 8390656 bytes
downloading 'boot.img'...
OKAY [ 1.109s]
booting...
FAILED (remote: reproduce boot image with on-flash ramdisk error)
finished. total time: 1.149s
any idea?
Click to expand...
Click to collapse
hi
use the fastboot tool attached and do this
1. replace the existing boot.img with the one from ur back up
2. get ur phone into fast boot mode
3.connect ur phone via USB to ur pc u will see the fastbootUSB word on ur phone
4. in side the tool click on install-boot window and do as the screen says if it says ok u are good to go:good::laugh:
HI Guys... this is my first post here so thanks for the great forum
Here is my issue, I've installed The All-in-one tool kit to unlock my phone, all went ok for unlocking,
then i tried to flash a rom and i think i messed up pretty bad.
Just had my One X 2 weeks ago fist time flashing a One X (Did it several times with my Galaxy Ace)
Now my phone keeps on rebooting and eventually gets stuck on boot animation with the red message from CMW saying That this build is for development purposes only ect....
I cant even get in the bootloader, what are my option here?
Thanks in advance
Miamijice
it's strange that you can't go into bootloader, but anyway, can you go to recovery? if so, try to reflash. but anyway you'll need bootloader to flash boot.img ("fastboot flash boot boot.img" on cmd).
or, try to go into recovery, connect to pc, and type in cmd: "adb reboot bootloader", and you should go into bootloader, then flash boot.img
glukosio said:
it's strange that you can't go into bootloader, but anyway, can you go to recovery? if so, try to reflash. but anyway you'll need bootloader to flash boot.img ("fastboot flash boot boot.img" on cmd).
or, try to go into recovery, connect to pc, and type in cmd: "adb reboot bootloader", and you should go into bootloader, then flash boot.img
Click to expand...
Click to collapse
Ok... so i got into bootloader now (kinda tricky when phone reboots on it own.)
Once in bootloader i choose fastboot, then pc connects to phone, then i did fastboot flash boot boot.img in cmd in my c:/android folder (i have the ziped rom file in there too)
C:\Android>fastboot flash boot boot.img
sending 'boot' (4302 KB)... OKAY [ 0.953s]
writing 'boot'... OKAY [ 1.210s]
finished. total time: 2.165s
This is the result. My guess from there is to go in recovery from the bootloader. But i get stuck again rebooting and nothing happends.
I guess im missing something here... Thanks for your patience!
Reflash the recovery again and erase cache with fastboot commands, maybe it helps
Verstuurd van mijn HTC One X
Try this tool to flash recovery and boot.img http://forum.xda-developers.com/showthread.php?t=1734365
Sent from my HTC One X using xda premium
joewong1991 said:
Try this tool to flash recovery and boot.img http://forum.xda-developers.com/showthread.php?t=1734365
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
hi
i have the same problem with my SE neo ,, i dont know what is this starnge thing happening
i will try the tool and kindly suggest me what i can do now?
Enter bootloader by holding power + volm down for 10 seconds, check if your phone says ***LOCKED*** or ***UNLOCKED at the top and also check if it says 'endeavoru' or 'evita'.
Okay, so I tried my best to search the forums and read the Q+A first, but the suggestions I've found so far didn't help me solve my problem.
I started with Hasoon200's tool kit and successfully unlocked the boot loader. Then, however, I got stuck at installing CWRM (it just wouldn't boot into recovery after installing). So I gave it a try with the "One X one Click" tool kit. I downloaded the n3okernel v34 and -modules as well as the newest nightly build of Cyanogen Mod (cm-10.1-20130414-NIGHTLY-endeavoru).
Now my HOX is caught in a boot loop. No matter which option I choose (fastboot / hboot, recovery, factory reset), it'll always go to the white HTC screen and stay there. Since Q+A's Q11 mentions it: yes, the last time I could boot into the OS (then still the stock image) I disabled fast boot in power settings.
Currently I can only access my HOX via fastboot, I already got a stock image and extracted the boot + recovery images, which I then flashed with the fastboot utility, as suggested in the Q+A's Q9. I erased the cache and rebooted to no avail. I also tried the firmware executable (RUU_ENDEAVOR_U_ICS_40_O2_DE_1.26.207.2_Radio_1.1204.90.13_release_251288_signed) to no avail.
Q+A's Q15 suggests sideloading via adb, but adb won't recognize my device.
I've also relocked the bootloader, this was suggested in another online ressource after flashing the stock boot+recovery images.
The phones HBOOT Version is 1.36.0000. I've noticed a different radio version than the one mentioned in my downloaded RUU; phone says 5.1204.162.29, downloaded file says 1.1204.90.13. I've not yet found a working download link with the right version number.
Please help.
Unlock it, make a full wipe in the custom recovery, install cm10.1, install gapps, flash the boot.img from the cm10.1 Rom and reboot.
So
Unlock it, flash a custom recovery (if you havent got one). If you still have trouble entering it you do this command in the bootloader
Fastboot erase cache
Mr Hofs said:
Unlock it, make a full wipe in the custom recovery, install cm10.1, install gapps, flash the boot.img from the cm10.1 Rom and reboot.
So
Unlock it, flash a custom recovery (if you havent got one). If you still have trouble entering it you do this command in the bootloader
Fastboot erase cache
Click to expand...
Click to collapse
Unlocking the bootloader works, but I'm not able to enter the recovery mode. It only shows a black screen (see attached picture).
EDIT: ok, wait... after flashing the clockwork recovery, I'm now getting into recovery mode. Will now try the next steps you suggested and give feedback later. Thanks a lot so far!
Press the Power and Volume down buttons which will take you the the hboot screen. From there select fastboot and flash a custom recovery like CWM via fastboot.
Now select hboot again and then select recovery!
Okay, so I successfully flashed CWM. I'm now able to boot into recovery. I also succeeded in flashing a boot.img which i took from cm-10.1-20130414-NIGHTLY-endeavoru.zip
c:\One\One\Data>fastboot flash boot boot.img
sending 'boot' (4960 KB)...
OKAY [ 0.684s]
writing 'boot'...
(bootloader) Format partition LNX done
OKAY [ 0.498s]
finished. total time: 1.186s
Now - when selecting hboot - the phone gets to another screen, the one where it displays the "HTC One" logo; I tried flashing the CM-image using fastboot (adb still doesn't work), but got following error message:
c:\One\One\Data>fastboot flash /sdcard update.zip
sending '/sdcard' (200098 KB)...
OKAY [ 25.507s]
writing '/sdcard'...
FAILED (remote: not allowed)
finished. total time: 25.716s
So close, yet so far...
So you have a working CWM installed right?
After flashing the boot.img... do "fastboot erase cache"
now go to CWM(recovery) and mount your sd card... copy the CM10ROM.zip and the gapps.zip to your HOX...
after that select wipe data and then wipe dalvic and cache...
Now select install zip from SD and install the ROM and then the gapps... reboot!
The problem is that I can't - or could'nt - transfer files any other way than using fastboot. However, I've now flashed Team Win TWRP2, and finally I'm able to access my phone over adb or just mount it and access it via explorer. Phew.
FINALLY!
So, if another noob like me finds this thread in the future...
After installing the TWRP2 recovery with flashboot flash twrp2.img, then booting into recovery and mounting my device, I was able to copy the CM-ROM-zip file onto the HOX. Then I rebooted into fastboot again and flashed the boot.img from aforementioned zip-file using "fastboot flash boot boot.img".
Booted again, selected the recovery system, installed ROM from zip file.
I'm getting too old for this ****. Almost had a heart attack when I thought I had bricked my phone. Thanks everyone for holding my hand, I appreciate it.
Good mate !
CASE CLOSED !
While rooting my One X I may have gotten a bit stuck, the phone hangs at the HTC loading screen.
And I cannot load a custom recovery onto the phone.
I have unlocked the boot loader, but got to the step of flashing the custom recovery and I get this error:
sending 'recovery' <6038 KB>...
FAILED (command write faileed (Unknown error))
finsihed. total time: 0.642s
I got boot into fastboot, and can see my phone, appear with the command "fastboot devices" but am unable to do anything else.
Any help to get my phone back would be appresiated
Vest1ge said:
While rooting my One X I may have gotten a bit stuck, the phone hangs at the HTC loading screen.
And I cannot load a custom recovery onto the phone.
I have unlocked the boot loader, but got to the step of flashing the custom recovery and I get this error:
sending 'recovery' <6038 KB>...
FAILED (command write faileed (Unknown error))
finsihed. total time: 0.642s
I got boot into fastboot, and can see my phone, appear with the command "fastboot devices" but am unable to do anything else.
Any help to get my phone back would be appresiated
Click to expand...
Click to collapse
how did you flash the recovery? i mean the command.
robchongke said:
how did you flash the recovery? i mean the command.
Click to expand...
Click to collapse
I have never managed to get a successful flash.
I have tired through the CMD command as well as One X toolkit by Hansoon2000
fastboot flash recovery <file>
Vest1ge said:
I have never managed to get a successful flash.
I have tired through the CMD command as well as One X toolkit by Hansoon2000
Click to expand...
Click to collapse
i used hassoon's toolkit and it never gave me problem. maybe you forgot to place the recovery.img in the fastboot folder?
robchongke said:
i used hassoon's toolkit and it never gave me problem. maybe you forgot to place the recovery.img in the fastboot folder?
Click to expand...
Click to collapse
I got the same error, with the CMD command, I think i've done something to the phone..
Vest1ge said:
I have never managed to get a successful flash.
I have tired through the CMD command as well as One X toolkit by Hansoon2000
fastboot flash recovery <file>
Click to expand...
Click to collapse
did you enter the command
fastboot flash recovery.img or fastboot flash recovery recovery.img?
robchongke said:
did you enter the command
fastboot flash recovery.img or fastboot flash recovery recovery.img?
Click to expand...
Click to collapse
fastboot flash recovery CWM.img (to be precise)
I wish it was that simple.
Just tried it again first ime same eorr, then tried it again and it just held on sending ' recovery' and the phone went unresponsive
it is that simple. put recovery.img inside fastboot folder. go into bootloader then flash recovery via cmd with the command fastboot flash recovery recovery.img. that's it. did you try downloading another recovery? might be a bad download. i guess.
Tried another USB port or cable?
Sent from my HTC One X using xda app-developers app
tomascus said:
Tried another USB port or cable?
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
That worked perfect.
Manged to install clockwork recovery, but still once loading CM10.1 onto my phone, can't get past the htc screen.
Went Factory Reset -> Reset Cache -> Loaded ROM from SD
Vest1ge said:
That worked perfect.
Manged to install clockwork recovery, but still once loading CM10.1 onto my phone, can't get past the htc screen.
Went Factory Reset -> Reset Cache -> Loaded ROM from SD
Click to expand...
Click to collapse
Did you flash the boot.img file from the rom.zip via fastboot? And then did you erase fastboot cache? Did you wipe everything before installing the rom via recovery?
-Sent from my IceCold One X!