Rooting your Android with ClockWorkMod Recovery & CyanogenMod
Warning this upgrade is not for novices. Neither SoSLUG or the author of this article will take responsibility for any damage or loss of data to your phone since it is possible you will lose your contacts and any sms messages stored on your phone. Eeven if this data is something you have taken care to backup it is still possible you will lose your GApps Market (This at least we can show how you can get this application back).
This article covers only the upgrade installation for the HTC Desire. The upgrade may work with other phones, we just don't know. This is not something we have tried.
What follows is a series of relatively complex tasks associated with the HTC Desire which you are advised to complete in a certain order. Due to the fact that you are reading this article on a Linux site and because Android is also Linux there are no instructions listed for Microsoft Windows users sorry.
This is perhaps a very simplistic view of the equipment and task required to root your Android with ClockWorkMod Recovery
- Obtain Unrevoked software from website and download onto your Linux PC into your Downloads folder
- Use archive manager to untar the file you have downloaded or use your terminal window
- Do not connect your Android phone yet - Open a terminal window and enter the following command
In order to communicate with your Android phone you must have the following items
- A HTC Desire Phone
- A PC or Laptop installed with Linux
- A USB Data cable to attach both previous items
You should now be root user, you can check that you are the root user by entering the following command at the terminal window
From my humble inexperience "ClockWorkMod" seems to provide the base Kernel of the system. I may have this wrong but will leave others to correct me on this, however this install did not eradicate my data of sms messages and contacts, whilst the same can not be said of CyanoGenMod. Warning - "Cyanogen installation destroys GApps market" you will need to reinstall this apk and it can be difficult.
- The very first thing to do is obtain a copy of GApps....zip file. This was not easy to find but eventually after many hours looking I came across what I wanted and this was after I installed CyanogenMod. Funnily enough it is Cyanogen that provide the apk but it is very hard to find so although I cannot guarantee it, I have provided a link below which I hope proves useful.
GApps Market Download this zip file and install onto your installed sdcard in your phone using the data cable and selecting USB data Storage instead of "charging only" on your phone notifications, use your PC to download and store to your Phone sdcard.
- You can find out a lot more about CyanoGenMod from this link CyanogenMod for HTC Desire
- In order to install CyanogenMod you will need to root your phone before doing anything else. CyanogenMod is like the Desktop application as far as I can tell, I found the least complicated way to install CyanogenMod was using a ROM manager from GApps Market. (Note It is extremely important your gmail account is the first active account or you will not be able to download any Market apps to your phone). If you haven't already done so install this application to your Phone.
- From available applications select ROM manger while ignoring the recovery section, unless an update for ClockworkMod recovery is found in which case install it. Select Download ROM from the list of options and then select CyanogenMod. There may be a few to choose from but again select the latest and stable release, obviously you will need to be able to access a local wifi network.
- Allow the phone to do it's own thing and CyanogeMod will be installed
- Once complete, access the ROM Manager again and select "Fix permissions" from the list
It is quite possible all your data and contacts are now lost, sorry about that but I did warn you earlier. However if you access your applications you will find something else missing, your "Google Market Apps". If you have followed this article you will have installed to the prescribed place, as mentioned above, the apk zip file required. What follows are some instructions to install the GApps Market from the sdcard only.
I must eat my own words here - it is true I lost my contacts and it is true I made a backup little realising gmail does one for you. Well I was still unable to see my contacts but I got a call the other day from someone I knew, well hey presto the name of the individual was displayed on the screen. What is going on? Well it turns out I only needed to adjust my contacts display settings. So to give you a heads up in case you face a similar problem this is what you do.
Select Contacts icon on your screen
Select Menu Button on phone
Select Display options
Select Email address
Scroll to the bottom of screen
Select All other contacts
In fact it seems to do no harm to select and tick all items under this category
Then sit back and ooh I got my contacts back. Yeah!!!!!!!!!
- With Cyanogen installed you should have a few extra options when you press and hold the power button. Unlock the screen of your phone in the usual manner and press and hold the power button. Select Reboot option and then select Recovery option. I can say this is true but only for the HTC Desire, other Phones may vary.
- Using the volume control on the side of your Phone select the option to "install .zip from sdcard" this should be somewhere towards the centre of the list, see below. To select this option press the central trackball located centre and bottom of your Phone.
reboot system now
wipe data/factory reset
wipe cache partition
install .zip from sdcard
backup and restore
mounts and storage
- Again using the volume control on the side of the phone select "choose zip from sdcard" options are:-
choose zip from sdcard
toggle signature verification
toggle script asserts
- From the next to last screen select from the list the GApps.....zip file you had downloaded to your sdcard
- Confirm your selection by scrolling down and selecting the file to install. Output should look similar to this:-
This was hard for several reasons, installing zip file to sdcard, Rebooting into recovery and the long winded way to install a file from the sdcard and back to the Phone, most of all it was difficult because it took such a long time to find out where it was and how to install it.