Friday, August 30, 2013

Renewing your HTC mytouch 4g phone (HTC Glacier)

How to Root and Install Android 4.3 Jelly Bean on your old t-mobile mytouch 4g phone (HTC Glacier)

Glacier

Before we start, please read the...

DISCLAIMER
Modifying or replacing your device's software will void your device's warranty, lead to data loss, hair loss, financial loss, privacy loss, security breaches, or other damage, and therefore must be done entirely at your own risk. No one but yourself is responsible for your actions. Good luck.
If you are a noob (newbie) like me, you can brick your phone/device and this more than likely voids your warranty. So If you feel that you are not ready to lose that device, don't do it. Proceed with extreme caution. You have been warned!!





So why root that old phone? Well there could be a myriad of reasons but here's mine 
  1. I am cheap - foremost reason
  2. I wanted the new features that the new andriod phones have (Google Now and such) 
  3. I wanted to be able to tether my laptop (wireless or USB) without paying extra (there goes that cheap again)
  4. I want to get rid of all the t-mobile bloatware which I think is the cause of the slowness of the phone (turns out I was right on this one).
  5. I wanted to learn how to do it 
  6. I wanted to see if I can extend the life of my phone - there goes that cheap again. 
  7. I had nothing to lose, if I bricked it, it was time to upgrade anyway but If successful, I don't need a new one then.
Find your own reasons and proceed with caution.

Let's start with the task list. 
  1. Unlock your phone
  2. Flash a recovery Image
  3. Create a backup of your existing Phone
  4. Flash your new ROM (this is your android)
  5. Flash your new Google Apps (including play store)
I have done this now on 3 different devices and I think that this is pretty much standard task list when rooting any phone/device. Completing the each task though can be complicated or easy depending on the device which is why I decided to write everything down. 

Unlocking your t-mobile mytouch 4g (HTC Glacier)

For this task, you would need 
  • HTC Drivers
  • HTCDEV account
  • USB cable for your phone
  • adb.exe, fastboot.exe, adbwinapi.dll (all found in HTCDEV)
  • Windows 7 (or 8) but I did mine on Windows 7
Follow these procedures
  • Ensure the HTC Drivers are installed on your PC. HTC Drivers can be found on the SDCARD that came with your phone (HTCDrivers.exe).
  • Create a folder in your PC anywhere (I suggest in c:\ so easier to get to). You can name it whatever you like e.g. c:\android\ . This will be the repository of all the files you will need (adb.exe, fastboot.exe, adbwinapi.dll, rom updates, images, etc)
  • Get yourself an HTCDEV account by going to www.htcdev.com.  Register and obtain a username and password. 
  • Once registered, login to htcdev.com and click on "Unlock Bootloader" then click on "get started
  • Choose "mytouch 4G *". That asterisk actually has a meaning - it means its a pain in the ass but continue on - Ill explain later.
  • Click on "Begin Unlock Bootloader" and follow the instructions. 
  • Go ahead and run the RUU - if its anything like mine, it would say that the hboot is version 2.3xx which is precisely the same version HTC is asking to upgrade. Go ahead with the update and it will probably fail. If it worked then good for you and proceed with unlocking. If it did not and you proceed to follow the instructions, you will get to a point where your will have to get the phone's OEM token identifier and you will probably get this
C:\android>fastboot oem get_identifier_token
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.009s]
finished. total time: 0.009s
  • This is what that asterisk was all about. Even though the RUU update states that it is the same version, it is not. You have to update your hboot. It was a pain in the ass to figure this out. If you do run into this, follow these steps
  • Run the RUU Update again, and launch your task manager.
  • Look for the RUU update process, right click on the process and open the file location. This will take you to the temp folder where RUU extracted itself. Look for rom.zip
  • Copy that rom.zip to your c:\android folder
  • Go to bootloader again - adb reboot bootloader
  • fastboot devices // verify that the device is detected
  • fastboot erase cache //  Not sure if this is really needed but the guide I followed had this
  • fastboot oem rebootRUU // Boot into RUU - lets you flash hboot, radio, etc
  • fastboot flash zip rom.zip // rom.zip is the zip you extracted for the HTC RUU app earlier
  • fastboot reboot-bootloader // Reboots your phone to bootloader
  • Your phone will reboot and now your hboot has been updated. 
  • Go back to bootloader and you can now run the fastboot oem get_identifier_token
  • Proceed with the instructions from htcdev to unlock
You have now unlocked your phone! You are now free to load any custom rom!

Flash a recovery image for your t-mobile mytouch 4g (HTC Glacier)


Now that you have unlocked the phone we can now flash a recovery image. There are a lot of recovery images out there but I use clockwordmod - it seems to be the most stable and for me, the easiest to install. Let's proceed.
  • Go to http://www.clockworkmod.com/rommanager
  • Choose the mytouch 4G recovery. There are 2 versions, touch and regular. Difference is touch enables you to use the touchscreen during recovery and the regular does not (you have to use vol up and down buttons). Either will work but I recommend the 5.8.1.0 touch version. 
  • Download the recovery image to your c:\android\recovery-clockwork-touch-5.8.1.0-glacier.img and rename that file to c:\recovery.img (makes it easier to type later on)
  • Go to bootloader - adb reboot bootloader
  • fastboot flash recovery recovery.img
  • fastboot reboot
You have now flashed a recovery image.

Create a backup of your t-mobile mytouch 4g (HTC Glacier)

Now that you have your clockwordmod recovery image, you can now create a backup of your phone. Let's proceed
  • Go to bootloader - adb reboot recovery
  • Choose backup and restore
  • Choose backup
You have now successfully created a backup of your existing phone. The backup will be placed in your sdcard in clockwordmod folder. Copy this folder to your PC so you have a backup of your stock rom. You can now restore to your stock rom in case you need to. 

Flash your new ROM for your t-mobile mytouch 4g (HTC Glacier)


Now that you have a backup, we can now flash a new ROM. There are many options out there on the net. The one I have been using is from CM -  http://www.cyanogenmod.org/. Their latest official stable version for the HTC Glacier is CM 7.2 which is Android 2.3.7 (gingerbread) I believe and that was not good enough for me. I mean what's the point of all this if I can't get a later version. Luckily, there are other ROM providers that port the latest CM10.2 for the HTC glacier. It is unofficial CM release but its up to you if you want to use it.

To access these unofficial roms, go to the xda developer forum. Go to http://forum.xda-developers.com and type in HTC Glacier on the "Type in your device field". Go to mytouch 4g Development

You can now choose whatever ROM you like. The first one I tried was actually CM 10.1. I saw it from this guy .



This is Jelly Bean as well but it is CM 10.1 which runs Android 4.2. I wanted CM 10.2 with android 4.3 which is the latest. The risk of using a bleeding edge version is greater but I figured, what the hell, since I am going through this anyway, might as well go all the way.

The ROM I chose was http://forum.xda-developers.com/showthread.php?t=2404136. This is based on CM 10.2 (Android 4.3). Read the features and if it looks good, then proceed. 

There is a link for the ROM and GAPPS (google apps and play store) which you will need. Download both and save to your c:\android then copy both files to the root of your sdcard. Both links are in the forum but I have included them below. If they no longer work here, download it from the forum.

ROM: http://chronic-buildbox.dyndns-server.com/glacier/cm-10.2-20130824-Albinoman887-glacier.zip
GAPPS: http://goo.im/gapps/gapps-jb-20130813-signed.zip

Now that you have the ROM and GAPPS, you are now ready to flash your new ROM to your phone.  

  • Boot your phone into recovery again - adb reboot recovery
  • Choose wipe data / factory reset
  • Choose Yes - - delete all user data and wait for it to complete
  • Choose Install zip from sdcard
  • Choose zip from sdcard
  • Choose cm-10.2-20130824-Albinoman887-glacier.zip. This will be your new ROM which is based on CM 10.2 Android 4.3. Wait for it complete
  • Choose install zip from sdcard again
  • Choose zip from sdcard
  • This time choose your gapps gapps-jb-20130813-signed.zip.  This will be your google play store and google apps.
  • Reboot your phone
Most tutorials will then tell you that the process has been completed. Upon reboot and you see the CyanogenMod logo, then great it's working. Chances are though, the mytouch logo will appear and it will not do anything. It is just stuck there. If this happens to you (it did to me), you have to flash your boot image. To do so, follow these steps
  • Boot your phone to bootloader again - if you are already stuck on the mytouch logo screen, you will have to take out the battery and hold down the down volume and power at the same time to get into your bootloader. 
  • Connect your phone to your laptop via the USB
  • Extract the file boot.img from cm-10.2-20130824-Albinoman887-glacier.zip and place that file to your c:\android directory
  • fastboot devices // verify that the device is detected
  • fastboot flash boot boot.img //  boot.img is the file you extracted from the rom you downloaded
  • fastboot reboot // reboots your phone
You should now see the a circle with the CyanogenMod Logo on it. Congratulations, your phone is now running CM 10.2 with Android 4.3. Next time your phone reboots, it will recognize the new boot image and you now have a new phone!

I have it running for a few days now and so far so good. No major issues found just yet and the phone responds pretty good. Here are some screen shots. Credit goes to all the programmers of clockworkmod, Cyanogenmod, rootzwiki, XDA Developer albinoman887 for porting CM 10.2 to HTC Glacier. Also thanks to Goo.IM for hosting the gapps and the roms. Creating these ROMS I am sure took a very long time and then they have to host them so we can download it - please donate if you can. They don't force you to donate but if you can, please do so. You can find their donation buttons on their respective sites. Enjoy!!







Almost 2 Years..

Its been almost 2 years since my last post...

a lot has happened - some good some bad but you roll with it. As the dude would say, strikes and gutters man, strikes and gutters!

I have to been too lazy to write and hence no new posts. Its not like anyone is reading this shit anyways. This is more for me really. I am getting old and my memory is starting to suck. I need to start writing things down which was one of the goals why I started this blog. I wanted to find my muse... and I wanted to document everything that would lead me to my muse but I got lazy.. and my muse is still out there. Not doing too bad though overall.

Since I am doing ok, I start to wonder if that prohibits me from actually finding my muse.. I mean since I am comfy, I am not on the edge to do much stuff - you know?? but I am too afraid of working really hard.. I guess being comfortable will do for now..

There you go as I was writing this, I figured it out! Being comfy stopped me from writing because I had nothing to write! This blog was supposed to be for finding my muse but I wasn't looking so no writing.

Well fuck that! I figured I have to write and might as well write something I find interesting. So lately, rooting phones and tablets have piqued my interest. For starters, rooting your phone can be fun and challenging plus those fucking service providers loaded a bunch of crap apps I never use that I really think slows my phone down. I think its by design by the way, so this way, you are forced to get a new one!

Well fuck that!! This new interest of mine all started with the Barnes and Noble Nook. I remember when the first nook e-reader came out and I bought it and loved it. However, the newer nooks were lame and so I moved on to the google nexus 7 which I really like.

However, as time progressed, I wanted a larger screen but I wasn't prepared to spend a small fortune for a larger tablet. I also didn't want any cheap Chinese knock offs either. I was in a B&N store one day and I started checking out the nook HD+. It is nice especially the screen but the B&N custom interface was incredibly lame. The best part was the price. At $149 for a 16 GB tablet and expandable to 64 GB with an SDCARD, it was a great deal! Granted the B&N was stopping production on it but it is a very nice tablet with quality materials and workmanship.

The interface had to go though...but what if I can root it and turn it to a regular android device ala nexus 10? so I researched to see how to root a nook HD+ device. As it turns out, I am not the only with the idea, in fact a lot of people had the same idea and have already rooted their devices and loaded custom roms on it. So much so that they have made it so easy to do.

Success!! Now, I have a 9 in tablet running on Android 4.3 Jelly Bean complete with Google now, Google apps, Netflix as well all the other apps I wanted!! I got hooked!! Why not do the same with my phone? So I did and it was much more difficult to do but rewarding nonetheless! Now the old t-mobile mytouch 4G is running android 4.3 and the best part is now, I can tether wirelessly! My wife was always complaining about her phone being slow so I rooted that too!

Rooting is not that difficult because others have already done the real hard part. What makes it hard is that you have to search for on how do it. It is all over the place. Problem was I keep forgetting what I did so I decided to write it down.. getting old really sucks.. so Ill post the steps I did on how I rooted my devices.