[ROM] CyanogenMod 6.1 for GT-I9000: DEVELOPER ONLY THREAD!

Search This thread

Aery

Senior Member
Aug 5, 2010
563
8
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
 
Last edited:

TrueNix

Senior Member
Jun 15, 2009
124
43
Hello Guys.

It seems that i've builded CM6 for Galaxy S.
But when i apply update.zip from Recovery 2e, i get following error:

assert failed: write_raw_image("/tmp/boot.img","boot")
E:Error in /sdcard/update.zip

Does anyone know whats going wrong?

Part from BoardConfig.mk
Code:
BOARD_BOOT_DEVICE := /dev/block/bml7
BOARD_DATA_DEVICE := /dev/block/mmcblk0p2
BOARD_DATA_FILESYSTEM := rfs
BOARD_DATA_FILESYSTEM_OPTIONS := llw,check=no,nosuid,nodev
BOARD_HAS_DATADATA := true
BOARD_DATADATA_DEVICE := /dev/block/stl10
BOARD_DATADATA_FILESYSTEM := rfs
BOARD_DATADATA_FILESYSTEM_OPTIONS := llw,check=no,nosuid,nodev
BOARD_SYSTEM_DEVICE := /dev/block/stl9
BOARD_SYSTEM_FILESYSTEM := rfs
BOARD_SYSTEM_FILESYSTEM_OPTIONS := llw,check=no
BOARD_CACHE_DEVICE := /dev/block/stl11
BOARD_CACHE_FILESYSTEM := rfs
BOARD_CACHE_FILESYSTEM_OPTIONS := llw,check=no,nosuid,nodev
BOARD_SDCARD_DEVICE_PRIMARY := /dev/block/mmcblk1
BOARD_SDCARD_DEVICE_SECONDARY := /dev/block/mmcblk1p1
BOARD_SDEXT_DEVICE := /dev/block/mmcblk1p2
#BOARD_USES_BMLUTILS := true

You better post your update.zip for some who can check it closer
 

BackfireNL

Senior Member
Nov 11, 2009
603
59
Haarlem
hmm.. i'm not making any sense! :p

uhm.. the problem lies with the write command..

are you sure the boot.img is in the /tmp directory on your phone?
 
Last edited:

ttabbal

Senior Member
Jul 1, 2009
2,076
723
Samsung Galaxy S21 Ultra
"boot.img" makes me suspect you are trying to update in the HTC way. It's likely that the CM devs haven't posted the info to allow you to build a fully flashable ZIP yet. WesGarner tweeted recently that he bricked his phone trying a dev build, so be careful.
 

Aery

Senior Member
Aug 5, 2010
563
8
Mail from wes:

Can't use raw image write
Since boot is the last to flash use my build kernel script which will flash the kernel using redbend
 

mssmison

Retired Forum Moderator
Apr 23, 2008
1,654
231
Google Pixel 5
You seem to be missing all of your proprietary files..
You should check in with noobnl on your bulding technique.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    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
    1
    Mobile Data connection is slow in the area I live so the slow speed of the browser is not caused by software as you can see when i''m browsing with wifi some seconds later.

    hm, i thought mobile data ISN't working just yet?!! at least it says so in the 1st post!
    1
    It's no critical bug. First fix all critical errors, then improve things.



    I've already mentioned this 1000 times.
    Sound is completely broken.



    No problem here.
    Installing 15 Market Apps at one time!
    Phone calls are working,too.

    What can I say, I can't install market apps. Sorry I just noticed Terminal emulator =P. I think I will build latest source when I get home to see if it fixes my problems. Music playback works fine on Samsung headphones fyi.

    data dbdata and cache is at ext4
    Why you haven't used "mount" command at shell to check?

    What can I say, I can't install market apps or make phone calls without a headset. Sorry, I just noticed Terminal emulator on here, I'm not home otherwise I would have used adb =P. I think I'll build latest source when I get home to see if some of my issues are fixed...

    IMO sound isn't completely broken, music playback is fine on Samsung headphones.

    Sent from my Galaxy S running CyanogenMod