Monday, August 17, 2009

Steps to Root Airtel HTC Magic and Mytouch 3G( for US users)

As Promised I said i would come up with steps for Rooting....


For Airtel Customers i would assure that this is working 100% because i tried it successfully myself.......

If you have tried to use our How To Root Your Magic procedure on your MyTouch, you probably noticed a huge brick wall that you ran into during the procedure. Well, finally, the good devs over at XDA, have graced us with a solution (albiet a slightly complicated one).

PLEASE PROCEED AT YOUR OWN RISK, THIS IS A COMPLICATED PROCEDURE AND COULD HARM YOUR PHONE!

So with the disclaimer out of the way, let’s begin shall we?

*Thanks to Erlern for the GoldCard procedure!
*Thanks to Amon Ra for the Rooting procedure!

Before Beginning:

Have a SPARE memory card (2GB is perfect and relatively cheap) to use for the Goldcard procedure, do NOT use your normal everyday card as it will ONLY be a goldcard after we are done.

I. Download and Install the Android SDK, Fastboot, and drivers (If you already have this done, skip this section).

1. Download these 2 files:
Android SDK
Fastboot (scroll to Fastboot tool and download the appropriate one for you computer’s OS)

2. Once you download the SDK, extract the SDK files to “C:\AndroidSDK”. Then extract the fastboot program to the C:\AndroidSDK\tools\ folder.

3. Turn off the phone, then turn it back on by holding down the Power and Back button (to enter bootloader mode).

4. Plug the phone into the computer via USB. Make sure that it says FASTBOOT USB instead of FASTBOOT now.

5. Your computer should say installing drivers right now (if this is the first time you have connected the phone in fastboot mode). Hopefully your computer will automatically install them, but if it doesn’t then use this guide from Google to install the drivers.

6. Goto the Start menu type cmd into the run section of the start menu and hit enter to bring up the Command Prompt.

7. Type the following into the command dos prompt on the computer (the black screen with white letters that just opened) while the phone is connected through USB, hitting enter at the end of the line:
cd\
cd androidsdk\tools\
fastboot devices

8. You should see a serial number pop up and the word fastboot to the right of it. This means that your USB drviers are all set up correctly and you can continue. If you do NOT see this, then you need to start over or Google for how to set up the USB drivers correctly (this will help).

9. If it worked, unplug your phone and turn it off and then back on to get to the regular home screen.

*Tip: If your computer says the drivers are installed but it is installing the wrong drivers, I recommend Uninstalling the drivers using this program, USBDeview, then plug the phone in again and choose the correct drivers in the SDK USB Drivers folder

II. Create a “Goldcard”


(USE A SPARE MEMORY CARD FOR THIS, YOU WILL NOT BE USING THIS CARD FOR YOUR NORMAL MEMORY CARD AGAIN, SO HAVE THIS GOLDCARD AS ONE MEMORY CARD AND ANOTHER CARD AS YOUR REAL MEMORY CARD FOR SAVING MUSIC, FILES, ETC. TO)

1. Put the Spare memory card into your phone.

2. With the Spare Memory card in your phone, click on Settings, SD and Phone storage, then click Unmount SD card. Once it unmounts, click Format SD card. (Please keep in mind that some memory cards don’t work)

3. On the Phone, goto Settings, Applications, Development and then make sure USB Debugging is checked.

4. *Make sure you have installed the SDK and Fastboot correctly from Section I!!!
Plug the phone into the computer and then open the Command Prompt (goto the start menu and type in cmd in the search box). Then type the following with hitting enter at the end of each line.

cd\
cd\AndroidSDK\tools\
adb devices

(wait for the it to show a serial number underneath, if it doesn’t then reinstall the drivers from section I). Then type:

adb shell
cat /sys/class/mmc_host/mmc1/mmc1:*/cid

5. A code will display, write the code down (MAKE SURE TO WRITE IT DOWN EXACTLY!)

6. Now, on your computer, goto http://revskills.de/pages/download.html and download QMAT 4.36. Extract the file to your computer somewhere and double click on the qmat.exe to open the program (THIS IS A DEMO VERSION SO IT WILL ONLY STAY OPEN FOR 10 MINUTES, SO TRY AND NOT LINGER WHILE DOING THE NEXT STEPS).

7. Click on Cryptoanalysis Tools then Crypto Toolbox

8. Scroll down till you see a text box with a button titled, “Reverse String”, next to it. Put the CID you wrote down earlier into the text box (DOUBLE CHECK IT!) and then click the Reverse String button. It should reverse the CID you put in, write this down now (AND AGAIN DOUBLE CHECK IT!).

9. Now, on your computer, goto http://revskills.de/pages/goldcard.html and enter your email in the appropriate field and for CID enter the reversed CID you just copied down BUT REPLACE THE FIRST 2 DIGITS WITH 2 ZEROS! (i.e. 12345678910 becomes 00345678910). *Thanks to Viper for providing these Goldcards for FREE!

10. Click continue and then you will receive your goldcard.img via email. Once it arrives save it to your computer.

11. Now, goto http://download.cnet.com/HxD-Hex-Editor/3000-2352-10891068.html?part=dl-HxDHexEdi&subj=uo&tag=button to download the HxD Hex Editor. Save it and install it to your computer.

12. Take your SD card out of your phone and put it into the SD adapter it came with. Then put that into your computer so it shows up on your computer as Removable Disk.

13. Open the Hex Editor and click on the Extra tab, then click on Open Disk. Under Physical Disk select Removable Disk (your SD card you just put into the computer). Make sure to UNcheck “Open as ReadOnly”. Click OK.

14. Goto the Extra tab again and click Open Disk Image. Open up the goldcard.img that you saved from your email. You should now have two tabs, one is the SD card (Removable Disk) and the other is the goldcard.img
Press OK when prompted for Sector Size 512 (Hard Disks/Floppy Disks).

15. Click on the Goldcard.img tab and click on the Edit tab and click Select All. Then click on the Edit tab again and click Copy.

16. Click on the Removable Disk tab (Your SD Card) and select offset 00000000 to 00000170 then click on the Edit tab and click Paste Write.

17. Click on File then click Save.

18. Close the Hex Editor.

19. Test what we’ve done:

Take out the memory card from the computer, then put it back in.
Try to open the memory card on the computer (Removable Disk), if it lets you, you are all set. If it asks/tells you to reformat the card, then try steps 13 – 19 again. If it gives you the same error again, then try a different memory card (Erlern said it didn’t work for him until he finally went and bought a Kingston 2GB card, then it worked on that card only).


III. Root the MyTouch using the Goldcard

1. Save the required file (SappIMG.img) to your computer, then save it to your goldcard (Do NOT rename it to anything, leave it as SappIMG.zip). Then take out your Goldcard from the computer.

ROM v2.53.707.2 (Engineerings SPL v1.33.2010) - MD5 : F9674D19BE5F949D0D9DC99714D210E3

ROM v2.16.707.3 (NON-Perfected stock SPL v1.33.0009) - MD5 : DC391E4A3FC57861D7197C151176ED96

ROM v2.16.151.1 (NON-Perfected stock SPL v1.33.0009) - MD5 : ADA4924293EFF619B05BB397446F862D

———————————————————————————————————————————————–

2.. Take your original memory card (NOT YOUR GOLDCARD) and save whatever is on it to your computer as a backup before beginning.

3. Put the memory card into your phone (AGAIN NOT THE GOLDCARD).

4. With the memory card in your phone, click on Settings, SD and Phone storage, then click Unmount SD card. Once it unmounts, click Format SD card.

5. Plug the phone into the computer and mount the SD card so we can save a file to it.

6. Download the 1.33.2005 HBoot and save it to your newly formatted memory card, and then rename it to update.zip (windows sometimes just needs you to rename it update and if you still see the zip folder symbol next to the file that means that it is still update.zip even though it only shows update).

7. Turn off your phone once the update.zip file is on the memory card.

8. Take out the memory card from the phone and put in the Goldcard (all while the phone is still off).

9. Turn on the phone by hold down the Power and Volume Down button. When the screen comes to the rainbow (or skating android screen), it should automatically pick up the SappIMG.zip file and ask you to update. Go ahead and update (DO NOT INTERRUPT THIS PROCESS).

10. Once the flashing is COMPLETE. Then turn off the phone.

11. While the phone is off, take out the Goldcard and put in the regular SD card (the one with the update.zip file on it).

12. Turn on the phone while holding Back and Power until the Fastboot screen comes up (when the fastboot screen comes up it should read, 1.33.2005 for SPL).

13. Download Amon Ra’s Recovery Image and save it to the AndroidSDK\Tools folder on your computer.

14. Plug the phone into the computer (while still in fastboot mode).

15. Goto the Start menu type cmd into the run section of the start menu and hit enter to bring up the Command Prompt.

16. Type the following into the command dos prompt on the computer (the black screen with white letters that just opened) while the phone is connected through USB, hitting enter at the end of the line:
cd\
cd androidsdk\tools\
fastboot devices

17. You should see a serial number pop up and the word fastboot to the right of it. This means that your USB drviers are all set up correctly and you can continue. If you do NOT see this, then you need to start over or Google for how to set up the USB drivers correctly (this will help).

18. If it worked, type the following into the command prompt (with hitting enter at the end of the line):

fastboot boot recovery-RAv1.2.0H.img *the 0 in 1.2.0H is a Zero not an Oh

19. Once the phone boots into the recovery mode, then click on Apply Update.zip

20. Once it is finished applying the update, hit home and back to reboot the phone. It should boot up into recovery mode, if not hold down the power button until it does. Once it loads the recovery screen, then take out the battery and put it back in.

21. Turn on the phone by holding Back and Power to get into Fastboot mode again. At the top it should read 1.33.2005. If so, turn off the phone. If not retry this section.

22. Take out the SD card (while the phone is off) and put it into your computer via the cardreader it came with.

23. Open the memory card on the computer and delete the update.zip file from the memory card.

24. Download Amon Ra’s 32A based image and save it to the memory card, rename it to update.zip

25. Put the SD card back into your phone and turn the phone on by holding down Back and Power. Once it boots up into fastboot mode, plug the phone into the computer via Usb (the command prompt should still be open on your computer).

26. Type the following into the command prompt (with hitting enter at the end of the line):

fastboot boot recovery-RAv1.2.0H.img *the 0 in 1.2.0H is a Zero not an Oh

27. Once the phone boots up into recovery mode, click the Apply Update.zip

28. Once the update is complete click home and back to reboot.

29. ALL DONE YOU NOW HAVE ROOT! You can use the phone as is now with Root access. If you want to load a new ROM (like a Hero ROM for instance)......


Any Questions welcome.....happy Rooting...njoy.....


NOTE:- Works for MyTouch


12 comments:

  1. hey nice work...but i have a problem.whenever i try to put the SappIMG.img on my goldcard it says I\O error...please help me...by the way i have a HTC Magic from Airtel.

    ReplyDelete
  2. You can Download the SappIMG.img file again and check that your gold card was created successfully....repeat the process once again if you are not sure.......I have successfully rooted Airtel Magic with the same procedure...
    Note: Download the correct SappIMG.img

    ReplyDelete
  3. I'am able to create the gold card and crossed checked it also but when i load the sappimg on it n fast boot in hboot it says wrong image..

    pl help

    ReplyDelete
  4. I'll make my post more clearer. I'am not able to flash my HTC Magic firmware 1.5 with ROM v2.53.707.2. When I boot my phone holding the volume down key, it does not begin with the update.

    Please help me through here

    ReplyDelete
  5. Boot Ur Phone Holding d Volume down Button.......and check Whatever is Written and Post it back here.......Everything Word to Word....

    ReplyDelete
  6. @Sudharshan

    Pls Check When you are Renaming the sappimg file....rename only --->

    SappIMG.img

    then save it to your goldcard (Do NOT rename it to anything,or leave it as SappIMG.zip).

    ReplyDelete
  7. Hi vivek,

    Can you please upload the skd, the newer skd does not have the usb drivers.

    Guru

    ReplyDelete
  8. - Sandy
    I think that is what I need as well.
    Some help would be REALLY appreciated!

    ReplyDelete
  9. This comment has been removed by the author.

    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete
  11. Hello,

    I have a HTC Magic,Vodafone, SPL 1.33.0010.
    What SappIMG should I download for chapter III. Root the MyTouch using the Goldcard, step 1?

    ReplyDelete
  12. It worked for me until I have to update sappimg.img, the loading works but at the end it said CID incorrect! The sd card worked at my computer, how could this happen?

    ReplyDelete