[2016.05.22][GUIDE] Firmware Flashing [Current: 6.20.502.5] - One (M8) Android Development
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
General Information
Since all M8’s can have S-Off, (and ONLY if you get S-Off!) we can also update the Firmware without the need of HTC’s OTA’ or RUU, yet the stock update way will still remain the safest way. Stick to that if you don’t have reason to come here and choose this.
Read from top to bottom. No skipping stuff or you will be confused.
There are a few Firmware flashing threads and lots of zips and instructions out there. My goal here is to help you learn and understand an established, known to be safe path to update firmware. I will try to provide some comprehensible info. If you find more vital informations, please share and i will add it here.
The safest way is still HTC’s RUU and OTA system, yet HTC is not providing RUU’s for the international version, however, US Carrier RUU’s can be accessed via HTC’s US ROM download Site. Select your Carrier at the top and jump right down to your carrier section - usually, there will be a RUU for Dev/Unlocked (1540), Sprint (651), Sprint HK (654), AT&T (502) and T-Mobile US (531). RUU’s are superior to other flashing methods because they carry a tested combination of partition images and the method itself is also known to work well. Also, RUU’s do always reassure users that there is a guaranteed and safe way to go back. If you happen to get access to an international RUU, share it with Alex or me please. RUU’s are hosted on androidruu.com by Alex within a short time after being made available to him. Hit him up on Twitter with a link and ask him to add it or send it to me and i will! I added some WWE/Europe RUU’s here which i repacked myself. They behave like official RUU’s, signed and for S-ON users. Since HTC doesn’t really want them published, i don’t link them in the OP, they are “unofficial” and can be found with search by the term “RUU” here.
Other than that, we are mostly stuck with RUU components, usually OTA packages. OTA’s usually depend on a certain Firmware version to be already installed, OTA’s only update parts - they are “incremental”. If you happen to skip an update, you might not get all partitions updated correctly and end up with incompatible partitions, which might (worst case scenario) lead to a brick. I am trying to circumvent this problem with my FULL ZIP or FUU packages - with these you can safely jump from a very old firmware right up to the newest.
The second reason for my thread is that i am trying to do more documentation than usual in order to help you learn how to safely flash firmware.
There are 3 main methods to flash Firmware, which are technically the same (the actual flash is always carried out by the hboot, but the way to get there can be different). I will cover 2 methods. My “automatic” (FUU) approach (simulating HTC’s RUU) and a manual (RUUMode ZIP) approach. The third method, placing a firmware.zip on the SDcard is already covered by @skulldreamz over HERE.
I will cover GSM PHONES ONLY - no cdma / sprint firmware except when i wish to do otherwise
Method #1: The FUUMore convenient, automated, hence user friendly way to flash firmware. What HTC uses. Less reliable, several extra sources for errors.
How this works:First thing to do: HTC Sync Manager. Please install, then remove again and leave ONLY drivers! The RUU/FUU was written in Visual C++ 2008 x86 - my installer should install that for you starting with FUU version 3.28.401.6. If it doesn't, just manually install it first to avoid the ARUWizard failing to launch with error "side-by-side configuration....".
What to know about the FUU’s (& ZIP’s)
General Info:
The FUU is the flashing technology HTC uses. I call it “FUU” because its not a ROM Update Utility (i don't deliver system.img) - it’s only a Firmware Update Utility for us (read HERE to understand the difference between "Firmware" and "ROM"). So i will update the FUU only when HTC does and provide one (empty) FUU download. Place this wherever you want your working directory to be. I suggest to use “C:\Android\com” because this is where i work. Might make following my instructions easier. I will also provide the ZIP’s as self-extracting FUU versions. Using those, you won’t need the empty structure
So, once you have downloaded and extracted the FUU to its place (I will give you a self extracting archive that sets up the FUU for you in the path mentioned above), you can then begin to download fastboot flashable zips.
To get them flashed, simply drop them into the FUU folder (C:\Android\com) and then run the FUU, which is the ARUWizard.exe (double click that one, make a shortcut to your desktop for convenience).
IMPORTANT RED, BOLD AND UNDERLINEDWhenever you drop a new zip into C:\Android\com, make sure you delete ALL OTHER ZIP’s before running the ARUWizard.exe! Plus, rename any zip you intend to flash to “ROM.zip” (small or CAPITAL doesn’t matter) to make sure a new zip overwrites an old one. So, in order to have a proper flash, have just ONE rom.zip in the “com” folder!
Now, on to what I provide here:
- FullStock Wipe ZIP/FUU: this type of zip also re-flashes the /data partition with HTC’s DZDATA files (meaning you lose everything on your internal SDCARD). Also replaces the Kernel, Ramdisk, recovery and Splash1 with latest stock images! The /system partition will not be touched. (Else this would be a RUU, not a FUU). Phone will NOT boot after using this! Be sure to put a ROM onto your EXTERNAL SD before proceeding with a FullWipe ZIP! Else you can also ADB push a ROM in recovery mode after fastboot reflashing a recovery.
- Combined NoWipe ZIP/FUU: this type of zip updates basic firmware partitions, does not touch the /data partition, leaves kernel, splash and ramdisk alone. Recovery will be replaced with current TWRP.Phone will boot normally after using this.
And what you won’t get here (fine print):
Since this is a (F)irmware (U)pdate (Utility) and not a (R)om (U)pdate (U)tility, you do NOT EVER get a ROM (a.k.a “System.img” or plain: “System” here. You understand and agree that you cannot have this from me. You also acknowledge that i cannot be blamed for your non-booting phone due to you not reading or not understanding this.
Method #2: Fastboot/RUUMode ZIP’sInstead of using the FUU, you can of course flash those zips manually as well. It eliminates a few error sources by reducing complexity and is more reliable. BUT it requires ADB and Fastboot knowledge!
Prerequisites:You need ADB and Fastboot on your PC and instead of using the Google SDK Tools from HERE you should (from Software versions 4.20.xxx.x and up) use my Android Tasks Batch script collection, which sets up the HTC versions of ADB and Fastboot in the path “C:\Android\com”. Info in Post #3. Or alternatively the HTC One Tool from @squabbi which also offers driver downloads and recovery downloads (handy shortcuts!).
To learn to use ADB and Fastboot, please use search, many guides available..
Step-By-Step:1. If device is booted into Android, reboot into bootloader by running:
Code:
adb reboot bootloader
1.a Or else, if your device is in a different state or you just prefer the button method:
Press Power for 15 seconds and hold Vol UP at the same time, when the screen and charging LED go dark immediately slide your finger down to Vol Down until you see the bootloader screen. Notice: First VolUp, then VolDown as soon as the screen goes dark (and you hear the windows connection sound if your phone is hooked up).
2. Now place the Firmware_xx.zip into your adb/fastboot folder (which will be "C:\Android\com" if you use my Task Script).
3. Now run:
Code:
htc_fastboot oem rebootRUU
4. Followed by:
Code:
htc_fastboot flash zip Firmware_xx.zip
(replace "Firmware_xx.zip" with the name of your zip)
5. Now check the console output. It should approximately look like this (this is from GSM International 3.28.401.6 FullWipe):
C:\Android_M8\com>htc_fastboot flash zip rom.zip>>log.txt
sending 'zip'... (100436 KB) OKAY
writing 'zip'... (bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) start image[hboot] unzipping for pre-update check...
(bootloader) total_image_number=21
(bootloader) start image[adsp] unzipping & flushing...
(bootloader) [RUU]UZ,adsp,0
(bootloader) [RUU]UZ,adsp,11
(bootloader) [RUU]UZ,adsp,22
(bootloader) [RUU]UZ,adsp,32
(bootloader) [RUU]UZ,adsp,43
(bootloader) [RUU]UZ,adsp,54
(bootloader) [RUU]UZ,adsp,65
(bootloader) [RUU]UZ,adsp,76
(bootloader) [RUU]UZ,adsp,87
(bootloader) [RUU]UZ,adsp,98
(bootloader) [RUU]UZ,adsp,100
(bootloader) [RUU]WP,adsp,0
(bootloader) [RUU]WP,adsp,100
(bootloader) ...... Successful
(bootloader) current_image_number=0
(bootloader) start image[boot] unzipping & flushing...
(bootloader) [RUU]UZ,boot,0
(bootloader) [RUU]UZ,boot,11
(bootloader) [RUU]UZ,boot,30
(bootloader) [RUU]UZ,boot,49
(bootloader) [RUU]UZ,boot,59
(bootloader) [RUU]UZ,boot,71
(bootloader) [RUU]UZ,boot,83
(bootloader) [RUU]UZ,boot,95
(bootloader) [RUU]UZ,boot,100
(bootloader) [RUU]WP,boot,0
(bootloader) [RUU]WP,boot,99
(bootloader) [RUU]WP,boot,100
(bootloader) ...... Successful
(bootloader) current_image_number=1
(bootloader) start image[dzdata] unzipping & flushing...
(bootloader) [RUU]UZ,dzdata,0
(bootloader) [RUU]UZ,dzdata,10
(bootloader) [RUU]UZ,dzdata,15
(bootloader) [RUU]UZ,dzdata,23
(bootloader) [RUU]UZ,dzdata,30
(bootloader) [RUU]UZ,dzdata,38
(bootloader) [RUU]UZ,dzdata,46
(bootloader) [RUU]UZ,dzdata,54
(bootloader) [RUU]UZ,dzdata,61
(bootloader) [RUU]UZ,dzdata,69
(bootloader) [RUU]UZ,dzdata,77
(bootloader) [RUU]UZ,dzdata,84
(bootloader) [RUU]UZ,dzdata,92
(bootloader) [RUU]UZ,dzdata,99
(bootloader) [RUU]UZ,dzdata,100
(bootloader) [RUU]WP,dzdata,0
(bootloader) [RUU]WP,dzdata,10
(bootloader) [RUU]WP,dzdata,28
(bootloader) [RUU]WP,dzdata,39
(bootloader) [RUU]WP,dzdata,47
(bootloader) [RUU]WP,dzdata,54
(bootloader) [RUU]WP,dzdata,62
(bootloader) [RUU]WP,dzdata,69
(bootloader) [RUU]WP,dzdata,77
(bootloader) [RUU]WP,dzdata,83
(bootloader) [RUU]WP,dzdata,88
(bootloader) [RUU]WP,dzdata,97
(bootloader) [RUU]WP,dzdata,100
(bootloader) ...... Successful
(bootloader) current_image_number=2
(bootloader) start image[hboot] unzipping & flushing...
(bootloader) [RUU]UZ,hboot,0
(bootloader) [RUU]UZ,hboot,51
(bootloader) [RUU]UZ,hboot,100
(bootloader) [RUU]WP,hboot,0
(bootloader) [RUU]WP,hboot,99
(bootloader) [RUU]WP,hboot,100
(bootloader) ...... Successful
(bootloader) current_image_number=3
(bootloader) start image[pg2fs_spcustom] unzipping & flushing...
(bootloader) [RUU]UZ,pg2fs_spcustom,0
(bootloader) [RUU]UZ,pg2fs_spcustom,23
(bootloader) [RUU]UZ,pg2fs_spcustom,45
(bootloader) [RUU]UZ,pg2fs_spcustom,67
(bootloader) [RUU]UZ,pg2fs_spcustom,88
(bootloader) [RUU]UZ,pg2fs_spcustom,100
(bootloader) ...... Successful
(bootloader) current_image_number=4
(bootloader) start image[recovery] unzipping & flushing...
(bootloader) [RUU]UZ,recovery,0
(bootloader) [RUU]UZ,recovery,7
(bootloader) [RUU]UZ,recovery,18
(bootloader) [RUU]UZ,recovery,29
(bootloader) [RUU]UZ,recovery,35
(bootloader) [RUU]UZ,recovery,42
(bootloader) [RUU]UZ,recovery,61
(bootloader) [RUU]UZ,recovery,66
(bootloader) [RUU]UZ,recovery,73
(bootloader) [RUU]UZ,recovery,81
(bootloader) [RUU]UZ,recovery,88
(bootloader) [RUU]UZ,recovery,95
(bootloader) [RUU]UZ,recovery,100
(bootloader) [RUU]WP,recovery,0
(bootloader) [RUU]WP,recovery,99
(bootloader) [RUU]WP,recovery,100
(bootloader) ...... Successful
(bootloader) current_image_number=5
(bootloader) start image[rpm] unzipping & flushing...
(bootloader) [RUU]UZ,rpm,0
(bootloader) [RUU]UZ,rpm,100
(bootloader) [RUU]WP,rpm,0
(bootloader) [RUU]WP,rpm,100
(bootloader) ...... Successful
(bootloader) current_image_number=6
(bootloader) start image[sbl1-1] unzipping & flushing...
(bootloader) [RUU]UZ,sbl1-1,0
(bootloader) [RUU]UZ,sbl1-1,100
(bootloader) signature checking...
(bootloader) [RUU]WP,sbl1-1,0
(bootloader) [RUU]WP,sbl1-1,100
(bootloader) ...... Successful
(bootloader) current_image_number=7
(bootloader) start image[sbl1-2] unzipping & flushing...
(bootloader) [RUU]UZ,sbl1-2,0
(bootloader) [RUU]UZ,sbl1-2,100
(bootloader) signature checking...
(bootloader) verified fail
(bootloader) ..... Bypassed
(bootloader) current_image_number=8
(bootloader) start image[sbl1-3] unzipping & flushing...
(bootloader) [RUU]UZ,sbl1-3,0
(bootloader) [RUU]UZ,sbl1-3,100
(bootloader) signature checking...
(bootloader) verified fail
(bootloader) ..... Bypassed
(bootloader) current_image_number=9
(bootloader) start image[sbl1-4] unzipping & flushing...
(bootloader) [RUU]UZ,sbl1-4,0
(bootloader) [RUU]UZ,sbl1-4,100
(bootloader) signature checking...
(bootloader) verified fail
(bootloader) ..... Bypassed
(bootloader) current_image_number=10
(bootloader) start image[sdi] unzipping & flushing...
(bootloader) [RUU]UZ,sdi,0
(bootloader) [RUU]UZ,sdi,100
(bootloader) [RUU]WP,sdi,0
(bootloader) [RUU]WP,sdi,100
(bootloader) ...... Successful
(bootloader) current_image_number=11
(bootloader) start image[sensor_hub] unzipping & flushing...
(bootloader) [RUU]UZ,sensor_hub,0
(bootloader) [RUU]UZ,sensor_hub,100
(bootloader) ...... Successful
(bootloader) current_image_number=12
(bootloader) start image[sp1] unzipping & flushing...
(bootloader) [RUU]UZ,sp1,0
(bootloader) [RUU]UZ,sp1,26
(bootloader) [RUU]UZ,sp1,50
(bootloader) [RUU]UZ,sp1,75
(bootloader) [RUU]UZ,sp1,100
(bootloader) [RUU]WP,sp1,0
(bootloader) [RUU]WP,sp1,100
(bootloader) ...... Successful
(bootloader) current_image_number=13
(bootloader) start image[tp] unzipping & flushing...
(bootloader) [RUU]UZ,tp,0
(bootloader) [RUU]UZ,tp,100
(bootloader) ..... Bypassed
(bootloader) current_image_number=14
(bootloader) start image[tp] unzipping & flushing...
(bootloader) [RUU]UZ,tp,0
(bootloader) [RUU]UZ,tp,100
(bootloader) ..... Bypassed
(bootloader) current_image_number=15
(bootloader) start image[tz] unzipping & flushing...
(bootloader) [RUU]UZ,tz,0
(bootloader) [RUU]UZ,tz,100
(bootloader) [RUU]WP,tz,0
(bootloader) [RUU]WP,tz,100
(bootloader) ...... Successful
(bootloader) current_image_number=16
(bootloader) start image[wcnss] unzipping & flushing...
(bootloader) [RUU]UZ,wcnss,0
(bootloader) [RUU]UZ,wcnss,23
(bootloader) [RUU]UZ,wcnss,46
(bootloader) [RUU]UZ,wcnss,69
(bootloader) [RUU]UZ,wcnss,92
(bootloader) [RUU]UZ,wcnss,100
(bootloader) [RUU]WP,wcnss,0
(bootloader) [RUU]WP,wcnss,100
(bootloader) ...... Successful
(bootloader) current_image_number=17
(bootloader) start image[radio] unzipping & flushing...
(bootloader) [RUU]UZ,radio,0
(bootloader) [RUU]UZ,radio,9
(bootloader) [RUU]UZ,radio,18
(bootloader) [RUU]UZ,radio,27
(bootloader) [RUU]UZ,radio,36
(bootloader) [RUU]UZ,radio,45
(bootloader) [RUU]UZ,radio,54
(bootloader) [RUU]UZ,radio,63
(bootloader) [RUU]UZ,radio,72
(bootloader) [RUU]UZ,radio,81
(bootloader) [RUU]UZ,radio,86
(bootloader) [RUU]UZ,radio,95
(bootloader) [RUU]UZ,radio,100
(bootloader) trying to rename MBA
(bootloader) [RUU]WP,radio,0
(bootloader) [RUU]WP,radio,36
(bootloader) [RUU]WP,radio,72
(bootloader) [RUU]WP,radio,100
(bootloader) ...... Successful
(bootloader) current_image_number=18
(bootloader) start image[rcdata] unzipping & flushing...
(bootloader) [RUU]UZ,rcdata,0
(bootloader) [RUU]UZ,rcdata,100
(bootloader) [RUU]WP,rcdata,0
(bootloader) [RUU]WP,rcdata,100
(bootloader) ...... Successful
(bootloader) current_image_number=19
(bootloader) start image[emmc_fw32] unzipping & flushing...
(bootloader) ...... Successful
(bootloader) current_image_number=20
OKAY
Flash Zip Complete
C:\Android_M8\com>
Click to expand...
Click to collapse
Important: the flash process halts at around 75% to 90% on phone screen! This is normal and a safety precaution! The last few percent is the reboot, which is NOT happening automatically, so you get a chance to check the console output to make sure it is safe to reboot! The bar will only fill up to 100% once you type:
6.
Code:
htc_fastboot reboot-bootloader
FUU general errors:- FUU quits right away, says “side-by-side configuration wrong or missing” : install Visual C++ 2008 x86. Also .NET is required but build into later windows systems, might only be an issue on old windows.
- Any other FUU crash is hinting at the same issues (at least what i have seen). Make sure your Visual C++ is ok.
- FUU errors with numbers (FUU launches, starts, then throws an error number): please see below.
RUUmode/ Fastboot Error handling strategies:IF IT SAYS "FAILED" do not immediately reboot the device If you reboot with a FAIL It could brick! If no flash is being accepted you have to find out what is causing the malfunction before rebooting your phone. Keep it alive while trying to figure out the error. It might be your cable, your USB ports (don’t use hubs! Always direct-mainboard connections), it might be USB 3.0 which is not good yet, it might be bad configuration of your ADB and Fastboot...
The least dangerous FAILED messages are listed below and are safe to reboot (below this section you find CRITICAL errors, please observe):
Safe to reboot / Flash didn't happen Errors (if you encounter one of them, you can just reboot. Nothing changed):
- 12 signature fail (unknown yet but safe to reboot)
- 23 parsing image fail (means something wrong with the image in the zip)
- 24 android-info fail (means something wrong with android-info.txt in the zip)
- 32 header error (means the zip couldn't be read and unzipped properly)
- 41 Wrong Model ID (means it's not the right device)
- 42 Wrong Customer ID (wrong CID means you gotta swap CID first as explained below)
- 90 hboot pre-update (means it only flashed hboot and you have to run the process again immediately to flash all other partitions WITHOUT a reboot in-between).
- 99 UNKNOWN usually indicates you are S-ON, sometimes other Security related issues.
- 130 wrong model ID (seems it's the same like 41, just that it shows in the FUU as 130.
- 155 seems to indicate different things. It can mean: 1.) You need to relock bootloader (If S-ON); 2.) You cannot run the RUU/FUU because the software versions of ROM, Firmware and RUU/FUU don’t match.
- 170 Check USB - FUU won’t run because of not working ADB.
In fact, if it aborts before the "(bootloader) start image[hboot] unzipping & flushing..." line it actually didn't write anything and you can probably just reboot. If you see it flashing stuff though (the stages after that line) and then it stops with a FAILED, chances are a little higher that something is now broken. In that case do NOT reboot but do as i said above.
For Error 12 “signature fail" do:
- might indicate that a signed firmware package is required. This would only happen with S-ON phones though.
For Error 23 "parsing image fail" do:
- change image names in the zip to stock image names like “hboot.img" or “radio.img" or whatever failed there....
For Error 24 "android-info fail" do:
- check that your ZIP isn’t some HTC OTA or anything thats got no android-info.txt - those cannot be flashed with fastboot flash zip nameof.zip command.
- check that your zip has a good MD5 and is not broken, check android-info.txt etc...
For Error 32 "header error" do:
- Sorry i haven’t found the exact cause yet and don’t know a definite solution.
- Make sure there is only one . (dot) in the filename, before the extension. fastboot reads anything after the first dot it sees as the extension. If that is not zip, it fails.
- If that doesn't help, you can also try: make the zip new with recommended settings, re-run the command, check your connections...
For Error 42 "Wrong Customer ID" and: 41 "Wrong Model ID" do:
Code:
htc_fastboot getvar all
Read that output, take note of your CID and MID and then edit the "android-info.txt" in your firmware.zip accordingly (For Wrong MID change the MID in the text, for wrong CID add your CID to the text).
Alternative method for MID and CID errors:
go SuperCID. Do:
Code:
htc_fastboot oem writecid 11111111
You can change back to any desired CID after a successful firmware flash. Notice: this command only works on S-OFF phones (which you have already of course or else you wouldn't be here).
For “Error 90 hboot pre-update..." do:
- Run the same flash command again which you just ran (press arrow up on your keyboard to get to the previous command in console)
- Don’t reboot in-between! (It wouldn't brick you but it would just make you run the flash command twice again)
- This might be caused by the newer encrypted RUU's, they need their hboot to be flashed first so it can then decrypt the rest of the ROM.zip. Look at an encrypted ROM.zip from a RUU, you will notice that you can mostly extract the hboot without decrypting the ROM.zip, but you can't extract much else.)
For “Error 99 UNKNOWN" do:
- Check with other zip’s if they work!
- Check if your S-OFF is correct
- You are S-ON? Then almost definitely this means the ZIP is not signed - get an unmodified zip!
For “Error 130 wrong model ID" do:
- Please refer to Error Code 41/42.
For “Error 155 relock bootloader" do:
- Since my thread works only with S-OFF phones anyway, this error can be read as: you need to S-OFF first!
- Error 155 can mean that you need SuperCID. On a few occasions this was shown when the RUU/FUU refused to run because of a wrong region lock.
- Lately, Error 155 has occurred when a FUU was launched from within android. When encountering a FUU error 155 with the process stalling after the rebootRUU (stuck at black screen with silver HTC logo), please just restart the FUU and leave the phone in that mode, or reboot the phone, then reboot to bootloader, then do “htc_fastboot oem rebootRUU” and then launch the FUU again (thanks @anarchychris for pointing it out).
- run the fastboot command “htc_fastboot oem lock" - only applies to S-ON phones that want to update the firmware with a stock OTA package (not offered on this thread!!). Stock OTA files sometimes need a locked bootloader.
For “Error 170 Check USB" do:
- Sometimes shown when running a RUU or FUU. Indicates issues with drivers. One way to solve is to run the ARUWizard with the phone already in Fastboot mode. Else you will have to re-install HTC Sync manager. Also, avoid USB 3 ports (the blue ones) - they have a complete new driver stack and that doesn't work well currently.
NOT safe to reboot / Flash (partly) happened Errors (if you encounter one of them, DON’T reboot:
- 152 Image Error - Phone Screen shows a little triangle beside a full green bar
For “Error 152 Image Error" do:
- Error 152 is quite rare, have seen it only once with a friend’s phone and it aborted the flash nearly at the end. The flash was started by the FUU. We could resolve the matter by NOT rebooting the phone and flashing the zip again through a manual fastboot flash as outlined further up.
I usually test all of these zips on my own device, still, you flash at own risk. You're writing to critical parts of your phone. If anything goes wrong along the way, you might be bricked.
DOWNLOADS
ALL DOWNLOADS FUU AND ZIPS
*notice: here you find all other ZIP and FUU downloads.
Recent additions
M8_6.20.502.5_ATT_FullStock
M8_6.20.502.5_ATT_NoWipe_TWRP3020
M8_6.20.531.5_TMUS_FullStock
M8_6.20.531.5_TMUS_NoWipe_TWRP3001
M8_6.12.1540.4_DevEd_FullStock
M8_6.12.1540.4_DevEd_NoWipe_TWRP3001
Click to expand...
Click to collapse
Credits
I have lost track of my firmware sources. I am sorry i cannot name you guys all. The most common source would be @LlabTooFeR and HTCDev and some others. If you find your stuff here and want to be included in the credits please contact me. I am very grateful for everyone busy providing dumps and direct leaks.
Further i would like to express my deepest gratitude to team venom, who aren't only good friends but also let me use their graphical stuff as base for my own stuff. Thank you!
One helpful person, @O.M.J, posted one of the very first M8 RUU’s for Sprint - i originally based my first M8 FUU’s on that, so he be mentioned here as well. Thanks mate!
Last but not least and probably the holy grail of the HTC Modding Scene: the guys behind Firewater, Sunshine, and all the other S-OFF methods, currently i believe mostly @beaups and @jcase - Thank you so much!
DonationsI am never asking for donations, yet i decided to put up a donation link in the past, because people asked if they could donate to me. It does happen once in a blue moon. The nicest thing that has ever happened to me was a device donation. I feel forever humbled for that. I don’t know how to repay that debt of honor.
However, there is one thing i would like everyone to not do: PM me and promise a donation, get my help and then don’t live up to your promise. Why?
Even though i am never asking for a donation, i feel very happy when someone donates a small buck towards my hobby. I really do feel appreciation if i can buy myself a beer and think: i have earned myself this by helping someone. So, if someone hits me up private and says “I’ll donate something to you if you help me with this seriously overwhelming issue” i usually think “hell yea, poor bastard, i’ll help ya! (and maybe i can get my next beer for free). Then nothing comes in return, not even a thank you.
That REALLY hurts.
DisclaimerYou are aware that writing to the security protected partitions increases your risk to lose the device exponentially. You understand and agree that i cannot be held responsible for such or any other damages. The flash process is theoretically safe and tested on various phones at time of posting, however you are the brains behind the wheel and you are solely responsible for the execution of the process. I will not accept any responsibility. The method itself is developed by Google and HTC, i only provide access and information to it and you execute it.
You understand that you should not do it if you are not willing to accept this risk.
Recovery (and Stock Backups) Collection by @Mr Hofs
Stock Splashes as recovery and ruumode flashes
The Harman/Kardon ADSP Image by @scrosler
Radio collection by @garypix
Other separate files if the need arises.
[2016.02.28] BatchTool Command collection
The "Batch Tool" script - a thing i am using for myself since the OneS days and which i am sharing just because i have it. It is neither good nor special, but its the way i work and people who follow my instructions might find it easier to use the same setup as i do.
It has the RUU/FUU included. I don't even use the FUU as a standalone myself. I have the structure in C:\Android\com and just exchange the zip's in there - so i have this and drop the zips i offer as download.
Since everything i do basically works out of the C:\Android\com path, all my zipped-up stuff extracts to that location. The FUU, the Batch Tool and the self-made RUU repacks as well. This enables easier and faster creation of new zip’s.
If you prefer to work from a different location. you can specify a different path in the installer. However, the batch scripts do not adjust automatically, which means if you use another path, you might need to open up the scripts in an editor and adjust some paths manually.
Preview:
DOWNLOAD
MD5: f2a4eaa67a291d1d16a238ec943eb595
The installer is just a simple WinRAR self extracting archive - there is NOTHING BAD in there i swear! Open it with WinRAR 5 and look inside. You will see if you don't trust me.
Changelog:
1.2.7
Updated TWRP to 3.0.0-1 and Stock Recovery to 6.12.401.4
1.2.6
Added TWRP Recovery 2.8.7.0 (All M8 devices)
Added Stock Recovery 4.16.401.13.img (WWE)
Added newer RUU structure (3.0.4.2015 - from 4.20.531.5 TMUS RUU) - should now support MM ROM.zip’s from newer RUU’s as well.
Fixed my screenrecorder command. Dumb people shouldn’t write batch scripts
1.2.5
Added TWRP Recovery 2.8.5.2 from Captain_Throwback (All M8 devices)
Fixed Recovery Screenshot option (20)
1.2.4
Added newer RUU structure (2.0.16.2014 - from 4.16.1540.8 Dev Edition RUU)
Added Stock Recovery 4.16.401.10.img (WWE)
Changed the License and SFX texts again (Installer) - never happy with it.
1.2.3
Fixed some serious crap nobody reported. I just found out myself.
Added Stock Recovery 4.16.1540.8 (sorry still don't have the WWE recovery, but i guess they are identical)
Added TWRP 2.8.4.0 from the M8 tree of Dees_Troy.
1.2.2
Added Stock Recovery3.28.401.7
1.2.1
Added Microsoft's vcredist_x86_2008_SP1.exe to the installer because the ARUWizard is build on the x86 Visual Studio 2008 runtime. This resolves the "side-by-side configuration" error.
Added 3.28.401.6 stock recovery and splash
Added newer RUU structure (doesn't do any difference though, just keeping it up to date)
Added TWRP 2.8.0.3 (it still has slight issues with MTP which will be fixed soon but for now, this is good enough)
Changed a few lines in the script (minor, cosmetical stuff)
Updated the INFO PDF (option 24)
Currently not working:
- Screenshot (option 20) only does TWRP and Android 5 and lower, but not Marshmallow. I have to write up a new script with two different methods as Marshmallow does not allow the framebuffer to be pulled via ADB anymore. At least I can't see how. In TWRP however, only the framebuffer method works.
Splash Screen Generator, Partition Layout, Regional and CID Codes
Partition Layout Info HTC ONE M8: https://docs.google.com/spreadsheets/d/1uTfhr5sUFpdYKpHMFOOUnb1T5kOBu411_rcEb_Fz37A/edit?pli=1#gid=0
CID and Regional Codes for the HTC ONE M8: https://docs.google.com/spreadsheets/d/10H7RftecZZKb5tT2zpShfYNFAfSe-imhhqtVfeMPVDA/edit#gid=0
Splash Screen ONLINE generator by @touch of jobo : http://forum.xda-developers.com/htc...-customize-boot-splash-online-splash-t2817059 - VERY nice tool to generate recovery flashable splash screens on any browser!
Epic Internal SDCard File Recovery guide by @Wartickler : http://forum.xda-developers.com/gal...de-internal-memory-data-recovery-yes-t1994705 - VERY handy to have occasionally. Bookmark it for future reference
Broken Internal SDCard File System Recovery Method found by @smeejaytee and made easier by TWRP, described HERE
Universal SIM Unlock for S-OFF'ed HTC Devices thanks at @smeejaytee for letting me know. HERE (thread by @JEANRIVERA)
WWE (and other) RUU leaks courtesy of @djluisbento. HERE
General Information
Flash Process Output:
There are a few steps in the flash process which are not really straightforward but i can maybe explain some of them here,so you can better understand what is happening:
sending 'zip' means: fastboot is sending zip over to client (here referred to as “remote”)
OKAY [ 2.839s] means status of sending was good. Transfer succeeded.
writing 'zip'... means the zip is being written to some location on the phone from the /temp location.
(bootloader) zip header checking... means the zip header is being checked for validity, see if it’s a real zip file.
(bootloader) zip info parsing... means most likely a check on the file hashes in the zip (integrity check - if the zip is borked, it will fail here)
(bootloader) checking model ID... The bootloader checks if the android-info.txt contains the right MID. If it fails here you gotta swap out your model ID in the android-info.txt file.
(bootloader) checking custom ID... The bootloader checks if the android-info.txt contains the right CID. If it fails here you gotta swap out your Customer ID in the android-info.txt file.
(bootloader) start image[hboot] unzipping for pre-update check... means the bootloader is now unzipping the [hboot] image. This line will be repeated before every image that is to be flashed.
(bootloader) start image[hboot] flushing... means the bootlaoder is now beginning to flash the [hboot] image.
(bootloader) [RUU]WP,hboot,0
(bootloader) [RUU]WP,hboot,99
(bootloader) [RUU]WP,hboot,100 these three lines read [RUU] for what mode fastboot is in, WP for “Write Partition” for what is currently being done in RUUmode, “hboot” is the name of the currently flashed partition, number xx is a percent stage of the write process.
(bootloader) ...... Successful means the final status is successful.
Now, before the [RUU]WP,hboot,xx line we often see another line reading [RUU]UZ,radio,50 for example. That reads RUUmode is currently unzipping the Radio.img and at stage 50 percent. UZ means UNZIP.
If you see something like this:
(bootloader) start image[sbl1-1] unzipping & flushing...
(bootloader) [RUU]UZ,sbl1-1,0
(bootloader) [RUU]UZ,sbl1-1,100
(bootloader) signature checking... means it is checking the signature of the partition if it matches the expexted signature stored in the hboot.
(bootloader) verified fail means the signature in the image did not meet expectations.
(bootloader) ..... Bypassed means the image got skipped because its got the wrong signature.
This has to be interpreted like this: there are multiple “SBL” images, to be exact: type 1 has 3 variants and type 2 has only one variant. Of type 1 (“SBL1-x”), two get skipped, one gets flashed (see my log above), of type two (“SBLx”) both get flashed. I believe, SBL 2 and 3 are device independent, but SBL1 has three variants, of which only one fits the current device. So, depending on the device you have, you will see either SBL1-1, SBL1-2 or SBL1-3 being flashed and the other two subtypes being skipped (bypassed).
The same goes for the "dzdata" images in the firmware package. They come in three size flavors (16, 32 and 64 GB) and resemble the file structure of the /data partition. Depending on your model, only the one with the right size gets flashed, the others skipped.
Important to understand: nearly all FAILED messages that do NOT occur while [RUU]WP (write partition) should be considered harmless. Only a FAIL during a write operation will most likely result in a damaged partition. All other fails will probably leave the original partition intact and thus the device can be rebooted. So far my understanding.
General hints for RUUmode zips
- Opening a zip is best done with 7zip as WinRAR has lead to flash fails in the past.
- Choose low compression, higher compressions often fail. Pick "save" or "normal" to be safe, anything higher could cause the unzip in Bootloader to fail.
- Adding and Removing images is not a problem. The naming of the partition images seems flexible, yet if you encounter an “Error 23: parsing image fail” you need to rename the relevant image to something stock as not all names seem to be recognizable. The hboot determines the right partition from the header inside the image.
- Additional dots in zip file names are known to have caused issues for a few people.
- Spaces in names are a no-go!
- Custom Recoveries can be added to those zips as well as custom kernels or hboots. In fact, if your phone is S-OFF, you can hex edit any partition and flash it. Be sure you know what you do though lol. I am just pointing out the possibilities. I am NOT saying it is safe!
- With S-ON, those zips only flash if they weren't touched at all. In case of a ROM.zip from a RUU, it also needs to still have its encryption. Whenever you unzip and rezipor add/remove stuff, the package won't flash anymore with S-ON, no matter how hard you try.
General hints for android-info.txt
- Use an Editor that doesn't mess up linebreaks like Windows Notepad does. Use Notepad++
- MID’s can be added one per line. Also supports wildcards i think e.g.: 71******, but i’m not sure.
- CID's can easily be added or removed- one per line, definetely supports wildcards (used by HTC in DevEd phone)
- Mainver line: should be the version of the most current images, e.g if you combine older and newer files, add the MainVer from the newest. Format 2.22.401.5 (2= Base version always increases by 1 with each android base version rise, 22= Build version from HTC, 401= Regional/Customer identifier, 5= Revision of the HTC Build). This line is being written to the /misc partition and is thought to identify the whole phone firm/soft version - its not meant to only describe firmware or base alone. Those parts always belong together. My opinion: run Firm/Soft always from the same revisions. Try to avoid a mismatch between ROM and Firmware and never mix firmware components.
- hboot pre-update line: usually says anything between 1 and 12. I think they determine if hboot-preflash is required (when you get “Error 90 - please flash image again immediately” this is when the hboot needs to be flashed separately first and then the rest... [Item subject to change]
- btype:1 not clear. [Item subject to change]
- aareport:1 Since HTC hboots come as "hboot_signedbyaa” i would read this as "aa" being htc ("hboot signed by aa") and aa report meaning report to htc if 1.
- Delcache means erase cache when rebooting. Simple. Some hboots seem to need it, some don't. Line is not present in every android-info.txt. If you mess with a zip that contains the line, leave it active.
RUUmode:
is the mode used for RUU flashes by HTC. It allows a few more things than the normal fastboot. You recognize it by looking at the phone’s screen. It will be black, showing only a silver HTC logo and if a command is being active, a green progress bar.
DD method bricking risk:
In 2013 there had been a series of TWRP recoveries that have had issues flashing ROMs on a few HTC devices, mainly Aroma based issues. It's possible though that the one brick i saw on the Ville from flashing a hboot in recovery was related to flashing it in recovery as i am not sure that the ROM flash fails are only Aroma based fails. I am rather sure that the method recovery zip’s most often uses to write an image file to NAND is not 100% bit correct and can cause trouble (This is the “DD” method). Due to the nature of this DD method, it can happen that single bits are flipped, which equls a corrupted hboot. That will manifest in a full brick with the next reboot. While that isn't really that likely to happen (we had one on the Ville Forums within a year which happened while flashing a hboot in recovery), it still is a noticeably higher risk than RUUMode flashed hboots. It is desirable to have a safer method. There is a command for recovery “write_image” employed by HTC but i haven’t worked out how to use it and how it actually works and whether or not it is safer. So i decided to just stay away from recovery zips/DD flashes.
Apparently the zip flash executed in RUUmode utilizes a different write technique and is safer (It most likely is the same as “write_image” in updater-script ).
Please be aware though that this is an assumption. There is no real proof for this as we haven't gotten comprehensive documentations of HTC's stuff here. Anyway, this is the reason why i don't offer recovery zips. Even though it is perfectly possible to flash it in live android (using "dd if=/somedir/yourhboot of=/dev/block/mmcblk0p12") or recovery i prefer this method simply because i am sure it is safer.
JTAG with a RIFF Box
Every device of these days has so-called jtag test-points. Basically, these are points on the mainboards, where a direct connection to the main chip can be established and then that chip can be read and written to with an external device. Sometimes, these testpoints are hidden (like they are normal contacts of the chip) and no direct visible gold points on the board. It always takes a while after a device is released until the jtag layout is fully discovered but once that is done, companies like multi-com.pl start manufacturing small boards with pins that can be pressed onto the mainboard, so no soldering to the device is required. Once such a board exists, the mainboard can be hooked to the RIFF box which can rewrite a dead chip from the outside.
As long as there is no such small board (called a "JIG") the phone can still be revived but it is necessary to solder hair-thin wires to the test-points. That is perfectly possible, @Tecardo for example can do such a thing, but its not very good for the board and cannot be done very often. At some stage the solder points will degrade so much that the board is garbage then.
In case you really brick your device, you can contact Tecardo here: http://forum.xda-developers.com/showthread.php?t=2116062
S-OFF: Firewater versus Sunshine
Firewater: it's free although the tools used to find the exploitable code and create software to actually exploit it are insanely expensive, so consider a donation towards the creators. They bought the tools from their private money and invested hundreds, if not thousands of (unpaid) hours. Firewater only works on a limited set of HTC One M8's but works on M7's and more.
HTC managed to close some open hole that Firewater needed to get to the exploitable code, so with the later M8's, Firewater doesn't work at all anymore.
Sunshine: costs $ 25 USD, is heavily automated and also, its secret ingredient is guarded well now so HTC might not close this hole in the rabbit fence as fast.Well, lets hope so. And DON'T moan about the money. As already stated for Firewater, the guys went to great expenses to get you this hack and currently, there is no one else capable of doing this. So, zip it. Period. Sunshine is nice and easy to use. I have very much respect for this method. Totally awesome to use.
Thanks to @beaups and @Fuses - they done a brilliant job, we’d have nothing without them.
Notes on the currently available hboots
Currently nothing particular on the HTC One M8 Hboots. So far, they all have been doing the same, no differences noted. The GPE hboot is probably responsible for the System Partition reformatting, which is the most interesting bit i know. I know that Fuses will come up with some customized, engineering-style hboots at some point. So watch his space. They will probably appear on the Firewater-S-OFF site when available.
MID and CID and regional number in the software version
MID = Model Identification. It serves the purpose of identifying the Model of your HTC Phone and can, but does not necessarily, describe different hardware. T-Mobile US, Sprint and Verizon have their own Model ID's, also the china variants use different MID's. The international GSM phone and Tmobile share the same hardware though. Sprint seems to have identical hardware but strong software differences which don't allow for cross-flashing firmware. Verizon has a different partition layout and possibly different hardware. It is NOT compatible with international/GSM MID firmware.
CID = Customer ID, describes, for which customer HTC made this phone. HTC has a few own CID's for its regional stores. Then certain carriers decide to have their own CID.
So, while the MID more like describes the hardware, the CID basically just describes the software set that comes delivered with it (features and bloatware). Both get checked on when flashing in RUUmode. How to trick this system? Fairly easy. Just add your respective MID or CID to the android-info.txt file inside the ZIP, or even easier, boot to fastboot and write SuperCID to your chip (fastboot oem writecid 11111111). SuperCID will make any flash ignore both CID and MID.
SKU = This is the number in the Software Version number that describes for which market/customer combination the update is, i believe the combination of MID and CID gives the SKU. It's the 3-digit part right here: x.xx.401.x. I have a list of all CID's, MID's and SKU's in post #4.
They are not yet sorted according to which goes with which (nearly impossible task) but its a nice overview nonetheless.
Signature on the hboot and other partitions
In the Phones Firmware is a component that checks if certain partitions have a digital signature from HTC and deny read and write access if the signature is wrong or missing. The checking component is known to be the Security, which can be set to OFF. Then we say the phone is S-OFF.
For some partitions like the splash screen, it might not lead to a brick if you set security to ON while a custom splash is installed, as this partition is not vital for the boot process, it might just be skipped. System, recovery and boot do not have a signature at all. The HBOOT however does have it and i am sure Partition 3, which controls the Security flag, has it too and maybe some others like the secondary bootloader.
You guys have to understand that altering any of these partitions is deadly to your phone if you happen to leave them altered when switching security back on.
Determining your “Firmware Version”
I believe there is some wrong info circulating the HTC Fora. People keep saying when running fastboot getvar all it will report the Firmware Version in the line “Version-Main” or when looking at the "OS" line in bootloader. This is not always true though. Fastboot getvar all or alternatively getvar mainver pulls a version it finds in the MISC partition and relies on that to be correctly updated. Source
So how does that version string get updated? It is being read from the android-info.txt file in any firmware zip that you flashed. The last zip you flashed determines what will be reported by the getvar function. So if you mess around with Firmware.zip’s and RUU’s a lot, chances are, that the version reported there is not equivalent to what you are already running. Often the android-info.txt has version entries not appropriate for the actual zip contents, for compatibility reasons, because it wasn’t done properly or whatever. My zips have the correct android-info.txt with them always and will always provide a correct entry.However, TWRP has a bug up till version 2.7.1.0 which deletes this info upon first and every consecutive boot, so you will NOT have this info at all when running that TWRP.
The "Firmware" as a concept like we use it on XDA does not exist in HTC's terms. HTC does NOT differentiate between the /System Partition (what we know as "the ROM") and the other 46 partitions. Hence, if you run getvar all or getvar mainver on a stock phone, it will report correctly. It does not go looking for a fictitious place where it would find a separate "Firmware" version. That place it is looking at is the Misc Partition and that’s correct as long as you haven’t messed with lots of different Firmware zips... So, if you happen to run a hybrid system with a ROM from one base and the other partition images from another base or multiple bases (like hboot from 1.12, radio from 2.22 and ROM from 1.54) the getvar function will report as "Version-Main" what it finds in /misc/, precisely the last zip you flashed determines the string put there.
Example: you flashed a radio with a RUUmode zip from Base 1.54 but the android-info.txt is maybe still an old one from 1.12 because the dude who made the zip, just dropped the new radio into an old existing zip, the getvar function will later report that old 1.12 version as your MainVer.
To check your firmware: boot to bootloader and look at the combination of hboot version and radio version - if you didn't flash those separate, the combination will let you know what base you are on (each OTA and RUU has the radioversion in its name).
Finding out your firmware is a game of guesses and knowing what you did to your device and where you are coming from.
If totally lost, best thing is to reflash some clean stock package to be sure you are on the same level with all partitions.
Long story short: you better know what you do because finding out your firmware is going to be difficult if you don't.
Further reading- to be updated
Related/ “Like” stuff
- to be updated
The original M7 thread
Thanks alot sneaky, as always a pleasure to follow your work. Awesome mate.
Notice for interested users, the first Firmware pack and FUU have now been flashed to my phone without any hiccups and i think they should be safe to flash.
Successive files will be added only after testing. These ones i needed to get working links so i had them up before flashing. Sorry.
Great to see you back and doing your thing, Sneaky! Nice work, thread looks great!
Nice to see your FUU's again.
Thanks for the great work.
Gesendet von meinem HTC One_M8
@Sneakyghost it's great to see this in the m8 forum! I missed the one stop shop for firmware packages. Keep up the good work
Sneakyghost said:
Notice for interested users, the first Firmware pack and FUU have now been flashed to my phone without any hiccups and i think they should be safe to flash.
Successive files will be added only after testing. These ones i needed to get working links so i had them up before flashing. Sorry.
Click to expand...
Click to collapse
Is it possible to make an FUU from the partitions dumped with your partition dumping script? I have 1.56.720.6, M7_UL but M8q instead of M8n. Still waiting on my replacement unit, because my first one went into a bootloop which I could't recover from. Fingers crossed that I get s-off on the replacement with firewater, l do not have access to a credit card. Back to my point, I think the model is different, although all the roms that I had tried worked, MID is 0P6B65000. Also, last year, @crushalot created a custom RUU for the m7, will that be possible here with a stock rom dump and the FUU tool?
Thanks!
N
Yeah those DD dumps can be renamed to .img files and flashed with fastboot (what the RUU/FUU would use). The thing I'm always worried about is, that the image files compiled by HTC with some build tool are not bit-by-bit partition copies, whereas the DD dumps are. Technically, it shouldn't matter because the DD dumps include white space, the images do not. They would just make the RUU a lot larger. I'm just afraid it might cause issues for some reason I don't see at this time.
But it should be safe enough to experiment with it. Please just don't publish such a thing if you're going to try it. The side effects are unknown.
mobile post... lazy typing...
(bootloader) version-microp: None
(bootloader) version-main: 1.57.111.2
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: -------------
(bootloader) imei: -----------------
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: c3d94491
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.010s
That is my Phone "S-OFF and Super CID", what I want to do is to update my FW to work properly with ARHD 9.1.
Need assistance on which Firmware I need to flash for ARHD 9.1 to work properly, also which method is the safest/easiest?
Before SuperCID this was a T-MOB101 model if that info is needed.
Appreciate all help!
Is it not working properly with that ROM right now? I'm still getting back into the firmware business and currently don't know what xx.111.xx is meant for. T-Mobile US would be 531, I got an untested T-Mobile zip in my download link in post 1 and @Behold_this has a proper T-Mobile firmware thread, but I'm not sure that's what you're after?
If you just need an international conversion firmware, you can just flash my 1.54.401.10 full stock package and that will make your phone an international GSM variant effectively, which should work with any GSM ROM just fine. Don't worry about it being "just" 1.54 - there shouldn't be any critical differences to the 1.57 you have now. The ROM's for international are all based on that too I believe.
mobile post... lazy typing...
I flash 2.12.401.3 firmware
all ok. no failure.
i reboot the m8 but in settings info firmware still are 1.54.401.10
what is the problem?
thanks
baribbi said:
I flash 2.12.401.3 firmware
all ok. no failure.
i reboot the m8 but in settings info firmware still are 1.54.401.10
what is the problem?
thanks
Click to expand...
Click to collapse
Info in settings is your ROM info, the rom's base, not your firmware version mate.
Here's a quick table with HTC Region and carrier codes as a reference - will be adding to it once I get on to my pc - this is just a table created on my phone with the data provided by @Behold_this (thanks for helping my friend! Much appreciated as usual!)
https://docs.google.com/spreadsheet...fYNFAfSe-imhhqtVfeMPVDA/edit?usp=docslist_api
mobile post... lazy typing...
Sneakyghost said:
Here's a quick table with HTC Region and carrier codes as a reference - will be adding to it once I get on to my pc - this is just a table created on my phone with the data provided by @Behold_this (thanks for helping my friend! Much appreciated as usual!)
https://docs.google.com/spreadsheet...fYNFAfSe-imhhqtVfeMPVDA/edit?usp=docslist_api
mobile post... lazy typing...
Click to expand...
Click to collapse
My pleasure as always sneaky.
As you guys can tell from our tables HTC has a lot of balls and the air, but we do our best to keep track of all of them for ya. [emoji106]
Sneakyghost said:
Yeah those DD dumps can be renamed to .img files and flashed with fastboot (what the RUU/FUU would use). The thing I'm always worried about is, that the image files compiled by HTC with some build tool are not bit-by-bit partition copies, whereas the DD dumps are. Technically, it shouldn't matter because the DD dumps include white space, the images do not. They would just make the RUU a lot larger. I'm just afraid it might cause issues for some reason I don't see at this time.
But it should be safe enough to experiment with it. Please just don't publish such a thing if you're going to try it. The side effects are unknown.
mobile post... lazy typing...
Click to expand...
Click to collapse
Alright, thanks for the info! I'm not very experienced with the little intricacies of firmware, so I'll Definitely not host any thing that I make, I don't want to be responsible for unintentionally bricking other's devices :cyclops: So, if I work with fastboot/cmd (which is what I usually do), I'd say fastboot flash (name of partition) mmcblk*p*.img right? Which partitions would I have to flash to make it equivalent to an RUU, and also, how would I go about packaging this into a fastboot flashable zip? Also, would this analogy be applicable: a bit by bit copy is like a windows drive image, whereas the one that HTC makes is like a windows installer? Or like a nandroid vs a rom zip? Thanks again for helping me!
N
---------- Post added at 10:23 PM ---------- Previous post was at 10:18 PM ----------
Behold_this said:
My pleasure as always sneaky.
As you guys can tell from our tables HTC has a lot of balls and the air, but we do our best to keep track of all of them for ya. [emoji106]
Click to expand...
Click to collapse
I'm pretty sure 707 isn't only HTC elevate, I had a retail 707 M7 here in India, and it's the same model in Hong Kong (both 3G only M7_U)
Also, there are a few RUUs for the HK M8 I think
http://pan.baidu.com/s/1kTsSL8N
http://www.netded.com/a/jishuyingyong/2014/0427/28035.html
If you might want to see them for any sort of reference.
n1234d said:
I'm pretty sure 707 isn't only HTC elevate, I had a retail 707 M7 here in India, and it's the same model in Hong Kong (both 3G only M7_U)
Click to expand...
Click to collapse
707 isn't labeled HTC generic (what sneaky described as elevate) at all. The chart got reorganized and the description column didn't. It's been fixed but know that "elevate" designation is not a real region or carrier its just a description. 999 is HTC generic. 707 is WWE Asia.
Related
[Q] How to I use twrp to flash a new rom (adb sideload not working)
I bricked my HTC One, totally not my fault I received a prompt to upgrade and then the thing crashed. Its stuck on the htc screen. I tried finding a RUU file for my phone, couldnt get one that matched. Now I have installed TWRP, which works. My Bootloader is unblocked and says tampered also s-on. there is no os in the phone now so its ready for flashing a new rom. I want to get my phone back in order. I've downloaded a custom rom I could use, wanted to ask if this is the same as using a ota file from the htcdev website ? When I try to use twrp i cant use sideboot to push the roms, it just says trying to connect and doesnt, so I think adb doesnt work. Can someone put me in the right direction or help out ? I'm a complete newbie and have come far by unlocking the bootloader and installing twrp, would really appreciate it if someone can help. Also tried using the option to find the file on my computer from twrp on my phone but it doesnt connect. Everything is all set up I just need to flash a new rom and get going. Thanks !
abreu6 said: I bricked my HTC One, totally not my fault I received a prompt to upgrade and then the thing crashed. Its stuck on the htc screen. I tried finding a RUU file for my phone, couldnt get one that matched. Now I have installed TWRP, which works. My Bootloader is unblocked and says tampered also s-on. there is no os in the phone now so its ready for flashing a new rom. I want to get my phone back in order. I've downloaded a custom rom I could use, wanted to ask if this is the same as using a ota file from the htcdev website ? When I try to use twrp i cant use sideboot to push the roms, it just says trying to connect and doesnt, so I think adb doesnt work. Can someone put me in the right direction or help out ? I'm a complete newbie and have come far by unlocking the bootloader and installing twrp, would really appreciate it if someone can help. Also tried using the option to find the file on my computer from twrp on my phone but it doesnt connect. Everything is all set up I just need to flash a new rom and get going. Thanks ! Click to expand... Click to collapse The rest of the steps after you have unlocked bootloader flash custom recovery TWRP 2.6.3.3 from here http://techerrata.com/browse/twrp2/m7 fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img fastboot erase cache fastboot reboot-bootloader rename your rom to rom.zip then in TWRP / Advanced /Sideload - Slide to sideload Then from PC - adb / fastboot folder ...shift+right click /command prompt here then it's adb sideload rom.zip at the end of sideload install will begin just be sure the files you flash and sideload are all in the same folder as fastboot and adb
clsA said: The rest of the steps after you have unlocked bootloader flash custom recovery TWRP 2.6.3.3 from here http://techerrata.com/browse/twrp2/m7 fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img fastboot erase cache fastboot reboot-bootloader rename your rom to rom.zip then in TWRP / Advanced /Sideload - Slide to sideload Then from PC - adb / fastboot folder ...shift+right click /command prompt here then it's adb sideload rom.zip at the end of sideload install will begin just be sure the files you flash and sideload are all in the same folder as fastboot and adb Click to expand... Click to collapse in cmd prompt says 'device not found' when using adb and on twrp on the device says starting adb sideload and does nothing, also shall i use the ota file on the htcdev website ? is that better than the cutsom roms i've downloaded, - do i need s-off ?
abreu6 said: in cmd prompt says 'device not found' when using adb and on twrp on the device says starting adb sideload and does nothing, also shall i use the ota file on the htcdev website ? is that better than the cutsom roms i've downloaded, - do i need s-off ? Click to expand... Click to collapse Please stop right here and spend a few hours doing research before you brick your device for good.
I have same thing happened before, adb not working, I don't know why, try use a USB OTG, put the rom zip on it, then connected to your phone, flash from OTG, it will be OK! Sent from my HTC One using XDA Premium 4 mobile app
shukyuen said: I have same thing happened before, adb not working, I don't know why, try use a USB OTG, put the rom zip on it, then connected to your phone, flash from OTG, it will be OK! Sent from my HTC One using XDA Premium 4 mobile app Click to expand... Click to collapse I dont have a USB OTG Cable, are there any other options ? Is there a way of getting files on to the sdcard using fastboot ? tried using adb but dont know where I'm going wrong. It connects 'starting on port...etc' then when i run push commands says 'device not connected'. Updated all the drivers and everything still no luck. Sideloader from twrp doesnt seem to work either. I have the rom I want to use and a ruu file which i have tried to flash, its comes back with something like ' remote failed: 24 parshing etc' Any help would be great !
Sorry, I face the same problem, l am not skilled enough to solve it, if you want flash a rom buy a USB OTG! Sent from my HTC One using XDA Premium 4 mobile app
Sideloading I'm sort of in the same boat. My m7 got into a bootloop after an OTA Lollipop update attempt. I tried flashing files (RUUs) with fastboot but there always seemed to be technical problems that stopped me from doing that (noob). So I decided to try the custom recovery route. And although I've been learning a huge amount in the last week I haven't really got my head around the TWRP basics. So, considering the incredible amount of knowledge on this website I'd like to try to clear some issues up. All I want is a standard working phone. Previously during my 'fastboot' adventure people were talking about RUUs. Are they still relevant when it comes to sideloading? And where does TWRP come into it if ADB is 'pushing' the file accross? What is it there for? What kind of I'm 'unlocked' but s-on, is that an issue? Does the phone need to be rooted? So, in a nutshell, now that I managed to put TWRP on the phone (very pleased with myself!) how does that make it easier for me to get my phone back to serviceability? Loads of thanks to all the whizz kids out there.
jimbobly said: Previously during my 'fastboot' adventure people were talking about RUUs. Are they still relevant when it comes to sideloading? Click to expand... Click to collapse No. RUU is a package including the rom (software) and the frimware (hboot, stock recovery, radio, kernel, touch drivers etc.) RUU.zip are flashed using fastboot RUU.exe are flashed automatically when laucnhing the .exe (the application handle the required fastboot commands automatically) When speaking about adb sideload or adb push, the sidelaoded or pushed file is only a rom (software) unlike a ruu (software+firmware). The rom can either be custom or stock (e.g ARHD custom rom or a stock guru reset rom) And where does TWRP come into it if ADB is 'pushing' the file accross? What is it there for? Click to expand... Click to collapse ADB is used for the computer to communicate with the phone and in this case, to copy the rom from your computer to your phone. ADB doesn't flash (install) the rom on your phone, its only transfer the rom to your phone memory. TWRP is a recovery system, think of an alternate OS you can boot to perform basic tasks like installing rom (flashing rom), backups, restore, file manager ans few more. BTW with newer versions of TWRP, you don't really need ADB to transfer (push or sideload) the rom to your phone. TWRP now support MTP protocol which mean you'll see your phone as a removable storage on your computer (like a usb thumb drive) when booted in twrp so can simply drag and drop the rom from your desktop to the phone memory. I'm 'unlocked' but s-on, is that an issue? Does the phone need to be rooted? So, in a nutshell, now that I managed to put TWRP on the phone (very pleased with myself!) how does that make it easier for me to get my phone back to serviceability? Loads of thanks to all the whizz kids out there. Click to expand... Click to collapse Better to post the output of "fastboot getvar all" before answering this. Depending on the output, it might be easier to restore your phone using a RUU. Remove your imei and serialno before posting the output here.
Thanks Alray, That was a great reply. Just the sort of concise information I need. Here is the getvar. \Desktop\android-sdk-windows\platfo (bootloader) version: 0.5 (bootloader) version-bootloader: 1.57.0000 (bootloader) version-baseband: 4T.28.3218.04 (bootloader) version-cpld: None (bootloader) version-microp: None (bootloader) version-main: 6.14.206.2 (bootloader) version-misc: PVT SHIP S-ON (bootloader) serialno: --- (bootloader) imei: --- (bootloader) meid: 00000000000000 (bootloader) product: m7_ul (bootloader) platform: HBOOT-8064 (bootloader) modelid: PN0710000 (bootloader) cidnum: O2___001 (bootloader) battery-status: good (bootloader) battery-voltage: 4314mV (bootloader) partition-layout: Generic (bootloader) security: on (bootloader) build-mode: SHIP (bootloader) boot-mode: FASTBOOT (bootloader) commitno-bootloader: dirty-6d8a0b9b (bootloader) hbootpreupdate: 11 (bootloader) gencheckpt: 0 Also, several members pointed me to an RUU that would get me back to stock, here is the contents of the unziped file. I'd like to know which files are relevant with TWRP. The interesting thing is that the download was about 1.7Gigs but the unpacked files aren't remotely close to that so something doesn't seem to add up! { "lightbox_close": "Close", "lightbox_next": "Next", "lightbox_previous": "Previous", "lightbox_error": "The requested content cannot be loaded. Please try again later.", "lightbox_start_slideshow": "Start slideshow", "lightbox_stop_slideshow": "Stop slideshow", "lightbox_full_screen": "Full screen", "lightbox_thumbnails": "Thumbnails", "lightbox_download": "Download", "lightbox_share": "Share", "lightbox_zoom": "Zoom", "lightbox_new_window": "New window", "lightbox_toggle_sidebar": "Toggle sidebar" } Brilliant assistance, I love fiddling with this stuff but so far drawn a bit of a blank with this one. BTW I put TWRP on yesterday so I assume it's the latest version. ---------- Post added at 07:18 AM ---------- Previous post was at 07:08 AM ---------- alray said: No. RUU is a package including the rom (software) and the frimware (hboot, stock recovery, radio, kernel, touch drivers etc.) RUU.zip are flashed using fastboot RUU.exe are flashed automatically when laucnhing the .exe (the application handle the required fastboot commands automatically) When speaking about adb sideload or adb push, the sidelaoded or pushed file is only a rom (software) unlike a ruu (software+firmware). The rom can either be custom or stock (e.g ARHD custom rom or a stock guru reset rom) ADB is used for the computer to communicate with the phone and in this case, to copy the rom from your computer to your phone. ADB doesn't flash (install) the rom on your phone, its only transfer the rom to your phone memory. TWRP is a recovery system, think of an alternate OS you can boot to perform basic tasks like installing rom (flashing rom), backups, restore, file manager ans few more. BTW with newer versions of TWRP, you don't really need ADB to transfer (push or sideload) the rom to your phone. TWRP now support MTP protocol which mean you'll see your phone as a removable storage on your computer (like a usb thumb drive) when booted in twrp so can simply drag and drop the rom from your desktop to the phone memory. Better to post the output of "fastboot getvar all" before answering this. Depending on the output, it might be easier to restore your phone using a RUU. Remove your imei and serialno before posting the output here. Click to expand... Click to collapse Thanks Alray, That was a great reply. Just the sort of concise information I need. Here is the getvar. \Desktop\android-sdk-windows\platfo (bootloader) version: 0.5 (bootloader) version-bootloader: 1.57.0000 (bootloader) version-baseband: 4T.28.3218.04 (bootloader) version-cpld: None (bootloader) version-microp: None (bootloader) version-main: 6.14.206.2 (bootloader) version-misc: PVT SHIP S-ON (bootloader) serialno: --- (bootloader) imei: --- (bootloader) meid: 00000000000000 (bootloader) product: m7_ul (bootloader) platform: HBOOT-8064 (bootloader) modelid: PN0710000 (bootloader) cidnum: O2___001 (bootloader) battery-status: good (bootloader) battery-voltage: 4314mV (bootloader) partition-layout: Generic (bootloader) security: on (bootloader) build-mode: SHIP (bootloader) boot-mode: FASTBOOT (bootloader) commitno-bootloader: dirty-6d8a0b9b (bootloader) hbootpreupdate: 11 (bootloader) gencheckpt: 0 Also, several members pointed me to an RUU that would get me back to stock, here is the contents of the unziped file. I'd like to know which files are relevant with TWRP. The interesting thing is that the download was about 1.7Gigs but the unpacked files aren't remotely close to that so something doesn't seem to add up! Brilliant assistance, I love fiddling with this stuff but so far drawn a bit of a blank with this one. BTW I put TWRP on yesterday so I assume it's the latest version.
jimbobly said: Thanks Alray, That was a great reply. Just the sort of concise information I need. Here is the getvar. \Desktop\android-sdk-windows\platfo (bootloader) version: 0.5 (bootloader) version-bootloader: 1.57.0000 (bootloader) version-baseband: 4T.28.3218.04 (bootloader) version-cpld: None (bootloader) version-microp: None (bootloader) version-main: 6.14.206.2 (bootloader) version-misc: PVT SHIP S-ON (bootloader) serialno: --- (bootloader) imei: --- (bootloader) meid: 00000000000000 (bootloader) product: m7_ul (bootloader) platform: HBOOT-8064 (bootloader) modelid: PN0710000 (bootloader) cidnum: O2___001 (bootloader) battery-status: good (bootloader) battery-voltage: 4314mV (bootloader) partition-layout: Generic (bootloader) security: on (bootloader) build-mode: SHIP (bootloader) boot-mode: FASTBOOT (bootloader) commitno-bootloader: dirty-6d8a0b9b (bootloader) hbootpreupdate: 11 (bootloader) gencheckpt: 0 Also, several members pointed me to an RUU that would get me back to stock, here is the contents of the unziped file. I'd like to know which files are relevant with TWRP. The interesting thing is that the download was about 1.7Gigs but the unpacked files aren't remotely close to that so something doesn't seem to add up! Brilliant assistance, I love fiddling with this stuff but so far drawn a bit of a blank with this one. BTW I put TWRP on yesterday so I assume it's the latest version. ---------- Post added at 07:18 AM ---------- Previous post was at 07:08 AM ---------- Thanks Alray, That was a great reply. Just the sort of concise information I need. Here is the getvar. \Desktop\android-sdk-windows\platfo (bootloader) version: 0.5 (bootloader) version-bootloader: 1.57.0000 (bootloader) version-baseband: 4T.28.3218.04 (bootloader) version-cpld: None (bootloader) version-microp: None (bootloader) version-main: 6.14.206.2 (bootloader) version-misc: PVT SHIP S-ON (bootloader) serialno: --- (bootloader) imei: --- (bootloader) meid: 00000000000000 (bootloader) product: m7_ul (bootloader) platform: HBOOT-8064 (bootloader) modelid: PN0710000 (bootloader) cidnum: O2___001 (bootloader) battery-status: good (bootloader) battery-voltage: 4314mV (bootloader) partition-layout: Generic (bootloader) security: on (bootloader) build-mode: SHIP (bootloader) boot-mode: FASTBOOT (bootloader) commitno-bootloader: dirty-6d8a0b9b (bootloader) hbootpreupdate: 11 (bootloader) gencheckpt: 0 Also, several members pointed me to an RUU that would get me back to stock, here is the contents of the unziped file. I'd like to know which files are relevant with TWRP. The interesting thing is that the download was about 1.7Gigs but the unpacked files aren't remotely close to that so something doesn't seem to add up! Brilliant assistance, I love fiddling with this stuff but so far drawn a bit of a blank with this one. BTW I put TWRP on yesterday so I assume it's the latest version. Click to expand... Click to collapse What is the file name of this ruu? You should not be able to open the ruu.zip because they are encrypted. You could try to relock the bootloader and flash the 7.18.206.2 ruu.zip posted here http://forum.xda-developers.com/htc-one/general/lollipop-ruu-zip-small-collection-t3053944. instruction how to flash in the same thread. or You can restore this stock backup using twrp then you can reflash the stock recovery and download the latest ota update.
alray said: You can restore this stock backup using twrp then you can reflash the stock recovery and download the latest ota update. Click to expand... Click to collapse That's great. I'll try going down this road first, can you briefly outline how to handle this process with TWRP please? Many thanks. :good:
jimbobly said: That's great. I'll try going down this road first, can you briefly outline how to handle this process with TWRP please? Many thanks. :good: Click to expand... Click to collapse boot in twrp, select "backup" then make a backup of "boot" only (this is only to generate a backup path on your phone: /sdcard/TWRP/BACKUPS/YOUR_SERIAL_NUMBER/DATE_OF_BACKUP). Once the backup is done, navigate to that folder and delete all the files in that folder, but do not delete the folder and then take all the files in the backup you have downloaded and copy them to this folder (/sdcard/TWRP/BACKUPS/YOUR_SERIAL_NUMBER/DATE_OF_BACKUP). Go back in twrp main menu, select "restore" and select the only backup available. Wait for the restore to complete and reboot.
alray said: boot in twrp, select "backup" then make a backup of "boot" only (this is only to generate a backup path on your phone: /sdcard/TWRP/BACKUPS/YOUR_SERIAL_NUMBER/DATE_OF_BACKUP). Once the backup is done, navigate to that folder and delete all the files in that folder, but do not delete the folder and then take all the files in the backup you have downloaded and copy them to this folder (/sdcard/TWRP/BACKUPS/YOUR_SERIAL_NUMBER/DATE_OF_BACKUP). Go back in twrp main menu, select "restore" and select the only backup available. Wait for the restore to complete and reboot. Click to expand... Click to collapse Thanks, I'm on the case now. To be sure, the file that you specified starting /sdcard/ is different from the file where the phone just made the back up files. The only file path I can access on the PC is Computer\One\Internal Storage\TWRP\BACKUPS\FA36PW918055. Is this correct? I assume that references to an sdcard in file names is just nominal or a partition of the main drive. Just like to be 100% clear. Ah, I discovered that there is a file manager in TWRP! I now see that Those files are in the folder that you specified correctly. However, when I go to the backup folder there is no file available. Are the files from the nandroid zip to be extracted first or is the zip file supposed to be copied whole? I tried both methods and there is still no file to be seen in the restore window! Have I done something wrong?
jimbobly said: The only file path I can access on the PC is Computer\One\Internal Storage\TWRP\BACKUPS\FA36PW918055. Is this correct? Click to expand... Click to collapse Yes on your pc you'll see Computer\One\Internal Storage\TWRP\BACKUPS\FA36PW918055\date_of_your_backup\Backup_files_here On your phone its /sdcard/TWRP/BACKUPS/FA36PW918055/date_of_your_backup/Backup_files_here Make a backup of boot only, then using your computer navigate to that folder (Computer\One\Internal Storage\TWRP\BACKUPS\FA36PW918055\date_of_backup) and delete all files in this folder and replaced them with all files from the backup you have downloaded. Then in twrp select "restore" and restore all partitions of this backup.
alray said: boot in twrp, select "backup" then make a backup of "boot" only (this is only to generate a backup path on your phone: /sdcard/TWRP/BACKUPS/YOUR_SERIAL_NUMBER/DATE_OF_BACKUP). Once the backup is done, navigate to that folder and delete all the files in that folder, but do not delete the folder and then take all the files in the backup you have downloaded and copy them to this folder (/sdcard/TWRP/BACKUPS/YOUR_SERIAL_NUMBER/DATE_OF_BACKUP). Go back in twrp main menu, select "restore" and select the only backup available. Wait for the restore to complete and reboot. Click to expand... Click to collapse alray said: Make a backup of boot only, then using your computer navigate to that folder (Computer\One\Internal Storage\TWRP\BACKUPS\FA36PW918055\date_of_backup) and delete all files in this folder and replaced them with all files from the backup you have downloaded. Then in twrp select "restore" and restore all partitions of this backup. Click to expand... Click to collapse Ah, I discovered that there is a file manager in TWRP! I now see that Those files are in the folder that you specified correctly. However, when I go to the backup folder there is no file available. Are the files from the nandroid zip to be extracted first or is the zip file supposed to be copied whole? I tried both methods and there is still no file to be seen in the restore window! Have I done something wrong? ---------- Post added at 11:37 PM ---------- Previous post was at 11:06 PM ---------- jimbobly said: Ah, I discovered that there is a file manager in TWRP! I now see that Those files are in the folder that you specified correctly. However, when I go to the backup folder there is no file available. Are the files from the nandroid zip to be extracted first or is the zip file supposed to be copied whole? I tried both methods and there is still no file to be seen in the restore window! Have I done something wrong? Click to expand... Click to collapse Just managed to attempt a restore. Response from system is ' Restore Complete Failed' E:No Partitions Selected for restore'! Any ideas on this? Thanks James ---------- Post added 10th April 2015 at 12:00 AM ---------- Previous post was 9th April 2015 at 11:37 PM ---------- jimbobly said: Ah, I discovered that there is a file manager in TWRP! I now see that Those files are in the folder that you specified correctly. However, when I go to the backup folder there is no file available. Are the files from the nandroid zip to be extracted first or is the zip file supposed to be copied whole? I tried both methods and there is still no file to be seen in the restore window! Have I done something wrong? ---------- Post added at 11:37 PM ---------- Previous post was at 11:06 PM ---------- Just managed to attempt a restore. Response from system is ' Restore Complete Failed' E:No Partitions Selected for restore'! Any ideas on this? Thanks James Click to expand... Click to collapse jimbobly said: Thanks, I'm on the case now. To be sure, the file that you specified starting /sdcard/ is different from the file where the phone just made the back up files. The only file path I can access on the PC is Computer\One\Internal Storage\TWRP\BACKUPS\FA36PW918055. Is this correct? I assume that references to an sdcard in file names is just nominal or a partition of the main drive. Just like to be 100% clear. Ah, I discovered that there is a file manager in TWRP! I now see that Those files are in the folder that you specified correctly. However, when I go to the backup folder there is no file available. Are the files from the nandroid zip to be extracted first or is the zip file supposed to be copied whole? I tried both methods and there is still no file to be seen in the restore window! Have I done something wrong? Click to expand... Click to collapse Holy Crap! I did it! It worked!! Amazing, thanks so much. Wow, what an adventure that was. Funny, I just learned loads about my phone and android totally by accident thanks to the community on here, great job! ---------- Post added at 12:18 AM ---------- Previous post was at 12:00 AM ---------- What would be the way to get the ota update for lollipop now?
jimbobly said: Ah, I discovered that there is a file manager in TWRP! I now see that Those files are in the folder that you specified correctly. However, when I go to the backup folder there is no file available. Are the files from the nandroid zip to be extracted first or is the zip file supposed to be copied whole? I tried both methods and there is still no file to be seen in the restore window! Have I done something wrong? ---------- Post added at 11:37 PM ---------- Previous post was at 11:06 PM ---------- Just managed to attempt a restore. Response from system is ' Restore Complete Failed' E:No Partitions Selected for restore'! Any ideas on this? Thanks James ---------- Post added 10th April 2015 at 12:00 AM ---------- Previous post was 9th April 2015 at 11:37 PM ---------- Holy Crap! I did it! It worked!! Amazing, thanks so much. Wow, what an adventure that was. Funny, I just learned loads about my phone and android totally by accident thanks to the community on here, great job! ---------- Post added at 12:18 AM ---------- Previous post was at 12:00 AM ---------- What would be the way to get the ota update for lollipop now? Click to expand... Click to collapse Sorry for the late reply, glad to know that you have managed to restore the backup. To be able to install ota update you'll need to flash the stock recovery over twrp. Stock recovery for your version can be downloaded from this link: https://www.androidfilehost.com/?fid=95897840722646670 save it in the same folder where you have adb and fastboot on your computer and flash it like you did for twrp: reboot your phone in bootloader / fastboot usb mode then open a command prompt from your adb/fastboot folder: Code: fastboot flash recovery M7_UL_Stock_Recovery_6.14.206.2.img fastboot erase cache fastboot reboot Once rebooted in the os and the stock recovery flashed, you can install the ota updates: settings --> about --> Software info --> check for updates.
alray said: Sorry for the late reply, glad to know that you have managed to restore the backup. To be able to install ota update you'll need to flash the stock recovery over twrp. Stock recovery for your version can be downloaded from this link: https://www.androidfilehost.com/?fid=95897840722646670 save it in the same folder where you have adb and fastboot on your computer and flash it like you did for twrp: reboot your phone in bootloader / fastboot usb mode then open a command prompt from your adb/fastboot folder: Code: fastboot flash recovery M7_UL_Stock_Recovery_6.14.206.2.img fastboot erase cache fastboot reboot Once rebooted in the os and the stock recovery flashed, you can install the ota updates: settings --> about --> Software info --> check for updates. Click to expand... Click to collapse Thanks very much for the support, great community on here, love it. Really thought that was the end of my One but it's incredible what a bit of perseverance does for you. I'll give that update a go, maybe now I have the confidence to experiment a bit more with the phone. Thanks again!
help me please, I lost my os.
I'm using TWRP for a factory reset , but I hit the wrong press the Format Data , and now can not do anything with it . Help me I'm going to do next . In order to give the computer back to normal. My machine is detailed (bootloader) version: 0.5 (bootloader) version-bootloader: 1.55.0000. (bootloader) version-baseband: 4A.21.3263.04. (bootloader) version-cpld: None. (bootloader) version-microp: None. (bootloader) version-main: 3.63.61.1. (bootloader) version-misc: PVT SHIP S-ON. (bootloader) serialno: FA395WXXXXX (bootloader) imei: 35XXXXXXXXXXXX (bootloader) meid: 00000000000000 (bootloader) product: m7_ul (bootloader) platform: HBOOT-8064. (bootloader) modelid: PN0710000 (bootloader) cidnum: ORANG001 (bootloader) battery-status: good. (bootloader) battery-voltage: 3800mV. (bootloader) partition-layout: Generic. (bootloader) security: on (bootloader) build-mode: SHIP. (bootloader) boot-mode: FASTBOOT. (bootloader) commitno-bootloader: dirty-b0a25cb2. (bootloader) hbootpreupdate: 11 (bootloader) gencheckpt: 0 ADB sideload is Failed :crying::crying::crying: but can use adb fastboot help me please
I am kinda trying to figure out the same issue, I will post a reply in here if I get it working. I think from what I have read you might need to relock your device and flash an appropriate RUU in fastboot usb using the apropriate adb commands. I am a newbie though and still learning the android architecture so I would wait for someone more qualified to respond. If I get my device back to a stable ROM I will update you on the steps I took!
adb push?
Yep like he said. In recovery adb push ROM.zip /sdcard/ Sent from my HTC One using XDA Premium 4 mobile app
thank for help svenell said: I am kinda trying to figure out the same issue, I will post a reply in here if I get it working. I think from what I have read you might need to relock your device and flash an appropriate RUU in fastboot usb using the apropriate adb commands. I am a newbie though and still learning the android architecture so I would wait for someone more qualified to respond. If I get my device back to a stable ROM I will update you on the steps I took! Click to expand... Click to collapse I can relock it again, but I have no ruu for cid: ORANG001 trying to hard.:crying::crying:
thank for help nateboi81 said: Yep like he said. In recovery adb push ROM.zip /sdcard/ Sent from my HTC One using XDA Premium 4 mobile app Click to expand... Click to collapse Can you recommend a rom for my device that you can use nandroid or not. I'm finding it difficult Thank you
tell me please
"adb sideload", while convenient, is less reliable than the old-fashioned method of pushing to /sdcard and using TWRP to install it. For this to work: - TWRP must be installed (2.6.3.3 or newer). - If not installed, make sure the bootloader is unlocked and install it with "fastboot flash recovery name-of-recovery.img", then clear cache just to be safe. - Boot to TWRP through the bootloader using volume/power buttons (look for instructions online) - Use "adb devices" to make sure ADB is working and detecting the phone - Use "adb push rom.zip /sdcard/" - If the push fails, make sure you are typing the correct path/filename to the ROM zip you want to install. - If the push fails with an error about can't write or "no such file or directory", your data partition may be corrupted or not mounted (or maybe even out of space). You can solve this within TWRP. The most drastic (and most effective) solution is to format userdata, but you'll lose everything on the phone. There are other ways to solve this, but it's a case-by-case thing. - If you try something to fix the "push" and want to try again, make sure /data and /sdcard are mounted (in the TWRP mounts section). - After "push", you should check the md5sum of the file to make sure it hasn't been corrupted (check to see that it agrees with the md5sum on the download page). If there is no md5sum on the download page, ask in a forum. - The command to check the md5sum for ALL zip files on /sdcard (because this is accident-proof) is: Code: adb shell "md5sum /sdcard/*.zip" - Then you can "install" the normal way, using TWRP, without sideload. Depending on which step fails, there are different things to try to fix the problem. If something fails, please provide ALL details of what you did, and all details about the error (write down the exact error message). If the error is in your TWRP usage, get the "recovery.log" file, which you can copy to the computer with Code: adb pull /tmp/recovery.log ---------- Post added at 09:06 AM ---------- Previous post was at 09:03 AM ---------- Oh, and I forgot to mention, the ROM that most people seem to use (also the one that looks the most like the stock ROM) is Android Revolution HD. Note that there's a bug in the installer: if you don't have the newest firmware, you should choose "Wipe Data" when the Aroma Installer asks whether you want to wipe data. For some reason this is not the same as a factory reset in the TWRP menus.
fenstre said: "adb sideload", while convenient, is less reliable than the old-fashioned method of pushing to /sdcard and using TWRP to install it. For this to work: Click to expand... Click to collapse I'm having a similar issue but my internal sd won't mount when I start it, It says unable to moung /system, /cache and so forth. I'm running out of things to try. ---------- Post added at 04:11 PM ---------- Previous post was at 04:04 PM ---------- fenstre said: "adb sideload", while convenient, is less reliable than the old-fashioned method of pushing to /sdcard and using TWRP to install it. For this to work: Click to expand... Click to collapse I'm having a similar issue but my internal sd won't mount when I start it, It says unable to moung /system, /cache and so forth. I'm running out of things to try.
You can use fastboot to wipe all those partitions. Fastboot erase system.....cache...etc. then format those ones in twrp Sent from my HTC One using XDA Premium 4 mobile app
REQUEST: Telus TWRP Backup
FOR SPECIFIC INSTRUCTIONS ON HOW TO DO THIS BACKUP, PLEASE GO DOWN A COUPLE POSTS, SPECIFICALLY HERE: http://forum.xda-developers.com/showpost.php?p=59150233&postcount=3 Thanks! So far during this weekend there has been considerable progress on the quest to completely dominate this phone. Member jodge managed to get his VM/Sprint S-OFF and right after that SuperCID of course. You can pickup the story here. However there is something we need in order to move forward and we need it badly: a Telus TWRP Backup. I am not one to charge for helping out whenever I can, but I have helped a few Telus guys, even PMed them requesting a Telus backup and so far no one has come forward and honestly I am little disappointed. I know it's a pain if you did not make a backup before you set up your phone, but we really need a Telus TWRP stock backup. I can provide complete instructions if you need. PM me at will. Thanks very much!
NOT TRYING TO BE RUDE OR ANYTHING, BUT . . . . C'mon all you the people that complain and/or ask constantly about the potential to unlock the sim, this would be your time to help out and further the cause! I'm sure other GSM carrier backups would be helpful as well. IT'S YOUR TIME TO SHINE AND BE THE CONTRIBUTION!
Hi pls check the following thing before do anything: phone in fastboot mode: Code: fastboot getvar platform platform: hTCBmsm8226 <--- just this cpu works! After that we need the whole backup! Unfortunately nandroid backup not enough This process won't harm your phone, it's just a simple reading You need at least 8gb sd card in the phone A phone with unlocked boot (htcdev.com) in the pc (phone in fastboot mode) Code: [B]fastboot boot openrecovery-twrp-2.8.5.0-a11.img[/B] in the twrp--> mount --> tick system int the pc: Code: [B] adb shell[/B] Code: [B]ls -al /dev/block/platform/msm_sdcc.1/by-name[/B] <-- you get all partitons by name and by number Code: [B]dd if=/dev/block/mmcblk0p1 of=/external_sd/1.bin[/B] Code: [B]dd if=/dev/block/mmcblk0p2 of=/external_sd/2.bin[/B] Code: [B]dd if=/dev/block/mmcblk0p3 of=/external_sd/3.bin[/B] and all other partition (40-44 pcs) thx
I have a 64 bit phone. So there is no twrp for me otherwise I'd love to get this for you even though I'm not using a telus build.
If this depended on you Burtrum57, we would have had it a couple of month ago Burtrum57 said: I have a 64 bit phone. So there is no twrp for me otherwise I'd love to get this for you even though I'm not using a telus build. Click to expand... Click to collapse
Your lord and saviour is here. I'm not experienced at backing up and stuff but I have an unlocked bootloader and yes, I am on Telus. I am willing to help you guys and I know jdmederios I pm'd you before asking you if you needed a backup and you said it was okay. Since you helped me out, it's only fair to help you right? So if you guys can walk me through this process, I'll be completely fine with helping you guys out! How will I backup my current data so I can restore it after everything? Just make a TWRP backup of what I have now?
Great to hear from you karmasblade! Stand by as I prepare a script, test it on my phone and send it to you. I imagine you have TWRP installed. I will PM you as soon as I test my script on my phone, just to make sure it works fine. Thanks a lot for your help! karmasblade said: Your lord and saviour is here. I'm not experienced at backing up and stuff but I have an unlocked bootloader and yes, I am on Telus. I am willing to help you guys and I know jdmederios I pm'd you before asking you if you needed a backup and you said it was okay. Since you helped me out, it's only fair to help you right? So if you guys can walk me through this process, I'll be completely fine with helping you guys out! How will I backup my current data so I can restore it after everything? Just make a TWRP backup of what I have now? Click to expand... Click to collapse
I decided to place the instructions here in the open so that others can review them and eventually find some mistakes. karmasblade you owe me absolutely nothing and if you decide this is too much of a pain I completely understand. karmasblade, BEFORE YOU DO THIS I WOULD LIKE 2 OR 3 SENIOR MEMBERS TO VALIDADE THESE INSTRUCTIONS; THAT'S WHY THEY ARE HERE INSTEAD OF ME JUST PM YOU If you decide to do it, make sure you copy paste the commands whenever possible. The following steps are needed to make sure you do not share any personal information. If your phone did not have any personal information you would just have to do steps 16 through 19 and then upload the folder. 1. You will need your Unlock_code.bin from HTCDEV; if you still have it great (it may still be in your email) otherwise you need to go through the bootloader unlock procedure up to the step where you get an email from HTC with the file Unlock_code.bin which you should place in the folder where you have fastboot.exe 2. You will need openrecovery-twrp-2.8.5.0-a11.img which you can get here http://techerrata.com/file/twrp2/a11/openrecovery-twrp-2.8.5.0-a11.img and save it in the same folder where you have fastboot.exe 3. Download this RUU https://mega.co.nz/#!6Z4SQDTA!3W89qbflxnQhE8fr_QnJMBFAO3aCHKcdkegFtxQ6tuY rename it to 0PCVIMGXXX and place it in the root of the sdcard 4. Connect the phone to the PC and run “abd shell”, “su” and then “cat /proc/emmc” From this list you need to find out the highest numbered block. In my case it’s mmcblk0p44 and therefore the number is 44. 5. Connect the phone to the PC and run "adb reboot recovery" When the recovery menu comes up on the phone press "Backup" On the top of the screen, press "Backup Name", add a few characters to the name so you know it's this backup and hit the return key 6. After the backup is complete, from the main menu, press "Wipe", then "Advanced Wipe" and select the first 4 options: Dalvik, System, Cache, Data; Slide to Wipe 7. From the PC run "adb shell" and then execute "mv /external_sd/0PCVIMGXXX /external_sd/0PCVIMG.zip" 8. From the main menu Press "Reboot" and then "Bootloader". It will say "No OS Installed! Are you sure you wish to reboot?" Press "Swipe to Reboot". It will then say "Install SuperSU?" and you should press "Do Not Install". After a few seconds (about 8) it will reboot. It will say "FASTBOOT USB" in red and "HBOOT" in the blue bar. 9. From the PC run "fastboot oem lock". The phone will reboot and come back to the same screen. 10. Press the Power button once; when you do this it will search your sdcard looking for the 0PCVIMG.zip and it will install it. Eventually it will say "Update Complete..." press <POWER> to reboot. Hit the "Power" button to reboot. 11. Once the phone boots, got to settings and turn on developer options and usb debuging. On the phone run the File Manager application, open the sdcard and rename 0PCVIMG.zip to 0PCVIMGXXX. 12. From the PC run "adb reboot bootloader" 13. Unlock the bootloader... from the PC run "fastboot flash unlocktoken Unlock_code.bin" and the phone will reboot. 14. From the PC run "adb reboot bootloader" 15. From the PC install recovery “fastboot flash recovery openrecovery-twrp-2.8.5.0-a11.img” 16. Reboot to Recovery by pressing the Power button and then VOL down to select RECOVERY followed by the Power button again, It will go to the Recovery menu. 17. Form the PC run “adb shell” 18. Inside the shell run “mkdir /external_sd/mmcblks” 19. For this step you will need the number from Step 4. If it’s not 44 then change the 44 in the following command. Inside the shell run Code: for i in `seq 1 44`; do dd if=/dev/block/mmcblk0p$i of=/external_sd/mmcblks/mmcblk0p$i.bin; done This will take a while as it copies the memory blocks to the folder mmcblks in the sdcard. 20. From the Recovery menu, select Restore, select the backup you did on Step 5 and restore your phone. Reboot system and you should have your original phone back. 21. If you had a kernel other than the stock kernel installed you will have to install it again. To do that you would reboot to fastboot running “adb reboot bootloader” and then “fastboot flash boot xxxxxxxxxxx.img”. 22. That’s it; you would then have to upload the folder mmcblks to a place like Mega. jdmedeiros said: Great to hear from you karmasblade! Stand by as I prepare a script, test it on my phone and send it to you. I imagine you have TWRP installed. I will PM you as soon as I test my script on my phone, just to make sure it works fine. Thanks a lot for your help! Click to expand... Click to collapse
Would a Fido back up (same model number as Telus) help? Sent from my HTC Desire 510 using XDA Free mobile app
...a lady for the rescue. About time Please do this: 1. Connect the phone to the usb port and run: Code: adb shell cat /proc/emmc Your last line should say something like mmcblk0p44: 48000000 00000200 "userdata". What is you last memory block number? Mine is 44. 2. Run Code: adb reboot bootloader 3. After it reboots, run: Code: fastboot getvar platform If it says "platform: hTCBmsm8226" and your last memory block is around 44 then you could certainly help us. 4. Run Code: fastboot reboot to restart your phone. Thank you! CrankyCatLady said: Would a Fido back up (same model number as Telus) help? Sent from my HTC Desire 510 using XDA Free mobile app Click to expand... Click to collapse
My last memory block number is also 44 "mmcblk0p44: 20000000 00000200 "userdata"" And for Getvar, here's the complete information: (bootloader) version: 0.5 (bootloader) version-bootloader: 3.19.0.0000 (bootloader) version-baseband: 1.101.1372.19.0918 (bootloader) version-cpld: None (bootloader) version-microp: None (bootloader) version-main: (bootloader) version-misc: PVT SHIP S-ON (bootloader) serialno: **************** (bootloader) imei: ******************** (bootloader) imei2: Not Support (bootloader) meid: 00000000000000 (bootloader) product: a11_ul (bootloader) platform: hTCBmsm8226 (bootloader) modelid: 0PCV22000 (bootloader) cidnum: ROGER001 (bootloader) battery-status: good (bootloader) battery-voltage: 0mV (bootloader) partition-layout: Generic (bootloader) security: on (bootloader) build-mode: SHIP (bootloader) boot-mode: FASTBOOT (bootloader) commitno-bootloader: 74b2d0b4 (bootloader) hbootpreupdate: 11 (bootloader) gencheckpt: 0 Please let me know if it still looks good. I guess I will follow the instruction on the previous post for the backup. jdmedeiros said: ...a lady for the rescue. About time Please do this: 1. Connect the phone to the usb port and run: Code: adb shell cat /proc/emmc Your last line should say something like mmcblk0p44: 48000000 00000200 "userdata". What is you last memory block number? Mine is 44. 2. Run Code: adb reboot bootloader 3. After it reboots, run: Code: fastboot getvar platform If it says "platform: hTCBmsm8226" and your last memory block is around 44 then you could certainly help us. 4. Run Code: fastboot reboot to restart your phone. Thank you! Click to expand... Click to collapse
Yes, that is exactly what we are looking for and thank you for being willing to help us. Please follow this post http://forum.xda-developers.com/showpost.php?p=59172863&postcount=8 and be sure to copy paste as much as possble; for example in step 3 I say "...rename it to 0PCVIMGXXX..." That first character looks like the letter "O" but it's actually a zero. Also make sure that each step completes without error before moving on to the next step. I edited the post adding a little more information to steps 11 and 16. Let me know if you have any problem. Thank you! CrankyCatLady said: My last memory block number is also 44 "mmcblk0p44: 20000000 00000200 "userdata""i And for Getvar, here's the complete information: (bootloader) version: 0.5 (bootloader) version-bootloader: 3.19.0.0000 (bootloader) version-baseband: 1.101.1372.19.0918 (bootloader) version-cpld: None (bootloader) version-microp: None (bootloader) version-main: (bootloader) version-misc: PVT SHIP S-ON (bootloader) serialno: **************** (bootloader) imei: ******************** (bootloader) imei2: Not Support (bootloader) meid: 00000000000000 (bootloader) product: a11_ul (bootloader) platform: hTCBmsm8226 (bootloader) modelid: 0PCV22000 (bootloader) cidnum: ROGER001 (bootloader) battery-status: good (bootloader) battery-voltage: 0mV (bootloader) partition-layout: Generic (bootloader) security: on (bootloader) build-mode: SHIP (bootloader) boot-mode: FASTBOOT (bootloader) commitno-bootloader: 74b2d0b4 (bootloader) hbootpreupdate: 11 (bootloader) gencheckpt: 0 Please let me know if it still looks good. I guess I will follow the instruction on the previous post for the backup. Click to expand... Click to collapse
great news thx for the support
One quick question before I really proceed to wipe anything through TWRP 2.8.5.0, would my original ROM be wiped and I can be running in boot loop?? In particular: "6. After the backup is complete, from the main menu, press "Wipe", then "Advanced Wipe" and select the first 4 options: Dalvik, System, Cache, Data; Slide to Wipe" PS would need to gather a few things to really proceed (ie looking to find a spare/blank microSD card), should be done on the weekend. jdmedeiros said: Yes, that is exactly what we are looking for and thank you for being willing to help us. Please follow this post http://forum.xda-developers.com/showpost.php?p=59172863&postcount=8 and be sure to copy paste as much as possble; for example in step 3 I say "...rename it to 0PCVIMGXXX..." That first character looks like the letter "O" but it's actually a zero. Also make sure that each step completes without error before moving on to the next step. I edited the post adding a little more information to steps 11 and 16. Let me know if you have any problem. Thank you! Click to expand... Click to collapse
Looking for a Rogers RUU I am looking for this file RUU_A11_UL_K44_DESIRE_SENSE60_AIO_Rogers_WWE_1.18. 631.2_Radio_1.101.1372.19.0918_10.24.4205.00L_rele ase_397685_signed.exe which is available here http://www.ir-file.com/portal/index.php?dir=Firmware/HTC/HTC_Android/A11_UL/ If any of your guys have access to it I would appreciate if you could share it. My access expired a few weeks ago and that was how I was able to get all the files I have been sharing with you. Thanks!
jdmedeiros said: I am looking for this file RUU_A11_UL_K44_DESIRE_SENSE60_AIO_Rogers_WWE_1.18. 631.2_Radio_1.101.1372.19.0918_10.24.4205.00L_rele ase_397685_signed.exe which is available here http://www.ir-file.com/portal/index.php?dir=Firmware/HTC/HTC_Android/A11_UL/ If any of your guys have access to it I would appreciate if you could share it. My access expired a few weeks ago and that was how I was able to get all the files I have been sharing with you. Thanks! Click to expand... Click to collapse Im guessing it requires a membership of some sort? If so how much, Im a bit strapped for cash so you'll have to wait a couple weeks for me to get to it if so.
Thanks, but no, don't worry about it, eventually it pop up or someone with access will share it, just like I have done with so many files. howlingmoon12 said: Im guessing it requires a membership of some sort? If so how much, Im a bit strapped for cash so you'll have to wait a couple weeks for me to get to it if so. Click to expand... Click to collapse
Bricked, no adb in recovery, rru needed?
I tried to install a custom rom on the device, it never worked, i ended formatting the system + data by accident. I have philz recovery on it, i tried to mount the data folder and transfer files via abd, this never worked, sideloading through the recovery doesn't work either, i've spent about 6 hours straight on this, tried every driver i could find, still no adb. I download a ruu, i don't have access to a linux machine in order to change the file for the cid though, I could not for the life of me find the proper ruu file. Fastboot is working! heres some info. (bootloader) version: 0.5 (bootloader) version-bootloader: 3.19.0.0000 (bootloader) version-baseband: 01.02.010_U10251_37.08.40820 (bootloader) version-cpld: None (bootloader) version-microp: None (bootloader) version-main: (bootloader) version-misc: PVT SHIP S-ON (bootloader) serialno: CC523Y403558 (bootloader) imei: 35xxx (bootloader) imei2: Not Support (bootloader) meid: 00000000000000 (bootloader) product: a11_ul (bootloader) platform: hTCBmsm8916 (bootloader) modelid: 0PCV20000 (bootloader) cidnum: HTC__052 (bootloader) battery-status: good (bootloader) battery-voltage: 0mV (bootloader) partition-layout: Generic (bootloader) security: on (bootloader) build-mode: SHIP (bootloader) boot-mode: FASTBOOT (bootloader) commitno-bootloader: cfaddc6b (bootloader) hbootpreupdate: 11 (bootloader) gencheckpt: 0 (bootloader) mfg-name: 1001 Any advice on where i go from here would be good, if anyone has the proper ruu file i need that would be awesome! Thanks *note i have no sd card, and no access to one.
jpno5 said: I tried to install a custom rom on the device, it never worked, i ended formatting the system + data by accident. I have philz recovery on it, i tried to mount the data folder and transfer files via abd, this never worked, sideloading through the recovery doesn't work either, i've spent about 6 hours straight on this, tried every driver i could find, still no adb. I download a ruu, i don't have access to a linux machine in order to change the file for the cid though, I could not for the life of me find the proper ruu file. Fastboot is working! heres some info. (bootloader) version: 0.5 (bootloader) version-bootloader: 3.19.0.0000 (bootloader) version-baseband: 01.02.010_U10251_37.08.40820 (bootloader) version-cpld: None (bootloader) version-microp: None (bootloader) version-main: (bootloader) version-misc: PVT SHIP S-ON (bootloader) serialno: CC523Y403558 (bootloader) imei: 35xxx (bootloader) imei2: Not Support (bootloader) meid: 00000000000000 (bootloader) product: a11_ul (bootloader) platform: hTCBmsm8916 (bootloader) modelid: 0PCV20000 (bootloader) cidnum: HTC__052 (bootloader) battery-status: good (bootloader) battery-voltage: 0mV (bootloader) partition-layout: Generic (bootloader) security: on (bootloader) build-mode: SHIP (bootloader) boot-mode: FASTBOOT (bootloader) commitno-bootloader: cfaddc6b (bootloader) hbootpreupdate: 11 (bootloader) gencheckpt: 0 (bootloader) mfg-name: 1001 Any advice on where i go from here would be good, if anyone has the proper ruu file i need that would be awesome! Thanks *note i have no sd card, and no access to one. Click to expand... Click to collapse what service provider do you have?
MrMike2182 said: what service provider do you have? Click to expand... Click to collapse I'm pretty sure it was Tesco Mobile.
jpno5 said: I'm pretty sure it was Tesco Mobile. Click to expand... Click to collapse So you're on 64 bit since you're out of the Country. (USA). ---------- Post added at 10:41 PM ---------- Previous post was at 10:30 PM ---------- jpno5 said: I'm pretty sure it was Tesco Mobile. Click to expand... Click to collapse Who do you make a payment to for service? Because I can't find Tesco mobile on the HTC website.
MrMike2182 said: So you're on 64 bit since you're out of the Country. (USA). ---------- Post added at 10:41 PM ---------- Previous post was at 10:30 PM ---------- Who do you make a payment to for service? Because I can't find Tesco mobile on the HTC website. Click to expand... Click to collapse It is Tesco mobile, They run on the same network as o2, on htc dev the only reference i could find to tesco was this.. Desire 510 HTC WWE Tesco CRC 3.10.28 v4.4.3 441 MB 1.09.1107.1 and yeah i'm assuming its 64bit.
jpno5 said: It is Tesco mobile, They run on the same network as o2, on htc dev the only reference i could find to tesco was this.. Desire 510 HTC WWE Tesco CRC 3.10.28 v4.4.3 441 MB 1.09.1107.1 and yeah i'm assuming its 64bit. Click to expand... Click to collapse Yeah download that to your computer and then relock the phones bootloader by booting the phone into fastboot but first make sure your device is connected by typing fastboot devices and after it pops up some numbers type fastboot oem lock then while still in fastboot and run the ruu that you downloaded and it should return to stock. Edit: For future reference don't do anything to the phone without an sd card and especially without having a rom to use. You can unlock the bootloader using the same token you got from HTC the first time that way you can root your phone and everything but there is no roms available yet for the 64 bit desire 510 so I'm really lost to why you would wipe your system off like that when you've got nothing to install?
MrMike2182 said: Yeah download that to your computer and then relock the phones bootloader by booting the phone into fastboot but first make sure your device is connected by typing fastboot devices and after it pops up some numbers type fastboot oem lock then while still in fastboot and run the ruu that you downloaded and it should return to stock. Edit: For future reference don't do anything to the phone without an sd card and especially without having a rom to use. You can unlock the bootloader using the same token you got from HTC the first time that way you can root your phone and everything but there is no roms available yet for the 64 bit desire 510 so I'm really lost to why you would wipe your system off like that when you've got nothing to install? Click to expand... Click to collapse That file just contained 2 tar files, kernelxxx.tar and platformxxx.tar, the ruu exe i downloaded was for europe wwe i think, it would't install to the phone as the cid never matched. I also locked the bootloader again when trying that. cheers. *edit It's not actually my phone, i should have looked into it more, I just grabbed the first rom i seen and basically done what i usually do on my oneplus one. I never imagined there would be an issue like this where im struggling this much to get back from.
jpno5 said: That file just contained 2 tar files, kernelxxx.tar and platformxxx.tar, the ruu exe i downloaded was for europe wwe i think, it would't install to the phone as the cid never matched. I also locked the bootloader again when trying that. cheers. *edit It's not actually my phone, i should have looked into it more, I just grabbed the first rom i seen and basically done what i usually do on my oneplus one. I never imagined there would be an issue like this where im struggling this much to get back from. Click to expand... Click to collapse Go back into fastboot and make sure your device is connected again with fastboot devices and then try this "fastboot flash boot <htc_orginal_ruu>" without the quotes.
MrMike2182 said: Go back into fastboot and make sure your device is connected again with fastboot devices and then try this "fastboot flash boot <htc_orginal_ruu>" without the quotes. Click to expand... Click to collapse sorry not too clued up on this, am i meant to replace <htc_orginal_ruu> with a filename ?
jpno5 said: sorry not too clued up on this, am i meant to replace <htc_orginal_ruu> with a filename ? Click to expand... Click to collapse Type it just the way it is if it fails come back and I'll try one more thing that I know of.
MrMike2182 said: Type it just the way it is if it fails come back and I'll try one more thing that I know of. Click to expand... Click to collapse it says the syntax of the command is incorrect.
jpno5 said: it says the syntax of the command is incorrect. Click to expand... Click to collapse Ok take that . zip ruu that you downloaded from the HTC website and rename it to just Rom.zip Go into fastboot and then type fastboot oem rebootRUU Now your booted to the black HTC screen. Make sure your Rom.zip file is in your adb/fastboot folder fastboot flash zip Rom.zip This takes a couple minutes and you will most likely get a error (pre-hboot update: please flush immediately) Make sure device is still in ruu mode(black HTC screen). If not rerun fastboot oem rebootRUU now simply reflash the rom.zip fastboot flash zip Rom.zip Let it run and it should finish this time It will reboot to a fully stock build. just remember, anytime you get a "flush immediately" error, just make sure your still in ruu mode and reflash the zip. The most common error is typically (Error 155) You did not re lock your bootloader first -go relock and flash again If this doesn't work it's most likely because of it being the wrong ruu but it's worth a shot. ---------- Post added at 11:55 PM ---------- Previous post was at 11:46 PM ---------- jpno5 said: it says the syntax of the command is incorrect. Click to expand... Click to collapse You never told me what country you're in.
C:\tools\platform-tools>fastboot oem rebootRUU ... (bootloader) Start Verify: 3 OKAY [ 0.011s] finished. total time: 0.012s C:\tools\platform-tools>fastboot flash zip rom.zip target reported max download size of 16777216 bytes Invalid sparse file format at header magi C:\tools\platform-tools>fastboot flash zip rom.zip -S0 sending 'zip' (451235 KB)... OKAY [ 17.525s] writing 'zip'... (bootloader) signature checking... FAILED (remote: 12 signature verify fail) finished. total time: 47.056s i had to add the -S0 to get it to transfer as i was getting that invalid sparse file format. The error now is the signature checking, anyway round that ? *edit, I'm in the UK.
jpno5 said: C:\tools\platform-tools>fastboot oem rebootRUU ... (bootloader) Start Verify: 3 OKAY [ 0.011s] finished. total time: 0.012s C:\tools\platform-tools>fastboot flash zip rom.zip target reported max download size of 16777216 bytes Invalid sparse file format at header magi C:\tools\platform-tools>fastboot flash zip rom.zip -S0 sending 'zip' (451235 KB)... OKAY [ 17.525s] writing 'zip'... (bootloader) signature checking... FAILED (remote: 12 signature verify fail) finished. total time: 47.056s i had to add the -S0 to get it to transfer as i was getting that invalid sparse file format. The error now is the signature checking, anyway round that ? *edit, I'm in the UK. Click to expand... Click to collapse it was checking to see if that was the right ruu and it was apparently not right so give me a minute to look for something. ---------- Post added at 12:08 AM ---------- Previous post was at 12:02 AM ---------- jpno5 said: C:\tools\platform-tools>fastboot oem rebootRUU ... (bootloader) Start Verify: 3 OKAY [ 0.011s] finished. total time: 0.012s C:\tools\platform-tools>fastboot flash zip rom.zip target reported max download size of 16777216 bytes Invalid sparse file format at header magi C:\tools\platform-tools>fastboot flash zip rom.zip -S0 sending 'zip' (451235 KB)... OKAY [ 17.525s] writing 'zip'... (bootloader) signature checking... FAILED (remote: 12 signature verify fail) finished. total time: 47.056s i had to add the -S0 to get it to transfer as i was getting that invalid sparse file format. The error now is the signature checking, anyway round that ? *edit, I'm in the UK. Click to expand... Click to collapse Download this one and either see if it'll work on the computer or if it fails try changing it to Rom.zip again and flashing in fastboot since fastboot avoids some of the checks. http://dl4.htc.com/RomCode/Source_and_Binaries/a11ul-3.10.28-g72f7e8d.zip
MrMike2182 said: it was checking to see if that was the right ruu and it was apparently not right so give me a minute to look for something. ---------- Post added at 12:08 AM ---------- Previous post was at 12:02 AM ---------- Download this one and either see if it'll work on the computer or if it fails try changing it to Rom.zip again and flashing in fastboot since fastboot avoids some of the checks. http://dl4.htc.com/RomCode/Source_and_Binaries/a11ul-3.10.28-g72f7e8d.zip Click to expand... Click to collapse I't wont let me download that link, but by going with the filename, i've already got and tried it, there was 2 on the htc site that i thought would work, a11ul-3.10.28-g72f7e8d.zip, and a11ul-3.10.28-g930be6d.zip What do you mean by see if it will work on the computer ? the only way i've tried is flashing via fastboot. Thanks
jpno5 said: I't wont let me download that link, but by going with the filename, i've already got and tried it, there was 2 on the htc site that i thought would work, a11ul-3.10.28-g72f7e8d.zip, and a11ul-3.10.28-g930be6d.zip What do you mean by see if it will work on the computer ? the only way i've tried is flashing via fastboot. Thanks Click to expand... Click to collapse This is a backup of your system that someone else uploaded and I'm not really to sure if you can push this to Philz Touch Recovery so you can restore this one but you can try but first you need to unlock the bootloader again using the same token you had and flash philz touch recovery again and then I'll see if this can be pushed to Philz through adb if that doesn't work your last chance is to simply hold on to this file that I'm giving you then go find an sd card and put this file in the root of the sd card and use Philz to restore it. That's all that can be done at this point so go unlock the bootloader again and then install Philz Touch Recovery again and then download this file and then check back here to see if it can be pushed to Philz without an sd.. File. https://www.dropbox.com/s/yg4q8dy3g4vwhlu/Stock_rom_20150519_082814.zip?dl=0 ---------- Post added at 12:48 AM ---------- Previous post was at 12:33 AM ---------- jpno5 said: I't wont let me download that link, but by going with the filename, i've already got and tried it, there was 2 on the htc site that i thought would work, a11ul-3.10.28-g72f7e8d.zip, and a11ul-3.10.28-g930be6d.zip What do you mean by see if it will work on the computer ? the only way i've tried is flashing via fastboot. Thanks Click to expand... Click to collapse If you want to see if you can get that to flash without an sd card you can try.. Again change the zip name to Rom.zip MAKE SURE YOU DELETE ALL THE OTHER ROM.ZIPS YOU MADE BEFORE SO YOU DON'T FLASH THE WRONG ONE!! Boot up your phone to recovery. Move your ROM file to the adb directory where fastboot is and start a command line prompt. adb shell mount data Ctrl+C adb push C:\adb\Rom.zip /data/ Wait until the push finishes, and restart your device to recovery again with "adb reboot-bootloader" Type mount data type again exactly what you see mount /data /sdcard (mount the data folder into your sdcard folder, so your recovery will think that you have an SD card installed) Locate the ROM .zip file you wish to flash. Confirm the flash by following the on-screen phone instructions (ie: pressing the power button, etc.) If no errors arise during the flashing process then the ROM flash was successful. Reboot the device.
I have that file from earlier, i had tried it. For some reason no matter what i try i just can't get adb. It's like 6am here and i've been at this for more than 12 hours straight lol, so time to grab some sleep, if i wake early enough i'll pop into town today and grab an sd card, what do you think the chances of it working are with an sd card? Thanks for your help man, much appreciated.
jpno5 said: I have that file from earlier, i had tried it. For some reason no matter what i try i just can't get adb. It's like 6am here and i've been at this for more than 12 hours straight lol, so time to grab some sleep, if i wake early enough i'll pop into town today and grab an sd card, what do you think the chances of it working are with an sd card? Thanks for your help man, much appreciated. Click to expand... Click to collapse With an sd card 100% and yeah it's 1am over here I stayed up way past my bedtime. ---------- Post added at 12:59 AM ---------- Previous post was at 12:56 AM ---------- jpno5 said: I have that file from earlier, i had tried it. For some reason no matter what i try i just can't get adb. It's like 6am here and i've been at this for more than 12 hours straight lol, so time to grab some sleep, if i wake early enough i'll pop into town today and grab an sd card, what do you think the chances of it working are with an sd card? Thanks for your help man, much appreciated. Click to expand... Click to collapse adb is supposed to be on your computer in the same spot fastboot is and if it's not then just download the mini adb and fastboot that's all you need on the computer. If you don't have adb working then that's why everything we're doing isn't working because it needs adb and fastboot.
Adb just doesn't seem to be a feature on this 64bit model, i tried everything man, every driver i could find, the phone just wouldn't expose the interface. Anyway, popped into town today and bought a 2gb sd card, got home and realised i had no way of plugging it into the computer so after another trip to town lol i managed to transfer that stock install over and flash it and it seems to be fine. I've not had a sim card in it yet to check it calls out. Thanks for your help man, its much appreciated.
jpno5 said: Adb just doesn't seem to be a feature on this 64bit model, i tried everything man, every driver i could find, the phone just wouldn't expose the interface. Anyway, popped into town today and bought a 2gb sd card, got home and realised i had no way of plugging it into the computer so after another trip to town lol i managed to transfer that stock install over and flash it and it seems to be fine. I've not had a sim card in it yet to check it calls out. Thanks for your help man, its much appreciated. Click to expand... Click to collapse I told you 100% with an sd card! ---------- Post added at 03:04 PM ---------- Previous post was at 02:50 PM ---------- jpno5 said: Adb just doesn't seem to be a feature on this 64bit model, i tried everything man, every driver i could find, the phone just wouldn't expose the interface. Anyway, popped into town today and bought a 2gb sd card, got home and realised i had no way of plugging it into the computer so after another trip to town lol i managed to transfer that stock install over and flash it and it seems to be fine. I've not had a sim card in it yet to check it calls out. Thanks for your help man, its much appreciated. Click to expand... Click to collapse By the way adb is working on your phone because If it wasn't you wouldn't have been able to install a recovery period or unlock the bootloader... I think you're just confused with fastboot and adb..
Out of Options and Ideas - Need Help Please [Boot Loop][Soft Brick][Solved!]
*UPDATE*: The issue has been resolved. Read through for more details. So I plug my HTC One (Model: HTC6500L) into my PC to transfer some SSL certifications to my phone. However, before I can manage that HTC Sync says Verizon has an update for me, which I found odd anyway. Against my better judgment I go ahead and try updating. Phone restarts multiple times during the update, nothing abnormal. I check back on Sync's progress once I notice my phones not loading the update anymore and it says it failed. Now whenever I power my phone on it goes through the htc android white screen and then . . . does nothing. It just stays on a black screen until I force power it off, which actually just makes it reboot and do the same thing (looping). Here's the kicker, my PC no longer recognizes my phone and the recovery and factory reset options in the bootloader don't work. I've erased my cache and formatted it from a half working recovery screen, but it won't actually recover anything. So, my question is can I somehow recover my phone to factory settings using fastboot that I'm not aware of? My bootloader is locked and it's a VZW phone so yea. It's also running HBOOT 1.61. I'd be more than happy to use sunshine, but I'm under the impression that the phone has to be usable before I can use sunshine to unlock my bootloader. The phone was completely stock before this. Not sure it helps any but I can contact my phone using fastboot usb and here is the getvar all: (bootloader) version: 0.5 (bootloader) version-bootloader: 1.61.0000 (bootloader) version-baseband: 1.13.41.1209 (bootloader) version-cpld: None (bootloader) version-microp: None (bootloader) version-main: 6.22.605.6 (bootloader) version-misc: PVT SHIP S-ON (bootloader) serialno: FA37HS915851 (bootloader) imei: 990004280452313 (bootloader) meid: 99000428045231 (bootloader) product: m7_wlv (bootloader) platform: HBOOT-8064 (bootloader) modelid: PN0731000 (bootloader) cidnum: VZW__001 (bootloader) battery-status: good (bootloader) battery-voltage: 4342mV (bootloader) partition-layout: Generic (bootloader) security: on (bootloader) build-mode: SHIP (bootloader) boot-mode: FASTBOOT (bootloader) commitno-bootloader: dirty-0e2a13e5 (bootloader) hbootpreupdate: 11 (bootloader) gencheckpt: 0 all: Done! finished. total time: 0.101s I'm open to any ideas you guys may have, or something that I may be missing.
TGblaQk said: So I plug my HTC One (Model: HTC6500L) into my PC to transfer some SSL certifications to my phone. However, before I can manage that HTC Sync says Verizon has an update for me, which I found odd anyway. Against my better judgment I go ahead and try updating. Phone restarts multiple times during the update, nothing abnormal. I check back on Sync's progress once I notice my phones not loading the update anymore and it says it failed. Now whenever I power my phone on it goes through the htc android white screen and then . . . does nothing. It just stays on a black screen until I force power it off, which actually just makes it reboot and do the same thing (looping). Here's the kicker, my PC no longer recognizes my phone and the recovery and factory reset options in the bootloader don't work. I've erased my cache and formatted it from a half working recovery screen, but it won't actually recover anything. So, my question is can I somehow recover my phone to factory settings using fastboot that I'm not aware of? My bootloader is locked and it's a VZW phone so yea. It's also running HBOOT 1.61. I'd be more than happy to use sunshine, but I'm under the impression that the phone has to be usable before I can use sunshine to unlock my bootloader. The phone was completely stock before this. Not sure it helps any but I can contact my phone using fastboot usb and here is the getvar all: (bootloader) version: 0.5 (bootloader) version-bootloader: 1.61.0000 (bootloader) version-baseband: 1.13.41.1209 (bootloader) version-cpld: None (bootloader) version-microp: None (bootloader) version-main: 6.22.605.6 (bootloader) version-misc: PVT SHIP S-ON (bootloader) serialno: FA37HS915851 (bootloader) imei: 990004280452313 (bootloader) meid: 99000428045231 (bootloader) product: m7_wlv (bootloader) platform: HBOOT-8064 (bootloader) modelid: PN0731000 (bootloader) cidnum: VZW__001 (bootloader) battery-status: good (bootloader) battery-voltage: 4342mV (bootloader) partition-layout: Generic (bootloader) security: on (bootloader) build-mode: SHIP (bootloader) boot-mode: FASTBOOT (bootloader) commitno-bootloader: dirty-0e2a13e5 (bootloader) hbootpreupdate: 11 (bootloader) gencheckpt: 0 all: Done! finished. total time: 0.101s I'm open to any ideas you guys may have, or something that I may be missing. Click to expand... Click to collapse Flash the 6.22.605.6 ruu https://www.androidfilehost.com/?fid=24367857647222996. Instructions how to flash in the general section. see the ruu collection thread (sticky thread) Sent from my HTC One using XDA Labs
alray said: Flash the 6.22.605.6 ruu <Link> Instructions how to flash in the general section. see the ruu collection thread (sticky thread) Sent from my HTC One using XDA Labs Click to expand... Click to collapse Sounds great, but your link is dead.
TGblaQk said: Sounds great, but your link is dead. Click to expand... Click to collapse It's a copy/paste problem remove the last dot in the link or Just go on androidfilehost.com and do a search for 6.22.605.6 and download the file that is 1.4gb Sent from my HTC One using XDA Labs
alray said: It's a copy/paste problem remove the last dot in the link or Just go on androidfilehost.com and do a search for 6.22.605.6 and download the file that is 1.4gb Sent from my HTC One using XDA Labs Click to expand... Click to collapse Lol, I was actually doing just that search, but there were a few so I was unsure. However, the copy/pasting link worked. Thanks! I'll update later and letcha know how it turns out. Edit: So I've made it all the way to c:\adb\fastboot flash zip RUU.zip and it throws this: Code: error: preprocess_file : Cannot open file RUU.zip I downloaded the file you linked me, didn't extract it, just renamed it to RUU and threw it into my adb folder. Also, yes I'm using htc_fastboot, just didn't rename it. However the first command oem rebootRUU did work and now my phone is just displaying a black screen with htc on it.
TGblaQk said: Lol, I was actually doing just that search, but there were a few so I was unsure. However, the copy/pasting link worked. Thanks! I'll update later and letcha know how it turns out. Edit: So I've made it all the way to c:\adb\fastboot flash zip RUU.zip and it throws this: Code: error: preprocess_file : Cannot open file RUU.zip I downloaded the file you linked me, didn't extract it, just renamed it to RUU and threw it into my adb folder. Also, yes I'm using htc_fastboot, just didn't rename it. However the first command oem rebootRUU did work and now my phone is just displaying a black screen with htc on it. Click to expand... Click to collapse Can you post a screen shot of your command window and a screenshot of what's inside your c:/adb folder? When youve renamed the file to "ruu" did you add "ruu.zip" or just "ruu" ? If youve type "ruu.zip" then your file name is now RUU.zip.zip (double file extension). Windows is hiding file extension for known file type by default. In the command windows, try to type "fastboot flash zip RUU" then hit your TAB key and it should auto-complete the file name. If you need to exit RUU mode you can simply use "fastboot reboot-bootlaoder" to go back in booloader or "fastboot power off" to turn off the phone.
alray said: Can you post a screen shot of your command window and a screenshot of what's inside your c:/adb folder? When youve renamed the file to "ruu" did you add "ruu.zip" or just "ruu" ? If youve type "ruu.zip" then your file name is now RUU.zip.zip (double file extension). Windows is hiding file extension for known file type by default. In the command windows, try to type "fastboot flash zip RUU" then hit your TAB key and it should auto-complete the file name. If you need to exit RUU mode you can simply use "fastboot reboot-bootlaoder" to go back in booloader or "fastboot power off" to turn off the phone. Click to expand... Click to collapse Sure! Attached both screenshots. At first I did make the mistake of adding .zip when I renamed it. When it failed the first time, it clicked; "You idiot, you just named that file RUU.zip.zip . . . " and so I changed it to just RUU. However, as you see it failed again. Edit: Hitting TAB didn't finish the extension. ._.
TGblaQk said: Sure! Attached both screenshots. At first I did make the mistake of adding .zip when I renamed it. When it failed the first time, it clicked; "You idiot, you just named that file RUU.zip.zip . . . " and so I changed it to just RUU. However, as you see it failed again. Edit: Hitting TAB didn't finish the extension. ._. Click to expand... Click to collapse Was the md5 value good? It should be 574ed7acdcf77263ac60943e2f001d2a Try to type "fastboot flash zip " then drag the RUU.zip file and drop it to your command window and hit enter
alray said: Was the md5 value good? It should be 574ed7acdcf77263ac60943e2f001d2a Try to type "fastboot flash zip " then drag the RUU.zip file and drop it to your command window and hit enter Click to expand... Click to collapse Well either what you suggested worked or what I did worked. I dragged and dropped it like you said, but since I was clearly specifying the location before, that shouldn't have made a difference. So here is what I did; since you mentioned the md5 value I just wanted to check the properties of said file to see if anything was out of the ordinary (never checked the md5 btw). That's when I noticed under the "General" tab in "Properties" at the bottom next to "Security" it states the following: Code: This file came from another computer and might be blocked to help protect this computer. This is followed by a checkbox that says "Unblock". I'm attaching a screenshot just for visual reference of what I'm describing. Finished following the guide, rebooted to bootloader, then rebooted. Currently in the middle of the upgrading process. Again, thanks for all your help, and maybe I've contributed a bit as well. Not sure if that security feature is a default setting for everyone or not, but it's nice to have documentation of it! Final update: After rebooting and as the phone was optimizing apps, the UI failed (SIM wasn't inserted at the time). So I basically just had a tablet. Powered it down, inserted SIM ran factory reset again and now my phone is functioning at 110%! Again, big thanks to alray for his guidance and support along the way.