HTC ONE (M7) full wiped - One (M7) Q&A, Help & Troubleshooting

Hello,
I fix the recovery function on my M7 and try the wipe function of twrp.
I wipe my whole phone. No Android nothing...
After all i am looking for a solution and read about RUU.
I download
PN07IMG_M7_UL_L50_SENSE60_MR_O2_UK_7.18.206.51_Radio_4T.35.3218.16_10.33Q.1718.01L_release_459056_signed.zip
Click to expand...
Click to collapse
relocked my M7 again and run the following commands
sudo ./fastboot oem rebootRUU
sudo ./fastboot flash zip "RUU.zip"
The file had 1.6 GB and the terminal gives me an error because the file is to large.
After that I looking for a similar version and find "7.18.206.21" which have 1.4 GB, I try to flash my M7 with this version, but that doesn't work too. (I get an other error)
I'm a Linux User, but have a Windows Notebook too. (If this will help)
I hope we can find a solution.

ManueAL said:
Hello,
I fix the recovery function on my M7 and try the wipe function of twrp.
I wipe my whole phone. No Android nothing...
After all i am looking for a solution and read about RUU.
I download
relocked my M7 again and run the following commands
sudo ./fastboot oem rebootRUU
sudo ./fastboot flash zip "RUU.zip"
The file had 1.6 GB and the terminal gives me an error because the file is to large.
After that I looking for a similar version and find "7.18.206.21" which have 1.4 GB, I try to flash my M7 with this version, but that doesn't work too. (I get an other error)
I'm a Linux User, but have a Windows Notebook too. (If this will help)
I hope we can find a solution.
Click to expand...
Click to collapse
It's better to use Windows for Lollipop ruu's. You need a special version of fastboot to flash large zips. Unfortunately I don't know of a version for Linux although its also my preferred OS.
You can download htc_fastboot here. https://www.androidfilehost.com/?fid=95916177934550031 You can use it to flash the ruu using windows. Just drop it in your existing fastboot folder. Remember to specify it in your commands e.g
Code:
fastboot flash zip RUU.zip
becomes
Code:
htc_fastboot flash zip RUU.zip
You could also just use adb to push a rom to recovery. This will work with Windows or Linux. To do this download your chosen Rom, drop the zip file into your fastboot folder and rename it "rom.zip" Now with the phone booted to TWRP and connected with usb enter the following command in a terminal/cmd window.
Code:
adb push rom.zip /sdcard
The terminal window will appear unresponsive for several minutes while the push completes. When it's done go to the Install menu in twrp. Select the rom.zip and follow the installer instructions.
The first boot will also take several minutes. It will appear stuck at the HTC boot logo sometimes for nearly 20 mins just be patient it should boot to Android :good:
Sent from my HTC One M9 using Tapatalk

Related

About your Boot Img errors!

Hi, I have heard a few of you have been getting error when Flashing a boot img recovery and fastboot.
Today I noticed the same thing to my device. I fixed it....
Here's how
1. Download This KDZ
Clockwork Recovery Rom.kdz
2. Download KDZ_UPD_En
From Here: KDZ_upd_fw_en
3. Extract the KDZ zip you downloaded and run KDZ_Updater.exe
4. In the dropdown menu's select 3GQPT and If your phone is running select DIAG
5. Open the clockwork recovery rom.kdz hit the open button and find it in your file directories.
6. Then Select Update now.
[TIPS] - If you are using a PC use the back ports of the PC
- If the update fails restart your PC and do steps 4 and 5 again.
- If your update doesn't finish and your phone doesn't work, keep trying again
Wait for it to finish
After it has finished.
1. Your phone may not boot if you came from a custom rom. Reboot into fastboot and type Command in CMD: (Make Sure you have fastboot and fastboot drivers installed) (My fastboot is in C:\Android
cd C:\Android
fastboot -w (wipe all data)
2. Download CWM recovery img from here
3. Rename the img to recovery.img that you just downloaded
4. Copy that to where your fastboot is setup. eg mine is in C:\android
5. Type commands: fastboot flash recovery recovery.img
6. Then type Fastboot reboot
Now reflash you rom and you should have no errors
airbus360 said:
Hi, I have heard a few of you have been getting error when Flashing a boot img recovery and fastboot.
Today I noticed the same thing to my device. I fixed it....
Here's how
1. Download This KDZ
Clockwork Recovery Rom.kdz
2. Download KDZ_UPD_En
From Here: KDZ_upd_fw_en
3. Extract the KDZ zip you downloaded and run KDZ_Updater.exe
4. In the dropdown menu's select 3GQPT and If your phone is running select DIAG
5. Open the clockwork recovery rom.kdz hit the open button and find it in your file directories.
6. Then Select Update now.
[TIPS] - If you are using a PC use the back ports of the PC
- If the update fails restart your PC and do steps 4 and 5 again.
- If your update doesn't finish and your phone doesn't work, keep trying again
Wait for it to finish
After it has finished.
1. Your phone may not boot if you came from a custom rom. Reboot into fastboot and type Command in CMD: (Make Sure you have fastboot and fastboot drivers installed) (My fastboot is in C:\Android
cd C:\Android
fastboot -w (wipe all data)
2. Download CWM recovery img from here
3. Rename the img to recovery.img that you just downloaded
4. Copy that to where your fastboot is setup. eg mine is in C:\android
5. Type commands: fastboot flash recovery recovery.img
6. Then type Fastboot reboot
Now reflash you rom and you should have no errors
Click to expand...
Click to collapse
You are the best!!!
Gonna try it out!!
I got a problem!!
Everytime i type fastbot (something)
it says fastboot is not a command!!
Any help???
I didn't try it now cause i am in the middle of
doing the battery tweak!!!
But before thats what it said!!
I typed fastboot -w
and it said it is not a command!!!
androidboss7 said:
You are the best!!!
Gonna try it out!!
I got a problem!!
Everytime i type fastbot (something)
it says fastboot is not a command!!
Any help???
I didn't try it now cause i am in the middle of
doing the battery tweak!!!
But before thats what it said!!
I typed fastboot -w
and it said it is not a command!!!
Click to expand...
Click to collapse
Have u got adb installed? if not go to android developers com and download it. Then change you directory to where u installed adb, example, put it in your c drive and type cd C:\android-sdk\sdk\tools >Enter>
then do the commands
airbus360 said:
Have u got adb installed? if not go to android developers com and download it. Then change you directory to where u installed adb, example, put it in your c drive and type cd C:\android-sdk\sdk\tools >Enter>
then do the commands
Click to expand...
Click to collapse
Thanks and I so have fastboot installed but maybe not sdk!!
Edit: i did your steps from 1-6 and now my phone is stuck on the android boot logo!!!!
Is this2.1 stock?? Also there is no mode called 3 GQPT!!
I followed all the instrutions and now my phone is stuck on the android logo!!!
Please help!!! (Its been quite a while)
Edit2: Sorry my fault i didn't do fastboot -w!!
It would be good if you wrote that on your post!!!
And i am thinking of staying on stock 2.1 !!!

Please Help Tried Updating to 4.4 Kitkat Bricked

Ok so I tried updating my phone that was already rooted on Android 4.3 S-OFF to 4.4 kitkat with sinless rom sense. Transferred the rom zip to my phone, then proceeded to wipe the system and data, as well as davalik cache with clockworkmod recovery. Attempted to flash the rom and it aborted. Tried a few times and nothing worked. Didn't realize till after that my phone had no OS, and now all I can do is enter the bootloader. Can't enter recovery as the phone will enter clockworkmod then abort and reboot the phone. Not sure what to do at this point as I tried one of the guides and couldn't figure it out. If anyone can help me I'd greatly appreciate it. At least I backed everything up on my computer manually and am using my iPhone 4 until I can get this fixed. Thanks in advance.
Try reflashing recovery then if that works ad b push or usb otg a working Rom to your phone
Sent from my HTC One using Tapatalk
nathlynn22 said:
Try reflashing recovery then if that works ad b push or usb otg a working Rom to your phone
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
How do I reflash recovery when I can't access the filesystem? Do I need to setup ADB and connect to my phone via command line to initiate the transfer? Can you link me to a thread that explains how to setup ADB in a case like this? Thanks
You need to reflash cwm. I'll try find a link. But after recovery is working you would have to use ad b to sideload the Rom. Have you tried from bootloader fastboot erase cache?
Sent from my HTC One using Tapatalk
nathlynn22 said:
You need to reflash cwm. I'll try find a link. But after recovery is working you would have to use ad b to sideload the Rom. Have you tried from bootloader fastboot erase cache?
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
My biggest issue is being able to reflash clockworkmod. If I could that out of the way, I already have the rom on the phone storage, so I should in theory be able to reflash I'd think.
I don't have the option to delete cache within the bootloader under fastboot
One Hype said:
How do I reflash recovery when I can't access the filesystem? Do I need to setup ADB and connect to my phone via command line to initiate the transfer? Can you link me to a thread that explains how to setup ADB in a case like this? Thanks
Click to expand...
Click to collapse
How did you get your One rooted, then?
You need to install ADB/Fastboot on your computer. Best to create a folder directly on C:
In that folder you also copy the .img of the recovery (you need latest TWRP for 4.4 ROMs)
Now, once ADB/Fastboot Folder is set up, the TWRP download is copied into the same folder, you go to your bootloader and connect the One via USB and select FASTBOOT (red letters) and once connected you see (USB)
You open a CMD window (START and type cmd) , in that window you point to the fastboot folder:
cd c:\fastboot (or whatever name you choose as in link above)
fastboot erase cache (enter)
fastboot flash recovery openrecovery-twrp-2.6.3.4-m7ul.img (enter)
fastboot erase cache (enter)
you see the commands running in the cmd window
after that you can choose inside the recovery the ADVANCED option and SIDELOAD ADB
I have not done that, so you need to search the forum on how to do that.
Njoi
Screenshot to see the Fastboot folder on my laptop with the TWRP file in it
Just saw that you still have the .zip of your ROM on your internal storage. So just choose to install that and that's it! Be careful with the wiping option and only choose factory reset or cache/dalvik and never system!
hardstuffmuc said:
How did you get your One rooted, then?
You need to install ADB/Fastboot on your computer. Best to create a folder directly on C:
In that folder you also copy the .img of the recovery (you need latest TWRP for 4.4 ROMs)
Now, once ADB/Fastboot Folder is set up, the TWRP download is copied into the same folder, you go to your bootloader and connect the One via USB and select FASTBOOT (red letters) and once connected you see (USB)
You open a CMD window (START and type cmd) , in that window you point to the fastboot folder:
cd c:\fastboot (or whatever name you choose as in link above)
fastboot erase cache (enter)
fastboot flash recovery openrecovery-twrp-2.6.3.4-m7ul.img (enter)
fastboot erase cache (enter)
you see the commands running in the cmd window
after that you can choose inside the recovery the ADVANCED option and SIDELOAD ADB
I have not done that, so you need to search the forum on how to do that.
Njoi
Screenshot to see the Fastboot folder on my laptop with the TWRP file in it
Just saw that you still have the .zip of your ROM on your internal storage. So just choose to install that and that's it! Be careful with the wiping option and only choose factory reset or cache/dalvik and never system!
Click to expand...
Click to collapse
Gotcha. Makes sense. Will try and let you know. Thanks so much!
Htc one kiktkat 4.4 update gone wrong
hardstuffmuc said:
How did you get your One rooted, then?
You need to install ADB/Fastboot on your computer. Best to create a folder directly on C:
In that folder you also copy the .img of the recovery (you need latest TWRP for 4.4 ROMs)
Now, once ADB/Fastboot Folder is set up, the TWRP download is copied into the same folder, you go to your bootloader and connect the One via USB and select FASTBOOT (red letters) and once connected you see (USB)
You open a CMD window (START and type cmd) , in that window you point to the fastboot folder:
cd c:\fastboot (or whatever name you choose as in link above)
fastboot erase cache (enter)
fastboot flash recovery openrecovery-twrp-2.6.3.4-m7ul.img (enter)
fastboot erase cache (enter)
you see the commands running in the cmd window
after that you can choose inside the recovery the ADVANCED option and SIDELOAD ADB
I have not done that, so you need to search the forum on how to do that.
Njoi
Screenshot to see the Fastboot folder on my laptop with the TWRP file in it
Just saw that you still have the .zip of your ROM on your internal storage. So just choose to install that and that's it! Be careful with the wiping option and only choose factory reset or cache/dalvik and never system!
Click to expand...
Click to collapse
I did all what you said there its still takes me back to bootloader...
and that red message active cmdline overflow (1085bytes) still there...any soulutions to fix this please?
hardstuffmuc said:
How did you get your One rooted, then?
You need to install ADB/Fastboot on your computer. Best to create a folder directly on C:
In that folder you also copy the .img of the recovery (you need latest TWRP for 4.4 ROMs)
Now, once ADB/Fastboot Folder is set up, the TWRP download is copied into the same folder, you go to your bootloader and connect the One via USB and select FASTBOOT (red letters) and once connected you see (USB)
You open a CMD window (START and type cmd) , in that window you point to the fastboot folder:
cd c:\fastboot (or whatever name you choose as in link above)
fastboot erase cache (enter)
fastboot flash recovery openrecovery-twrp-2.6.3.4-m7ul.img (enter)
fastboot erase cache (enter)
you see the commands running in the cmd window
after that you can choose inside the recovery the ADVANCED option and SIDELOAD ADB
I have not done that, so you need to search the forum on how to do that.
Njoi
Screenshot to see the Fastboot folder on my laptop with the TWRP file in it
Just saw that you still have the .zip of your ROM on your internal storage. So just choose to install that and that's it! Be careful with the wiping option and only choose factory reset or cache/dalvik and never system!
Click to expand...
Click to collapse
Just tried everything and it worked 100%! Can't thank you enough!

URGENT: HTC One m7 Developer Edition - No OS, only Bootloader and TWRP [SOLVED]

Hi guys,
Accidentally wiped the internal storage and system files, was distracted and on phone with someone else and messed it up. Didn't do a backup because I'm selling the phone and backed up all my stuff to PC before going with the wipe.
Current status:
-Tampered
-Unlocked
-S-On
-Hboot 1.44
-Bootloader with fastboot working
-Recovery TWRP 2.8.0.0. working
-Fastboot recognizes device
-Adb doesn't recognize device
-Have managed to push a stock TWRP nandroid backup for Developer Ediion by mounting. It sits along with the TWRP folder in /sdcard
-Tried RESTORE button through TWRP recovery, can't see the ROM.zip file
-Tried INSTALL button through TWRP Recovery, gets stuck at "updating partition details"
Please help me, thanks in advance.
shabx said:
Hi guys,
Accidentally wiped the internal storage and system files, was distracted and on phone with someone else and messed it up. Didn't do a backup because I'm selling the phone and backed up all my stuff to PC before going with the wipe.
Current status:
-Tampered
-Unlocked
-S-On
-Hboot 1.44
-Bootloader with fastboot working
-Recovery TWRP 2.8.0.0. working
-Fastboot recognizes device
-Adb doesn't recognize device
-Have managed to push a stock TWRP nandroid backup for Developer Ediion by mounting. It sits along with the TWRP folder in /sdcard
-Tried RESTORE button through TWRP recovery, can't see the ROM.zip file
-Tried INSTALL button through TWRP Recovery, gets stuck at "updating partition details"
Please help me, thanks in advance.
Click to expand...
Click to collapse
You will need to unzip the nandroid backup and place it in the <serial #> directory for TWRP to see it. The nandroid backup folder needs to be in //sdcard/TWRP/BACKUP/<Serial #>/<Nandroid_folder_name>. You might also change to TWRP 2.6.3.3 it works best with stock roms.
Thanks, i can try this today. If its possible, can you put up a screenshot showing the exact filepath.. Or confirm if what I understood below is accurate.
/sdcard/twrp/backup/serial #/nandroid/<contents of zip file>
shabx said:
Thanks, i can try this today. If its possible, can you put up a screenshot showing the exact filepath.. Or confirm if what I understood below is accurate.
/sdcard/twrp/backup/serial #/5.11.1540.9 TWRP NANDROID
Click to expand...
Click to collapse
See attached pictures, this is the view from the zip. You see there is only one folder in the zip. This folder is extracted out of the zip and it becomes the folder that is placed in the serial # folder. The contents of the folder are shown in the second picture. The serial # is the serial # of your phone. If you don't know it then you can find it in fastboot getvar all.
One more thing. The mount function is very inconsistent. Out of 60-70 attempts.. It mounted only once properly and I could push the stock ROM to the phone. Is there a way to unpack the zip in twrp?
shabx said:
One more thing. The mount function is very inconsistent. Out of 60-70 attempts.. It mounted only once properly and I could push the stock ROM to the phone. Is there a way to unpack the zip in twrp?
Click to expand...
Click to collapse
No, I don't think you can unpack the zip in TWRP. Just what is the file you are trying to move? Could you give the name and location where you got the file?
I got it from htc1guru database. Its the M7 TWRP Nandroid Backup CID BS US001 1.29.1540.3 .. Its for the developer edition which is the same as my phone..
Currently the phone only has twrp folder on sdcard.. And inside twrp, there's .twrps
. that's it.. I will have to create a new folder called backup, a new folder with their serial number as its name etc.
shabx said:
I got it from htc1guru database. Its the M7 TWRP Nandroid Backup CID BS US001 1.29.1540.3 .. Its for the developer edition which is the same as my phone..
Currently the phone only has twrp folder on sdcard.. And inside twrp, there's .twrps
. that's it.. I will have to create a new folder called backup, a new folder with their serial number as its name etc.
Click to expand...
Click to collapse
That file may not work with your phone it is pretty outdated. Can you post a fastboot getvar all (except for imei and serialno)? So, we can see if there is a better version or way to do the same thing.
Ok I will post the details when I get back home tonight.. Any other ideas? Anyway to get the adb working? I could then use revone for s-off and then RUU from desktop
shabx said:
Ok I will post the details when I get back home tonight.. Any other ideas? Anyway to get the adb working? I could then use revone for s-off and then RUU from desktop
Click to expand...
Click to collapse
ADB works in OS if USB Debugging is enabled and in custom recovery. In other words, the phone is in Recovery and attached to your computer you can run the command adb devices and you should see your serial number and next to it "recovery". If you are in FASTBOOT USB, only fastboot will work not ADB. Depending on your hboot you can use revone (hboot 1.4X), rumrunner (hboot 1.54) or firewater (hboot 1.5X) to achieve S-OFF.
Adb doesn't work. I tried adb devices and it would not return any values. Fastboot devices always gave the serial number but not adb. I have hboot1.44 and because of adb device not found I can't push revone too
shabx said:
Adb doesn't work. I tried adb devices and it would not return any values. Fastboot devices always gave the serial number but not adb. I have hboot1.44 and because of adb device not found I can't push revone too
Click to expand...
Click to collapse
Here try this method:
How to get ADB to recognize the device​
After you re-install adb & fastboot
Disconnect your phone from the computer
Then reboot the computer and open the command window
Type: adb kill-server
Then when it is finished
Type: adb start-server
Now connect your phone to the PC
Type: adb devices
Click to expand...
Click to collapse
majmoz said:
Here try this method:
Click to expand...
Click to collapse
@majmoz
shabx said:
@majmoz
Click to expand...
Click to collapse
This is an old method that I used to get S-OFF with revone:
Revone S-OFF on the phone method​Revone Download:
http://revolutionary.io/revone
Big thanks to the Revolutionary dev team. The original thread can be found here.
Written instructions:
 Download the Revone file above and transfer it to your phone (or download on your phone)
 Use a root file explorer and paste the file inside the /data/local/tmp folder
 Open a terminal emulator and type the following:
Code:
[B][I]su[/I][/B] (enter)
[B][I]cd /data/local/tmp[/I][/B] (enter)
[B][I]chmod 755 revone[/I][/B] (enter) (IF revone doesn’t work, type revone.bin)
[B][I]./revone -P[/I][/B] (enter)
 Reboot
 Open terminal again and type:
Code:
[B][I]su[/I][/B] (enter)
[B][I]cd /data/local/tmp[/I][/B] (enter)
[B][I]./revone -s 0 -u[/I][/B] (That would be a ZERO) (enter)
 Reboot
 That’s it! To get rid of the tampered, or relock, follow instructions below
To remove “tampered”
open terminal
Code:
[B][I]cd /data/local/tmp[/I][/B]
[B][I]su[/I][/B]
[B][I]./revone.bin -t[/I][/B]
These are other commands that you can fill in above to
-u – Unlock the device
-l – Lock the device (as if it was never unlocked)
-r – Relock the device (mark the device as relocked)
-t – Reset the device’s tamper flag.
Click to expand...
Click to collapse
You will need a terminal emulator you can download one from the Google Play Store.
majmoz said:
This is an old method that I used to get S-OFF with revone:
You will need a terminal emulator you can download one from the Google Play Store.
Click to expand...
Click to collapse
@majmoz
This wont work. My phone has no OS so I can't get in and download stuff from Play Store. Also the ADB steps listed by you didn't work. ADB devices does not return anything.
shabx said:
@majmoz
This wont work. My phone has no OS so I can't get in and download stuff from Play Store. Also the ADB steps listed by you didn't work. ADB devices does not return anything.
Click to expand...
Click to collapse
@majmoz
OK ADB devices found works. How do I get S-Off now? I tried Revone, but its failing with error code = 1
shabx said:
@majmoz
OK ADB devices found works. How do I get S-Off now? I tried Revone, but its failing with error code = 1
Click to expand...
Click to collapse
Let's get a rom on your phone first. Did you have a rom that you wanted to put on your phone? It should be a Sense ROM.
Originally posted by @alrayHTC ONE M7_U/M7_UL - ADB PUSH & FLASH A ROM - DETAILED INSTRUCTIONS
Prerequisites:
You need ADB and FASTBOOT on your computer,
either by installing the Android SDK or Minimal ADB and FASTBOOT
You need to know how to start a fastboot/adb command prompt:
To open a command window prompt, in Windows go to Start Menu --> ''Run'' then type cmd. Change the directory to the ADB folder on your machine:
If using the default install location for the SDK:
Code:
cd C:\adt-bundle-windows-x86_64-<DATE>\sdk\platform-tools
If using the default install location of Minimal ADB and FASTBOOT:
Code:
cd C:\Program Files (x86)\Minimal ADB and Fastboot
Or hold left shift + right click a blank space inside the folder where adb and fastboot are located and select ''Open command window here'' from the contextual menu.
You need TWRP recovery on your device.
We still recommend to use version 2.6.3.3 for all roms
except if another version is specified in the rom OP.
Use 2.7.1.1+ for roms that require "block:by-name" support (CM11)
Unlock bootloader if not already unlocked:
Thanks to Electroz for the video tutorial
Flash TWRP Recovery:
Make sure the recovery.img file is in the same folder where adb and fastboot are located
(C:\adt-bundle-windows-x86_64-<DATE>\sdk\platform-tools or C:\Program Files (x86)\Minimal ADB and Fastboot)
reboot phone in bootloader mode
Flash the recovery:
Code:
fastboot flash recovery name_of_recovery.img
fastboot erase cache
fastboot reboot-bootloader
You need your HTC drivers correctly installed on your PC:
If not, follow this guide (thanks to nkk71):
originally from @nkk71: [GUIDE] [02-MAR-2014] nkk71's SuperGUIDE to returning 100% back to stock
follow the below instructions to fix
Open "Device Manager" -> select the unknown "One" -> right-click -> "Update Driver Software ..." -> "Browse my computer" -> "Let me pick" -> "Android USB Devices" -> select "My HTC ..." -> install that
just in case, HTC Drivers can be found here: [Drivers] HTC Drivers for Windows - Several Versions (credits to @mdmower)
though you should already have them since you have been using your phone anyways
for those who like a visual guide:
okay so I did a fastboot boot command, and as you can see it didnt install correct driver
Open "Device Manager"
there's the culprit
right click and Update Driver Software
select Browse my computer for driver software
select Let me pick from a list of device drivers on my computer
select Android USB Devices
select My HTC ... (if you have more than one version, choose the latest)
warning, select Yes
successful installation
now it looks better
and can confirm:
Code:
C:\ADB3>[B]adb devices[/B]
List of devices attached
HTxxxxxxxxxx recovery
Click to expand...
Click to collapse
​
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Procedure:
Make sure the ROM you want to flash is in the same folder where ADB and FASTBOOT are.
(C:\adt-bundle-windows-x86_64-<DATE>\sdk\platform-tools or C:\Program Files (x86)\Minimal ADB and Fastboot)
Here is a list of the HTC M7 roms. Some other roms can be found here.
Connect your phone to computer using usb cable
(if not using the official HTC USB calble, make sure
you are using a USB data cable and not only a charging
cable. Data cables have 4 contacts: 5V, GND, DATA+, DATA-.
Charging cable only have 5V and GND contact and will not work)
Reboot phone in recovery mode (TWRP):
If phone is booted in OS:
Code:
adb reboot recovery
if not booted or bootlooping, hold power button + volume down until phone boot in bootloader mode
then select BOOTLOADER then RECOVERY using volume up/down to navigate and power button to select.
Make sure your phone is booted in TWRP main menu:
transfer the rom to your /sdcard folder:
Code:
adb push name_of_rom.zip /sdcard/
Wait for the zip file to transfer, this can take several minutes (5-15) and there is no progress bar, the command prompt will be unresponsive for that duration. When the command prompt is responsive again and display how much bytes transferred in X seconds, the transfer is completed:
In TWRP main menu, select ''INSTALL''
Browse the installation menu and select your rom zip file inside /sdcard folder:
Swipe to confirm you want to flash the rom
Reboot phone
Click to expand...
Click to collapse
Click to expand...
Click to collapse
@majmoz I'm currently downloading the 1.29.1540.17 from htcdev.com .. This is the same as shown in he getvar all posted earlier. Will push the ROM via adb and post results or errors. Thanks.
shabx said:
@majmoz I'm currently downloading the 1.29.1540.17 from htcdev.com .. This is the same as shown in he getvar all posted earlier. Will push the ROM via adb and post results or errors. Thanks.
Click to expand...
Click to collapse
That file is a RUU rom zip for your phone. I believe you will have to flash it in bootloader like firmware. Your bootloader will need to be relocked.
Rename file to rom.zip and put in your fastboot/adb folder.
Put the phone in bootloader/FASTBOOT USB:
After that, type:
Code:
fastboot oem lock
Code:
[B][I]fastboot oem rebootRUU [/I][/B]
NOTE: You should see a silver HTC logo come up on your phone after executing this command.
NOTE: if this command freezes, just disconnect the USB cable and hold the power and volume down buttons until the device reboots. Then, repeat the steps above again.
Finally:
Code:
[B][I]fastboot flash zip rom.zip[/I][/B]
Repeat the same command: IMPORTANT
Code:
[B][I]fastboot flash zip rom.zip[/I][/B]
NOTE: The green bar on the phone may not go to 100% of the bar ... but If you see completed on your computer command window, wait for a few seconds and move on.
Last Step:
Code:
[B][I]fastboot reboot[/I][/B]
Click to expand...
Click to collapse
The phone came with an unlocked bootloader. Then why do I need to relock it. You have given me 2 sets of instructions above.. One is using adb and other is flashing the ruu in bootloader.

[Q] Error when trying to go back to stock via fastboot method

So i kind of got a situation here , i originally wanted to be rooted and have my nexus 6 non encrypted so i had unlocked and rooted my phone. After i ran the "./fastboot erase userdata" command i flashed the custom recovery again and booted into it. From there i thought i would be able to "./adb sideload" a stock custom rom non encrypted but for some reason i was having difficulty running that command. My laptop was not seeing the phone, so after about 30 min of playing around with it trying to get it to work i figured id just start over fresh. From this point i dont have an OS installed so i knew i would have to download the appropriate files for the nexus 6 so i did. I tried both methods, the "./flash-all.sh" command and flashing everything one by one rebooting the bootloader in between flashes and still kept getting this same error
fastboot(1561,0xa04aa1d4) malloc: *** mach_vm_map(size=1681293312) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
failed to allocate 1679613116 bytes
error: update package missing system.img
and now im stuck in fastboot mode at least, but cannot revert back to stock unless im missing something here. Can someone help please
AnthonyAldrete said:
So i kind of got a situation here , i originally wanted to be rooted and have my nexus 6 non encrypted so i had unlocked and rooted my phone. After i ran the "./fastboot erase userdata" command i flashed the custom recovery again and booted into it. From there i thought i would be able to "./adb sideload" a stock custom rom non encrypted but for some reason i was having difficulty running that command. My laptop was not seeing the phone, so after about 30 min of playing around with it trying to get it to work i figured id just start over fresh. From this point i dont have an OS installed so i knew i would have to download the appropriate files for the nexus 6 so i did. I tried both methods, the "./flash-all.sh" command and flashing everything one by one rebooting the bootloader in between flashes and still kept getting this same error
fastboot(1561,0xa04aa1d4) malloc: *** mach_vm_map(size=1681293312) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
failed to allocate 1679613116 bytes
error: update package missing system.img
and now im stuck in fastboot mode at least, but cannot revert back to stock unless im missing something here. Can someone help please
Click to expand...
Click to collapse
it looks like the script is looking for a file that is not in the proper directory
the flash all script has never worked for me I have always had to manually flash the images.
looks like you are on a mac since you are using the ./with the command
follow the directions below and you should get back to stock
since you are already in bootloader mode
Download the required factory image files to your computer and extract them
Create an empty directory. All of the files that are required, need to be in one (i.e., the same) directory. It does not matter what it is called, but all the files need to be in there, with NO subfolders. EVERYTHING needs to be extracted into this one directory; (it is easier this way)
Download the version of Android you want to your new directory. Make sure you are using a nexus 6 image.
Extract the files from within the .tgz file which you downloaded in step 3 using 7-zip, not WinZip or WinRAR or whatever.
Make sure you have extracted ALL the files (including extracting any files in any archives inside the .tgz file). You should have six (6) files ending with .img in the directory you created in step 1. The other files you extracted from the .tgz are not necessary;
Open a command prompt in the same directory (i.e., make sure you are in the same directory as your files are located). You can hold the shift key when you are in the folder in Windows explorer and right-click in a blank spot and it will open a command prompt. In Ubuntu or MAC just cd to the directory.
Type in the commands into the command prompt
Make sure your computer recognizes your device by typing: fastboot devices
Flash the bootloader: fastboot flash bootloader bootloader-some-description-number.img
Reboot: fastboot reboot-bootloader
Flash the radio: fastboot flash radio radio-some-description-number.img
Reboot: fastboot reboot-bootloader
Flash the system partition: fastboot flash system system.img
Flash the data partition: fastboot flash userdata userdata.img
Flash the kernel/ramdisk: fastboot flash boot boot.img
Flash the recovery partition: fastboot flash recovery recovery.img
Erase the cache partition: fastboot format cache
Reboot: fastboot reboot
Done! The first boot will likely take quite a bit longer than you are used to, as Android builds the cache.
Now you have a fully stock image on your device. The only thing that is different from out-of-the-box condition is that your bootloader is unlocked.
No you can root or decrypt. Search for directions on the forum or the internet.
funny i just did this exact same thing like you instructed and was about to reply to this post saying i resolved it hahah. Thanks anyways though =), i dont understand why i was getting that though because i had every file in the same place
No worries glad you got it working
qnc said:
No worries glad you got it working
Click to expand...
Click to collapse
Also found out that you Dont do the ./fastboot erase userdate command because it puts 0s in and leaves the phone unbootable which was my root cause for my phone being stuck. Instead, after flashing the boot.IMG you do the ./fastboot partition userdata instead and it will do a factory reset and when booting it will not encrypt the phone.
qnc said:
it looks like the script is looking for a file that is not in the proper directory
the flash all script has never worked for me I have always had to manually flash the images.
looks like you are on a mac since you are using the ./with the command
follow the directions below and you should get back to stock
since you are already in bootloader mode
Download the required factory image files to your computer and extract them
Create an empty directory. All of the files that are required, need to be in one (i.e., the same) directory. It does not matter what it is called, but all the files need to be in there, with NO subfolders. EVERYTHING needs to be extracted into this one directory; (it is easier this way)
Download the version of Android you want to your new directory. Make sure you are using a nexus 6 image.
Extract the files from within the .tgz file which you downloaded in step 3 using 7-zip, not WinZip or WinRAR or whatever.
Make sure you have extracted ALL the files (including extracting any files in any archives inside the .tgz file). You should have six (6) files ending with .img in the directory you created in step 1. The other files you extracted from the .tgz are not necessary;
Open a command prompt in the same directory (i.e., make sure you are in the same directory as your files are located). You can hold the shift key when you are in the folder in Windows explorer and right-click in a blank spot and it will open a command prompt. In Ubuntu or MAC just cd to the directory.
Type in the commands into the command prompt
Make sure your computer recognizes your device by typing: fastboot devices
Flash the bootloader: fastboot flash bootloader bootloader-some-description-number.img
Reboot: fastboot reboot-bootloader
Flash the radio: fastboot flash radio radio-some-description-number.img
Reboot: fastboot reboot-bootloader
Flash the system partition: fastboot flash system system.img
Flash the data partition: fastboot flash userdata userdata.img
Flash the kernel/ramdisk: fastboot flash boot boot.img
Flash the recovery partition: fastboot flash recovery recovery.img
Erase the cache partition: fastboot format cache
Reboot: fastboot reboot
Done! The first boot will likely take quite a bit longer than you are used to, as Android builds the cache.
Now you have a fully stock image on your device. The only thing that is different from out-of-the-box condition is that your bootloader is unlocked.
No you can root or decrypt. Search for directions on the forum or the internet.
Click to expand...
Click to collapse
And I was having the same issues executing the flash all command too until I opened the command in a text editor and for every command put the "./" in front and was able to execute it but this is the first time I've gotten an error. My nexus5 worked with this command no problem
worked for me but still could not decrypt
qnc said:
it looks like the script is looking for a file that is not in the proper directory
the flash all script has never worked for me I have always had to manually flash the images.
looks like you are on a mac since you are using the ./with the command
follow the directions below and you should get back to stock
since you are already in bootloader mode
Download the required factory image files to your computer and extract them
Create an empty directory. All of the files that are required, need to be in one (i.e., the same) directory. It does not matter what it is called, but all the files need to be in there, with NO subfolders. EVERYTHING needs to be extracted into this one directory; (it is easier this way)
Download the version of Android you want to your new directory. Make sure you are using a nexus 6 image.
Extract the files from within the .tgz file which you downloaded in step 3 using 7-zip, not WinZip or WinRAR or whatever.
Make sure you have extracted ALL the files (including extracting any files in any archives inside the .tgz file). You should have six (6) files ending with .img in the directory you created in step 1. The other files you extracted from the .tgz are not necessary;
Open a command prompt in the same directory (i.e., make sure you are in the same directory as your files are located). You can hold the shift key when you are in the folder in Windows explorer and right-click in a blank spot and it will open a command prompt. In Ubuntu or MAC just cd to the directory.
Type in the commands into the command prompt
Make sure your computer recognizes your device by typing: fastboot devices
Flash the bootloader: fastboot flash bootloader bootloader-some-description-number.img
Reboot: fastboot reboot-bootloader
Flash the radio: fastboot flash radio radio-some-description-number.img
Reboot: fastboot reboot-bootloader
Flash the system partition: fastboot flash system system.img
Flash the data partition: fastboot flash userdata userdata.img
Flash the kernel/ramdisk: fastboot flash boot boot.img
Flash the recovery partition: fastboot flash recovery recovery.img
Erase the cache partition: fastboot format cache
Reboot: fastboot reboot
Done! The first boot will likely take quite a bit longer than you are used to, as Android builds the cache.
Now you have a fully stock image on your device. The only thing that is different from out-of-the-box condition is that your bootloader is unlocked.
No you can root or decrypt. Search for directions on the forum or the internet.
Click to expand...
Click to collapse
so all of this worked for me and its back up and running, but my phone still says that its encrypted

[HOW TO] Really go back to HTC stock ROM and solve boot problems - noob guide

I managed to solve boot problems with broken Desire 500 HTC's (not booting, orange led blinking, vibrating 7 times etc.)
Just put your phone without battery in a ziplock bag in the freezer for 1 hour (not kidding). Let it sit for another 1/2 hour at room temperature, then insert battery and try booting into fastboot. If it doesn't work, remove battery and try again in half hour. Try until it boots, I tried about 15 times before I managed to boot into fastboot mode. So don't give up. After you manage to boot into fastboot mode, follow this guide to restore your phone functionality.
Works for:
HTC Desire 500 and maybe other HTC phones
If you are on Windows 7, skip this next step. To install ADB and Fastboot drivers on Windows 8 and 10, forum member @kmark23 posted the following solution:
1. Uninstall all drivers for HTC phone
2. Install latest HTC Sync Manager
3. Connect phone in normal mode
4. Connect phone in fastboot mode (system reports unrecognized device)
5. Run regedit as administrator
6. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags
7. Right-click on usbflags, click new > key, name it 0BB40FF00100
8. Select 0BB40FF00100 and in the right window right click > new > binary value
9. Rename created binary value to SkipBOSDescriptorQuery
10. Right click SkipBOSDescriptorQuery > modify binary data, type 01 00 00 00 , click ok
11. Unplug usb cable and plug again.
12. In fastboot cmd window type fastboot devices, press enter and see if your device is listed
Connect your phone directly to the PC and don't use a USB 3.0 port, only 2.0
Links for download are down the page
Your battery should be at least 40% charged before doing this. And of course, do everything at your own risk, I am not responsible for any bricked devices.
INSTRUCTIONS:
Z4U = single sim
Z4DUG = dual sim
Download 0P3ZIMG HTC Europe or Asia for your phone (single or dual sim) and region
If you want to use the RUU files instead, your bootloader must be locked. Instructions on how to relock the bootloader are below. After that, just run the RUU file as admin on your pc and follow on screen istructions, but your phone must have the correct CID (country ID) for the region the RUU is intended for, or else it won't install. If the RUU installer force closes click here for the solution.
You can also extract the ROM file from the RUU then flash it using fastboot, just like 0P3ZIMG files in this guide. To extract the ROM file, run the RUU as admin and after the install wizard don't click nothing, just let the window opened. Click windows Start and in the search box type %temp% and go to the folder. While in temp folder, in the search window in windows explorer type rom.zip and press enter. Copy the file rom.zip to your fastboot folder and use it like 0P3ZIMG files described next in this guide.
Uninstall old usb drivers for HTC, Samsung Kies, and other similar phone software or drivers.
Download and install Java Runtime Environment
Download and install android SDK Tools. After installation is complete, a window will pop-up. Check only platform tools and Google usb driver and download.
Download and install HTC Sync Manager
Download fastboot binaries and extract fastboot-win.zip in a folder on the desktop
Browse to Program Files (x86)\Android\android-sdk\platform-tools and copy files AdbWinApi.dll, AdbWinUsbApi.dll and adb.exe to fastboot-win folder you extracted on the desktop
Reboot your pc.
1. Copy the file 0P3ZIMG for HTC Europe or Asia to fastboot-win folder on the desktop. Rename copied file to Z4DUGIMG.img or Z4UIMG.img, depending on your phone.
2. Inside the fastboot-win folder on the desktop, holding down the shift key, right click on an empty space and then click open command window here
3. Boot your phone in fastboot mode (hold Power and vol – keys)
4. Connect phone to the pc with a good data cable. You should see Fastboot usb on your phone screen and a driver installing on your pc.
5. On the command window opened earlier, type fastboot devices. A device should be listed.
6. Next, on the command window, write the following commands:
fastboot oem lock – wait for the phone to restart, and on the phone screen you should see *Relocked*
type fastboot oem rebootRUU - your phone will go to a black screen with the HTC logo
type fastboot flash zip Z4DUGIMG.zip or fastboot flash zip Z4UIMG.img, depending on your phone
wait, the process is very long. DON’T DO ANYTHING UNTIL IT FINISHES COMPLETELY
After the process is totally completed, type fastboot reboot
Done.
After restoring the whole system, if you still want to root your phone, unlock your bootloader and install ONLY this recovery and latest SuperSU:
PhilZ Touch Recovery 6.59.0
SuperSU
Java Runtime Environment
Android SDK Tools- download and install windows.exe file
HTC Sync Manager
Fastboot binaries
ROM files
razvangrig said:
I managed to solve boot problems with broken Desire 500 HTC's (not booting, orange led blinking, vibrating 7 times etc.)
Just put your phone without battery in a ziplock bag in the freezer for 1 hour (not kidding). Let it sit for another 1/2 hour at room temperature, then insert battery and try booting into fastboot. If it doesn't work, remove battery and try again in half hour. Try until it boots, I tried about 15 times before I managed to boot into fastboot mode. So don't give up. After you manage to boot into fastboot mode, follow this guide to restore your phone functionality.
Works for:
HTC Desire 500
If you are on Windows 7, skip this next step. To install ADB and Fastboot drivers on Windows 8 and 10, forum member @kmark23 posted the following solution:
1. Uninstall all drivers for HTC phone
2. Install latest HTC Sync Manager
3. Connect phone in normal mode
4. Connect phone in fastboot mode (system reports unrecognized device)
5. Run regedit as administrator
6. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags
7. Right-click on usbflags, click new > key, name it 0BB40FF00100
8. Select 0BB40FF00100 and in the right window right click > new > binary value
9. Rename created binary value to SkipBOSDescriptorQuery
10. Right click SkipBOSDescriptorQuery > modify binary data, type 01 00 00 00 , click ok
11. Unplug usb cable and plug again.
12. In fastboot cmd window type fastboot devices, press enter and see if your device is listed
Links for download are down the page
Your battery should be at least 40% charged before doing this. And of course, do everything at your own risk, I am not responsible for any bricked devices.
INSTRUCTIONS:
Z4U = single sim
Z4DUG = dual sim
Download 0P3ZIMG HTC Europe or Asia for your phone (single or dual sim) and region
If you want to use the RUU files instead, your bootloader must be locked. Instructions on how to relock the bootloader are below. After that, just run the RUU file as admin on your pc and follow on screen istructions, but your phone must have the correct CID (country ID) for the region the RUU is intended for, or else it won't install. If the RUU installer force closes see http://forum.xda-developers.com/showpost.php?p=53081344&postcount=94 for solution.
You can also extract the ROM file from the RUU then flash it using fastboot, just like 0P3ZIMG files in this guide. To extract the ROM file, run the RUU as admin and after the install wizard don't click nothing, just let the window opened. Click windows Start and in the search box type %temp% and go to the folder. While in temp folder, in the search window in windows explorer type rom.zip and press enter. Copy the file rom.zip to your fastboot folder and use it like 0P3ZIMG files described next in this guide.
Uninstall old usb drivers for HTC, Samsung Kies, and other similar phone software or drivers.
Download and install Java Runtime Environment
Download and install android SDK Tools. After installation is complete, a window will pop-up. Check only platform tools and Google usb driver and download.
Download and install HTC Sync Manager
Download fastboot binaries and extract fastboot-win.zip in a folder on the desktop
Browse to Program Files (x86)\Android\android-sdk\platform-tools and copy files AdbWinApi.dll, AdbWinUsbApi.dll and adb.exe to fastboot-win folder you extracted on the desktop
Reboot your pc.
1. Copy the file 0P3ZIMG for HTC Europe or Asia to fastboot-win folder on the desktop. Rename copied file to Z4DUGIMG.img or Z4UIMG.img, depending on your phone.
2. Inside the fastboot-win folder on the desktop, holding down the shift key, right click on an empty space and then click open command window here
3. Boot your phone in fastboot mode (hold Power and vol – keys)
4. Connect phone to the pc with a good data cable. You should see Fastboot usb on your phone screen and a driver installing on your pc.
5. On the command window opened earlier, type fastboot devices. A device should be listed.
6. Next, on the command window, write the following commands:
fastboot oem lock – wait for the phone to restart, and on the phone screen you should see *Relocked*
type fastboot oem rebootRUU - your phone will go to a black screen with the HTC logo
type fastboot flash zip Z4DUGIMG.zip or fastboot flash zip Z4UIMG.img, depending on your phone
wait, the process is very long. DON’T DO ANYTHING UNTIL IT FINISHES COMPLETELY
After the process is totally completed, type fastboot reboot
Done.
Java Runtime Environment:
http://java.com/en/
Android SDK Tools - download and install file installer_r24.4.1-windows.exe
http://developer.android.com/sdk/index.html#Other
HTC Sync Manager
http://www.htc.com/us/software/htc-sync-manager/
Download fastboot binaries:
https://www.htcdev.com/process/legal_fastboot_win
ROM files
http://forum.gsmhosting.com/vbb/f485/htc-mtk-spd-qualcomm-cpu-flash-files-jamesjerss-updated-02-10-2015-a-1949859/#post11057152
Click to expand...
Click to collapse
Does this solve problem with vibrations from rumrunner proto 0.71 S-OFF or vibrations still stay?And can i use only disabled driver signature enforcement on windows 8.1 without modifying registry i run windows 8.1 on BIOS not UEFI and have legacy boot mode so i can on F8 select disable driver signature enforcement on number 7.
This should solve any software caused problems, since it rewrites the bootloader, radio, recovery, system partition and data partition. Your phone will be S-ON and unrooted, just like it came from the factory. I don't know about the driver signature enforcement on windows 8.1, I didn't try it. I only tested the above solution on windows 10, both Legacy and UEFI boot.
If you are S-OFF you can use any RUU .exe file if you do this:
Boot into fastboot mode, enter the command "fastboot oem readcid". Make a note of your original CID.
Enter the command "fastboot oem writecid 11111111
Enter the command "fastboot read cid" - it should confirm your CID is 11111111
Reboot the bootloader.
Don't forget, before you flash the RUU you have to relock the bootloader with fastboot oem lock command
It doesn't work. After I type fastboot flash zip Z4UIMG.img i get an error "FAILED (remote: 12 signature verify fail)".
sharleyP said:
It doesn't work. After I type fastboot flash zip Z4UIMG.img i get an error "FAILED (remote: 12 signature verify fail)".
Click to expand...
Click to collapse
Your bootloader must be locked before you flash
Your must flash the file matching your phone CID, otherwise it won't install. HTC signed encrypted files check the country id and firmware version before they install. So you can not downgrade the firmware, only upgrade it. Try the RUU_Z4_DUG_Asia file if the European does not work. Check your phone CID with fastboot oem readcid and see for wich country your phone is.
razvangrig said:
Your bootloader must be locked before you flash
Your must flash the file matching your phone CID, otherwise it won't install. HTC signed encrypted files check the country id and firmware version before they install. So you can not downgrade the firmware, only upgrade it. Try the RUU_Z4_DUG_Asia file if the European does not work. Check your phone CID with fastboot oem readcid and see for wich country your phone is.
Click to expand...
Click to collapse
Bootloader is locked. I performed all steps form your instruction. I tried Asian file but it also does not work - same error. My CID is HTC__032 - Eastern Europe.
sharleyP said:
Bootloader is locked. I performed all steps form your instruction. I tried Asian file but it also does not work - same error. My CID is HTC__032 - Eastern Europe.
Click to expand...
Click to collapse
When you connect your phone, don't use a USB3.0 port, only 2.0. I have the same CID as you and had no error flashing European HTC file. Try with the bootloader unlocked, try another data cable, remove phone battery and start the process again. You can copy Z4DUGIMG to your SD card and reboot the phone in fastboot. Hboot scans the SD card, and the update should automatically begin, but I haven't tried this. As a last solution, use Rumrunner s-off to get s-off (works with Desire 500). After S-OFF write your CID with command "fastboot oem writecid 11111111" (SuperCID) and you should be able to install any HTC firmware for this phone.
razvangrig said:
When you connect your phone, don't use a USB3.0 port, only 2.0. I have the same CID as you and had no error flashing European HTC file. Try with the bootloader unlocked, try another data cable, remove phone battery and start the process again. You can copy Z4DUGIMG to your SD card and reboot the phone in fastboot. Hboot scans the SD card, and the update should automatically begin, but I haven't tried this. As a last solution, use Rumrunner s-off to get s-off (works with Desire 500). After S-OFF write your CID with command "fastboot oem writecid 11111111" (SuperCID) and you should be able to install any HTC firmware for this phone.
Click to expand...
Click to collapse
I got the CID HTC__102 and i f*cked up my phone. I didn't done a Backup. I tried to Flash James Rom and the U.F.O Rom, but it failed with unlocked bootloader and S-ON... I have Radio-14.16.36Q4.22
I tried it with the Ruu Asian Version, but it doesn't sends/loads the 5 Files to my Phone... It just goes on and on, over 10 minutes... there are just the dots .. , ... , .... , .... , ..... , ...... , and so on.
I relocked it before trying the Ruu Thing. Bootloader Shows Relocked. I got TWCM installed an having the Single Sim Version from Germany
I hope you can help me! Thanks very much
I Forget to say, that i can see my device with fastboot devices, but i got a couple of Errors trying to install al the roms, i done also the Complete Wipes. And i got no OS installed!!
TheRealJoker31 said:
I got the CID HTC__102 and i f*cked up my phone. I didn't done a Backup. I tried to Flash James Rom and the U.F.O Rom, but it failed with unlocked bootloader and S-ON... I have Radio-14.16.36Q4.22
I tried it with the Ruu Asian Version, but it doesn't sends/loads the 5 Files to my Phone... It just goes on and on, over 10 minutes... there are just the dots .. , ... , .... , .... , ..... , ...... , and so on.
I relocked it before trying the Ruu Thing. Bootloader Shows Relocked. I got TWCM installed an having the Single Sim Version from Germany
I hope you can help me! Thanks very much
I Forget to say, that i can see my device with fastboot devices, but i got a couple of Errors trying to install al the roms, i done also the Complete Wipes. And i got no OS installed!!
Click to expand...
Click to collapse
Have you tried flashing the 0P3ZIMG Z4_U HTC Europe using fastboot commands and didn't work? Have you used a usb 2.0 port?
Check out this thread also and try the roms there for your hboot version
razvangrig said:
Have you tried flashing the 0P3ZIMG Z4_U HTC Europe using fastboot commands and didn't work? Have you used a usb 2.0 port?
Click to expand...
Click to collapse
Yes, Sir. Tried that already. I am using USb2.0 Ports, yeah.
The =P3ZIMG Z4_U HTC Europe is the first one from the Forum-site you send or? The one with ~689MB?
Trying it again now, adding a Screenshot
http://www.xup.in/dl,66261527/HTC_FLASH.PNG/
TheRealJoker31 said:
Yes, Sir. Tried that already. I am using USb2.0 Ports, yeah.
The =P3ZIMG Z4_U HTC Europe is the first one from the Forum-site you send or? The one with ~689MB?
Trying it again now, adding a Screenshot
http://www.xup.in/dl,66261527/HTC_FLASH.PNG/
Click to expand...
Click to collapse
Download the European RUU Z4_U (not the 0P3ZIMG). Run the RUU on your computer until the wizard comes up. While the RUU wizard is open, 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. 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.
Unlock your bootloader
Open a command prompt in ADB folder. Flash the stock recovery extracted in step 3 above using the following command:
fastboot flash recovery recovery.img or fastboot flash recovery recovery_signed.img
Relock the bootloader using the following command:
fastboot oem lock
Re-run the RUU on your PC
razvangrig said:
Download the European RUU Z4_U (not the 0P3ZIMG). Run the RUU on your computer until the wizard comes up. While the RUU wizard is open, 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. 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.
Unlock your bootloader
Open a command prompt in ADB folder. Flash the stock recovery extracted in step 3 above using the following command:
fastboot flash recovery recovery.img or fastboot flash recovery recovery_signed.img
Relock the bootloader using the following command:
fastboot oem lock
Re-run the RUU on your PC
Click to expand...
Click to collapse
For me ist not: recovery_signed, ist boot_signed, flashed it with the command: fastboot Flash recovery boot_signed.img , went fine, and then fastboot oem lock while in fastboot it restarted and showed above again Relocked, and then started RUU again and it's doing the same Thing, it just don't proceeds, it stays at 0/5 files.
EDIT: I didn't said that my phone Shows the black Background with silver/White HTC Logo during this try to send the 5 files, or whatever it tries to do...
TheRealJoker31 said:
For me ist not: recovery_signed, ist boot_signed, flashed it with the command: fastboot Flash recovery boot_signed.img , went fine, and then fastboot oem lock while in fastboot it restarted and showed above again Relocked, and then started RUU again and it's doing the same Thing, it just don't proceeds, it stays at 0/5 files.
I think there is a problem with your fastboot drivers or with the data cable you are using. I will try to get the recovery.img for your phone. What is your Hboot ver.?
Click to expand...
Click to collapse
razvangrig said:
TheRealJoker31 said:
For me ist not: recovery_signed, ist boot_signed, flashed it with the command: fastboot Flash recovery boot_signed.img , went fine, and then fastboot oem lock while in fastboot it restarted and showed above again Relocked, and then started RUU again and it's doing the same Thing, it just don't proceeds, it stays at 0/5 files.
I think there is a problem with your fastboot drivers or with the data cable you are using. I will try to get the recovery.img for your phone. What is your Hboot ver.?
Click to expand...
Click to collapse
Okay thank you. I got HBOOT-1.03.0001
Click to expand...
Click to collapse
TheRealJoker31 said:
razvangrig said:
Okay thank you. I got HBOOT-1.03.0001
Click to expand...
Click to collapse
Download ROM for hBoot 1.03 Build 1.34.401.1
Download firmware_1.34.401.1
Put ROM file on sd-card
Put firmware file in fastboot folder and rename to "firmware.zip"
Boot into CWM or TWRP recovery
Make full wipe (data, cache, system, dalvik cache)
Install the ROM zip file from SD-card
Reboot the phone in bootloader
Connect your device on PC
Enter next commands:
fastboot oem rebootRUU
fastboot flash zip firmware.zip
fastboot reboot
Click to expand...
Click to collapse
razvangrig said:
TheRealJoker31 said:
Download ROM for hBoot 1.03 Build 1.34.401.1
Download firmware_1.34.401.1
Put ROM file on sd-card
Put firmware file in fastboot folder and rename to "firmware.zip"
Boot into CWM or TWRP recovery
Make full wipe (data, cache, system, dalvik cache)
Install the ROM zip file from SD-card
Reboot the phone in bootloader
Connect your device on PC
Enter next commands:
fastboot oem rebootRUU
fastboot flash zip firmware.zip
fastboot reboot
Click to expand...
Click to collapse
Should the Bootloader be locked or unlocked during that process?
I think Unlocked, else i can't install TWRP/CWM
Click to expand...
Click to collapse
TheRealJoker31 said:
razvangrig said:
Should the Bootloader be locked or unlocked during that process?
I think Unlocked, else i can't install TWRP/CWM
Click to expand...
Click to collapse
If you need CWM for your phone download it here PhilZTouch 6.59.0 (hboot-1.03.0001) One Sim by RealDob
Before you install the ROM from sd-card using CWM, your bootloader needs to be unlocked
Before flashing firmware.zip using fastboot, you need to relock the bootloader
Click to expand...
Click to collapse
razvangrig said:
TheRealJoker31 said:
Before you install the ROM from sd-card using CWM, your bootloader needs to be unlocked
Before flashing firmware.zip using fastboot, you need to relock the bootloader
Click to expand...
Click to collapse
Unlocked it, installed TWRP, Wiped but it failed, maybe cause there were no Folder like /data /System, started to install it from the zip.
Formatting User Data
Formatting Cache
Formatting System
Writting Data
Flashing System
EDIT:
Flashing Boot
Flashing Recovery
Setting Symlinks and permissions
Unmount System
Unmount Data
Unmount Cache
Install complete!
Please reboot your System.
updating Partition Details....
E: Unable to Mount /data ; /system ; /devlog
Okay, i rebooted, it started, works now. What is with the Firmware zip?
Should i Flash it? And i would like to Flash a ROM, i think every ROM is better than the Stock.
But which Rom should i use? did you tried one?
I just want WhatsApp and a Performance boost, while waiting 40days on the Nexus 6p, Sir!
Thank you very much!!!!
Click to expand...
Click to collapse
No problem, now relock bootloader and flash firmware.zip
TheRealJoker31 said:
razvangrig said:
Okay, i rebooted, it started, works now. What is with the Firmware zip?
Should i Flash it? And i would like to Flash a ROM, i think every ROM is better than the Stock.
But which Rom should i use? did you tried one?
I just want WhatsApp and a Performance boost, while waiting 40days on the Nexus 6p, Sir!
Thank you very much!!!!
Click to expand...
Click to collapse
firmware.zip rewrites all partitions (hboot, radio, recovery etc) and turns your phone back to stock, unrooted and s-off
Don't know about wich rom is better, I know only 2 roms for single sim, UFO and james Rom. My desire 500 is dual sim
Click to expand...
Click to collapse

Categories

Resources