yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] slavanar:
What can i do to keep wifi always work its very week 5 mins turn off automatically
[Galaxy S II Android Development] Eren Kibar:
You were right mate. It is gapps that cause the battery drain. I flashed the ROM without gapps and the drain is gone. But when it was with gapps i checked with wakelocks detector and it was awake around 7-8% there was one service with a really high wakelock counts (around 380) in one hour. Maybe I should try another gapps. Thanks a lot for helping.
[Galaxy S II Android Development] Droidriven:
I use Open Gapps, micro or mini package.

Which ones did you flash?
[Galaxy S II Android Development] EngineJoe:
Button Troubles

The back and menu buttons staying lit is a result of kernel modification to support BLN. You have to install BLN_MOD and Synapse to regain control. Go to BLN_MOD forum for details and to download the mod.
[Galaxy S II Android Development] EngineJoe:
Battery Percentage Incorrect

For me (and at least one other person who has posted a bug report in CM Jira) Nightly 0815 causes hugely negative battery percentage display, forcing continuous charging.

https://jira.cyanogenmod.org/browse/NIGHTLIES-3279
[Galaxy S II Android Development] Sercan Ali:
Same for me...

---------- Post added at 07:06 AM ---------- Previous post was at 06:12 AM ----------

Exclamation mark on signal bar...I cannot connect to google and google related apps. Also no connection error on internet browser...Any solution? I pulled off sim and inserted again...Switched on and off airplane mode etc...APN setting is true also... Actually I was using AICP ROM and no error on it about mobile data...

---------- Post added at 07:12 AM ---------- Previous post was at 07:06 AM ----------
[Galaxy S II Android Development] Teekanne3000:
I want the settings for the sensor buttons backlights back.
[Galaxy S II Android Development] the.gangster:
[MENTION=5560426]Klaus20[/MENTION]

System only stores ROM and optionally: GApps or frameworks you never heard of. So if you only want pico or one of the other smaller GApps, you'll be fine with 1gb.

Data is the place Apps are stored in. The bigger the more Apps can be installed.

But: The more space you give to these two partitions, the smaller your internal SD space will be (music, pictures, videos and other data). But that can usually also be put on external SD.

So decide on your usecase!
[Galaxy S II Android Development] rINanDO:
Should not be neccessary. But i recommend you should not use the alpha 5 version of the OP but the 2nd version of my build a few pages back (with selinux set to permissive), use 1gb system and 12 gb internal storage PIT by using odin, and isorec recovery.

If you want to stay 'official' you need cm12.1 ;). You don't need to PIT.
[Galaxy S II Android Development] AchiNo:
Unless we make the jump to fuse filesystem, that way data and media would not have to be divided. In my Opinion fuse data/media is the best way to go and the only downside for the user would be the necessary wipe. Now would be the best time to introduce such a big change.

[MENTION=4141005]Lanchon[/MENTION] already has figured out a script, question is if [MENTION=6159291]Lysergic Acid[/MENTION] is allowed to make the switch and how it will be handled. While at it increasing system size would also be at hand. :good:
[Galaxy S II Android Development] Lanchon:
well before any work in partitioning is done, the future of the cm13 has to be decided:

a) sdcard is kept non-emulated as in cm12.1

problems:

-devs cant make it work so far.

-users loose the chance and option to have a "perfect" device.

-what about all the current cm13 users that are using emulated storage? the will probably have to wipe.

b) sdcard goes emulated:

problems:

-devs cant make it work so far: selinux must be enforcing and the old sdcard partition and the external sd must be seen and mountable in android.

-requires new isorec recoveries (the bundled recovery should work fine though).

-current cm12.1 users might want to repartition, wiping their sdcard. but this is not an absolute requirement: users could use the android "adopt storage" function to adopt the internal sdcard. but then the sdcard will be wiped anyway, and encrypted, and recoveries wont be able to see it, and who knows what else; partitioning is way better. but the important thing is: emu storage mode is usable without repartition, which matters to CM management.

it is not worth my time to do conversion scripts if no rom will run after that. im looking into repartitioning options that dont require wipes. i think i have stuff mostly covered now, except for the conversion across emu/nonemu which presents some challenges and limitations.

( [MENTION=6159291]Lysergic Acid[/MENTION] )
[Galaxy S II Android Development] sumit yadav:
WifiService: setWifiEnabled: true pid=2796, uid=1000

01-01 05:37:06.986 2340 2864 E WifiService: Invoking mWifiStateMachine.setWifiEnabled

01-01 05:37:08.540 2340 2405 E WifiStateMachine: Failed to load driver

WifiStateMachine: Fail to set up pno, want false now false

Can anyone help me with this?
[Galaxy S II Android Development] the.gangster:
[MENTION=5560426]Klaus20[/MENTION]

Yes. This time you've got wrong instructions from Dr AM

that would have fit for error 70 that you had last time.

But I'm tired of echoing always the well known error codes.

Look at open GApps FAQ yourself. These errors are all listed there in detail.
[Galaxy S II Android Development] Naudiz:
Just out of curiosity, I would like to ask what the plans are right now, which path will development of CM13 on i9100 take?

Has it already been decided if you will focus to find a solution for emulated storage or try to make storage work in the "classic" way?

What are currently the other remaining game-stoppers that prevent this from becoming a Nightly?
[Galaxy S II Android Development] oscarlamyf:
I'm on 0117 build. Internal SD is shown in setting>storage but other apps cannot recognize the storage. Is it the known sd card issue?
[Galaxy S II Android Development] Dr AM:
Oh sorry I was wrong :o

Sent from my GT-I9100
[Galaxy S II Android Development] rINanDO:
Yes, thats the known issue.
[Galaxy S II Android Development] Klaus20:
After reading the FAQ I got an answer to some Questions.

Like the live "Learning Step by Step" - Thanks again for your help and patience.

Regards Klaus

For all those they have the same problem.

So after formating system - flashing the ROM - flashing openGApps - wipe dalvin + cache and reboot everything is working.

I could also restore the backup of "MyBackup" (copy the old backup to /storage/emulated/0).
[Galaxy S II Android Development] oscarlamyf:
So I need to get emulated sd, right? Is repartition the only way to have emulated sd? Will the user data get wiped? Thank you.
[Galaxy S II Android Development] rubentkato77:
How to clean install ? And what PIT is better for latest build? Sorry for my bad english ;)
[Galaxy S II Android Development] ultravy:
Increasing system partition size read here, easy way 1 gb sys, rest is up to you!

Even S4 i9505 works well on emu on cm12.1 , twrp is wiping data without /media. go emu if emu is best and easy way!
[Galaxy S II Android Development] Eren Kibar:
Well I didn't flash anything and the drain is back again. I don't understand anymore. These 3 days I used the fuel gauge tool a lot. I will just discharge and recharge the battery normally for 1-2 days and see what happens. With reboots I started to get %3-5 battery drop again. Literally nothing is installed on the phone. I turn on airplane mode drop the brightness and I get the same battery drain percentage.

I just lost %2 battery while typing this.
[Galaxy S II Android Development] jojobg:
Search the thread, you will find several pages on the battery drain issues with gaps and which is the sub-service you need to tackle in privacy guard ;) enjoy.
[Galaxy S II Android Development] Eren Kibar:
I tried the privacy guard thing I disabled everything with privacy guard later I just removed gapps and the drain is the same. These ss are without gapps
[Galaxy S II Android Development] jojobg:
If drain persists without gaps then search for WiFi power drain and livedisplay/adaptive brightness issues.

But do not expect more than 6 to 8 hours on one battery charge with MM and 1650 mAh battery of the phone, Anker 1950 mAh is better, and if you find a double battery pack will be great but not everyone is willing to go with this form factor and have a quick and dirty self defense tool at his disposal in the pocket.
[Galaxy S II Android Development] SzymonL:
cm-13.0-20160815-NIGHTLY-i9100

Battery level: -465 661 994% It's bad? :D
[Galaxy S II Android Development] midium:
Suffering the same problem too :crying:
[Galaxy S II Android Development] 74mk:
Back to 20160814 :)
[Galaxy S II Android Development] Droidriven:
Its a ROM issue, the developer will have to fix it.
[Galaxy S II Android Development] midium:
Already done :D
[Galaxy S II Android Development] Lysergic Acid:
That's just great, omg. I've never seen a better math calculation in my life :eek:
[Galaxy S II Android Development] GreekDragon:
That breaks physic's laws. All of them.
[Galaxy S II Android Development] aminya:
Hi everybody, does ROM now include busybox preinstalled?

Because when I used to use cm13 whenever I installed busybox, the sound recorder didn't work anymore.

I need busybox for Xtreemmusic sound mod
[Galaxy S II Android Development] jojobg:
Negative Battery levels

Samsung kernel issue with fuel gauge driver, waiting review and change set for commit: http://review.cyanogenmod.org/#/c/156679. Reported to affect S2, S3 and S4 ...
[Galaxy S II Android Development] Droidriven:
Yes, I've had battery drain on my S3 since CM12, more on CM12.1 and less on CM13 but its still there with certain things enabled.
[Galaxy S II Android Development] Jaccob25:
GPS Fix

Hi. What about GPS fix? Is somebody working on it? It is my only problem on latest nightlies. :)
[Galaxy S II Android Development] BlindEyes:
I really expected we have a snapshot build but that's life still don't have
[Galaxy S II Android Development] jojobg:
Well with the upcoming N alphas we should be expecting snapshot, [MENTION=6159291]Lysergic Acid[/MENTION] any comment on your side sir.

Build 17.08.2016 is ready to download but I don't see the commit for negative battery levels to be approved and part of the change set, anyone to confirm/deny this still exists in 17th build.
[Galaxy S II Android Development] 74mk:
still the same error
[Galaxy S II Android Development] laptopu:
Yes confirmed battery level problem still exists in 17/8 build.
[Galaxy S II Android Development] midium:
Reverting to 14/8 today too :(
[Galaxy S II Android Development] rINanDO:
I tried his fix in my personal build and it does fix the battery percentage :)
[Galaxy S II Android Development] jojobg:
I know :) but this does not approve the commit for official CM builds :)
[Galaxy S II Android Development] Lysergic Acid:
I merged it, should be fine in the next nightly :)
[Galaxy S II Android Development] xn0live:
Hi all

which Kernel and Schedel are you using for better staility and battery life any good tweaks?
[Galaxy S II Android Development] laptopu:
Confirmed battery level problem fixed in nightly 18 August thanks to all involved in fixing.
[Galaxy S II Android Development] :
Hi xn0live,

I admire your perseverance. You are still searching for great performance and great battery life.

We would all like that, but the truth is it doesn't exist(with this device). You can tweak kernel settings, change governors and i/o schedulers, but you will get:

EITHER- super performance and fast battery drain, or super battery life and not so good performance, or something in between. You could better spend your time searching for a real unicorn. The default settings for most roms are a good balance between performance and battery life. You will never find settings that are much better than stock.

The most important things for what you seek are-

1. A battery that is working efficiently(get a new one if you suspect yours is getting old/tired)

2. Make sure you have no major wakelocks

3. If you can, stop using gapps/google play sevices. I have personally found a great improvement in battery life from not using google apps. (This is not always possible depending on the apps you use.)

4. Forget about other users SOT. They use their device differently to you

5. If you are still not satisfied: get a newer device with better SOT and performance like OnePlus or Nexus for example
[Galaxy S II Android Development] hitman4u:
cm-13.0-20160818-NIGHTLY-i9100

Battery percentage problem solved[emoji2] [emoji106]

Works perfect.
[Galaxy S II Android Development] vigneras:
Thank Lysergic Acid, you for the correction of the battery is ok with the 0818 nightly
[Galaxy S II Android Development] Agradon:
i cant flash gapps nano error 70 or 20

why?? how can i fix it?
[Galaxy S II Android Development] BatyuS:
Thank you solve the battery problem (08/18)
[Galaxy S II Android Development] Acid0057:
You need to repartition. Check the lanchon repit thread here on xda.
[Galaxy S II Android Development] Agradon:
Do you mean http://xdaforums.com/galaxy-s2/development-derivatives/mod-partition-internal-memory-app-t2538947 ?

i have repartition with i9100 Pit Files 1GB & 12GB Collection by metalgearhathaway.zip
[Galaxy S II Android Development] Acid0057:
Yep or use this to keep your data

https://github.com/Lanchon/REPIT
[Galaxy S II Android Development] fubo73:
You need at least 1.5. Use 2gb and will be OK forever.
[Galaxy S II Android Development] dumdidum123:
1,5 GB for the system partition? I used the pit file with 768 MB because ROM + Gapps are only using 578 MB. There is no need for more space.
[Galaxy S II Android Development] the.gangster:
I guess we got it meanwhile. No need for another 500 users to acknowledge it. Thx.

NO. He was referring to this one.

And I wouldn't use a PIT without internal SD. Guess that is one of those special PITs created when we started with MM.

Just to mention: It can also format on the fly. Otherwise you have to care about how to reformat preload (and internalSD) after using ODIN with changed PIT-layout.

"at least" only if you insist on flashing full (or bigger) GApps package.

...if you use the recommended pico GApps package and don't need space for other special system apps.

But finally:

[MENTION=7428120]Agradon[/MENTION]

it would have all been explained already if you only had read this thread's opening post, and in there followed the link to this guide that was made by gsstudios especially for you. ;)
[Galaxy S II Android Development] DooDah0:
I had this battery percentage issue and trough the night battery discharged and now when I connect the charger I see battery with question mark icon. I can't get to recovery, I can't start phone only I can get is download mode. What I should do now?

edit:

In download mode battery charges a little, I disconnected device, turn it on and connect charger. Now I'll try to update to newest nightly.
[Galaxy S II Android Development] Gent':
Mobile data not working guys,how to fix it
[Galaxy S II Android Development] Acid0057:
Was it working before on cm13? Did you do anything like install an app, wipe data, etc? What carrier are you using?
[Galaxy S II Android Development] Gent':
Yes it worked before cm13,also i set the Apn but still not working.
[Galaxy S II Android Development] Acid0057:
What changed from when it was working on cm13 to today? Did you wipe data or change anything?
[Galaxy S II Android Development] Woniu1818:
I fixed it by deleting data/data/com.android.providers.telephony/databases/telephony.db and restarting phone. After restart it will recreate missing file.
[Galaxy S II Android Development] iagm12:
Hey, Lysergic. I just installed CM13 with Gapps and it's amazing... Literally no lag and very smooth. The only thing i noticed is a vídeo playback desync. Is this normal?
[Galaxy S II Android Development] the.gangster:
LOL

Never seen it before that two nightly builds got named exactly the same way but today it happened.

Tonight a 2nd cm-13.0-20160818-NIGHTLY-i9100.zip got released.

So don't get confused and update your cm-13.0-20160818-NIGHTLY-i9100. build with cm-13.0-20160818-NIGHTLY-i9100.zip to cm-13.0-20160818-NIGHTLY-i9100.

;)
[Galaxy S II Android Development] HutchGuy:
Just updated my phone over CM software updater in settings and now it's not booting lol Just a black screen and sometimes a popup that says "installing updates" shows up.

Great! Very GOOD
[Galaxy S II Android Development] Kevin3014:
The default updater is bugged perhaps. Why not just do a clean flash from TWRP?
[Galaxy S II Android Development] HutchGuy:
clean flash rom from TWRP means a full factory reset? (Fresh rom installation) I didn't want to do that, because i had so many stuff in my phone that all of them could go away, plus i read in Google that software update does not delete anything from phone. that's why i decided to update it from OTA lol

Here is the scenario, Last night i suddenly tapped on software update (without any plans), and it started downloading. I just slept and in the morning, i tapped on Update this Device in order to get some of the bugs fixed because my CM13 was for May and had so many bugs.

It restarted my device and started updating, the update screen was just weird, like it was going off every 10 seconds or so. I ignore it until the whole screen turned black and i thought the update is done. I didn't know what to do to be honest so I waited 10 mins but nothings changed. Just turned on my phone and after the Samsung i9100 logo, nothing showed up but a black screen with a very dimmed light (it suppose to show cyanogen logo)

I tried to go into the Recovery mode but it didn't work!!! I only had download mode, So basically before flashing any files i did couple of steps like turning off device, taking out battery but none of them worked. I flashed the KitKat compatible recovery and Odin automatically restarted my phone, I had a delay on holding home and volume-up button and just missed the recovery, but the Cyanogen logo appeared on the screen!!

But wait, it wasn't useful at all because it didn't make my phone to start. I downloaded the new nightly version along with pico gapps and flashed both of them from recovery mode. and it worked. device is working properly now but what was the problem??? It wasn't my fault!!!

I had enough space storage and everything was fine before the update. But meh... It wasn't a deal breaker tho, because i really love this new rom!!! There is almost no bug in this version, I really enjoy it.

Thank you Lysergic Acid and other buddies.

(sorry for the headache you got from my beautiful English and long scenario)

---------- Post added at 01:50 PM ---------- Previous post was at 01:16 PM ----------

Does anyone know how to hide the Root Access thing from device or apps? I want to record a video for a company and don't want them to know my device is rooted (because i need to show them the root checker app that says my device isn't rooted), I tried 2 root checkers, one of them said Your device is rooted, and the other one said Your device is not rooted but SU found. My device has a fresh rom and i didn't enable the root access from settings (Developer option) yet.
[Galaxy S II Android Development] Sercan Ali:
Does heads up notifications pop up for you? Even if, for example, a twitter notification comes no pop up appears ... I enabled heads pop up option...On other roms there is an option like white and black apps . On white app lists if you add an app it starts to pop up...But on cm13 no option like that...
[Galaxy S II Android Development] Schkisz:
i get md5 verification failed while trying to download either of cm-13-0-20160818-NIGHTLY builds....
[Galaxy S II Android Development] BlindEyes:
does anyone notice the rear camera is not working on the cm-13-0-20160818 build i'm on the first 0818 build
[Galaxy S II Android Development] jojobg:
Camera working here, also on first 18th build.
[Galaxy S II Android Development] JimboAccy:
Thanks for fixing the battery issue - also liking the new battery charging screen! Really big n clear :) I also like it when you flash a nightly now you can see the app thats being optimised - nice touch. Thanks a lot to all involved for those improvements - the latest nightlies seem to be working fine for me in all respects now :good:

Jimbo
[Galaxy S II Android Development] jojobg:
Unfortunately OTA is not able to produce the needed result, went the manual way ;)
[Galaxy S II Android Development] Kevin3014:
Works good here as well.

I'm on first build too.
[Galaxy S II Android Development] BlindEyes:
it does open for me is it the hardware of my camera that is broke?
[Galaxy S II Android Development] jojobg:
Camera app working or force close ?

Only rear camera not working or front also?

Did you try other camera apps for instance better camera app?

In case HW focus issue, recovery steps include going to stock rom and etc....
[Galaxy S II Android Development] Kevin3014:
Try reverting to an older version of CM13, the one in which the camera worked.
[Galaxy S II Android Development] BlindEyes:
gonna try tomorrow thanks

---------- Post added at 12:07 AM ---------- Previous post was at 12:07 AM ----------

it says camera can't connect
[Galaxy S II Android Development] cherryb8844:
Why 2 build of 18 August what different between
[Galaxy S II Android Development] iagm12:
There was a problem with the keyboard libs, and they have to fixed it.
[Galaxy S II Android Development] Sercan Ali:
Theme provider FC s. Does anybody face this problem? ( I am on 18 08 build )
[Galaxy S II Android Development] rajat2010:
Camera working on the cm-13-0-20160818 first build
[Galaxy S II Android Development] jojobg:
Working here, 18th second.

Confirmed for 18th second also.
[Galaxy S II Android Development] choukerim:
Hello, i have the same problem (http://xdaforums.com/showpost.php?p=68261318&postcount=5828). Could you give me a H.F.P (Heimdall Firmware Package) to help me ? or anything simple to newbie like me to save telephone ! Thanks you very much and excuse me for my bad english !
[Galaxy S II Android Development] bersem:
Works Facebook Live button on this Build ?

Have Problem on 5.1.1 build.

http://xdaforums.com/showthread.php?p=68243243

Gesendet von meinem GT-I9100
[Galaxy S II Android Development] rajat2010:
Working smooth....
[Galaxy S II Android Development] cherryb8844:
Screen color is become yellow when we try to change it in advanced display after some time screen become yellow back I'll tried all scenario but no change

I restored the backup of RR
[Galaxy S II Android Development] carlosfl8:
Did u check live display?
[Galaxy S II Android Development] cherryb8844:
No

But I always use every ROM without live display and without adaptive brightness and works good but this build 18 Aug have yellow color and older nightlys don't have
[Galaxy S II Android Development] dumdidum123:
is there an option to change the min_gamma value on cm13? I know it was possible when i used dorimanx kernel on cm 10.1 but since dorimanx kernel is in beta i didn't install it yet. so is there an option without installing another kernel?
[Galaxy S II Android Development] dinos3:
Is it possible force alarm to play song over speaker when heaphones connected?
[Galaxy S II Android Development] Rendering:
Hi, I am experiencing a lot of slowness with 5th August nightly. I downloaded Syslog application to retrieve useful logs, but all logs I retrieve are empty.

I have granted root access to syslog and I have also checked for live dmesg logs and the phone is actively showing them, so I don't know why syslog still makes empty log files...
[Galaxy S II Android Development] Black.Python:
How much time remaining since we can see a CM13 Snapshot ?? :confused:
[Galaxy S II Android Development] Syaani:
An indefinite period of time :)
[Galaxy S II Android Development] daniu:
Seriously: what is so special about a snapshot?

Sent from my x-phone using brain 2.0
[Galaxy S II Android Development] Andrea900:
It's a different branch, with different patches and proved stability fixes.