[EVO 4G Android Development] lithid-cm:
Thank you to the CYANOGENMOD TEAM for this source and rom. I am doing this only because I feel since this is open source some of us should be able to help. So I figured with something like this we could help out the team if anyone knows the code and can submit it. This isn't some secret and its not against any rules. I am just making it easier to get people to help out the cm with code for bug fixes to get this phone compiling perfect for cyanogenmod. I will not modify any code, this is strictly all CM code and I will not modify any code. This is gingerbread from the cm repo. VERY VERY UNSTABLE!

On that note I will be updating this every so often when I think there is enough code to make a difference merged. Mainly for those who can't compile themselves will have a place to get a rom.

This is not made for just anyone. No one is to blame but you for what you do to your phone. I am just giving people the tools. I just wanted to let people know if they are fans of the CM team and know and want to help this is how you start off.

Make sure ADB is installed and its working. Also to pull all the needed proprietary files you might need a cm rom and stock rom just to flash really quick to pull these needed files later on in the how to. You would only need to pull them once.

This guide is for using Ubuntu Linux. Change out what you may need to for your own distro.

READ THIS BEFORE FLASHING!

THIS IS AN UNSUPPORTED PREVIEW. DO NOT ASK FOR SUPPORT ON THIS BUILD YOU WILL BE LAUGHED AT AND YOU HAVE BEEN WARNED.

Packages:

Note* If you are using ubuntu 10.10 then you will need to use this repo for the java download

add-apt-repository "deb http://archive.canonical.com lucid partner"

Then you need to:

sudo apt-get update

32 and 64 bit systems:

sudo apt-get install git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev sun-java6-jdk pngcrush

64 bit systems:

sudo apt-get install g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline5-dev gcc-4.3-multilib g++-4.3-multilib

Create the directory:

mkdir -p ~/android/system

Installing repo tool:

sudo bash
curl http://android.git.kernel.org/repo > /usr/bin/repo
chmod a+x /usr/bin/repo
exit

Initializing the CM repository:

cd ~/android/system/
repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
repo sync

*Note this could take some time.

Copy the proprietary files:

This is where you need adb and the two roms to pull the needed files or else you will not be able to build! Make sure you have a stock sense rom, and a cyanogenmod rom. Connect the phone via usb then run the following. If you get errors. You would then need the other rom to flash and get the other files from. Its a pain but is necessary.

If you need help with adb here is something simple about it:

http://xdaforums.com/showpost.php?p=10070233&postcount=72

cd ~/android/system/device/htc/supersonic/
./extract-files.sh

Get RomManager

cd ~/android/system/vendor/cyanogen/
./get-rommanager

Configure the build finally:

cd ~/android/system
cp ./vendor/cyanogen/products/cyanogen_supersonic.mk ./buildspec.mk
. build/envsetup.sh
lunch cyanogen_supersonic-eng

now we compile! Now what does this command mean? Check here for details!

make -j`grep 'processor' /proc/cpuinfo | wc -l` otapackage

Your zip should be here:

~/android/system/out/target/product/supersonic/update.cm-XXXXX-signed.zip

Pre-compiled CM7 RC0 Builds

Here you can download a build that I compiled and I will build one every so often so that people who can't compile can test out the latest builds. You will also find the gapps for gingerbread compiled and working thanks for echoside & barnacles10 for creating those gapps for us to use.

Mediafire folder:

http://www.mediafire.com/?nh5o11gz08f3z

Latest build is CM7RC0-20110115-supersonic-lithid.zip

You can find builds for the last 7 days in the "Old Builds" folder.

SCREENSHOTS

Gapps Updated 20110106!

YOU NEED TO DO A FULL WIPE TO FIX PREVIOUS GAPPS ISSUES!

Now with green icons!