FORUMS

CloudPlayer: DIY HiFi Music Streaming Solution

In our Helpful Guide to Music Streaming Services, we mentioned several different services … more

Optimize Battery Life with This Useful App

Battery life is an important aspect of your smartphone, especially if you use it for more … more

The OnePlus 2 & The Year of Smartphone Compromises

We are very close to entering the last third of 2015, and we have now seen many of … more

OnePlus 2 Teardown, Major Android Vulnerability – XDA TV

The OnePlus 2 has been officially released. That and much more news is … more

[KERNEL] KING's Kernel

2,193 posts
Thanks Meter: 4,888
 
By KINGbabasula, Recognized Developer on 10th May 2014, 03:23 PM
Post Reply Subscribe to Thread Email Thread
19th June 2014, 09:12 AM |#71  
KINGbabasula's Avatar
OP Recognized Developer
Flag Treviso
Thanks Meter: 4,888
 
Donate to Me
More
Quote:
Originally Posted by Paul L.

@KINGbabasula hey, why you don't add this? https://github.com/android/kernel_co...87e153197a454f

The changes are pretty simple to add a tunable that Android can access to free some memory when needed. This is the kernel used for, well, Nexus devices.


And I merged this on cm-11 kernel, pretty simple commit too.
https://github.com/alin23/render_ker...6f90c9e425f869

Becaus I didn't even know that commit exists I'll add it now, thanks.

Quote:
Originally Posted by tasosf

Wifi refuses to turn on since I installed v. 6 (latest). On J-team AOSP...

Here it's working without problems
Last edited by KINGbabasula; 19th June 2014 at 09:19 AM.
 
 
19th June 2014, 09:25 AM |#72  
Toni5830's Avatar
Senior Member
Flag Somewhere over the Rainbow
Thanks Meter: 433
 
More
Quote:
Originally Posted by Paul L.

@KINGbabasula hey, why you don't add this? https://github.com/android/kernel_co...87e153197a454f

The changes are pretty simple to add a tunable that Android can access to free some memory when needed. This is the kernel used for, well, Nexus devices.


And I merged this on cm-11 kernel, pretty simple commit too.
https://github.com/alin23/render_ker...6f90c9e425f869

So we should edit this line
Code:
int extra_free_kbytes = 0;
and writee there how many kbytes we want the kernel to free? so until it's 0 this commit has no effect, right?
19th June 2014, 09:31 AM |#73  
KINGbabasula's Avatar
OP Recognized Developer
Flag Treviso
Thanks Meter: 4,888
 
Donate to Me
More
Quote:
Originally Posted by Toni5830

So we should edit this line

Code:
int extra_free_kbytes = 0;
and writee there how many kbytes we want the kernel to free? so until it's 0 this commit has no effect, right?

No. That's a sysfs interface. When it's declared that way in sysctl.c it will create the file declared in .procname in /proc/sys/vm . As .procname is "extra_free_kbytes" you will get this file /proc/sys/vm/extra_free_kbytes where you can edit the value
The Following User Says Thank You to KINGbabasula For This Useful Post: [ View ]
20th June 2014, 11:14 AM |#74  
Paul L.'s Avatar
Senior Member
Flag Mendoza
Thanks Meter: 3,894
 
More
Quote:
Originally Posted by KINGbabasula

No. That's a sysfs interface. When it's declared that way in sysctl.c it will create the file declared in .procname in /proc/sys/vm . As .procname is "extra_free_kbytes" you will get this file /proc/sys/vm/extra_free_kbytes where you can edit the value

Well, *supposedly* is for Android to ask the kernel to free some memory when needed; but you can also put a static value if you want.
21st June 2014, 07:18 PM |#75  
Theyonut's Avatar
Member
Thanks Meter: 20
 
More
wifi not working with AOSP 4.4.4. With previous build works fine
The Following User Says Thank You to Theyonut For This Useful Post: [ View ]
22nd June 2014, 11:58 AM |#76  
Alberto97's Avatar
Senior Member
Flag is not working
Thanks Meter: 2,302
 
Donate to Me
More
Quote:
Originally Posted by Theyonut

wifi not working with AOSP 4.4.4. With previous build works fine

Impossible, it shouldn't works also with the "After Final" build, caused by the new kernel...
2nd August 2014, 04:55 AM |#77  
Member
Thanks Meter: 13
 
More
This kernel works on 4.4.4 AOSP?
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes