...Your warranty is now void...I claim *NO* responsibility for bricked devices, etc. You have been warned!
I wanted root on my new toy (Boost Mobile hTC One SV "K2_CL"). I also wanted to have an "untouched" backup of the stock ROM, kernel, recovery, etc. This is how I got it.
This is my third hTC device, and I've rooted / installed custom ROMs on the other two devices (Virgin Mobile USA EVO V 4G & One V).
Here are the basic steps. You'll need the following files:
1) Unlock the hTC bootloader. This is standard for *ANY* hTC device. There are a number of other threads that cover this. It is no different for the Boost Mobile hTC One SV. Select the "Other Devices" on the htcdev.com web site when requesting the unlock token. See one of the following threads for a more detailed "HOW TO" for this step. At the end of this step, your phone will be restored to "factory stock". The unlocking process overwrites *ALL* data on the phone..
While holding the volume-down button, press the power button. This will boot the phone into the bootloader/fastboot. Next, plug the phone into the computer. The phone should say "FASTBOOT USB" in red about 1/4 down.
Finally, change to the directory where your adb/fastboot are located. Copy the recovery.img and Boost_kernel.img files from above into this directory.
2) Boot the clockworkmod backup/recovery utility & create a backup of the original ROM (complete with stock recovery, kernel).
With the phone in "FASTBOOT USB" mode, execute the following command:
This will boot the ClockworkMod recovery. (Seems like the I had to do this twice the first time. In spite of *NOT* changing boot nor recovery, my device says "TAMPERED" and "UNLOCKED".)
This boots the ClockworkMod Recovery *WITHOUT* overwriting anything. Now, one can make a nandroid backup of the 'Stock' kernel / recovery / ROM.
Note that this version of ClockworkMod has screen issues. It took 3-4 minutes to make the backup. I recommend copying the backup somewhere off the microSD card for safe keeping.
3) Boot the kernel that allows one to write to /system (the Boost stock kernel has disabled write access to the /system partition). This kernel will allow su and Superuser.app to be installed, which makes the device "rooted". While this kernel is booted, one can also make any desired changes to /system, as well as install busybox, etc.
Boot the device into the bootloader (power phone off, hold down Vol-down button & power button until screen comes up). Again, plug the phone into computer with USB cable. Execute the following command.
This will boot the phone with a modified kernel that allows /system to be remounted.
You will need to unzip the Superuser-3.1.3-arm-signed.zip and get the su and Superuser.apk files. Copy them into the directory where you run adb or fastboot.
The device will boot as normal, only with a message on the white hTC screen. You may need to go into developer settings and enable USB debugging.
The following commands (you will type what appears in blue text below) will root the device (assuming su and Superuser.apk are in the directory you run fastboot & adb from). Note the $ and # characters are the prompt--do not type anything *BEFORE* those characters. The output is shown as it should appear on your screen...
At this point, you may do other 'root' things like install busybox, etc. All changes made to /system will 'stay' through a reboot. Rebooting the phone will allow the 'stock' kernel to be loaded--as such, you will not be able to make further changes to /system. The modified kernel may be booted (boot to fastboot, plug into computer & do a 'fastboot boot Boost_kernel.img' from the command line).
At this point, you have a rooted device with stock kernel & recovery. Root apps such as Titanium backup, Power Toggles (if you copied the apk to /system/app), etc. should work. However, you have not changed the stock kernel & recovery partitions. You will need to boot the custom kernel (from your PC & fastboot) any time you want to change anything in /system.
This is all I wanted to do with my 'rooting'. However, wanted to share how to root the device & leave it (mostly) stock...
I have attempted to give credit where credit is due...If I forgot anyone, please let me know & I'll update the thread.
I wanted root on my new toy (Boost Mobile hTC One SV "K2_CL"). I also wanted to have an "untouched" backup of the stock ROM, kernel, recovery, etc. This is how I got it.
This is my third hTC device, and I've rooted / installed custom ROMs on the other two devices (Virgin Mobile USA EVO V 4G & One V).
Here are the basic steps. You'll need the following files:
- From this xda-developers thread, download the Superuser.zip file. From post #220 in that thread, download the Boost specific ClockworkMod recovery (All credit to bkcokota, jj62mtp, & jmztaylor).
- From this androidforums thread, download the Boost Kernel (I used "Gentle Breeze" version.) (All credit to shinru2004).
1) Unlock the hTC bootloader. This is standard for *ANY* hTC device. There are a number of other threads that cover this. It is no different for the Boost Mobile hTC One SV. Select the "Other Devices" on the htcdev.com web site when requesting the unlock token. See one of the following threads for a more detailed "HOW TO" for this step. At the end of this step, your phone will be restored to "factory stock". The unlocking process overwrites *ALL* data on the phone..
- Complete Newbie's Guide to rooting and flashing Evo V 4G ROMs/Kernels using fastboot. Follow Steps 1-4 on this guide & then stop. (All credit goes to jerofld).
While holding the volume-down button, press the power button. This will boot the phone into the bootloader/fastboot. Next, plug the phone into the computer. The phone should say "FASTBOOT USB" in red about 1/4 down.
Finally, change to the directory where your adb/fastboot are located. Copy the recovery.img and Boost_kernel.img files from above into this directory.
2) Boot the clockworkmod backup/recovery utility & create a backup of the original ROM (complete with stock recovery, kernel).
With the phone in "FASTBOOT USB" mode, execute the following command:
Code:
fastboot boot recoverytest.img
This boots the ClockworkMod Recovery *WITHOUT* overwriting anything. Now, one can make a nandroid backup of the 'Stock' kernel / recovery / ROM.
Note that this version of ClockworkMod has screen issues. It took 3-4 minutes to make the backup. I recommend copying the backup somewhere off the microSD card for safe keeping.
3) Boot the kernel that allows one to write to /system (the Boost stock kernel has disabled write access to the /system partition). This kernel will allow su and Superuser.app to be installed, which makes the device "rooted". While this kernel is booted, one can also make any desired changes to /system, as well as install busybox, etc.
Boot the device into the bootloader (power phone off, hold down Vol-down button & power button until screen comes up). Again, plug the phone into computer with USB cable. Execute the following command.
Code:
fastboot boot Boost_kernel.img
You will need to unzip the Superuser-3.1.3-arm-signed.zip and get the su and Superuser.apk files. Copy them into the directory where you run adb or fastboot.
The device will boot as normal, only with a message on the white hTC screen. You may need to go into developer settings and enable USB debugging.
The following commands (you will type what appears in blue text below) will root the device (assuming su and Superuser.apk are in the directory you run fastboot & adb from). Note the $ and # characters are the prompt--do not type anything *BEFORE* those characters. The output is shown as it should appear on your screen...
Code:
$ [COLOR=Blue]adb remount[/COLOR]
remount succeeded
$ [COLOR=Blue]adb push su /system/xbin/su[/COLOR]
2305 KB/s (380532 bytes in 0.161s)
$ [COLOR=Blue]adb push Superuser.apk /system/app[/COLOR]
2596 KB/s (1468798 bytes in 0.552s)
$ [COLOR=Blue]adb shell[/COLOR]
root@android:/ # [COLOR=Blue]cd /system/bin[/COLOR]
root@android:/system/bin # [COLOR=Blue]ln -s /system/xbin/su su[/COLOR]
root@android:/system/bin # [COLOR=Blue]cd /system/xbin[/COLOR]
root@android:/system/xbin # [COLOR=Blue]chmod 04755 su[/COLOR]
root@android:/system/xbin # [COLOR=Blue]cd /system/app[/COLOR]
root@android:/system/app # [COLOR=Blue]chmod 644 Superuser.apk
[/COLOR]root@android:/system/app # [COLOR=Blue]exit[/COLOR]
$
At this point, you have a rooted device with stock kernel & recovery. Root apps such as Titanium backup, Power Toggles (if you copied the apk to /system/app), etc. should work. However, you have not changed the stock kernel & recovery partitions. You will need to boot the custom kernel (from your PC & fastboot) any time you want to change anything in /system.
This is all I wanted to do with my 'rooting'. However, wanted to share how to root the device & leave it (mostly) stock...
I have attempted to give credit where credit is due...If I forgot anyone, please let me know & I'll update the thread.