yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] Gustavo_s:
http://linuxmantra.com/2013/11/disk-read-ahead-in-linux.html

in recovery (CWM), mounts and storage -> format sdcard0, it will show you all options
[Galaxy S II Android Development] highdiver_2000:
Several pages back Gustavo said the boot loop was caused by fsync and he has since disabled it .

Freeze requiring a reboot is a Android memory house keeping bug. It runs out of memory after about 2days. Faster if I use Tumblr aggressively. This bug is fixed in 4.4.

That is why I have upgraded. The free memory sometimes is at 300M!
[Galaxy S II Android Development] Shahan_mik3:
thank you. I was using twrp recovery so had to flash the cwm :)
[Galaxy S II Android Development] Gustavo_s:
boscorama opened a thread for the system status app:

http://xdaforums.com/galaxy-s2/themes-apps/app-status-app-gustavos-kernel-t2686379/post51197740

subscribe to the thread to keep updated with new versions :good:
[Galaxy S II Android Development] iamnotkurtcobain:
Hope the freezes are soon gone so kernel tuning can begin ;)

Gesendet von meinem GT-I9100 mit Tapatalk 2
[Galaxy S II Android Development] Hannibal226:
Why u don't answer the question from gustavo_s or test the mentioned point before?

CHEERS

Sent from my GT-I9100 with RootBox
[Galaxy S II Android Development] iamnotkurtcobain:
Just saw it after my post... I had gentle sleepers disabled... Will try when I'm at home. Ui is more laggy with enabled sleepers..

Gesendet von meinem GT-I9100 mit Tapatalk 2
[Galaxy S II Android Development] Gustavo_s:
Indeed, but prevents freezes from happening, if this is confirmed then we will know where to start fixing
[Galaxy S II Android Development] kalpik:
I have it disabled too! Let me test out my GPU voltage theory. Of I get a freeze, I'll try with fair sleepers enabled! Just making sure we're testing all bases :)
[Galaxy S II Android Development] grafenberg:
begin testing...
[Galaxy S II Android Development] fsi09:
Now With the build from yesterday wifi actives perfect. But sometimes I have freezes.

Do bln works for somebody ? I can't get it work. With original siyah it has worked.

Edit: I tested gentle fair sleeper on/off but with both I had 1 freez today.
[Galaxy S II Android Development] dead0:
for some odd reason, i still cant get any recent version of this kernel to work with slimrom 4.2.2 build 4. up until the versions dated 15/04 which work, anything after ends in a bootloop. am i doing anything wrong? i install via CWM
[Galaxy S II Android Development] Diechel:
Last version fixed my wifi problems.

Never had freezes :) undervolted cpu & gpu
[Galaxy S II Android Development] Gustavo_s:
guys try 22-04 version with gentle fair sleepers disabled

[MENTION=4962672]fsi09[/MENTION]

bln works fine, try wiping your stweaks settings, link for kernel wipe script is in OP

[MENTION=4248063]dead0[/MENTION]

does it use cm stock kernel as base?
[Galaxy S II Android Development] dead0:
it uses a cm based kernel as default. the siyah kernel dated 15/04 installs fine but anything after just hangs at startup where you see the samsung logo. also when installing the latest version (21/04), when in recovery mode, everything is missing so its a black screen except for the 4 keys at the bottom for back, up/down & enter
[Galaxy S II Android Development] marcusmt:
for me, default settings cpu stay 600 mhz always

touch in screen jump 1200mhz

high battery drain

set ondemand and noop is cool for me
[Galaxy S II Android Development] Diechel:
Have you tried kernel wiper, don't have the link atm

Edit

http://xdaforums.com/showthread.php?t=2100554
[Galaxy S II Android Development] kalpik:
Not faced a single freeze since I raised the 3 GPU step (200MHz) to 1000mv. Did anyone else try this?
[Galaxy S II Android Development] Gustavo_s:
try 22-04 with stock voltages for gpu and gentle fair sleepers disabled, problem was a single line of code i still cant believe it caused so much trouble
[Galaxy S II Android Development] kalpik:
Looks like you actually found the solution! Okay, going back to stock voltage and disabling gentle fair sleepers. Will report back :)
[Galaxy S II Android Development] grafenberg:
15 hours on 21/04 with gentle fair sleepers enabled, no freeze so far... :)

Gonna test the 22/04 now for comparison...
[Galaxy S II Android Development] iamnotkurtcobain:
So is disabling android logger working too now?

Gesendet von meinem GT-I9100 mit Tapatalk 2
[Galaxy S II Android Development] Ku4t0:
+1. I tried 17.4 and 19.4 and i lost recovery and download mode. I needed to use mi JIG for first time. So slimbean build4 or build4.2 users take care.
[Galaxy S II Android Development] Hannibal226:
I want to say thanks again.

Even I had a Kernel Panic (first since around a year) while I wanted to flash a Rom all is working fine (second time worked without probs).

Maybe u can check anyway the BLN timeout.

It's always reset to 'no timeout', so it won't be saved.

CHEERS ;)
[Galaxy S II Android Development] boscorama:
Wow! You're quick!
[Galaxy S II Android Development] j1gga84:
Many thanks :good:

When I read correct it is ok by leaving it at 128kb ;)

As I see you are working on github so I smell a new version :fingers-crossed:

To all:

Any suggestions about settings?

I attached the screenshots and with ondemand/noob I am running very good concerning battery life :good:

Regards
[Galaxy S II Android Development] Twiq:
You could increase the sampling rate and up threshold for the governor for more "lazy" behaviour which IMHO could help saving battery.. But you need to make init.d script since tweaking gov setting in gustavo's stweaks are not available..

Here's my config for lazy ondemand

up_threshold=90

up_threshold_at_min_freq=80

sampling_rate=110000

And since i rarely open heavy apps, i've disabled 1 core / hotplug 0

With this setup i could play games and not experiencing performance issues..

Running 0221 Sabered SlimKat | DorimanX 10.43v98
[Galaxy S II Android Development] j1gga84:
Thanks for Info :good:

Hmm I don't like init.d scripts very much.. but maybe [MENTION=4217277]Gustavo_s[/MENTION] is planning something like that (tweaking Governor) in the future because it is also possible to tune GPU via STweaks :)

Regards
[Galaxy S II Android Development] TheImpossibleEnemy:
400mhz/1100mv??

Tried once - freezed.

If it's stable then great.Should keep phone relatively cool when gaming.
[Galaxy S II Android Development] j1gga84:
Yes, I was also wondering but it works here.

But maybe it is phone depending, see: http://xdaforums.com/showpost.php?p=50024883&postcount=1833

If it does not work on your side, go up to 1150 or 1200 :good:

Regards
[Galaxy S II Android Development] TheImpossibleEnemy:
Yeah,I know.

Using 1150mv for years.
[Galaxy S II Android Development] Hopper8:
IMHO, sampling at 11000 rate is on the extreme battery saving end of things. Usually I have 6000, even 8-9000 is battery saving. In addition, so is up_threshold of 80-90. Usual values for me are 60-70.... So 11000 with those up values is immense ;)

Sent from a galaxy far, far away
[Galaxy S II Android Development] gorandroid:
Nice and simple, thank you Gustavo! :)
[Galaxy S II Android Development] souler456:
I want to disable the Second Core via Script, not on STweaks... I was wondering where's the file's directory, what's the file's name, and what value(s) should I put (or on Script = echo) to enable/disable it... Thanks! :D
[Galaxy S II Android Development] Gustavo_s:
/sys/module/auto_hotplug/parameters/max_online_cpus

1 = second core disabled

2 = hotplug enabled

maybe only basic settings like up threshold and sampling rate, too many settings and it becomes too confusing
[Galaxy S II Android Development] nihilista:
It doesn't matter what governors you use, some people makes this science, but in reality the only thing what really matters for battery is Using your phone with screen on ;)

And for read-ahead buffers: Seems that it depends on which sdcard you have, but most ppl say 1024 or 2048 is the best. I use 2048 and its good. For screen settings: I never touched them, standard settings are good.

Regards
[Galaxy S II Android Development] j1gga84:
What external SD (size) do you use?

I am not sure, I used Dorimanx before but I don't know which buffer size this kernel uses by default because also here I never touched this setting.

For my usage, Ondemand has a bit less battery drain than PegasusQ and zzmove ;)

Regards
[Galaxy S II Android Development] nihilista:
I have an 32gb sdcard.
[Galaxy S II Android Development] j1gga84:
Me too so I will also try with 2048 ;)

Many thanks

Regards

Sent from my GT-I9100 using german Tapatalk 4
[Galaxy S II Android Development] rmntruexjr:
It also depends on the class of sd card. you can google the class difference and recommended read ahead sizes. My 32gb class 4 is slow but with 1024 read ahead I haven't even had the 4.4 music bug.
[Galaxy S II Android Development] souler456:
It's really annoying when you want to disable/enable cores via STweaks, since it loads quite slow... That's why I have to use Tasker for it :D

Anyways, Thanks [MENTION=4217277]Gustavo_s[/MENTION] ! :)
[Galaxy S II Android Development] dredremon:
any tips? how can i prevent heat on my s2 running slimkat
[Galaxy S II Android Development] himsin:
keep it in refrigerator :P
[Galaxy S II Android Development] Shahan_mik3:
It is not just slimkat ...my phone heats to a point where its not possible to hold it 65-70C...... :(
[Galaxy S II Android Development] j1gga84:
Maybe it is the media scanner that hung up?

Normally my phone is cool when running SlimSaber so it must be an app that makes problems.

I have a class 10 card and will try it with 1024 and 2048, I think 4096 is too much ;)

Btw. in STweaks is the Read-Ahead Buffer for INTERNAL SD or EXTERNAL or both :confused:

Regards
[Galaxy S II Android Development] nihilista:
Class difference should not be the reason for problems, class 10 guarantees minimum of 10 MByte/s, but most class 6 or some class 4 sdcards did that too. I never found much difference, cause real tranfer rate depends on what data you transfere..... Thats why the fastest ssd in pc can get 500+ MByte/s with big files, but much lesser with data of some kb. So you just get a real difference while real big files, and as i said, class 4, 6 or 10 is not the thing. And you won't see real difference betwenn 1024, 2048 or 4096 setting.
[Galaxy S II Android Development] m1trand1r:
yea....but that depens on what you're doing:)....for example i've been playin' 4 elements game.....I got up to 77°C....not more because of temp limit....that is normal for me....on 15/03 CWM version by [MENTION=4217277]Gustavo_s[/MENTION]....;)

Beam-ed through your pineal gland via//Android 4.4.2.:p//
[Galaxy S II Android Development] N1m0Y:
Hello Gustavo_s

Stweaks applies settings only at startup?

I'm building a script and wanted to know if it would be possible to change the configuration in sleep and awake to reciprocate without interfering Stweaks ....

disables CPU mono-core mode;)
[Galaxy S II Android Development] Beakuh:
how we can do that??? I'm new using stweaks and i like SetCPU but i never noticed an option called ''active cores'' or something like that
[Galaxy S II Android Development] oL00No:
It's cool that you can write. Being blind and all. Good job, little buddy.
[Galaxy S II Android Development] Hopper8:
Oh come on. Was that really necessary?

[MENTION=4773317]Beakuh[/MENTION], it's a checkbox option in Stweaks, to force mono CPU core.

Sent from a galaxy far, far away
[Galaxy S II Android Development] oL00No:
True that. But I thought it funny :) I mean. It's RIGHT there.
[Galaxy S II Android Development] j1gga84:
zzmoove 0.8 final is out

http://xdaforums.com/show...&postcount=391

Regards
[Galaxy S II Android Development] Shahan_mik3:
Ya that's because you over clock GPU and tweak..I don't tweak I keep it stock and its not an issue with media scanner and I hibernate most of the apps....it shoots to 58-61 when using normally like for internet
[Galaxy S II Android Development] m1trand1r:
yeah...I hear ya mate.....it's normal for me that I reach 60/65°c while browsing in boat browser.....CPU keeps throttling at 1.2ghz ....hence the thermonuclear war....but who knows why.....I switched to 10.43v99 by [MENTION=1670821]cybernetus[/MENTION] coz I needed some of my 2ndrom data.....and it's gorgeous IMHO:D

Beam-ed through your pineal gland via//Android 4.4.2.:p//
[Galaxy S II Android Development] Shahan_mik3:
:p......even I was a dorimanx fan previously...I have even built few builds with u and others help.....but that was when I was in coll and I had lots of free time....but now busy with work so I need a stable phone....so now stuck with this kernel :)

I hope one day I can get a stable dorimanx kernel :p
[Galaxy S II Android Development] m1trand1r:
i'm busy too....but i'm trying to catch up....with monitoring what's going on....and last v99 seems :good:

Beam-ed through your pineal gland via//Android 4.4.2.:p//

---------- Post added at 01:35 PM ---------- Previous post was at 01:33 PM ----------

*sarcasm* in you will never die....LOL :p:good:

Beam-ed through your pineal gland via//Android 4.4.2.:p//
[Galaxy S II Android Development] bm41fy:
Can i use this in biftor slimkat rom?
[Galaxy S II Android Development] Gustavo_s:
https://github.com/gustavoss/androi...mmit/dfccd11a8f7287ed4f8c0633b80518b7ef6de7d2

:)
[Galaxy S II Android Development] boscorama:
V1.0 is now available.
[Galaxy S II Android Development] Bitman64:
V1.0 of what?

Greetz

B.
[Galaxy S II Android Development] boscorama:
The [MENTION=4217277]Gustavo_s[/MENTION] -inspired system status app referenced in the quote.

Available here: GSKSystemStatus App Thread
[Galaxy S II Android Development] Gustavo_s:
- BFQ I/O scheduler v7r2

- Tweaks to GPU sampling to reduce battery drain

- Tweaks to wifi driver to reduce battery drain when idle

- Reverted TMU profile to stock, it won't get so hot anymore (64ºC limit)

- zzmoove governor v0.8

- Updated recoveries and ramdisk

as always i will post it here so advanced users can test for a few hours, then i will post it in OP

http://www.androidfilehost.com/?w=files&flid=13102

thanks for the donation 3RV826257T857924D
[Galaxy S II Android Development] twindad:
Zzmoove governor has various profiles,which is set as default?how we set ybat for example?

Tapatalked
[Galaxy S II Android Development] Gustavo_s:
you can set a profile by inserting the profile number in /sys/devices/system/cpu/cpufreq/zzmoove/profile_number

i think i'll add it to stweaks
[Galaxy S II Android Development] twindad:
An option to set zzmoove profiles in stweaks is a good idea

Inviato dal mio GT-I9100 utilizzando Tapatalk
[Galaxy S II Android Development] farisyi1:
Wanna try new kernel but my S2 is not here right now [emoji1]
[Galaxy S II Android Development] 99x:
Hi all, I'm playing around with device encryption, which has worked fine, on boot the ROM asks for the pin etc. However, the kernel is unable to mount /data in TWRP recovery, it never asks for the decryption pin.

I was under the impression that TWRP was supposed to be able to identify encrypted partitions, and allow you to access them?

Using the 22-03 kernel and 21-03 CM11 nightly.

I have full backups so that isn't an issue, if a log would help I will try later when I have access to my PC.
[Galaxy S II Android Development] Gustavo_s:
you would have to ask omni dev team about that, i'm using their pre-compiled recovery
[Galaxy S II Android Development] pilgrim011:
Installed new build, seems to work fine. What is TMU profile? CPU related term?
[Galaxy S II Android Development] 99x:
Thanks, seems to be a common problem with similar devices :( https://github.com/TeamWin/Team-Win-Recovery-Project/issues/263
[Galaxy S II Android Development] rogers11:
But it reverts itself to "0" after reboot.

BTW: What is the reason for the "Unexpected error" when starting Stweaks?

BTW2: It runs great with CM11M4 and zzmove/row.
[Galaxy S II Android Development] Resync:
why does my phone always die after the first recharge cycle?

it simply reboots (or freezes) when i do simple things like typing in something to search in my browser.

i tried adjusting the voltages of 200mhz and 500mhz doesnt seem to work either.

the first charge is no problem after i charge it then it gets critical it dies mostly right before i want to charge again (so second charge).

i cant find the reson for it.
[Galaxy S II Android Development] SachsenPowl:
[MENTION=4217277]Gustavo_s[/MENTION] any plans to add slide2wake feature to your kernel? Would be awsome or double-tap to wake like knock-on feature from LG G2

Gesendet von meinem GT-I9100 mit Tapatalk
[Galaxy S II Android Development] Resync:
its been asked time and time again... see other pages...
[Galaxy S II Android Development] Gustavo_s:
that's weird, have you tried other kernels? maybe your battery is dying

most slide2wake implementations hold wakelocks or use sensors to detect when to be active or not, it wastes too much battery, i saw one that keeps only the touch sensor active, but it still drains battery.

the best one is fluxxi's, its the one that was on siyah, if i remember correctly it is possible to enable/disable it, so it might be worth a try

https://github.com/myfluxi/xxICSKernel/commit/3cc752ca75ccda53b132dbc9011a7d40d11d191e

happens only in kitkat roms (while testing cm10.2 it didnt happen), no errors on logcat when applying configurations or opening stweaks, and all settings are applied successfully, it seems to be a delay reading the settings that are stored in a xml file
[Galaxy S II Android Development] Resync:
yeah it seems to happen with stock cm aswell, but my battery is okay i can get up to 3 days with it...

must be something else, something connected to charging...

btw latest kernel is running great so far ;)

also could you build a little flashable script for twrp to wipe kernel - settings.

stweaks does not reset settings
[Galaxy S II Android Development] Gustavo_s:
link is in OP :) http://d-h.st/Hh1
[Galaxy S II Android Development] Resync:
yeah that does not work in TWRP (only under CWM Recovery), it does not wipe the kernel and/or settings... :(
[Galaxy S II Android Development] Gustavo_s:
full changelog from last stable release:

- BFQ I/O scheduler v7r2

- Tweaks to GPU sampling to reduce battery drain

- Tweaks to wifi driver to reduce battery drain when idle

- Reverted TMU profile to stock, it won't get so hot anymore (64ºC limit)

- zzmoove governor v0.8

- Updated recoveries and ramdisk

- Added profiles for governors, performance/balanced/power saving

- Profiles values are here: https://github.com/gustavoss/androi...tramfs_files/res/customconfig/actions/profile

- zzmoove profiles description are here: https://github.com/gustavoss/androi...rivers/cpufreq/cpufreq_zzmoove_profiles.h#L28

- Added a button to restore default settings in misc tab

- Added slide2wake to screen tab

http://www.androidfilehost.com/?w=files&flid=12345
[Galaxy S II Android Development] Resync:
Awesome thanks!
[Galaxy S II Android Development] oL00No:
Another nice update. Any reason why you scaled all the way back to 64?
[Galaxy S II Android Development] lovegurulavdev:
[MENTION=4217277]Gustavo_s[/MENTION] .. thanks for your awesome kernel ....

sorry but i am just asking

if you add minimum 100mhz frequency it would save battery ....???
[Galaxy S II Android Development] Gustavo_s:
too much heat, it was uncomfortable to use the device while doing heavy tasks

it was discussed a lot about this on siyah thread, i don't see reasons to have 100mhz step
[Galaxy S II Android Development] Shahan_mik3:
You read my mind..... It was like a hot ticking bomb...I was alwayz thinking its gonna burst into flame any second :p.

Thank you :)

And 100mhz might save a were tiny bit of battery AFAIK and that is not worth it....200 MHz is fine
[Galaxy S II Android Development] lovegurulavdev:
if no profit its ok we dont need it ..

the jb 22/03 kernel is not working in the pac 4.3.1 release .. it gives boot loop .. only boot animation show for long time

i tried by clean install but same result ..

---------- Post added at 11:15 AM ---------- Previous post was at 11:10 AM ----------

if no profit its ok we dont need it ..

the jb 22/03 kernel is not working in the pac 4.3.1 release .. it gives boot loop .. only boot animation show for long time

i tried by clean install but same result ..
[Galaxy S II Android Development] clock51:
Gustavo_s great, with the function 2wake, now the kernel is perfect! thanks
[Galaxy S II Android Development] lilicaull:
anyone uses beanstalk rom running art with this kernel ?
[Galaxy S II Android Development] D4rK.F0rcE:
Are there any statistics about how much battery the slide2wake function drains? I tried to use better battery stats but could not find a wakelock or the like that can be traced to the slide2wake function.
[Galaxy S II Android Development] Ganjax:
LoL MAN! 0% battery drained in 8 hours of deepsleep at night, haha, u are awesome!! And best performance ever, antutu score 14300 :)) nice one Bro!

Wysłane z mojego GT-I9100 przy użyciu Tapatalka
[Galaxy S II Android Development] twindad:
[MENTION=4217277]Gustavo_s[/MENTION] there is a little bug in stweaks: if i set 1400mhz and zzmoove with a profile,everytime i close and reopen the app it show 'apply,discard' buttons cause it set the governors profile( not zzmoove profiles) to performance. If press apply a toast says 'you are using zzmoove...use its profile settings'.

I like button to reset setting,but it is present in extra tab also...

Tapatalked
[Galaxy S II Android Development] clock51:
when I used the dorimanx battery consumption with slide2wake was minimal, I think it is the same even with Gustavo_s, today I installed the new version 22/03 and activated slide2wake next few days I will give more information about battery consumption
[Galaxy S II Android Development] geralt2:
Please how works slide2wake? What is this?

Wysłane z mojego GT-I9100 przy użyciu Tapatalka
[Galaxy S II Android Development] clock51:
is a function that you can find in STweaks / screen, it serves to wake the phone from stendbay swiping a finger across the screen from left to right
[Galaxy S II Android Development] Shahan_mik3:
Slide2wake is available in latest build???...Im not able to find it -_-??
[Galaxy S II Android Development] oL00No:
Fair enough! But 64 is rather low. Of course that is just my opinion. Most importantly, I would throttle to 1000 instead of 800. It still cools. Moreover, I'd love to see it go to 70 degrees.

But that's just me. Your work is a lifesaver for many of us.
[Galaxy S II Android Development] pilgrim011:
[MENTION=4217277]Gustavo_s[/MENTION], great decision with 64 degrees limit. I thought my device is going to melt down at times.:p
[Galaxy S II Android Development] Resync:
latest is running perfect!

iam running zzmove+bfq now, runs like butter ;)

thx!
[Galaxy S II Android Development] CounterC:
I'm on AOSB and ART. With 22/03 version I have bootloop so I went back to 8/03. Anyone can confirm?
[Galaxy S II Android Development] Shahan_mik3:
Strange I don't have the option
[Galaxy S II Android Development] Nos_20:
Try redownloading the kernel. I never had it. Downloaded it again, flashed and it was there.....

Sent From My Galaxy S2
[Galaxy S II Android Development] clock51:
try to flash kernel wipe and then flash Gustavo_s v 22/03
[Galaxy S II Android Development] cubflyer:
How is the slide2wake feature made? As battery saving as dorimanx tweak is?
[Galaxy S II Android Development] scorpion.hbs:
the 22/03 kernel works great with Linaro/sabermod cm 11

thanks
[Galaxy S II Android Development] ammar1514:
hi, is it possible to use a custom recovery like philz ...i tried philz and it bootloops. I guess it has to be built into the kernel?
[Galaxy S II Android Development] A_Kirsh:
Wow, which settings are you benchmarking with?
[Galaxy S II Android Development] Ganjax:
HYPER/CFQ

VPLL 4 STEP 440MHZ GPU + 1250 MAH

CPU 1,4 GHZ

PROFILE BALANCED

Im on latest CM 10.2 4.3.1 :)

It's real best!
[Galaxy S II Android Development] killar_aka_arabu:
hello Gustavo, how about 4 tap to negative mode in next build?) Thx! :)