Android tutorials
From Club Ubuntu
How to install the Android System Recovery Utility on the HTC Magic :
This tutorial has been successfully tested for the HTC Magic from Rogers (Canada).
1 - First you need to download Android SDK here. Also make sure you have fastboot installed on your computer, you can get it here (I personnally like to move the fastbook app under /tools in the SDK directory).
2 - extract the SDK .zip file in any directory you want on your computer.
3 - Enable USB debugging on the android device in settings->applications->development->"USB Debugging"
4 - Connect the USB cable that comes with the device to your computer (and device of course) and mount your connection ( There is a notification on the HTC )
5 - On your computer, go to the tools directory of the SDK and start a adb daemon by typing :
sudo ./adb
6 - Make sure your device is detected by typing in the tools directory :
./adb devices
7 - Download the Amon RA recovery image here (if your Magic is HTC branded (PVT 32A board)) or here (if your Magic is Google branded (PVT 32B board)).
8 - copy the file you just downloaded in the tools directory of the SDK.
9 - Boot your device in fastboot mode :
- Turn the device off
- Keep pressing the 'go back' key while turning it on (start pressing before turning it on)
At that point you should have a while screen on your devices with stuff written on it.
10 - boot the recovery image from your computer, that is type in the tools directory (make sure that fastboot is there) :
$ ./fastboot boot recovery-RAv1.1.1H.img OR $ ./fastboot boot recovery-RAv1.1.1G.img
Your device should get busy and you ll get the same kind of screen as in here
11 - Wait a minute or 2, then do on your computer in the tools directory :
$ ./adb shell mount -a
Ignore the failed mounts...(I got 2 error messages personnally but that s ok)
12 - run the following commands (still in the tools directory) :
$ ./adb push recovery-RAv1.1.1H.img /system/recovery.img $ ./adb push recovery-RAv1.1.1H.img /sdcard/recovery-RAv1.1.1H.img $ ./adb shell flash_image recovery /sdcard/recovery-RAv1.1.1H.img
13 - Reboot
Now, if you boot your device while holding the HOME key (and not the 'back' key... It is a hard task to find proper writing service, there is always a risk to be cheated or at least to get unsatisfactory grade for passing low quality paper. I have tried tons of them, and, to my mind, this is the best essay writing service. Please take it into consideration because I think that it�s better to try it once than waste your time and money on unprofessional writing companies. I did the mistake). It should lead you to the green screen again (system recovery utility).
If the flashing doesn't work you might need to flash your SPL.
WARNING: The SPL is the Secondary Program Launcher which is the core of the device. If you screw that up, your device is boned. The following is NOT SAFE.
- 32A board : apply this update from your sd-card after fast booting with this recovery.
- 32B board : apply this update from your sd-card after fast booting with this recovery.
Note : How to apply an update, copy it to your SDCard on your device as update.zip (you can just drag and drop it from ubuntu if the device is properly connected as mentioned above). Then in the System Recovery Utility, there is an option to apply update.zip
How to install the HTC Sense UI rom :
1 - Download the rom from here. I took the one under the section 'HTC Hero ROM for Magic by Fatal1ty'. Note that this is designed to run on the HTC Magic from Rogers (Canada). If you live somewhere else, you need to look around.
2 - Rename the file you downloaded as update.zip and put is on the SDcard of the HTC Magic.
3 - Reboot your device on the System recovery utility (green screen...read above again if not sure).
4 - There is an option to wipe your data (make sure you backed up your stuff from the phone).
5 - once the system wiped, apply the update.zip. It will take a while
6 - Reboot, if everything was done right, CONGRATULATION ! YOU NOW HAVE A HTC HERO !!
Troubleshooting :
- If the update process complains while in System Recovery Utility, you need to unplug the USB cable from your device and keep trying until it works, I think this is a mounting issue.
- You might wanna look at this to get root access to your device : http://android-dls.com/wiki/index.php?title=Magic_Rooting (I tried it without much success and I am not sure how it affects the tutorial above)
- Note that the HTC Magic is different in some countries, the Canadian HTC Magic has very close specs from the HTC Hero (288Mb RAM helps...) so it works well on it. Other versions of the HTC Magic have lower specs, I dont recommend installing the Hero Sense UI on it.

