• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][I9100G][CM13] CyanogenMod 13.0 [UNOFFICIAL][Android 6.0.1][20161120][cm-13.0]

adxamg

Senior Member
Apr 10, 2014
362
807
0
[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:
By flashing a custom rom, your warranty is void.
I am not responsible for bricked devices, dead SD cards and so on. You are choosing to make these modifications.
I will not give support for any modifications, frameworks and apps you install.
I will not give support, if you did not follow flash instructions 'word by word'.
Confirmations of working things are welcome. If you found a bug, provide a logcat and description of it.
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.



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):


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
 
Last edited:

adxamg

Senior Member
Apr 10, 2014
362
807
0
FAQ

How to use TWRP recovery with i9100g cm12.1/cm13 roms:

This rom supports IsoRec TWRP recovery. It means, it can boot a recovery from another, usually unused partition on i9100g phones. Default recovery of cm13 is cyanogen recovery. When you flash isorec twrp recovery to recovery partition, rom will boot twrp recovery. Isorec recovery will stay there until you overwrite/delete your recovery partition. Updating rom will not touch isorec twrp recovery.

Installation instructions for i9100g isorec twrp recovery:
  • Download i9100g IsoRec TWRP 2.8.7.0 Recovery to your pc
  • Download & install Minimal ADB and Fastboot on your pc. Ask google to find it.
  • Copy twrp_isorec_i9100g_20160612.img to install dir of adb/fastboot.
  • When you connect phone to your pc it should be detected. If not, install samsung usb drivers. Then connect phone.
  • Activate USB debugging in developer options and confirm message on phone
  • Open a command prompt and change to install dir of adb/fastboot
  • to backup recovery image follow instructions in this thread under section 2: dumping rom partition (optional)
  • Copy & paste following commands, don't mistype, you can damage your phone with a wrong command here!
  • adb root
  • adb push twrp_isorec_i9100g_20160612.img /dev/block/mmcblk0p6
  • It should be flashed in some seconds. Wait until it's finished. When you restart to recovery now, you should see twrp, booting from recovery partition.
  • To remove isorec recovery, flash 'overwrite_isorec.img' with adb push command.


Some screenshots of i9100g cm13:

 
Last edited:

toppits

Senior Member
May 15, 2012
403
157
0
<3 adxamg (no homo^^) big thx for making yet another Android update possible for this old phone!

Beta ? Wait 4 review
You find some Information about it in the Alpha thread. Else you are welcome to try it out yourself and give us some Feedback :)

Very strange sound became . What is the distortion . Please fix it.
Is that a bug Report? Because that's not how it's done. That's not how any of that is done! And what's with that tone?
If you're trying to Report a bug, maybe try to be specific? Where does it happen? Headphones? Speakers? Music? Ringtone? What exactly did you Flash? You are not helping at all and then you try to Boss the dev around? :D shame on you!
 

jimmylin86

Member
Jul 24, 2013
5
0
0
[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 functionality is working, when you follow flash instructions. Android 6.0.1 is running smooth on this device.

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 first flash TWRP and reboot into 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 and remove stock camera. 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".
  • Install 'Open Camera' from play store or download it from developer website. It's open source. It will replace stock camera.

Download I9100G CM13.0 ROM UNOFFICIAL:
Download I9100G CM13.0 20160515

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

Download .gapps-config file:
Download .gapps-config

Support:
If you find this rom useful and want to support me, consider donating me a beer or coffee.



Status:
Android-Version: 6.0.1
CyanogenMod-Version: 13.0
Security patch level: 01. May 2016
Kernel-Version: 3.0.31
SELinux: permissive

Standard functionalities should work:
Telefon, sms, wifi, data 2g/3g, grafics, sensors, gps, compass, vpn, wifi hotspot, torch, playstore. Camera, when you followed flash instructions and installed open camera.

Problems/not working:
  • Stock camera is not working and replaced with open camera by following flash instructions. Front- and backcamera is functional. Lockscreen icon supported. Messenger apps can use it by clicking 'media icon' (not camera icon next to text field!)
  • Manual selection of network carrier is not supported -> use automatic search

When you found a bug/error/problem, post a logcat with description.

Changelog CyanogenMod:
CM13.0 changes

Additional information/FAQ/solutions for common problems:
  • To enable root, go to settings/about phone and touch build-number severl (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.
  • 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.
  • Cyanogenmod 13.0 comes with Cyanogen Recovery by default. If your recovery is not working, enter 'download mode' and flash a new recovery via odin, for example (TWRP 2.8.7.0.
  • If you are low on app data storage, think about repartitioning your phone storage. 4 to 6 gb should be sufficient even for many apps. Follow instructions in this thread.
  • About 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.
  • If you are experiencing force closes try first to clean cache/dalvik cache with recovery. If it's still not working, go to settings/apps, find the offending app and clear data. Still not the solution? Then do a clean flash with factory reset.

Updating ROM:
Currently no updates available

TWRP Recovery signed:
Download TWRP 2.8.7.0 Recovery only signed
Download TWRP 2.8.7.0 Recovery only signed TAR for Odin

Older builds (outdated, you should only use it, if latest build is not working):
-

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: 20160515
Beta Release Date: 2016-05-15

Created 2016-05-18
Last Updated 2016-05-20
First thank for your hard work to bring new android for our devices. I installed and have some bugs:
- Open camera can't save the pictures.
- sometime when i make a call, i can't hear anything voice. When restart phone, it's normal.
- I got bootloop when flash the TWRP 2.8.7.0
Hope you'll fix it on next release
Sorry for worse English ?

Sent from my GT-I9100G using XDA-Developers mobile app
 

Gofred

New member
May 22, 2016
1
0
0
Thx a lot for this great work. :good:
The Problems I have:
- Screen is not rotating. Only few times after
Reboot it works.
- Music over BT doesn't work sometimes.
 

Fajib Sh AZ

Senior Member
Dec 1, 2014
119
87
0
Thrissur
does the camera works for video calling in skype??

---------- Post added at 12:34 PM ---------- Previous post was at 12:30 PM ----------

First thank for your hard work to bring new android for our devices. I installed and have some bugs:
- Open camera can't save the pictures.
- sometime when i make a call, i can't hear anything voice. When restart phone, it's normal.
- I got bootloop when flash the TWRP 2.8.7.0
Hope you'll fix it on next release
Sorry for worse English ?

Sent from my GT-I9100G using XDA-Developers mobile app
may be u didnt set permission for storage for the open camera app.just check it in settings
 

McConnor

Senior Member
Mar 28, 2013
456
150
0
Really nice! are the issues with the camera related to you now using open camera hal instead of proprietary Samsung files in this rom? Seems to be the last big chunk on the way to a fully functional Android 6 room for our phone...

Do you think it will be possible to either include twrp in this rom or use a persistent recovery as with the i9100?

Thanks for your hard work on this phone... much appreciated!

Gesendet von meinem GT-I9100G mit Tapatalk
 

adxamg

Senior Member
Apr 10, 2014
362
807
0
Really nice! are the issues with the camera related to you now using open camera hal instead of proprietary Samsung files in this rom? Seems to be the last big chunk on the way to a fully functional Android 6 room for our phone...
Do you think it will be possible to either include twrp in this rom or use a persistent recovery as with the i9100?
Thanks for your hard work on this phone... much appreciated!
Gesendet von meinem GT-I9100G mit Tapatalk
I have no plans to include twrp in this rom. Updating rom with cyanogen recovery is working. I used omnirom sources for twrp in cm12.1. But omnirom seems to be half dead.

Open camera is just an app, replacing camera2/snap. Instead of camera2/snap, open camera is able to use i9100g camera. Below this i'm using ti_omap4 sources from cyanogenmod now, because old camerawrapper does not work in cm13 anymore. ti_omap4 source is used for galaxy tab devices for example. Unfortunately i did not find a way to get it working with i9100g. Any ideas whats wrong? I would be happy to integrate a patch that will make camera.omap4 working.

For me, phone is fully functional. If somebody don't think so, stay at cm12.1 or any other rom you like.
 

adxamg

Senior Member
Apr 10, 2014
362
807
0
I replaced link to .gapps-config file in first post. Now it's linked to correct .gapps-config file which will remove stock camera as described.

Test build cm13 20160525 is online. I need feedback about camera. Use these two downloads to flash rom and open gapps stock:
Download cm13 20160525 camera test
Download .gapps-config file


Test: 1. Open Snap camera, try to take a photo; 2. Open Whatsapp, try to take a photo
Post a logcat of this test here.
 
Last edited:

McConnor

Senior Member
Mar 28, 2013
456
150
0
Yeah! Still in Portugal so no testing for me at the moment but I am eagerly watching the thread [emoji3]

Maybe also @Jiangyi could help. He has fiddled around with camera on OmniROM quite a lot and probably has much insight in the underlying code. Unfortunately he seems not around at the moment. Perhaps he emerges again to our help...

Gesendet von meinem GT-I9100G mit Tapatalk
 

adxamg

Senior Member
Apr 10, 2014
362
807
0
Yeah! Still in Portugal so no testing for me at the moment but I am eagerly watching the thread [emoji3]

Maybe also @Jiangyi could help. He has fiddled around with camera on OmniROM quite a lot and probably has much insight in the underlying code. Unfortunately he seems not around at the moment. Perhaps he emerges again to our help...

Gesendet von meinem GT-I9100G mit Tapatalk
You're lucky! :)
I had not much contact with him since i build cm12.1. I would not expect this will change now.

So, any testers here? I need logcats from testbuild, posting above. In the meantime i will do some other camera-tests.
 

stryker09

Senior Member
Jul 22, 2011
786
301
63
Kuala Lumpur
You're lucky! :)
I had not much contact with him since i build cm12.1. I would not expect this will change now.

So, any testers here? I need logcats from testbuild, posting above. In the meantime i will do some other camera-tests.
I can probs only get you the results in a couple hours. It's 2am here :rolleyes:

Sent from my OnePlus One using XDA Labs
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone