yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] Dr.Fix:
Am I the only one thinking that since some weeks the phone is getting slowler and slowler?

I didn't install any new app, cm13 seemed quite faster and more reactive a short time ago...

---------- Post added at 08:59 AM ---------- Previous post was at 08:29 AM ----------

Since I don't have any /data/local/userinit.sh at the moment it should be enough to delete it in order to rollback.

It puts the command to enable bln into a script file which is launched at the startup (not tried).
[Galaxy S II Android Development] Gent':
+1,also the battery life is getting worse.?
[Galaxy S II Android Development] Dr.Fix:
Yes, absolutely, I have to leave it attached to power while at work, with "normal" usage it doesn't last more than half day (and I have the "larger" battery).
[Galaxy S II Android Development] daniu:
Oh ... maybe it is not particuarily MY Phone dying? Exactly that - combined with quite some random reboots (or rather not too random: usually when I try to use GPS - 2 reboots in a row depleted my battery yesterday from almost full ...) made me think that the time of my S2 is getting close to it's end ... But - maybe I am wrong and this phone will work until Android S (like S2)?

Well - but honestly I might be running a bit a special setup: CM13 by Markox with skyline kernel and supersu

regards
[Galaxy S II Android Development] laptopu:
I went as far as buying a new battery in case I had a battery fault but no it's definitely an issue on the current nightlies for at least past 6 weeks possibly even 2 months now. Hope this problem can be looked at, I can barely go half a day without needing a charge, I turned my phone on 15 minutes ago, done some browsing online, checked Twitter and I have lost 8% charge. I have done recalibrating both on an app and removing the battery for 10 minutes but the battery life is terrible.
[Galaxy S II Android Development] Gent':
with cm12.1 and stock rom i used to get 3hrs on screen time,now i cant even get 2 hours SOT
[Galaxy S II Android Development] arnab:
Ya that one was a typo...I didn't have cm ROM in my hand... there are two paths sys/class/misc/backlightnotification and sys/class/misc/notification...from both the paths it can be enabled...I used the latter for synapse code... notification_led was put by me which was a typo as i forgot to check the actual activation path...one is used in aosp and one in cm ROM...but both works here.
[Galaxy S II Android Development] cherryb8844:
What you think about mine cm12.1 [MENTION=1597520]Markox89[/MENTION] build "he he"

Sorry for OT Buddy's
[Galaxy S II Android Development] Fasullo:
I think that the correct code should be:

su
echo echo \"1\" \> /sys/class/misc/backlightnotification/enabled >> /data/local/userinit.sh
chmod 777 /data/local/userinit.sh

"enabled" is not "enable".

It's a typo galore!!!

:D

Just tested and it works, BLN is active even after a reboot.

Thanks a lot guys!
[Galaxy S II Android Development] akhelmet:
Hi,

Protected app does not working with last build
[Galaxy S II Android Development] pravingasva:
Thanks Fasullo, too much excitement here today!! Its the magic of BLN maybe.. :laugh::laugh:

But are you finally sure that this is the right one?? :D

And anybody else experiencing battery drain using BLN?? :confused:
[Galaxy S II Android Development] Fasullo:
Yes, BLN works even if I rebooted the device.

Dunno about battery drain, I'll have to use it for a while to evaluate
[Galaxy S II Android Development] arnab:
ofcrse there will be battery drain...but I reduced the cypress touchkey voltages.
[Galaxy S II Android Development] LeBourrin:
There is a commit wich fix netflix colors in today build, someone tested it ?
[Galaxy S II Android Development] Arkan_:
Hey guyz,

I just switched on CM13, thanks the devs for keeping alive that phone. All are working good so far.

I have one question : is it possible to enable mobile data automatically when a MMS is receveid/sent like it was possible in CM 12.1 ? I haven't found that option yet.
[Galaxy S II Android Development] gianluca.cecchi:
And this one with stock cm12.1 nightly 20160115 ?
[Galaxy S II Android Development] arnab:
iam making a small flashable script which will solve everything regards to bln.
[Galaxy S II Android Development] kosmasgr:
I noticed except the awesome BLN feature , that illumination timeout for backlight buttons not working on latest two builds. In my case buttons remains on until turn off the screen.

I imagine that this is a result of BLN feature. Anyone confirm ?
[Galaxy S II Android Development] Top_Fuel:
Yes I can confirm.
[Galaxy S II Android Development] sajidunia:
Me too.... the backlight doesn't turn off.
[Galaxy S II Android Development] the.gangster:
SHAME ON ME. LOL, you're right. This was even a silly copy&paste error as my adb shell exactly showed it only in parts and I needed scrolling to the right/left.

And it was definitly too late already (almost morning) when I wanted to get this solution posted out and myself into bed...

I also corrected my post.

For those who already used the buggy one and who did not use a userinit.sh before:

You can change the ">>" to ">" and rerun it. The others should use an editor to correct it.

I confirm this is the right one. (And anyone who read the earlier posts with the temporary flag might see it, too)
[Galaxy S II Android Development] kosmasgr:
Also it would be awesome if our incredible devs make BLN Control app working on Enforcing mode. This app has really nice features such as blinking and temporary disabling bln if the device front is covered ( e.g. in the pocket ) . Surely the battery consumption will be less than the current function of BLN where the backlight buttons remain on until we see the device.
[Galaxy S II Android Development] Top_Fuel:
Yep, seems like it is fixed :D :good:
[Galaxy S II Android Development] Sub_Zero2:
Yes! I can confirm it is working so far on my device!! Yeehaw!
[Galaxy S II Android Development] cherryb8844:
Whoow cool ?

See my screen on time buddy total 6 hour in one charge I think when I use a custom kernel with tweaks so its increase more But my knowledge of using custom kernel is hell I faced many problem with siyah kernel by gokhanmoral and domanx so I stopped using them

Well this is nice do you using custom kernel ?
[Galaxy S II Android Development] Sub_Zero2:
[MENTION=6159291]Lysergic Acid[/MENTION] : Thanks for adding this commit: https://review.cyanogenmod.org/#/c/137230 ...

I can confirm that netflix now works, no color bug so far!! Thanks alot!! Good work!
[Galaxy S II Android Development] the.gangster:
It shouldn't be too much a question of whether BLN keeps the lights on or whether they are blinking.

The question is:

Can the device still enter DeepSleep or are there wakelocks keeping it from doing so.

Back then when I last used (and loved) that feature on CM11 with DorimanX kernel you could also choose between permanent and blinking lights.

And while the blinking lights kept it awake and drained the battery, the permanent lights had no effect (apart from preventing you to wake up the device in vain for checking if you missed some messages/events).

So if this BLN Control app really can preserve energy if it has to check the sensors permanently, I would be really surprised. But the blinking itself shouldn't save power. I would expect the opposite for above reasons.
[Galaxy S II Android Development] FiSh-MoB:
I think i have read that blnww only works with permanent lights and blinking effect causes wakelocks. So i agree with the.gangster.
[Galaxy S II Android Development] tanqueta207:
Hi everybody, I suspect that my battery or phone is dying. My battery jumps from 60% to 0% in a second and things like that. How much battery time are you guys getting with 1 hr SOT? 12 hrs?

TIA!
[Galaxy S II Android Development] arnab:
I already implemented bln feature with a flashable zip that will restore blink breath and normal lights and bln timeout and led timeout...u will have to download synapse though...currently testing it. And there is no blnww... currently code for that is too much messed up.
[Galaxy S II Android Development] lukss12:
You can download Gello browser official builds following instructions from my thread:

http://xdaforums.com/android/apps-games/app-download-t3384244

I hope not, stock browser is around 2MB while Gello is around 32MB. And without talking about how much stock browser is memmory friendly comparing to Gello. But is just an opinion.

I think Cyanogen should upload their builds to be downloaded easily.
[Galaxy S II Android Development] rubentkato77:
WiFi + data on, try too update facebook from playstore, the phone laged and freeze, have to take battery off.

Will try tomorrow, no WiFi service right now.
[Galaxy S II Android Development] Lysergic Acid:
Gello

I just tested building Gello, it works so far, but, its size is too big. The system image size gets up to 521mb, which doesn't fit in the 512mb system partition. Actually I can't even build the ROM zip because of an error about the system size. So for now it's a nope :(
[Galaxy S II Android Development] Lanchon:
i think that /data/media is the best thing that could happen to these devices.

but... we would need new recoveries, that is sad
[Galaxy S II Android Development] Lysergic Acid:
Unfortunately I'm not allowed to force a repit, I tried that before. Even if now most gapps don't fit in the system partition, the ROM itself still gets in there
[Galaxy S II Android Development] tdguchi:
Hi, with this rom, i cant get mobile data working, i have set the apm as always, but mobile data is not working....

How could i fix it?

thanks
[Galaxy S II Android Development] Dr AM:
I already did it and it works and can download files normally :)

But still not 100% perfect

Sent from GT-I9100 - 5.1.1
[Galaxy S II Android Development] Lanchon:
on the S1 family (eg: captivate), installing a newer CM would repartition the device.

would it help if i came up with a repartitioning scheme that worked fully in-phone by flashing a file?
[Galaxy S II Android Development] Dr AM:
Is CM13 really this much smoother than CM12.1 !!?

Feels like CM13 is the smoothest ROM ever for our S2 , and didn't face a single crash or lag for 2 days of usage

Sent from GT-I9100 - 6.0.1
[Galaxy S II Android Development] j1gga84:
Take a look here:

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

Works for me on Win10 x64 ;)

Regards

Sent from my SM-G900F using german Tapatalk 4
[Galaxy S II Android Development] ran000:
Same for me under Nautilus ( Fedora23 ).

However all ok with ADB.
[Galaxy S II Android Development] rINanDO:
Nice to hear it runs smooth also on your phone/configuration. Which CPU governer are you using? Can you test pegasusq also?
[Galaxy S II Android Development] Dr AM:
I use default configuration , ondemand

Will try pegasuq later and see :)

Sent from GT-I9100 - 6.0.1
[Galaxy S II Android Development] Lysergic Acid:
That actually might be one of the reasons pawit dropped support for these devices in cm11
[Galaxy S II Android Development] Lysergic Acid:
Little question here, did you used the gps hex edited blob I pushed to my github? I got GPS working with it two weeks ago but it was extremely slow to get a fix.
[Galaxy S II Android Development] rINanDO:
Hi @LA,

I didn't used that one. I'm using the one in here https://github.com/TheMuppets/propr.../tree/cm-13.0/i9100/proprietary/system/lib/hw and needed to reintroduce AndroidGetTid for this one.

See http://review.cyanogenmod.org/#/c/128696/
[Galaxy S II Android Development] Syaani:
Since your preview builds are unofficial would it be technically possible to force repit on these builds? [MENTION=6159291]Lysergic Acid[/MENTION]
[Galaxy S II Android Development] Lanchon:
i've thought out solution for in-device repartition, let me know if worth implementing.
[Galaxy S II Android Development] Lysergic Acid:
I've -1'ed reintroducing AndroidGetTid because that's exactly what I hex edited in the GPS blob, so now it doesn't need this symbol anymore.

Okay, I'll see if I can possibly force a repit somehow. I think we'll need at least to inform the user about their partition being changed and an option to deny. I don't know, I need to check if I'm allowed first.
[Galaxy S II Android Development] rINanDO:
I understand, but i don't have a slow GPS fix. I have a first fix within 30 seconds in my car, but i will test your GPS blob and check if its behavior is different.
[Galaxy S II Android Development] TeutonJon78:
Or maybe there is some what to do what we now have for recovery? Add some logic about the partitions existence/size and then mount as appropriate?

Plus, it would seem odd that they wouldn't let something like that happen rather than limit what the device can actually do (especially a very old device), especially when the device maintainer is pushing for it.
[Galaxy S II Android Development] Lanchon:
"some logic"? sure thing, you go ahead and do it lol! android does not dynamically switch between real sdcard and /data/media emulation, it requires to be built one way or the other. recoveries are the same for all i know.
[Galaxy S II Android Development] rINanDO:
I just tested your modified GPS blob and it still works fine. :)
[Galaxy S II Android Development] nospamboz:
Thanks for trying. It works as a separate install via post 4779.

http://xdaforums.com/showpost.php?p=67011577&postcount=4779
[Galaxy S II Android Development] daniu:
Hi

Found something concerning battery use: accessibility for all apps had been turned off automatically somehow - so greenify did not work.

So everybody who has battery problems: better check that

Regards

Sent from my x-phone using brain 2.0
[Galaxy S II Android Development] Sub_Zero2:
Try calibrating your battery, and chech out this post: http://xdaforums.com/showthread.php?p=67013997
[Galaxy S II Android Development] Spyr0s:
Strange, nightly zip was 33MB bigger in Nexus 7 2013 (flo) when Gello shipped in latest nightly.
[Galaxy S II Android Development] MARCOSOFT:
Check the link please!
[Galaxy S II Android Development] Dr.Fix:
What does gello have better than chrome? Can it sync bookmarks/form data/passwords with chrome/google?

---------- Post added at 11:00 AM ---------- Previous post was at 10:38 AM ----------

Noooo after today's update google play services keep crashing!!!!

I'm downloading opengapps arm 6.0 pico, let's try to flash it....
[Galaxy S II Android Development] Saber:
It doesn't sync bookmarks from google (tested on CM12.1). It uses slightly less RAM than chrome. Gello has features like battery saving mode and a few little extras. AOSP browser is still faster.

gsstudios
[Galaxy S II Android Development] Dr.Fix:
After install of 20160525 all google services keeps crashing.

I tried flashing latest opengapps and now it's even worse, more apps crashing, "configuration wizard", "gmail" etc keep popping up and I can't use my phone anymore... any idea?
[Galaxy S II Android Development] Andrea900:
Gello is very fast with heavy sites. It has hw acceleration.
[Galaxy S II Android Development] Boolian:
It can't organize bookmarks/favourites into sub-folders either, which is a problem.

But the stock browser still appears to have the "LogJam" vulnerability. Gello doesn't.
[Galaxy S II Android Development] khal_nayak:
same here
[Galaxy S II Android Development] Dr.Fix:
With a lot of patience between one error popup and the next, go under settings-->App-->3 dots top right-->show system apps-->setup wizard-->permissions-->give all permissions

The same for all the apps that are crashing (gmail, keep, youtube, hangouts at the moment for me).

I think giving access to "contacts" could be enough.
[Galaxy S II Android Development] khal_nayak:
for me it keeps saying google play services only which keeps crashing

---------- Post added at 10:30 AM ---------- Previous post was at 10:09 AM ----------

i reflashed gapps now play service error went but setup wizard keeps crashing, i went to its permissions and none r listed which i can grant access
[Galaxy S II Android Development] Roman Yukovsky:
Miracast

Hello. Ripened a question . It will soon include support for screen mirroring technology Miracast on the TV ?
[Galaxy S II Android Development] khal_nayak:
any way to resolve this setup wizard crash loop, i went to permissions but it doesnt list any permissions i can tick to grant, any idea whats causing this, i even tried going back to the 21st may snapshop which was working fine so far but that too also suffers this issue.

any help will be appreciated, in a desperate situation, dont have a nandroid backup also
[Galaxy S II Android Development] LeBourrin:
No. I remember that it can't be done because S2 GPU don't have miracast support. It's a hardware problem.
[Galaxy S II Android Development] khal_nayak:
ok i figured out the android setup wizard needed those permissions so that issue is gone but youtube, keep, hangout and maps even though having all permissions granted still keep crashing constantly
[Galaxy S II Android Development] Dr.Fix:
I also upgraded to latest opengapps and wipe cache/dalvik cache.

EDIT:

apps still crash when I try to open them, even if they have permissions: gmail, hangouts etc.. but at least they don't show that popups anymore that freeze all the phone.. still a fix is needed

This is the ticket for it: https://jira.cyanogenmod.org/browse/NIGHTLIES-3030

The item breaking everything seems this: https://review.cyanogenmod.org/#/c/146659

EDIT2:

Uninstalled and reinstalled Hangouts, Maps, Keep, Gmail, StreetView, Photo from Play Store and apps started working again. The permission procedure explained here http://xdaforums.com/showpost.php?p=67017101&postcount=4793 still must be performed.
[Galaxy S II Android Development] MARCOSOFT:
It works.
[Galaxy S II Android Development] khal_nayak:
ys after moving back and forth between the 21st and 25th snap i realized, uninstalling the gapps and reinstalling from play store was enough to fix the crash from them,
[Galaxy S II Android Development] OT-Xtreme:
25th snap? there is just nightly
[Galaxy S II Android Development] Dr.Fix:
Another issue with latest build: I cannot install custom downloaded apks.

Parse error
There was a problem while parsing the package

https://plus.google.com/+CyanogenMod/posts/U1truK1Jo6i
[Galaxy S II Android Development] akhelmet:
Anyone try or Lysergic Acid
[Galaxy S II Android Development] Draky50110:
Flashed last nightly (20160525) : Google Services always crashes.

EDIt : maybe related to
[Galaxy S II Android Development] Dr.Fix:
It's incredible how people don't even read few posts before asking the same things..

What have we been talking about the whole day?

READ PREVIOUS POSTS!
[Galaxy S II Android Development] DevisG79:
The gapps Problem should be fixed in next nightlies
[Galaxy S II Android Development] abraha2d:
Do you have "Ok, Google" detection from any screen enabled? Try disabling that for a quick fix. It worked for me.

I think what happens is that the camera tries to lock the microphone to record sound for the video. However, Google Now has already locked the microphone, so Camera hangs. The same problem exists for Sound Recorder, as well.

The proper fix would be to somehow notify Google Now that Camera wants the microphone, but I don't know how to do that...
[Galaxy S II Android Development] Fuerte11:
Thanks, that helped! :)
[Galaxy S II Android Development] gianluca.cecchi:
Yes, it is cm-12.1-20160115-NIGHTLY-i9100.zip with the default kernel provided by the rom file.

I use it as my daily personal/business phone. Some accounts in gmail app (both native and through imap), calendar, train application, whatsapp, spotify (and default music player too) via bluetooth in the car, maps, ecc ... and phone ;)

I kept having crashes every 3-5 days when using default keyboard or google keyboard, but after installing swiftkey I didn't get them quite anymore.

Right now I have 268 hours of uptime.

I have another used S2 for cm13 testing and I updated it up to the end of March, but then I had to loan it to my nephew who lost her phone, so she has been using it.

In some days I should have it back and test cm13 again on it.
[Galaxy S II Android Development] Dr.Fix:
Today's build failed... http://jenkins.cyanogenmod.com/job/android/163150/ :( :(

If anyone wants to dig further in what's broken: http://jenkins.cyanogenmod.com/job/android/163150/consoleText
[Galaxy S II Android Development] arnab:
As promised I came up with a more permanent soln. to all BLN problems.

Flash this in recovery.

https://github.com/kularny/BLN_MOD/releases/tag/v1.0

And after that install Synapse from playstore to configure it. All feature of BLN will now work. This is a signed zip. So You guys can flash it in CM recovery too.
[Galaxy S II Android Development] thearczoro:
After nightly builds on 19th, there is one problem: Settings>Privacy>Protected apps≥. You need unlock the app 2 times. That was just once.
[Galaxy S II Android Development] OT-Xtreme:
can we use other tool except Synapse
[Galaxy S II Android Development] Draky50110:
Need to flash after every nightly flash or just once ?
[Galaxy S II Android Development] arnab:
No

---------- Post added at 02:23 PM ---------- Previous post was at 02:22 PM ----------

No afaik..but not sure.
[Galaxy S II Android Development] Dr.Fix:
This is very interesting, but I have some questions:

I see that in Synapse all other settings except BLN disappears, isn't possible to also leave them enabled?

How to totally uninstall your things?

The breath effect is very cool... does it consumes more battery? What about blink?
[Galaxy S II Android Development] arnab:
No coz Synapse is a per feature app...u can add whatever u like...all other features require custom kernel code
[Galaxy S II Android Development] ChiliCN:
Hi guys.

Yesterday I tried to update to 0525 nightly and got dozens of problems, I guess that's the reason why the update disappered from cmxlog later on. I reverted the update by restoring a 0524 backup with twrp and most things are back working again except that my sdcard0 got renamed to a random alphanumeric name in fileexplorer and windows explorer. Is there a way to rename it back to sdcard0?

Thank you
[Galaxy S II Android Development] mirhl:
See this.

Besides, a friendly remainder to everybody that needs SuperSU (for example because Titanium requires "Mount namespace separation"): you need a permissive kernel and the special system mode version.

ok, I found out that after you convert /sdcard to F2FS you also need to fix permissions
[Galaxy S II Android Development] arnab:
Today's MOD concludes all BLN features up & running perfectly. I asked caio to host the link in OP.
[Galaxy S II Android Development] MARCOSOFT:
I have tried to install multiple call recorder.

Some do not work, other work, but the sound on the other side of the call is very low, almost imperctivel, when the sound of my voice is completely clear!

Someone managed to solve this problem?

What is the application and applied settings?

Thank you.
[Galaxy S II Android Development] Wachicamo:
The only issue I've found in 2016.05.24 is that when you set up an app with "Protected apps" you have to put the pattern all the time whenever you do something in the app.

Example:

Open Twitter = Pattern. Twice.

Select Settings in the app = Pattern.

And so on. This can be done in other apps too, so... It's not only on Twitter.

Regards!
[Galaxy S II Android Development] HutchGuy:
Can anyone tell me what should i do ??? I'm so noob and this Instagram upload bug is KILLING me...
[Galaxy S II Android Development] infinion:
same here very low sound from received calls on recordings
[Galaxy S II Android Development] Draky50110:
You have to wait for CM13 for i9100 maintener to build a nightly with this modification.
[Galaxy S II Android Development] budmendz:
hello, thanks for this. finally running my s2 on the 25th snap and the latest micro gapps without any issues so far. installed one at a time without booting in between. after booting, i just let it optimize the apps and finish the setup.
[Galaxy S II Android Development] Dr.Fix:
What's happening? Many builds, including i9100, are failing since yesterday...
[Galaxy S II Android Development] Morph3R:
+1