Upgrading from CM or other rooted roms - Magic32A Firmware to CyanogenMod
From CyanogenMod Wiki
Contents |
[edit] Instructions
Installing CyanogenMod on the 32A requires an additional step whereby a custom kernel is applied to the device as part of the installation process.
Failure to do this step will result in the device failing to boot beyond the initial "HTC Magic" boot screen.
The process of upgrading from a stock ROM is fairly simple, following the instructions below.
[edit] Rooting 32A
CAUTION: Rooting the new MyTouch3G Fender LE or MyTouch 1.2 (phones with a 3.5mm headphone jack on top) requires a different process. Be careful not to mistake flashing instructions for regular 32As which do not take into account this new hardware (these devices appear to be hybrid 32A/32B boards, thus ordinary methods will result in the touchscreen not working). It is possible to get root, but there are no custom ROMs as of March 2010. Two threads at XDA here and here explain the situation further. This is an evolving issue; please be patient with developers.
For standard 32As, 'rooting' usually doesn't rely on any exploit per se, because most 32A Magics are shipped with a fastboot compatible SPL installed. If you see the "3 skateboarding Androids" screen when you boot to fastboot (Volume Down + Power), you should be able to do the following:
Prep:
- Install the Latest Android sdk
- If it's not present in the 'tools' directory, get the fastboot binary http://developer.htc.com/adp.html#s2
- Get the latest Amon_Ra recovery: http://forum.xda-developers.com/showthread.php?t=530492 (skip down to "downloads" and chose the H version).
- Download the HTC Android 1.6 base image:
- DRC83_base_defanged
- Mirror: DRC83_base_defanged
- Mirror: DRC83_base_defanged
md5sum: 081379e9b525484bcd1ee42bd0031a4c
- Download the latest CyanogenMod ROM for your device:
- Download the Kernel Port file (see below)
- Put all three of these files on your SD card
Installation:
- Plug the phone into the computer
- Turn-off the phone
- Reboot into fastboot by holding Volume Down + Power (you should see three Androids on skateboards)
- Press the back button on the phone until "Fastboot" shows in the center bar
- On the computer run
fastboot boot RA-sapphire-vxxxx.img
- You should see the following message on the computer:
downloading 'boot.img'... OKAY booting... OKAY
- The phone should reboot into RA recovery
- (if it says 'Remote Not Allow' or similar, your SPL may need to be changed. The process to do this is beyond the scope of this wiki but http://forum.xda-developers.com/showthread.php?t=548218 Amon_RA has a post that might help. Of course SPL replacement is potentially dangerous, so proceed at your own risk.)
(If it still says <waiting for device> try reseating the cable, rebooting phone, "adb kill-server", "adb remount" etc in some order until it recognizes the device properly)
[edit] Follow the directions below for "Full install" starting at step 5
NOTE: This means that where it says at step 7 "Apply Zip: HTC_ADP_1.6_DRC83_rooted_base.zip" you should INSTEAD "Apply Zip: DRC83_base_defanged.zip".
Once booted into the new CM and everything works properly, you can permanently install the recovery:
- copy the recovery to your sd card
- open your terminal of choice, run su
- run:
- flash_image recovery /sdcard/cm-recovery-1.4.img
Reboot, holding down Home to test new recovery.
[edit] Full Install from custom recovery (from other ROM or older CM versions)
- Download HTC ADP 1.6 DRC83 http://www.androidspin.com/downloads.php?dir=enomther/ROM/&file=HTC_ADP_1.6_DRC83_rooted_base.zip (Mirror)
- Download the latest CyanogenMod (see below)
- Download the Kernel Port file (see below)
- Copy all three .zip files to your SD and reboot in Recovery Mode (press Home+Power at the same time or fastboot into your recovery)
- Do a "Wipe data/factory reset"
- Do a "Wipe SD: ext partition" ** (it is recommended to wipe your Apps2SD partition for this release)
- Apply Zip: HTC_ADP_1.6_DRC83_rooted_base.zip
- Apply Zip: update-cm-xxxx-signed.zip (if you get a getprop error here make sure you fastboot with recovery-RA-Magic32A-6.35-v1.5.2.img, not the Hero one)
- Apply Kernel Port Zip: rad-4.xxxx.zip or bc-4.xxxx.zip (depends on who released the latest port: rad - Radix999,bc - bcrook )
- Reboot
- Grab some popcorn and watch 'adb logcat' as it goes past, or just wait about 10 minutes. On the first boot, the firmware will be busy writing new code to dalvik-cache.
Note: According to http://wiki.cyanogenmod.com/index.php/Latest_version#Defanged_DRC83 and http://code.google.com/p/cyanogenmod/issues/detail?id=458#c21, the recommended ADP recovery ROM to use should be 'Defanged DRC83'
[edit] Upgrade (i.e. already installed 4.1.99 or greater)
- Download the latest CyanogenMod (see below)
- Download the Kernel Port file (see below)
- Copy both .zip files to your SD and reboot in Recovery Mode (press Home+Power at the same time or fastboot into your recovery)
- Apply Zip: update-cm-xxxx-signed.zip
- Apply Kernel Port Zip: rad-4.xxxx.zip or bc-4.xxxx.zip (depends on who released the latest port: rad - Radix999,bc - bcrook )
- Reboot
- Grab your popcorn and watch "adb logcat" as it goes past, or just wait about 10 minutes. CM is busily conforming your apps to run from the SDcard.
