yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] Shisma:
AFAIK yes, it affect battery life, compress and decompress memory=more cpu usage=more battery drain. I've disabled it, in my opinion is useless with 2gb ram.

But some people like to see free ram in settings.

Inviato dal mio GT-I9505
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Agreed, my understanding is that free RAM is wasted RAM as android is very good at managing it ;)
[Galaxy S 4 i9505 Original Android Development] Shisma:
I don't use it more than two years after sell my Sony Xperia U with 512 mb ram.

Inviato dal mio GT-I9505
[Galaxy S 4 i9505 Original Android Development] dr.wtf:
if i may quote myself:

http://xdaforums.com/showpost.php?p=54259458&postcount=840
[Galaxy S 4 i9505 Original Android Development] DaReDeViL:
1.1.2

[26/07] Version 1.1.2 (TW / GE) :

- Updated to Linux 3.4.99

- gcc: switched to [MENTION=4825437]Christopher83[/MENTION] GCC linaro 4.9.1 optimized for Cortex-A15 2014.07

- stweaks: added special kernel tweaks toggle in misc tab (thx to [MENTION=3382081]nfsmw_gr[/MENTION] for the tweaks)

- msm: enabled all idle & suspend power sleep modes

- mm: some tweaks and reverted some harmful patches causing microlags

Codename: Smoothness is back !!! ;)

Happy flashing ;)
[Galaxy S 4 i9505 Original Android Development] Prodigalza:
Thanks, about to update!
[Galaxy S 4 i9505 Original Android Development] nfsmw_gr:
[MENTION=1897326]googy_anas[/MENTION]

I got a question mate, how do profiles work?

I saved my settings at all three profiles (on purpose) and I checked /res/customconfig but when I opened the profiles none of them had my settings there.

Could you take a look and tell me if I'm doing something wrong or if there's something going on?

Thanks. :)
[Galaxy S 4 i9505 Original Android Development] qtwrk:
They are stored in /data/.googymax3
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Errrm, what do the special kernel tweaks do ?
[Galaxy S 4 i9505 Original Android Development] speedytr:
+1
[Galaxy S 4 i9505 Original Android Development] dr.wtf:
http://xdaforums.com/showpost.php?p=54327133&postcount=893
[Galaxy S 4 i9505 Original Android Development] qtwrk:
This is pretty much what it does.

#!/system/bin/sh

#Kernel Tuning

echo "256" > /proc/sys/fs/inotify/max_user_instances;
echo "32000" > /proc/sys/fs/inotify/max_queued_events;
echo "10" > /proc/sys/kernel/panic;
echo "10" > /proc/sys/fs/lease-break-time;
echo "6144,87380,524288" > /proc/sys/net/ipv4/tcp_rmem;
echo "524288" > /proc/sys/kernel/threads-max;
echo "524288" > /proc/sys/fs/file-max;
echo "65536" > /proc/sys/kernel/msgmax;
echo "6144,87380,524288" > /proc/sys/net/ipv4/tcp_wmem;
echo "500,512000,64,2048" > /proc/sys/kernel/sem;
echo "524288" > /proc/sys/net/core/wmem_max;
echo "8192" > /proc/sys/vm/min_free_kbytes;
echo "524288" > /proc/sys/net/core/rmem_max;
echo "90" > /proc/sys/vm/dirty_ratio;
echo "268435456" > /proc/sys/kernel/shmmax;
echo "80" > /proc/sys/vm/swappiness;
echo "250" > /proc/sys/vm/dirty_expire_centisecs;
echo "1" > /proc/sys/vm/drop_caches;
echo "2048" > /proc/sys/kernel/msgmni;
echo "2" > /proc/sys/vm/min_free_order_shift;
echo "10240" > /proc/sys/fs/inotify/max_user_watches;
echo "70" > /proc/sys/vm/dirty_background_ratio;
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle;
echo "1" > /proc/sys/vm/overcommit_memory;
echo "50" > /proc/sys/vm/overcommit_ratio;
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
:good:

LOL, thanks, any chance of a rough translation into English for us lesser non script reading/understanding mortals please
[Galaxy S 4 i9505 Original Android Development] qtwrk:
See the lines? Google the last one

For example

echo "256" > /proc/sys/fs/inotify/max_user_instances;

It means set "Max user instance" to 256.

So you just have to google what's "Max user instance"

And so on

Basically it's about tweak some value of the kernel, like virtual machine, memory, file system, network ...etc , if I understood it correctly...
[Galaxy S 4 i9505 Original Android Development] nfsmw_gr:
I see.
[Galaxy S 4 i9505 Original Android Development] OmniSlyfer:
And which advantages these tweaks can give us?
[Galaxy S 4 i9505 Original Android Development] qtwrk:
Well, that's something I honestly don't know, that's for yourself to figure it out [emoji12]
[Galaxy S 4 i9505 Original Android Development] dr.wtf:
he told you where to look, he told you how to look and he told you what to look for.

now look for christs sake!
[Galaxy S 4 i9505 Original Android Development] OmniSlyfer:
But I'm not developer.

But I can't understand what it's written in the list, so I can't understand what all these values mean.

He explained us a couple of examples, and I'm happy for that, but whenever I read all the other lines my face become a big question mark.

This is a forum. I has been created to share and ask. And I'm asking, also because there is for sure someone that can talk about the advantages of these tweaks, advantages that a normal user like me maybe can't see during a normal session with the smartphone...
[Galaxy S 4 i9505 Original Android Development] qtwrk:
Easy, buddy, if you don't like newbie question, just ignore it, but please don't be hard on him, we all started from newbie.

Be patient, google knows everything and anything.

You just have to be patient...
[Galaxy S 4 i9505 Original Android Development] dr.wtf:
he explained to you how you can read those values and how you can look up what they are for. sharing knowledge, yes, thats what this forum is for. but the idea is also that you are willing to do your own research, at least when given support. and you were given support. you have all the tools to search on your own.

you can't expect everything served up on a silver plate. if you do, you dont belong here.

oh and i'm also not a developer. but i am able to use google and willing to invest some time in my own research if i'm interested in something.

i'm not done...

really, what kind of help are you expecting? should someone write an essay for you about every of those values so that you can understand it? you think somebody has about two days of time for doing that?

not an essay? just some short explaination? well then one could look up the links to the documentation for you where every of those values is explained shortly. but then again, why should someone do that for you? this is obviously something everyone could do on his own.
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
cmon - I agree with what you are saying in principle but that's a bit harsh, he only asked the same as I. But maybe if someone does feel like going off and doing all the research anyway then they could share here as that is what we do right :good:

Anyhow, I always think that if I can't say anything nice then I shouldn't bother so I'll shut up lol :laugh:
[Galaxy S 4 i9505 Original Android Development] worktorest:
Is it kernel related if i can't get the led to light up when I'm charging the phone? What can i do about it?
[Galaxy S 4 i9505 Original Android Development] qtwrk:
Chill out buddy, I'm sure he understands now.

I agree with you and I also agree with you that agree with him.

If you know the history of this forum,then you must know it was originally for the developers.

But after all it's a community, but it also has "search" function, have you ever thought about what it is for?

Yes, people, or someone will share it's knowledge, ideas and experiences, which means, you just have to SEARCH for it.

If you didn't find anything, then you should post your question.

The point for search is saving times for both people who asks and who answers.

Maybe your time is precious or you just too lazy to search it and choose to post a question and wait for answers, but please do remember, other people's time is precious exactly as yours and they are NOT obligated to answer you.

I, myself used to do the same, post a question and wait for answers, as my English wasn't that good back the time to read long text of English, as matter of fact it still gives me headache when reading long text English , but then I soon realized most of question I had in mind, could be google out in few minutes.

On the other hand, wait for answers could take few hours even days and may go unanswered...

But please, I did NOT mean any offense.

I don't have problem on this, because I think someday, they will know, or probably experience what I have been though and then start to google...

---------- Post added at 03:41 PM ---------- Previous post was at 03:36 PM ----------

I think it's about ROM or application that controls LED

Something like this in the setting
[Galaxy S 4 i9505 Original Android Development] Conito11:
[MENTION=1897326]googy_anas[/MENTION]

Dude this is great, really love it. Just I have one question... Since i flash this kernel I can't take catlogs any more. What could be?

My best regards... actually I'm with 1.1.1 can I upgrade to 1.1.2 of my base is different fnb9?
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
You are fine to update - I think logs are off by default, there is a setting in Stweaks, can't say exactly where as I'm on a different ROM/kernel combination right now, quite easy to find though ;)
[Galaxy S 4 i9505 Original Android Development] OmniSlyfer:
I hope you are joking.

First of all, I NEVER asked for a complete explanation of each values. I asked only what types of advantages I can get if I enable these options.

Second, yeah I use google often, much more that you can think, and what I've learned in these few months about android came form Google. However, if you search all these values on google, if you are lucky finding a website that explains it without using a too specific language, maybe you can understand what they do. But this often doesn't happen. Do you want an example? Kernel panic. I know that a Kernel Panic happens when there is for example and error with the memory, and this causes smartphone to reboot or freeze. But setting the value 'Panic' to 10, it still has no sense to me. But I repeat I'm not interested in each single definition.

Third, whenever a friend ask me something, something that can be found on Google like "Hey, can you suggest me which graphic card is better with a budget of 100€" or "which smartphone is better between the M8 and galaxy S5", if I have time I always answer. They are happy because they saved time, and I'm happy because I teached them something. And I never felt abused for that.
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
cmon now girls :laugh:

[MENTION=5702874]OmniSlyfer[/MENTION] - I just stuck up for you dude, now leave it yeah :cool:
[Galaxy S 4 i9505 Original Android Development] OmniSlyfer:
I think it's called "kindness" and "desire to communicate." And there is no need to be rude or offensive if your interlocutor isn't
[Galaxy S 4 i9505 Original Android Development] DaReDeViL:
Ok guys. Calm down please. It ain't worth it.

Remember my favourite slogan : if you give a fish to a man, he'll eat one time BUT if you teach him fishing, he'll eat for days and days ....

Now please turn the page, you're both right and wrong . END OF OT !!!
[Galaxy S 4 i9505 Original Android Development] qtwrk:
[emoji12] you mean give fish to romski?
[Galaxy S 4 i9505 Original Android Development] dr.wtf:
good example to prove my point

https://www.kernel.org/doc/Documentation/sysctl/kernel.txt

have googled this in 5 seconds. literally 5 seconds. opening new tab and typing in "panic documentation" gives you the first hit. you can't tell me you don't understand what it says.

sorry googy, i'll shut up now...
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
are you into Taoism by any chance ?
[Galaxy S 4 i9505 Original Android Development] DaReDeViL:
No, I'm muslim but my way of life turns around that Lao Tse quote " Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a life time.*"
[Galaxy S 4 i9505 Original Android Development] qtwrk:
I was wondering that in English has such similar sentence as I heard from Chinese...

How does this matter related to Taoism...?
[Galaxy S 4 i9505 Original Android Development] Ibrahim Hadi:
I am also muslim. Which googy country?

Other than that, the best of all kernel.

Enviado de meu GT-I9505 usando Tapatalk
[Galaxy S 4 i9505 Original Android Development] DaReDeViL:
Take a look at my profile ;)

Anyway, I'm from Rabat-Morocco
[Galaxy S 4 i9505 Original Android Development] Ibrahim Hadi:
Interesting, I am Brazilian, only my religion is muslim.

Enviado de meu GT-I9505 usando Tapatalk
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Ha, I'm a Catholic (but please don't hold that against me) that's very interested in Taoism, and likewise think that where God/The Universe/Inner Nature/ Messiah or whatever we chose to call Him/Her is concerned He/She really doesn't mind how we communicate with Him/Her, just so long as we do, or not as the case may be.

I like what I know of Lao Tse, not that I know a lot. I read a book whilst on holiday called 'The Tao of Winnie the Pooh and the Te of Piglet. I highly recommend to everyone and dare I say it, even better than this awesome kernel :D
[Galaxy S 4 i9505 Original Android Development] DaReDeViL:
:D

Man, why would I hold anything against you? R E S P E C T is what I show as long as it is shown to me ;)
[Galaxy S 4 i9505 Original Android Development] titi974:
Hello ! I'm just coming here to say how good that kernel is :) I just love it ! But, I've one question thought.... Is it possible for you to maybe backport files from the older bootloader concerning sixaxis controller support ? Because the app is not working anymore, and I've seen that this issue is common on kitkat, but for the S5 a dev backported old files to have it work in its new kernel (see here http://xdaforums.com/showthread.php?t=2737704)

Thanks !
[Galaxy S 4 i9505 Original Android Development] titi974:
damn, what a quick reply ! Thanks :) keep us informed concerning this, because I think I'm not the only one that would love to see this working again ! I even built a lego dock to hold the phone on the controller (like the gameklip, but with legoooos xD) !
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
It was a joke, maybe lost in translation between our different countries, in England Catholics have a lot of bad press lol, even, well especially by other Christians :laugh:

I have a lot of respect for you and what you do here, and now I understand a little more about you as a human being I think I understand why I like your kernel so much, I think your philosophy shines through in your work :good:
[Galaxy S 4 i9505 Original Android Development] DaReDeViL:
Hey, slow down ! Don't count on me for the happy ending in the style of "and they got married and had many children ..." :p ;)
[Galaxy S 4 i9505 Original Android Development] DaReDeViL:
Here's what I am working on ... :D
[Galaxy S 4 i9505 Original Android Development] qtwrk:
come on !!!!

give me the kernel !!!

I have waited for life time !!!

Anas !!!

Please!!!
[Galaxy S 4 i9505 Original Android Development] DaReDeViL:
Naaah, I'll show you how to compile it ... Said Lao Tse :p
[Galaxy S 4 i9505 Original Android Development] qtwrk:
the problem with Lao Tse nowadays is that book is written in ancient Chinese which many of us Chinese can't easily read it and easily get misunderstand the original meaning ... it's kinda pain in the ass ...:silly::silly:

---------- Post added at 09:26 PM ---------- Previous post was at 09:23 PM ----------

you are Muslim and I'm 1/3 of Buddhist, 1/3 of Taoist and 1/3 of Confucianist and let's leave Lao Tse out of this and give me the kernellllllll

or give me your source code might do it :victory::victory:
[Galaxy S 4 i9505 Original Android Development] DaReDeViL:
Ok wang, let's get to beta chat room ...
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
That's what I did (got 5) not so sure about the happy ending though lol

New kernel that you tease with might help though :silly:
[Galaxy S 4 i9505 Original Android Development] hawkerpaul:
Looking forward to this.

:)

I'm finding the stock CM kernel absolutely superb on SlimKat in terms of smoothness and battery.

Should provide you with an excellent base to work from.

:good:
[Galaxy S 4 i9505 Original Android Development] mattan1999:
Is it possible to overclock the CPU/GPU in this kernel?
[Galaxy S 4 i9505 Original Android Development] MohamedN:
No..
[Galaxy S 4 i9505 Original Android Development] MohamedN:
[MENTION=1546289]googy[/MENTION] Happy Eid & Happy Birthday
[Galaxy S 4 i9505 Original Android Development] DaReDeViL:
Thank you. The problem is that in Morocco the Eid will be on Tuesday ... ;)
[Galaxy S 4 i9505 Original Android Development] DaReDeViL:
Happy Eid to all muslims around the world :good:
[Galaxy S 4 i9505 Original Android Development] yussuf007:
Hi googy!

Do you have any plan to inplant gpu oc?
[Galaxy S 4 i9505 Original Android Development] diddsen:
[MENTION=1897326]googy_anas[/MENTION]

what does this tweaks do?

"stweaks: added special kernel tweaks toggle in misc tab (thx to [MENTION=3382081]nfsmw_gr[/MENTION] for the tweaks)"
[Galaxy S 4 i9505 Original Android Development] nfsmw_gr:
Those tweaks are used to tune some of the kernel's variables and try to provide more smoothness, better performance, and better memory management.
[Galaxy S 4 i9505 Original Android Development] OmniSlyfer:
Finally someone answered to my question too T.T

Well, now I will turn back to report problems I've found:

1. Am I the only one who notice a bad audio quality during call? I've reduced the headphone preamp to 30, but the audio is still a little disturbed and the voices are not "clean" (sry, I don't know how to explain it better). I know I've already reported this problem some week ago, but it is a big problem for someone that make calls often like me, and I need to know if it's only me or what...

2. Is it normal that the GPU is constantly kept at 320 MHz, also when the smartphone is resting (but the screen is turned on ofc)?? I was monitoring the GPU with Trickster Mod, black theme, so the screen was 75% turned off, and the GPU was at 320 MHz. I though it was an error, so I checked it with Faux Clock. Same results. Then I've tried setting the governor to Simple. Nothing changed. Tried to modify the values of simple governor with Faux app, in order to get a more conservative behavior, then reboot. No changes.

I'm reporting that because with other kernels the GPU was at 128 during rest moments. But maybe it's normal.

Also I would like to make a question. Is darkness kernel tunable in the kernel files? Because I would like to understand how does it works and maybe tune it a little, and I didn't found a good explanation of this governor on internet :)
[Galaxy S 4 i9505 Original Android Development] adnan7khan:
Thanks A lot for the Wish , Sir ♡

Bless ya

&

Thanks Again for the latest version of kernel too :)

2 lil Requests

Mentioned earlier too.

1- If you could plz add Mute speaker notifications while headphones are plugged in, STweaks.

2- Cpu Power saving levels in STweaks.

:)

KhaN
[Galaxy S 4 i9505 Original Android Development] remorema:
1.1.2 TW is amazing

Over 3h sot with 50% battery! Holy cr@p.

And the most amazing thing is that is effortless. You don't have to loose hours tweaking it around. Just a couple of settings here and there and your done. Oh and btw this isn't even my battery profile lol. This scores were done with my balanced profille where I score over 29k in antutu. Amazing kernel Googy. Keep it up.
[Galaxy S 4 i9505 Original Android Development] magikmichael:
Can you share your settings pls
[Galaxy S 4 i9505 Original Android Development] remorema:
I actually didn't done much.

Disabled android logger enabled the new special settings undevolted CPU one step in all frequencies changed scheduler to fiops. Kept CPU and GPU governor and clocks by default.

As I said effortless almost no tweaks at all.

Other than that I have few greenified apps, use manual brightness, use idle WiFi manager to turn off network connections when screen is off and that's pretty much it.

One full charge delete battstats.bin , let it fully drain and ful charge again with no interruptions for calibration. I use 1900mA for faster charge.

ROM is phoenix v9.3 with some extra stuff from 9.4 and a couple of mods. Nothing extraordinary

Right now still on the same battery circle 4h08m screen on time and still at 38%

Try to leave it plugged for an extra hour or two even if it says 100% charged please remove charger or even better first charge before calibration with phone off.

Don't take this as gospel cause results might differ with different phones and usage type. If I play games it drains much faster and only get about 4h screen On time
[Galaxy S 4 i9505 Original Android Development] DaReDeViL:
Can you please try 1 & 2 with stock kernel ?
[Galaxy S 4 i9505 Original Android Development] maurocds:
thanks for kernel, battery is great using gpe rom

btw

is there a way to disable cores?

i wish it had some funtions franco kernel has for nexus phones, but still it is great
[Galaxy S 4 i9505 Original Android Development] nick123ablxx32:
liquidsmooth

googy just wanted to say thanks for finally releasing a CM11 kernel :)

just wanted to know does it work with LS :good: ?
[Galaxy S 4 i9505 Original Android Development] wallah:
But why v1 work fine with GoldenEye ?
[Galaxy S 4 i9505 Original Android Development] guastucci:
Works fine here. Echoe rom. Wiped cache, dalvik and used the kernel script cleaner before install. After install wiped cache and dalvik. Works fine. Only FC with faux sound app.

Enviado de meu GT-I9505 usando Tapatalk
[Galaxy S 4 i9505 Original Android Development] DaReDeViL:
Faux sound app will (most probably) crash as I modded the sound engine itself, but you can use stweaks to tune it ;)
[Galaxy S 4 i9505 Original Android Development] hanspampel:
Its not the only Rom where your kernel doesnt work. But the other kernel are working on the Roms. So it must be something incompatible with YOUR kernel.
[Galaxy S 4 i9505 Original Android Development] davtse:
The issue is being investigated. And going according to your train of thought, other roms are working with the kernel , so it must be something incompatible with YOUR rom.

A little diplomacy instead of pointing fingers will go a long way. There's no need to be rude about it.
[Galaxy S 4 i9505 Original Android Development] DaReDeViL:
Huh? Did I say it's ROM fault ????

I said there's a mod or change in the ROM and that I am investigating ... in order to adapt the kernel !!!!! So please .....
[Galaxy S 4 i9505 Original Android Development] DaReDeViL:
EDIT: What other roms aren't booting ?
[Galaxy S 4 i9505 Original Android Development] Romcrazguy:
Googy this one

http://xdaforums.com/showthread.php?t=2679913
[Galaxy S 4 i9505 Original Android Development] DaReDeViL:
This one = this one doesn't boot too ?

Envoyé depuis mon GT-I9505
[Galaxy S 4 i9505 Original Android Development] hanspampel:
It was not my intention to be rude. I only want to clear up that other kernel works on "the affected Roms" maybe Mods.;)

So here my Rom which doesnt boot.

click me

Keep up the work, waiting for a booting version now.:good:
[Galaxy S 4 i9505 Original Android Development] DaReDeViL:
Jawohl !

Envoyé depuis mon GT-I9505
[Galaxy S 4 i9505 Original Android Development] cheezusweezel:
WanamLite v2.6 + Kernel v1.0.1 is booting/working.
[Galaxy S 4 i9505 Original Android Development] Romcrazguy:
Yes doesn't boot
[Galaxy S 4 i9505 Original Android Development] livystewy:
Download link?
[Galaxy S 4 i9505 Original Android Development] DaReDeViL:
Download section!
[Galaxy S 4 i9505 Original Android Development] RayySP:
Hey googy, Sammy Deluxe ROM S5 Edition also doesn't boot with v1.0.1

v1.0.0 does boots the ROM.

Hope you can investigate this out too. Cheers! ;)
[Galaxy S 4 i9505 Original Android Development] davtse:
This will take some time. We're currently downloading GE first to troubleshoot since it was the first reported ROM. Please be patient guys...
[Galaxy S 4 i9505 Original Android Development] Romcrazguy:
davtse this is a TW kernel so why will you be troubleshooting GE .. doesn;t make sense to me