[ROM][I9100G][CM12.1] CyanogenMod 12.1 [UNOFFICIAL][Android 5.1.1][20161120][CM 12.1]

Search This thread

McConnor

Senior Member
Mar 28, 2013
456
150
That is what also happens to me after recording videos (couldn't really be fixed for me) does not happen after photos...

Gesendet von meinem SM-G930F mit Tapatalk
 
  • Like
Reactions: sonic_ear

McConnor

Senior Member
Mar 28, 2013
456
150
Adxamg tried but up to now couldn't succeed. Does not happen that often for him though...

Gesendet von meinem SM-G930F mit Tapatalk
 

sonic_ear

Senior Member
Jun 11, 2015
328
60
My camera always showing cant connect to camera even reboot my phone. But I tried uninstall camera app and replace with open camera by convert open camera to system app. It seem to be okay for now and no more error cant conmect to camera.
 

HTC_Never

Member
Mar 16, 2016
8
6
I narrowed down the problems with my phone (screen of death, unresponsive phone) to a bad repit. Because it works perfectly after i went back to a stock 4.0.x ROM - and a factory default PIT.

To verify my hypothesis, i also tried the march 2016 flash (offered here some time ago). And to my bewilderment, it started to crash in a same way as the 201611xx version. After that, i repitted the internal flash to standard parameters (system=0.5G-data=2G-sdcard=max-preload=0.5).

Bought a non Exynos based smartphone with LineageOS support (LG G4), but will keep the old one for tests.
 
Last edited:
  • Like
Reactions: sonic_ear

sonic_ear

Senior Member
Jun 11, 2015
328
60
I narrowed down the problems with my phone (screen of death, unresponsive phone) to a bad repit. Because it works perfectly after i went back to a stock 4.0.x ROM - and a factory default PIT.

To verify my hypothesis, i also tried the march 2016 flash (offered here some time ago). And to my bewilderment, it started to crash in a same way as the 201611xx version. After that, i repitted the internal flash to standard parameters (system=0.5G-data=2G-sdcard=max-preload=0.5).

Bought a non Exynos based smartphone with LineageOS support (LG G4), but will keep the old one for tests.
How to factory repit on cm12? It is possible to do factory repit on custom rom?

---------- Post added at 04:41 PM ---------- Previous post was at 04:31 PM ----------

I narrowed down the problems with my phone (screen of death, unresponsive phone) to a bad repit. Because it works perfectly after i went back to a stock 4.0.x ROM - and a factory default PIT.

To verify my hypothesis, i also tried the march 2016 flash (offered here some time ago). And to my bewilderment, it started to crash in a same way as the 201611xx version. After that, i repitted the internal flash to standard parameters (system=0.5G-data=2G-sdcard=max-preload=0.5).

Bought a non Exynos based smartphone with LineageOS support (LG G4), but will keep the old one for tests.
Unresponsive when sleep make it very annoying. I need to reboot everytime it dead. So there is a way to factory repit on cm12? About storage i can use link2sd or apps2sd and i dont worry about it.
 

HTC_Never

Member
Mar 16, 2016
8
6
Everthing can be found in this forum. Please use the search function (keyword: I9100G)...!

How to flash ROMS for Galaxy S2 I9100G via ODIN

Download ODIN > Odin3-v1.85.zip
Download Galaxy i9100G compatible PIT File > omap4_all_20110627_emmc.pit

Download Odin3-v1.85.zip > Open It!
ADD PIT File (omap4_all_20110627_emmc.pit) into ODIN > PIT.
Add Your ROM into ODIN > PDA
Turn Off your Phone first
Then goto Download mode by holding <Home+Power+Vol down>
Continue step of the Phone Screen.
Plug in the USB cable > You will notice ODIN recognize it by Yellow filled square .
Click "Start" of ODIN.
...... keep watching and praying for few mins! (hopefully 1-2mins)

Source:
https://xdaforums.com/galaxy-s2/general/how-to-root-install-cwm-recovery-flash-t1814801

Get the PIT (omap4_all_20110627_emmc.pit) from here:
https://www.dropbox.com/s/x5pt07322kbqfh6/omap4_all_20110627_emmc.pit

DO NOT flash the PIT file (u4....pit) included in the ODIN package -
https://www.dropbox.com/s/1y45bj6h1g9r1jr/Odin3-v1.85.zip

If you have never used ODIN, please find a page with screenshots. Never touch any check boxes.

Got the 4.0.4 all-in-one package from
https://xdaforums.com/galaxy-s2/development/collections-official-firmwares-kernels-t2199288
You will have to pick one that is right for your country...

Note that 4.1.x kernels were never fixed by Samsung IMHO (unresponsive black screen / sleep of death in screen saver). So keep away from them and do not update.
 

sonic_ear

Senior Member
Jun 11, 2015
328
60
---------- Post added at 11:06 PM ---------- Previous post was at 10:55 PM ----------

[/COLOR]
Everthing can be found in this forum. Please use the search function (keyword: I9100G)...!

How to flash ROMS for Galaxy S2 I9100G via ODIN

Download ODIN > Odin3-v1.85.zip
Download Galaxy i9100G compatible PIT File > omap4_all_20110627_emmc.pit

Download Odin3-v1.85.zip > Open It!
ADD PIT File (omap4_all_20110627_emmc.pit) into ODIN > PIT.
Add Your ROM into ODIN > PDA
Turn Off your Phone first
Then goto Download mode by holding <Home+Power+Vol down>
Continue step of the Phone Screen.
Plug in the USB cable > You will notice ODIN recognize it by Yellow filled square .
Click "Start" of ODIN.
...... keep watching and praying for few mins! (hopefully 1-2mins)

Source:
https://xdaforums.com/galaxy-s2/general/how-to-root-install-cwm-recovery-flash-t1814801

Get the PIT (omap4_all_20110627_emmc.pit) from here:
https://www.dropbox.com/s/x5pt07322kbqfh6/omap4_all_20110627_emmc.pit

DO NOT flash the PIT file (u4....pit) included in the ODIN package -
https://www.dropbox.com/s/1y45bj6h1g9r1jr/Odin3-v1.85.zip

If you have never used ODIN, please find a page with screenshots. Never touch any check boxes.

Got the 4.0.4 all-in-one package from
https://xdaforums.com/galaxy-s2/development/collections-official-firmwares-kernels-t2199288
You will have to pick one that is right for your country...

Note that 4.1.x kernels were never fixed by Samsung IMHO (unresponsive black screen / sleep of death in screen saver). So keep away from them and do not update.
Okay Thanks!
 
Last edited:

Amin-GalaxyS2

Member
Jan 28, 2012
46
1
I am using this rom for a few days. when I restart the phone it takes a lot of time to boot. after that I have to wait a few minutes because it hangs a lot at first. also opening an app that has not been opened before after reboot takes a lot of time to begin working smoothly. is this normal? or any way to improve this?
 

adxamg

Senior Member
Apr 10, 2014
362
808
I am using this rom for a few days. when I restart the phone it takes a lot of time to boot. after that I have to wait a few minutes because it hangs a lot at first. also opening an app that has not been opened before after reboot takes a lot of time to begin working smoothly. is this normal? or any way to improve this?

I recommend a clean flash, follow first time flash instructions. Don't modify system files. Don't install too many apps. Every app will reduce ram and cpu power, because many of them running in background tasks.
You are using an nearly 5 year old phone. Apps you use are built for newer phones with much more ram and cpu power.
 

JeyC79

Senior Member
Feb 12, 2014
90
24
Hello,

I installed CM 12.1 on my old I9100g for a backup phone.
Daily, I never use it, he is just connected on the network.
I only installed few app. I have 10 or 15 times more apps on my S5.

But I lose lot of battery per period, the CPU is used. Please, see this :
Screenshot_2017-11-10-11-48-20.png
Screenshot_2017-11-10-11-48-39.png

Screenshot_2017-11-10-11-48-39.png


Please, do you have any idea?

Thank you.
 

Attachments

  • Screenshot_2017-11-10-11-48-20.png
    Screenshot_2017-11-10-11-48-20.png
    91.7 KB · Views: 38
  • Screenshot_2017-11-10-11-48-39.png
    Screenshot_2017-11-10-11-48-39.png
    58.3 KB · Views: 42
Last edited:
Hello,

I installed CM 12.1 on my old I9100g for a backup phone.
Daily, I never use it, he is just connected on the network.
I only installed few app. I have 10 or 15 times more apps on my S5.

But I lose lot of battery per period, the CPU is used. Please, see this :
Screenshot_2017-11-10-11-48-20.png
Screenshot_2017-11-10-11-48-39.png

Screenshot_2017-11-10-11-48-39.png


Please, do you have any idea?

Thank you.

Since you do not understand how SystemPanel2 works, ask the question in the thread [APP][4.0+][ROOT optional] SystemPanel2: It does not "BOOST". It does not "CLEAN".
 

JeyC79

Senior Member
Feb 12, 2014
90
24
Uh ??
Very usefull answer...

SystemPanel is showing a CPU use during the last night, and some information to understand wich process make this trouble..
 

JeyC79

Senior Member
Feb 12, 2014
90
24
I don't need help with this king of communication. If you are not happy, move to the next subject.
 

adxamg

Senior Member
Apr 10, 2014
362
808
Hello,
I installed CM 12.1 on my old I9100g for a backup phone.
Daily, I never use it, he is just connected on the network.
I only installed few app. I have 10 or 15 times more apps on my S5.

But I lose lot of battery per period, the CPU is used.
Please, do you have any idea?
Thank you.

Not much information to analyse this. Restart your phone an check if you're still loosing energy with these processes. Then create and post a logcat here.
Generally, this phone is old and todays apps are maybe too heavy, even when you install just a few of them.
Main reason for cpu usage in your screenshots seems to be kernel same-page merging.

You could experiment with these settings at your own risk:
write /sys/kernel/mm/ksm/pages_to_scan 100
write /sys/kernel/mm/ksm/sleep_millisecs 500
write /sys/kernel/mm/ksm/run 1
 
  • Like
Reactions: McConnor

JeyC79

Senior Member
Feb 12, 2014
90
24
Thanks for your message.

Yes, I tried to reboot the phone. The phone is on my desk, I don't use it (it's a spare phore for my activity).
I charged the phone, Data and WiFi are disabled. And I still have this CPU usage sometimes.
And I lose lot of battery quickly. Before, I don't had this with previous ROM with same kind of apps.

This is a new screenshot :
Screenshot_2017-11-20-15-06-27.png



How can I use commands in your post?
 

Attachments

  • Screenshot_2017-11-20-15-06-27.png
    Screenshot_2017-11-20-15-06-27.png
    58.4 KB · Views: 49

Top Liked Posts

  • There are no posts matching your filters.
  • 42
    [ROM][I9100G][5.1.1] Cyanogenmod 12.1 [UNOFFICIAL][CM12.1][Galaxy S2G][CM 12.1]

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

    This is an UNOFFICIAL build of Cyanogenmod CM 12.1 for Samsung Galaxy S2 G (I9100G). It's build completely from sources on github.com/cyanogenmod & xdaamg. Standard functionalities are working. It's good for daily use. Android 5.1.1 is running smooth on this device.

    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 modifications and apps you install/flash.
    Confirmations of working things are welcome. If you found a bug, provide a logcat of it.

    Note: CM13/Android 6.0.1 is available for i9100g now. Please read working/not working section before you upgrade to CM13. CM12.1 is the recommended version.

    First time installation instructions:
    • Download I9100G CM-12.1 ROM to your sdcard
    • Download Google Apps to your sdcard (optional). Recommended: OpenGApps (20150821)
    • Backup your media files (photo, music, downloads) stored on internal storage (optional)
    • Flash TWRP Recovery 2.8.7.0 TAR with Odin when you use Stock Rom. When you are using CWM Recovery/Blazing Kernel/TWRP IsoRec or an other version of TWRP, flash TWRP 2.8.4.0 Recovery only.
    • Reboot into recovery (switch off, then hold power & home & volume-up, release power when you see samsung logo)
    • Wipe data (system, data, cache, dalvik)
    • Install ROM CM-12.1-2-i9100g.zip from sdcard
    • Install Google Apps from sdcard (optional)
    • Reboot System and wait, first boot will take some minutes. Google App and Play Store will be updated automatically, when you start Play Store, wait until it's finished, before you try to install apps.

    Updating ROM:
    • Download I9100G CM-12.1 ROM to your phone/sdcard
    • Boot into recovery
    • Install ROM CM-12.1-i9100g
    • Wipe Cache/Dalvik
    • Reboot System

    Download I9100G CM12.1 ROM UNOFFICIAL:
    Download i9100g CM12.1 20161120

    Support development of this rom:
    If you find this rom useful, consider donating please. Your donation is used to cover costs for build computer/energy and a part of time consumption. Your donation helps to keep this rom alive!



    Download G-Apps:
    Download Open GApps (20150821) (recommended for first time installation). Alternative Download for OpenGApps 5.1 Nano 20150821.
    Visit opengapps.org to download latest gapps (usually not needed). When everything works fine, i recommend not to touch your gapps.

    Alternative Gapps which may also work:
    Download PA-GApps 5.1 Nano 201504. Alternative Download PA-GApps 5.1 Nano 201504.

    Status:
    Android-Version: 5.1.1 (R37)
    CyanogenMod-Version: 12.1
    Security patch level: 01.11.2016
    Kernel-Version: 3.0.31
    SELinux-Status: Strikt

    Standard functionalities are working. No known major errors or force closes. It's good for daily use.
    Tested functions: Telefon, sms, wifi, data 2g/3g, camera, 3d-grafics, sensors, gps, compass, vpn, wifi hotspot, screencast, speaker, playstore.

    Special features:
    • TWRP IsoRec: Booting TWRP from recovery partition
    • F2FS: Flash-friendly file system supported (sdcard, internal, cache)
    • Good standby times
    • Responsive, smooth gui
    • Last i9100g cm-12.1 rom which still gets updates (official cm-11.0 builds for i9100g ended 08/2016)

    Changelog CyanogenMod:
    CM12.1 changes

    FAQ/Solutions:
    • Root: To enable root access, activate developer options and go to settings>developer options>root access and set it to 'apps only' or 'apps and adb'.
    • Recovery: Cyanogenmod 12.1 comes with Cyanogen Recovery by default. But this rom supports booting isorec twrp recovery. Flash twrp isorec recovery to recovery partition. Rom will use then twrp as prefered recovery and ignore default recovery. Follow flash instructions for i9100g isorec twrp recovery to install twrp isorec recovery. If your recovery is not working, enter 'download mode' and flash a new recovery via odin, for example TWRP 2.8.7.0.
    • GApps: If you have problems flashing gapps or force closing google play services, do a clean flash and use recommended Open GApps 20150821 or pa-gapps for android 5.1 from download link above.
    • Audio/Video synchronisation: Update to latest build and deactivate AudioFX when you experience audio not in sync with video

    Optimisations:
    • Low app space: 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. 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 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.

    Known (minor) problems:
    • Activating flashlight with quicksetting-icon (-> use another flashlight app and (optionally) replace lockscreen app for quick access). Or upgrade to cm13.
    • Manual selection of phone network -> use automatic network selection

    Changelog bugfixes:
    • 20150825: high cpu usage caused by 'system_server' process fixed
    • 20150826: home button fixed
    • 20150826: Auto rotation fixed
    • 20151108: Wifi Hotspot fixed
    • 20151115: Touchkey light fixed
    • 20151115: VPN fixed
    • 20161112: 'Dirty Cow' kernel security fix, Video/Audio synchronisation improvements, Screencast fix
    • 20161120: Security fixes: Android security patch level 01.11.2016

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

    CM12.1 ROM archive (outdated, but it could help if latest rom is not working):


    XDA:DevDB Information
    I9100G CyanogenMod CM 12.1 Android 5.1.1, ROM for the Samsung Galaxy S II

    Contributors
    adxamg
    Source Code: http://www.github.com/CyanogenMod

    ROM OS Version: 5.1.x Lollipop
    ROM Kernel: Linux 3.0.x
    Based On: CyanogenMod

    Version Information
    Status: Beta
    Current Beta Version: 20161120
    Beta Release Date: 2016-11-20

    Created 2015-08-24
    Last Updated 2017-06-20
    12
    Just a short update about cm13/android 6.01 progress for i9100g. :D

    I solved this bootloop problem, finally. Recovery is working. Rom is booting normally. GUI seems to be pretty fast.
    But it's still an alpha version. A lot of work to solve some issues.
    9
    New build i9100g cm12.1 20160309 is online!
    Android security patch level: March 2016
    8
    New build 20150902 is online for i9100g. It contains all the latest CM Changes (see changelog link in first post).

    It's built from scratch on a new computer with some changes in updater-script. Could someone give me feedback if update-process (see first post) and ROM is working with 20150902 build.
    7
    New build 20151207 is online. It comes with latest TWRP Recovery.

    Enjoy! :D