CyanogenMod 12.1 for YU Yureka

YU Yureka recently received an official Cyanogen OS 12S update. If you prefer to use a newer revision of … more

Open War for Open Android: Antitrust for Cyanogen?

Android and openness is something we talk about all the time, but the recent … more

What Do You Do with All of Your Old Photos?

Smartphone cameras have advanced so tremendously over the past few years that they have … more

Diving into the April 2015 Material Design Update

Before the release of Android 5.0 Lollipop, the Holo Design guidelines served as the … more
Post Reply Subscribe to Thread Email Thread

[KERNEL] KING's Kernel

19th June 2014, 09:12 AM |#71  
KINGbabasula's Avatar
OP Recognized Developer
Flag Treviso
Thanks Meter: 4,713
 
2,173 posts
Join Date:Joined: Jan 2013
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: 423
 
580 posts
Join Date:Joined: Jul 2012
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,713
 
2,173 posts
Join Date:Joined: Jan 2013
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,876
 
908 posts
Join Date:Joined: Nov 2011
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
 
80 posts
Join Date:Joined: May 2013
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: 1,852
 
412 posts
Join Date:Joined: Feb 2012
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: 8
 
53 posts
Join Date:Joined: Mar 2013
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