Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,783,129 Members 45,594 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
codeworkx
Old
(Last edited by codeworkx; 30th September 2011 at 07:51 PM.)
#1  
codeworkx's Avatar
Senior Recognized Developer - OP
Thanks Meter 43,530
Posts: 5,441
Join Date: Nov 2010

 
DONATE TO ME
Default [NIGHTLY][ROM][2.3.7][GWK74] CyanogenMod 7 for Samsung Galaxy S

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.

Code:
** 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).

INSTRUCTIONS:

- 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: http://download.cyanogenmod.com/?device=galaxysmtd
Compatible Radio Images (>= Nightly 15): http://codeworkx.de/download/cyanogenmod/
Supported devices: GT-I9000, GT-I9000M, GT-I9000T
before flash is recommended to check the md5sum


FREQUENTLY ASKED QUESTIONS:
http://forum.cyanogenmod.com/topic/2...sung-galaxy-s/


CYANOGENMOD WIKI:
http://wiki.cyanogenmod.com/index.ph...msung_Galaxy_S


HOWTO BUILD FROM SOURCES:
http://wiki.cyanogenmod.com/index.ph...for_GalaxySMTD


ADDITIONAL INFORMATIONS:

Maintainers:
- atinm - http://twitter.com/atinm
- codeworkx - http://twitter.com/codeworkx
- coolya - http://twitter.com/dumdidum
- guiperpt - http://twitter.com/guiperpt
- unhelpful - http://twitter.com/unhelpfulone

Irc:
- Host: irc.freenode.net:6667
- Channels: #cyanogenmod, #cyanogenmod-dev, #cmsgs

Changelog:
- 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!
Currently inactive CyanogenMod Developer
Twitter: http://twitter.com/codeworkx

Current devices:
Google Nexus 5: Google Android 4.4, Stock Recovery
Google Nexus 4: 3.4.y, CWM6, CM11
HTC One: 3.4.y, CWM6, CM11
Sony Xperia Tablet Z: 3.4.y, CWM6, CM11
Sony Xperia T: 3.4.y, CWM6, CM10.2

BBQLinux - An Arch based Linux distribution for Android developers
Website: http://www.bbqlinux.org | Screenshots | Downloads | IRC: #bbqlinux @ irc.freenode.net
The Following 288 Users Say Thank You to codeworkx For This Useful Post: [ Click to Expand ]
 
derrzredeem
Old
(Last edited by derrzredeem; 7th May 2011 at 09:18 PM.)
#2  
derrzredeem's Avatar
Senior Member
Thanks Meter 110
Posts: 485
Join Date: Oct 2010
If You Have Any Questions, Please Refer To This
CM7 QUESTIONS & ANSWERS XDA THREAD
http://forum.xda-developers.com/show....php?t=1067074


Regards,
~drz
Galaxy Nexus i9250
The Following 14 Users Say Thank You to derrzredeem For This Useful Post: [ Click to Expand ]
 
runedrune
Old
#3  
runedrune's Avatar
Senior Member
Thanks Meter 2,296
Posts: 4,509
Join Date: Nov 2010
Location: Lahore
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.
[Device] Google Nexus 5 [Memory] 32GB [Rom] ParanoidAndroid [Kernel] Stock [Modem] 1.0.25.0.23 [Launcher] Stock [Theme] Stock [Font] Stock

[Device] Google Nexus 7 2nd Gen [Memory] 32GB [Rom] Stock KitKat [Kernel] Stock [Launcher] Stock [Theme] Stock [Font] Stock

Sony Ericsson W810i -> Samsung Galaxy S i9000 -> Samsung Galaxy S2 i9100 -> Samsung Galaxy S4 i9500 -> Google Nexus 5

Nexus 7 -> Nexus 7 2nd Gen

My Apps: Konvertr
The Following 6 Users Say Thank You to runedrune For This Useful Post: [ Click to Expand ]
 
joaoennes
Old
#4  
joaoennes's Avatar
Senior Member
Thanks Meter 30
Posts: 154
Join Date: Sep 2010
Location: London, United Kingdom

 
DONATE TO ME
This should be it since the beginning.


[Device] Google Nexus 4 [16GB]
[ROM] Omni 4.4.2
[Kernel] 3.4.y
[Recovery] TWRP 2.6.3.3

Previous devices:
[Device] Samsung Galaxy S III GT-I9300 [Sold]
[Device] Samsung Nexus S GT-I9020 [Sold]
[Device] Samsung Galaxy S GT-I9000 [Sold]
[Device] HTC Hero (GSM) [Sold]
The Following 5 Users Say Thank You to joaoennes For This Useful Post: [ Click to Expand ]
 
Arkanius
Old
#5  
Arkanius's Avatar
Senior Member
Thanks Meter 73
Posts: 641
Join Date: Mar 2010
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: [ Click to Expand ]
 
dhiru1602
Old
#6  
dhiru1602's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 11,530
Posts: 1,640
Join Date: Aug 2010

 
DONATE TO ME
Woah! Can't wait to try this.
The Following 2 Users Say Thank You to dhiru1602 For This Useful Post: [ Click to Expand ]
 
josteink
Old
(Last edited by josteink; 30th May 2011 at 06:41 AM.)
#7  
josteink's Avatar
Senior Member
Thanks Meter 1,438
Posts: 2,231
Join Date: Feb 2011
Location: Oslo
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.


DETAILED INSTALLATION INSTRUCTIONS CAN BE FOUND 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.


IS THIS "FOR EVERYDAY USE" NOW?
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).


OTHER STUFF / KNOWN ISSUES AND SOLUTIONS
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: http://forum.xda-developers.com/show...postcount=8117 )
Quote:
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:
http://sourceforge.net/projects/team...files/galaxys/


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:
Code:
su
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:

Code:
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.

YMMV


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.
Enhanche your Android with sleeping kitties! Optionally restrain your device with the Android Straitjacket.

HTC One LTE - Unlocked, S-OFF with Google edition firmware
Nexus 7 (2013) "Razor" - Stock
The Following 25 Users Say Thank You to josteink For This Useful Post: [ Click to Expand ]
 
zacharias.maladroit
Old
#8  
zacharias.maladroit's Avatar
Retired Recognized Developer
Thanks Meter 2,180
Posts: 2,930
Join Date: Oct 2010
Location: Vienna

 
DONATE TO ME
*subscribes*

nice work with the GPIOs, camera and other parts !
development-mode: occasional (as time permits); Status: currently "retired"

Seasons Greetings to everyone and thank you for everything !

Kernels:
TalonDev (for Samsung stock ROMs, SGS/i9000, Captivate)



* for GT-i9000/Telus-Fascinate * for Captivate * for Vibrant


<-- Like my work ? buy me a beer

Please press thanks button if my post was helpful and/or useful to you, get me more dropbox space by signing up - Thanks !
The Following 2 Users Say Thank You to zacharias.maladroit For This Useful Post: [ Click to Expand ]
 
eeyunopper
Old
#9  
eeyunopper's Avatar
Senior Member
Thanks Meter 14
Posts: 195
Join Date: Oct 2010
Lol, having two threads will confuse a lot of people. I look forward to all the questions relating thus...

sent via potential brick...
Currently listening to:

Graveyard - Hisingen Blues
 
zacharias.maladroit
Old
#10  
zacharias.maladroit's Avatar
Retired Recognized Developer
Thanks Meter 2,180
Posts: 2,930
Join Date: Oct 2010
Location: Vienna

 
DONATE TO ME
Quote:
Originally Posted by eeyunopper View Post
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 ...
development-mode: occasional (as time permits); Status: currently "retired"

Seasons Greetings to everyone and thank you for everything !

Kernels:
TalonDev (for Samsung stock ROMs, SGS/i9000, Captivate)



* for GT-i9000/Telus-Fascinate * for Captivate * for Vibrant


<-- Like my work ? buy me a beer

Please press thanks button if my post was helpful and/or useful to you, get me more dropbox space by signing up - Thanks !

The Following User Says Thank You to zacharias.maladroit For This Useful Post: [ Click to Expand ]
Tags
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes