[Tilt, TyTN II, MDA Vario III Android Development] loserskater:
THIS IS NOW OUTDATED!!

It uses the old sqsh method WITH a rootfs. So if you're using the NoMoRootfs method, this won't work. Please use the already complete builds in the Kaiser/Vogue threads as they are working the best at this moment.

DISCLAIMER:

I take no responsibility for anything that may happen to your phone/computer. Use at your own risk.

PURPOSE:

This is for informational/testing purposes. And for people to stop asking, "can somebody port X rom!!! PLZ!!!"

PREFACE:

I made this as a quick tool to port ROMs from the Dream/Sapphire forums to work with our phones. It's a very quick and dirty script I threw together using bash, so there's probably some problems with it. This tool is simply designed to make a copy of the Dream/Sapphire ROM. Once you get the setup, it's really easy and you'll be porting like crazy.

I did this all on Ubuntu 9.10 so things might not work properly if you're using another distro.

THANKS:

All credit goes to the people that made this possible, in no particular order...

dzo, vilord, mssmison, zen, enatefox, pmos, jamezelle, craig0r, cyanogen, and so many more. If I forgot you, I'm sorry, but you know if you helped in some way.

THE SETUP:

1) Download this file

2) Extract the folder to your desktop. Then copy and paste the following code into the terminal:

sudo mv -f $HOME/Desktop/Android/genext2fs /bin/genext2fs; sudo chmod 755 /bin/genext2fs; sudo dpkg -P squashfs-tools; sudo dpkg -i $HOME/Desktop/Android/squashfs-tools_3.3-7_i386.deb; sudo rm -r $HOME/Desktop/Android/squashfs-tools_3.3-7_i386.deb; sudo chmod 777 $HOME/Desktop/Android/*.build.script

3) Now go into synaptic package manager, search for squashfs-tools, select it and under Package, check Lock Version so that way it won't try to update.

4) Now cruise over to the Dream android development forum or the Sapphire android development forum and download the ROM you would like to port. Place the zip file in the Android folder. (no need to rename)

5) Place any .apk's you would like built into the system in the Apps folder.

ADVANCED SETUP:

If you would like to tweak the system before building, open the script in a text editor and you'll find a line to uncomment that will halt the script until you are ready.

HOW TO RUN:

Either run the script from a terminal

./$HOME/Desktop/Android/HERO.build.script
or
./$HOME/Desktop/Android/Donut.Build.script

Or double click and Run in Terminal

You will get a prompt for your password to use the sudo command. THIS IS NOT SAVED ANYWHERE OR MAGICALLY SENT TO ME. It is just to get the system.sqsh setup for you to use.

You will now see a Donut/Hero folder inside the Android folder. Inside that will be a nice little system.sqsh with the date ready to boot!

*Rename to system.sqsh when you put on your SD card*

Grab the latest basefiles from vogue-android and you're good to go.

~~~~~~ To get an output of what's happening run in a terminal as described above but add " > build.txt" and you'll see a txt file in the Android folder. ~~~~~~~

CHANGING SYSTEMS:

If you want to port a new rom, replace the .zip.

UPDATES:

1) Download the updates from HERE

2) Extract to the Android folder overwriting if necessary.

3) Copy and paste the following code into a terminal:

sudo chmod 777 $HOME/Desktop/Android/*.script

CLEANUP:

If you follow the advanced setup and/or accidentally closed the terminal before the build finishes, run the cleanup script. This will unmount everything that might be mounted and delete all folders that are made during the process.

DOWNLOADS:

If you're too lazy or just want a quick link:

Main "Android porting" folder

Updates