[Galaxy S II I9100G Android Development] adxamg:
[ROM][I9100G][6.0.1] Cyanogenmod 13.0 [UNOFFICIAL][CM13][Galaxy S2G][CM 13.0]

CyanogenMod is a free, community built, aftermarket firmware distribution of Android 6.0.1 Marshmallow, which is designed to increase performance and reliability over stock Android for your device.

This is an UNOFFICIAL build of Cyanogenmod CM 13.0 for Samsung Galaxy S2 G (I9100G). It's build from sources on github.com/cyanogenmod & xdaamg. Standard functionalities are working, when you follow flash instructions. Android 6.0.1 is running smooth on this device. Please read 'problems and not working'-section before you flash cm13.

Disclaimer:

First time installation instructions:

Backup your media files (photo, music, downloads) stored on internal storage

Download cm-13.0 i9100g ROM, OpenGApps (ARM, Android 6.0, Stock) and .gapps-config.zip (details see below) to your sdcard. Extract .gapps-config.zip to same place as your opengapps file on sdcard, usually root of sdcard.

Boot into Recovery. If you don't have TWRP 2.8.7.0, flash TWRP and reboot into twrp recovery. Then wipe system, data, internal, dalvik and cache.

Flash cm-13 rom and OpenGApps Stock with .gapps-config file. It will install opengapps nano and replace aosp keyboard with google keyboard. Reboot system and follow instructions in setup wizard. After finishing all, reboot again.

Set default phone app, before you make your first call. Go to "Settings/Apps/Advanced/Default Apps/Phone App" and set it to "Phone".

Updating CM13 ROM:

Download cm-13.0 i9100g ROM to your phone

Boot into recovery and install cm-13.0 i9100g ROM and reboot system

Download I9100G CM13.0 ROM UNOFFICIAL:

Download i9100g CM13.0 20161120

Support development of this rom:

If you find this rom useful, consider donating please. Your donation helps to keep this rom alive and is your chance to support development.

[IMG="Donate Paypal"]https://www.paypalobjects.com/webstatic/en_US/btn/btn_donate_92x26.png[/IMG]

Download Google Apps:

Open GApps (recommended: ARM, 6.0, Stock (Download))

Download .gapps-config file:

Download .gapps-config

Status:

Android-Version: 6.0.1

CyanogenMod-Version: 13.0

Security patch level: 01.11.2016

Kernel-Version: 3.0.31

SELinux: permissive

Standard functionalities working:

Telefon, sms, wifi, data 2g/3g, grafics, sensors, compass, location, camera, flashlight, vpn, wifi hotspot, playstore.

Special features:

TWRP IsoRec: Booting TWRP from recovery partition

F2FS: Flash-friendly file system supported (data, cache, sdcard)

zram support: virtual swap compressed in RAM

Best standby times by supporting app standby (doze)

Higly responsive, smooth gui

First i9100g android 6.0 rom and only one which still gets updates

Changelog CyanogenMod & i9100g device tree:

CM13.0 changes

20160523: display autorotation fixed & audio low latency deactivated & app standby activated (energy saving)

20160528: internal camera fixed; Snap camera from cyanogenmod project activated

20160609: camera stability improvements, gps patch, bluetooth config, audio config

20160611: camera whatsapp fixed, isorec recovery boot support

20160616: removed 'extended font footprint' and disabled journaling on system to save some space, AudioPackage13 added, board hardware class from omap4-next added: display color calibration, h264 profile set

20160618: Sound config test (based on other omap4 devices) -> removed, still sound distortions

20160830: gps fixes

20160903: bluetooth connection stabilty -> see FAQ below and disable battery optimisation for your audio player to fix bt

20160916: added f2fs fstab entries to support flash friendly filesystem on more partitions

20161019: power profiles: support performance & energy safe profiles; security fixes: android patch level 01.10.2016; device tree sources cleaned up; add hardware samsung cmhw

20161120: security fixes (kernel & device tree), sound testing

Not supported:

Manual selection of network carrier is not supported -> use automatic network search

Snap camera supports picture and video recording. Panorama mode is not supported (but working with some other camera apps). Digital zoom is not supported.

Problems and/or not working:

Sound distortions with some codecs or sample rates. Tested amazon video, amazon music and google music successfully. Also some mp3 files. But in some situations or with some codecs, sound/ringtones etc. sounds like with some kind of electronical effect. -> try different equalizer settings or use cm12.1, if audio quality is not accectable for you

GPS does not find all satellites, you will maybe not get a location fix with gps (reported by users) -> use cm-12.1. This bug could be solved by replacing proprietary libstlport.so with opensource external libstlport.so, but this breaks simcard detection atm.

When you found a bug/error/problem, post a logcat with description. Postings without these informations are likely to be ignored.

FAQ/Solutions:

Root: To enable root, go to settings/about phone and touch build-number seven (7) times. This will activate developer settings. Then go to settings/developer settings/root access and set it to apps only or apps and adb.

Recovery: Cyanogenmod 13.0 comes with Cyanogen Recovery by default. But this rom supports booting IsoRec TWRP recovery, read second post for more information how to use it. If recovery is not working, enter 'download mode' and flash a new recovery via odin, for example TWRP 2.8.7.0.

Bluetooth connections to headsets, speakers -> When you have connection problems try to disable battery optimisations for your audio app: go to settings/battery, select menu on top right and choose 'optimisation', in dropdown menu choose 'all applications' and select your music player app (for example cyanogenmod eleven), select 'not to optizime'. Reboot after you set this option.

Android security patch level: Google releases monthly security updates. Security bulletin is split into different security patch levels. Relevant for i9100g cm12.1/cm13 is only first part of this bulletin, for example patch level 2016-09-01, with changes in aosp source code. These issues gets fixed with an updated cm12.1/cm13 rom. Other issues mentioned in drivers and kernel are device specific. We could be affected by this errors or similar bugs, but only manufactor of this hardware could update (driver) binaries (and they don't care about old devices). The same with kernel bugs, i9100g kernel could be affected by this errors too, but there are no active kernel developers for this device and so these problems will normally stay unfixed.

Galery app: If galery app does not display all your albums/pictures/video for example of your sdcard: Open file explorer and search for a file '.nomedia' on your sdcard root/picture/video folder. If it's there, delete it. It tells android not to index this folder. Then make a new folder on your sdcard, for example 'media'. Move your pictures/videos/music to your new media folder. Mediascanner will scan these files automatically now and they should be visible in galery app.

Optimisations:

Low app space: If you are low on app data storage, think about repartitioning your phone storage. 4 or 6 gb should be sufficient even for many apps. Follow instructions in this thread. Alternatively use Lanchon Repit Tool.

Battery: Display and data connections/syncing use most energy. I suggest to reduce display brightness to a minimum and switch off adaptive brightness. Also switch off background data connections/syncing for apps you don't use or which will be updated when you really use it.

After first flash give phone some extra time to complete all tasks, even when it's reacting already to your inputs, it's working hard. Wait some minutes. It's also a good idea to do another reboot after some time. This solved some problems in the past.

Force closes: If you are experiencing force closes try first to clean cache/dalvik cache in recovery. If it's still not working, go to settings/apps, find the offending app and clear data. Still no solution? Then do a clean flash with factory reset and re-install apps without importing backups.

TWRP Recovery only signed:

Download TWRP 2.8.7.0 Recovery only signed

Download TWRP 2.8.7.0 Recovery only signed TAR for Odin

CM13 ROM archive (outdated, you should only use it, if latest build is not working for you):

Download i9100g CM13.0 20161019

Download I9100G CM13.0 20160916

Download I9100G CM13.0 20160903

Download I9100G CM13.0 20160830

Download I9100G CM13.0 20160731

Download I9100G CM13.0 20160616

Download I9100G CM13.0 20160611

Download I9100G CM13.0 20160609

Download I9100G CM13.0 20160528

Download I9100G CM13.0 20160515

XDA:DevDB Information

I9100G CyanogenMod 13.0 Android 6.0.1 cm-13.0, ROM for the Samsung Galaxy S II

Contributors

adxamg

Source Code: http://github.com/xdaamg

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.0.x

Based On: CyanogenMod

Version Information

Status: Beta

Current Beta Version: 20161120

Beta Release Date: 2016-11-20

Created 2016-05-18

Last Updated 2016-12-10