yashsingh1/xdaforums huggingface dataset:
[Galaxy S III Android Development] samaxen:
Maybe you can take a look from Andreilux implementation of Pegasus as below:

Rewrote flexrate request code for pegasusq: I apologize for releasing the previous version in the state that it was, shame on me.

Now upon receiving a flexrate request and active ones, the governor delays hot-plugging sampling logic so that accelerated sampling is being taken into account and hot-plug sampling is normalized for the standard sampling rate. All sub-samples are being averaged into a normal sized sample at the end of the normalized period. This no longer interferes with the runqueue read-outs as they were being reset too fast and generally accelerated hot-plugging in a bad manner.

Changed touchscreen flexrate requests to 12500µS sampling rates over 4 periods to synchronize with the default pegasusq sampling rate.

I consider this chapter to be done and a success as far implementing flexrates as a viable and working alternative to touch-boost to increase responsiveness without having the bad battery-life side-effects of the touch booster.

Performance governor is now core-aware, previously as no other hot-plugging logic was available, the governor would start with whatever number of online cores were available at that time and stay like that. This made Performance useless for it's designed purpose, that being bringing maximum performance. It now brings up all available cores online upon start and turns all additional cores back offline on governor stop. It is now by far the best and consistent governor for benchmarking.

Removed unused cpu_freq_up, cpu_freq_down, and several other flexrate related governor parameters in Pegasusq as they were either not used, or senseless.

Default Pegasusq parameters changed:

- Sampling-down factor reduced to 1 from 2, this caused reduced sampling speed upon reaching maximum frequency. It now scales (possibly down) faster.

- Frequency steps reduced from 40% to 21% of maximum frequency, this causes it to scale in 300MHz steps for the default maximum policy of 1400MHz. As we now have flexrates to scale faster I did not notice any negative effects on performance and this should help battery-wise on load-"spiky" applications, and in general.

- Increased runqueue-length thresholds for the hot-plugging logic by a flat 75 for all conditions. In my opinion and experience they were too low and caused to keep the cores needlessly online. This now reduces for "average low" use the online-time of the third core considerably.

- Increased the hot-plug frequency conditions for the 4th core.
[Galaxy S III Android Development] harunjo:
that for performance...i am looking for battery performance..already know andreilux did that about 2 weeks ago
[Galaxy S III Android Development] jothi2lingam:
Bro I feel that battery life is more improve & better in v3.6
[Galaxy S III Android Development] harunjo:
you should re-build that kernel, dont use my kernel; my kernel built with

CONFIG_CIFS is not set

set the galaxsih_defconfig as below:

CONFIG_CIFS=m

# CONFIG_CIFS_STATS is not set

# CONFIG_CIFS_WEAK_PW_HASH is not set

# CONFIG_CIFS_UPCALL is not set

# CONFIG_CIFS_XATTR is not set

# CONFIG_CIFS_DEBUG2 is not set

# CONFIG_CIFS_DFS_UPCALL is not set
[Galaxy S III Android Development] samaxen:
Yes I also feel the same. The battery drain is lower to any other kernel i tried before:good:
[Galaxy S III Android Development] harunjo:
good news guys...i am also satisfied with v3.6 performance,

i think i will slow down the kernel development a little bit..

next update will be a major update...

now its family time for me :P
[Galaxy S III Android Development] jothi2lingam:
Battery drain also related to some cooked roms. So far after I tested few roms, finally i found that RGUI rom is perfect for me in stability, performance & battery. Overall this kernel make more perfect for this rom:good:
[Galaxy S III Android Development] Khy50:
Flashing 3.6 now.. I've noticed in the previous releases that idle battery drain was evident.. hopefully will not be the case now :)

It plays nice with LG8 roms I presume?

Thanks Harunjo
[Galaxy S III Android Development] qwerty12:
cifs as a module should be fine, though, to load into your kernel (built with the same toolchain and all)

I get "CIFS VFS: Error connecting to socket. Aborting operation" in dmesg... I thought it was because of missing nls_utf8 and md4, but they're built-in the kernel

I'll enable the debug option and try again soon (I'd rather stick with your kernel rather than having to flash a local build each time)
[Galaxy S III Android Development] jothi2lingam:
Hahaha...Ya bro, u need family time..Lot of updating kernels in short period..Thanks alot for your wonderful job..:good:
[Galaxy S III Android Development] harunjo:
mostly custom rom have their own tweak..sometimes better sometimes worse for kernel.

mostly they put the tweak at init.d folder and also built.prop..you can also learn about that tweak..there are a lot resource here in xda..just search it..and you will find how that tweak impact your s3 performance
[Galaxy S III Android Development] harunjo:
i was make v3.6 with md4 but not sure with utf8 maybe you also can check that
[Galaxy S III Android Development] harunjo:
i was test it ..there is no such that weird wifi behaviour on me
[Galaxy S III Android Development] jothi2lingam:
Harunjo isit worth to install this call "CPU Sleeper https://play.google.com/store/apps/details?id=com.eugene373.cpu.sleep&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5ldWdlbmUzNzMuY3B1LnNsZWVwIl0.. In this case, is really this apps work in battery saving or kernel is the playing main role in CPU core 1/2/3 off while the screen is off we only need to have 1 core active CPU 0.
[Galaxy S III Android Development] harunjo:
no need for that..default pegasusq will act as that app..another cpu will be use as needed
[Galaxy S III Android Development] samaxen:
For me WanamLite is the best, outstanding stability performance and battery life
[Galaxy S III Android Development] marioh:
I think Wanam did something on stock kernel. In fact, with his stock kernel, on his rom, battery life is better than with Galasih.

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] samaxen:
Check out v3.6, it is better. You need to let it finish one charge cycle. Idle drain is almost the same in both, but when you use applications you will see the difference.
[Galaxy S III Android Development] harunjo:
Battery life depends on device settings, usage, and many other factors...

so battery life is different from one to another...It's a grey area
[Galaxy S III Android Development] Planet X:
Thank you for this great kernel. Finally I have found a kernel that does work with MTP on my Mac. And the kernel itself behaves brilliant until now. Thank you for your good work.
[Galaxy S III Android Development] Khy50:
+1

Love how it works on my mac and the battery life on 3.6 is fantastic!
[Galaxy S III Android Development] king.stivan:
so i came here after trying the Pheno...... kernel i tried all of then non gave me more than 12-14h with about 1h screen time ... but when mixed with juice defender it max`s out with 20h+ the funny thing is the stock kernel gave me just about the same and some times better even with no JD .... anyways im give your kernel a try and im not ditshing the JD ((i know you said its bad )) for now . but so far so good !! ISH !!11h/42m with 61% left screen time is 41min i didnt play games did one benchmark for testing thats it . now the ISH part is about that my screen time is not the main battery hog !!!!its 10% where the first one is 19% !! and its S Memo !! oO i never used it before and i didnt use it now i mean whats wrong here ?? if that wasnt here i think i would be at high 70`s % easy !! what do you think is wrong ?? i did both dalvk and system cash clean before and after the kernel install please help me out here im runing 4.0.4 XLFB this kernel is smooth and all no reboots no freezes ((btw im useing the 3.3 one with the max UV )) thanks man.
[Galaxy S III Android Development] harunjo:
thanks for your review!

in my experience too much uv=in-stability=battery hog..

i suggest you to try the latest one..

and also you can try freeze that smemo using titanium backup..or just remove it totaly if you dont use it

betterbatterystats is important app if you want to know detail about happened background process...i hope that will help you.
[Galaxy S III Android Development] king.stivan:
thanks for replaying to me . im going to install that app and try the other kernel but let me get a full discharge out of this cycle first so i used the phone talking via viber/3g and i got 2h30min on screen and im @25% now S Memo is in 3rd now viber in 2ed . im going to try the other one and see whats better . but for now it seams like the stock is the best one so far or at the very best all the same in my phone :S anyways thanks i will keep you up to date .
[Galaxy S III Android Development] marioh:
Checked. But drain in stand-by Israele higer on Galasih 3.6.

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] harunjo:
so use the better one for you
[Galaxy S III Android Development] samaxen:
FYI... 10 mins+ of PowerAmp 5 mins of voice calls. 14h+ idle.

Wanamlitev2+Harunjo 3.6. It is by far the best I have ever seen...

Overnight drain after full charge to 100%
[Galaxy S III Android Development] jothi2lingam:
Impossible if even not 1% battery drop for your S3
[Galaxy S III Android Development] samaxen:
After 14 hour 20 minutes I saw battery dropping to 1% to become 99%
[Galaxy S III Android Development] walda:
It highly depends on the Signal Strength of the Carrier. At home my batt drains more than at the office...

So, everything is possible i think...
[Galaxy S III Android Development] jothi2lingam:
Maybe there is bug with your battery mod.... Pls review with Harunjo
[Galaxy S III Android Development] harunjo:
strangely not happen to me....let me see the detail of your battery statistic
[Galaxy S III Android Development] samaxen:
No battery bug. I have tested this couple of times. I will post the battery stats tomorrow, as I already restarted my phone
[Galaxy S III Android Development] Khy50:
Was it on charge for all those hours :cool:
[Galaxy S III Android Development] harunjo:
beta1 3.7 is released..dare to try? :D
[Galaxy S III Android Development] Khy50:
What's new? =)
[Galaxy S III Android Development] samaxen:
No i posted this several times in several thread with Wanamlite I have such kind of idle battery drain. I tested many times. But with v3.6 it was the best

---------- Post added at 06:31 PM ---------- Previous post was at 06:30 PM ----------

Changelog bro :)
[Galaxy S III Android Development] jothi2lingam:
I'm ready dude:cowboy:
[Galaxy S III Android Development] harunjo:
since that still beta..so no official change log :angel:

i just did some tweak for battery performance...tweaking the pegasusq behavior actually..
[Galaxy S III Android Development] Khy50:
I'll hold out for a stable release as I am loving 3.6 now! :)
[Galaxy S III Android Development] harunjo:
good choice..beta version only for flashing freak :silly:
[Galaxy S III Android Development] wirawan1234:
installed :)

smoothness is there, all basic functions working, too early to say about battery :)
[Galaxy S III Android Development] harunjo:
keep updating bro
[Galaxy S III Android Development] Khy50:
Any early indication that it's better than 3.6 yet? :)
[Galaxy S III Android Development] harunjo:
i was with 3.7 beta ..and now back to 3.6 for comparing..with 3.7 was very rarely touching max speed @1400 mhz..even when i play virtua tennis for about 1 hour.,and 3.7 also had better deep sleep when idle..

but i still not recommend it for daily driver
[Galaxy S III Android Development] harunjo:
i am playing with 3.7 beta 2 now.

upgrade to kernel 3.0.39

super smooth..exfat module seems work now.
[Galaxy S III Android Development] Khy50:
How's the all important battery? :)

Suitable for use daily?

Edit: testing for myself now ;)
[Galaxy S III Android Development] madpete:
Is it me, or is this latest beta fast?! Certainly feels it. Been using these kernels for a couple of weeks, brilliant work.
[Galaxy S III Android Development] Khy50:
Faster and smoother than a babies bottom :)
[Galaxy S III Android Development] king.stivan:
so i installed the 3.6 as you said and turned off the JD app i put it on charge and i went to sleep. when i woke up i tried to open the phone but it freezed on me and i guess did a restart too but that was only one time since ! so im going to give it some time !!
[Galaxy S III Android Development] harunjo:
GalaxSih Kernel v2.2

v2.2 uploaded

Disable Touch Booster from the touchscreen driver (will probably save some battery)
[Galaxy S III Android Development] samaxen:
Thanks Harunjo...

Will you include Mali Platform Rewrite from Andreilux?

Thanks
[Galaxy S III Android Development] harunjo:
yes...i am still working on it.
[Galaxy S III Android Development] marioh:
Screen oh time?
[Galaxy S III Android Development] harunjo:
as i said..not much usage..i think my screen time total only 1 1/2 hours
[Galaxy S III Android Development] harunjo:
as requested by samaxen :)

uploaded v2.3

changelog:

Mali Platform Rewrite from Andreilux
[Galaxy S III Android Development] zodiaxe66:
Edit
[Galaxy S III Android Development] moneyrain:
Any plan for color fix from hardcore ?

And thx for a good kernel ;)
[Galaxy S III Android Development] harunjo:
i dont have plan to patch this with speedmood tweak..

maybe next version i will patch wifi driver
[Galaxy S III Android Development] harunjo:
v2.4 uploaded

WIFI driver patch to block multicast to save battery life

credit to: Andrew Dodd

-Turn off debugging for certain modules to save battery life

sorry for rush update..i just cannot wait if have an idea in my mind..

for next version i will do bulk patch update..and then release it
[Galaxy S III Android Development] PacketJ:
wow! been waiting for this. I'll give this a try
[Galaxy S III Android Development] harunjo:
sori miss read this..and also sorry to make you confuse

faux not doing s3 kernel, but andreilux adapted his work to s3 kernel
[Galaxy S III Android Development] samaxen:
Thanks Man... You are going strong :)

Btw, what compiler are you using. Are you using Linaro GCC

And also below

Compiler optimizations aimed at improving performance/battery (OMG RICE!) :D

Btw, you see Franco 's Github for some amazing patches, His kernel, by far gives me the best battery even without undervolting
[Galaxy S III Android Development] spencer1208:
Wow, looks so promising

For me the perfect hybrid of all kernels out there..

Are you going to release a extreme verson like fenomeno or will you stick with your settings?

Keep up the good work.

SPenc
[Galaxy S III Android Development] harunjo:
yes my kernel optimized with that since v2.0 i already mention it at changelog but not with linaro gcc :)

what kind of patch? i already applied franco "touchboost disable" patch..could you more specific?
[Galaxy S III Android Development] harunjo:
i just play safe here..i think normal setting from fenomeno is stable enough..i am also fenomeno kernel fans :thumbup:

after get stable undervolt value from phenomenal kernel , i still thinking there are another tweak for battery live..and then i create my own kernel base on phenomenal since galaxsih v1.0.

i decided to share v2.0 here at xda..my objective is to get more info from you guys..and that proven here..this kernel more mature and now i really enjoying this kernel more..thanks all!
[Galaxy S III Android Development] samaxen:
Hi Harunjo,

Here are the patches :)

Ninphetamine

- SHA1 algorithm improvements

- CRC32 algorithm improvements

Franco

CRC32 lib updated (important for some core features of the kernel)

Added back deadline IO as the default and did a few tweaks. To explain it better this is what I wrote in the commit description: deadline-iosched.c: we were already doing single batches so it makes sense to me to reduce the read/write submit times. Exynos runs with 200HZ so read submits occur 4 times every kernel tick and write submits occur 1 time per kernel tick (was 1 submit every 5 ticks before). This seems to have improved latency according to tests.

I also merged a few patches to improve NOHZ and LOAD_AVG routines in the main scheduler driver. It seems that the load accounts weren't properly calculated in conjunction with the idle times of the cpus, so according to Peter Zijlstra, the original commit author, this fixes that problem.

Back to Tree RCU instead of jRCU - Tree RCU coupled with RCU_BOOST brings the A game back to the field. It gives more CPU throughput and thus more performance than jRCU. It will be more stable

Added SLQB memory allocator and made it default - seems to speed things up a little bit

ExFAT modules are now being loaded

* Increased USB charging rate from 450 to 600

NTFS + NTFS write support - useful for USB OTG

* Compile with some arch flags for some extra tiny bits of performance

I also added and enabled KSM (Kernel Samepage Merging) along with Memory Compation and Page Merging. All this buzz wordy **** will probably help on memory management in the long run, at least I felt a difference. I also don't think it creates any extra overhead, which is nice

Below maybe general but you can check them

Lots of .config cleanups for a better end-user experience

* Lots of ramdisk tweaks and fix-ups for better experience
[Galaxy S III Android Development] skivnit:
I'm running phenomenal but I will try this one just for the wifi patch as it's draining my battery a lot and I'm always on wifi

Sent from my GT-I9300
[Galaxy S III Android Development] 6pudu5:
I'm really happy with this work. It works perfectly with Rom Omega 9.0. :good::good::good: and good smartbench
[Galaxy S III Android Development] jothi2lingam:
Harunjo I'm stuck in S3 boot...Phone wont boot after flash version 2.4 ( Stuck in Samsung Galaxy s3 logo)...Im using CheckRom previously....Works fine once flash other kernel..Any suggestions
[Galaxy S III Android Development] MuertoKo:
Just a quick question!

Are 3.6, 3.7 and following versions suitable to use with BLG1 base? Will like to have a clean kernel focused on battery life... and just hate the wake's on stock! (AudioOut, mptdpt etc etc...).

I will try myself, but just asking before ruining my signal or wifi as it happens when using outdated kernels on newer bases... just wondering if it happens the other way round :P

Thanks for great effort :)
[Galaxy S III Android Development] Khy50:
Yes works great, running 3.7 beta 2, so far so good.
[Galaxy S III Android Development] MuertoKo:
Gonna flash then :)

Any changelog for 3.7 betas?
[Galaxy S III Android Development] wirawan1234:
using 3.7 beta 1 since last night

after flashed, some calls, and played inotia 4 for about 30 minutes before went to sleep

this morning i found this, this graphic doesn't say anything about actual battery life since it's only 9 hours and no charge since flashing, but i kinda like the graphic :D

downloading 3.7 beta 2 now

EDIT: 3.7 beta 2 installed

i can say anything about exfat since i formatted my card to fat32 since "2.6 incident"

i have a feeling that 3.7 beta 2 is less smooth than beta 1.....like, there is slight delay when i open my contact, and between taking photos and opening it in gallery straight from the camera....
[Galaxy S III Android Development] harunjo:
beta 2 is trully fast...linux kernel 3.0.39 have a lot core linux update.

but i think..the beta 2 battery life is not as good as v3.6..the cpu scale character now is more agresive than 3.7 beta1..but still need to test this
[Galaxy S III Android Development] samaxen:
Guys for your information v3.6 + Wanamlite v2 15 mins of bluetooth music on Poweramp + 7 mins of voice calls.

Same overnight battery drain after charging to 100%. Five minutes after this my battery dropped 1% to 99%.
[Galaxy S III Android Development] wirawan1234:
hmm, it's weird, since i feel beta 2 is not as smooth as beta 1

if i may, can you please go to camera, take a picture, and open it straight from your camera (lower left corner)?

everytime i do this, i have this loading circle briefly, doesn't have that circle in beta 1 or stock wanam.....

just want to make sure if it's my end or not...

thanks
[Galaxy S III Android Development] harunjo:
you are not using wifi/cell data connection..thats why you had amazing battery life compare to others

your gsm signal is also not good..this will eat your battery if you using gsm data
[Galaxy S III Android Development] harunjo:
yes i checked that..

i think you tweak your sdcard too much..

or if not you can find your rom tweak..please check your /system/etc/init.d/

delete unnecessary tweak from there.

also wipe cache partition and dalvik cache will help..since 3.7 beta2 had different linux kernel.
[Galaxy S III Android Development] harunjo:
guys as a team..could you give me your feedback for beta..

your feedback will important for me to raise beta status to release version. thank you!
[Galaxy S III Android Development] samaxen:
Yes I posted my standby battery drain with radio is amazing.

Bro I will check on the beta. I feel v3.6 is almost perfect.
[Galaxy S III Android Development] jothi2lingam:
Now oni wanna test bro... Revert to you by night
[Galaxy S III Android Development] harunjo:
3.6 is for daily use beta is for experiment..

if you are looking kernel for daily use then dont using beta version
[Galaxy S III Android Development] MuertoKo:
Testing Beta 2 as first time using this kernel, flashed last night so can't tell about battery life, but smoothness is great on this side after install with wipes and all that stuff!

All I can say is it worked great on hard gaming las night on Dead Trigger and no freezes or anythink like :) want us to test something in particular? Hadn't applied the ext4 mount tweak btw... recommended?
[Galaxy S III Android Development] Khy50:
Idle battery drain is good on beta 2,doesn't lose much juice overnight. I don't see the battery performance being any worse/better than 3.6 when in general use however. It is notably faster though.

---------- Post added at 06:58 AM ---------- Previous post was at 06:30 AM ----------

I have this 'grey circle loading' on 3.6 too, i think it is normal on everything. It lasts for half a second so no big deal.
[Galaxy S III Android Development] sunwee:
bro harunjo

i see you testing 3.7 with new linux kernel, is there problem with exfat support like earlier 2.9 version?

edit: oh yah, exfat working!
[Galaxy S III Android Development] samaxen:
So far i fell v3.7b2 it is very similar to v3.6 in battery drain. I will play Max PAyne in the evening and let you know the battery drain
[Galaxy S III Android Development] harunjo:
thats the good news for you and aslo for me i:thumbup:

i am happy!
[Galaxy S III Android Development] harunjo:
what kind of tweak is that?

could you point me to that tweak please?
[Galaxy S III Android Development] harunjo:
if the battery performance experience is not to far from v3.7 then

i think i will revert back pegasus tweak to 3.6 if i releasing that v 3.7..let we see for couple days.

edit: after analize with cpuspy , v3.7b2 battery drain when idle is not good as v3.7b1 and v3.6
[Galaxy S III Android Development] samaxen:
I think he is referring the tweak from Android Revolution here:

http://xdaforums.com/showpost.php?p=29344594&postcount=2
[Galaxy S III Android Development] harunjo:
after see inside script..yes..thats a good tweak..i will also using that tweak
[Galaxy S III Android Development] MuertoKo:
Meaning that one :)

Btw should this interfere with your sdcard mount thing on OP? (Have not level enough to understand them properly :( )

Any harm on running the script of sdcard mount on OP? :)

Testing kernel day :D
[Galaxy S III Android Development] harunjo:
no problem..different purpose on those tweaks

i am using both of the tweak..