yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] lukss12:
I don't mean to be rude. There is a big difference between being rude and telling facts. Welcome to the forum and if you don't like bugs don't use nigthlies.

Nice workaround! I'm giving my S2 to a friend for some weeks so I can't test. Could you post the results on battery life? It will be useful to encourage devs to try a native implementation to get doze working fully.
[Galaxy S II Android Development] oscarlamyf:
Tried aggressive doze with Naptime. It seems to work to put the phone idle (doze mode) after screen off. But the phone won't wake after some time as it's supposed (maintenance window). Can you confirm?
[Galaxy S II Android Development] heleneh:
Anyone else who desn't get runtastic working? It worked before but after some updates it doesn't work anymore. Even new installation doesn't help. Downloaded the newest version and it already hung up at login. First the probs with sygic now runtastic.....what's going on?

Any ideas to get runtastic working again?
[Galaxy S II Android Development] Talkrabb:
Runtastic works on my device.

Gesendet von meinem GT-I9100 mit Tapatalk
[Galaxy S II Android Development] Boolian:
Really? I hope you are getting results.:good:

But I don't think Doze is anywhere near as aggressive or controllable as Greenify.

(Or Francisco Franco's "Servicely" app etc)

I'd keep it and use it as well.

I could be wrong, but as I understand it, Doze only kicks in if an app does not have a process or service in the foreground (or notification process) whereas Greenify/Servicely etc. actively hibernates all marked apps and their processes. Including those with foreground processes if you want.

Doze at system level we don't have (because sensors)

Doze at app level we do have, but really only if the app is effectively "off" anyway.

The aggressive "dirty" apps that always push priority states/start at boot/memory hogs etc. are the ones we need shut down, but Doze won't touch them.

Whereas I can "Greenify" every app I want. Even system processes.

Greenified apps will hibernate regardless of the app current state.

I believe Oasis Feng has implemented an "Aggressive Doze" within Greenify to compliment and improve the response time of Doze in MM.

I just don't see that native Doze in Marshmallow is anything but a weak 'shutdown' which may or may not kick in so long as nothing else is happening on the phone.

I may be missing something fundamental, but I really don't see the point of Doze at all in its current form, there are apps out there which are better.

See also for a breakdown of Doze :

http://developer.android.com/training/monitoring-device-state/doze-standby.html
[Galaxy S II Android Development] heleneh:
Made an update to the latest nightly builts an it seems to work again. Very strange :rolleyes:!
[Galaxy S II Android Development] RedShift1:
I have to say, with this ROM my i9100 is finally usable again... With all the earlier ROMs like Lollipop and Kitkat, they would just become dead slow to the point they're unusable. But running this ROM for 2 days now and that doesn't seem to happen. Haven't tested out everything (didn't use my SIM card nor did I try the GPS) though.
[Galaxy S II Android Development] Droidriven:
Try xposed, it has modules for setting that up however you want.

Also, you can either upload your logs to a site somewhere then link it here or you can use hide brackets to make your posts a lot shorter.
[Galaxy S II Android Development] laptopu:
I am not keen on xposed if I can avoid it, am I the only person with this issue or is it a bug? Does anyone else get email notifications with screen off and not charging, or like me do all the notifications come through within seconds of screen on?
[Galaxy S II Android Development] wyssothmar:
how can I give write permission on external sd? I always get an error message.

---------- Post added at 07:25 PM ---------- Previous post was at 07:15 PM ----------

this is the error repport.

---------- Post added at 07:32 PM ---------- Previous post was at 07:25 PM ----------

this is right Error Report when assigning of write right on external sd
[Galaxy S II Android Development] Droidriven:
You may be able to use an app to manage wakelocks to keep notification services active while screen is off.
[Galaxy S II Android Development] the.gangster:
And with utmost respect, you and others could stop full-quoting if you don't refer to the (full) contents.

It'd be much easier to read this thread. But mostly it is used even on direct answering the previous post.

(Not meant to be offensive)
[Galaxy S II Android Development] Droidriven:
Oops, lol. I meant to hide his text. I've got PMs, hangouts, and other threads all going at once, in a rush.
[Galaxy S II Android Development] laptopu:
I have removed greenify, wiped cache and dalvik, there's no email sync after screen's been off a few minutes. Can anyone help?
[Galaxy S II Android Development] Andrea900:
Exclude email app from optimized apps.
[Galaxy S II Android Development] Spyr0s:
Just turn wifi off, you will get better battery results than having wifi turned on with all notification services inactive.
[Galaxy S II Android Development] sylvasster68:
Healthy and Happy Easter to all forum users.

Wysłane z mojego GT-i9100 AICP M
[Galaxy S II Android Development] tvl1996:
i cant install GAPPS because of too small size of system partition, even the pico one... how to fix that?
[Galaxy S II Android Development] :
Please read OP, Important informations has links for how to install and the tools needed.
[Galaxy S II Android Development] speedbirdengineer:
26/3 nightly google play services keeps crashing with error, inspite of clearing cache & data from google services & doing a whole wipe/factory reset.
[Galaxy S II Android Development] 1house:
---------- Post added at 06:35 AM ---------- Previous post was at 06:32 AM ----------

Play services crashing...
[Galaxy S II Android Development] khal_nayak:
i see cm13 still doesnt support exFAT whereas cm12 etc used to and with this i cant plug my 64GB flash drive. Is there going to be any plans to support it because this is holding me off from flashing cm13 on my nexus 10 as well, galaxy s2 works fine with cm13 but then again exFAT formatted flash drives dont work
[Galaxy S II Android Development] DJ-Studd:
This ROM is absolutely brilliant, thanks to the devs.

Can anyone recommend the best radio to use with it? I am currently using XXMS4, which works really well for the phone, however the GPS suffers from quite a weak signal and reloads frequently. Cheers!
[Galaxy S II Android Development] Andrea900:
Maybe because our phone recognizes flash drives up to 32gb of capacity.
[Galaxy S II Android Development] Andrea900:
Good news everyone!

Aggressive doze, during the night (the smaller "horizontal" period, because of the hour change). Wifi remains active due to a setting ("always active" in Wifi -> Settings), and I've found WhatsApp notifications in the morning, so Doze is working as expected. After all, battery consumption is really good, (<5%).

[MENTION=5361265]lukss12[/MENTION] [MENTION=6724217]Boolian[/MENTION]
[Galaxy S II Android Development] Boolian:
Yup! Thats many hours, I ain't getting back! Was doing two phones. Got so fed up formatting and restoring, I just banged 12.1 on for today:p
[Galaxy S II Android Development] Dr.Fix:
Every time that I lose mobile signal (ie going in a gallery or in a place with no coverage) the phone doesn't get the signal anymore by itself.

I have to reboot the phone and the signal gets back. Staying at mountains is a pain.
[Galaxy S II Android Development] Boolian:
XLS8 or BVLP7 are really good - try also setting a custom NTP server for your GPS which is suited for your country ( FasterGps app or edit GPS.conf manually)

Here's a comprehensive modem thread:

http://xdaforums.com/galaxy-s2/themes-apps/ref-galaxy-s-2-shipped-modem-collection-t1131950
[Galaxy S II Android Development] laptopu:
I have now tried enabling push email notifications. The sync seems to work but I don't get a notification whilst screen off and not charging. The email app is not battery optimised.

When I turn the screen on there is an email notification display and about half a minute later I get the alert. Any ideas?
[Galaxy S II Android Development] khal_nayak:
well didnt i mention otg flash drive using micro usb port, exfat works fine on cm12 and nexus factory images of lollipop then why not cm13?
[Galaxy S II Android Development] Spyr0s:
Format your drive to another file system, solved.
[Galaxy S II Android Development] laptopu:
I have done some more tests on this. If my handset is asleep it still gets emails since as soon as I turn my display on the notification is waiting. However it only vibrates to tell me there's a new email if the handset is charging or within a couple of minutes of the display going off.

I have turned off battery optimisation for email, trebuchet, android system, cyanogen system but this makes no difference. I totally uninstalled greenify and wiped cache.

Really hope others can offer me advice.
[Galaxy S II Android Development] laptopu:
I have been toying with battery optimisation and it seems the only way to receive notifications whilst the phone is sleeping is to set Google services framework to not optimised. Hope this helps others, seems a bit strange as this affects all sleep notifications other than phone or SMS, perhaps it's linked to gcm?
[Galaxy S II Android Development] bamtan2:
[MENTION=6159291]Lysergic Acid[/MENTION] [MENTION=4141005]Lanchon[/MENTION] [MENTION=5811506]gsstudios[/MENTION] [MENTION=2069027]metalgearhathaway[/MENTION] and other developers, thank you for your work!

I would like to add your research on S2 partition size to my thread about Galaxy Nexus partition size. Specifically, what you require to be compatible with Android 6.0 and CM13. Galaxy Nexus developers are similarly working to bring CM13 to users in a compatible way.

In my thread, we decided that since we couldn't figure out how big /cache NEEDED to be, we could cut it down to 100MB and test it further. [MENTION=4544860]osm0sis[/MENTION] hacked the PIT and made it work. So far, no tester has complained of problems. But I'm wondering what you have learned about /cache size requirements. Where do you draw the line on how much /cache to remove?

For /system, Galaxy Nexus starts with 654MB, and [MENTION=2633638]Ziyan[/MENTION] has made concessions in the unofficial CM13 which allow the smallest google apps package to fit. So we are close to running out. I understand S2 starts with even less, therefore you have already been forced to increase /system size for all users. Is it true that 1GB is the consensus /system size among developers?

I'm also curious about how your ROMs are flashed. I assume you decided to migrate from image-based flashing to file-based flashing in order to stop the modified partitions sizes from being changed by different ROMs. Was there a community effort to make all these changes at once, so everybody stayed compatible with each other, and nobody got left behind?

Thank you again for all your work!

Here's my thread on the Galaxy Nexus forum, where all are welcome to contribute: http://xdaforums.com/galaxy-nexus/devs-only/project-galaxy-nexus-partition-2-0-gnp2-t3147253
[Galaxy S II Android Development] tvl1996:
Thanks, got it working!
[Galaxy S II Android Development] DJ-Studd:
Thanks Mate, that was very helpful. :good:
[Galaxy S II Android Development] tvl1996:
How to update to the 26 March build? Since ive installed the 25 March build and the updater wont download it...
[Galaxy S II Android Development] Acid0057:
Just download it from the Cyanogenmod website.
[Galaxy S II Android Development] tvl1996:
And then install via recovery? Without installing gapps after it? I think i know what the problem is, after the repartioning with the PIT and CWM, i cant access sdcard0 anymore... cmupdater always downloads on sdcard0 (internal storage).
[Galaxy S II Android Development] Acid0057:
Might have to format sdcard0 in recovery if you haven't since repartitioning. But yes you'd install the update in recovery manually. And no need to update google apps. It's backed up automatically when updating cm13.

You also might want to switched to twrp recovery. It's updated more often.
[Galaxy S II Android Development] shahkalpesh77:
Post the install of CM13 (03/23) and gapps pico, I am trying to use titanium backup which fails.

It shows a dialog where it says "cannot acquire root". I have enabled root access by going into developer settings.

Is there a fix to this?

Thank you for reading.
[Galaxy S II Android Development] tvl1996:
Thanks, formatted sdcard0 and it downloaded the newest build, now it runs on the newest build (see image)! Also, CM13 uses TWRP by itself so i dont have to switch to TWRP anymore :)
[Galaxy S II Android Development] atuser:
Enabling onscreen soft-keys (Navigation Bar) causes system-ui FC.

Did anyone experience it?
[Galaxy S II Android Development] Sercan Ali:
Twitter messages don't popup ( heads up does not work) . Is it same for you?
[Galaxy S II Android Development] DevisG79:
Root and file Manager are not working in 23.03. Build. Try 26.03.
[Galaxy S II Android Development] Gh0strid3r:
Same on 28/3.
[Galaxy S II Android Development] jogrim:
Had same problem. I turned the phone off and then removed the battery. That helped.
[Galaxy S II Android Development] Schnuller1:
Hello, my Problem is, since cm13 the autofocus in camera mode did not working ...i must tap on screen than the s2 is focussing..any idea? Is this an known bug? Srry for my english :(
[Galaxy S II Android Development] Acid0057:
You're welcome. Glad it's working
[Galaxy S II Android Development] BatyuS:
hi guys , can you help me please

"google service was stopped " constantly getting error
[Galaxy S II Android Development] xan.scale:
same
[Galaxy S II Android Development] elgab:
I was getting it too, reverted to my 0317 TWRP backup and reflashed 0326.

working now
[Galaxy S II Android Development] Lanchon:
hi!

i'm not sure but i believe cache is completely unused in android, and only used in recovery.

there are some android switches, eg, to make the ex dalvik cache reside in /cache instead of within /data (which is a bad choice because there's one more thing to run out of, but was implemented to support older, limited devices). with the advent of ART, the runtime cache grew enormously and no longer realistically fits any old /cache partition.

so you should use the standard switches in your build and make /cache obsolete and unused within android and be done with it. the i9100 has a stock 100MB cache that nobody cares to touch, and everything is cool. what is 100MB anyway? and if you trim that space then it's no longer 'lost', it's overprovisioning the emmc and making it faster.

regadring system and such, please take a look here:

https://github.com/Lanchon/REPIT

(requires TWRP.)

i'd gladly help you port it to the gnex. please start by installing your usual TWRP, then flash the dump tool, then create a github issue and post the log output. (or you can do the same thing via adb to TWRP.)
[Galaxy S II Android Development] the.gangster:
Hi Andrea900,

I had an 64gb SDcard with exFAT running without problems across all ROMs so far. (edit: except for this -just to make clearer)

Hi [MENTION=4545566]bamtan2[/MENTION],

just additionally to [MENTION=4141005]Lanchon[/MENTION]'s answer concerning the unanswered part:

the ROM is still flashed image-based but the flashscript resizes the partition immediately after that again, before the backuped stuff is restored.

Regards...
[Galaxy S II Android Development] BlogTinHoc:
hi , can you help me please

"google service was stopped " constantly getting error
[Galaxy S II Android Development] arnab:
Was ur 64gb sd formatted to exfat or fat32???
[Galaxy S II Android Development] BlogTinHoc:
hi, can you help me please "google service was stopped " constantly getting err
[Galaxy S II Android Development] pravingasva:
You are on which build?? And have you all tried flashing the GApps zip just after the rom? If not, try it once.. Most probably it should solve the problem! :good:
[Galaxy S II Android Development] daniu:
Hi

That is a solution? Good to know ... won't really help me since I only use gapps to update apps just before flashing a new ROM.

Are you sure there is no specific gapps packages that work while others don't? Which one are you using? I used delta gapps in my attempts so far.

Regards

Sent from my x-phone using brain 2.0
[Galaxy S II Android Development] pravingasva:
Yes indeed it's a solution. It works for me whenever I get that error.

I use A-GApps (minimal), which is only 36 MB but is enough of google for me! This is the post: http://xdaforums.com/android/general/gapps-gapps-6-0-1-minimal-t3276606

PS: While I was going through the linked post just now, there has been mentioned that "this" package can solve the "google play services stopped working" error!!
[Galaxy S II Android Development] Klaus20:
For all with the "google service was stopped " error

http://xdaforums.com/showpost.php?p=66073101&postcount=197

***

After installing your ROM and Gapps,

you have to run back again to TWRP and then wipe these:

->Clear cashe

->Clear dalvik cash

->Clear data

***

Regards Klaus
[Galaxy S II Android Development] todonormal:
I had problems with wifi + eduroam. The university use Certification Authority. I install certificate without problems, i see in security but in Wifi network not found this certificate...
[Galaxy S II Android Development] shahkalpesh77:
26.03 build is problematic as well

Thank you.

I did that too. This time it crashes for google play store or google play services with a popup showing up every few seconds.

Am I doing something wrong or missing anything?

Thanks.
[Galaxy S II Android Development] the.gangster:
like I wrote: it was and is formatted exFat.

I edited the post you quoted to point out, that I never had problems with that on older ROMs.

As that was a reply to [MENTION=6592513]Andrea900[/MENTION], who posted that our device would only detect devices up to 32gb, my intention was to confirm to her what [MENTION=309697]khal_nayak[/MENTION] had posted before (and after). Which is, that exFat was no problem on older ROMs.
[Galaxy S II Android Development] Janez33:
I'm also having problems with gapps with error "Google Play Store has stopped working". Here is what I did: I had CM12.1 installed then accidently updated to CM13 through CM updater. Google services were of course constantly crashing, so I went to XDA forum and after researching I did this: I installed TWRP recovery on my phone, then wiped my phone, then repartitioned my SDcard with file "lanchon-repit-20160317-system=1.0-data=same-sdcard=max-preload=min+wipe-i9100.zip", then flashed "cm-13.0-20160326-NIGHTLY-i9100.zip", then flashed "open_gapps-arm-6.0-micro-20160325.zip", then flashed TWRP, wiped "cache & dalvik cache" and reboot system. When I get to "Google Installation Wizard" google play store adn services are crashing all the time and I cant get through it. Then I tried to flash again CM13 but this time with "A-GAPPS6.0.1_18022016_4.1.zip" and Google play store and services are crashing again. I also tried after flashing CM13 and gapps to wipe cache, dalvik cache and data but with no success. I need your help guys. I must be doing something wrong.
[Galaxy S II Android Development] good8life:
nightly 29.03

Working nice! Wipe no wipe - good :good:
[Galaxy S II Android Development] Schnuller1:
Hello, my Problem is, since cm13 the autofocus in camera mode did not working ...i must tap on screen than the s2 is focussing..any idea? Is this an known bug?
[Galaxy S II Android Development] aminya:
Things missing +Bugs in cm 13

Thanks every body for this ROM. In my first attempt of using cm 13 (26/3 nightly) it's so stable. But I see some little options missing in comparison to cm 12.1 & some bugs :

1) No option to choose how pages change in desktop

2) No option to unlock phone automatically when the correct pin is entered.

3) Auto Focus in camera app

4) Music app crashes & stops!

5) Some motion options. Like automatic call when move phone near to ear in message app.

6) Custom action for long press of menu button. (For example I used to use hibernate + turn of screen of greenfy app)

7) No busy box ( not a bug :) :p )

I use ROM more. & I will inform you. :)
[Galaxy S II Android Development] DRKMTTR:
Are you using different theme or original? (Just for the info)
[Galaxy S II Android Development] Souf0:
Hi, You checked this?
[Galaxy S II Android Development] DevisG79:
Sorry, but I have no problems with play services. Did you wipe System, cache and dalvik before flashing Rom and gapps?
[Galaxy S II Android Development] Ultraboss:
Lastest nightly 20160329 + openGapps 20160329 work perfectly (no Google Services fc )
[Galaxy S II Android Development] khal_nayak:
exactly, im not talking about sd card, im talking about a otg flash drive which is 64GB and exfat formatted and they work fine on my nexus 10 with lollipop and even fine on cm12..1 on s2 but as soon as i flash cm13 on the tablet and phone, the flash drive stops working, everytime i insert it i get a message to format it
[Galaxy S II Android Development] Andrea900:
I was talking about a [usb] flash drive.... -.-
[Galaxy S II Android Development] todonormal:
Thank you very much. I have: http://www.reinus.us.es/ssid-eduroam-android.es.html. The problem it's, when select "Certification Authority", i don't found nothing, but certification it's installed.

I test it's http://android.stackexchange.com/qu...cate-install-without-mandatory-pin-lockscreen when i go at the university
[Galaxy S II Android Development] oMIKEo:
I got a problem installing the Google Apps Package through Recovery -> ADB sideload, after updating to CM 13.

It says: "ERROR 10: Failed to set-up Open Gapps' pre-bundled busybox binary. Please use TWRP as recovery instead." :rolleyes:

Any recommendations?

Edit: Fixed. As some already said, all answers are in the OP. Repartition, install TWRP recovery, install GAPPS.

TWRP alone didn't help, system partition too small.

Already repartitioned this Phone in the past, don't know, why I still had the 500 gig only system partition.

My problem from the beginning was, that I installed the update from 12.1 through the CM updater. CM 13 should not be offered there in my eyes, because simply updating can cause major troubles afterwards.
[Galaxy S II Android Development] shahkalpesh77:
Yes. I did wipe data/factory reset and wipe data, cache, system, dalvik/art cache too.

I will try to update latest nightly and see if that helps.

Thank you for helping me out.

ps: Is there a way to force root, post install either before gapps or after gapps?
[Galaxy S II Android Development] DevisG79:
That`s very strange. I had no Problems neither with 26.03. nor with 29.03. build.

No matter. Good luck!
[Galaxy S II Android Development] shahkalpesh77:
The problem I am facing is that I am unable to root the device.

Titanium backup isnt recognized at times by enabling root from settings.

Is there a way to root it by external means?
[Galaxy S II Android Development] good8life:
today change log

Fix ownership for files/folders created by ExternalStorageProvider on ext4/f2fs

What is it?

Tomorrow , we can change emmc to f2fs : External storage 567-891 - without change name External storage 098643212466gd56439?
[Galaxy S II Android Development] skyflyer_:
I flashed 6.0 in my S2 and after some problems with GApps I'm having a new one. I have an 8GB microSD card and although it's accepted by the phone, I cannot make any screenchot or take pictures because it says it's full or something (it only has the ROM, PhilZ CWM and Nano GApps. I also can write nothing because there is no keyboard... There are so many bugs so I'm going back to 12.1. I'm writing this to let you developers know. So glad you're still making ROMs for Galaxy S2!! It will never die :D
[Galaxy S II Android Development] DevisG79:
So, what was your Situation before installing cm13?

Have you succesfully rooted your device and running cm12.1?

Have you repartitioned?

Which recovery?

Did you install the correct gapps package(optional) for cm13? open gapps arm 6.0!

There are many important informations in the OP