• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[ROM][I9100G] LineageOS 13.0 [UNOFFICIAL][Android 6.0.1][20180131]

Search This thread

adxamg

Senior Member
Apr 10, 2014
362
807
[ROM][I9100G][6.0.1] LineageOS 13.0 [UNOFFICIAL][Galaxy S2G]

LineageOS 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 LineageOS 13.0 for Samsung Galaxy S2 G (I9100G). It's build from sources on github.com/cyanogenmod & github.com/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 this ROM.

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 LineageOS 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 TWRP 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 LineageOS 13.0 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.
  • To get root access, download su-arm-i9100g.zip and flash it in twrp recovery
  • 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 Lineage 13.0 ROM:
  • Download Lineage 13.0 i9100g ROM to your phone
  • Boot into recovery and install LinageOS 13.0 i9100g ROM and reboot system

Download I9100G LineageOS 13.0 ROM UNOFFICIAL:
Download i9100g LineageOS 13.0 20180131

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

Download root 'su', flash with twrp and activate under 'developer settings':
Download su-arm-i9100g.zip
Download su-arm-i9100g-remove.zip

Status:
Android-Version: 6.0.1 (R81)
LineageOS-Version: 13.0
Security patch level: 01.01.2018
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 + supports booting TWRP 3.0+ build for i9100 device
  • 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 LineageOS & i9100g device tree:
Lineage 13.0 changes

20170609: Upgrade CyanogenMod 13.0 to LineageOS 13.0
20170611: Touchkey Backlight fixed
20170922: Updated sources to latest Android 6.0.1 R80; Security fix in kernel: net/bluetooth to fix 'blueborn' problem
20171024: Updated sources to latest Android 6.0.1 R81; Security fix in kernel: net/mac80211 to fix wifi security problem; security fixes in wpa_supplicant to fix wifi wpa2 connections
20171226: november/december 2017 android security fixes; various lineage os changes
20180131: January 2018 android security fixes; hardware_ti_omap4 changes


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.
  • Some display features are not supported, for example 'night mode'

Problems and/or not working:
  • Sound distortions with some codecs and sample rates. 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 enough satellites to get a location fix -> use cm-12.1 if you need this feature. This bug could be solved by replacing proprietary libstlport.so with opensource external libstlport.so, but this breaks simcard detection.

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 get root access, download su-arm-i9100g.zip and flash with twrp. Then 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: LineageOS 13.0 comes with Cyanogen Recovery by default. But this rom supports booting IsoRec TWRP recovery. 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 lineage 13 is only first part of this bulletin, for example patch level 2017-05-01, with changes in aosp source code. These issues gets fixed with an updated lineage 13.0 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 often 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 gallery 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 or 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 (recovery, without lineageos):
Download TWRP 2.8.7.0 Recovery only signed
Download TWRP 2.8.7.0 Recovery only signed TAR for Odin

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


XDA:DevDB Information
I9100G LineageOS 13.0 Android 6.0.1, ROM for the i9100

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

ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.0.x
Based On: LineageOS

Version Information
Status: Beta
Current Beta Version: 20180131
Beta Release Date: 2018-01-31

Created 2017-06-11
Last Updated 2018-02-01
 

Attachments

  • Screenshot_20170607-194109.jpg
    Screenshot_20170607-194109.jpg
    32.1 KB · Views: 2,860
  • Screenshot_20170607-194041.png
    Screenshot_20170607-194041.png
    42.8 KB · Views: 2,813

McConnor

Senior Member
Mar 28, 2013
456
150
Great job!

Any way we could help in pinning down the issue with the libstlport.so open source version which would fix the GPS issue? Probably only with coding knowledge?

Gesendet von meinem SM-G930F mit Tapatalk
 

adxamg

Senior Member
Apr 10, 2014
362
807
Great job!
Any way we could help in pinning down the issue with the libstlport.so open source version which would fix the GPS issue? Probably only with coding knowledge?

All sources are on github. Everyone interested could support the process of fixing issues, by modifying sources, building a new rom, flashing, testing.
 
  • Like
Reactions: McConnor

AhmAdDev99

Senior Member
Jun 3, 2016
57
21
Hawler
Hi @adxamg

Please help me with kernel Compiling! I downloaded everything (CM11_Kernel + GCC_4.7) needed for kernel Compiling.
The only thing that i don't have is "Initramfs".
So PLEASE PLEASE PLEASE Tell me what should i do? were to get it?

This is the 2nd time i ask.
 
Last edited:

adxamg

Senior Member
Apr 10, 2014
362
807
Hi @adxamg

Please help me with kernel Compiling! I downloaded everything (CM11_Kernel + GCC_4.7) needed for kernel Compiling.
The only thing that i don't have is "Initramfs".
So PLEASE PLEASE PLEASE Tell me what should i do? were to get it?

This is the 2nd time i ask.

I don't care how many time you ask.
Learn how to compile yourself. cm11 is old, you may need an older environment to compile it. sun java6 for example, which is not supported any longer. You will run into some problems, when you want to compile cm11 today.
 
  • Like
Reactions: AhmAdDev99

Liebesrind

Member
Jun 5, 2015
34
6
Hamburg
low system space

I get the message "insufficient storage space available in System partition" when installing Open Gapps. I tried the stock version. Something to do about that?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 20
    [ROM][I9100G][6.0.1] LineageOS 13.0 [UNOFFICIAL][Galaxy S2G]

    LineageOS 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 LineageOS 13.0 for Samsung Galaxy S2 G (I9100G). It's build from sources on github.com/cyanogenmod & github.com/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 this ROM.

    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 LineageOS 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 TWRP 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 LineageOS 13.0 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.
    • To get root access, download su-arm-i9100g.zip and flash it in twrp recovery
    • 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 Lineage 13.0 ROM:
    • Download Lineage 13.0 i9100g ROM to your phone
    • Boot into recovery and install LinageOS 13.0 i9100g ROM and reboot system

    Download I9100G LineageOS 13.0 ROM UNOFFICIAL:
    Download i9100g LineageOS 13.0 20180131

    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

    Download root 'su', flash with twrp and activate under 'developer settings':
    Download su-arm-i9100g.zip
    Download su-arm-i9100g-remove.zip

    Status:
    Android-Version: 6.0.1 (R81)
    LineageOS-Version: 13.0
    Security patch level: 01.01.2018
    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 + supports booting TWRP 3.0+ build for i9100 device
    • 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 LineageOS & i9100g device tree:
    Lineage 13.0 changes

    20170609: Upgrade CyanogenMod 13.0 to LineageOS 13.0
    20170611: Touchkey Backlight fixed
    20170922: Updated sources to latest Android 6.0.1 R80; Security fix in kernel: net/bluetooth to fix 'blueborn' problem
    20171024: Updated sources to latest Android 6.0.1 R81; Security fix in kernel: net/mac80211 to fix wifi security problem; security fixes in wpa_supplicant to fix wifi wpa2 connections
    20171226: november/december 2017 android security fixes; various lineage os changes
    20180131: January 2018 android security fixes; hardware_ti_omap4 changes


    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.
    • Some display features are not supported, for example 'night mode'

    Problems and/or not working:
    • Sound distortions with some codecs and sample rates. 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 enough satellites to get a location fix -> use cm-12.1 if you need this feature. This bug could be solved by replacing proprietary libstlport.so with opensource external libstlport.so, but this breaks simcard detection.

    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 get root access, download su-arm-i9100g.zip and flash with twrp. Then 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: LineageOS 13.0 comes with Cyanogen Recovery by default. But this rom supports booting IsoRec TWRP recovery. 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 lineage 13 is only first part of this bulletin, for example patch level 2017-05-01, with changes in aosp source code. These issues gets fixed with an updated lineage 13.0 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 often 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 gallery 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 or 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 (recovery, without lineageos):
    Download TWRP 2.8.7.0 Recovery only signed
    Download TWRP 2.8.7.0 Recovery only signed TAR for Odin

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


    XDA:DevDB Information
    I9100G LineageOS 13.0 Android 6.0.1, ROM for the i9100

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

    ROM OS Version: 6.0.x Marshmallow
    ROM Kernel: Linux 3.0.x
    Based On: LineageOS

    Version Information
    Status: Beta
    Current Beta Version: 20180131
    Beta Release Date: 2018-01-31

    Created 2017-06-11
    Last Updated 2018-02-01
    7
    Uploaded a new lineageos 13.0 build 20170712.

    Change: Latest android security patch level: July and June aosp patches.
    6
    New build online, lineage 13.0 i9100g 20170611.

    Change:
    - Touchkey backlight fixed and working normally again
    6
    It's somewhere on it's way from 'slowed down' and 'end of life'. But i still use this phone from time to time. Then i build a new version with an up to date patch level. All other roms for this phone don't have an up to date android patch level.
    6
    New lineage 13.0 build 20171024 is online.
    - latest Android 6.0.1 R81 sources
    - Android security patch 01.10.2017
    - wifi wpa2 security problems fixed (wpa_supplicant & kernel)

    Reports welcome, if there are any wifi problems after these fixes. I could not test this build so far.
    This build was created with 100% photovoltaic energy.