Hi,
I wanted to flash official froyo ruu
and downloaded it ( http://www.filefactory.com/file/b4b...5.55.24H_3.35.20.10_release_160191_signed.exe )
i couldnt do it with htc sync it gave me 131 customer id error. people told to go with goldcard.
i read here: http://forum.xda-developers.com/showpost.php?p=8105075&postcount=42
and got my cid, as below:
Executing adb shell cat /sys/class/mmc_host/mmc1/mmc1:*/cid
Reading adb output
------------------------
1b534d3030303030101ae4b6cd00a840
------------------------
CID: 1B534D3030303030101AE4B6CD00A840
Reversing CID
CID: 00A800CDB6E41A1030303030304D531B
Click to expand...
Click to collapse
i created goldcard.img with 1b534d3030303030101ae4b6cd00a840 (by using goldcardtool.exe from - klutsh's gold card tool)
i also got the rom.zip file and copied to the sd card.
NOW; what should i do???? i am going to recovery menu when turning on the phone but cant install it like i do before (like cyanogenmod rom..etc by selecting install from sd card - it is giving error).
also, which cid i should go with 1b534d3030303030101ae4b6cd00a840 or 00A800CDB6E41A1030303030304D531B
goldcard.img is 1kb only, is it ok?
Please help, i need to unroot this phone because i am going to sell it...
found the solution:
you need to change rom.zip's name,
in recovery boot, the system is looking for file names, mine was pc49img.zip
so, i changed the name and it worked
froyo working great, couldnt find any bug
When trying to use RUU's i get a error that it cant update my htc one.
i tried both europian RUU's and its a europian phone(dutch no simlock)
i also have a nandroid but i cant restore it....it says no files found.
Where do i place the nandroid backup(made by clockworkmod) and how do i restore it?
thanks.
borgqueenx said:
When trying to use RUU's i get a error that it cant update my htc one.
i tried both europian RUU's and its a europian phone(dutch no simlock)
i also have a nandroid but i cant restore it....it says no files found.
Where do i place the nandroid backup(made by clockworkmod) and how do i restore it?
thanks.
Click to expand...
Click to collapse
I read your post in my guide thread. What recovery do you have CWM or TWRP?
borgqueenx said:
When trying to use RUU's i get a error that it cant update my htc one.
i tried both europian RUU's and its a europian phone(dutch no simlock)
i also have a nandroid but i cant restore it....it says no files found.
Where do i place the nandroid backup(made by clockworkmod) and how do i restore it?
thanks.
Click to expand...
Click to collapse
I know my device(From the Netherlands Sim Unlock) is on WWE firmware. Is yours carrier branded?
My advice would be to try Reinstalling CWM through HTC One AIO toolkit and then place the backup back in the CWM folder.
Maybe that will work.
clockworkmod is the installed recovery.
it just doesnt want to start the restore function. i can however select install from sd card fine, proofing that it has no problems seeing the data....
mine is not carrier branded.
So when you attempt to do the restore from CWM it lists the date/name of your backup but fails? Or can you not even get CWM to start the restore because it doesn't see the backups?
crushalot said:
So when you attempt to do the restore from CWM it lists the date/name of your backup but fails? Or can you not even get CWM to start the restore because it doesn't see the backups?
Click to expand...
Click to collapse
no it does not list anything.
tried moving the backup folder but i have no idea where to place it. already tried putting it in root, triying to put it in /backup and in /clockwordmod or something.
the error i get is: couldnt open directory, no files found.
borgqueenx said:
no it does not list anything.
tried moving the backup folder but i have no idea where to place it. already tried putting it in root, triying to put it in /backup and in /clockwordmod or something.
the error i get is: couldnt open directory, no files found.
Click to expand...
Click to collapse
Sorry this part can be tricky because folder path is slightly different on 4.1.2 than 4.2.2. Also I haven't used CWM in a long time since I switched to TWRP.
Did you try putting the entire clockwordmod folder in:
/data/media
Then try the restore.
crushalot said:
Sorry this part can be tricky because folder path is slightly different on 4.1.2 than 4.2.2. Also I haven't used CWM in a long time since I switched to TWRP.
Did you try putting the entire clockwordmod folder in:
/data/media
Then try the restore.
Click to expand...
Click to collapse
had to make both folders, they didnt exist. there is a .data folder though.
edit: didnt work putting the backup folder in there.
borgqueenx said:
had to make both folders, they didnt exist. there is a .data folder though.
edit: didnt work putting the backup folder in there.
Click to expand...
Click to collapse
You didn't use the correct folders. I am not talking about folders on the root of your sdcard, I am talking about root of file system.
You should have a file explorer tool that will allow you to navigate to root and have R/W permissions so we can move files if needed. If not go to the play store and install https://play.google.com/store/apps/...wxLDEwOSwiY29tLmVzdHJvbmdzLmFuZHJvaWQucG9wIl0
Open the application and on the top left there is a small icon, click it and should open the fast access menu. Choose Root Explorer and then Mount R/W when prompted, click ok (keep defaults).
Now you should be at the device root and it will say Device in the top middle of ES.
Now browse to /data/ then /media
If you do not see a clockwork mod folder in media that is where we need to move the CMW backups in order to be able to restore them from recovery.
So move the clockwordmod folder from media/0/clockworkmod to the root of /media folder so it looks like
/data/media/clockworkmod(folders within here have your backups)
Then boot into recovery and try the restore.
crushalot said:
You didn't use the correct folders. I am not talking about folders on the root of your sdcard, I am talking about root of file system.
You should have a file explorer tool that will allow you to navigate to root and have R/W permissions so we can move files if needed. If not go to the play store and install https://play.google.com/store/apps/...wxLDEwOSwiY29tLmVzdHJvbmdzLmFuZHJvaWQucG9wIl0
Open the application and on the top left there is a small icon, click it and should open the fast access menu. Choose Root Explorer and then Mount R/W when prompted, click ok (keep defaults).
Now you should be at the device root and it will say Device in the top middle of ES.
Now browse to /data/ then /media
If you do not see a clockwork mod folder in media that is where we need to move the CMW backups in order to be able to restore them from recovery.
So move the clockwordmod folder from media/0/clockworkmod to the root of /media folder so it looks like
/data/media/clockworkmod(folders within here have your backups)
Then boot into recovery and try the restore.
Click to expand...
Click to collapse
tried to do exactly what you told me.
there is a data folder in root, but there is no media folder inside of that.
and if i try to create it it fails and says i should try giving the folder another name.
edit: never mind a restart of the app fixed it.
EDIT: didnt work.
my backup folder is inside /data/media/clockworkmod/
and clockwork recovery still gives desame error.
First confirm where CWM is actually putting your backups. Do this by booting into recovery and choose to do a backup. Then uncheck all partitions but the smallest and allow it to backup.
When you reboot navigate through the folders we have been talking about and see the exact path of where it put it. Then compare the contents of the backup folders to make sure it is not your original backup that is messed up.
As long as you place your backup(inside its folder) in the folder where CWM put the test backup, then you should be able to see it from recovery and restore it. If not your original backup may not be any good.
Going offline for about hour for lunch. Be back around 1:30pm EST.
grrrrrr...
made a backup for testing where clockword puts them.
they are in /data/media/clockwordmod/backup
my backup is placed in /data/media/clockwordmod.
when i try to move my backup folder to /data/media/clockwordmod/backup it says successfull, but nothing happens. i cant seem to move the folder.
EDIT: ok copying pasting worked instead of cutting pasting.
i now restored...but for some reason recovery is still clockwordmod, and it still shows tampered and unlocked on first screen before recovery.
Well you probably backed up with the custom recovery installed, right? You'll have to flash the stock recovery manually.
If you want it to be locked, you'll have to lock it. revone will do that for you, after you've flashed stock recovery.
BenPope said:
Well you probably backed up with the custom recovery installed, right? You'll have to flash the stock recovery manually.
If you want it to be locked, you'll have to lock it. revone will do that for you, after you've flashed stock recovery.
Click to expand...
Click to collapse
i made the backup using a started version of clockwordmod, not a flashed version of clockwordmod.
....but ok. where can i find the normalrecovery and how to flash it?
borgqueenx said:
i made the backup using a started version of clockwordmod, not a flashed version of clockwordmod.
....but ok. where can i find the normalrecovery and how to flash it?
Click to expand...
Click to collapse
Odd.
Have you tried looking for the stock recovery? A high proportion of the posts here are about returning to stock.
borgqueenx said:
grrrrrr...
EDIT: ok copying pasting worked instead of cutting pasting.
i now restored...but for some reason recovery is still clockwordmod, and it still shows tampered and unlocked on first screen before recovery.
Click to expand...
Click to collapse
That is all normal. All you have done is reset the ROM back to default. You will still need to restore the stock recovery and then relock the bootloader to get to 100% stock.
I am trying to find all the info needed for you to finish up and I will post it.
---------- Post added at 02:02 PM ---------- Previous post was at 01:44 PM ----------
borgqueenx said:
i made the backup using a started version of clockwordmod, not a flashed version of clockwordmod.
....but ok. where can i find the normalrecovery and how to flash it?
Click to expand...
Click to collapse
Back in post number 4 you state that CWM is your installed recovery.
So it seems correct that you have a custom recovery installed. However since you are S-Off, before I put together something for you to go back I need to know:
Did you upgrade your firmware?
Did you flash a new hboot (to get rid of the red warning lettering)?
Did you flash a new splash screen?
If you answered no to all three of those questions, you should be able to get back to stock by performing the following:
Download the ResetRecovery zip I made for you here:
https://dl.dropboxusercontent.com/u/36946918/ResetRecovery.zip
Unzip all the files into a folder. (examples will use C:\temp)
Install the HTCDriver.exe to make sure the device drivers are installed on your PC.
Make sure that USB device debugging is enabled on your device.
Open a command prompt and navigate to that folder - Start>Run>cmd Enter
Code:
cd c:\temp
Connect USB cable to phone and PC.
With the PC booted type:
Code:
adb reboot bootloader
When the bootloader screen appears:
Code:
fastboot erase cache
Then:
Code:
fastboot flash recovery recovery.img
Reboot phone and go into recovery to make sure that CWM has been replaced by HTC stock recovery. If HTC recovery appears then reboot phone.
Now relock the bootloader:
Use the revone file that you probably used to get S-Off. (If needed it can be downloaded here: http://forum.xda-developers.com/showthread.php?t=2314582)
Push revone to your device:
Put the downloaded revone (rename file to just revone) file in your adb/fastboot folder (c:\temp) and push it using this command:
Code:
adb push revone /data/local/tmp/
open a adb shell by typing:
Code:
adb shell
Now change to that directory:
Code:
cd /data/local/tmp
Now set permissions
Code:
chmod 755 revone
Since you have the tampered flag run this to remove it:
Code:
revone -t
Now do this so it will show locked:
Code:
revone -l
The newer revisions of revone don't do the actual locking any longer but it may output the command you need to run to fully re-lock:
Type exit to exit the adb shell session and issue the command to re-lock the device:
Code:
fastboot oem writesecureflag 3
Now verify that it worked by booting into the bootloader:
Code:
adb reboot bootloader
You should see it say Locked at the top and S-On, just like it was out of the box!
i have no idea if i upgraded firmware. i was from stock to android revolution wich is the newest android version.
but now i am back on stock.
software number 1.29.401.16
i didnt try to get rid of warning texr and i didnt flash a custom splash screen.
can i proceed with those instructions?
borgqueenx said:
i have no idea if i upgraded firmware. i was from stock to android revolution wich is the newest android version.
but now i am back on stock.
software number 1.29.401.16
i didnt try to get rid of warning texr and i didnt flash a custom splash screen.
can i proceed with those instructions?
Click to expand...
Click to collapse
Yes, you would know if you flashed firmware because it has many warnings and a few steps. Your version number is stock, the thing that worries me is that you are S-off and originally you thought you only unlocked bootloader.
Did you use revone or moonshine to achieve S-off?
Do you see the red warning lettering on the splash screen when booting?
AS long as the custom recovery is back to stock and you see the red warning letter on splash then you should be ok to proceed with locking now.
crushalot said:
Yes, you would know if you flashed firmware because it has many warnings and a few steps. Your version number is stock, the thing that worries me is that you are S-off and originally you thought you only unlocked bootloader.
Did you use revone or moonshine to achieve S-off?
Do you see the red warning lettering on the splash screen when booting?
AS long as the custom recovery is back to stock and you see the red warning letter on splash then you should be ok to proceed with locking now.
Click to expand...
Click to collapse
is s-off desame as unlocking bootloader?
i unlocked bootloader yes. no idea about s-off. never did anything where i saw s-on or s-off.
yes i see those red warning letters.
i have never used or heard of revone or moonshine before you mentioned it here.
need to know how to get stock recovery back then^^
Disclaimer: I'm not responsible for any damage to your phone should you choose to flash this, if you brick its not my fault nor my problem. You have been warned.
Ok so now that we have S-Off, we can do some nice things. One thing thats always annoyed me is the Red Development Text You get when booting into a custom recovery...With that I decided to hex edit my Hboot and remove it...All this mod does is replace the text with spaces. The Hboot attached is for the GSM models running GPE conversion from graffixnyc. The original GPE Hboot is available from his stock recovery thread.
GPE Modded HBoot
To flash this:
adb reboot bootloader
fastboot oem rebootRUU
fastboot flash zip bootloader.zip
Again the file linked above is for GPE Converted M8's!!! Do not flash on Sense based bootloaders...GPE BL is 3.18 Sense is 3.16
Also for those wanting to do this with their own Hboot here is a quick guide.
DL a hex editor and install. I used this HXD
grab a copy of your HBoot, I don't remember the DD command so don't ask, perhaps someone reading this thread can post it.
Open HXD drag Hboot into HXD.
Now ctrl+f type in development. Should point you to a section that looks like this:
Original
We are going to be replacing the letters with spaces. Now this is important make sure the cursor is blinking on the left side where all the registers and addresses (numbers) are not where the text is. Again do not replace anything in the right pane, only the left.
On the GPE Hboot the text begins at offset 000800E0 the first letter is T at 54. It maybe different and likely is for your Hboot if you're on Sense. what you want to do is replace all the text with 20 for each letter. 20 is a space. DO NOT REPLACE anything that has a value of 00 Replace till you get to the end of the word action. After action will be a . replace that with 20 but do not replace the 00 after.
Your section should look similar to this when done:
Modded
Save this file.
Now very important make sure that the Original Hboot and Modded Hboot have the EXACT SAME SIZE in bytes for GPE it is 4,194,304 bytes not sure what it is for Sense but MAKE SURE THEY MATCH....IF THEY DO NOT MATCH AND YOU FLASH YOU WILL END UP WITH A BRICK!!!!! WHICH I WILL NOT BE RESPONSIBLE FOR....SO double and triple check the sizes...
Lastly make sure the modded hboot filename is the same as the original and drop the modded hboot into a flashable archive.
Flash the same way as the GPE above.
thanks for easy process
Worked perfectly. Thanks!
Works great! Don't forget the last step of fastboot reboot!
Many user at XDA everyday asking this same Question again and again.
Our phone not updating after getting OTA update.
Symptoms
Phone reboots to recovery but stuck at red triangle
Requirements
>>Stock recovery ( custom recovery TWRP/CWM can't flash OTA )
>>Stock system unmodified (custom kernel modifies system files so if you flashed custom kernel you need original files to restore)
>> Data/preload Apps ***Most Important*** according to phone software version (different CID contaions diffrent apps) when we unlock bootloader it delets data partition so data/preload apps also when OTA check OS integrity it also check data/preload apps with their md5/sha-1 match.
{How to Do}
1. 1st we need flash stock recovery (if you already have, skip this point ) you can flash it via Fastboot or Flash Image GUI App
fastboot flash recovery recovery_name.zip
Link for stock recovery
you can extract stock recovery from firmware zip here
2. Stuck at Red Triangle
means stuck at OS verification stage. You have to do 2 things
verify data/preload apps
verify system
extract OTA updater-script (open with Notepad++) from OTA (Meta-inf/com/google/android/updater-script) match apk file to OS.
Getting missing files - find these apks according to your system software version Like This or fastboot getvar all
Where to find apps
Previous OTA
Guru ROM Reset
Nandriod Backup
Anyone uploaded over internet
Find a HTC One m7 same version backup apps with ES File Explorer
Restore files using Root Explorer
rename apps according to updater-script copy to phone storage copy to data/preload REBOOT.
Most apps
calculator, flashlight, Htcringtonetrimmer, HtcSoundrecorder, 7digital, soundhound, Twitter_client.apk + more
Tools
Notepad++
MD5 & SHA-1 check
If this process is boring Lengthy to you, use RUU, Guru reset rom to get stock & then flash OTA.
Don't want download OTA again or use PC downloaded OTA
Don't want download OTA again or use PC downloaded OTA
copy ota file to PC.
start downloading OTA at phone over wifi again
stop wifi at 1% ( don't cancel OTA dialog )
match file name phone storage/download/ota file to PC file rename it.
copy PC file to phone/download overwrite existing file.
resume wifi it will show download complete Start Installing.....
The correct way to flash recovery is
fastboot flash recovery nameOFrecovery.img
fastboot erase cache
fastboot reboot-bootloader
Don't skip the last 2 steps !!
my divice at UNLOCKED status, after recover stock for checking update OTA 4.4.3
then I want to check update OTA by manual . when access stock boot loader it not show the part of folder where I am putting on OTA file as below
.....<Temper>
Reboot system now
apply from SD card
apply from phone storge
apply from card
wipe data/ factory reset
wipe card partition
.......
red atriangle with exlamation mark area
......
mount SDcard failed 1 times
mount SDcard failed 2 times
mount SDcard failed 3 times
mount SDcard failed 4 times
mount SDcard failed 5 times
Can't mount SD card ( No such device)
write host_mode : 0 done
I don't know why? pls hel me
crownvn said:
my divice at UNLOCKED status, after recover stock for checking update OTA 4.4.3
then I want to check update OTA by manual . when access stock boot loader it not show the part of folder where I am putting on OTA file as below
.....<Temper>
Reboot system now
apply from SD card
apply from phone storge
apply from card
wipe data/ factory reset
wipe card partition
.......
red atriangle with exlamation mark area
......
mount SDcard failed 1 times
mount SDcard failed 2 times
mount SDcard failed 3 times
mount SDcard failed 4 times
mount SDcard failed 5 times
Can't mount SD card ( No such device)
write host_mode : 0 done
I don't know why? pls hel me
Click to expand...
Click to collapse
are you s-on or s-off and in which folder did you aved the ota?
alray said:
are you s-on or s-off and in which folder did you aved the ota?
Click to expand...
Click to collapse
my device S-ON
OTA put on Root SD card(phone store,)
crownvn said:
my device S-ON
OTA put on Root SD card(phone store,)
Click to expand...
Click to collapse
you can not flash ota manually from stock recovery if the phone is s-on, only with s-off.
+
ota zip file must be saved in /android/obb and then in stock recovery, install from phone storage --> /obb --> your_ota.zip
anyway will not work with s-on, update process must be launched within the OS
alray said:
you can not flash ota manually from stock recovery if the phone is s-on, only with s-off.
+
ota zip file must be saved in /android/obb and then in stock recovery, install from phone storage --> /obb --> your_ota.zip
anyway will not work with s-on, update process must be launched within the OS
Click to expand...
Click to collapse
Tks your info.
I tryed to move ota.zip to ../obb as your guide . it stil cant show on boot loader stock.
it measn that if my divece 's S-ON so boot loader can't show full the parth where put on OTA.zip file?
this way cant because S-ON so I ran code "fastboot oem lock " for my phone come back RELOCKED for checking automatic update.then checking the message always display " my device 's lastest" ( can't update)
now I am confusing :
I cant update automatic after my device comeback recovery stock with my OS 5.12.707.4
don't show full the parth where put on OTA.zip file when access stock boot loader (S-ON in my decise)
please support me to clear on this
crownvn said:
Tks your info.
I tryed to move ota.zip to ../obb as your guide . it stil cant show on boot loader stock.
it measn that if my divece 's S-ON so boot loader can't show full the parth where put on OTA.zip file?
this way cant because S-ON so I ran code "fastboot oem lock " for my phone come back RELOCKED for checking automatic update.then checking the message always display " my device 's lastest" ( can't update)
now I am confusing :
I cant update automatic after my device comeback recovery stock with my OS 5.12.707.4
don't show full the parth where put on OTA.zip file when access stock boot loader (S-ON in my decise)
please support me to clear on this
Click to expand...
Click to collapse
you can not apply ota manually from recovery with S-ON, only for S-OFF phones. You can try whatever you want, it will not work with S-ON. The only way you can isntall ota with S-ON is from the OS in settings ---> about ---> software updates
relocking the bootloader was not necessary to install ota.
what ota version are you trying to install?
are you sure there is an update available for your version (.707)?
alray said:
you can not apply ota manually from recovery with S-ON, only for S-OFF phones. You can try whatever you want, it will not work with S-ON. The only way you can isntall ota with S-ON is from the OS in settings ---> about ---> software updates
relocking the bootloader was not necessary to install ota.
what ota version are you trying to install?
are you sure there is an update available for your version (.707)?
Click to expand...
Click to collapse
you are right ,understood which you said
spend for long time Now it is updating OTA then OS 4.4.3:good: