Welcome to VomerGuides: [M7 Edition]

Donations:

If you would like to support my work donate to me via:

Quote:

I like to track downloads - so please use the official links provided in this guide.

Here is a mirror for all the files in case main links down:



- Firmwares

- Everything Else



Other useful files:



These files can be used to replace/add features in the latest firmware zips posted in this thread.



- Hboot v1.44: http://devhost.xda-developers.com/1zJ



- Touch panel Driver from firmware 2.24.401.1 : http://devhost.xda-developers.com/lL4



- Flash-able Radio Collection: http://forum.xda-developers.com/show....php?t=2419699



- Going back to stock ROM: http://forum.xda-developers.com/show....php?t=2265618



READING & FOLLOWING EACH STEP IS KEY TO SUCCESS

SECTION 0: SYSTEM PREPARATION:

Windows Users

Code: C:\adb\

Code: Go to the C:\adb\ folder - hold down SHIFT key and RIGHT-CLICK and select "Open command window here".





Mac/Linux users

Code: su cd Desktop/Android/ (note: Android is the directory extracted from zip file)

Code: ./ADB-Install-Mac.sh

SECTION 1: S-OFF & SUPERCID

Note: If you are running a 4.4 based ROM and do not want to downgrade to a lower version to use revone or rumrunner - try this tool to S-OFF

Note: revone (used for s-off) has been reported to work best with 4.2.2 roms. Please install a 4.2.2 ROM before attempting S-OFF.

Note: If you are using rumrunner - please follow the instructions to s-off provided on the rumrunner link above. Steps below are for revone only.

Note: Read these useful tips before attempting S-OFF

Mac/Linux users

Windows users

Code: Mac/Linux: adb push /Users/vomer/Desktop/revone /data/local/tmp/ Windows: adb push C:/adb/revone /data/local/tmp/

Code: adb shell su

Code: cd /data/local/tmp

Code: chmod 755 revone

Code: ./revone -P

Code: reboot Note: Stuck with error: -1? When initiating a reboot after "./revone -P" please press and hold the power button for 15 seconds. To start the entire process from scratch please power off the device and wait 30 seconds, turn it on and continue to ."/revone -P".

Code: adb shell su

Code: cd /data/local/tmp

Code: ./revone -P (it will now say success and ask to reboot phone - do it by typing: reboot)

Code: ./revone -s 0 -u

Code: exit (or just close terminal and open a new one)

Code: adb reboot bootloader

Code: adb shell

Code: cd /data/local/tmp

Code: ./revone -t

Code: adb reboot bootloader

Code: fastboot oem writecid 11111111

SECTION 2: FIRMWARE UPGRADE

FIRMWARE FAQ:

FIRMWARE FLASHING:

4.2.2 Base Firmwares:

- 2.17.401.1 : http://devhost.xda-developers.com/PJv (Rename to firmware.zip after downloading)



- 2.24.401.1 : http://devhost.xda-developers.com/WO9 (Rename to firmware.zip after downloading)

2.24.401.8

4.3 Base Firmwares:



- 3.06.1700.10 : http://devhost.xda-developers.com/maA (Rename to firmware.zip after downloading)

- 3.09.401.1 : http://devhost.xda-developers.com/PSE (Rename to firmware.zip after downloading)

- 3.17.401.2 : http://devhost.xda-developers.com/bgE (Rename to firmware.zip after downloading)

- 3.22.1540.1 : http://devhost.xda-developers.com/LLO (Rename to firmware.zip after downloading)

- 3.57.401.500 : http://devhost.xda-developers.com/z6g (Rename to firmware.zip after downloading)

3.62.401.1

4.4 Base

- 4.06.1540.2 (Rename to firmware.zip after downloading)

- 4.06.1540.3 (Rename to firmware.zip after downloading)

- 4.19.401.8 (Rename to firmware.zip after downloading)

- 4.19.401.9 (Rename to firmware.zip after downloading)

- 4.19.401.11 (Rename to firmware.zip after downloading)

- 5.11.1540.9 (Rename to firmware.zip after downloading)

- 5.11.401.10 (Rename to firmware.zip after downloading)

- 6.06.401.1 (Rename to firmware.zip after downloading)

- 6.09.401.5 (Rename to firmware.zip after downloading)

Code: adb reboot bootloader

Code: fastboot getvar all (bootloader) version: 0.5 (bootloader) version-bootloader: 1.44.0000 < This is your bootloader version (bootloader) version-baseband: 4A.16.3250.24 < This is your radio version (bootloader) version-cpld: None (bootloader) version-microp: None (bootloader) version-main: 1.29.666.17 < This is your firmware version (bootloader) version-misc: PVT SHIP S-OFF (bootloader) serialno: <you don't need to know my serial#> (bootloader) imei: <you don't need to know my IMEI> (bootloader) meid: 00000000000000 (bootloader) product: m7_ul (bootloader) platform: HBOOT-8064 (bootloader) modelid: PN0712000 (bootloader) cidnum: 11111111 < This is your CID (bootloader) battery-status: good (bootloader) battery-voltage: 4077mV (bootloader) partition-layout: Generic (bootloader) security: off (bootloader) build-mode: SHIP (bootloader) boot-mode: FASTBOOT

Code: fastboot reboot-bootloader

Code: fastboot oem rebootRUU Note: You should see a silver HTC logo come up on your phone after executing this command. Note: if this command freezes, just disconnect the USB cable and hold the power and volume down buttons until the device reboots. Then, repeat the steps above again.

Code: fastboot flash zip /Users/vomer/Desktop/firmware.zip Windows users: your command will look something like this: fastboot flash zip C:\adb\firmware.zip

Code: sending 'zip' (71868 KB)... OKAY [ 4.936s] 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) start image[hboot] flushing... (bootloader) [RUU]WP,hboot,0 (bootloader) [RUU]WP,hboot,99 (bootloader) [RUU]WP,hboot,100 (bootloader) ...... Successful FAILED (remote: 90 hboot pre-update! please flush image again immediately) finished. total time: 6.410s

Code: fastboot flash zip /Users/vomer/Desktop/firmware.zip

Code: sending 'zip' (71868 KB)... OKAY [ 4.884s] writing 'zip'... (bootloader) zip header checking... (bootloader) zip info parsing... (bootloader) checking model ID... (bootloader) checking custom ID... (bootloader) start image[adsp] unzipping & flushing... (bootloader) [RUU]WP,adsp,0 (bootloader) [RUU]WP,adsp,100 (bootloader) ...... Successful (bootloader) start image[cir] unzipping & flushing... (bootloader) ...... Successful (bootloader) start image[rpm] unzipping & flushing... (bootloader) [RUU]WP,rpm,0 (bootloader) [RUU]WP,rpm,100 (bootloader) ...... Successful (bootloader) start image[sbl1-1] unzipping & flushing... (bootloader) signature checking... (bootloader) verified fail (bootloader) ..... Bypassed (bootloader) start image[sbl1-2] unzipping & flushing... (bootloader) signature checking... (bootloader) verified fail (bootloader) ..... Bypassed (bootloader) start image[sbl1-3] unzipping & flushing... (bootloader) signature checking... (bootloader) [RUU]WP,sbl1-3,0 (bootloader) [RUU]WP,sbl1-3,100 (bootloader) ...... Successful (bootloader) start image[sbl2] unzipping & flushing... (bootloader) [RUU]WP,sbl2,0 (bootloader) [RUU]WP,sbl2,100 (bootloader) ...... Successful (bootloader) start image[sbl3] unzipping & flushing... (bootloader) [RUU]WP,sbl3,0 (bootloader) [RUU]WP,sbl3,100 (bootloader) ...... Successful (bootloader) start image[tp] unzipping & flushing... (bootloader) ...... Successful (bootloader) start image[tz] unzipping & flushing... (bootloader) [RUU]WP,tz,0 (bootloader) [RUU]WP,tz,100 (bootloader) ...... Successful (bootloader) start image[radio] unzipping & flushing... (bootloader) [RUU]WP,radio,0 (bootloader) [RUU]WP,radio,26 (bootloader) [RUU]WP,radio,53 (bootloader) [RUU]WP,radio,79 (bootloader) [RUU]WP,radio,100 (bootloader) ...... Successful OKAY [ 39.601s] finished. total time: 44.485s

Code: fastboot reboot

Code: adb reboot bootloader

Code: fastboot getvar all (bootloader) version: 0.5 (bootloader) version-bootloader: 1.54.0000 < Looks New! (bootloader) version-baseband: 4A.17.3250.14 < Looks New! (bootloader) version-cpld: None (bootloader) version-microp: None (bootloader) version-main: 2.24.401.1 < Looks New! (bootloader) version-misc: PVT SHIP S-OFF (bootloader) serialno: you don't need to know my serial# (bootloader) imei: you don't need to know my IMEI# (bootloader) meid: 00000000000000 (bootloader) product: m7_ul (bootloader) platform: HBOOT-8064 (bootloader) modelid: PN0712000 (bootloader) cidnum: 11111111 < Oh Look! I'm Superman :) (bootloader) battery-status: good (bootloader) battery-voltage: 4331mV (bootloader) partition-layout: Generic (bootloader) security: off (bootloader) build-mode: SHIP (bootloader) boot-mode: FASTBOOT (bootloader) commitno-bootloader: dirty-d16dc66985 (bootloader) hbootpreupdate: 11 (bootloader) gencheckpt: 0 all: Done! finished. total time: 0.061s



SECTION 3: RECOVERY

Code: adb reboot bootloader

Code: Mac/Linux: fastboot flash recovery /Users/vomer/Desktop/openrecovery-twrp-2.6.1.0-m7.img Windows: fastboot flash recovery C:\adb\openrecovery-twrp-2.6.1.0-m7.img

Code: fastboot reboot

Have an M8? There's a guide for that Hey folks!Many of you will find this post similar to the ARHD posts I have made.Based on several suggestions and PM's - I decided to make a separate thread in the hope that this will stop some repeated questions asked in multiple threads.Following this guide will allow you to (in this sequence):- Achieve S-OFF using revone- Change your CID to SuperCID (allowing you to bypass regional ROM restrictions)- Upgrade to the latest firmware ( UL edition ) without loosing any data on your SD card- Install the latest TWRP recoveryI do not believe that I should be charging for information sharing. However, having the physical hardware helps me improve this content and support you better as I do require hardware to test/work on for all my content and it's not always possible for me to find someone to borrow devices from.Thank youI test everything before I share these guides - thus I know they work as intended. However, please proceed at your own risk as I do not take any liability for your devices.Please do not copy contents of this guide without explicit permission from me. I like to maintain a set standard and quality of the information I share.Please refrain from posting mirrors as I like to track downloads - I primarily use AndroidFileHost and they mirror files on multiple servers automatically.Windows Users: It's a good idea to install the HTC drivers on your pc: http://devhost.xda-developers.com/4LL or use this toolkit to install the drivers., download this file and extract the folder called "adb" to your C: drive. Your path should look like this:Also, you will need to open a command prompt window using this method:install ADB & fastboot using: Download 1. Extract the downloaded zip to your desktop2. Open Terminal and type in:3. Now typeNote: By using the method above, your adb and fastboot files are stored at this location on your Mac: /usr/bin/Downloads Required: revone (hboot 1.44) rumrunner (hboot 1.5x): Save this file to your Desktop: Save this file to the C:/adb/ folderAlso, before continuing - make sure you have USB Debugging enabled on your phone (Settings -> Developer Options -> USB Debugging)If you do not see "Developer Options", Go to Settings > About phone > Software > More > click on build number 10 times. This should enable that section.1. Push revone to your device:2. Open adb shell by writing:3. Write in the shell:4. Then write this:5. Next, write the following command:6. Revone reported that I needed to reboot and try again. So I wrote :7. Close your Command Prompt/Terminal window. Open it again and type:8. Write (to change directory in the phone):8a. Write the following command:8b. Once rebooted - repeat steps 7 & 89. To get S-OFF & unlock, write the following command:10. revone will report success. Exit the shell:11. Reboot into bootloader:12. Check if the bootloader screen show's you as S-OFF (it should be in the in the first line under the "pink" highlighted text)13. Reboot the phone14. Start the adb shell, again:15. Change to the folder where revone is stored by typing:16. Request revone to reset tampered flag by typing:17. Exit the adb shell by writing: exit (or just close terminal and open a new one)18. Reboot to the bootloader by writing:19. Phone should now be S-OFF and tampered flag should be goneNow stay at this bootloader screen with your phone plugged in to the PC - and follow the steps in Part 2 below.Now lets get you SuperCID:1. Open terminal/command prompt and type (copy paste command below or make sure there a eight 1's):2. Reboot phone into bootloader mode () and verify CID#. It should look similar to this:Do I need S-OFF for firmware flashing?YES!Do I NEED to update my firmware?NO! But doing so ensures optimal phone performance.Does it matter when I flash the firmware (before or after new ROM install)NO!Will updating the firmware erase my SD card or Apps?NO! The firmware files provided in this guide take care of this for you so none of those get erased.If I only flash the ROM, will I get updated to the latest firmware?NO!Can I install a U edition firmware on a UL edition phone?YES, but you might loose the ability to connect to LTE or have some other incompatibilities.Firmware Downloads (SD card will not be wiped using these files):-----Windows users, you need to do these steps first:- move the file you downloaded and renamed (firmware.zip) to the C:\adb\ folder.- next, in the C:\adb\ folder hold down SHIFT key and RIGHT-CLICK and select "Open command window here".-----First, plug in phone to PC and type this in terminal/command prompt:-----Let's start by checking current system details. Type:Now type:After that, type:Finally:Got this:Repeated same command:Got this:Last Step:Then I went back to the bootloader mode (after the phone reboots successfully):Checked if the update worked:: I personally prefer TWRP - so my guide below points to using TWRP.If you like CWM, you can follow the same steps but with the latest CWM file.----Get latest TWRP: http://techerrata.com/browse/twrp2/m7ul With your phone plugged into your PC, type in:Once in bootloader mode, type:Then:You are now the the latest version of TWRP.----That's it! Enjoy your new found freedom