CM to Stock rom - Desire 816 Q&A, Help & Troubleshooting

Hello friends,
I want to go from CM ROM to ROM STOCK, but I want to keep my root and Philz Touch recovery.
I find it on the web: http://dl4.htc.com/RomCode/Source_and_Binaries/a5dug-3.4.0-g1e44625.zip
which corresponds to the version: 1.56.401.1
But I do not know if I install it via the recovery or another ....
I'm afraid of creating conflict (brick) with the root / customrecovery ...
Did you ever try?
thank you

Allanco2 said:
Hello friends,
I want to go from CM ROM to ROM STOCK, but I want to keep my root and Philz Touch recovery.
I find it on the web: http://dl4.htc.com/RomCode/Source_and_Binaries/a5dug-3.4.0-g1e44625.zip
which corresponds to the version: 1.56.401.1
But I do not know if I install it via the recovery or another ....
I'm afraid of creating conflict (brick) with the root / customrecovery ...
Did you ever try?
thank you
Click to expand...
Click to collapse
You have the US variant or if international what region is your device from?
Sent from my 710C using XDA Free mobile app

my device is EU , this rom is normaly EU

light us with
baseband
kernel
version
etc...
so we can help !

Allanco2 said:
my device is EU , this rom is normaly EU
Click to expand...
Click to collapse
If that's the RUU for your device the process is simple. All you need to do is rename it to 0P9CIMG.zip and put it on the root/main folder that pops up when you plug it in to your PC. Afterwards boot into recovery and it will automatically detect it. It will ask if you want to proceed choose no.
Before you do the restore you need to relock the bootloader in fastboot mode.
The command is:
fastboot oem lock
Reboot to fastboot and it will say relocked and detect the Stock RUU file. Select yes this time and allow it to proceed.
Do not stop this process even if it seems it froze as this can cause a brick.
You can also use this command after relocking and rebooting to fastboot. At this point on your PC put the RUU file in your ADB folder and run this command:
fastboot flash zip filename.zip
The above command I recommend because after you relock the bootloader CM might not want to boot up or it might try to automatically flash the RUU as soon as you enter the bootloader as I've seen this on some select devices. Try the command first as it works the same, just instead of flashing from your storage its through PC/USB. Kind of like ADB sideload. If you run into any issues you can unlock the bootloader with the same Unlock.bin file, flash a recovery in the bootloader and follow up with the SuperSU.zip through ADB sideload then finally a CM ROM flash through sideload as well.
Once your device boots you could put a Nandroid Backup and try that instead. Yes, you can move each individual file if you don't have a SD card from the internal storage to data/media/clockworkmod/backup. When you get to the last file you copy the folder with it to retain any properties it has and has the same foldername matching the backup files. You'll know what I mean because the storage is only 3.7 GB available and moving the nandroid completely it needs to copy it even using cut. I use ES file explorer for file management. Works great.
Sent from my 710C using XDA Free mobile app

After oem lock
a try to flash via fastboot = error of signature
a try via hboot = error /hboot is older
grrrrr
Edit : Have you got test this http://llabtoofer.com/htc-ruu-flashing-service/?

Allanco2 said:
After oem lock
a try to flash via fastboot = error of signature
a try via hboot = error /hboot is older
grrrrr
Edit : Have you got test this http://llabtoofer.com/htc-ruu-flashing-service/?
Click to expand...
Click to collapse
I have the same error. Is there any solution to this?.
Greetings.

Related

S-on AND Root

I've been posting here and there around here lately but thought I'd get a cleaner, more focused thread going for those of us who used HTC's unlock tool and want root.
I managed to get the bootloader unlocked with HTC's tool and installed SU and clockwork onto my Inc2 but I think I'm having problems because I'm still S-On instead of S-Off.
So, what do we do next after unlocking the bootloader? I'm under the impression that because I'm S-On still, I can flash a custom ROM, but not only the ones with the stock kernel intact. This would be why Sabotage was able to install, but Mik wouldn't. Still only a theory, though.
ANY HELP PLEASE!!!
Kayak83 said:
I've been posting here and there around here lately but thought I'd get a cleaner, more focused thread going for those of us who used HTC's unlock tool and want root.
I managed to get the bootloader unlocked with HTC's tool and installed SU and clockwork onto my Inc2 but I think I'm having problems because I'm still S-On instead of S-Off.
So, what do we do next after unlocking the bootloader? I'm under the impression that because I'm S-On still, I can flash a custom ROM, but not only the ones with the stock kernel intact. This would be why Sabotage was able to install, but Mik wouldn't. Still only a theory, though.
ANY HELP PLEASE!!!
Click to expand...
Click to collapse
There are 2 options to flash a custom ROM that has a custom kernel on an unlocked bootloader.
1. Instead of booting to recovery mode directly, you need to boot in Fastboot mode and issue the command:
Fastboot boot [path to custom recovery.img]
This will boot you into recovery mode using the custom recovery image. Then you can flash a custom ROM with a custom kernel correctly.
2. Extract the boot.img from the custom ROM zip file and copy it to your SDK tool directory.
Then boot into recovery mode and flash the custom ROM. Next you must reboot into bootloader mode and enter Fastboot mode. Enter the following command:
Fastboot flash boot [path to the boot.img file].
Try either option 1 or option 2. You do not need to do both.
Hope this helps.
tpbklake said:
There are 2 options to flash a custom ROM that has a custom kernel on an unlocked bootloader.
1. Instead of booting to recovery mode directly, you need to boot in Fastboot mode and issue the command:
Fastboot boot [path to custom recovery.img]
This will boot you into recovery mode using the custom recovery image. Then you can flash a custom ROM with a custom kernel correctly.
2. Extract the boot.img from the custom ROM zip file and copy it to your SDK tool directory.
Then boot into recovery mode and flash the custom ROM. Next you must reboot into bootloader mode and enter Fastboot mode. Enter the following command:
Fastboot flash boot [path to the boot.img file].
Try either option 1 or option 2. You do not need to do both.
Hope this helps.
Click to expand...
Click to collapse
Tried option 1 and when I go to select install zip from sd card after booting to cwm the phone restarts. Trying option 2 now...
Option #2 won't work since I get stuck at the HTC screen when trying to load a custom ROM.
Kayak83 said:
Option #2 won't work since I get stuck at the HTC screen when trying to load a custom ROM.
Click to expand...
Click to collapse
How did you try to reboot into bootloader from recovery once the ROM was flashed. Once I get into recovery I connect the phone with a USB cable and then type
Adb reboot bootloader
This will boot you into HBOOT straight from recovery and should prevent the hang at the HTC.
Ok. Let's start fresh and complete:
1- Plug phone into computer.
2- select HTC sync on phone
3- open cmd and get to sdk
4- type "adb reboot bootloader"
5- phone should reboot to HTC's recovery thing
now what?
I have cwm installed already.
Kayak83 said:
Ok. Let's start fresh and complete:
1- Plug phone into computer.
2- select HTC sync on phone
3- open cmd and get to sdk
4- type "adb reboot bootloader"
5- phone should reboot to HTC's recovery thing
now what?
I have cwm installed already.
Click to expand...
Click to collapse
Just select Charge Only, not HTC Sync.
Once you type adb reboot bootloader you should get the HBOOT screen and it should show FASTBOOT USB.
At this point you should enter Fastboot commands from you PC command prompt.
So you said you tried fastboot boot [path to recovery.img file] and it did boot you into recovery, right? Then you should be able to flash the custom ROM and reboot normally when the install is complete.
For option 2 once you are in recovery mode flash the custom ROM and then when it is finished connect the phone with the USB cable and at the command prompt you should be able to type adb devices and it will respond with your device id.
If it does, then type adb reboot bootloader and it will take you back to the HBOOT screen. From there you would then enter the following Fastboot command:
Fastboot flash boot [path to boot.img file]
Then Fastboot reboot
tpbklake said:
Just select Charge Only, not HTC Sync.
Once you type adb reboot bootloader you should get the HBOOT screen and it should show FASTBOOT USB.
At this point you should enter Fastboot commands from you PC command prompt.
So you said you tried fastboot boot [path to recovery.img file] and it did boot you into recovery, right? Then you should be able to flash the custom ROM and reboot normally when the install is complete.
For option 2 once you are in recovery mode flash the custom ROM and then when it is finished connect the phone with the USB cable and at the command prompt you should be able to type adb devices and it will respond with your device id.
If it does, then type adb reboot bootloader and it will take you back to the HBOOT screen. From there you would then enter the following Fastboot command:
Fastboot flash boot [path to boot.img file]
The Fastboot reboot
Click to expand...
Click to collapse
I'm able to fastboot into cwm. But when I go to select install zip from sd card via the phone controls (volume up/down/power), the phone reboots.
Kayak83 said:
I'm able to fastboot into cwm. But when I go to select install zip from sd card via the phone controls (volume up/down/power), the phone reboots.
Click to expand...
Click to collapse
Which version of CWM are ou using. I use CWM 5.0.2 and it works fine.
SUCCESS. Thanks for your help!
Glad you got it goin!
Sent from my ADR6350 using xda premium
Kayak83 said:
SUCCESS. Thanks for your help!
Click to expand...
Click to collapse
Which option did you have success with?
dumb question but...
how do you find the path to your custom recovery?
mza929 said:
dumb question but...
how do you find the path to your custom recovery?
Click to expand...
Click to collapse
You determine what the path is when you download the recovery image to your PC. The best place to download or copy it to is the same folder you run adb.exe and fastboot.exe from.
tpbklake said:
You determine what the path is when you download the recovery image to your PC. The best place to download or copy it to is the same folder you run adb.exe and fastboot.exe from.
Click to expand...
Click to collapse
great thank you... i was thinking i had to use a path to the recovery on my phone's storage not my PC's...
Can someone link me to a cwm recovery that works. I'm having the reboot issue after selecting choose file from SD card.
Sent from my dinc2 using XDA App
mza929 said:
Can someone link me to a cwm recovery that works. I'm having the reboot issue after selecting choose file from SD card.
Sent from my dinc2 using XDA App
Click to expand...
Click to collapse
You should look for and use CWM 5.0.2
Kayak83 said:
I've been posting here and there around here lately but thought I'd get a cleaner, more focused thread going for those of us who used HTC's unlock tool and want root.
I managed to get the bootloader unlocked with HTC's tool and installed SU and clockwork onto my Inc2 but I think I'm having problems because I'm still S-On instead of S-Off.
So, what do we do next after unlocking the bootloader? I'm under the impression that because I'm S-On still, I can flash a custom ROM, but not only the ones with the stock kernel intact. This would be why Sabotage was able to install, but Mik wouldn't. Still only a theory, though.
ANY HELP PLEASE!!!
Click to expand...
Click to collapse
OK maybe I am missing something here. Do you actually have full root? If you do, how did you get it? I don't know how to get the su binary and busybox installed. I have unlocked my bootloader using the htc supertool and I don't have root, which is keeping me from installing CWM or anything root related for that matter. I have not seen any instructions on how to root this thing since the unlock tool became compatible 3 days ago. But maybe I have missed something.
Thanks for any help.
Still cant get rom to boot... however, i have been able to fastboot into custom recovery and complete the flashing process...
Now i am just stuck at the HTC screen after reboot.
Any suggestions?
Thank you all so far. You have been most helpful.
***** update ***** I finally got it after fast booting into recovery, flashing rom, and then extracting boot.img from that rom and flashing it via fastboot.
mza929 said:
Still cant get rom to boot... however, i have been able to fastboot into custom recovery and complete the flashing process...
Now i am just stuck at the HTC screen after reboot.
Any suggestions?
Thank you all so far. You have been most helpful.
***** update ***** I finally got it after fast booting into recovery, flashing rom, and then extracting boot.img from that rom and flashing it via fastboot.
Click to expand...
Click to collapse
Yes good job. The last part is the key to getting a custom ROM installed. Glad it worked for you.
---------- Post added at 09:13 AM ---------- Previous post was at 09:09 AM ----------
hackweed said:
OK maybe I am missing something here. Do you actually have full root? If you do, how did you get it? I don't know how to get the su binary and busybox installed. I have unlocked my bootloader using the htc supertool and I don't have root, which is keeping me from installing CWM or anything root related for that matter. I have not seen any instructions on how to root this thing since the unlock tool became compatible 3 days ago. But maybe I have missed something.
Thanks for any help.
Click to expand...
Click to collapse
After you have an unlocked HBOOT, you need to flash CWM recovery image in FASTBOOT mode. Once you have CWM installed, you can install the latest SU-3.0.xx.zip to root your current ROM and then you can installl and use root programs like ROM Manager, Busybox, Titianium Backup, etc. or you can install a rooted custom ROM.

[TUT] Re-flash stock ROM (RUU) after bricking a rooted device (for noobs)

Before you start, you will need to set up your computer to properly recognize the phone. You probably did this when rooting originally, but just in case... Install SDK tools for Android, Java runtime, and HTC Sync.
About HTC Sync: The only reason you need HTC Sync installed is for the USB drivers that come with it. But the program itself has been known to cause conflicts. Make sure that HTC Sync is not running in the background by opening Task Manager in Windows and killing it if you find it lurking in there.
Here we go:
1. Download the correct RUU (ROM Update Utility) for your device from androidfiles.org. Make sure you download a Primo_C RUU for a CDMA device (no sim card) or a Primo_U RUU for a GSM device (uses a sim card)!! Also make sure you get the correct RUU for your carrier.
2. Charge the battery above 50% or for at least one hour. If the battery dies during the flashing process, you could hard brick the phone!
3. Run the RUU until the wizard comes up. While the RUU wizard is open, find the temporary folder it created. (Open Explorer in Windows and type %temp% in the navigation bar.) There will be two folders with long encrypted names. In one of them you will find ROM.zip. Open it with 7zip and extract recovery.img or recovery_signed.img. Put it in the location were you've installed Android SDK tools. This is the stock HTC Recovery and it is needed to run the RUU.
4. Boot the phone into bootloader (power off, hold down volume and press power) and highlight FASTBOOT using the volume rocker and pressing power. Then connect the USB cable. You should see FASTBOOT USB.
5. Open a command prompt in Windows and navigate to the folder where you installed Android SDK tools. Flash the stock recovery extracted in step 3 above using the following command:
Code:
fastboot flash recovery recovery.img
or
Code:
fastboot flash recovery recovery_signed.img
6. Relock the bootloader using the following command:
Code:
fastboot oem lock
7. Re-run the RUU. It will restore the device to it's original condition, locked (though *** RELOCKED ***) and unrooted.
Once the install is done you'll have unlock the bootloader again using the token you already have from the first time, reflash CWM Recovery and re-root. All this will be 10x easier than the first time.
If you do re-root your phone, be 100% you backup the stock ROM in ClockworkMod Recovery before making changes!
Hi
Thanks for that perfect decsription exactly when I needed it
I just had a weired effect with my new windows 7 laptop that I want to share.
I installed the USB drivers and "fastboot devices" showed my HTC fine
but even flashing the stock recovery image was not working.
So it was stucking in the "Sending" part and never continued.
I then moved to my old laptop with Vista did exactly the same things
and there it worked without problems.
I disabled virus scanner, checked for htsync and used the original USB cable
without success.
But now I know why I normally never touch Windows and only
work on linux
Regards
max
---------- Post added at 11:19 PM ---------- Previous post was at 10:33 PM ----------
Hi
CafeKampuchia said:
If you do re-root your phone, be 100% you backup the stock ROM in ClockworkMod Recovery before making changes!
Click to expand...
Click to collapse
I have done that now - compared to my first "try"
Regards
max
hi. thanks for the tips.
however when i do this, i get an error "FAILED <remote: signature verify fail>
Any suggestions?
ur RUU and CID is diff...
ryanlow134 said:
ur RUU and CID is diff...
Click to expand...
Click to collapse
and... how do i make them the same?
lcavada said:
and... how do i make them the same?
Click to expand...
Click to collapse
Use the correct RUU package for your device
regards
max
Another way of saying it is that you downloaded the wrong RUU for your device.
not working
it keeps on saying waiting for device n does not proceed further
i tried installing the drivers again but that doesnt help either
pls help me out
I use fastboot flasher for this.. this tool is good .
sush93 said:
it keeps on saying waiting for device n does not proceed further
i tried installing the drivers again but that doesnt help either
pls help me out
Click to expand...
Click to collapse
"Waiting for Device" at fastboot usually related to bootloader driver. You need Android USB Driver
See : http://developer.android.com/sdk/win-usb.html
Hi folks,
I've bought my One V in late may and I had 2.08 ROM.
Now I've tested some roms and I wanted to revert back to stock rom.
I've downloaded RUU_PRIMO_U_ICS_40A_HTC_Europe_2.08.401.2_Radio_20.72.30.0833U_3831.17.00.18_M_release_263376_signed, and got recovery_signed and boot_signed images. Then I've went to fastboot, did flash recovery and boot partitions, and oem locked bootloader. Afterwards I booted my phone and entered PIN. Then I fired up RUU*.exe file, and I have 155 error. What the heck? Something I missed?
greetings!
run the ruu in hboot..
Sent from my HTC One V
thevilish said:
Hi folks,
I've bought my One V in late may and I had 2.08 ROM.
Now I've tested some roms and I wanted to revert back to stock rom.
I've downloaded RUU_PRIMO_U_ICS_40A_HTC_Europe_2.08.401.2_Radio_20.72.30.0833U_3831.17.00.18_M_release_263376_signed, and got recovery_signed and boot_signed images. Then I've went to fastboot, did flash recovery and boot partitions, and oem locked bootloader. Afterwards I booted my phone and entered PIN. Then I fired up RUU*.exe file, and I have 155 error. What the heck? Something I missed?
greetings!
Click to expand...
Click to collapse
Flashing RUU to revert to stock
- you must have the correct RUU for your device.
- if you are not sure, download CID Getter from Play Store and run it, it will show your CID.
- with your CID, you may be able to find a correct RUU for your device
then (even though some people may not agree with this, but this will bring no harm and it is noob-proof) do this:
1- flash a stock recovery.img
fastboot flash recovery recovery_signed.img
fastboot reboot-bootloader
fastboot erase cache
2- flash a stock boot.img
fastboot flash boot boot_signed.img
fastboot reboot-bootloader
fastboot erase cache
3- re-lock bootloader
fastboot oem lock
fastboot reboot-bootloader
fastboot erase cache
4- flash RUU
NOTE: There is no boot/reboot and enter pin in between.
paarthdesai said:
run the ruu in hboot..
Sent from my HTC One V
Click to expand...
Click to collapse
I've done this before and didn't succeeded, but now it works! Magic
Thanks a lot!
help
CafeKampuchia said:
Before you start, you will need to set up your computer to properly recognize the phone. You probably did this when rooting originally, but just in case... Install SDK tools for Android, Java runtime, and HTC Sync.
About HTC Sync: The only reason you need HTC Sync installed is for the USB drivers that come with it. But the program itself has been known to cause conflicts. Make sure that HTC Sync is not running in the background by opening Task Manager in Windows and killing it if you find it lurking in there.
Here we go:
1. Download the correct RUU for your device from Football's Primo Shipped ROM Collection.
2. Charge the battery above 50% or for at least one hour. If the battery dies during the flashing process, you could hard brick the phone!
3. Run the RUU until the wizard comes up. While the RUU wizard is open, find the temporary folder it created. (Open Explorer in Windows and type %temp% in the navigation bar.) There will be two folders with long encrypted names. In one of them you will find ROM.zip. Open it with 7zip and extract recovery.img or recovery_signed.img. Put it in the location were you've installed Android SDK tools. This is the stock HTC Recovery and it is needed to run the RUU.
4. Boot the phone into bootloader (power off, hold down volume and press power) and highlight FASTBOOT/B] using the volume rocker and pressing power. Then connect the USB cable. You should see FASTBOOT USB.
5. Open a command prompt in Windows and navigate to the folder where you installed Android SDK tools. Flash the stock recovery extracted in step 3 above using the following command:
Code:
fastboot flash recovery recovery.img
or
Code:
fastboot flash recovery recovery_signed.img
6. Relock the bootloader using the following command:
Code:
fastboot oem lock
7. Re-run the RUU. It will restore the device to it's original condition, locked (though *** RELOCKED ***) and unrooted.
Once the install is done you'll have unlock the bootloader again using the token you already have from the first time, reflash CWM Recovery and re-root. All this will be 10x easier than the first time.
If you do re-root your phone, be 100% you backup the stock ROM in ClockworkMod Recovery before making changes!
Click to expand...
Click to collapse
PLEASE HELP!
The 5th point does not work for me. I can not run the code.
What can i do?
what do you mean by navigate to the folder where you installed sdk?
brandoncoronado said:
what do you mean by navigate to the folder where you installed sdk?
Click to expand...
Click to collapse
It means that if you installed SDK in c:/android, then u must type.in the command prompt: cd c:/android and hit enter
Cheers
Sent from my HTC One V using xda app-developers app
brandoncoronado said:
what do you mean by navigate to the folder where you installed sdk?
Click to expand...
Click to collapse
where the fastboot.exe is located and stock recovery must be in the same folder for the command to work
[ask] Error 155
hey guys, ive been reading all tutorial for reverting to stock RUU.
the first time i tried, it works prefectly.
then after a few weeks, i tried to revert to stock RUU, it failed .
it show error 155.
i already flash the boot , recovery that i found inside the stock RUU, also I've relock the phone.
but when i relock the phone, it show "info Lock successfully , status read failed no such file / directory"
when i enter bootloader, it show that my device already "relocked"
does the relocked proses is successfully ?
iam running PrimoU 2.09.707.1 with stock bootloader, CWM recovery, and rooted ..
I did exactly as it is mentioned but at the end where there is vertical progress bar it gives me an error of customer Id... Failed to update. What shud i do. How do I check what my customer Id is I can't Download it from play store coz can't boot into normal screen... How do I make ruu and cid same.
Sent from my Galaxy Nexus using xda app-developers app

[Q] Wildfire s unroot?

hello,
I want to unroot my WFS if possible.
I got Android 2.3.5 and clockworkk recovery, which I want to 'delete'.
So to make a long story short, I want it back as I bought it, if possible .
stbe.
relock your bootloader first
then flash stock ruu
you will be unrooted
to flash stock recovery,extract recovery.img from stock ruu and place it in c:\
connect your phone to pc in fastboot mode (you should have android sdk installed)
open cmd and type "cd c:\" without quotes
type fastboot flash recovery recovery.img
now you should have stock recovery
umair42 said:
relock your bootloader first
then flash stock ruu
you will be unrooted
to flash stock recovery,extract recovery.img from stock ruu and place it in c:\
connect your phone to pc in fastboot mode (you should have android sdk installed)
open cmd and type "cd c:\" without quotes
type fastboot flash recovery recovery.img
now you should have stock recovery
Click to expand...
Click to collapse
Thanks dude, worked perfectly fine for me
Sent from my HTC Wildfire S A510e using XDA
Guitarfreak12 said:
Thanks dude, worked perfectly fine for me
Sent from my HTC Wildfire S A510e using XDA
Click to expand...
Click to collapse
"recovery.img" command will flash ur recovery that is cwm.
For stock rom again you have to run.thsi command
"fastboot flash system system.img"
Hit thanks if u find me helpful........
rajanand said:
"recovery.img" command will flash ur recovery that is cwm.
For stock rom again you have to run.thsi command
"fastboot flash system system.img"
Hit thanks if u find me helpful........
Click to expand...
Click to collapse
No you are wrong!
Recovery.img from stock ruu is stock recovery.
If you flash system.img,it will not flash stock recovery but system partition which is stock and unrooted.
Click thanks if i help you.
You can also go to unlockroot.com download program, install. Enable usb debugging on ur device, connect it to your pc (charge only), click unroot and you are done!
Sent from my HTC Wildfire S A510e using XDA
umair42 said:
relock your bootloader first
then flash stock ruu
you will be unrooted
to flash stock recovery,extract recovery.img from stock ruu and place it in c:\
connect your phone to pc in fastboot mode (you should have android sdk installed)
open cmd and type "cd c:\" without quotes
type fastboot flash recovery recovery.img
now you should have stock recovery
Click to expand...
Click to collapse
Is it possible to get some "detailed" description how exactly to do this? I'm a newbie and I managed to root the phone, but now I want to un-root it, and I can't follow this instructions because I don't understand how to to this steps. So please, I'd be soooo grateful if you could do that... thx!
Fully unroot guide(only if you have original ruu)
tomtomek said:
Is it possible to get some "detailed" description how exactly to do this? I'm a newbie and I managed to root the phone, but now I want to un-root it, and I can't follow this instructions because I don't understand how to to this steps. So please, I'd be soooo grateful if you could do that... thx!
Click to expand...
Click to collapse
first of all for fully unroot you need stock ruu (like if your wfs model is european brand your stock ruu is eu 2.26.401.3 )
you can find it in android dev thread>marvel/marvelc stock ruu thread by jmztaylor
then run it on computer..(you can see now update wizard,dont close it)
now open task manager see processes you will see process named ARUwizard (something) right click and select open location.
now you will see temp folder is opened..you will find rom.zip in that folder..copy that zip file (its our stock ruu)
now you can close that update wizard because we got our rom.zip
now renamed rom.zip to PG76IMG.zip
now go to this thread
http://forum.xda-developers.com/showthread.php?t=1530864
and download bootloader control tool.
flash it from cwm recovery..
A Menu-type will appear. It will show you 4 options:
Unlock Bootloader
Lock Bootloader (Guarantee Mode)
Lock Bootloader (Relocked State)
Supervision
Now, choose 2 or 3 option.
Then say "NO" to reboot. Go back to the main menu of CWM.
It'll reboot the recovery and get you the main menu again.
then flash that tool again now choose supervision and reboot..
now time to make gold card.
go here,
http://www.mediafire.com/?hdxoe6e5km434tb
download it and put phone in debugging mode and select mmc00 mmc01 (try one by one till ones give u cid)
then put cid in given website and you will hv now goldcard.img
put it phone in usb mounting mode,and put that PG76IMG.zip on it and patch with goldcard.img
now just put that sdcard on your phone and wait...phone will detect zip and it ll asked for confirmation..say yes with volume up and you will be unrooted after sometimes(this process takes upto 5-10 min)
good luck
IMP NOTE :
AS GOLDCARD CREATION WEBSITE IS PROBABLY CLOSED,FOLLOW THIS TUTORIAL TO CREATE BOO.IMG AND THEN PATCH IT WITH GOLDCARDCREATOR
1) download this and extract it.
http://d-h.st/UGV
2) Start CMD as administrator.
3)Type, then press ENTER after each command:
Code:
cd c:\gcard
gcard.exe -r -c [COLOR="Indigo"]enteryourmmccode[/COLOR] -o Chiffinske.img
4) now rename chiffinske.img to boot.img and patch it with goldcard creator utility.
( thanks a lot to genepool to create this script so we can create boot.img without that website )
Click to expand...
Click to collapse
DISCLAIMER : I AM NOT RESPONCIBLE FOR BRICK YOUR DEVICE,DO AT YOUR OWN RISK
Click to expand...
Click to collapse
Removed
"You either die a hero or you live long enough to see yourself become the villain."
__________________________________
HTC Wildfire S
Android 2.3.5
Powered By HTC Sense
LG Optimus One (With Dad - Soon to be mine)
Hi
could u please link this "android dev thread>marvel/marvelc stock ruu thread by jmztaylor" for me?
I realy cand find it and i have to downgrade a Wildfire S Eu hardly
Thanks
Felix87 said:
Hi
could u please link this "android dev thread>marvel/marvelc stock ruu thread by jmztaylor" for me?
I realy cand find it and i have to downgrade a Wildfire S Eu hardly
Thanks
Click to expand...
Click to collapse
here is the list of RUU,
http://www.androidfiles.org/ruu/?developer=Marvel_MarvelC
Hi
Thanks a lot!!!
As I want only the ROM back. But staying Unlocked and Rooted (for things like Int2Ext) can I just flash the Rom.zip/PG76IMG.zip as a nomal ROM. Meaning "Install from SD" at the recovery mode.
Felix
Felix87 said:
Hi
Thanks a lot!!!
As I want only the ROM back. But staying Unlocked and Rooted (for things like Int2Ext) can I just flash the Rom.zip/PG76IMG.zip as a nomal ROM. Meaning "Install from SD" at the recovery mode.
Felix
Click to expand...
Click to collapse
Nope but you can look at crossfires signature. He has made some original Roms with root.
Sent from my Nexus 7 using xda app-developers app

[Q] how to install CWM using terminal emulator in xperia m C1904 rooted

How can i install cwm using terminal emulator,...
Why !
iffam said:
How can i install cwm using terminal emulator,...
Click to expand...
Click to collapse
I Dont understand why you would want to do that. Fastboot/flashing is a good secure way..
But Still if you want to try out without the Computer. i Hear Flashify- On Google Play will do that for you. All you need is the appropriate Image file In this case the CWM image.
I havent tried it yet. But go ahead and let us know
Ok
The Deciphering Joker said:
I Dont understand why you would want to do that. Fastboot/flashing is a good secure way..
But Still if you want to try out without the Computer. i Hear Flashify- On Google Play will do that for you. All you need is the appropriate Image file In this case the CWM image.
I havent tried it yet. But go ahead and let us know
Click to expand...
Click to collapse
give me complete tutorial to install cwm using pc on locked bootloader.
I Am not sure about a locked bootloader... If you want i can give you steps for the unlocked bootloader
Steps for flashing cwm
The Deciphering Joker said:
I Am not sure about a locked bootloader... If you want i can give you steps for the unlocked bootloader
Click to expand...
Click to collapse
Can u tell me the steps por flashing cwm usin flashtool on fastboot mode. i got this. (sorry my english, iam from argentina) thanks
View attachment 2933371
There You Go !
cheloespinoza said:
Can u tell me the steps por flashing cwm usin flashtool on fastboot mode. i got this. (sorry my english, iam from argentina) thanks
View attachment 2933371
Click to expand...
Click to collapse
FlashTool wont install the CWM it will just help you get into the bootloader mode..
YOU NEED -
1. Fastboot Drivers
2. Proper CWM Image file.
3. USB Debugging Enabled on your phone
What you need is adb drivers and fastboot.. Search for Fastboot drivers for Xperia M. you will get them easily...
After you get them. Unzip them to say C drive. Open up the folder you will something like py_cmd. Open it up.
You will get the terminal Screen (Command Prompt) Also make sure you boot image of cwm is in the same folder.
Connect phone with usb cable
Type in following commands
1. adb devices (Gives you list of devices). your phone should be listed.
2. adb reboot-bootloader (Your phone reboots)
3. fastboot flash boot [the name of your cwm image file].img (file is transfered)
4. fastboot reboot
And Done
Put this up in hurry. so if you have any problems ping me !
The Deciphering Joker said:
FlashTool wont install the CWM it will just help you get into the bootloader mode..
YOU NEED -
1. Fastboot Drivers
2. Proper CWM Image file.
3. USB Debugging Enabled on your phone
What you need is adb drivers and fastboot.. Search for Fastboot drivers for Xperia M. you will get them easily...
After you get them. Unzip them to say C drive. Open up the folder you will something like py_cmd. Open it up.
You will get the terminal Screen (Command Prompt) Also make sure you boot image of cwm is in the same folder.
Connect phone with usb cable
Type in following commands
1. adb devices (Gives you list of devices). your phone should be listed.
2. adb reboot-bootloader (Your phone reboots)
3. fastboot flash boot [the name of your cwm image file].img (file is transfered)
4. fastboot reboot
And Done
Put this up in hurry. so if you have any problems ping me !
Click to expand...
Click to collapse
That's only for unlocked bootloader as you can't flash different .img files onto the phone with a locked Bootloader.
OP as of current it is not possible to get CWM on 4.3 with a locked bootloader.
I Am not sure about a locked bootloader... If you want i can give you steps for the unlocked bootloader
Click to expand...
Click to collapse
As i Mentioned Above
I'm running on android. 4.3 not now my recovery has corrupted.... What to do????? I was using Android. 7.1 n nowadays I have been using Android 4.3 stock rom n now again I want to install android 7.1 but my recovery is not oping........ Is there any way to get back recovery without pc
hackersamraj said:
I'm running on android. 4.3 not now my recovery has corrupted.... What to do????? I was using Android. 7.1 n nowadays I have been using Android 4.3 stock rom n now again I want to install android 7.1 but my recovery is not oping........ Is there any way to get back recovery without pc
Click to expand...
Click to collapse
what kind recovery did you use it when you're in 4.3? CWM or TWRP? try to use FOTA Recovery (TWRP) if you want to install custom rom for android 5.0.X.

[Q] Help! Can not update due to corrupted Recovery.

Hello, I have root access on my HTC one Phone and that's it, I kept it as stock as possible
everytime I get an OTA I flash the stock recovery instead of TWRP to get the update then I reflash TWRP
for the 1st time I couldn't update to the latest one, kept on getting a red triangle with an exclamation mark
when I tried many things I found out that the recovery is corrupt (each time I try to enter stock recovery I get the red triangle with !)
Any suggestions on what I should do? I can't even flash RUU because of the recovery.
ab.riyami said:
Hello, I have root access on my HTC one Phone and that's it, I kept it as stock as possible
everytime I get an OTA I flash the stock recovery instead of TWRP to get the update then I reflash TWRP
for the 1st time I couldn't update to the latest one, kept on getting a red triangle with an exclamation mark
when I tried many things I found out that the recovery is corrupt (each time I try to enter stock recovery I get the red triangle with !)
Any suggestions on what I should do? I can't even flash RUU because of the recovery.
Click to expand...
Click to collapse
Transfer the OTA file from your downloads folder to your PC and open it with 7zip. Then open the firmware zip that is in it and find the recovery.img
Flash that to your phone. Then run the OTA again.
xunholyx said:
Transfer the OTA file from your downloads folder to your PC and open it with 7zip. Then open the firmware zip that is in it and find the recovery.img
Flash that to your phone. Then run the OTA again.
Click to expand...
Click to collapse
Interesting solution, will try it out.
Just to clarify, the OTA you've mentioned should contain the recovery of the new firmware I.e. for the Lollipop update.
Because I am still in kitkat and the OTA I want to flash is the Lollipop one, is it okay to flash a lollipop recovery on my kitkat ?
xunholyx said:
Transfer the OTA file from your downloads folder to your PC and open it with 7zip. Then open the firmware zip that is in it and find the recovery.img
Flash that to your phone. Then run the OTA again.
Click to expand...
Click to collapse
I did what you've mentioned and I couldnt update, I do not get a red triangle with an exclamation mark, and I can also load into the stock recovery.
but when I try to OTA update i get a message says there is an Error in the file (the OTA file) and also some kind of verification error.
I also tried to flash RUU but it gave me the following Error:
sending 'zip' (546333 KB)...
OKAY [ 21.860s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 42.661s
Any idea whats happening? I relocked the bootloader to flash RUU.
Post result of fastboot getvar all (delete serial no. & imei no.)
"verification error" suggest that you may have wrong ROM on wrong device version.
ckpv5 said:
Post result of fastboot getvar all (delete serial no. & imei no.)
"verification error" suggest that you may have wrong ROM on wrong device version.
Click to expand...
Click to collapse
Sure I will soon,
but I did not flash a ROM since I got the phone, only root access and TWRP recovery, iv been getting OTA updates with no issues before this one.
Even RUU doesn't work (although I never tried it before)
ckpv5 said:
Post result of fastboot getvar all (delete serial no. & imei no.)
"verification error" suggest that you may have wrong ROM on wrong device version.
Click to expand...
Click to collapse
I tried RUU again, this time with a different file (I downloaded the earlier one from HTC dev page, but I still got the same error <(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 115.740s>
Attached is my Phone Details and the error I get when I try updating by OTA.
In Summary, this is my situation:
Phone was rooted, but never flashed a ROM
Flashed recovery extracted from OTA file
UnRoot the phone from SuperSU settings (although my root checker still says i have root)
Relocked Bootloader to flash RUU
Can't Flash RUU I get the mentined error.
Cant update by OTA, i get the attached error
Im trying to resist flashing a ARHD rom, but kept it as a last resort
Any Ideas???
RUU from HTCDev page ? I guess that's not RUU but kernel source zip.
Your problem is not corrupted recovery but you have system files modified/removed as shown in your screenshot.
You have two choices here :
A. Restore system part only from a Nandroid
1. Unlock bootloader
2. Install TWRP 2.8.5.0 - http://techerrata.com/browse/twrp2/m8
command fastboot flash recovery openrecovery-twrp-2.8.5.0-m8.img
3. Download TWRP backup 3.28.401.9 - https://mega.co.nz/#!VQgnECRS!asb9fd5ZHF3lf0e0iqmw0QIEc3sYS7JDTjjzi-hXvuo
4. Download stock 3.28.401.9 recovery - http://sourceforge.net/projects/htconem8/files/Recovery/3.28.401.9_recovery.img/download
5. Extract the downloaded 3.28.401.9_ckpv5.zip on PC
6. Boot to TWRP recovery and make a backup of boot only, this is to see where the backup goes on your device.
7. Connect device to PC, select Mount, enable MTP then open Internal Storage, TWRP/BACKUPS/SerialNo./
8. Transfer the extracted 3.28.401.9 folder (not 3.28.401.9_ckpv5 folder) and its content to the backup path on your device
TWRP/BACKUPS/SerialNo./3.28.401.9
9. Restore the transferred backup - tick only boot & system - swipe to restore (this way you can keep your data)
10. In reboot select bootloader
11. fastboot flash stock recovery that you downloaded - command fastboot flash recovery 3.28.401.9_recovery.img
12. reboot - check for OTA, download, install (you should have one OTA to 4.16.401.10)
13. done
OR
B. Use a correct RUU to restore everything and even wipe your internal storage
Check @EddyOS thread for all files needed : http://forum.xda-developers.com/showthread.php?t=2735235
You can skip step 1 & 2 - but relock bootloader as your device is S-On.
ckpv5 said:
RUU from HTCDev page ? I guess that's not RUU but kernel source zip.
Your problem is not corrupted recovery but you have system files modified/removed as shown in your screenshot.
You have two choices here :
A. Restore system part only from a Nandroid
1. Unlock bootloader
2. Install TWRP 2.8.5.0 - http://techerrata.com/browse/twrp2/m8
command fastboot flash recovery openrecovery-twrp-2.8.5.0-m8.img
3. Download TWRP backup 3.28.401.9 - https://mega.co.nz/#!VQgnECRS!asb9fd5ZHF3lf0e0iqmw0QIEc3sYS7JDTjjzi-hXvuo
4. Download stock 3.28.401.9 recovery - http://sourceforge.net/projects/htconem8/files/Recovery/3.28.401.9_recovery.img/download
5. Extract the downloaded 3.28.401.9_ckpv5.zip on PC
6. Boot to TWRP recovery and make a backup of boot only, this is to see where the backup goes on your device.
7. Connect device to PC, select Mount, enable MTP then open Internal Storage, TWRP/BACKUPS/SerialNo./
8. Transfer the extracted 3.28.401.9 folder (not 3.28.401.9_ckpv5 folder) and its content to the backup path on your device
TWRP/BACKUPS/SerialNo./3.28.401.9
9. Restore the transferred backup - tick only boot & system - swipe to restore (this way you can keep your data)
10. In reboot select bootloader
11. fastboot flash stock recovery that you downloaded - command fastboot flash recovery 3.28.401.9_recovery.img
12. reboot - check for OTA, download, install (you should have one OTA to 4.16.401.10)
13. done
OR
B. Use a correct RUU to restore everything and even wipe your internal storage
Check @EddyOS thread for all files needed : http://forum.xda-developers.com/showthread.php?t=2735235
You can skip step 1 & 2 - but relock bootloader as your device is S-On.
Click to expand...
Click to collapse
I would rather use option B sounds much easier, plus i backed up my internal SD already. but I just want to confirm what you mean by correct RUU? I used the HTC Dev one first (like u said its not an RUU) but then I used one I downloaded from this XDA thread http://forum.xda-developers.com/showthread.php?t=2701376
the RUU file name is: 0P6BIMG_M8_UL_L50_SENSE60_MR_HTC_Europe_4.16.401.10_Radio_1.25.214500021.06G_20.68.4196t.01_F_release_417809_signed.zip
it gave me the same error I mentioned above (where it says verification error), should I try downloading another RUU file?
Check the thread that I linked. You need one more file htc_fastboot.exe and how to run it,
there are two different commands, 1- to put device in RUU mode, 2- flash the zip
You also can use RUU.exe instead of RUU.zip : https://drive.google.com/file/d/0B17smFr95pleeTQ5U1NzNkZzM0U/view
Just boot to bootloader, relocked bootloader and run the RUU.exe (select run as administrator in Windows Explorer context menu)
ckpv5 said:
Check the thread that I linked. You need one more file htc_fastboot.exe and how to run it,
there are two different commands, 1- to put device in RUU mode, 2- flash the zip
You also can use RUU.exe instead of RUU.zip : https://drive.google.com/file/d/0B17smFr95pleeTQ5U1NzNkZzM0U/view
Just boot to bootloader, relocked bootloader and run the RUU.exe (select run as administrator in Windows Explorer context menu)
Click to expand...
Click to collapse
I have Fastboot installed, and I know the commands to flash RUU (thats what I used to flash it the time it failed)
Anyways, not I tried using the exe file you provided and it gave me the following:
ERROR [155]: UNKNOWN ERROR
the ROM Update Utility cannot update your Android Phone.
Please get the correct ROM Update Utility and try again.
This is very weird, thanks for your help, any other ideas?
Note: My bootloader is relocked using Fastboot oem lock command, I did it before running RUU but still get an issue!
ERROR 155 - bootloader is not relocked
Did you relock bootloader before you run RUU ? Is the RUU run in as Administrator ?
If you did relocked, then I'm run out of idea.
Left you with the nandroid way only
You can ask in that thread about RUU problem ... I'm more on nandroid type.
ckpv5 said:
ERROR 155 - bootloader is not relocked
Did you relock bootloader before you run RUU ?
View attachment 3170296
Click to expand...
Click to collapse
Yes I did, I relocked before trying both zip RUU and exe one.
When I go into bootloader it says **Relocked** on top.
That's why I'm confused why RUU isn't working.
Your problem is only one "reboot" file that you need the original one. I don't keep that version file on my PC, if not I can give you a flashble zip to flash only that one particular file.
ab.riyami said:
Yes I did, I relocked before trying both zip RUU and exe one.
When I go into bootloader it says **Relocked** on top.
That's why I'm confused why RUU isn't working.
Click to expand...
Click to collapse
To flash the RUU.zip you HAVE to use htc_fastboot.exe - NOT the one that you get from Google as it doesn't support the larger ZIP file size. If you try and use the Google one you'll get an error 12
EddyOS said:
To flash the RUU.zip you HAVE to use htc_fastboot.exe - NOT the one that you get from Google as it doesn't support the larger ZIP file size. If you try and use the Google one you'll get an error 12
Click to expand...
Click to collapse
I did tell him that he needs to have that htc_fastboot.exe from your thread ... he needs to confirm he did use that particular htc_fastboot.exe or not
ckpv5 said:
I did tell him that he needs to have that htc_fastboot.exe ... he needs to confirm he did use that particular htc_fastboot.exe or not
Click to expand...
Click to collapse
I know, I was just going on the fact he says he knows what he's doing with fastboot, but perhaps not knowing about the HTC one
ckpv5 said:
Your problem is only one "reboot" file that you need the original one. I don't keep that version file on my PC, if not I can give you a flashble zip to flash only that one particular file.
Click to expand...
Click to collapse
I see, It will be great if I can get a flashable zip file.
but If you cant, do you reckon if I try these steps it might work?
1. Unlock my bootloader.
2. Flash TWRP
3. Flash Revolution ROM version 34.1 (lollipop).
4. Flash stock recovery (the version which is extracted from HTC's latest OTA).
5. Flash RUU using fastboot zip flash method.
What do you think?
Or should I follow the method you mentioned earlier?
ab.riyami said:
I see, It will be great if I can get a flashable zip file.
but If you cant, do you reckon if I try these steps it might work?
1. Unlock my bootloader.
2. Flash TWRP
3. Flash Revolution ROM version 34.1 (lollipop).
4. Flash stock recovery (the version which is extracted from HTC's latest OTA).
5. Flash RUU using fastboot zip flash method.
What do you think?
Or should I follow the method you mentioned earlier?
Click to expand...
Click to collapse
No point ...
If you're going to do step 5, then no need step 1-4, what you need is use that htc_fastboot.exe not google fastboot.exe
Or
If you do have lollipop ROM, just extract out "reboot" file from system/bin and later replace this on your stock ROM. Use TWRP File manager to replace it and put permission chmod 755 (but I guess this is harder for you)
Cool, I'll try flashing with HTC_fastboot, didn't know there is a difference, hopefully it will work ?

Categories

Resources