[Galaxy S II Q&A, Help & Troubleshooting] atinm:
CyanogenMod 7 (w/ Gingerbread 2.3.7) for Galaxy SII

The only rule of CyanogenMod: you don't ask for ETAs. You install, your warranty is void.

Warning : Not for new users, flash this build only if you know what you are doing !!!

FAQ (Please Read!!)

What is CyanogenMod (by mad-murdock)?

Q: How do I install this?

A:

Latest version: http://download.cyanogenmod.com/?device=galaxys2 (for when nightlies are working normally)

Check the md5sum if you want to be sure that the download worked (different OSes have different programs that do md5, on ubuntu it is md5sum that you run against the zip you download and compare to the md5sum number shown on the download website). ROMManager does this automatically for ROMs you download via ROMManager.

- First time flashing CM 7 to your Galaxy S2 (or coming from another ROM)?

Only for the International version of the Galaxy S2, US versions like the AT&T have their own device specific builds.

Note: sometimes you need to flash twice back to back without a reboot in the middle. The install should take a little time, if it happens very quickly, flash again.

Install via ClockworkMod (do not use ROMManager for initial install):

Make sure you're running a rooted device.

Root your device and install ClockworkMod Recovery (http://xdaforums.com/showthread.php?t=1118693)

Do a Nandroid backup!

WIPE (wipe data/factory reset + wipe cache partition) - do it for real.

Install the ROM from internal sdcard using ClockworkMod Recovery.

Do not reboot! We mean it - do nothing except choose zip and continue next step (if you come back to us with permission issues in install, we will know you did not read the directions and will call you an idiot). If it just plain hangs, reboot directly back into ClockworkMod recovery and continue at the next step.

Install the ROM from internal sdcard using ClockworkMod Recovery, again (due to a bug in the install).

Reboot

Install the Google Addon through ROMManager which is easiest, but you can

download the gapps.zip and install via ClockworkMod recovery instead.

- Upgrading from earlier CM7?

ROM Manager method:

Install ROMManager Premium.

Flash ClockworkMod Recovery. Pick Samsung Galaxy S2.

Choose Download ROMs.

Pick the CyanogenMod Nightlies.

Check the Google Apps addon.

Check Backup current ROM!

Check wipe cache, dalvik cache.

Let ROMManager finish the installation.

Clockwork Mod method:

Download and push the ROM zip file to the sdcard.

Reboot into recovery.

Do a Nandroid Backup!

Install the ROM zip from sdcard (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 the rom, don't forget to flash Google Addon package if you want it. ROM Manager will allow you to flash it if you just go into it and after flashing the ClockworkMod recovery for Samsung Galaxy S2, choose Download ROMs, and pick Google Apps. Or download and push the gapps zip for CM7 from http://wiki.cyanogenmod.com/index.php?title=Latest_Version#Google_Apps to the sdcard and flash it via ClockworkMod recovery.

- Going to another ROM from CM7?

You can go back and forth freely between CM7 and other ROMs via ROM Manager or ClockworkMod recovery as the file systems are the same and nandroid backup/restore works to go between ROMs.

Q: What are the known issues?

A: Issues that I can remember:

- Video playback - some formats are not recognized, use an alternative app for video playback

- Camera - some modes don't work

- TVout, MHL

- FMRadio

- Issues when using the 2G/3G-Switch

- Volume issues (some report too high, others too low)

Q: Where do I see the Changelogs?

A: http://cm-nightlies.appspot.com/?device=galaxys2 - this shows all the

changes that have gone into a nightly, including anything that is device specific to Galaxy S2 and anything that has gone into common code that is also included on Galaxy S2. If you see another device sometimes in the Galaxy S2 changelog, it is because the changes were done to common code and the repository is also included on the Galaxy S2.

Q: Can I flash over a previous version of CM7?

A: If updating from an already CM7 running SGSII phone, just flash the latest update zip file as it contains all the fixes from previous updates.

Q: I just installed and I don't see the Marketplace, cannot see GMail, cannot sync Contacts.

Q: I just installed and I don't see any Google Apps.

A: You need to install the Google apps. They are available in ROMManager. ROMManager also asks you if you want to install the Google Apps addon when you install via ROMManager.

Q: My phone is running too hot, my phone is not going into deep sleep

A: Try to isolate which application is using too much CPU. The first thing to try is to remove your media (video, music etc) files. Files recorded using Samsung camera, but other files as well, can frequently cause the stock Media Scanner to fail and go into an infinite loop. Then try to isolate which files are causing problems, and report them to us. If it isn't media, then it is some other application. Try to remove that application if it is a third-party application (and report a bug to them).

Q: I cannot find my media files that are on my external sd card

A: Look under /mnt/emmc as that is where CM7 mounts the external sd card as opposed to /mnt/sdcard/external_sd that Samsung ROMs use.

Q: Can I run Samsung Applications like Kies, Phone, Email, AllShare?

A: No. Any applications that use special calls into the Samsung TouchWiz framework will not work.

Q: I restored from Titanium Backup but my applications are not working

A: Do not restore system data, only restore application+user data. CM7 uses new system data and if you restore on top of it, things will not work.

Q: Your notification toggles are different than mine, how can I change them?

A: Go into Settings, CyanogenMod Settings, Interface, Notification power widget, Widget buttons

Q: My Notification bar Sound widget does not toggle through the options.

A: Settings > CyanogenMod Settings > Interface > Notification Power Widgets > Widget Buttons > Sound Modes and set the modes you want it to toggle through.

Q: I really miss the accurate battery mods, can I flash these?

A: No, but you can go into Settings, CyanogenMod Settings, Interface, Status bar tweaks, "Battery percentage"

Q: Where can I get themes for this?

A: A quick search for "theme engine" on the market will produce a number of results, but there are some in the general Android Themes section

Q: Can I use the video player/music player/contacts/phone/launcher from a Samsung ROM?

A: No, anything hooking into Samsung's framework will not work on this ROM, there are plenty of alternatives in the market.

Q: Where can I get the Nexus S drivers?

A: Download and install the Android SDK here then download "Google USB Driver package, revision 4"

Once downloaded, right click on "Computer", "Manage", "Device Manager", "Nexus S", "Update Driver Software", and point it to wherever you installed the SDK

Q: How do I go back to a Samsung stock ROM?

A: Just use ClockworkMod or ROM Manager backup/restore facility to go back and forth between stock (or any other ROM) and CM7.

Q: Can I use ROM Manager to install or back up this ROM?

A: Yes.

Q: Why do I not see the nightlies in ROM Manager?

A: Nightly builds are only visible in the premium version of ROM Manager. Nightly builds should up in ROM Manager when the CyanogenMod buildbot builds the nightly successfully. Every new device needs to also get added to the ROM Manager manifest before it is available. But, the same files are also available at http://download.cyanogenmod.com when the buildbot successfully builds a nightly.

Q: Why can't I play .avi or .mkv files? They worked fine with Samsung's ROM.

A: Due to codec licensing issues, this can't be provided out of the box. Several apps from the marketplace should be able to replicate this feature (such as RockPlayer). We will also try to put these enhancements into CM7 ourselves.

Q: I encountered a bug, how do I find out if it's known and where can I report it?

A: Try to get the logcat output and last_kmsg to your report by:

desktop$ adb logcat > logcat.txt
desktop$ adb shell
# cat /proc/last_kmsg > /sdcard/last_kmsg (only if you had crash/reboot)
# dmesg > /sdcard/dmesg.txt
# exit
desktop$ adb pull /sdcard/last_kmsg .
desktop$ adb pull /sdcard/dmesg.txt .

Attach the logcat.txt and last_kmsg files to the bug report. Of course, you need to have the android SDK installed to do this.