Index · · Forum (søg) · Blogs · Artikler · IRC · Billeder · Video · HWP · Spiki Thu, 13 Dec 2018 07:06 
 Seneste indlæg: [Andet] Borgerforslag - Jon Kanon (d. 19 October 2018)
Reklamer
udgået pga smovs
htc magic - cyanogenmod (brian)
Monday 28-12-2009
A short walkthrough consisting of the steps I took to get cyanogenmod on my HTC Magic android phone.

Spoiler warning: Walkthrough


Walkthrough: cyanogenmod on HTC Magic



No guaranties! The author takes no responsibility for any bad things that may happen to you or your phone after reading this small walkthrough! Do backup, check md5sums, make sure the phone and/or computer does not run out of battery while doing any of the below!




Phone


  • htc magic european version

  • Original os (android 1.5)

  • 32A, HBOOT-1.33.0009 power on phone while pressing BACK button to get this info (<BACK+POWER>)

My SPL (the android bootloader) version is not a "Perfect SPL" and so the ROM can be fastbooted as is. See more under 1.4 here.




System


  • Asus eee 1005ha-h

  • Arch linux, up to date per time of article

  • Kernel 2.6.31, version from repo





Some sources used





Install SDK


Did this a while ago but below should work. Steps marked (dev) may be skipped.

  • Get latest version (android-sdk_r04-linux_86.tgz at time of writing).

  • The SDK is self-containing so simply extract it to your preferred location: $ tar xvzf android-sdk_r04-linux_86.tgz

  • Add the tools directory to your path. For bash, add to .bashrc: PATH=$PATH:/path/to/sdk/android-sdk-linux_86/tools

  • (dev)Install eclipse any way you please. If you have no intention of ever developing on the android, skip this and the next two steps.

  • (dev) Add Android plugin (ADT) - instructions. If you run into problems try using http instead of https or simply restart your system.

  • (dev) Add development platforms to the SDK. $ android. The tool is included in the SDK, which should be in PATH by now. I added all platforms,

  • Enable development mode on android device: Settings -> Applications -> Development -> USB debugging.

  • Provide proper permissions. Add line to eg /etc/udev/rules.d/51-android.rules: SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666"

  • Connect android device to computer and check that it works.

    • List connected device: $ adb devices

    • Reboot device: $ adb shell reboot





Backup data



  • Write down Access Point Names (APNs): Settings -> Wireless controls -> Mobile networks -> Access Point Names. Mine were {"Name":"3 Danmark","APN":"data.tre.dk","Proxy":"","Port":"","Username":"","Password":"","Server":"","MMSC":"","MMS proxy":"","MMS port":"","MCC":238,"MNC":06,"APN type":"default"} (selected) and {"Name":"3mms","APN":"data.tre.dk","Proxy":"","Port":"","Username":"","Password":"","Server":"","MMSC":"http://mms.3.dk/","MMS proxy":"172.16.1.25","MMS port":8799,"MCC":238,"MNC":06,"APN type":"mms"}.

  • Backup everything else. ASTRO may be used for backing up applications (see wiki for this).




Backup ROM



  • Using RA-recovery ROM. Fetch latest "H" version for the 32A edition phone (recovery-RA-sapphire-v1.5.2H.img). Check md5sum.

  • If not available in installed SDK get fastboot tool. Check md5sum and put in tools dir of SDK.

  • Connect phone and power on while holding BACK button (<BACK+POWER>). Check that fastboot is working: $ fastboot devices

  • Boot phone using the recovery ROM: $ fastboot boot recovery-RA-sapphire-v1.5.2H.img

  • Select with trackball: backup/restore -> Nand backup on phone. Alternatively on computer $ adb shell and then use nandroid-mobile.sh

  • Press "Back" button and select USB-MS. Copy nandroid directory to computer for safekeeping. Press "Home" button when done to disable USB-MS.



Put cyanogenmod ROM on phone


Basically http://forum.xda-developers.com/showthread.php?t=568032

  • Get HTC ADP 1.6

  • Get latest cyanogenmod. (update-cm-4.2.9.1-signed.zip)

  • Get corresponding kernel port (bc-4.2.9.1-ebi1-signed.zip)

  • Check md5sums and copy the three files to root of sdcard on phone.

  • Fastboot phone with recovery like in previous step (<BACK+POWER>, $ fastboot boot <recovery-img>)


    • Wipe -> Wipe data/factory reset

    • Flash zip from sdcard -> HTC_ADP_1.6_DRC83_rooted_base.zip

    • Flash zip from sdcard -> update-cm-4.2.9-signed.zip

    • Flash zip from sdcard -> bc-4.2.9.1-ebi1-signed.zip

    • Reboot phone


  • When setting up google account press "Menu" button and enter APN detailsgathered previously. Make sure you are in a place with proper 3g coverage - highways of funen, denmark are not recommended..


Reklamer
udgået pga smovs
   Time: 0.0020549297332764 seconds Brugere - Ny blog - Ny artikel - changelog