Rolling your own Android rom for HTC Magic (SAPPHIRE)

August 11th, 2009 by cminion Leave a reply »

I followed this guide here

A very good guide to the basic steps for creating a Dream Rom. However as I don’t have a dream there wasn’t a lot i could do after it was built.

Also as the Sapphire config files were not provided so i couldn’t roll my own. So I have attempted to hand crank the config files or find them on my phone.

here are some basic steps to take after you have checked out the source following this guide
1) Copy vendor/htc/dream-open to vendor/htc/sapphire
2) you can delete the files with trout in the name
3) untar the following config files in to the vendor/htc/sapphire
4) Continue with the steps in the guide until you get up to the lunch command. Replace it with
lunch htc_sapp-eng

You should then be able to build the code. I am not saying that these config files are perfect but they should at least get people started.

if there are any mistake or anything missed please let me know.

Advertisement

8 comments

  1. Radix says:

    You may want to gzip that tar file ;)

    Please note that the above gives you a 32b compatible kernel only. We still need to figure out the offset stuff for 32a kernels.

  2. MavFurious says:

    Sorry but…. where is the lunch command in the procedure? t can’t find it

    Thanks

  3. Radix says:

    Oh one thing worth mentioning. Your buildspec.mk file must specify the:

    TARGET_PRODUCT:=htc_sapp

    and you need to run:

    . build/envsetup.sh (yes, the . and space after it is important)

    before you do lunch htc_sapp-eng

  4. MavFurious says:

    I continue to not understand what is the command lunch htc_sapp-eng. Cna you explain me better please? All the rest is ok, thank you

  5. cminion says:

    ok

    There is an executable file called lunch

    PLease read here, http://source.android.com/documentation/building-for-dream

    if i have missed a step please let me know

  6. cminion says:

    I know thats why I added it afterwards, sorry

  7. MavFurious says:

    Sorry? Thank you very much for the work :)

Leave a Reply