Remove All Ads from XDA

[NIGHTLY][ROM][2.3.7][GWK74] CyanogenMod 7 for Samsung Galaxy S

8,383 posts
Thanks Meter: 57,334
By codeworkx, Senior Recognized Developer on 3rd May 2011, 06:58 PM
Post Reply Email Thread
This thread is reserved for nightly builds of CyanogenMod Rom for Samsung Galaxy S.

All Samsung Roms are running ontop of BML/RFS, CyanogenMod 7 does NOT.
It runs on MTD/yaffs2 (like Nexus One) which means you're not able to flash any kernel or run any filesystem you want. Use it as it is.
Only data partition, which is on movinand, is ext4 like on speedmod or voodoo ("lagfix").

CyanogenMod is a free, community built distribution of Android 2.3 (Gingerbread) which greatly extends the capabilities of your phone.

** These CyanogenMod builds are highly experimental and unsupported.
** Please refrain from submitting bug reports for any issues
** you may encounter while running one of these builds.
** Submitting bug reports on nightly builds is the leading 
** cause of male impotence.
What are Nightly builds? Auto compiled builds of the latest CyanogenMod source from github. This version change each night and aren't officialy supported.
If you find bugs/issues you can/must discuss here (do not submit nightlies bug on CyanogenMod issue tracker).


- First time flashing CM 7 to your Galaxy S (or coming from another ROM)?
  1. Root your device and install ClockworkMod Recovery.
  2. Reboot into Recovery using 3-button-combo
  3. Do a Nandroid backup!
  4. WIPE (wipe data/factory reset + wipe cache partition)
  5. Install the ROM from internal sdcard using ClockworkMod Recovery
  6. Optionally install the Google Addon

- Upgrading from earlier CM7?
  1. Do a Nandroid Backup!
  2. Install the ROM (your Google apps will be backed up automatically)

There are no Google Apps bundled with CM ROMs, because Google asked Cyanogen to remove copyrighted apps, after flashing rom don't forget to flash Google Addon package if you want it.

Latest version:
Compatible Radio Images (>= Nightly 15):
Supported devices: GT-I9000, GT-I9000M, GT-I9000T
before flash is recommended to check the md5sum





- atinm -
- codeworkx -
- coolya -
- guiperpt -
- unhelpful -

- Host:
- Channels: #cyanogenmod, #cyanogenmod-dev, #cmsgs

- Generic Changelog
- CyanogenMod Source Twitter
- Device specific Changelog by igor.tonky

Please visit the CyanogenMod Wiki for step-by-step installation walkthroughs and tons of other useful information.

Thank you to EVERYONE involved in helping with testing, coding, debugging and documenting! Enjoy!
The Following 288 Users Say Thank You to codeworkx For This Useful Post: [ View ]
3rd May 2011, 06:59 PM |#2  
derrzredeem's Avatar
Senior Member
Thanks Meter: 110
If You Have Any Questions, Please Refer To This

The Following 14 Users Say Thank You to derrzredeem For This Useful Post: [ View ] Gift derrzredeem Ad-Free
3rd May 2011, 07:02 PM |#3  
runedrune's Avatar
Senior Member
Flag Lahore
Thanks Meter: 2,294
have i ever told you i love you? i'm pretty sure i have but i'd just like to tell you again. i'm sorry for this offtopic post but i'll edit it later to something useful. just wanted to show my affection.
The Following 6 Users Say Thank You to runedrune For This Useful Post: [ View ] Gift runedrune Ad-Free
3rd May 2011, 07:03 PM |#4  
joaoennes's Avatar
Senior Member
Flag Viseu
Thanks Meter: 199
This should be it since the beginning.
The Following 6 Users Say Thank You to joaoennes For This Useful Post: [ View ] Gift joaoennes Ad-Free
3rd May 2011, 07:04 PM |#5  
Arkanius's Avatar
Senior Member
Thanks Meter: 73
Clean thread. That's how I like it
Excited for the Coming Soon patch!
Reboot Recovery
The Following 4 Users Say Thank You to Arkanius For This Useful Post: [ View ] Gift Arkanius Ad-Free
3rd May 2011, 07:04 PM |#6  
dhiru1602's Avatar
Inactive Recognized Developer
Thanks Meter: 13,698
Woah! Can't wait to try this.
The Following 2 Users Say Thank You to dhiru1602 For This Useful Post: [ View ] Gift dhiru1602 Ad-Free
3rd May 2011, 07:04 PM |#7  
josteink's Avatar
Senior Member
Flag Oslo
Thanks Meter: 1,450
The quick troubleshooting post.
This post contains a compilation of problems/issues and answers provided in this thread and earlier threads. Not all answers are tested by me and I will in no way guarantee that this wont mess up your phone.

You know, watch your kittens. They might be eaten by following the advice written down here.

rschenck wrote a very nice (and updated) guide for how you install CM7 on your SGS these days.

Things have changed quite a bit recently, so even if you installed it two weeks ago, you may want to check this one again.

What do people mean with "correct" bootloader? How can I make sure I have the right one?
Do NOT install directly on top of existing Samsung 2.3.3 firmwares or other firmwares based on this (like Darky's 10). Similarly, don't install directly on top of Eclair.

See this very easy guide on the android soul for flashing XXJPU, which is Froyo with the correct bootloaders needed..

I'm not sure I understand these procedures. Can you draw it out for me?
Anticipating this very question, rschenck actually did draw out a flow-chart for you.

See here.

But I'm not using the I9000, I'm using something else...
codeworkx provided a reference list you can check to ensure you are getting the right files.

After flashing the initial CM kernel I can't get CWM Recovery to work. It just displays some weird image
CWM Recovery might have different keymappings from the ones you are used to.
- Volume keys: Naviagte up and down in menus
- Power button: Select item
- Home key: Show/hide menus

If you are only seeing a weird image, chances are you've hidden the menu by pressing the home key. Try pressing it again

I can't find Cyanogenmod nightlies in ROM Manager
Yes. CM7 for the SGS is now mainlined and supports ROM Manager for nightlies, should you have the premium version. If you have the Premium version, follow these very graphic instructions to configure ROM Manager for nightlies.

To install from MIUI (courtesy of runedrune)
- Reboot into recovery using 3-button-combo
- Choose "mounts & storage" and format system, data, cache, datadata
- Do not apply the initial-file.
- Apply the latest update
- Apply the latest gapps (which can be obtained here. You want the one with -gb- in the name )
- Done. Reboot

Odin doesn't recognize my phone anymore and I want this fixed in case I mess something up
You will probably need the Nexus S drivers (which supposedly is really just some updated Galaxy S drivers).

If Odin for some reason don't see your device when connected, make sure the old Galaxy S drivers are uninstalled and removed. Bilboa1 gives some good hints about how to make sure your drivers are actually fully removed. Do check this before proceeding to install the Nexus S drivers.

After you have installed the Nexus S drivers, plug in your phone. Windows should now install some drivers, but you are not done yet. When using download-mode your phone will show up a little differently to Windows, so put your phone in download-mode and plug it in, with neither Kies nor Odin running. You will probably see Windows installing some more drivers.

After doing this, Odin should hopefully be able to recognize (and flash) your phone.

It depends. If you have to ask, it probably isn't.

I've flashed this and decided it is not ready for me. How do I flash back to stock ROMs?
Get the appropriate firmware you are interested in, flash as usual using Odin, but check re-partition and use the 512 pit-file.

For pre-rooted stock-images, you can use EZBase as shown here (also includes download links).

Please take a look here to see if your issue is mentioned and has a known solution before posting.

After flashing CM7 I get strange colours on my screen during boot
You do not have the correct bootloaders. Basically flash 2.2.1 following this article and then redo the CM7 installation. All should be fine.

Guys! Guys! I cannot find Android Market!
Google stuff is not included in CM7 by default. Download and apply latest gapps from CWM. You want the "universal" one with "-gb-" in the name.

But I want the latest gtalk with video and all that fancy stuff
got_milk was nice and uploaded some stuff. Beware though that lots of people are reporting this to force-close a lot, and that's not just on SGS CM7.

Can I run Samsung apps like Memo, Camera etc on this firmware?
No. Sorry. All Samsung apps depend on TouchWiz libraries which can only be found in Samsung firmwares.

How do I get additional themes for CM7 themes chooser?
Check the themes forum here on XDA or search for "CM7 themes" on Android market.

Once installed, the themes will be available in the themes chooser yes. According to the devs should reboot to fully apply the theme, but if you want to avoid reboots Android market might have something for you.

Things used to work, I applied a nightly update and now everything force-closes
Try wiping cache and dalvik cache in CWM. You should do this every time you install a new update.

Does CM7 need a lagfix?
CM7 uses ext4 (for /data) and yaffs2 (for everything else). CM7 does not use Samsung's RFS which was the main cause of poor performance on Samsung firmwares.

So no, your system is already lagfixed, you don't need to apply a lagfix and according to the developers very bad things will happen if you try to apply one anyway.

My current ROM has a lagfix. Do I need to disable that?
Probably not.

If you have a 2.3.3 ROM with 2.3.3 bootloaders, you will want to do a full wipe to stock 2.2.1. See above. In this case you no longer have a lagfix anyway and don't have to worry about it.

If you have a non-2.3.3 ROM with a lagfix, you don't have to disable it. All your partitions will get wiped by the installer anyway and so will your lagfix.

For whatever reason, I want to flash a custom kernel
You can use custom-kernels, but CM7 is a work in progress with new kernel-revisions popping out with every release. Make sure you flash a kernel which is compatible with the nightly you are running. Also: Do NOT flash via Odin, flash via CWM.

rschenck has a very good post on this.

If all you want is a "voodoo kernel" for voodoo sound, just (buy and) install Voodoo Control Plus from the market. It will load the required kernel-modules while you can stay on the stock kernel, making the lives of the developers much easier should you encounter bugs.

Is it possible to flash my own CSC from recovery after installing cm7?
According to the devs, this should not be needed.

Flashing other modems/radios
(Courtesy of GrimVarg: )

Odin will not work and it might **** **** up. The reason is that Odin and heimdal does not understand the CM partition layout and will just write the modem where it thinks is should be. Overwriting other stuff in the process.. So you need to use the specific update zipfiles on teamhacksungs sourceforge page

Instead of using Odin, download radio-packages from the following link, transfer to your phone and flash via CWM:

I want to keep my 850 band, and I don't recognize any of the modems on the sourceforge page
Lorssoth says "use KC1" and robbiev80 posted some download links you might be interested in.

Does external SD card work with cm7? Thanks!
It does. Make sure you have the proper bootloaders before installing as mentioned in the first part of this post. EZBase can be used for this.

External SD card will get mounted as /mnt/emmc. This may not be visible to all apps. If you desperately need the contents visible to apps only looking in /mnt/sdcard, create an empty directory there and remount the /mnt/emmc there as well:

Using either the terminal emulator or adb shell:
mkdir -p /mnt/sdcard/external_sd
mount /dev/block/vold/179:9 /mnt/sdcard/external_sd
Note: This is only a temporary fix for when needed. It will cause issues when you try to use USB sharing later. Write the following to get things back to normal:

umount /mnt/sdcard/external_sd

USB sharing doesn't work
Try installing the Nexus S drivers, instead of the Samsung ones.

After installing this camera doesn't work
Try locking and unlocking your phone. No really.

After installing this I cannot get any data-connections apart from wifi
There is a problem with RIL (radio interface layer)-polling. Lock and unlock and you should be OK.

If this sounds cumbersome, mobilescooby claims that installing Juicedefender somehow fixes this for him and that he no longer needs any lock and unluck boot-rituals.

This issue should now be resolved.

After doing this I still cannot get any data-connection apart from wifi
You might need to configure APN settings. Normally your network-provider will have this information on their homepages and some even offer to send them to you over the network.

After installing this I cannot send and/or receive MMSes
See above: You might need to configure APN settings. Check your provider.

After installing CM7 I cannot connect to my wifi-network
It might be related to what channels you have enabled on your phone. If your wifi network is using channel 12 or higher, you may need to enable those channels on your phone.

Go to Settings/Wifi & Network/Wifi settings/Advanced/Regulatory domain. And try not to be in violation of local laws with regard to channel usage

After installing CM7 I cannot connect to 802.1x EAP Wifi networks
This is seemingly an issue with lots of custom kernels and even some of the Samsung Firmwares. Yours truly can't get it to work at all, not on CM7 nor Samsung's JVB firmware.

Other people have reported that forgetting the network and adding it manually, by entering the SSID (with correct casing) and filling in all the details themselves have solved their problems.


After installing CM7 I cannot charge my phone to 100%. WTH
No actual firmwares allows you to charge the battery to 100%, but stops a little bit before it reaches that point. This is to protect the battery from overcharging and should (in the long run) give you much better battery-life.

While stock firmwares from Samsung shows that the phone is 100% charged, this simply isn't true and is just UI-candy to make you all feel comfy. It's really charged to something around 94-98 percent.

So if your phone stops charging around that point, everything is normal, and the only new thing is that your phone is no longer lying to you

My GPS performance is terrible
Welcome to the world of Samsung Galaxy S GPS flux. Things you can try to improve on this includes the following:

- Install faster fix from Android market. Ensure you have the best time-server for your area chosen.
- You can also try AngryGPS, which siberian tiger was nice enough to upload.
- If all else fails, you can also try to flash a radio with a good GPS reputation. For flashing radios, see the appropriate section of this post. For some detailed post about the different radios eeyunopper posted this link and this link. (With ZSJPG I am getting decent result, YMMV)

Auto brigthness is kinda not-worky
You can try the presets outlined by Arkymedes right here.

How do I configure proxy settings?
(Thanks to runedrune)
If you are used to looking for proxy settings under Settings/Wifi & Network/Wifi settings/Advanced, you wont find it there.

Using either Launcher pro/ADW Launcher or another launcher which lets you create shortcuts to activities:
* Long hold on some open space on your launcher
* Select (Custom) Shortcut
* Select Pick your activity/Activities
* Scroll down to settings and click this
* Scroll down the long list and you should find proxy settings

You now have a shortcut to configure proxies as usual.

This "headphones mic on mute + instant music after call bug" is really irritating
If you are using Samsung or Nokia headsets, this is due to a problem on their part. See Arkanius' post right here.

Other things I should be aware of?
- Don't use 2G/3G data-switching. Period. At least not while the data-connection is active.

Not trough widgets, tasker or any other means. Seriously. Should you do this, you might end up having to restore nandroid backups or doing factory resets.

This report has details on more sophisticated ways of cleaning up which may lead to less data-loss, although not everyone can get it to work.
The Following 25 Users Say Thank You to josteink For This Useful Post: [ View ] Gift josteink Ad-Free
3rd May 2011, 07:06 PM |#8  
zacharias.maladroit's Avatar
Recognized Developer
Flag MilkyWay-SolCluster-Earth-Europe-Germany-BaWü
Thanks Meter: 5,910
Donate to Me

nice work with the GPIOs, camera and other parts !
The Following 2 Users Say Thank You to zacharias.maladroit For This Useful Post: [ View ]
3rd May 2011, 07:12 PM |#9  
eeyunopper's Avatar
Senior Member
Thanks Meter: 14
Lol, having two threads will confuse a lot of people. I look forward to all the questions relating thus...

sent via potential brick...
3rd May 2011, 07:13 PM |#10  
zacharias.maladroit's Avatar
Recognized Developer
Flag MilkyWay-SolCluster-Earth-Europe-Germany-BaWü
Thanks Meter: 5,910
Donate to Me
Originally Posted by eeyunopper

Lol, having two threads will confuse a lot of people. I look forward to all the questions relating thus...

sent via potential brick...

I've already notified the mods to close / lock the other one ...
The Following User Says Thank You to zacharias.maladroit For This Useful Post: [ View ]
3rd May 2011, 07:28 PM |#11  
Mortify1's Avatar
Senior Member
Thanks Meter: 20
Good job on the clean house, everything is working great on my phone and very speedy
Post Reply Subscribe to Thread

2.3.4, 2.3.7, a egg, amazing, awesome, banana phone, behind you, cm7, codeworkx, cyanogenmod, empowering users, fast, hairdryer, light in the tunnel!, mama call filter, no 720p, no pony, omfgbbq, opensource, pure, ring ring ring ring ring, silk, silk improves battstats, turbo rom, without lag

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes