Sorry, This thread became a victim of change;
THE GUIDE WAS CUT OFF and has now been restored from a word doc on my drive. It ain't fancy like it used to be though
Warning! Using HTCdev:
Even after wiping and flashing a fresh RUU, the bootloader will display "*** RELOCKED ***". HTC will know that you had unlocked the bootloader. When sending for warrenty, you may be charged because of this. Read the warnings when using HTCdev for more info.
It is not true root, as we are not gaining S-OFF which allows access to low level portions of the system.
* We have to flash a ROMs boot.img using USB and SDK. Modded Recovery is not given that access with the bootloader unlocked.
Detailed Root HTC Desire S using HTCdev, Superuser and ClockWorkMod Recovery. Install a custom ROM.
Tested devices, prior to mod:
-1- GB, Factory loaded RUU;
* hboot 2.00.0002 and S-ON
* Android 2.3.5, HTC Sense 3.0. Software/Build 2.15.832.5, Kernel 2.6.35.10, Baseband 20.4801.30.0822U_3822.10.08.04_M
-2- ICS, RUU_SAGA_ICS_35_S_HTC_Europe_14.01.401.2_Radio_20. 76.30.0835_3831.19.00.110_release_275068_signed, Tested with TWRP 2.2.2.0 Recovery;
* hboot 2.02.0002 and S-ON
* Android 4.0.4, HTC Sense 3.6. Software/Build 14.01.401.2 [710RD], Kernel 3.0.16, Baseband 20.76.30.0835U_3831.19.00.110
Index:
Notes
Tips
Downloads that are used within guide
1. Prerequisites. Download and setups
2. Unlock Bootloader
3. ClockWorkMod Recovery
4. Push some files to your SD card
5. Superuser
6. Root with CM7
7. Setup apps
97. Unroot / Full Wipe and Restore
98. How to downgrade with RUU
99. How to create a GoldCard without phone
Notes:
! Pretty much all guides say it, and so... you should create a GoldCard before doing anything : [Guide] How to create a Goldcard it can save your life!
! Backup any phone data; pics and music you wish to keep, to your PC before proceeding.
! First take note of your software details ('Settings' » 'About phone' » 'Software information') and hboot version and status ('Power off' » 'Volume Down + Power').
! Have your battery charged to at least 30%. I try for 100%
! Avoid pulling your battery, unless absolutely required. Find 'POWER DOWN' within the FASTBOOT section of hboot, and 'power off' in CWM 'RECOVERY' or 'Power Off' in the 'Reboot' sub-menu of TWRP2
+ You don't need a SIM card inserted.
+ I'm now using TWRP2 Recovery in replacement of ClockWorkMod Recovery. Will be trying 4EXT Recovery also. If you decide to use a Recovery other than CWM, use some initiative on navigating the menu of your chosen Recovery while following CWM Recovery details.
Tips:
@ PC = Personal Computer
@ MP = Mobile Phone
! MP: Enable USB debugging:
GB [2.3.x] ('Settings' » 'Applications' » 'Development' » 'USB debugging')
ICS [4.0.x] ('Settings' > 'Developer options' > 'USB debugging')
! MP: Disable Fastboot ('Settings' » 'Power' » 'Fastboot') for the following...
* BOOTLOADER = Phone is off, 'Volume Down + Power'
<OR> 'BOOTLOADER' while in Fastboot mode
<OR> Possible option while in Modded Recovery
* FASTBOOT = Phone is off, 'Volume Down + Power' » 'FASTBOOT'
* RECOVERY = Phone is off, 'Volume Down + Power' » 'RECOVERY'
Downloads that are used within guide:
1. Superuser (http://www.clockworkmod.com/rommanager/developers/saga?name=HTC Desire S | Superuser-3.1.3-arm-signed.zip)
<OR> SuperSU (http://forum.xda-developers.com/showthread.php?t=1538053 | CWM-SuperSU-v0.96.zip)
2. ClockWorkMod Recovery (http://www.clockworkmod.com/rommanager | recovery-clockwork-5.0.2.0-saga.img)
<OR> TWRP2 Recovery (http://teamw.in/project/twrp2/68 | openrecovery-twrp-2.2.2.0-saga.img)
<OR> 4EXT Recovery (www.4ext.net/ddl/saga/recovery.zip | recovery.zip)
3. CM7 ROM & Google Apps; You can download and use any ROM built for Desire S, but I'll be using CyanogenMod as an example.
-3A- ROM (http://download.cyanogenmod.com/?device=saga | cm-7.2.0-saga.zip)
-3B- Google Apps;
Gingerbread [2.3.x] ROMs (http://goo.im/gapps/ | gapps-gb-20110828-signed.zip) * CM7 is 2.3.7 Gingerbread
<OR> Ice Cream Sandwich [4.0.x] ROMs (gapps-ics-20120429-signed.zip)
<OR> Jelly Bean [4.1.x] ROMs (gapps-jb-20120726-signed.zip)
1. Prerequisites. Download and setups:
1-1. PC: Temporarily Disable any Antivirus programs actively monitoring your PC, prevent possible error/false positives
1-2. PC: Download and Install Android SDK (http://developer.android.com/sdk/index.html) to "C:\Android". Install Platform-tools with SDK Manager
1-3. PC: Download and Install HTC Sync (http://www.htc.com/www/help/)
Optional setup of ADB Platform-Tools...
<Option> Setup platform-tools for future ease of use (not required)...
1-a1. PC: Search box, type; cmd, right-click on 'cmd.exe' and 'Run as Administrator'
1-a2. PC: Then
Code:
setx path /m "%PATH%;C:\Android\platform-tools"
1-a3. PC: Then restart 'cmd.exe' and
Code:
adb
to see if it worked. Should display adb help information
2. Unlock Bootloader:
2-1. PC/MP: Go to http://htcdev.com/bootloader/ | Not listed? All Other Supported Models, follow the HTCdev steps
How to Re-Unlock...
<OR> If you have used htcdev.com before and have "Unlock_code.bin" file for your individual phone...
2-a1. MP: 'FASTBOOT' & USB (Fastboot USB)
2-a2. PC: Put "Unlock_code.bin" into your Platform-tools folder (C:\Android\platform-tools), 'shift + right-click' platform-tools folder and 'Open command window here'
2-a3. PC: Then
Code:
fastboot flash unlocktoken Unlock_code.bin
2-a4. MP: Volume buttons to highlight your choice, and the Power button to make your selection.
2-a5. MP: Fastboot and USB debugging will return to default, so you will need to disable Fastboot and enable USB debugging again (see Tips)
How to Re-Lock...
<Info> How to re-lock (not default lock)...
2-b1. MP: 'FASTBOOT' & USB (Fastboot USB)
2-b2. PC: Then
Code:
fastboot oem lock
3. ClockWorkMod Recovery:
3-1. MP: 'FASTBOOT' & USB (Fastboot USB)
3-2. PC: Put "recovery-clockwork-5.0.2.0-saga.img" into your Platform-tools folder (C:\Android\platform-tools), 'shift + right-click' the folder and 'Open command window here'
3-3. PC: Then
Code:
fastboot flash recovery recovery-clockwork-5.0.2.0-saga.img
<OR> For TWRP2 Recovery users...
Code:
fastboot flash recovery openrecovery-twrp-2.2.2.0-saga.img
<OR> For 4EXT Recovery users, extract the recovery.img from the zip and...
Code:
fastboot flash recovery recovery.img
+ If you wish to backup current ROM...
3-a1. MP: 'RECOVERY'
3-a2. MP: Select 'backup and restore'
3-a3. MP: Select 'backup'
4. Push some files to your SD card:
There are multiple ways to get files onto your SD card.
My preferred method is to mount the SD card with ClockWorkMod Recovery;
4-1. MP: 'RECOVERY' & USB » 'mounts and storage' » 'mount /sdcard' » 'mount USB storage'
4-2. PC: Copy these files to your SD card; "Superuser-3.1.3-arm-signed.zip", "cm-7.2.0-saga.zip" and "gapps-gb-20110828-signed.zip" (that's SU, your ROM and Google Apps)
4-3. MP: Unmount the storage when done
Optional methods of placing files on SD card...
<OR> Using SD card reader; put those files mentioned above, onto the SD card
<OR> Using ADB with USB debugging enabled...
4-a1. PC: Put the files, mentioned above, into the platform-tools folder (C:\Android\platform-tools), 'shift + right-click' the folder and 'Open command window here'
4-a2. PC: Send Superuser zip;
Code:
adb push Superuser-3.1.3-arm-signed.zip /sdcard/
Send ROM zip;
Code:
adb push cm-7.2.0-saga.zip /sdcard/
and Send Google Apps zip;
Code:
adb push gapps-gb-20110828-signed.zip /sdcard/
5. Superuser:
5-1. MP: 'RECOVERY'
5-2. MP: Select 'install zip from sdcard'
5-3. MP: Then Select 'choose zip from sdcard'
5-4. MP: Then Select 'Superuser-3.1.3-arm-signed.zip'
<OR> 'CWM-SuperSU-v0.96.zip'
5-5. MP: Then Select 'Yes - install Superuser-3.1.3-arm-signed.zip' to confirm
5-6. MP: Then 'power off'
! STOP HERE IF YOU JUST WANT SUPERUSER ACCESS. This allows a good deal of modification. You can remove system apps (or branded crap bloatware) with Root App Delete or Titanium Backup (or similar app). (e.g. Send FM Radio to recycle (backup), if you never carry headphones anyway. If all goes good, you can delete it fully from the recycle (backup).
6. Root with CM7:
You can choose your own ROM (http://www.clockworkmod.com/rommanager/ or Google for others), you don't have to use CM7
! Complete step 5 (Superuser) again if you wipe/clear your data/cache/system between boots
6-1. MP: 'RECOVERY'
6-2. MP: 'wipe data/factory reset'
6-3. MP: 'wipe cache partition'
6-4. MP: 'advanced' » 'Wipe Dalvik Cache' » '++Go Back++'
6-5. MP: 'install zip from sdcard'
6-6. MP: 'choose zip from sdcard', do the ROM zip first, and then step 6-6 again using Google Apps zip
6-7. MP: Then 'power off'
6-8. MP: 'FASTBOOT' & USB (Fastboot USB)
6-9. PC: Extract boot.img from ROM "cm-7.2.0-saga.zip"
6-10. PC: Put "boot.img" into your Platform-tools folder (C:\Android\platform-tools), 'shift + right-click' platform-tools folder and 'Open command window here'
6-11. PC: Then
Code:
fastboot flash boot boot.img
6-12. MP: 'POWER DOWN' and start your phone normally. You should now have a custom ROM installed that boots
7. Setup apps:
7-1. MP: Sign in, or create, a Google Account to get Play Store (market)
7-2. MP: 'Play Store' » search "Superuser". Update Superuser [ChainsDD] <OR> SuperSU [Chainfire], if that came with your ROM
7-3. MP: 'Play Store' » search "ClockWorkMod" <OR> Your recovery used. Update/install if available
7-4. MP: For those using CWM; 'ROM Manager' » 'Flash ClockWorkMod Recovery', to enable Install ROM from SD Card feature
7-5. MP: 'Play Store' » search "Root App Delete" [TopDev] <OR> "Titanium Backup" [Titanium Track]. You can use either of these apps to recycle/freeze and remove system apps
97. Unroot / Full Wipe and Restore:
97-1. MP: 'RECOVERY'
97-2. MP: 'wipe data/factory reset'
97-3. MP: 'wipe cache partition'
97-4. MP: 'advanced' » 'Wipe Dalvik Cache' » '++Go Back++' & 'power off'
97-5. PC: Re-lock your bootloader; 'FASTBOOT' & USB (Fastboot USB)
Code:
fastboot oem lock
* Ignore "FAILED (status read failed (No such file or directory))"
97-6. PC: At http://forum.xda-developers.com/showthread.php?t=1002506, follow the filefactory link. Search the list for your original Software/Build version, download and run your RUU with the phone still in Fastboot USB mode
* Give the RUU some time to flash. When first booted and you unlock the screen, give a possible white HTC screen a bit of time as the first run setup wizard starts
RUU notes:
GoldCard allows another region and branding (e.g. HTC_Europe)
misc_version (/w Superuser) allows a lower build (e.g. _2.10.401.9_Radio...)
98. How to downgrade with RUU:
! Complete the Unroot detailed above, flashing with the RUU that you last used, or one matching your brand and build (if build not available, use newer build). Don't use a modded ROM while doing the following...
* On it's own, the following allows a RUU of same carrier (e.g. Vodafone) and region (e.g. UK), but of lower version. If you need to change to another region or go unbranded see [Guide] How to create a Goldcard. You can combine the use of a GoldCard and misc_version method outlined here, to achieve any combination of region, branding and build.
98-1. PC/MP: Unlock Bootloader with HTCdev, see step 2
98-2. MP: Flash Recovery, see step 3
98-3. MP: Install Superuser, see step 5 (and 4)
98-4. MP: Start phone normally and ensure USB debugging is enabled (see Tips)
98-5. PC: Download "misc_version_universal.zip" (https://github.com/downloads/hyuh/misc_version_universal/misc_version_universal.zip) and extract "misc_version" file to the platform-tools folder (C:\Android\platform-tools), 'shift + right-click' the folder and 'Open command window here'
Code:
adb push misc_version /data/local/tmp/
then
Code:
adb shell
* Should say $, at text cursor (not Superuser)
then
Code:
su
* Should change to #, at text cursor (Superuser)
then
Code:
chmod 777 /data/local/tmp/misc_version
then, change the 1.00.000.0 to the build of RUU you wish to downgrade (e.g. RUU_Saga_S_HKCSL_CHT_2.15.832.5_Radio...)
Code:
/data/local/tmp/misc_version -s 1.00.000.0
then
Code:
exit
and
Code:
exit
98-6. PC/MP: Power off', 'FASTBOOT' & USB, Re-Lock your bootloader (step 2) and now run your RUU in Fastboot USB mode
99. How to create a GoldCard without phone:
! THIS DOES NOT WORK WITH USB CARD READER. You need either a laptop SD card reader with micro SD adapter, or directly connected PCI-based SD Card slot on your PC.
* May be handy if your phone is stuck at bootloader and you don't have another android device to create the GoldCard as instructed at [Guide] How to create a Goldcard
99-1. PC: Download ReadCID.zip (http://jo0ls-dotnet-stuff.blogspot.com/2008/12/read-secure-digital-sd-card-serial.html), extract "ReadCID.exe" to a happy place
99-2. PC: Download HxD Hex Editor (http://mh-nexus.de/en/hxd/), extract the "setup.exe" and install the program
99-3. PC: Full Format (FAT32, Default allocation size, no Volume label) your 2GB SD card (not quick format) using an SD card reader
99-4. PC: 'Right-click' & 'Run as administrator' the "ReadCID.exe". Copy and paste the CID number to (psas.revskills.de/?q=goldcard)
99-5. PC: Download your "goldcard.img" file from psas.revskills.de
99-6. PC: Start HxD Hex Editor, click on Extras, Open disk and select your SD card
99-7. PC: Click on Extras, Open disk image and select goldcard.img
99-8. PC: Open the second tab (goldcard.img) and then Edit » Select all
99-9. PC: Open the first tab (microsd), Select lines 1-170 and then Edit » Paste write
99-10. PC: Click on Save and your GoldCard should be good to go
* Now you can download a RUU, put the SD card in phone and flash while in Fastboot USB mode. Either keep the card for future use, or full format with your card reader to use as normal. You can put whatever you want on a GoldCard and it will remain gold until you full format it.
--- additional stuff, my personal apps etc...
Battery tips:
1. Don't use live wallpapers constantly. Sure, show them off to friends, but go back to a static wallpaper when your done.
2. Avoid using high levels of display brightness. Auto is generally good, and anything at or under 50% is tonnes better than anything over 50% brightness.
3. Ignore the wipe battery stats options and just ignore it.
4. Recharge your battery when you can. Try for 30% or below, but I don't think it really matters.
5. Don't use Task Killers to kill apps continuously like a resource crazed mad man, instead you can use them for monitoring purposes only.
A. Apps & Games (entirely freeware):
! APPLICATION | ! GAME | * Don't/can't block with firewall
AdAway [Dominik Schürmann] (block ads and scan for adware) *
Adobe Air [Adobe Systems] (some app may need it) *
Adobe Reader [Adobe Systems] (read pdf files) *
Advanced Task Killer [ReChild] (make a good ignore list, don't kill everything. use it for monitoring)
Angry Birds [Rovio Mobile Ltd.]
App 2 SD [Sam Lu] (move apps to SD card real easy)
avast! Mobile Security [AVAST Software] (simply awesome AV, Anti-Theft & Firewall) *
Barcode Scanner [ZXing Team]
Battery Widget [Elvison] (handy if you don't have (can't get) the HTC widget)
Blast Monkeys [Yobonja]
Bubble Blast 2 [Magma Mobile]
Cooking Conversions [MAKE Products] (measurement conversions handy)
Cool Tool - system stats [deviantstudio] (can use to see battery mA draw, amongst other useful reads)
CPU Memory Monitor [Pavel Ugo] (list running processes by CPU usage)
Custom Locale [inKa] (change language beyond default listing)
Dictionary.com *
Dolphin Browser (my favorite browser) *
Drag Racing [Creative]
Dropbox [Dropbox, Inc.] *
Easy Uninstaller [INFOLIFE] (could be useful in removing multiple apps)
Elixir 2 [Tamás Barta] (system tool, full of features)
ES File Explorer [EStrongs] (ES Image viewer is very useful)
ES Task Manager [EStrongs] (clear cache and check system settings)
Facebook *
Gmail [Google] *
Google Drive *
Google Earth *
Google Goggles *
Google Play Books *
Google Translate *
GPS Essentials [mictale.com] (need direction? compass)
Line Runner [Djinnworks]
Maps [Google] *
Moon Chaser [Reverie]
Mouse [Magma]
My Tracks [Google] *
My Xbox LIVE [Microsoft] (xbox live official app) *
No-frills CPU Control [SINÉO] (useful for solidifying CPU frequency for testing/benchmarking)
Pool Master Pro [TerranDroid]
Root App Delete [TopDev] (allows freeze and/or remove system apps using superuser)
Sky Map [Sky Map Devs] *
SpeedCar [OoO]
SpeedMoto [OoO]
Speedtest.net [Ookla] (test network connection) *
Storage Analyser [LeveloKment] (whats using your storage)
Street View on Google Maps [Google] *
SuperSU [Chainfire] (superuser replacement, recommended by the masses)
Temple Run [Imangi]
Total Commander [C. Ghisler] (preferred file explorer)
Tuner - gStrings [cohortor.org] (tune your guitar with android power)
Virtual Table Tennis 3D [Clapfoot]
Voice Search [Google] *
Wifi Analyzer [farproc] (scan the neighborhood and find a good channel)
Words With Friends [Zynga] *
XE Currency [XE.com] *
YouTube [Google] *
Zedge [Zedge] (wallpapers and ringtones galore) *
Zombie Dash [Italy Games]
B. Part time apps:
AnTuTu Benchmark [ANTUTU]
aSpotCat [Sam Lu] (list app permissions. avast! can show this too)
CF-Bench [Chainfire] (benchmark)
Fast discharge [TAKETAKE] (handy to discharge battery if required)
NenaMark1 [Nena Innovation AB] (benchmark)
NenaMark2 [Nena Innovation AB] (benchmark)
Quadrant Standard Edition [Aurora] (benchmark)
C. Replaced apps:
Antivirus Free [AVG Mobilation] (replaced with avast! Mobile Security) *
D. Decommissioned apps
Bunny Shooter [Best Cool...] (detected as adware by AdAway) *
Cartoon Wars [GAMEVIL Inc.] (detected as adware by AdAway) *
E. System Apps removed from stock ROM, my personal preference (If you use it, keep it... obviously):
Flickr
FM Radio
FM Radio (plugin/wallpaper/theme)
Peep
Picasa Web Albums
QXDM2SD
Thai Keyboard
Trends Widget
Twitter
Twitter Widget
Watch
Watch Widget
ZingKey
THE GUIDE WAS CUT OFF and has now been restored from a word doc on my drive. It ain't fancy like it used to be though
Warning! Using HTCdev:
Even after wiping and flashing a fresh RUU, the bootloader will display "*** RELOCKED ***". HTC will know that you had unlocked the bootloader. When sending for warrenty, you may be charged because of this. Read the warnings when using HTCdev for more info.
It is not true root, as we are not gaining S-OFF which allows access to low level portions of the system.
* We have to flash a ROMs boot.img using USB and SDK. Modded Recovery is not given that access with the bootloader unlocked.
Detailed Root HTC Desire S using HTCdev, Superuser and ClockWorkMod Recovery. Install a custom ROM.
Tested devices, prior to mod:
-1- GB, Factory loaded RUU;
* hboot 2.00.0002 and S-ON
* Android 2.3.5, HTC Sense 3.0. Software/Build 2.15.832.5, Kernel 2.6.35.10, Baseband 20.4801.30.0822U_3822.10.08.04_M
-2- ICS, RUU_SAGA_ICS_35_S_HTC_Europe_14.01.401.2_Radio_20. 76.30.0835_3831.19.00.110_release_275068_signed, Tested with TWRP 2.2.2.0 Recovery;
* hboot 2.02.0002 and S-ON
* Android 4.0.4, HTC Sense 3.6. Software/Build 14.01.401.2 [710RD], Kernel 3.0.16, Baseband 20.76.30.0835U_3831.19.00.110
Index:
Notes
Tips
Downloads that are used within guide
1. Prerequisites. Download and setups
2. Unlock Bootloader
3. ClockWorkMod Recovery
4. Push some files to your SD card
5. Superuser
6. Root with CM7
7. Setup apps
97. Unroot / Full Wipe and Restore
98. How to downgrade with RUU
99. How to create a GoldCard without phone
Notes:
! Pretty much all guides say it, and so... you should create a GoldCard before doing anything : [Guide] How to create a Goldcard it can save your life!
! Backup any phone data; pics and music you wish to keep, to your PC before proceeding.
! First take note of your software details ('Settings' » 'About phone' » 'Software information') and hboot version and status ('Power off' » 'Volume Down + Power').
! Have your battery charged to at least 30%. I try for 100%
! Avoid pulling your battery, unless absolutely required. Find 'POWER DOWN' within the FASTBOOT section of hboot, and 'power off' in CWM 'RECOVERY' or 'Power Off' in the 'Reboot' sub-menu of TWRP2
+ You don't need a SIM card inserted.
+ I'm now using TWRP2 Recovery in replacement of ClockWorkMod Recovery. Will be trying 4EXT Recovery also. If you decide to use a Recovery other than CWM, use some initiative on navigating the menu of your chosen Recovery while following CWM Recovery details.
Tips:
@ PC = Personal Computer
@ MP = Mobile Phone
! MP: Enable USB debugging:
GB [2.3.x] ('Settings' » 'Applications' » 'Development' » 'USB debugging')
ICS [4.0.x] ('Settings' > 'Developer options' > 'USB debugging')
! MP: Disable Fastboot ('Settings' » 'Power' » 'Fastboot') for the following...
* BOOTLOADER = Phone is off, 'Volume Down + Power'
<OR> 'BOOTLOADER' while in Fastboot mode
<OR> Possible option while in Modded Recovery
* FASTBOOT = Phone is off, 'Volume Down + Power' » 'FASTBOOT'
* RECOVERY = Phone is off, 'Volume Down + Power' » 'RECOVERY'
Downloads that are used within guide:
1. Superuser (http://www.clockworkmod.com/rommanager/developers/saga?name=HTC Desire S | Superuser-3.1.3-arm-signed.zip)
<OR> SuperSU (http://forum.xda-developers.com/showthread.php?t=1538053 | CWM-SuperSU-v0.96.zip)
2. ClockWorkMod Recovery (http://www.clockworkmod.com/rommanager | recovery-clockwork-5.0.2.0-saga.img)
<OR> TWRP2 Recovery (http://teamw.in/project/twrp2/68 | openrecovery-twrp-2.2.2.0-saga.img)
<OR> 4EXT Recovery (www.4ext.net/ddl/saga/recovery.zip | recovery.zip)
3. CM7 ROM & Google Apps; You can download and use any ROM built for Desire S, but I'll be using CyanogenMod as an example.
-3A- ROM (http://download.cyanogenmod.com/?device=saga | cm-7.2.0-saga.zip)
-3B- Google Apps;
Gingerbread [2.3.x] ROMs (http://goo.im/gapps/ | gapps-gb-20110828-signed.zip) * CM7 is 2.3.7 Gingerbread
<OR> Ice Cream Sandwich [4.0.x] ROMs (gapps-ics-20120429-signed.zip)
<OR> Jelly Bean [4.1.x] ROMs (gapps-jb-20120726-signed.zip)
1. Prerequisites. Download and setups:
1-1. PC: Temporarily Disable any Antivirus programs actively monitoring your PC, prevent possible error/false positives
1-2. PC: Download and Install Android SDK (http://developer.android.com/sdk/index.html) to "C:\Android". Install Platform-tools with SDK Manager
1-3. PC: Download and Install HTC Sync (http://www.htc.com/www/help/)
Optional setup of ADB Platform-Tools...
<Option> Setup platform-tools for future ease of use (not required)...
1-a1. PC: Search box, type; cmd, right-click on 'cmd.exe' and 'Run as Administrator'
1-a2. PC: Then
Code:
setx path /m "%PATH%;C:\Android\platform-tools"
1-a3. PC: Then restart 'cmd.exe' and
Code:
adb
to see if it worked. Should display adb help information
2. Unlock Bootloader:
2-1. PC/MP: Go to http://htcdev.com/bootloader/ | Not listed? All Other Supported Models, follow the HTCdev steps
How to Re-Unlock...
<OR> If you have used htcdev.com before and have "Unlock_code.bin" file for your individual phone...
2-a1. MP: 'FASTBOOT' & USB (Fastboot USB)
2-a2. PC: Put "Unlock_code.bin" into your Platform-tools folder (C:\Android\platform-tools), 'shift + right-click' platform-tools folder and 'Open command window here'
2-a3. PC: Then
Code:
fastboot flash unlocktoken Unlock_code.bin
2-a4. MP: Volume buttons to highlight your choice, and the Power button to make your selection.
2-a5. MP: Fastboot and USB debugging will return to default, so you will need to disable Fastboot and enable USB debugging again (see Tips)
How to Re-Lock...
<Info> How to re-lock (not default lock)...
2-b1. MP: 'FASTBOOT' & USB (Fastboot USB)
2-b2. PC: Then
Code:
fastboot oem lock
3. ClockWorkMod Recovery:
3-1. MP: 'FASTBOOT' & USB (Fastboot USB)
3-2. PC: Put "recovery-clockwork-5.0.2.0-saga.img" into your Platform-tools folder (C:\Android\platform-tools), 'shift + right-click' the folder and 'Open command window here'
3-3. PC: Then
Code:
fastboot flash recovery recovery-clockwork-5.0.2.0-saga.img
<OR> For TWRP2 Recovery users...
Code:
fastboot flash recovery openrecovery-twrp-2.2.2.0-saga.img
<OR> For 4EXT Recovery users, extract the recovery.img from the zip and...
Code:
fastboot flash recovery recovery.img
+ If you wish to backup current ROM...
3-a1. MP: 'RECOVERY'
3-a2. MP: Select 'backup and restore'
3-a3. MP: Select 'backup'
4. Push some files to your SD card:
There are multiple ways to get files onto your SD card.
My preferred method is to mount the SD card with ClockWorkMod Recovery;
4-1. MP: 'RECOVERY' & USB » 'mounts and storage' » 'mount /sdcard' » 'mount USB storage'
4-2. PC: Copy these files to your SD card; "Superuser-3.1.3-arm-signed.zip", "cm-7.2.0-saga.zip" and "gapps-gb-20110828-signed.zip" (that's SU, your ROM and Google Apps)
4-3. MP: Unmount the storage when done
Optional methods of placing files on SD card...
<OR> Using SD card reader; put those files mentioned above, onto the SD card
<OR> Using ADB with USB debugging enabled...
4-a1. PC: Put the files, mentioned above, into the platform-tools folder (C:\Android\platform-tools), 'shift + right-click' the folder and 'Open command window here'
4-a2. PC: Send Superuser zip;
Code:
adb push Superuser-3.1.3-arm-signed.zip /sdcard/
Send ROM zip;
Code:
adb push cm-7.2.0-saga.zip /sdcard/
and Send Google Apps zip;
Code:
adb push gapps-gb-20110828-signed.zip /sdcard/
5. Superuser:
5-1. MP: 'RECOVERY'
5-2. MP: Select 'install zip from sdcard'
5-3. MP: Then Select 'choose zip from sdcard'
5-4. MP: Then Select 'Superuser-3.1.3-arm-signed.zip'
<OR> 'CWM-SuperSU-v0.96.zip'
5-5. MP: Then Select 'Yes - install Superuser-3.1.3-arm-signed.zip' to confirm
5-6. MP: Then 'power off'
! STOP HERE IF YOU JUST WANT SUPERUSER ACCESS. This allows a good deal of modification. You can remove system apps (or branded crap bloatware) with Root App Delete or Titanium Backup (or similar app). (e.g. Send FM Radio to recycle (backup), if you never carry headphones anyway. If all goes good, you can delete it fully from the recycle (backup).
6. Root with CM7:
You can choose your own ROM (http://www.clockworkmod.com/rommanager/ or Google for others), you don't have to use CM7
! Complete step 5 (Superuser) again if you wipe/clear your data/cache/system between boots
6-1. MP: 'RECOVERY'
6-2. MP: 'wipe data/factory reset'
6-3. MP: 'wipe cache partition'
6-4. MP: 'advanced' » 'Wipe Dalvik Cache' » '++Go Back++'
6-5. MP: 'install zip from sdcard'
6-6. MP: 'choose zip from sdcard', do the ROM zip first, and then step 6-6 again using Google Apps zip
6-7. MP: Then 'power off'
6-8. MP: 'FASTBOOT' & USB (Fastboot USB)
6-9. PC: Extract boot.img from ROM "cm-7.2.0-saga.zip"
6-10. PC: Put "boot.img" into your Platform-tools folder (C:\Android\platform-tools), 'shift + right-click' platform-tools folder and 'Open command window here'
6-11. PC: Then
Code:
fastboot flash boot boot.img
6-12. MP: 'POWER DOWN' and start your phone normally. You should now have a custom ROM installed that boots
7. Setup apps:
7-1. MP: Sign in, or create, a Google Account to get Play Store (market)
7-2. MP: 'Play Store' » search "Superuser". Update Superuser [ChainsDD] <OR> SuperSU [Chainfire], if that came with your ROM
7-3. MP: 'Play Store' » search "ClockWorkMod" <OR> Your recovery used. Update/install if available
7-4. MP: For those using CWM; 'ROM Manager' » 'Flash ClockWorkMod Recovery', to enable Install ROM from SD Card feature
7-5. MP: 'Play Store' » search "Root App Delete" [TopDev] <OR> "Titanium Backup" [Titanium Track]. You can use either of these apps to recycle/freeze and remove system apps
97. Unroot / Full Wipe and Restore:
97-1. MP: 'RECOVERY'
97-2. MP: 'wipe data/factory reset'
97-3. MP: 'wipe cache partition'
97-4. MP: 'advanced' » 'Wipe Dalvik Cache' » '++Go Back++' & 'power off'
97-5. PC: Re-lock your bootloader; 'FASTBOOT' & USB (Fastboot USB)
Code:
fastboot oem lock
* Ignore "FAILED (status read failed (No such file or directory))"
97-6. PC: At http://forum.xda-developers.com/showthread.php?t=1002506, follow the filefactory link. Search the list for your original Software/Build version, download and run your RUU with the phone still in Fastboot USB mode
* Give the RUU some time to flash. When first booted and you unlock the screen, give a possible white HTC screen a bit of time as the first run setup wizard starts
RUU notes:
GoldCard allows another region and branding (e.g. HTC_Europe)
misc_version (/w Superuser) allows a lower build (e.g. _2.10.401.9_Radio...)
98. How to downgrade with RUU:
! Complete the Unroot detailed above, flashing with the RUU that you last used, or one matching your brand and build (if build not available, use newer build). Don't use a modded ROM while doing the following...
* On it's own, the following allows a RUU of same carrier (e.g. Vodafone) and region (e.g. UK), but of lower version. If you need to change to another region or go unbranded see [Guide] How to create a Goldcard. You can combine the use of a GoldCard and misc_version method outlined here, to achieve any combination of region, branding and build.
98-1. PC/MP: Unlock Bootloader with HTCdev, see step 2
98-2. MP: Flash Recovery, see step 3
98-3. MP: Install Superuser, see step 5 (and 4)
98-4. MP: Start phone normally and ensure USB debugging is enabled (see Tips)
98-5. PC: Download "misc_version_universal.zip" (https://github.com/downloads/hyuh/misc_version_universal/misc_version_universal.zip) and extract "misc_version" file to the platform-tools folder (C:\Android\platform-tools), 'shift + right-click' the folder and 'Open command window here'
Code:
adb push misc_version /data/local/tmp/
then
Code:
adb shell
* Should say $, at text cursor (not Superuser)
then
Code:
su
* Should change to #, at text cursor (Superuser)
then
Code:
chmod 777 /data/local/tmp/misc_version
then, change the 1.00.000.0 to the build of RUU you wish to downgrade (e.g. RUU_Saga_S_HKCSL_CHT_2.15.832.5_Radio...)
Code:
/data/local/tmp/misc_version -s 1.00.000.0
then
Code:
exit
and
Code:
exit
98-6. PC/MP: Power off', 'FASTBOOT' & USB, Re-Lock your bootloader (step 2) and now run your RUU in Fastboot USB mode
99. How to create a GoldCard without phone:
! THIS DOES NOT WORK WITH USB CARD READER. You need either a laptop SD card reader with micro SD adapter, or directly connected PCI-based SD Card slot on your PC.
* May be handy if your phone is stuck at bootloader and you don't have another android device to create the GoldCard as instructed at [Guide] How to create a Goldcard
99-1. PC: Download ReadCID.zip (http://jo0ls-dotnet-stuff.blogspot.com/2008/12/read-secure-digital-sd-card-serial.html), extract "ReadCID.exe" to a happy place
99-2. PC: Download HxD Hex Editor (http://mh-nexus.de/en/hxd/), extract the "setup.exe" and install the program
99-3. PC: Full Format (FAT32, Default allocation size, no Volume label) your 2GB SD card (not quick format) using an SD card reader
99-4. PC: 'Right-click' & 'Run as administrator' the "ReadCID.exe". Copy and paste the CID number to (psas.revskills.de/?q=goldcard)
99-5. PC: Download your "goldcard.img" file from psas.revskills.de
99-6. PC: Start HxD Hex Editor, click on Extras, Open disk and select your SD card
99-7. PC: Click on Extras, Open disk image and select goldcard.img
99-8. PC: Open the second tab (goldcard.img) and then Edit » Select all
99-9. PC: Open the first tab (microsd), Select lines 1-170 and then Edit » Paste write
99-10. PC: Click on Save and your GoldCard should be good to go
* Now you can download a RUU, put the SD card in phone and flash while in Fastboot USB mode. Either keep the card for future use, or full format with your card reader to use as normal. You can put whatever you want on a GoldCard and it will remain gold until you full format it.
--- additional stuff, my personal apps etc...
Battery tips:
1. Don't use live wallpapers constantly. Sure, show them off to friends, but go back to a static wallpaper when your done.
2. Avoid using high levels of display brightness. Auto is generally good, and anything at or under 50% is tonnes better than anything over 50% brightness.
3. Ignore the wipe battery stats options and just ignore it.
4. Recharge your battery when you can. Try for 30% or below, but I don't think it really matters.
5. Don't use Task Killers to kill apps continuously like a resource crazed mad man, instead you can use them for monitoring purposes only.
A. Apps & Games (entirely freeware):
! APPLICATION | ! GAME | * Don't/can't block with firewall
AdAway [Dominik Schürmann] (block ads and scan for adware) *
Adobe Air [Adobe Systems] (some app may need it) *
Adobe Reader [Adobe Systems] (read pdf files) *
Advanced Task Killer [ReChild] (make a good ignore list, don't kill everything. use it for monitoring)
Angry Birds [Rovio Mobile Ltd.]
App 2 SD [Sam Lu] (move apps to SD card real easy)
avast! Mobile Security [AVAST Software] (simply awesome AV, Anti-Theft & Firewall) *
Barcode Scanner [ZXing Team]
Battery Widget [Elvison] (handy if you don't have (can't get) the HTC widget)
Blast Monkeys [Yobonja]
Bubble Blast 2 [Magma Mobile]
Cooking Conversions [MAKE Products] (measurement conversions handy)
Cool Tool - system stats [deviantstudio] (can use to see battery mA draw, amongst other useful reads)
CPU Memory Monitor [Pavel Ugo] (list running processes by CPU usage)
Custom Locale [inKa] (change language beyond default listing)
Dictionary.com *
Dolphin Browser (my favorite browser) *
Drag Racing [Creative]
Dropbox [Dropbox, Inc.] *
Easy Uninstaller [INFOLIFE] (could be useful in removing multiple apps)
Elixir 2 [Tamás Barta] (system tool, full of features)
ES File Explorer [EStrongs] (ES Image viewer is very useful)
ES Task Manager [EStrongs] (clear cache and check system settings)
Facebook *
Gmail [Google] *
Google Drive *
Google Earth *
Google Goggles *
Google Play Books *
Google Translate *
GPS Essentials [mictale.com] (need direction? compass)
Line Runner [Djinnworks]
Maps [Google] *
Moon Chaser [Reverie]
Mouse [Magma]
My Tracks [Google] *
My Xbox LIVE [Microsoft] (xbox live official app) *
No-frills CPU Control [SINÉO] (useful for solidifying CPU frequency for testing/benchmarking)
Pool Master Pro [TerranDroid]
Root App Delete [TopDev] (allows freeze and/or remove system apps using superuser)
Sky Map [Sky Map Devs] *
SpeedCar [OoO]
SpeedMoto [OoO]
Speedtest.net [Ookla] (test network connection) *
Storage Analyser [LeveloKment] (whats using your storage)
Street View on Google Maps [Google] *
SuperSU [Chainfire] (superuser replacement, recommended by the masses)
Temple Run [Imangi]
Total Commander [C. Ghisler] (preferred file explorer)
Tuner - gStrings [cohortor.org] (tune your guitar with android power)
Virtual Table Tennis 3D [Clapfoot]
Voice Search [Google] *
Wifi Analyzer [farproc] (scan the neighborhood and find a good channel)
Words With Friends [Zynga] *
XE Currency [XE.com] *
YouTube [Google] *
Zedge [Zedge] (wallpapers and ringtones galore) *
Zombie Dash [Italy Games]
B. Part time apps:
AnTuTu Benchmark [ANTUTU]
aSpotCat [Sam Lu] (list app permissions. avast! can show this too)
CF-Bench [Chainfire] (benchmark)
Fast discharge [TAKETAKE] (handy to discharge battery if required)
NenaMark1 [Nena Innovation AB] (benchmark)
NenaMark2 [Nena Innovation AB] (benchmark)
Quadrant Standard Edition [Aurora] (benchmark)
C. Replaced apps:
Antivirus Free [AVG Mobilation] (replaced with avast! Mobile Security) *
D. Decommissioned apps
Bunny Shooter [Best Cool...] (detected as adware by AdAway) *
Cartoon Wars [GAMEVIL Inc.] (detected as adware by AdAway) *
E. System Apps removed from stock ROM, my personal preference (If you use it, keep it... obviously):
Flickr
FM Radio
FM Radio (plugin/wallpaper/theme)
Peep
Picasa Web Albums
QXDM2SD
Thai Keyboard
Trends Widget
Twitter Widget
Watch
Watch Widget
ZingKey
Last edited: