[Galaxy S I9000 Android Development] Aery:
CM6 for Samsung Galaxy S GT-I9000: Work in progress

+++++++++++++++++++++++++++++++++++++++++++++++++

Devs:

codeworkx (Aery) - http://twitter.com/codeworkx

coolya - http://twitter.com/dumdidum

finghin - http://www.twitter.com/finghin

PLS DONATE FOR COFFEE, PIZZA AND BEER!!! ;-)

I'm already redirecting 50% of all incoming Donations to coolya.

THANKS TO ALL DONATORS!!!

+++++++++++++++++++++++++++++++++++++++++++++++++

Official Beta Releases:

http://xdaforums.com/showthread.php?t=842159

Known Bugs:

http://code.google.com/p/samsung-gt-i9000-cyanogenmod/issues/list

Please have a look at the issues list before reporting a bug.

Maybe it's already known.

DISCUSSION THREAD: http://xdaforums.com/showthread.php?t=838841

Please use DISCUSSION THREAD, especially for OFF-TOPIC Stuff!!!

+++++++++++++++++++++++++++++++++++++++++++++++++

Howto build for GT-I9000:

mkdir -p ~/android/system

cd ~/android/system/

repo init -u git://github.com/codeworkx/android.git -b froyo

repo sync

cd ~/android/system/vendor/cyanogen/

./get-rommanager

./get-google-files -v HDPI

cd ~/android/system/

cp ./vendor/cyanogen/products/cyanogen_galaxys.mk ./buildspec.mk

. build/envsetup.sh

lunch cyanogen_galaxys-eng

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

+++++++++++++++++++++++++++++++++++++++++++++++++

Kernel Sources:

https://github.com/codeworkx/android_kernel_2.6.32

Initramfs:

https://github.com/codeworkx/cyanogenmod_initramfs_2.6.32

+++++++++++++++++++++++++++++++++++++++++++++++++

Updater-Script for creating a update.zip

https://github.com/codeworkx/update

+++++++++++++++++++++++++++++++++++++++++++++++++

DON'T BUILD WITHOUT ANY EXPERIENCE!

DON'T ASK HOW TO BUILD!

DON'T ASK WHY YOUR BUILD FAILS!

###################################################

# Info for Aery

###################################################

JPM build.prop:

http://pastebin.com/4b5Na6JP

Devices:

http://pastebin.com/ci1CLMZ5

JPM System:

http://pastebin.com/qnR93Ccz

Kernel Log:

http://pastebin.com/98FSKEqZ

Find Depencies:

objdump -x out/target/product/xxxxxx/system/lib/libmedia_jni.so | grep NEEDED

Android UID and GUID:

AID_ROOT 0 /* traditional unix root user */

AID_SYSTEM 1000 /* system server */

AID_RADIO 1001 /* telephony subsystem, RIL */

AID_BLUETOOTH 1002 /* bluetooth subsystem */

AID_GRAPHICS 1003 /* graphics devices */

AID_INPUT 1004 /* input devices */

AID_AUDIO 1005 /* audio devices */

AID_CAMERA 1006 /* camera devices */

AID_LOG 1007 /* log devices */

AID_COMPASS 1008 /* compass device */

AID_MOUNT 1009 /* mountd socket */

AID_WIFI 1010 /* wifi subsystem */

AID_ADB 1011 /* android debug bridge (adbd) */

AID_INSTALL 1012 /* group for installing packages */

AID_MEDIA 1013 /* mediaserver process */

AID_DHCP 1014 /* dhcp client */

AID_SHELL 2000 /* adb and debug shell user */

AID_CACHE 2001 /* cache access */

AID_DIAG 2002 /* access to diagnostic resources */

/* The 3000 series are intended for use as supplemental group id's only. */

/* They indicate special Android capabilities that the kernel is aware of. */

AID_NET_BT_ADMIN 3001 /* bluetooth: create any socket */

AID_NET_BT 3002 /* bluetooth: create sco, rfcomm or l2cap sockets */

AID_INET 3003 /* can create AF_INET and AF_INET6 sockets */

AID_NET_RAW 3004 /* can create raw INET sockets */

AID_MISC 9998 /* access to misc storage */

AID_NOBODY 9999

AID_APP 10000 /* first app user */

"root", AID_ROOT

"system", AID_SYSTEM

"radio", AID_RADIO

"bluetooth", AID_BLUETOOTH

"graphics", AID_GRAPHICS

"input", AID_INPUT

"audio", AID_AUDIO

"camera", AID_CAMERA

"log", AID_LOG

"compass", AID_COMPASS

"mount", AID_MOUNT

"wifi", AID_WIFI

"dhcp", AID_DHCP

"adb", AID_ADB

"install", AID_INSTALL

"media", AID_MEDIA

"shell", AID_SHELL

"cache", AID_CACHE

"diag", AID_DIAG

"net_bt_admin", AID_NET_BT_ADMIN

"net_bt", AID_NET_BT

"inet", AID_INET

"net_raw", AID_NET_RAW

"misc", AID_MISC

"nobody", AID_NOBODY

Check Dalvik-Cache:

dexdump -c /data/dalvik-cache/*

Mount sdcard to usb @ recovery:

echo /dev/block/mmcblk0 > /sys/devices/platform/s3c-usbgadget/gadget/lun1/file

Unmount:

echo "" > /sys/devices/platform/s3c-usbgadget/gadget/lun1/file