yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] MattP79:
I believe you but my experience differs. I needed to recharge the phone after 3 days. I do barely use the phone, I use the power save mode and use 3G rather than WiFi. There is a issue somewhere but it may be a particular app or Gapps package triggers it?
[Galaxy S II Android Development] Nobby1960:
No, it's the default battery - a Samsung "copy" from 2016. I think it's not a genuine part, I did buy it cheap on ebay ;)
[Galaxy S II Android Development] gm0:
There is nothing about that build that would make it faster or last longer than the most recent one, so I suggest you just go with that one. You'll even get a bunch of bug fixes in addition. ;)
[Galaxy S II Android Development] boambee09745:
Battery

This is my battery life on 21 June with several internet searches, few texts and emails, and a usb file transfer. Had battery saver on overnight.

Still on original battery.

Probably lasts only a few hours on heavy data/wifi use.

Could try 28 June or earlier, should be similar results.
[Galaxy S II Android Development] toy_story:
Hello, I have on my S2-i9100 installed the official LOS 14.1 from 20170719

About six months ago I bought the original CRAFTMANN battery in a tested store, today I decided to test it.

Before starting the test:

- The battery is charged up to 100%

- WiFi is always on

- Screen brightness to full (automatic setting is disabled)

- GPS is always on (enabled with AntiRadar GPS application)

Updated.

The phone worked for 5 hours, 3 hours left.

The main energy user:

- Screen 22%

Screen time - 3 hours 43 minutes

The design flow rate is 803 mAh

- System Android 16%

Screen time - 1 hour 7 minutes

Estimated flow rate is 576 mAh

- OS Android 7%

Screen time - 30 minutes

Estimated flow rate is 262 mAh

- Google Apps 2%

Screen time - 8 minutes

Design flow rate - 73 mAh

The total estimated flow is 1714 mAh for 5 hours of operation.

Sorry for the screenshots in Russian, but I think everything is clear.
[Galaxy S II Android Development] dumdidum123:
I'm excited about some people here who get their phone to run 2 days. I normally have to charge it twice a day even if i am not using it very much. I am just using whatsapp a few times a day and listening to some music. not much more. mobile data is always on, wifi is mostly off to save battery.

And I have more than one battery, it would wonder if they are all faulty.
[Galaxy S II Android Development] gm0:
more likely a faulty capacitor on the board
[Galaxy S II Android Development] ale5000:
In the previous version I hold a page and move to up to delete it.

It no longer work on the latest LineageOS, how can it be done now?
[Galaxy S II Android Development] JaLoou:
I had flashed the last build and all known stupid bugs persist again include the sad bug with WiFi password entering.
[Galaxy S II Android Development] Boolian:
Just a quick note on the "corrupt" SdCard name issue recently.

I'm roaming in Europe just now and data won't work, so I was dirty flashing back and forth and a couple of clean flashes. In case it was a build issue.

The name corruption occured on the internal vfat Sdcard storage (I had no extSD installed)

So that's novel. No repitting was involved.

Anyway, pretty much rules out FAT issue on external SD card.

(The data roaming issue I'm positive is just my terrible MVNO provider)

It's just for info anyway, I can't troubleshoot.

I'm trying not to expire in continental heat, as I only function at 15deg & below.

:p
[Galaxy S II Android Development] robby2107:
I have to charge the accu two times each day since i have installed LOS.

Although I haved installed the extendet accu with 2000mAh.

The S2 is my daily driver.

Gesendet von meinem GT-I9100 mit Tapatalk
[Galaxy S II Android Development] gm0:
Known to whom? It's not in the bug tracker as far as I can see. Expecting a bug that only you know about to get fixed and then being surprised that it didn't is... well. Just report it on jira.

---------- Post added at 12:07 ---------- Previous post was at 11:59 ----------

Why, still sounds like a FAT issue to me?! How about a bug in TWRP when wiping partitions for a clean flash? I'm assuming you're using TWRP's standard setting of reformatting a partition on a wipe rather than deleting its contents.
[Galaxy S II Android Development] Boolian:
Oh, yes it's undoubtedly a FAT issue, just not on the extSD card.

Very possbly TWRP as that's where all the wipe/formatting is done. But if the execution of mke2fs isn't to be trusted, it's a sorry state of affairs!
[Galaxy S II Android Development] gm0:
Given how the latest TWRP build does not properly read your partition table at all it's not that far fetched, either.
[Galaxy S II Android Development] toy_story:
[KERNEL][LINARO]DorimanX kernel for LOS14.1
[Galaxy S II Android Development] vikashhero:
That makes a lot of sense! My primary messed S2 up majorly after flashing the latest TWRP on it in the weekend. TWRP couldn't read any partitions save for system. I had to use ADB root + pull / push to clone the recovery partition from my second S2 (fortunate to have two for such an occasion) onto my first one, and then chmod it to 600 in shell (not sure if necessary, but just to be safe).

I thought I flashed an incomplete image, I didn't realise this was a widespread issue with the latest TWRP.
[Galaxy S II Android Development] gm0:
No it's everyone. I don't know why they keep that broken build linked on their site but the maintainer for our device is currently unavailable so that's probably it. Go with TWRP 3.1.0-0, it's the last working build for i9100.

Or try to compile your own build from the sources. But since 3.1.0-0 works fine I never saw a reason to.
[Galaxy S II Android Development] vikashhero:
Heh, that was a nightmare. As long as it works with Nougat encryption, I'm fine with the previous build.

Perhaps we should contact Ethan about taking that broken build down?
[Galaxy S II Android Development] gm0:
The previous build works fine, yep.

And sure contact him if he's the guy to talk to. I don't know who's responsible for the site. If you check their bug tracker on github that last build is causing issues on tons of devices so I should think they can hardly be unaware - but you know what they say about making assumptions. ;)
[Galaxy S II Android Development] rINanDO:
Hi there you all diehard S2 users,

As a few of you all users know, last couple months I'm working and testing PegasusQ-governor with a new PowerHAL. I'm planning to make this the default governor instead of on-demand to get same performance and better battery life. I resolved the issue PegasusQ with the 150Mhz fix of zeitferne so it is stable to use.

What does the new PowerHAL?

Currently the PowerHAL does this:

Powersave : conservative governor

Balanced: On-demand governor

Performance: performance governor

The new PowerHAL supports PegasusQ governor by tweaking its settings (like its big brother i9300 does):

Powersave : PegasusQ freq limited to 600Mhz

Balanced: PegasusQ freq standard profile

Performance: PegasusQ fixed freq 1200Mhz (still drops to 800Mhz when CPU is getting hot. This is by-design and not managed by governor)

Also we will have PegasusQ boosting:

Frequency will be boosted for 2 secs when an app launches

Frequency will be shortly boosted when interacting with the device for more responsiveness

Less aggressive profile when the display is turned off to save battery (using max 1 cpu max 600Mhz in PowerSave)

I'm planning to submit the following commits in next weekly, but I want to notify you all first about these changes:

https://review.lineageos.org/#/c/168813/

https://review.lineageos.org/#/c/168815/

What I like to know is if PegasusQ is really improving battery and/or performance when we set it to default governor.

It must be set to default governor (at boot) because of the permissions which needs to be set at boottime.

Otherwise the PowerHAL doesn't have permissions to tweak PegasusQ and we miss all the nice features.

When the experience with PegasusQ is poor, I will revert the commits so we switch back to on-demand.

For those who wants to test PegasusQ + new PowerHAL right now, download my unofficial build here: https://www.androidfilehost.com/?fid=889764386195918750

For those who wants to test performance with Official build: Keep track of your battery life until next weekly and compare after you updated officially

For those who don't want take any risk with PegasusQ until tested: Don't update your phone at least 2 weeks

In my case I got about 10% more battery life and PowerSave now actually saves power. However Antutu Benchmark maxed out at about 18100 (instead of 19500 with ondemand).

I hope this will be the also the case on your devices.
[Galaxy S II Android Development] Fix_ita:
Hi [MENTION=2222292]rINanDO[/MENTION],

This rom can work for s2 plus gt i9105p?
[Galaxy S II Android Development] rINanDO:
No, that is not possible. I9105p has different hardware.
[Galaxy S II Android Development] Fix_ita:
Uff, ok thanks.

What can I use rom for this device?
[Galaxy S II Android Development] toy_story:
Look at here https://xdaforums.com/galaxy-s2-plus
[Galaxy S II Android Development] DevisG79:
You can try this https://xdaforums.com/galaxy-s2-plus/development/rom-resurrection-remix-5-8-2-t3563577

But I don't have a Galaxy S2+. So I don't know how it runs. But seems stable. It's recommended to read its OP. [MENTION=8052153]toy_story[/MENTION] Didn't see your post. Sorry.
[Galaxy S II Android Development] Nobby1960:
Move the original file out of the folder. Now go into TWRP and wipe cache/dalvik cache, reboot. New try of installation.
[Galaxy S II Android Development] Pier_89:
I found the solution, setup the widget but at every reboot it losts data app, like my favourites settings.

It starts by default for example with OpenWeather, even if I choose Yahoo.
[Galaxy S II Android Development] Nobby1960:
Strange, I use this widget because it don't need a separate provider. Now I have no more idea :confused:
[Galaxy S II Android Development] Pier_89:
Ok, maybe I've found the solution. Only one thing: why if I don't want to choose a favourite location and reamaining the setting by default, without changing anything, the widget can't find the location of the moment?

Sorry for everything..
[Galaxy S II Android Development] Nobby1960:
I have checked this out here, all changed values are saved after reboot. Weather provider, location etc.
[Galaxy S II Android Development] Pier_89:
Yes, now it goes well. Last thing is that the provider after found the location doesn't show my location. Only if I choose a near country it reveals the weather.
[Galaxy S II Android Development] quatroz:
where i can download the rom , there nothing on download page
[Galaxy S II Android Development] the.gangster:
[MENTION=2222292]rINanDO[/MENTION]

I assume that since this commit got merged, the good old useless "Update recovery"-setting has returned to the developer options.

This was present in CM13 already and even if it didn't affect anything, it repeatedly provoked discussions and wrong advices.

Obviously it can be overlayed which has been done already for some devices like with this commit.

I'd suggest making use of exactly that in order to remove that option from settings.
[Galaxy S II Android Development] ale5000:
[MENTION=6560258]the.gangster[/MENTION]: Wouldn't be better to make it really working?
[Galaxy S II Android Development] the.gangster:
[MENTION=5627087]ale5000[/MENTION]

Hell, no! "Making it work" would mean that flashing a ROM could override IsoRec Recoveries!

We have already a kernel that has a recovery bundled to it. So a ROM brings a recovery anyway. If the kernel is IsoRec aware it provides the *option* to flash an alternate recovery.

So making it work would mean, a ROM would have to provide 2 recoveries! I can't see a sense in it.
[Galaxy S II Android Development] ale5000:
[MENTION=6560258]the.gangster[/MENTION]: I think it can just put LineageOS recovery two times, and since it is an option it can be disabled by the user.

And maybe it can be extended to auto-flash it when the phone come from a not-IsoRec kernel but it is just my opinion.

---------- Post added at 02:12 ---------- Previous post was at 02:03 ----------

[MENTION=2222292]rINanDO[/MENTION]

They have removed us: https://review.lineageos.org/#/c/161752/

I hope someone fix sepolicies before the next nightly build raid.
[Galaxy S II Android Development] rINanDO:
It is already fixed. The faulty commit is reverted and I requested to add our device again. https://review.lineageos.org/#/c/162099/
[Galaxy S II Android Development] todonormal:
Great: newly experimental and nigthly... and sd-emu?
[Galaxy S II Android Development] dii86700:
And what now we have official build back or no and never have anymore official build back I confused. I hope we will back on official build :crying::fingers-crossed:
[Galaxy S II Android Development] ale5000:
[MENTION=7549283]dii86700[/MENTION]: I think nightly builds are generated automatically every week between monday and tuesday but everytime they find a problem (like what happened a lot of times, we are very unlucky) they manually remove the nightly build.
[Galaxy S II Android Development] gm0:
It means that if the commit he linked you gets merged then new (official) weekly builds will automatically get created on Mondays, yes.
[Galaxy S II Android Development] laptopu:
I noticed after installing clean system using 13 Feb nightly the FM radio no longer works again can others confirm?
[Galaxy S II Android Development] ale5000:
1 bug seems fixed: Fix RIL crash at end phonecall
[Galaxy S II Android Development] Pier_89:
I think there's a bug for the build-in clocK Widget. It's crashing everytime I try to open it.

I hope it will be fixed.
[Galaxy S II Android Development] Fix_ita:
Thanks to both!
[Galaxy S II Android Development] Spyr0s:
Latest nighty with pegasusq-boost merged and pegasusq enabled with kernel adiutor is sooooo snappy, this phone just got a new breath of life.:good::good::good:
[Galaxy S II Android Development] Saftpresse99:
Hi,

is it possible to disable the lockscreen temporarily? I'am using the phone to navigate mountainbike tours, but it's almost impossible to unlock the screen while i'am driving.
[Galaxy S II Android Development] toy_story:
Follow the path:

Settings - Security - Screen lock - select None
[Galaxy S II Android Development] Saftpresse99:
Yes, i know this. But if you reenable the lockscreen you must setup the lockscreen again. I hope for an easier way, like disable/enable wlan or bluetooth.
[Galaxy S II Android Development] toy_story:
You need Power Toggles.
[Galaxy S II Android Development] Saftpresse99:
Thank you! I will try it.
[Galaxy S II Android Development] the.gangster:
If you wanna change more than just that if you jump on your bike:

There is the possibility to configure different profiles (settings->system profiles).

By simply switching to another profile you could e.g. disable lockscreen, increase ring volume & screen brightness, enable gps at once without additional apps...
[Galaxy S II Android Development] Saftpresse99:
Thank you. I will try it. If this works, i think it's the best solution.

---------- Post added at 12:11 ---------- Previous post was at 11:48 ----------

I thought i can switch between the profiles with the power button (long pressing), but there is no option for profile switching. Is there a special setting to enable it?

Thanks again!
[Galaxy S II Android Development] Klaerchen:
A software like OSMAND can be allowed to be a device administrator and it can unlock the device without disabling lockscreen.

So while you're guided by the navigation software, a simple tap on the homebutton is sufficient to wake up and show the map. For a change to another software the unlock screen will be called.
[Galaxy S II Android Development] gm0:
Using any bluetooth sensors on your bike that you link up to the phone? Then you can define the link as a trigger to automatically switch the profile. I also disable the lockscreen automatically this way as soon as the phone connects to my home Wi-Fi.
[Galaxy S II Android Development] laserkater:
Also possible: screen pinning

https://support.google.com/nexus/answer/6118421?hl=en
[Galaxy S II Android Development] Saftpresse99:
No bluetooth sensor. :(

---------- Post added at 17:53 ---------- Previous post was at 17:52 ----------

Nice feature. I will try it on my next tour :)
[Galaxy S II Android Development] Draky50110:
I updated last build and now Google Service always asks me to do something on account.

I validate but still action required.

Am I the only one with the problem ?
[Galaxy S II Android Development] dumdidum123:
What exactly are you requested to do with your account? I don't get any message about any accounts
[Galaxy S II Android Development] Draky50110:
It tells me it need to check info, then I enter Google password, it checks... and message is always here :(
[Galaxy S II Android Development] Nobby1960:
Strange thing. Try to flash the latest GApps, then wipe cache/dalvik and reboot.
[Galaxy S II Android Development] Draky50110:
Will try.

I have deleted the Google account in settings and now can't add one : it asks mail and password, then "checking informations" then it closes :(

No more phone contact :(
[Galaxy S II Android Development] antrrax:
I am getting a message from google play saying that it is not possible to update the app for lack of disk space, however I have plenty of free space yet!
[Galaxy S II Android Development] gm0:
Your /data partition is full, delete some apps or their data.
[Galaxy S II Android Development] akhelmet:
Hi,

My phone ring always switch silence, but setup is normal, how to fix
[Galaxy S II Android Development] Draky50110:
Ok, just formatted data+system+cache+storage :)

Now, just installed last LOS + Gapps from OpenGapps but... Smart Lock is no more present in security tab.

Which Gapps do I need to have this option ?
[Galaxy S II Android Development] cybero2912:
I installed latest LOS + Opengapps nano package on an S4 and I have Smart Lock. Maybe there is something wrong with latest LOS for S2.

Unfortunately I cannot test because I don't have an S2 atm.
[Galaxy S II Android Development] boambee09745:
I have checked with latest build (2017-08-02) on s2 and no prob with smartlock for me. Using open_gapps-arm-7.1-nano-20170624
[Galaxy S II Android Development] darkkham:
lineage-14.1-20170802-nightly-i9100-signed.zip , later restoring sms with sms backup and restore, delete me sms every reboot

Let me know of someone of you have the same, if it's not only my fault, it's an hard bug
[Galaxy S II Android Development] gm0:
Sort of. I've never been able to permanently restore SMS in LineageOS with Titanium Backup, although I haven't tried in a while. Also they always disappeared within seconds after first opening the app after the restore, not just after a reboot.

At least recent LineageOS builds stopped wiping SMS upon flashing a new version, but in exchange they wipe the local calendar... oh well, at least that one restores flawlessly.
[Galaxy S II Android Development] MARCOSOFT:
System storage

My storage reports that it has 11.21GB used of 14.68GB (Internal shared storage)!

Apps 1.65GB - Normal

System 8.77GB - Very much!!!

Cached data 204MB - Normal

Portable storage:

Sdcard0

142MB used 6.99GB

Sdcard1

Used 4.69GB of 29.26GB

I also note that System continues to increase without installing applications!

Someone can explain to me what is happening, because of this progress in days I will run out of space, consumed by the system!
[Galaxy S II Android Development] gm0:
That value on that screen has forever been wrong, just ignore it. You can e.g. use the

df

command (via terminal emulator or adb shell) to see actual partition usage.
[Galaxy S II Android Development] the.gangster:
I can't believe that the value shown as system would really change. Only the "internal share storage used" value should change. If you modded to switch to internal shared storage it will decrease with every photo (or other documents) written to the emulated sd. Otherwise it will only decrease with installation of apps. See explaination below...

(as you switched to emulated storage you could consider reducing your sdcard0 (mmcblk0p11) in favor of a bigger data partition.)

It's not really wrong. It simply doesn't show partition data but summarizes everything and then simply focuses on free space in /data.

As devices nowadays have shared storage and emulate the sdcard in there, Android puts the data space into focus.

So it simply considers all the partitions except /data as used by system. So from [MENTION=4296222]MARCOSOFT[/MENTION]'s values we can conclude he has :

~6GB Data partition (14,68GB - 8,77).

3,47GB free in that Data partition (11.21GB used of 14.68GB)

Even though the internalSD (mmcblk0p11) is almost completely free, it doesn't get considered in the calculation of free space for the device. As already written, its whole size is shown to be used by system if you like. But it is then shown separatly in the portable storage section. Calculation doesn't care about free space in any of the other partitions (including /system itself) either.

IMHO they simply follow kind of a user-centric approach, not caring about partitions that average users have no influence on and concentrating on the /data values as only user-controllable partition, as they choose what Apps to install and what Documents to save on the emulated internal SD.

So even if this is not perfectly matching the needs of users who still have devices with a dedicated internal SD nor the expectations of power-users who would even want to see partition values there, I would not agree at all that the values shown are wrong. It's just a mismatch of some users' expectations vs. the actual information given.

As advised in many posts (and by different members) before already, people interested in their actual partitions' usage should either install DiskInfo app (or use terminal commands like df).
[Galaxy S II Android Development] gm0:
You are correct as to the root of the problem but we'll have to agree to disagree as to your conclusion. To me, if it says "used" for free space then it's simply wrong, and the amount of times this has been brought up here by confused users might agree with that.

You are correct that it's a problem particular to "legacy" partition layouts/non-emulated storage - but I think most of the confusion could be avoided by simply not separately factoring in the legacy partition at all then - if you are expecting /sdcard to be emulated there's no reason for that, anyway - and most certainly factoring it in as "System" as is currently the case can't be the right approach from any perspective - after all, "Apps" are separately shown as well so a distinction is already being made (the value for apps is only for the binaries though, it does not include the app/user data, which is the wrong approach as well as far as I am concerned). In addition, IMHO /system and /cache should just be ignored entirely, since, by default, the user has no influence over those, anyway.

For a while there was a further bug - it would show values for video, audio and some other files, but those values were very much wrong without any legacy "excuse". The latest build does not have these details anymore but I did not notice when those were taken out.
[Galaxy S II Android Development] Boolian:
Maybe not the same issue, but I recently had problems with SMS backup&restore (Carbonite) and discovered in the restore settings, it was set default to "Alternate Restore" (maybe a recent app update)

Switched that off and all is good now.

---------- Post added at 11:09 PM ---------- Previous post was at 11:00 PM ----------

I've been travelling through a few European countries last few weeks. Took my daily driver and a backup. Both have fried.

I won't know for sure til I get home, but suspect the charging ic. Not usual capacitor.

They both went within days.

I reckon it was a combination of cheap USB (UK) sockets in cheap euro adapters and slightly different mains supply.

It's been a real problem I've run out of S2's now... 3 dead boards in total.

So, lesson learned. Invest in decent adapters and chargers. The S2's are fragile enough with age.