Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,786,599 Members 38,775 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
Aery
Old
(Last edited by Aery; 29th November 2010 at 08:59 PM.)
#1  
Senior Member - OP
Thanks Meter 8
Posts: 561
Join Date: Aug 2010

 
DONATE TO ME
Default [ROM] CyanogenMod 6.1 for GT-I9000: DEVELOPER ONLY THREAD!

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://forum.xda-developers.com/showthread.php?t=842159

Known Bugs:
http://code.google.com/p/samsung-gt-...od/issues/list

Please have a look at the issues list before reporting a bug.
Maybe it's already known.


DISCUSSION THREAD: http://forum.xda-developers.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/cyanoge...itramfs_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
Please if my Help was useful!

Phone: Samsung Galaxy S i9000
Kernel: 2.6.32-CM
Firmware: CyanogenMod 6.1 (dev)

Twitter: http://twitter.com/codeworkx
Github: http://github.com/codeworkx

I'll not reply to any kind of PM!
I'm not working for Samsung! If you need support on any Samsung Firmware, call Samsung support!
The Following 3 Users Say Thank You to Aery For This Useful Post: [ Click to Expand ]
 
spyrale
Old
#2  
spyrale's Avatar
Senior Member
Thanks Meter 114
Posts: 739
Join Date: Apr 2009
Location: from Abruzzo with fury
man, if you can do that i will come to you and kiss your feet!
 
irkkso
Old
#3  
irkkso's Avatar
Senior Member
Thanks Meter 66
Posts: 222
Join Date: Mar 2008

 
DONATE TO ME
Default did you wipe data and cache?

did you wipe data and cache?
 
Daneshm90
Old
#4  
Daneshm90's Avatar
Recognized Developer
Thanks Meter 636
Posts: 3,309
Join Date: Jun 2009
Posting ur update-script / updater-script might help ?
Scripts : Recovery Customizer Link Apk Manager Link Auto Deodexer Link Backup Manager Link Update.zip Modifier/Creator Link
 
rossgucci
Old
#5  
rossgucci's Avatar
Member
Thanks Meter 23
Posts: 90
Join Date: Jun 2009
Quote:
Originally Posted by Aery View Post
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
 
Aery
Old
#6  
Senior Member - OP
Thanks Meter 8
Posts: 561
Join Date: Aug 2010

 
DONATE TO ME
DO NOT FLASH THIS FILE!
http://www.multiupload.com/72EE5VK58S
Please if my Help was useful!

Phone: Samsung Galaxy S i9000
Kernel: 2.6.32-CM
Firmware: CyanogenMod 6.1 (dev)

Twitter: http://twitter.com/codeworkx
Github: http://github.com/codeworkx

I'll not reply to any kind of PM!
I'm not working for Samsung! If you need support on any Samsung Firmware, call Samsung support!
 
BackfireNL
Old
(Last edited by BackfireNL; 8th October 2010 at 07:15 PM.)
#7  
Senior Member
Thanks Meter 59
Posts: 585
Join Date: Nov 2009
Location: 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?
Quote:
Ex Samsung Galaxy S I9000 owner
Ex HTC Nexus One owner
Ex Samsung Galaxy SII i9100 owner
Ex ASUS Transformer Prime TF201 owner
Ex Samsung Galaxy SIII i9300 owner
Google Nexus 7 owner
Sony Xperia Z owner

If you like what i do here on XDA buy me a beer!
 
DangerMUK
Old
#8  
DangerMUK's Avatar
Member
Thanks Meter 10
Posts: 69
Join Date: Aug 2010
Location: London
I'll have a quick look for you as well.
 
ttabbal
Old
#9  
Senior Member
Thanks Meter 465
Posts: 1,729
Join Date: Jul 2009
"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
Old
#10  
Senior Member - OP
Thanks Meter 8
Posts: 561
Join Date: Aug 2010

 
DONATE TO ME
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
Please if my Help was useful!

Phone: Samsung Galaxy S i9000
Kernel: 2.6.32-CM
Firmware: CyanogenMod 6.1 (dev)

Twitter: http://twitter.com/codeworkx
Github: http://github.com/codeworkx

I'll not reply to any kind of PM!
I'm not working for Samsung! If you need support on any Samsung Firmware, call Samsung support!

Tags
cyanogenmod
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Try to Keep Up with Just Swipe Game

Sometimes, the simplest of games are the ones that end up beingthe most addictive and end up consuming … more

MultiROM Ported to the Moto E

Few categoriesof Android development are as intrinsically interestingas the ability to boot into multiple … more

XDA Xposed Tuesday: How to Control Google Play Wake Locks – XDA Developer TV

Xposed Modules are usually pretty simple. There are a few … more

Make Text Entry More Efficient with Macro Text Expansion

One of the best things about the modern day smartphone is its ability to save us … more