[KERNEL] [4.4.x] BIDJI Kernel for OMNI/ASYLUM Find-5 3.4.y Vanilla Hybrid+ (08/10)

eoghan2t7

Recognized Contributor
Jan 18, 2011
4,371
2,650
253
Belfast
You're missing some codes on kernel/sched
try sync it with faux's

Look on his
- kernel/sched/core.c line 2269

Code:
unsigned long avg_cpu_nr_running(unsigned int cpu)
{
unsigned int seqcnt, ave_nr_running;

struct nr_stats_s *stats = &per_cpu(runqueue_stats, cpu);
struct rq *q = cpu_rq(cpu);

/*
 * Update average to avoid reading stalled value if there were
 * no run-queue changes for a long time. On the other hand if
 * the changes are happening right now, just read current value
 * directly.
 */
seqcnt = read_seqcount_begin(&stats->ave_seqcnt);
ave_nr_running = do_avg_nr_running(q);
if (read_seqcount_retry(&stats->ave_seqcnt, seqcnt)) {
read_seqcount_begin(&stats->ave_seqcnt);
ave_nr_running = stats->ave_nr_running;
}

return ave_nr_running;
}
EXPORT_SYMBOL(avg_cpu_nr_running);
#endif
- kernel/sched/sched.h - intelli_plug: refactor stats calculation code to be less intrusive

hope it'll help.
Thanks I had a felling I missed a patch somewhere lol I'm currently merging all faux's updated commits before I do anymore kernel.org patches ;)
 

TKPL

Senior Member
Sep 12, 2013
98
7
0
Your only issue is because you didn't choose the right kernel version.


w/ S2W means the version uses "Swipe to Wake" only. Screen off gesture and Double tap to wake are turned off.

w/ SOGDT2W means the version uses "Screen Off Gesture" and "Double Tap to Wake". Swipe to wake is turned off.
Why can't be enabled both? :confused:

---------- Post added at 04:06 PM ---------- Previous post was at 03:50 PM ----------

Features :
...
- CPU OC-able up to 1.94
- CPU UV-able
- GPU OC-able up to 487mhz
- GPU UV-able
- Gov : Intelliactive by faux and some more
- Zram
- Fast-charge option
...
This is very nice! Doesn't this affect the battery?
 
Last edited:

TKPL

Senior Member
Sep 12, 2013
98
7
0
I'd like to try this kernel but I wonder why there is an issue like this:
Ok, here my results:

Rom > Su > Kernel > Reboot ------> Wifi = KO
Rom > Su > Reboot ------> WiFi OK > Kernel ------> WiFi = OK
Rom > Kernel > Reboot ------> WiFi = OK > Su ------> WiFi KO !!!!!!!!! That's weird!!! :eek:
 

itrof61

Senior Member
Oct 15, 2011
141
17
0
As I mentioned before, Eco-Mode is a mode where on most of the time our phone will only using 2 cores, and only gonna use all of it's cores when under a heavy load.

In the new Intelli-plug, Faux decided to bring up profiles instead of eco-mode, where Performance and Conservative will use 4 cores at all time and Eco-performance and Eco-conservative will use 2 cores most of the time.
so it uses all cores when in heavy load, I thought it disabled the other 2 cores. This is better than I thougth. :D
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone