[Q] CWM and command file - HTC One X

I am trying to install a custom rom an my HTC one X using only my pc. I got it to automaticly install the boor.img file etc.. but only the install of the rom itself using CWM recovery is giving me some trouble...
I can add some commands to /cache/recovery/command and CWM will execute those when it is booted in recovery, but i can't find anywhere what kind of arguments the CWM recovery can handle...
I tried:
--wipe_data
--wipe_cache
--set_encrypted_filesystem=off
--update_package=/sdcard/Android_Revolution_HD-One_X_5.2.0.zip
the last one is doing something, but it sais it can't find the file. One time i got it to find the file(i forgot how ), but then it said the verification failed and it stopped.
But when i select the file manually it installs just fine.
Can anyone help me give me the available arguments for the CWM recovery? I can't find them anywhere...
Or maybe tell me how to install a custom rom using just a pc, and not touching the device.
Thnx!

as far as im concerned CWM doesnt support usb on the HTC One X yet.
so you'll have to copy the file to your external sdcard and flash it through CWM itself

Yes i know that... But i can add arguments to the /var/recovery/command file using adb... When added the arguments I can reboot into recovery and CWM tries to execute those... I only need a argument to switch signature verification off...

Related

Can't root my device, not even with hiden butten **resolved**

can't flash any rom or any *.zip E:can't open /sdcard/update.zip (bad)
i had image 1.2.2 ra.
tryed to flash 1.5.2 thru recovery flasher, couldnt do,(also couldnt backup) it didnt flash even with the hidden butten.
so i flashed 1.5.2 thru adb shell flash_image recovery /sdcard/Recovery-RA-HERO-v1.5.2.img.
then i try to flash update.zip or any other zip, and i get that error.
any help?
thnx
i get this error when the zip file is corrupted, for example when i copy it to the sdcard and then forget to unmount on my pc.
update
i flashed an original rom 2.73.405.38 and now when i press power + home it show the tringel instead of the recovery console, i tryed now to flash cm-hero-recovery img and it wont let me, either the 1.5.2.
trying to have su it say permision denied.
remount not permited. thru adb.
its sim free white hero, no goldcard needed for flashing.
whats wrong with my device? something damaged my boot?
thnx
can not root anymore, anyone?
problem resolved.
flashed 2.73.405.5 (not 38) flashed root.
and all ok now.

problem installing rom from fresh root

I am trying to install the ozzey ROM on my incredible I just got it and rooted it. I have Rom managr, astro file viewer and titanium backup installed. I know I can do it via update.zip or Rom manager but it always fails and says signature verification failed. I triple checked the file to see that it was in .zip not .zip.zip I had windows show the hidden file extensions. In Rom manager it says whole file verification failed along with signature file. Astro file viewer shows it as update and on the root of the SD card but still get the error. I haven't done nand unlock or backup, and I don't care about looking any apps its a new phone with nothing on it. Any suggestions or method instructions? Does the SD card have to be fat32? My SD card is the 2gb pny card. Thanks!
You should just be able to use the .zip, put it anywhere on your sd card. Boot into Clockwork Recovery (If you flashed the new recovery using reflash.exe from unrevoked), DO A NANDROID BACKUP (this is a full system backup), format the user data and cache partition (both options), select update with a .zip and select your preferred .zip file (in your case ozzeh's)
See here for more information and any questions: http://forum.xda-developers.com/showthread.php?t=709220
Any thoughts as to why I am getting those errors? Can I use the re flash tool and go into clockmode recovery and install througt that?
If you do not have clockwork recovery you're not going to be able to flash a ROM. You need to use the reflash tool before you can flash any ROMS.
i have clockwork recovery its on my phone but it still won't flash. Also I tried the reflash but it keeps saying that its interrupted, I uninstalled HTC Sync and it still doesn't work. I also tried to format the sd card to fat32 and ran clockwork recovery but it didnt work same error
It's not clear from your posts exactly what your error is. You say you have Clockworkmod Recovery installed but you keep referencing trying to flash from ROM Manager.
What happens when you boot into Recovery and try to flash the zip file from there?
I instaleld Clockworkmod from ROM Manager, 2.0.1.3 is the verison of clockworkmod I have installed on the phone. I then use ROM Manager to install ROM SD card and it fails, it says signature verification failed and whole-file verification failed. I booted into it and it says it can't find the file in /cache/ and it says verification failed so it aborts and reboots.
kingdavid216 said:
I instaleld Clockworkmod from ROM Manager, 2.0.1.3 is the verison of clockworkmod I have installed on the phone. I then use ROM Manager to install ROM SD card and it fails, it says signature verification failed and whole-file verification failed
Click to expand...
Click to collapse
You might want to try a different rom and see how it goes.
That makes no sense. You can't flash CWM Recovery from ROM Manager on the Incredible (although you can update a prior install, sort of); you have to use unrevoked's tool.
kingdavid216 said:
I instaleld Clockworkmod from ROM Manager, 2.0.1.3 is the verison of clockworkmod I have installed on the phone. I then use ROM Manager to install ROM SD card and it fails, it says signature verification failed and whole-file verification failed
Click to expand...
Click to collapse
I thought I remember reading in some thread that ROM Manager going to clockworkmod will not work because there is no write access.
You will have to use recovery reflash tool to install the clockworkmod recovery and boot into it.
You can find that information in this thread:
http://forum.xda-developers.com/showthread.php?t=706270
supagene said:
I thought I remember reading in some thread that ROM Manager going to clockworkmod will not work because there is no write access.
You will have to use recovery reflash tool to install the clockworkmod recovery and boot into it.
You can find that information in this thread:
http://forum.xda-developers.com/showthread.php?t=706270
Click to expand...
Click to collapse
I instaleld Clockworkmod from ROM Manager, 2.0.1.3 is the verison of clockworkmod I have installed on the phone. I then use ROM Manager to install ROM SD card and it fails, it says signature verification failed and whole-file verification failed
Click to expand...
Click to collapse
You can use Rom manager to boot into clockwork recovery and install the zip from there however, you can't use the feature "Install rom from sd card" within rom manager itself.
Well I tried using just ROM manager to boot into clockwork and I was able to but it still gives me the same errors. I can't do the unevoked flash it reboots then says the communications were intruputed. I deleted HTC synch and had the usb on both disk drive connection and HTC synch but it doesn't go through
kingdavid216 said:
Well I tried using just ROM manager to boot into clockwork and I was able to but it still gives me the same errors. I can't do the unevoked flash it reboots then says the communications were intruputed. I deleted HTC synch and had the usb on both disk drive connection and HTC synch but it doesn't go through
Click to expand...
Click to collapse
Did you ever successfully use unrevoked's flash utility? If you just downloaded rom manager and booted in to recovery without successfully flashing, that won't work.
If you're having problems using the reflash tool then I suggest you get that working and then try again installing a rom.
Use terminal emulator to verify u have su.. Just type su and click accept, if u can do that follow word for word unrevoked reflash method, including installing the correct drivers for adb.
Sent from my ADR6300 using Tapatalk
i just did terminal emulator and i get root acess, #, superuser comes up and allows me to access it, so I will try again but for some reason I get that communication was interuppted.
hey, thanks to all you guys I finally got the custom ROM to work. I did the revoked flash, i had to delete the old htc driver and start again, and once it finally flashed just mounted the sd card and installed, worked perfectly, thanks again!!
kingdavid216 said:
hey, thanks to all you guys I finally got the custom ROM to work. I did the revoked flash, i had to delete the old htc driver and start again, and once it finally flashed just mounted the sd card and installed, worked perfectly, thanks again!!
Click to expand...
Click to collapse
glad you got it working!
Congrats man, good to hear you finally got it working.

..Should I give up?

stock recovery gives me error "E:signature verification failed"
In stock recovery, I can see my sdcard and select which zip file i want to install.. but when i do, i get the signature verification error.
CW recovery cannot see my sdcard (tried 3 different cards so far) and gives me error: files not found. Mounting SDcard does not do anything.
reformatted the 3 SDcards many times. , wiped the phone cache and tried disabling signature verification in CW recovery.
Phone is bricked now and has no ROM installed. Access to download and recovery mode are my 2 options only.
bid1 said:
stock recovery gives me error "E:signature verification failed"
In stock recovery, I can see my sdcard and select which zip file i want to install.. but when i do, i get the signature verification error.
CW recovery cannot see my sdcard (tried 3 different cards so far) and gives me error: files not found. Mounting SDcard does not do anything.
reformatted the 3 SDcards many times. , wiped the phone cache and tried disabling signature verification in CW recovery.
Phone is bricked now and has no ROM installed. Access to download and recovery mode are my 2 options only.
Click to expand...
Click to collapse
You're getting the signature error.because you are trying to flash an unofficial zip. With stock recovery the zip has to have a signature for it to flash.(this is why we need custom recovery)
What version of cwm are you flashing? If its the one that doesn't support the external SD card you have to put whatever zip you want to flash on the internal SD card, not the external. I think newer versions of cwm released have support for the external card. If you can get into download mode I would suggest flashing the stock rom and kernel through odin
Sent from my Samsung Galaxy S II Epic 4G Touch
Double post
Had this happen to my brother's phone last night where sd cards won't read and he couldn't flash a ROM. Your phone is not bricked if you can get into CWM or Odin mode. Take a look at this thread:
http://forum.xda-developers.com/showthread.php?t=1282420
Use Odin to flash to the stock eg30.tar and start from scratch. I'm new so I hope I didn't lead you into the wrong path or tell you something you already knew. Good luck!
bid1 said:
stock recovery gives me error "E:signature verification failed"
In stock recovery, I can see my sdcard and select which zip file i want to install.. but when i do, i get the signature verification error.
CW recovery cannot see my sdcard (tried 3 different cards so far) and gives me error: files not found. Mounting SDcard does not do anything.
reformatted the 3 SDcards many times. , wiped the phone cache and tried disabling signature verification in CW recovery.
Phone is bricked now and has no ROM installed. Access to download and recovery mode are my 2 options only.
Click to expand...
Click to collapse
Can you give a bit more explanation?
Which kernel do you have installed right now? Which ROM do you have installed?
Here is how i fixed this:
1- File (SPH-D710_Zedomax_EpicTouchKernel-v3 (SPH-D710_Zedomax_EpicTouchKernel-v3.tar) allowed me back into SDCard since it has CWM5. CW5 was able to do what CWM4 was not : give me access to sdcard. It also eliminated signature verification error.
2- Loaded Starburst ROM.
One common misconceptions here.
Very few people here understand the difference between firmware, kernel and ROM. You search for stock ROM and you will get stock kernel, stock firmware but NEVER stock ROM.
Also, ODIN DOES NOT allow ROM flashing. Odin does not recognize zip format. All ROMs are in zip format.
bid1 said:
Here is how i fixed this:
1- File (SPH-D710_Zedomax_EpicTouchKernel-v3 (SPH-D710_Zedomax_EpicTouchKernel-v3.tar) allowed me back into SDCard since it has CWM5. CW5 was able to do what CWM4 was not : give me access to sdcard. It also eliminated signature verification error.
2- Loaded Starburst ROM.
One common misconceptions here.
Very few people here understand the difference between firmware, kernel and ROM. You search for stock ROM and you will get stock kernel, stock firmware but NEVER stock ROM.
Also, ODIN DOES NOT allow ROM flashing. Odin does not recognize zip format. All ROMs are in zip format.
Click to expand...
Click to collapse
There is a stock rom on here to flash with odin ..... I have done it search and you will find it
http://forum.xda-developers.com/showthread.php?t=1282418
Sent from my SPH-D710 using xda premium

[Q] Device won't boot after sdcard format

my htc one x device doesn't boot up (only shows the HTC quietly brilliant screen) because i've formatted the sdcard and data files...
im now only able to boot into clockworkmod recovery...
can't even copy any files into the phone thru USB, as such, i can't install any ROMs...
tried to do a search on this but im an android noob and couldn't understand many of the would-be-related threads...
any kind soul can provide guides to how can i solve this?
thanks!
Use the latest CWM recovery
http://forum.xda-developers.com/showthread.php?t=1594819
Then you can mount USB with it and copy the ROM.zip to your sdcard and flash.
thanks for your reply!
i've got CWM 5.8.2.7 but i couldnt mount USB storage.
it gives me an error of:
"E: Unable to open ums lunfile (no such file or dir)"
That's an old CWM recovery with USB problem. Download the latest at the link given and flash it, you'll solve your problem easily.
Direct link : http://download.clockworkmod.com/recoveries/recovery-clockwork-touch-5.8.4.0-endeavoru.img
thank you so much for your help!!! finally the noob has gotten it fixed!

[Q] endeavoru cannot flash recovery

I previously managed to flash clockwork and sentinel. Now my recovery is corrupt and I cannot flash the recovery (or boot) .img..
I get the error 0X3000 remote fail when I try fastboot flash recovery recovery.img (the name of my ROM).
I cured this on the first install by fastboot erase cache. this now gives the error failed remote err )x 1900000
fastboot devices gives me the device name.
So my recovery is corrupt, and I want to flash a new recovery and then a new ROM.
Thanks
Fish
Managed to get recovery working but could not mount usb no drive E: error.
No backup either, even though i did one, files missing.
Tried to install zip, but lots of directories missing.
fishdude1 said:
I previously managed to flash clockwork and sentinel. Now my recovery is corrupt and I cannot flash the recovery (or boot) .img..
I get the error 0X3000 remote fail when I try fastboot flash recovery recovery.img (the name of my ROM).
I cured this on the first install by fastboot erase cache. this now gives the error failed remote err )x 1900000
fastboot devices gives me the device name.
So my recovery is corrupt, and I want to flash a new recovery and then a new ROM.
Thanks
Fish
Managed to get recovery working but could not mount usb no drive E: error.
No backup either, even though i did one, files missing.
Tried to install zip, but lots of directories missing.
Click to expand...
Click to collapse
Hi there, Which recovery u have u flashed? and with which recovery the backup u mentioned was taken?
SOLVED
keertikumar_ws said:
Hi there, Which recovery u have u flashed? and with which recovery the backup u mentioned was taken?
Click to expand...
Click to collapse
Recovery was clockworkMod (the version with chargimng and full USB).
I eventually rebooted my PC and could then erase cache, flash recovery again, mount USB from recovery and reflah boot, now alls well.
(Except no keyboard
So looks like the errors were PC related.
Ha..ha..okie...glad that its finally resolved
Thread #4
Sent from my HTC One X using XDA Premium 4 mobile app

Categories

Resources