yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Are you using custom animation or original? I'm using the original and it works fine.

No problem ;) more's coming ;) maybe we'll (with [MENTION=5695278]ChronoMonochrome[/MENTION]) be able to upgrade Mali driver soon ;)
[Galaxy S Advance I9070 Original Android Developmen] ChronoMonochrome:
Does it cause errors in logcat? I don't know if it's just on builds from TC, but I got a lot errors in logcat when disabled SELinux, so I had to re-enable it.

Afaik you can disable NT GPU settings by simply removing lines

chmod system system /sys/kernel/mali/...

from file device_tunables.rc in ramdisk.

I also noticed that lowest step can be undervolted even more - there's actlually nothing new, I noticed it when tested your manual for extreme uv(the only difference is that it can be used even with scaling). I use this liveopp table for few days without even one reboot (but I use LiveOPP 2.2, don't know if it'll work on 2.1)

IDX | CLK | PLL | VDD | VBB
0 | 199680 | 0x0005011a | 762500uV 0x05 | 0xdb
1 | 253440 | 0x00050121 | 937500uV 0x13 | 0xdb
2 | 299520 | 0x00050127 | 937500uV 0x13 | 0xdb
3 | 353280 | 0x0005012e | 950000uV 0x14 | 0xdb
4 | 399360 | 0x00050134 | 950000uV 0x14 | 0xdb
5 | 453120 | 0x0005013b | 975000uV 0x16 | 0xdb
6 | 499200 | 0x00050141 | 975000uV 0x16 | 0xdb
7 | 552960 | 0x00050148 | 1000000uV 0x18 | 0xdb
8 | 599040 | 0x0005014e | 1000000uV 0x18 | 0xdb
9 | 698880 | 0x0005015b | 1087500uV 0x1f | 0xdb
10 | 798720 | 0x00050168 | 1112500uV 0x21 | 0xdb
11 | 998400 | 0x00050182 | 1312500uV 0x31 | 0x8f
12 | 1098240 | 0x0005018f | 1362500uV 0x36 | 0x8f
13 | 1152000 | 0x00050196 | 1362500uV 0x36 | 0x8f
14 | 1198080 | 0x0005019c | 1362500uV 0x37 | 0x8f
15 | 1228800 | 0x000501a0 | 1362500uV 0x38 | 0x8f
16 | 1244160 | 0x000501a2 | 1362500uV 0x38 | 0x8f

My table is pretty conservative in compare with yours (temporarily I don't uv too high other steps - don't have time to find lowest varm for those steps), but seems that undervolting even only lowest step saves a lot power.
[Galaxy S Advance I9070 Original Android Developmen] agood man:
this kernel for Jelly bean 4.1.2 or not

thanks for all
[Galaxy S Advance I9070 Original Android Developmen] hastalafiesta:
[MENTION=3329816]mkaluza[/MENTION]

If I have this battery life with default varms I don't even think what i can have with these ones..awesome man
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
No - no problems. Only auditd was starting and dying every few seconds, but I disabled it as well and it's all fine now ;)

Didn't think of that, but since I didn't need NT anymore (after enabing high power mode in torch) it was easier just to kill it - I don't like apps that act as if they knew better than me and can't have this disabled ;P Anyway, when I finish my Flexible Kernel Tuner, NT won't be needed anymore :) as well as most init.d scripts I use now ;P

Lowest voltages heavily depend on Vbbx, so there's no point in comparing just Varm unless Vbbx is the same or at least similar

Not much - but it depends on how long you stay there. Anyway - higher freqs are most important for UV (and a good governor, that uses them as little as possibe;))
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
In this form probably not as it would need a matching recovery, but with JB recovery it might work (actually I always wondered why android is so tightly bound to a kernel version.... in normal linux you can use a very wide range of kernel versions...) .

I'll do a JB build when I finish testing the latest dynamic gov version, so probably before New Year - probably more people are interested in this.
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Nice one ;) For me the gain from switching governors (you are using dynamic?) was bigger than from UV, but UV is still worth it (cpu as well as gpu). Also changing mali boost low/high idx helps a bit.

The good news is that new version of dynamic gov has a turbo boost feature (to utilize OC) and some additional powersaving features. You build your own kernel so you can merge it (tag v2.1 on turbo branch - branch HEAD is not tested yet, but also should work)

There's not much docs right now except commit messages, but those two tables can also be helpful:

https://github.com/mkaluza/project-zen/wiki/Dynamic-governor
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
I can't stop wondering what's keeping you people with JB... Vanir (esp when using ART) is/was quite fast, my build is even faster, everything works... there's no bloat, good batt life...and there are also other ROMs out of which some are probably equally good, if not better... why bother?
[Galaxy S Advance I9070 Original Android Developmen] Cassiusss:
Simply because I use Samsung apps and services (Kies, All share and so on).

I know I'm probably one of the few and that there are much better roms.

So don't worry, I will not bother you with other questions about stock rom. Have a good day! :)
[Galaxy S Advance I9070 Original Android Developmen] edukardo:
I use your vanir. But, in my opinion, camera, gps, radio and sensors works better with stock rom. That's why many people still uses it, I think
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Ok, that's a point. I have no comparison, but for me they work well enough - no annoyances. Ok, you need an extra app for the radio, but the rest seems fine to me.
[Galaxy S Advance I9070 Original Android Developmen] gadiyari:
In all KK based ROMs i've tried the Spirit radio application does not work together with the Bluetooth.
[Galaxy S Advance I9070 Original Android Developmen] #Henkate:
[MENTION=3329816]mkaluza[/MENTION] : An stupid question, it's possible to make your kernel for gb along with it's governor? I have everything i want on 4.4 though and since i removed google play store and google services , the phone it's faster. But, somehow i want to try gb with your kernel, also google play store and services removed.
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
It should be, if you find someone who will do it. I have no need for it (and no time right now)
[Galaxy S Advance I9070 Original Android Developmen] No-Lags:
Hi ...mkaluza .. Is there a quick solution to fix the problem of "Google Play Service" which often experience a sudden FC while using MK_kernel build vR6.0 in Kitkat ROM?
[Galaxy S Advance I9070 Original Android Developmen] wolverinemaister:
Its not the kernels' fault, It's a common problem with 4.4 based roms, turn off the network location and you'll be fine. Btw if you use mkaluzas' vanir build you dont see this error so often
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
It's a matter of over-optimised rom (-O3 flag for thumb mode) without proper patches (the thing is I forgot which ones ;P). On my Vanir build I have network location enabled and no FC's in Google Play Services at all. But it's not the kernel - no chance.
[Galaxy S Advance I9070 Original Android Developmen] Sidman3278:
Try clearing cache of Google Play service app

I was expirencing the same "Google Play Service" stopped working on hastalafiesta's CM 12.1, what I did simply is

1. Go to Settings->Apps->All Apps->Google Play Service

2.Tab Clear cache

This resolved mine, try if it works for u.
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Yes, but this still hasn't anything to do with the kernel. Granted - it happened to me when I changed Rom build with different optimizations or sometimes when I switched to ART, but it was a Rom/maintenance issue, not the kernel.
[Galaxy S Advance I9070 Original Android Developmen] fideldesu:
There are three version in the mediafire download folder, which one should I choose ?
[Galaxy S Advance I9070 Original Android Developmen] edukardo:
Just read the txt file included in folder
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
you want noswp
[Galaxy S Advance I9070 Original Android Developmen] MikiGry:
You are right. Google play services FC isnt related to kernel. It is related to optimalizations. In our sII section we have 2 types of roms. Compilated with stock toolchain (no problems) and compilated with Linaro/Sabermod/UBER/O3 etc. Second type a fet weeks ago started having problems. The only one solution was (from Linaro/Sabermoded/O3 CM 11 thread) to flash a couple of Libs compilated without these optimalizations.
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Yes, but patches exist that fix those problems - had them before, don't have them anymore - using linaro 4.8, thumb O3. libcore patch was the most important, libwebp also needed one to fix the images - after that all important things work just fine.

For some reason sabermod toolchain didn't work - the rom was not booting.
[Galaxy S Advance I9070 Original Android Developmen] iso188:
Included CPU Governors

What are the CPU Governors included in this kernel?
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Most of them probably - standard ones, my own (dynamic) which is the default, and many "exotic" ones (which I don't care about) build as modules - those were taken from Chrono's kernel.
[Galaxy S Advance I9070 Original Android Developmen] iso188:
Does it have InteracticeX or Intellidemand?
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
No, neither of them.
[Galaxy S Advance I9070 Original Android Developmen] Recognized:
BEST Combination recommendation

[MENTION=3329816]mkaluza[/MENTION] wat ur recommendation I/O scheduler and OC Frequency for combination Dynamic governor ???
[Galaxy S Advance I9070 Original Android Developmen] barD1k:
Mkaluza please add in kernel full supored f2fs !!!
[Galaxy S Advance I9070 Original Android Developmen] Zouhuo:
Hello [MENTION=3329816]mkaluza[/MENTION], your kernel version 6.0.1, in mediafire, is shown as 6.0.0 on the device. Watch, when you can, and incidentally, check if you need other updates :)

Very good kernel! :good:
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
I haven't built standalone kernel for a very long time (not sure if there was such need, because not much has changed) - the repo version is 6.1.0.

Yet another reason for you to build it ;) my raid array failed permanently yesterday :(
[Galaxy S Advance I9070 Original Android Developmen] Zouhuo:
I am very sorry you're going through this. I hope you find a solution quickly!

What would be the repository that you refer to?
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Mine:

https://github.com/mkaluza/Samsung_STE_Kernel
[Galaxy S Advance I9070 Original Android Developmen] barD1k:
Mr.Mkaluza, You are going to release updates the kernel MK ?
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
I don't think so - I have nothing to build it on and this won't change in the foreseeable future (not to mention lack of time). The only thing you can do is extract boot.img from my latest Vanir build - it's up to date with my github repo.
[Galaxy S Advance I9070 Original Android Developmen] barD1k:
But his only noswp in Vanir
[Galaxy S Advance I9070 Original Android Developmen] Sami Kabir:
So I installed MK Kernel r6.0.1 for the first time earlier today and the 2 things I noticed immediately was that CRT-off animation and custom boot animation support weren't there. Everything else seems to be working fine so far but if I run into any noticeable problems, I will let you know!

Great work, mkaluza! :)

One more thing, can you please consider making another build featuring TWRP recovery instead? :o
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Never needed those, so i didn't even noticed.

My build machine is still dead and this won't change, so i can't post any updates.

No. Never used this, so i don't even know where to start. Besides, how many more times do I have to write that I can't build anything right now?!!! And I have no perspective to change this in the near future.
[Galaxy S Advance I9070 Original Android Developmen] Sami Kabir:
Oh, I see.

Well, thanks for your reply anyway :).
[Galaxy S Advance I9070 Original Android Developmen] TPD-21:
It's true. it'snt the fault of a kernel. But it was caused by a lib*.so file that are in a system ROM Kitkat most. The solution:

1. You have to replace a file that is located in the folder /sistem/lib/libjavacore.so, with an improvement of an existing file on the thread here.

2. But remember, if you are currently active on Kitkat ROM (any version). Don't you ever try to replace directly through the manajer app with permission (0644 or 755) If you do not have a TWRP . I think you will have bootloop. :D

3. Suggestions from me: Unpack first a ROM.zip that you have now. If it is already;

4. Then try to find a file that I mean in point 1 above. Overwriting the file with a file which I have given the link address above (Remember !! do not you ever try to follow the steps in the link above (Referring to point 2)). If so, the last.

5. Repack the whole package be ROM.zip as usual. And Perform ROM updates as usual through the recovery yours. (Either that CWM / Philz / TWRP). Good luck,.
[Galaxy S Advance I9070 Original Android Developmen] No-Lags:
Hi.. Bro.. I recently updated my ROM. Stock JB back to Kitkat ROM. After the problems Google Play Service that there is no solution. But now I'm so confident back using kitkat ROM. :D After getting a solution from you. And yes, now my problems have been resolved. Google Play Service rogue no longer appear on the CM11 ROM. :D Thanks for your help Bro. :highfive:
[Galaxy S Advance I9070 Original Android Developmen] barD1k:
Hi Mkaluza, now a new governors and i/o: Ondemandplus, fiops, tripndrod, why do not you download them even in the modules or suggest how they work well , but alas, I like your in the nucleus they are not , and would like very much.
[Galaxy S Advance I9070 Original Android Developmen] barD1k:
Thanks!
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
What do you mean?
[Galaxy S Advance I9070 Original Android Developmen] LyNChP1N:
Hey guys. Am currently using cocore kernel r20 with harshjelly 5.2 which is essentially stock KB 4.1.2.

Can I use r6 mkkernel with this stock setup? I would love to try this kernel :D
[Galaxy S Advance I9070 Original Android Developmen] Sami Kabir:
Yes, you can.
[Galaxy S Advance I9070 Original Android Developmen] iso188:
Ramdisks Location

Where can I find those ramdisks?
[Galaxy S Advance I9070 Original Android Developmen] iso188:
[MENTION=3329816]mkaluza[/MENTION] Does this kernel allow decreasing wifi power using iwconfig command?
[Galaxy S Advance I9070 Original Android Developmen] stevecook2017:
Text

that's good
[Galaxy S Advance I9070 Original Android Developmen] hastalafiesta:
Yes I'm using dynamic gov + noop 100/1000 freqs

I've built the kernel with that turbo boost but I can't boot to ubuntu right now (i'm waiting new pc) so if you can build a new release I'll try it:good:
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
I went home for xmas and all I have with me is an android tablet, so no building here eiither. In fact I have ubuntu 13.10 running in chroot, but kernel doesn't succesfuly build right now - it fails in the end on symbols (and it takes 5 hours instead of 5 minutes to get there :P)
[Galaxy S Advance I9070 Original Android Developmen] hastalafiesta:
My email is mauroscianca98@gmail.com contact me on hangouts I wanna ask you something
[Galaxy S Advance I9070 Original Android Developmen] :
[MENTION=3329816]mkaluza[/MENTION]

See your inbox
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Guys, if you want something from me then just pm me - I do check pm's...

And if there's an issue with the kernel, report it via devdb so they others can benefit from this as well.

I'll try to write a short how-to on this
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Release r4

Ok, r4 is out :)

It'll probably be the last 'feature' release for now as I find it quite complete (and need to earn my living...). But never say never ;) If something interesting shows up, I'll return to this. For now, other projects are waiting ;) and my phone doesn't annoy me anymore :)

btw post reports on Dynamic governor (like screenshots with screen time/uptime etc) if it helps you. This might help me make it more widespread and maybe someday a CM merge...?:) (or AOSP :) ) Voting in the poll from this thread might also help me - I'm a rather new and not very active dev on xda.

Of course you can also post that it sucks, if you think it sucks :) constructive critic is most welcome.

Enjoy :)
[Galaxy S Advance I9070 Original Android Developmen] nss357:
[MENTION=3329816]mkaluza[/MENTION] the default sampling rate;

sampling_rate 100000000
standby_sampling_rate 300000000
suspend_sampling_rate 500000000

Was that intended? Its really high :eek:
[Galaxy S Advance I9070 Original Android Developmen] errorsys:
You said r4, but folders are r2 and r3.

Is it intended?
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Nope... that's a bug. Once again I wanted to do things too fast... sorry... r4.2 release is uploaded
[Galaxy S Advance I9070 Original Android Developmen] nss357:
Ah, I thought so, way too many zeros, and you don't need to say sorry for that :p. Anyway what's standby_threshold_frequency is for? Still trying to understand the limits stuff on your wiki, can't quite get it yet lol.
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Ok, added to the docs.

as for "sorry" - I just don't like making mistakes that could have been easiy avioded... It ususally means the person was just lazy or impatient or careless... I'm trying to fight it in me, but it's a hard fight ;P

I added a bit of explanation about limits calculation

https://github.com/mkaluza/project-zen/wiki/Dynamic-governor#limits-calculation
[Galaxy S Advance I9070 Original Android Developmen] fbs:
Stop working on kernels. All 4.4 roms are choppy on our phone and it's not kernel's fault.
[Galaxy S Advance I9070 Original Android Developmen] #Henkate:
Thats why he is working, he try to make it better, so we have a better experience using our phone. Although, i would like to see a jb version.Every kernel is welcome.
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Don't feed the troll...

JB is coming now that this one is finished.
[Galaxy S Advance I9070 Original Android Developmen] nss357:
Great :good:

Gonna test the battery life and post results later. I think power_optimal_freq and high_freq_sampling_up_factor gonna be my two favourite tunables of dynamic :D Curious to see how much less it'll spend on max freq. By the way, did you see Vanir G+ page? They gonna drop our device and some others. Doesn't matter I guess, don't know if they're still gonna build KK since they've been busy with L.
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
it's about 3% for me per charge. here are my current settings as a quick dump - later I'll aggregate it with the rest of my tuneups into something readable (probably a wiki page) and post here (in post #1)

cpufreq min-max range:200-1100MHz

down_differential: 5

high_freq_sampling_up_factor: 2

ignore_nice_load: 1

input_boost_freq: 400000

input_boost_ms: 100

io_is_busy: 20

max_non_oc_freq: 1000000

oc_freq_boost_ms: 1500

power_optimal_freq: 800000

sampling_down_factor: 2

sampling_down_factor_relax_khz: 500000

sampling_rate: 20000

standby_delay_factor: 1

standby_sampling_rate: 30000

standby_sampling_up_factor: 5

standby_threshold_freq: 100000

suspend_max_freq: 600000

suspend_sampling_rate: 50000

suspend_sampling_up_factor: 5

up_threshold: 95

That must have happened at some point... STE is dead as a platform and soon all of it's ofspring will be dead too (though I do hope my phone will live for a long time cause now I don't event have much $$ for food and rent, so a new phone is totally out of the question)

I just hope they leave all build scripts untouched so that when somebody has time to pick this up, he'll have something to start with (I'm thinking about it, but currently I have a few more immediate problems to solve).

enjoy the phone ;)
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
[MENTION=4471434]Force[/MENTION] - After looking at the git it may not be so 'now' after all... It's been 63 commits since I moved to KK so that's a bit of code to review and update... But I'll do it eventualy...

BTW why do you stay at JB?

As I use Vanir with my kernel I don't even envy my friend his S3 anymore ;) It's not _that_ fast, but it's not much slower either. And KK has been made with weaker devices in mind so it actually should consume less resources than JB...
[Galaxy S Advance I9070 Original Android Developmen] nss357:
Yeah, post everything :p

Well with Vanir and your kernel, I'm pretty much satisfied, and it's a good time to finally stop flashing roms lol.

I'm curious though, what's your day job? I could've learn building roms from source, but I don't have proper hardware to do so, and I'm not that rich to get a new one. My old 1gb ram laptop are dying already, so I hope my Janice gonna live longer.

Ok back to topic lol, what's the different between the touchboost and the input_boost in dynamic? By the way, the last test on r3 I get about 3h15min SOT, with wifi on all the time. But I use the old vbbx and 0x2b @ 1000mhz, that's the lowest I could go. Gonna use the same varm and vape on r4.2 to see how dynamic will do.

And yeah, thanks for keeping Janice alive :)
[Galaxy S Advance I9070 Original Android Developmen] mkaluza:
Yes, me too - that was actually the purpose of this whole party - to have a working phone ;) But dynamic governor is a nice side effect ;) Maybe my settings will help you a bit more ;)

None actually - for a bit now... :/ I used to be a sysadmin(linux/unix) and db admin(Oralce), but after I had some health issues I can't really work in IT anymore - at least not now (and in fact I don't miss it too much...). I sometimes help a friend paint homes, but that's no regular job (esp in winter, when there's no job at all ;P) and it doesn't bring enough money to make a living. So when I 'm not hacking out phone, I'm thinking hard what to do with my life before my account balance gets down to zero ;P

That sucks... my pc in theory could do it, but when I tried building vanir I had random source files truncated or corrupted... I do hope it's just screwed up fs (although it fsck's ok, but it's 10 years old reiserfs... everything is possible there) and not dying memory/motherboard, because I don't have any $$ for a new one right now ;P

There are actually two.

1) input_boost in dynamic is aware of all the input (including buttons) which is good for wakeup, but it controls only cpu frequency (I wanted dynamic to be platform independent)

2) touchboost is implemented in touchscreen driver and so is only aware of touches, but it can control also ape and ddr.

So I use them both to get the best of both worlds :) when I post my complete setup you'll understand (I want to include an explanation, not only settings, that's why it'll take me some time)

I regularly get 5h+ SOT, and I'm not quite finished with tuning yet :) But it's partialy due to new battery that I got recently (before they stop making them :P) Also switching to ART could probably help a bit

No problem :) I want to keep it alive as long as you do :) As long as we're not being accused of necromancy everything should be fine ;)
[Galaxy S Advance I9070 Original Android Developmen] nss357:
Dynamic is nice alright, a lot more control on the governor. A lot more to play around with :p

Sounds like a serious health issue. I hope everything will went well for you and best of luck, I definitely need some good luck too lol

Yeah, if only Santa gave us a new one :D

Oh I see, then I'll wait for it :good:

Maybe I'll get a new battery. And I use xposed, so no ART for me.

I don't mind being accused of necromancy on the internet :p