yashsingh1/xdaforums huggingface dataset:
[Galaxy S II I9100G Android Development] Amin-GalaxyS2:
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?
[Galaxy S II I9100G Android Development] adxamg:
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.
[Galaxy S II I9100G Android Development] adxamg:
Android 5.1 branch does not get any security updates any longer.

You could flash LineageOS 13.0, which is getting updates, but some features are not working normally.
[Galaxy S II I9100G Android Development] sonic_ear:
Look like i9100g only can taste marshmallow so far..........
[Galaxy S II I9100G Android Development] JeyC79:
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 :

[IMG="Screenshot 2"]https://dl.xda-developers.com/4/3/2/8/3/8/3/Screenshot_2017-11-10-11-48-39.png?key=CmXnsncd9kf482Ol6iiCqQ&ts=1510308455[/IMG]

Please, do you have any idea?

Thank you.
[Galaxy S II I9100G Android Development] ze7zez:
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".
[Galaxy S II I9100G Android Development] JeyC79:
Uh ??

Very usefull answer...

SystemPanel is showing a CPU use during the last night, and some information to understand wich process make this trouble..
[Galaxy S II I9100G Android Development] ze7zez:
I do not understand you.Do you know anything but can not kill a nasty app or service?

Use, for example, Greenify to kill the application, and Servicely to kill the service.

Is it so hard to read as others do it instead of re-discovering America?
[Galaxy S II I9100G Android Development] JeyC79:
I don't need help with this king of communication. If you are not happy, move to the next subject.
[Galaxy S II I9100G Android Development] adxamg:
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
[Galaxy S II I9100G Android Development] JeyC79:
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 :

How can I use commands in your post?
[Galaxy S II I9100G Android Development] adxamg:
To disable ksm enter terminal (for example 'termux') and type:

echo "0" > /sys/kernel/mm/ksm/run

It's active again, when you reboot. You can change other parameters the same way.

This is for advanced users and experimental. If you're unsure, don't do it.
[Galaxy S II I9100G Android Development] JamesMars:
The SDCard in my i9100g died, and my new phone's has 64gb which I guess is too large to use?

Is it possible to wipe all data on the i9100g, and flash this rom in clean state without an external sd card?
[Galaxy S II I9100G Android Development] FurFur_:
I just wanted to say Thank you to the Dev! ^_^ Thank you Friend!
[Galaxy S II I9100G Android Development] Fajib Sh AZ:
64gb supports in i9100g???
[Galaxy S II I9100G Android Development] captaindeep:
Thank you for this rom:)
[Galaxy S II I9100G Android Development] xn0live:
is the room good?performence/battery

---------- Post added at 07:26 PM ---------- Previous post was at 07:26 PM ----------

yes i have a 64gb sd card

I think more then, is not work
[Galaxy S II I9100G Android Development] JamesMars:
Thanks, but I use it in my newer phone now with apps moved onto it. Don't want to have to format.

So is there any way to flash this rom and erase all the phone's data without an external SD card?
[Galaxy S II I9100G Android Development] captaindeep:
Hey dev

Can i use titanium backup with latest build?
[Galaxy S II I9100G Android Development] adxamg:
Try it and tell us if all is working. I had errors with some apps, for example textsecure.
[Galaxy S II I9100G Android Development] eray0687:
adxamg thanks. İf you have time can you port mıuı v7 for us.
[Galaxy S II I9100G Android Development] adxamg:
CM12.1 I9100G 20150908 build is online.

Changelog at CMxLog.
[Galaxy S II I9100G Android Development] xn0live:
Du u create the Zip?

OR where I can find the original site
[Galaxy S II I9100G Android Development] captaindeep:
Amazing
[Galaxy S II I9100G Android Development] McConnor:
Very nice, thanks alot - will you apply to become an official Cyanogenmod maintainer for the i9100G meaning there will be official nightlies (the changelog is for the i9100)?
[Galaxy S II I9100G Android Development] adxamg:
Don't expect official nightlies from me. I build new files, when there are important changes and when i have free time.

Changelog for i9100 and i9100G, nearly the same.
[Galaxy S II I9100G Android Development] McConnor:
Thanks for your hard Work! Is the flashlight bug (quick tiles) also present in i9100 so we can expect that it will be fixed eventually? Or will you Be able to do something about it? It's a feature quite useful...

Sent from my I9100g with Tapatalk
[Galaxy S II I9100G Android Development] nachopro:
Thanks! My i9100g is working like a "charango" :D
[Galaxy S II I9100G Android Development] TheNazarok:
Is battery life in this rom better than omni?
[Galaxy S II I9100G Android Development] nachopro:
My 3 years old batery works from 7:30 to 23hours (without facebook's app installed)
[Galaxy S II I9100G Android Development] xn0live:
how much was screen on
[Galaxy S II I9100G Android Development] nachopro:
Screen 2h37m, 22% left

(Sms, whatsapp, some short call and some default browser use(
[Galaxy S II I9100G Android Development] ERIC2683:
What's the last version for i9100g I flashed build 20150908

Notice a bit lag when opening phone app contacts takes time to show up

:good:
[Galaxy S II I9100G Android Development] adxamg:
Build 20150920 is online. As usual it contains all latest changes from github.com/cyanogenmod

Telefon was in roaming mode last week. Data was switched off in roaming mode. Battery was ~80% after 10 hours with nearly 2 days left. Syncing data (in background) is eating our energy...
[Galaxy S II I9100G Android Development] akuadi:
Great work dude..thank for the rom..
[Galaxy S II I9100G Android Development] McConnor:
Thanks for caring for our beloved I9100g! Is the flashlight working from quick tiles?

Sent from my I9100g with Tapatalk
[Galaxy S II I9100G Android Development] HieuVi:
Somehow I can't boot in latest 0920 build. After finished optimizing apps, it stuck at the "Starting apps". I tried flashing many times but no help.
[Galaxy S II I9100G Android Development] bengongboy:
same here
[Galaxy S II I9100G Android Development] adxamg:
Build 20150921 is online. It contains as usual all patches from github.com/cyanogenmod

Download ROM CM12.1 i9100g 20150921

edit: This build seems to be broken. It's booting not till end, stopping after optimizing apps. If someone could send/post a adb logcat from first boot, i will analyse it. If you flashed this build and recovery is broken, follow instructions in first post (additional informations).
[Galaxy S II I9100G Android Development] eray0687:
waiting starting app
[Galaxy S II I9100G Android Development] adxamg:
Did you try a clean install? And latest gapps?
[Galaxy S II I9100G Android Development] eray0687:
yes clean install. I dont use any gapps. Only rom.
[Galaxy S II I9100G Android Development] adxamg:
There was a problem with latest testbuilds. I built roms for 20150918, 20150920, 20150921, but they were broken.

But i think i solved it. I will post a new rom soon.
[Galaxy S II I9100G Android Development] adxamg:
New build 20150924 is online. Changes see cmxlog link in first post.

When you are using gapps, download newest opengapps and flash it after flashing rom.
[Galaxy S II I9100G Android Development] khyriel:
can i flash using blazing safe kernel?

do you have any mirror link other than mediafire?
[Galaxy S II I9100G Android Development] adxamg:
i recommend, flashing twrp and using this recovery to flash cm12.1.

Alternativ download from androidfilehost, see first post.
[Galaxy S II I9100G Android Development] HieuVi:
Latest build worked, thanks for the hard work.
[Galaxy S II I9100G Android Development] stefano91av:
Hello and thanks for CM12.1 .

I installed it on a I9100T , perfect !

What have you baseband ?

I I9100TJJLS2
[Galaxy S II I9100G Android Development] McConnor:
Can we switch the Torch/flashlight via the quick tiles in the meantime?

Sent from my I9100g with Tapatalk
[Galaxy S II I9100G Android Development] TheNazarok:
Is it normal to daily use?
[Galaxy S II I9100G Android Development] khyriel:
i forgot to flash gapps.. how to flash it under cyanogen recovery?
[Galaxy S II I9100G Android Development] adxamg:
It's possible to flash opengapps with cyanogen recovery, but i did not test and recommend it. See first post, updating rom.
[Galaxy S II I9100G Android Development] McConnor:
Compass Problem?

Because the lollipop rom is coming on so nicely and is based on Cyanogenmod I decided to write you about a problem with the I9100g which has plagued many users with all kinds of different ROMs (it has been discussed in German forum and also on xda) - perhaps this is something that can be remedied in the upcoming Cyanogenmod ROMs for our device:

There seems to be something amiss with the compass magnetometer - when you start up goggle maps you can see that the direction pointer points to the north on startup no matter which direction the phone points. Then it moves corresponding to the phone but with an offset which makes navigation very hard especially when trying to find your way by foot in a city. You cannot determine which way the phone is pointing because of this offset. Other map Apps - e.g. Nokia Here - show the same problem. Perhaps you have also already seen it. Perhaps this is some API/ HAL Problem that could be solved. I realized that Google maps 6.12.0 is the last version that shows the correct direction. Perhaps from then on there has been used another now widely used approach in polling the magnetometer which is faulty in our phone?

Is this problem existent in this ROM here? I have more detailed and technical background information at hand if needed (Catlog, adb sensor queries etc.)
[Galaxy S II I9100G Android Development] adxamg:
I checked compass functionality with gps essentials and it seems to be working normal.

i found some information about this google maps problem, but user wrote, it's even a problem with stock samsung rom.

You can send me your links to this forum and also your technical informations via pm.
[Galaxy S II I9100G Android Development] nachopro:
Yes, it is!
[Galaxy S II I9100G Android Development] TheNazarok:
This cm recovery is so ****ty, is there any ways to change it to twrp?
[Galaxy S II I9100G Android Development] McConnor:
Would someone with this ROM running Please fire up Google maps and check if the direction pointer works correctly? Be sure NOT to point your phone north while starting the app because then the problem is concealed (see my description above....) thanks!

Sent from my I9100g with Tapatalk
[Galaxy S II I9100G Android Development] xn0live:
Hi

guys who have the rom how is it?

stable/bugs/battery life?

Is it better then mokee rom 5.1.1 release?
[Galaxy S II I9100G Android Development] Skeuomorphic:
Is this rom more stable than the CyanogenOS12.1S rom?
[Galaxy S II I9100G Android Development] adxamg:
It's good for daily use.

No force closes or other major errors, see first post.

Battery usage is comparable to cm11.

New build 20151004 is online.
[Galaxy S II I9100G Android Development] Skeuomorphic:
If I wipe all data (system, internal, data, cache, dalvik), will my 5gb of data in internal storage be erased?
[Galaxy S II I9100G Android Development] adxamg:
A clean flash is important to get a stable system. Follow the guide on first post.
[Galaxy S II I9100G Android Development] HieuVi:
It's obvious that you choose to wipe internal then all your data in internal storage will be erased.
[Galaxy S II I9100G Android Development] McConnor:
Sorry for repeating but as there has not been am answer - is the flashlight working from the quick tiles / lock screen widget now? Would someone be so kind a to try? Thank you

Sent from my I9100g with Tapatalk

---------- Post added at 05:28 PM ---------- Previous post was at 05:25 PM ----------

Oh Sorry, i thought i have thread the First Post completely but obviously not - flashlight problem still exists - out ous mentioned there... Sorry

Sent from my I9100g with Tapatalk
[Galaxy S II I9100G Android Development] TheNazarok:
It doesnt boot when installing with CyanogenMod recovery, nice :)

---------- Post added at 09:28 PM ---------- Previous post was at 08:33 PM ----------

okay, i installed this rom using twrp, i did too much work. install mokee -> then with twrp install this rom. Please replace this recovery to twrp. With cm recovery i cant install xposed framework
[Galaxy S II I9100G Android Development] Skeuomorphic:
How do I flash a zip file (eg. boot animation zip) using Cyangoen recovery? Do I need to flash the signed TWRP first?
[Galaxy S II I9100G Android Development] adxamg:
Cyanogen recovery only accepts signed zipfiles, not sure your file is signed. When you flash twrp recovery only, you will have to flash rom-file, google apps and then your other modifications like your boot animation. Maybe you better replace this files with a file explorer (root).
[Galaxy S II I9100G Android Development] TheNazarok:
Twrp recovery only doesnt flash with this cm recovery
[Galaxy S II I9100G Android Development] adxamg:
A good reason to follow installation instructions, isn't it?

Flashing with

signed

twrp from first post: 1. rom, 2. google apps, then xposed fw. You tried it this way?
[Galaxy S II I9100G Android Development] McConnor:
Thanks for your great Work - as soon as my timetable permits i will check it out. Thanks for producing this for us!

Is there a reason why you don't include the twrp recovery in your ROM by default as it is needed anyway?

Are the known minor problems in the opener something that will be solved someday or a permanent problem we will have to live with...

Got some insight to the compass problem / got it reproduced?

Sent from my I9100g with Tapatalk
[Galaxy S II I9100G Android Development] adxamg:
I wish i could spend more time on this, so i could solve everything :D

I started building this rom, because i wanted to know if there is a reason, why the former devs don't release cm 12.1 for s2g. Now i know, reason is not the device itself. It's running great imho. Btw, unbelievable how device producers like samsung don't care about their customers. When they stopped updating it, with 4.1?! wtf

Did not have time to check the google maps thing. Indicator in maps is not moving like i expect it. It's pointing to north and moving when phone is moved. Flipping at some point 180 degrees. This app don't uses our (working) compass correctly.
[Galaxy S II I9100G Android Development] TheNazarok:
Btw, when i connect otg cable with mouse, mouse works but coursor dont seen
[Galaxy S II I9100G Android Development] TheNazarok:
[MENTION=5813522]adxamg[/MENTION] in test build trwp doesnt install, just rom with cm recovery
[Galaxy S II I9100G Android Development] adxamg:
Build i9100g cm12.1 20151006 is online.

It contains latest security fixes from google. Fixing issues in libstagefright, libutils and others. All i9100g roms built earlier than this build date are vulnerable. Update is recommended.
[Galaxy S II I9100G Android Development] Skeuomorphic:
Can I use the signed TWRP to flash a different custom rom? (Omnirom 4.4)
[Galaxy S II I9100G Android Development] adxamg:
Of course
[Galaxy S II I9100G Android Development] xn0live:
from where u have 12,1 version?

or u have it from s2 and put omni kernel?
[Galaxy S II I9100G Android Development] TheNazarok:
ah, xposed doesnt work with this rom, just stucks at cm logo(

---------- Post added at 07:31 PM ---------- Previous post was at 07:21 PM ----------

btw, i am using xposed with "Screen Off Animation" addon to get not lagged lock animation, is there any ways to use it in rom without xposed or install xposed on this rom normally?
[Galaxy S II I9100G Android Development] ashyoff:
Many thanks! Now u r the only rom maker for our old, crappy phone. I throw it in the trash when u stop:sly:
[Galaxy S II I9100G Android Development] adxamg:
Ha, ha. Don't trash it now. :D
[Galaxy S II I9100G Android Development] McConnor:
Thats the Spirit! I also Think the Phone is more than fit for the daily tasks - with this ROM fixing critical security issues and lifting is to the ART level it will suffice me some more years - I hope adxamg will be able to squash the remaining few issues... I am also having hope that if lollipop is adapted to the phone it will prepare the way for marshmallow ... [emoji6]

Gesendet von meinem GT-I9100G mit Tapatalk
[Galaxy S II I9100G Android Development] JamesMars:
Just wanted to change to this. Flashed Twrp from OP, formatting went well except "internal storage":

"Unabel to wipe '/emmc'"

What do I do to format internal storage?

Edit: Updated to Furfur's latest TWRP which seems to have helped. Could you update the OP?

Now running the rom. Trebuchet launcher is so much smoother than GoogleNow? So far looking good. Thanks for maintaining this.

Edit2: "Google Partner Set Up" keeps crashing.

Edit3: Using the back key to return to a previous menu will go back to the top and lose scroll position. Any way to make it remember?
[Galaxy S II I9100G Android Development] adxamg:
TWRP in first post is version 2.8.4.0 from furfur thread, but signed in order to flash it with cyanogen recovery. I don't have any newer version of it. Flashing rom with it, works fine.

"Google partner set up", not sure what you mean. Try latest open google apps.

Back key behavior in menus seems to be standard in cm12.1.
[Galaxy S II I9100G Android Development] Sgt. Kofeyeh:
You just brought life into my S2!!! :D works flawlessly so far =)

Thank you tons!!!!! :laugh:
[Galaxy S II I9100G Android Development] Fajib Sh AZ:
I heard a news that Samsung Galaxy S2 is expected to receive the Android Lollipop 5.1.1 update in October, on the heels of the release of Android Marshmallow. Is it true??
[Galaxy S II I9100G Android Development] McConnor:
Where from? Only i9100 or also the I9100g?

Gesendet von meinem GT-I9100G mit Tapatalk
[Galaxy S II I9100G Android Development] Skeuomorphic:
I think he heard it from here http://www.realtytoday.com/articles/41506/20151008/android-5-1-1-lollipop-final-ota-update-for-samsung-galaxy-s2-could-be-this-month.htm
[Galaxy S II I9100G Android Development] McConnor:
If that Update Really arrives for our I9100g I will apologize to Samsung for all I have said about them... [emoji23]

Gesendet von meinem GT-I9100G mit Tapatalk
[Galaxy S II I9100G Android Development] adxamg:
Official Android 5.1 from samsung for i9100g? Ha!

With screen of death 2.0 and new bloatware. Oh yeah, waiting for it :rolleyes:
[Galaxy S II I9100G Android Development] ashyoff:
Can you believe that? I even have stock 4.4 on my n7100
[Galaxy S II I9100G Android Development] Zentori:
I've this problem, too. Only after a reboot, two times, and then never again in days... :confused:
[Galaxy S II I9100G Android Development] ashyoff:
I flash latest oct 6 version and wont be able to boot. So i rolled back to previous version and its working fine.
[Galaxy S II I9100G Android Development] Fajib Sh AZ:
Yaa i read this article . :)
[Galaxy S II I9100G Android Development] adxamg:
New build i9100g cm12.1 20151017 is online.

Changelog
[Galaxy S II I9100G Android Development] AYUSHROCKSTAR:
How can we add any offline radio app
[Galaxy S II I9100G Android Development] McConnor:
Buy SpiritFM from play Store. Works perfectly even though it is a bit expensive....

Gesendet von meinem GT-I9100G mit Tapatalk
[Galaxy S II I9100G Android Development] JamesMars:
Thanks for the update - downloading now.

After having used build 20151006 for a week I'd have a few things to mention. I realise none of these are necessarily your 'fault'. But if you know a way around them do let me know.

- Lockscreen swiping into Phone or Camera apps doesn't to work. I set it to "default app" in settings.

- The sound for photo or screenshot taking is really quite terrible. I couldn't find an option to disable it.

- Torch doesn't work for me. I suppose this has been reported before.

- Wish I could set the phone to be completely silent until the next alarm, and exclude the alarm itself.

- The brightness is sometimes way too bright. I cannot read the phone in complete darkness as it hurts my eyes, even when brightness is at minimum. Adaptive brightness helps, but still doesn't solve the problem.

- I have a strange problem with the standard email app which I use for my work's account via IMAP. I get emails several times, usually twice or thrice, where only one will have title and body, all others only have the title and no body. Deleting the "empty" ones however will delete all of them.

- The phone overall is extremly sluggish. I realise it's 4 years old, but I wish there was a motivation to not only make a rom run on an old device, but to optimise the code to run without delays.

- Screenshot of Google Partner Set Up:
[Galaxy S II I9100G Android Development] adxamg:
- Lockscreen swiping into phone and camera is working normally here (swipe to left/right, not up...)

- Sound for photo is a standard sound, you could change or disable it, ask google if you have problems with it

- Torch, see first post. Use another app for this

- settings/sound gives you the opportunity to disable/enable whatever you need

- quick settings, reduce brightness manually in this case

- strange problems you have, my email app is working normally

- google partner setup: follow flash instructions and use google apps as mentioned

- my phone is working extremly smooth with cm12.1 and better than older cm versions. Of course you can not compare it with a new phone. Source code is on github.com/cyanogenmod. You are free to "optimise the code". I will build a new file, when you finished with it. :laugh:
[Galaxy S II I9100G Android Development] McConnor:
Hello adxamg, Great to hear that - thanks for your dedication. I am by no means a programmer: Is the thing with the flashlight something within you reach for fixing? I am quite often using the flashlight from lock screen and quick tiles...

Gesendet von meinem GT-I9100G mit Tapatalk
[Galaxy S II I9100G Android Development] ashyoff:
No problem here 2. His phone must be on a strike against his cruel domination.
[Galaxy S II I9100G Android Development] adxamg:
Here at xda-developers is a thread with a free version of spirit fm.

General SpiritFM Thread

Here is an apk download for android 5. Did not test it.
[Galaxy S II I9100G Android Development] McConnor:
Perhaps I overread it but does the ROM now have TWRP Recovery by default?

Is it possible to add a flashlight widget to the lockscreen to overcome the (up to now) unresolved bug with not beeing able to toggle the torch via quick tiles?