Go Back   Android Forums > Android Phones > T-Mobile MyTouch Slide 4G > MyTouch Slide 4G - All Things Root

test: Reply
LinkBack Thread Tools
Old January 1st, 2013, 05:23 PM   #1 (permalink)
AF Addict
Thread Author (OP)
scotty85's Avatar
Join Date: Jul 2010
Posts: 11,014
Carrier: Not Provided

Thanks: 7,893
Thanked 7,228 Times in 4,485 Posts
Default [guide] unlock with htcdev,install recovery,and root

this is a device specific-thread to help you unlock,install a recovery,and root your T-Mobile MyTouch 4g Slide(MT4GS). this guide originated for the htc rezound, thus some of the names and references. however, all files and info are specially for the MT4GS.

first and foremost,htcdev is a PITA. it has limitations if you are a "hardcore" rom flasher/rooter/romer. while it may be fine for the folks that want to be completely stock and have root acces to delete some bloatware,and run root required apps,s-off is better,and worth the extra efforts to achieve,IMO.

for those of us that want complete freedom to mod our devices,htcdev is still a valuable,and a solid,reliable means of adding root acces for other exploits.

this thread will remain locked in this forum. please start a new thread with any issues,questions,etc. that you have,we are here to help

and now,on with the info!

the basic steps will be:
1)unlock with htcdev
2)temporarily or permanently flash a recovery
3)flash root files

before you start,go ahead and download these files:
-mini-adb.zip: mini-adb.zip
-clockwork recovery for mt4gs(doubleshot): clockwork (md5= 66e083ccc47fe76266d794fd12d1aa0e)
-superuser files: for GB or ICS,use the latest superSU from this thread on xda (the download link is where is says: CWM installable ZIP: CWM-SuperSU-v0.96.zip )
-go to HTCdev - Unlock Bootloader and register an account

1)unlock with htcdev

2)flash a recovery

3)flash superuser root files*

you can now run the juopunut bear tool to achieve s-off: Unlimited.IO

if youre considering leaving htcdev unlock,read the following post to learn some of the pitfalls.

s-off is better,and worth whatever extra efforts to achieve if available. more info on this thread:

*hope it helps,holler if you have questions

donate to my device fund

The Delivery Guy
If someone has helped you,please click the THANKS button on that post.
Please post questions so others can benefit from the answers.
donate to my device fund
scotty85 is online now  
Last edited by scotty85; January 1st, 2013 at 05:38 PM.
Reply With Quote
sponsored links
Old January 1st, 2013, 05:23 PM   #2 (permalink)
AF Addict
Thread Author (OP)
scotty85's Avatar
Join Date: Jul 2010
Posts: 11,014
Carrier: Not Provided

Thanks: 7,893
Thanked 7,228 Times in 4,485 Posts

after typing this out more times than i can count,i have decided to make up a thread for it. hopefully this will end some of the confusion about fastboot booting recovery,why its better,and what you have to do if you opt not to take advantage of its benefits.

if you have not rooted yet, consider using the guide above,as ive tried to eliminate some of the confusion from htcdev's page,and using it will give you some basic knowledge and tools that you will use in happily modding your s-on device. youll also potentially have an understanding of fastboot booting your recovery into phone memory,as it is the same thing as what the guide instructions are for a "temporary recovery".

most folks that have come from other devices are used to the following sequence of events:
1)root phone
2)install a custom recovery(generally clockwork mod,or Amon_Ra)
3)booting to that recovery to make and restore backups,flash roms,etc. since the root method generally gave access to all the phones different memory partitions,many of wich are modifiable via the custom recovery.

even worse,are folks who have come from different devices and used an app called "rom manager" to manipulate things from within the booted operating system. i am not a fan of rom manager period,even on phones that it works on.

unfortunately,the above is a recipe for disaster on any s-on,high end htc device.

to begin,
a few words about htcdev
htcdev is htc's answer to the publics cry for unlocked bootloaders,and the ability to modify and install custom operating systems on their htc devices.

basically,you send information to htc,and they provide an unlock token that is reusable,but unique to your device. this changes the locked lettering at the top of your hboot screen to unlocked,and gives you access to the /boot,/system,and /recovery partitions only of your phone. it is not s-off by any means,and there are still alot of checks being done by the phone,wich lead to disadvantages. most notably,you cannot change any other partitions. hboot,radios,and splash screens are protected and off limits. you also cannot roll backwards in software build numbers and firmware if you flash a leaked rom and dont like it.

there are a couple of advantages.

1)unlike the underground exploits used in the past,htcdev will always work. you dont need to worry about unrooting and not being able to root again. if you need to relock your bootloader and flash factory firmware,you will always be able to re-unlock with your original unlock token.

this makes it convenient for users that only want root access so that they can run a few root apps(titanium backup,wifi tether) and delete some bloatware. the folks that like to run stock,and recieve OTA updates can easily do so by keeping the STOCK recovery on the phone.

as long as the stock recovery is in place,you are not in danger of an OTA messing up your phone.

MT4GS user: but,wait! wont accepting an OTA break my root?!
scotty: yes,but thats not a big deal. after the OTA has finished,you can quite easily relaunch your temporary recovery,and re-flash your root files,just as you did when you first rooted. re-rooting is easily accomplished,and therefore nothing to be concerned with.

2)the other big advantage of an htcdev unlocked s-on bootloader,is that since the bootloader is protecting itself,and the radios,it is nearly impossible to hard-brick(i.e.,unrecoverable) device with software flashes. any damaged to the phones filesystem are almost always fixed by RELOCKING the bootloader,and running an RUU(factory signed software package)

modding your s-on,unlocked device
first and foremost,remember this:

**an htcdev unlocked phone CANNOT write to the /boot partition FROM its /recovery partition.**

what this means is that,unlike your s-off evo 4g,thunderbolt,inc 1,or just about any other htc device you may have messed with,the rom that you flash from a recovery that is permantly installed on your phone cannot install the boot image. since the boot image houses the kernel, the roms kernel is not being installed along with the rest of the rom.

this means that if your rom requires a different kernel than what is on your phone,it will not boot. it will hang indefinately at the splash screen.

there are a couple options to work around this handicap with s-on phones:

1)use juopunut bear's tool to s-off your phone. doing this makes your phone and recovery act like you are used to(recovery [I]can[/[I] write to /boot) but does not come without consequence. see this post for more info: [info/FAQ] root and s-off MT4GS,all hboots!

2)flash the kernel manually. it can be done with the command fastboot flash boot or it can be done by placing the boot image inside a PH98IMG file and flashing it in hboot.

PH98IMG flashing is a PITA on an s-on phone,in my honest opinion. the information on the "android info" text document inside the file must contain the correct info or the phone will not let the file flash. this leads to much aggravation,confusion,and an overall very bad rom flashing experience

therefore,the better way to flash kernels,IF you want to do it manually,is to use the fastboot flash boot command. more info on that here: [HOW TO] manually flash roms

and now the best for last:
3) fastboot boot your recovery into phone memory

this involves,basically,placing your recovery image inside the folder that contains adb and fastboot,booting the phone to fastboot,and the launching recovery into phone memory by entering the command:
fastboot boot recoveryname.img

do not confuse this with the fastboot flash command.

fastboot boot is taking an image,and booting it right up on the phone.

fastboot flash is permantly installing an image into the phones filesystem.

*if you use fastboot boot to launch your recovery into phone memory,then recovery CAN write to the boot partition,making rom flashing on your s-on device just like rom flashing on an s-off device.

i.e.,launching recovery from fastboot lets the rom install the kernel,and requires no seperate kernel flashing. this means that when you are following a rom developers install instructions,you can follow the set for s-off devices.

why does this work?!

well,an oversimplified explanation is this:
-fastboot is part of the bootloader,wich can write to the /boot partition
-launching recovery from bootloader,makes the recoverys operations work thru the bootloader.
-hence,launched recovery can write boot image. hooray!

all the above applies to bakcups as well. you canot restore a backup from the permenent recovery if it contains a different kernel. just like flashing a rom. all the above info in this post applies to restoring a rom as well.

last and not least,
some more detailed instructions

if you rooted with my guide,then you have seen this before. its basically the directions to "temporarily flash recovery"

for those that have rooted via other means,you can modify these directions to fit whatever folder you have adb/fastboot in,or you just use these directions:

download these files:
-mini-adb.zip: mini-adb.zip
-clockwork recovery image: clockwork

first thing you need is drivers for adb to see your phone. if you have htc sync installed,you should allready have drivers. if not,you can install htc sync,or install these modified htc drivers from revolutionary (i recomand revolutionary drivers)

1)prepair ADB
-unzip your mini-adb.zip file. this is native funtionality in windows 7. you otherwise may need a utility such as "7-zip" to extract,or unzip it. place the unzipped folder onto the root of your C\ drive on your PC(sorry, you mac guys will need to develop this for yourself,i dont have a mac). root means the top level,not inside any folders. so just copy and paste,or drag and drop the folder onto C with everything else that is there. rename it to "mini-adb_shooter" since youll be putting some 3vo(shooter) specific files in here. you actually can call it whatver you want,but directions from here forward will assume this folder to be named "mini-adb_shooter"
-open a command window. on windows 7,click the start bubble in the lower left and type "command" in the search box. xp i believe is similar or the same. doing this should open a small black command window.
-change to your mini-adb_vigor directory. type the following at the prompt in your cmd window:

cd c:\mini-adb_shooter

2)launch a temporary recovery:
-move the image file from your downloaded zip file, and place it into the mini-adb_shooter folder.

-type in your cmd window,or copy/paste the commands that are in bold

-check the md5 of your recovery image:

md5sums <recoveryname>.img

i.e.,if youre using an image named recovery-clockwork-,then your command will be:
md5sums recovery-clockwork-

**make sure the resulting md5 matches any available listed md5 sums. **
(md5 recovery-clockwork- 66e083ccc47fe76266d794fd12d1aa0e)

-enable usb debugging on your phone and plug it in,charge only mode.

-check for connectivity:

adb devices

-it should reply with your serial number. if so,then:

adb reboot bootloader

-this will boot your phone into "fastboot" wich is a white screen with coloered letters.

-check for connectivity:

fastboot devices

-should return serial number

-temporarily launch your recovery to phone memory:

fastboot boot <recoveryname>.img

again,if youre using an image named as above:
fastboot boot recovery-clockwork-

-youll see a (really fast) green status bar on the top right as your PC sends the recovery to your phone. youll then see the HTC splash screen,then your recovery.

now that youre recovery is running,you have lots of options. you can mount usb storage to move things on and off the sd card if you need to.

note that once recovery is running,you can unplug from the PC if you want to flash your rom from the couch,ktichen table,or wherever

you can now restore a backup,or flash a rom.

last and not least,a couple notes:
-to paste into the cmd window,you must right click/paste. you cannot control/v
-to copy from the cmd window,right click. click mark. highlight everything to copy in white. now hit enter,or right click again.

holler if you have more questions
scotty85 is online now  
Last edited by scotty85; January 22nd, 2013 at 05:52 PM.
Reply With Quote

Go Back   Android Forums > Android Phones > T-Mobile MyTouch Slide 4G > MyTouch Slide 4G - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -5. The time now is 01:37 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.