[Kernel][06|09][ncx-v.0.99a|UV-C|2 versions|1.29 base|SENSE|AOSP|AOKP|CM - HTC One X

== | ncx-v.0.99a | ==​
2.6.39.4​Based on HTC Source: 1.28.401.9​
Impressions about battery life in v.0.65​
2 hours 5 minutes total onscreen time, 1 hour 25 minutes active navigation, 25 minutes Webbrowsing, 3 phone calls about 15 min total, 15 minutes of play around with folders, market and wrote 2 sms. Its down to 64% so if you multiple this behavior x3 (to reach 0 %) its possible to archieve an onscreen time from about 6 hours with a charging cycle of 28 hours !​
Why another Kernel ? faux, kholk and showp1984 did a great job !
I want to learn, how modifiying of a Kernel works. The best way to do that, is code, watch others and learn from them.
My opinion: You can only learn from someone whos better than you, and well there are many guys out there !
Its also important to code on your own. I just want to share my progress and fix reported errors on my own.
Feel free to PM me if you think you can help me !
Is this Kernel only a collection of commits from others on Github ?
As I am not that good in coding C, i get my inspiration from the guys mentioned above. I watch their repos and commits,
look what they did, and try to understand it. After that i try to code a similar solution on my own. I am able to code C,
and i´m not new to linux, but i´m new to ARM stuff and "hacking" the Kernel !
Whats the personal goal of this Kernel when its finished ?
-) fix compiler warnings
-) debug and understand kernel oops
-) modify governors to be not that aggressive
-) disable this annoying cpu poke to 1,5 GHz (ondemand) when waking up device >> fixed
-) enable voltage control (based on what faux123 did) >> done
-) use freqs. below 304 MHz (v.0.1 wont get below 304 MHz) >> fixed
-) integrate patches from Linux 3.x Kernel
Give it a shot, report back. I would really appreciate it !
Credits:
I want to thank faux123, kholk and showp1984 for their help on getting me started with this.
I know, there were a lot of questions but this guys always gave me an answer.
You guys rock.. definately ! I owe you a lot ! All things in this Kernel are based on the work of this 3 "coding cracks".
they know what they do, and they are doing awesome !
CHANGELOG
Code:
[B]ncx-v.0.1[/B]
- initial release
- fixes from showp1984 to stabilize the Kernel
[B]ncx-v.0.15[/B]
-fix cpu frequencies usage below 340Mhz
[B]ncx-v.0.2[/B]
- fixed some compiler warnings
- allow 51 MHz screen usage (thx showp1984)
- fix bluetooth pairing (updated drivers, thx TEAMNDVRU)
[B]ncx-v.0.23[/B]
- a few code cleanups
- no more cpu poke to 1.5 GHz when screen off/on :) (thx franco, trip)
- also desired values (for example 1 GHz) stick after screen off / on
[B]ncx-v.0.25b[/B]
- added lagfree governor for testing purposes
- fixed a compiler error
- tweaked lagfree governor battery/performance
- unity games on JB builds are now working (thx TEAMNDVRU)
[B]ncx-v.0.26[/B]
- re-tweaked lagfree
- set min / max freq after boot to 102MHz / 1500 MHz
[B]ncx-v.0.30[/B]
- set min / max freq after boot to 51 MHz / 1500 MHz back again (testing finished)
- added V(r) I/O scheduler (big thx kholk)
- enabled deadline scheduler
- added some information "ONDEMAND TWEAKS" to OP
[B]ncx-v.0.40[/B]
-fixed screen flicker issue (patch from new source 1.29)
-default I/O scheduler: deadline
-some other patches from new source (1.29)
- big thx again to Kholk ! (most of the changes are his work)
[B]ncx-v.0.55[/B]
- ENABLED Voltage Control (faux´s work, I only integrated it ! send him a beer, awesome Job)
- removed userspace, conservative, powersave govenor
- play arounds with ondemand governor :D
- still working on a proper lagfree gov
[B]ncx-v.0.60[/B]
- updated interactive governor to nexus grouper baseline
- changed ondemand governor to nexus grouper baseline
- deactivated 2 phase freq for testing purposes
- some fixes (compiler errors)
[B]ncx-v.0.71[/B]
- fix 2 section mismatches
- set deadline as default sheduler
- deadline tweaks
- added XZ compression method so files will be smaller
- set ondemand a bit more aggressive
- some other stuff (check github)
[B]ncx-v.0.75[/B]
- fix set deadline default @ bootup
- some changes in defconfig
- optimized for speed instead of Size (thx LorDClockaN)
[B]ncx-v.0.80[/B]
- fix for multitouch games (tbalden, awesome stuff, awesome guy)
- enabled KSM
- fix some compiler errors
- GPU clocked now @ 520MHz in OC version (BIG THX to KHOLK AND FAUX, brilliant work)
- another round of playing with onedemand
[B]ncx-v.0.83[/B]
- added SIO (Simple I/O scheduler)
- added bfq v.4 scheduler
[B]ncx-v.0.85[/B]
- added smartass V2 Governor (for testing)
- added UKSM
[B]ncx-v.0.90[/B]
- fixed bootloops on some Sense Roms
- should now boot on every ROM
- removed XZ compression
- removed SmartassV2 governor
[B]ncx-v.0.99[/B]
- XZ compression is back
- GPU now on stock @ 520 MHz as Tegra 3 should be
- All cores can hit 1,5GHz (testing, temps are totally ok after 1 day of intensive testing)
- removed lagfree governor
- set bootup freq to 102 - 1200 MHz
- ondemand stuff by LorD
- huge amount of fixups to LP Core by the one and only faux123 ! Big THX for that
- fixed WIFI on SENSE ROMs
[B]ncx-v.0.99a[/B]
-) fixed usage of freqs below 340 MHz on Sense Roms (51, 102, 204 now available)
-) strange 100 MHz freq is finally gone
Known issues:
-) You tell !
Download Kernel & Modules
Version 1: GPU @ 520 MHz, All 4 cores can hit 1,5 GHz simultaneously
ncx-v-0.99a boot.img
ncx-v-0.99a kernel modules
Version 2:, GPU @ 414 MHz, removed 1,5GHz single core step, 2 Cores can hit 1,4GHz simultaneously , 4 Cores can hit 1,2 GHz simultaneously
ncx-v-0.99a boot.img
ncx-v-0.99a kernel modules
I´m working on Slim ICS and CM9 Beta 5, (both are ICS builds) Ice cold Jelly 0.5 and CM10 Pre 12 (both are JB builds) to test stuff.
Desired frequencies stick on both but on JB we need a little trick as Power HAL (integrated on Jellybean builds) keeps overwriting it!
Google introduced this on JB builds! If you want to know how to do this, PM me. THX to LorD and tbalden for guiding me into the right direction !
Howto install:
-) boot into bootloader
-) fastboot erase cache
-) fastboot flash boot boot.img
-) fastboot erase cache
-) boot into recovery
-) wipe cache, dalvik and battery stats
-) flash modules from .zip
-) reboot into system
Screenshots / battery drain
CM10 Preview 10 / First charging cycle
CM10 Preview 10 / Second charging cycle
Howto improove battery life:
-) switch OFF Bluetooth and WIFI. Turn it on ondemand (This saves a lot)
-) leave governor as it is. Ondemand is simply the best one for One X
-) Use custom automatic screen brightness (my highest level is 140)
-) I use SLIM ICS as ROM, it seems to be the battery friendliest for me
If you follow this steps, you should archive 4 hours of screentime easily
with an overall time of 20 hours. I use my phone as followed:
Web, Navigation, Phone Calls, BT Pair with car, SMS, NO games
Ondemand tweaks (should also improove battery life):
As there are too many different ramdisks, its better to apply tweaks on your own after boot. Each Ramdisk is different and boot
with different gov settings
-) grab an app like setcpu where you can add own governor settings
-) SAMPLING RATE: change to 120000 (default is 10000)
-) UP TRESHOLD: change to 95 (default is 90)
-) SAMPLING DOWN FACTOR: change to 1 (default is 5)
Github
Link for Sense Kernel, built with 4.4.3 Toolchain, branch master
Link for AOSP, AOKP, CM Kernel, built with 4.4.3 Toolchain, branch master
Disclaimer
-) I am not responsible for bricked devices
-) you do this on your own will
-) If you flash this, your warranty will be void

DONT flash kernel, before reading stuff mentioned below:
-) THIS is not chic IPHONE stuff, you should have some basic knowledge on how to do some things on ANDROID.
-) You encounter an error ? Ok, i will look into it, but you have to follow the rules:
-) ALWAYS tell me following stuff: wich ROM ?, wich KERNEL, UNDERVOLTED ? , wich GOVERNOR used ?
-) You should also provide following stuff so i can look into the issue further:
-) last_kmsg, logcat (you dont know how to get thos files or dont even know what this is ? Ok i will tell you:
-) last_kmsg: connect phone with usb, open up a shell in linux or a CMD in windows, cd to your adb directory and write this: cat /proc/last_ksmg > /sdcard/last_ksmg.log
-) grab the file from your sdcard and provide it to me
-) logcat: This is easier for lazy people, download alogcat app from playstore, fire it up, and extract out the log. Also provide this to me.
-) repack kernel for your ROM with the following online repacker: www.nibble.cc/repack
-) posts like "I had a reboot" or "phone crashed" without proper information will be ignored
Frequently asked questions, answered here:
Q: My music slows down on AOSP builds with ncx Kernel, what can i do ?
A: Switch to interactive governor, known issue on AOSP JB and ICS builds
Q: My freqs reseted back after screen off, I´m on a JB build, what can I do ?
A: Delete the following file out of your ROM: system/lib/hw/power.endeavoru.so. Then reboot ! Done -> they will not go back
Q: Where is sweep2wake ? Is it integrated ? Is it planned ?
A: I think about it, when i did all other stuff thats more important to me !
Q: My phone freezes, what should I do ?
A: Dont undervolt that much. To be sure, provide me last_kmsg and logcat
Q: I had a random hot reboot on JB builds, why this ?
A: All JB builds suffer from it with every Kernel ! Wait until JB is stable, flash ICS or Sense, or buy an Iphone and be a subuser on your own system

Great to have you here, welcome!
Sent from a gadget...

Welcome over here!
Always good to see fresh people here especially in development of kernels.
Wish you good luck!
Sent from my VIPER-X powered ONE X !

That's great. thanks for share.

interested regarding your voltage control...is that a way to get a cpu app to control the voltages

as i said, it will be not much different than faux or kholks version.... i´m in learning process...
What do you mean with an app for voltage control ? We allready can control it via system tuner !

The more devs the merrier, always good for us common users.
Goodluck
Tapatalked from my HOX

update:
v.0.15, freqs below 340 MHz should now be used, DL in OP for Jellybean and ICS builds ! Will add my kernel later to my repack thread !

Thanks for this. Been a fan of your repacked kernels thread.
I have a question though, I am now on Trip's CM10 build 02. Will there be any problem if I flash your kernel with the correct ramdisk?

you can try 0.15 for Jellybean Ramdisk from OP ! If it doesent boot i need to repack it for trips ramdisk, then you have to wait until i have time. :fingers-crossed: But i think it should boot (i´m on CM10 from tb and mdj and it works !

Downloaded the one with (ICS ramdisk, use this if you are on a Jellybean build)
I can confirm that it is not working.

faidz85 said:
Downloaded the one with (ICS ramdisk, use this if you are on a Jellybean build)
I can confirm that it is not working.
Click to expand...
Click to collapse
omg i have a typo in op.... you have to download the other... sorry corrected now.
You need JB RAMDISK for JB build.

n3ocort3x said:
omg i have a typo in op.... you have to download the other... sorry corrected now.
You need JB RAMDISK for JB build.
Click to expand...
Click to collapse
Lol saw that typo. Thought maybe I was just mad. But that's a nasty little typo.
Good luck with the development, will keep my eyes peeled.
Sent from my HTC One X using xda premium

Haha...I realized that too but the sentences were too complete so I thought that was what is intended. Anyways that error spoilt my CM10 install but not much of a problem though. It was just a test run anways.
Now I am back to SlimICS and will try out your kernel

seems like uv is not possible with system tuner, or missed I something?

TUN_SD said:
seems like uv is not possible with system tuner, or missed I something?
Click to expand...
Click to collapse
no mate not yet ! (read OP) :laugh: , its stable and nearly stock, but it has really nice battery life ! UV will follow asap !

n3ocort3x said:
no mate not yet ! (read OP) :laugh: , its stable and nearly stock, but it has really nice battery life ! UV will follow asap !
Click to expand...
Click to collapse
lol, my fault. actually I´m on the run, just wait for a call.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
first mention, I flashed the jb version + modules, and the headphones now not recognized anymore.
but maybe that depends on the very early alpha state of these roms.

TUN_SD said:
lol, my fault. actually I´m on the run, just wait for a call.
first mention, I flashed the jb version + modules, and the headphones now not recognized anymore.
but maybe that depends on the very early alpha state of these roms.
Click to expand...
Click to collapse
Tbalden committed a fix for it in his kernel... I will push it and in my next version of the kernel and then its fixed... the for feedback

n3ocort3x said:
Tbalden committed a fix for it in his kernel... I will push it and in my next version of the kernel and then its fixed... the for feedback
Click to expand...
Click to collapse
Though some may neglet this looking at your thanks count and your Senior member status. I must say THIS IS AWESOME!!! GREAT WORK MAN ><, and anyone who hasnt tried this are really missing out. Ditched faux b7 just to try this for a week and see how it goes. GG
Really wish I could contribute more and start learning this kind of useful stuff, but i have 0 background on coding..and dont know where to dive in LOL

Related

[Kernel][JB & ICS] Leankernel: Minimalistic Kernel (ICS 3.10.0, JB 4.2.0 , 7/23/12)

[Kernel][JB & ICS] Leankernel: Minimalistic Kernel (ICS 3.10.0, JB 4.2.0 , 7/23/12)
Mod Type:: Kernel
Difficulty:: Very Easy
Mod Status:: Stable
Apply In:: CWM Recovery
Requires Root:: Yes
Source::
This is a minimalistic Galaxy Nexus kernel. My philosophy is to keep the kernel as lean and stable as possible, at the same time to keep the kernel as modern and close to latest mainstream linux as possible. You will see that my kernels will lack some of the bells and whistles from other kernels.
DOWNLOAD
JB: stable
Terminal Emulator not finding my scripts? Read this post.
Stock JRN84D kernel
JB: experimental builds (4.x and above)
ICS: stable
Experimentals & notrim builds (NOTE: 3.9.0exp6 is the latest and is equivalent to 3.10.0 stable)
all files
commit/change log (always up to date)
FEATURES
Patched to latest in Linux 3.0.x branch: 3.0.38.
All unnecessary kernel components removed to make kernel lean and fast!
OC to 1.65ghz. Boot speed is maxed at 1.2ghz within kernel (in addition to ramdisk) for stability.
User voltage control
InteractiveX V2 (screen-off hotplug of cpu1) added. Select it using setcpu if you want to use it.
Ramdisk tweaks (sysctl, vm, filesystem speed, etc.)
SWAP & zram (next generation compcache) support. Run "zram enable" in terminal.
init.d support in ramdisk.
lk.conf for basic kernel configuration.
HotplugX governor (Hotplug optimized and modified for screen-off suspend).
wakelock tweaks for wlan and lte modem
lkflash - script to flash latest versions of leanKernel from Terminal (type "su" without quotes, hit enter, then type "lkflash" without quotes and then hit enter)
checkv - voltage checking script (for custom undervolting) - detailed at bottom of this post.
checkt - script that displays 1) your current temp, 2) # of times you were throttled due to temp "recently", 3) CPU trim type, and 4) CPU silicon type, etc. (sample output)
Fast USB charge (by chad0982) and "ffc" toggle script by me. (Open terminal, and type "ffc" without quotes then enter)
ColorControl from both CM9 and Ezekeel (compatible with all ROMs). Helpful posts: 1and 2.
TempControl - sysfs interface to control the CPU temp threshold. Read these two posts: 1 and 2.
Variable GPU OC - sysfs interface to select GPU max speed between 307MHz (stock), 384MHz and 512Mhz. The changes take effect immediately. Check FAQ for more info and how to use it.
Custom SR Tuning - override kernel default minimum voltage for SR calibration. More info here and here. V2
SoundControl
Gamma Control
DIRECTIONS
Uh.... flash the zip in clockworkmod.
FAQ
SOURCE
ICS
JB
Thanks to forum member maddler for providing file hosting: http://www.host4droid.com/
Third party mods (not tested by me so use at your own risk)
Jakes lean tweaks.
Donate to your favorite charity, or donate to me.
Anyone flash this yet? I'm only concerned about battery life.
CHANGE LOG JB
v4.0.0 - Initial release (JELLY BEAN ONLY)
v4.1.0 (fefb04211256bd082776fab735acd56b) - change log
v4.2.0 (7ce15474db2baee1ffef86b0a46e4f0a) - change log
CHANGELOG ICS
v1.0.0 - Initial release
v1.0.1 - Fixed power off charging (only upgrade if you care about that).
v1.1.0 - rcu code updated to linux 3.2-rc7, boot speed max forced to 1.2ghz within kernel (stability), hotplug governor should be more stable now, zram enabled including custom enable script (run "zram enable" in terminal), small bug fixed in voltage control code.
v1.2.0 - interactiveX V2 with hotplug support, user undervolting works now, and all speeds undervolted by default (clear setcpu settings before flashing), ALSA SoC driver updated to 3.2-rc7
v1.2.1 - reverted a dep voltage change I made in 1.2.0. Only update if you're experiencing stability issues in 1.2.0 (if your coming directly from a version prior to 1.2.0 make sure you clear custom voltage settings)
v1.3.0 - re-wrote a lot of my user undervolting code (fixed some bugs and probably introduced others - haha), updated dm and futex code to linux 3.2, gpu undervolt at top speed, some code cleanup. (clear setcpu settings before flashing). Oh one more thing: undervolting 1.35ghz and higher is not reliable yet and is not recommended.
v1.4.0 - updated to Linux 3.0.15 (small release), voltage regulator driver from Linux 3.2, omap clock data updated from latest official omap source.
*v1.5.0 - updated to Linux 3.0.16 (big update), more accurate/reliable user voltage control for frequencies less than 1.35ghz.
v1.6.0 - read this post.
v1.6.1 - *battery drain - being fixed*, updated to Linux 3.0.17, fixed potential memleak in slub allocator, small omap4 update from android-omap source.
v1.6.4 (pulled - stay tuned) - moved some of the features off of 1.6.1 (but kept them in experimental) in order to fix/pinpoint potential source of battery drain possibly introduced in 1.6.1. You do not need to upgrade from 1.6.1 if it's working fine for you. Cpufreq updated to Linux 3.3.
v1.6.6 (bd0730ad3f57e050942356b647821256) - Fixed pm_suspend bug introduced by the Linux 3.0.17 patch *this fixes battery drain issue in 1.6.1 and 1.6.4*. Where's 1.6.5?
v1.7.0 (a7f3d241d68fd48c9f216e8399226e9d) - a bunch of fixes and updates from android-omap source including the hotplug fix, deadline scheduler updated to linux 3.2.
v1.7.1 (c2d0d4c59c198bb3f2281f164442ac0f) - removed some omap patches from 1.7.0 that may have been causing issues.
v1.7.3 (049a8ce4be0f0a392d6c0b694de1ad73) - went back to 3.0.16 base as I suspect there were more things in 3.0.17 causing subtle issues in releases newer than 1.5.0. Added a fix to reduce screen unlock lag in interactiveX. Brought back some of the OMAP patches from upstream android-omap source.
*v1.7.4 (3619144bee4cd86883692b48971ee5f8) - applied the rest of OMAP patches from android-omap source. Partially updated to 3.0.17. Wireless ADB support (if ROM has built-in support for it).
*v1.8.0 (7ddb6ac13d01ceaeed25b83ab13afb8c) - Updated to Linux 3.0.18 (big update - lots of fixes/changes). An omap driver fix. A fix for stalling RCU processing. Ramdisk changes for CM9 (or CM9 based ROMs) compatibility. This version should theoretically be smoother than the previous versions.
v1.9.0 (f703a8912d4dd19f82cc4bf17f37f1cd) - detailed log here.
*v1.10.0 (e9f2c4f2b458ddddeebfba842bb51756) - updated to Linux 3.0.20, completely modernized memory management compaction/migration code to Linux 3.3-rc3 (which also includes backporting much of the mm code)
v2.0.0 (a6a518d0a243c071ef6c02445acf2645) - detailed log here.
v2.0.1 (d9457f5fd0d9a74bc1c7fe37e1856907) - custom UV related issues (haptic feedback, volume, etc.) fixed. Custom UV code improved.
v2.1.0 (3362b0879e8a11681dc3e78eef38e4aa) - detailed log here.
v2.2.0(41296a907dd27cbc25593dbbda0e7fe0) - detailed log here.
v2.3.0 (c024897dd55ec4789fb998adb957a855) - detailed log here.
v2.4.0 (6e528aa35a51fc526939be2d51b4c295) - detailed log here.
v2.4.1 (be8d706f851b2700e035b8bd49abe27c) - detailed log here.
*v2.5.0 (793c7be3b35ab35beef3fa1797405378) - ColorControl, TempControl, ext4 optimizations
v2.6.0 (dc015f7c87ac5282ed1693063bd8a24a) - detailed log here.
v2.7.0 (a0a1b5c5de6ae103ce1cbf852fb8990d) - detailed log here.
v2.7.1 (a87b733e31aa9b7a0c447a76f2b5c708) - ColorControl modified to support CM9/AOKP interface as well. (no need to upgrade from 2.7.0 if you don't use colorcontrol)
v2.7.2 (e4d355c0e54ac5c3cbf5b9123e12eb9f) - ramdisk modified for better cm9/aokp compatibility, and better init.d support. Also includes "board" script for detailed board/soc info.
*v2.8.0 (5b3b31519133cebe67348b76ae349bc8) - detailed change log here.
v3.0.0 (0647d8590403eb4921f7f148216841ae) - Merged AOSP 4.0.4 kernel/ramdisk source.
v3.1.0 (7064aec889d9ce92d380090d7ed0b3aa) - changelog
v3.2.0 (8c41c4de4b0a62cdeee89686405401a5) - changelog
v3.2.1 (30190db201f6dcabe318e26c0312c1d2) - reverted omap SR patch that prevented undervolting, interactive (and iX) tuned for extra power saving when screen is off.
v3.2.2 (1d6df86cb5fe6c1644f16d847abdbe85) - reverted a few patches from 3.2.1 to address a few cases of instability, a small colorcontrol fix, small timed_gpio fix.
*v3.3.0 (137955e83ca267b10d2b74dbdf360f99) - changelog
v3.4.0 (9b5f99954de4bbbca01e4701fa04037c) - changelog
v3.5.0 (06ceb50e1155293f86bf4c1e4469fc89) - changelog
*v3.6.0 (3fa30f43a8c0e2439d32b10a0f10f376) - changelog
v3.7.0 (b692a195da6eb929ee9149652528bbf9) - changelog
v3.8.0 (b45b2f01d9c671ff110a6bc7b2d928ad) - changelog
v3.9.0 (c9cc99bb53928f643b04161a5ffedcbe) - changelog
v3.10.0 (1fe588b51f82a18c0d540f9d437287bd) - Updated to Linux 3.0.36, vibe control, notrim frequencies, iX tuned, relevant code from JB source merged. This is likely the final ICS kernel in terms of big features, but bug fixes will continue if necessary.
Just flashed it... and phone is hanging on the google start up screen.. ffuuuuuuuu. running the revolution rom.
Ever think that imoseyon didn't post his work on XDA for a reason? Did you get his permission to share here?
Sent from my Galaxy Nexus using Tapatalk
AcE XBOX said:
Just flashed it... and phone is hanging on the google start up screen.. ffuuuuuuuu. running the revolution rom.
Click to expand...
Click to collapse
That may be because you're running a 4.0.2 ROM and trying to flash a 4.0.3 kernel...
Flashed. And I notice big diff on browsing and tasks like running apps speed...much much faster!
Thank you IMO!
Sent from my Galaxy Nexus using XDA App
Tikerz said:
Ever think that imoseyon didn't post his work on XDA for a reason? Did you get his permission to share here?
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
+ 1, I was wondering the same thing, just curious.
Sent from my Gummy Nexus
Tikerz said:
Ever think that imoseyon didn't post his work on XDA for a reason? Did you get his permission to share here?
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
I have spoke with imoseyon and he is perfectly fine with it.
I will update the thread to make a little more readable later on.
Sent from my Galaxy Nexus using Tapatalk
I've been using IMO's kernel since the 1.5.X series, and the performance and battery life have always been stellar. I've had better results then the franco and faux123 kernels personally.
My undervolts on the stable kernel are:
1350mhz: 1225mV
1200mhz: 1175mv
920mhz: 1050mV
700mhz: 975mV
350mhz: 850mV
I've always run the interactiveX governor on multiple roms and it has always been rock solid.
bencozzy said:
Where's a link to leantweaks?
Click to expand...
Click to collapse
Added I think all the links are current.
theidoctor said:
Added I think all the links are current.
Click to expand...
Click to collapse
Good to see someone w care taking charge of this thread
Sent from my Galaxy Nexus
luckylui said:
Good to see someone w care taking charge of this thread
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
its the least i can do since im no dev and i basically just hit the refresh button every 5 minutes waiting for an update on something around these forums.
theidoctor said:
its the least i can do since im no dev and i basically just hit the refresh button every 5 minutes waiting for an update on something around these forums.
Click to expand...
Click to collapse
Hey aint no complaining from me lol. I totally respect what you doing! Especially asking first. Unlike some ppl just copy n paste to start ****. Good for you tho. I thank you.
Sent from my Galaxy Nexus
Getting pretty good battery life. Pretty decent usage today and most of the day was on either 4G or 3G. Only last hour did I put it on wifi.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
nice to see IMO's kernel on xda. I've tried them all but keep coming back to IMOs and this kernel rocks for performance and battery life.
Loving this kernal, running on bugless, getting great battery life, and no problems. CHeers.
Updated thread with latest experimental links!
Also, Check out the screenshot of what i have been getting the last couple days. Amazing!
His kernel is the best out there...I love it: )
Sent from my Galaxy Nexus using XDA App
best kernel!

[Kernel|06|11][ncx-217_v13_AOSP|UV-C|AOSP|CM|AOKP|SENSE_v13_SENSE|base:2.17|]

==[ncx_217_v13_AOSP]==
==[ncx_217_v13_SENSE]==​
Based on HTC Source: 2.17.401.2​
HOWTO REPORT ERRORS -> THE RIGHT WAY
-) YOU need to provide me the following information, otherwise I´m not able to help:
-) On wich ROM you are
-) Wich Kernel and wich modules did you flash
-) ALWAYS provide a last_kmsg AND a logcat (you dont know how to do that ? Use google or search here in this forum, its posted nearly everywhere)
-) posts like "XYZ feature on ROM XYZ does not work" will be ignored (what should i do with that information ???)
CHANGELOG (old versions) & KERNEL FEATURES
Code:
[B]ncx-217_v1[/B]
- initial release
- fixes from showp1984 to stabilize the Kernel
[B]ncx-217_v2[/B]
- fix cpu frequencies usage below 340Mhz
- fixed some compiler warnings
- allow 51 MHz screen usage (thx showp1984)
- fix bluetooth pairing (updated drivers, thx TEAMNDVRU)
- unity games on JB builds are now working (thx TEAMNDVRU)
- added V(r) I/O scheduler (big thx kholk)
- enabled deadline scheduler
- added some information "ONDEMAND TWEAKS" to OP
-default I/O scheduler: deadline
- ENABLED Voltage Control (faux´s work, I only integrated it ! send him a beer, awesome Job)
- some fixes (compiler errors)
- set deadline as default sheduler
- deadline tweaks
- added XZ compression method so files will be smaller
- set ondemand a bit more aggressive
- some other stuff (check github)
- optimized for speed instead of Size (thx LorDClockaN)
- fix for multitouch games (tbalden, awesome stuff, awesome guy)
- enabled KSM
- GPU clocked now @ 520MHz (BIG THX to KHOLK AND FAUX, brilliant work)
- added SIO (Simple I/O scheduler)
- added bfq v.4 scheduler
- added UKSM
- All cores can hit 1,5GHz (testing, temps are totally ok after 1 day of intensive testing)
- huge amount of fixups to LP Core by the one and only faux123 ! Big THX for that
[B]ncx-217_v3[/B]
-closed beta to fix wifi stuff on JB AOSP AOKP CM ROMS (Thanks to my testers)
[B]ncx-217_v4[/B]
-fixed WIFI issues on JB AOSP AOKP CM ROMS
-added Volume WAKE fix (be sure too send TripNraver a beer, he found out how)
[B]ncx-217_v4.1_SENSE[/B]
- fixed BLUETOOTH ISSUE on SENSE based ROMS
[B]ncx-217_v4.5_AOSP[/B]
-) freqs stick now on 1200, 1300, 1400, 1500 MHz
-) bootup freq set to 102 - 1200
-) fixed a bug where min freq showed up with 120MHz
-) removed usless HTC idle resume stuff
-) a few patches from Tegra reference git wich i forgot to mention before
[B]ncx-217_v4.5_SENSE[/B]
-) freqs stick now on 1200, 1300, 1400, 1500 MHz
-) bootup freq set to 102 - 1200
-) fixed a bug where min freq showed up with 120MHz
-) removed usless HTC idle resume stuff
-) a few patches from Tegra reference git wich i forgot to mention
-) add init.d support to RAMDISK
-) touchscreen: added back some stuff that i removed for AOSP version
[B]ncx-217_v.5_AOSP[/B]
-) removed a lot of usless HTC stuff (more than in alpha version)
-) fixed music lag on JB builds with ondemand governor
-) attempt to fix "crashing when changing to ondemand governor on JB builds"
-) [B]slightly [/B]undervolted and underclocked stuff wich is only accessible in source
-) ondemand changes to make it a bit more responsive
[B]ncx-217_v.5.5_AOSP[/B]
-) fixed multitouch gaming issues on AOSP ROMS (CM10, Domination), tested and working !
-) fix: SoD on JB builds (allready in changelog for v5 but forgot to mention it)
-) modified fallback freqs and mA
-) sudden battery drop after resume should be gone (still testing, provide feedback, cant promise anything)
-) battery status should be more accurate now (also, still testing, cant promise anything)
-) another round of governor playing arounds
-) uv and uc introduced in v5 seems to work and reslut in better battery life. not all my testers replied so far !
-) planed: add a comparison between battery life from AOSP_v4 to AOSP_5.5 as i made a lot of changes
[B]ncx-217_v.5.5_SENSE_ALPHA[/B]
-) modified fallback freqs and mA
-) sudden battery drop after resume should be gone (still testing, provide feedback, cant promise anything)
-) battery status should be more accurate now (also, still testing, cant promise anything)
-) another round of governor playing arounds
-) uv and uc introduced in v5 seems to work and reslut in better battery life. not all my testers replied so far !
[B]ncx-217_v.5.9_AOSP[/B]
-)removed GPU @ 520 the way faux did
-)implemented my own way for GPU freq changes
-)GPU clocks now on 540 MHz (for testing purposes)
and now the best:
[B]-) implemented a new governor -> n3ocold :D[/B]
[B]ncx-217_v.5.9.2_AOSP[/B]
-) changes to n3ocold governor to act more battery friendly
-) RAMDISK fixup (thx dekyyy, I´ve messed up something)
-) changes to tegra3-dvfs.c
[B]ncx-217_v6_AOSP[/B]
-) another play around with n3ocold governor (should be real smooth now)
-) added some stuff to it
-) GPU @ 550 MHz for testing purposes
[B]ncx-217_v.6_SENSE[/B]
-) removed GPU @ 520 the way faux did
-) implemented my own way for GPU freq changes
-) GPU clocks now on 540 MHz (for testing purposes)
-) implemented a new governor -> n3ocold :D
-) play around with n3ocold governor (should be real smooth now)
-) changes to tegra3-dvfs.c
[B]ncx-217_v7_AOSP[/B]
-) reverted back until ncx-v.5.9.2_AOSP
-) GPU clocks now on 520 again
-) n3ocold governor stays, no problems when you set the gov with SETCPU
[B]ncx-217_v7.2_AOSP[/B]
-) fixed lockscreen delay
-) fixed stuff in RAMDISK to work properly with Kernel settings (try not to repack my Kernel, IMPORTANT)
-) switching governors should now be no problem anymore even on Performance menue (IF you havent repacked)
-) If problem still exist -> switch with SETCPU
[B]ncx-217_v7.4_AOSP[/B]
-) fixed bt/gps toggle issue (thx showp1984)
-) added back a few Ramdisk tweaks, ondemand stays as default governor
-) GPU back to 520MHz
[B]ncx-217_v.7.3_SENSE[/B]
-) added working s2w support (ALL Credits to showp1984 -> its his work !)
[B]ncx-217_v7.5_AOSP[/B]
- stability fixes (showp1984)
- removed RIL boost to 1.5GHz (now we know why it stays some seconds on it) thx showp1984
- freaking n3ocold governor still crashes freaking ROM Control, but works on any other CPU app (still trying to solve it)
- removed htc stuff once more with feeling (thx Trip)
[B]ncx-217_v7.6_AOSP[/B]
-) added boostpulse to ondemand governor. Interessted how it works: [URL="https://github.com/n3ocort3x/endeavoru_2.17/commit/f6e5b4ac0b79b9b3a2c41796e9c6ed5ce6bf60a5"]LINK[/URL]
-) set ondemand sligtly more aggressive
[B]ncx-217_v8_AOSP_beta2_AOSP[/B]
-) fixed an NP oops (hopefully :))
-) lowered EMC,AVP,LP and VDD_CORE Volt
-) 1,5GHz on all 4 Cores is back (for those who need and want it)
-) changes to VR (Voltage regulator) (experimental)
-) Git will be pushed asap ! Sorry for the delay
[B]ncx-217_v8_AOSP_beta5_AOSP[/B]
-) reverted back to -50mV on EMC, AVP, LP and VDD_CORE
-) should now work for everyone (even the really crap Tegra revisions)
-) Ramdisk cleanups
[B]ncx-217_v8_SENSE_beta1_AOSP[/B]
-) reverted back to -50mV on EMC, AVP, LP and VDD_CORE
-) should now work for everyone (even the really crap Tegra revisions)
-) Ramdisk cleanups
[B]ncx-217_v9_AOSP_beta1_AOSP[/B]
-) introducing new cpu_g freq table
-) introducing new LP freq table
-) GPU now 484Mhz (testing purposes)
-) corrected voltages for new freq table
[B]ncx-217_v9_AOSP_beta2_AOSP[/B]
-)bugfix where the phone booted with 102Mhz instead of 100Mhz as min freq.
[B]ncx-217_v9_beta2_SENSE[/B]
-) introducing new cpu_g freq table
-) introducing new LP freq table
-) GPU now 484Mhz (testing purposes)
-) corrected voltages for new freq table
-)bugfix where the phone booted with 102Mhz instead of 100Mhz as min freq.
[B]ncx-217_v9_beta5_SENSE[/B]
-) fixed a silly derp I´ve made to the freq tables
-) new freqs look like this: 100, 150, 250, 300, 350, 400, 500 - 1500
-) removed the 200 freq in main core table as its barely used
-) maybe no more ondemand drama
[B]ncx-217_v9_beta5_AOSP[/B]
-) fixed a silly derp I´ve made to the freq tables
-) new freqs look like this: 100, 150, 250, 300, 350, 400, 500 - 1500
-) removed the 200 freq in main core table as its barely used
-) maybe no more ondemand drama
[B]ncx-217_v9_beta6_SENSE[/B]
-) attempt to fix music lag on ondemand (again again and again)
[B]ncx-217_v9_beta6_AOSP[/B]
-) attempt to fix music lag on ondemand (again again and again)
[B]ncx-217_v10_beta1_SENSE[/B]
-) optimization of own freq tables (LP, and cpu_g)
-) Undervoltage of LP Core to -125mV in extreme, -50mV in standard edition
-) values changed in cpufreq_ondemand to be a bit more battery friendly by default
[B]ncx-217_v10_beta1_AOSP[/B]
-) optimization of own freq tables (LP, and cpu_g)
-) Undervoltage of LP Core to -125mV in extreme, -50mV in standard edition
-) values changed in cpufreq_ondemand to be a bit more battery friendly by default
CHANGELOG LATEST VERSION:
ncx_217_v12_AOSP & ncx_217_v12_SENSE
-) back to old known freq table (51, 102, 204, 340 ... )
-) fixed high drain (7 - 8 % / hour) while listening to music
-) drain is now about 4 % / hour while listening to music
-) avp treshold patch out of Tegra reference (treshold up to 85)
-) pm.c patch out of tegra reference
-) no more "extreme undervolted" edition of kernel (for now)
ncx_217_v13_AOSP & ncx_217_v13_SENSE
-) update interactive to nexus 7 baseline (solves the 1200MHz bug on repacking)
Known issues:
You tell !
Download Kernel & Modules
=====================================================================================================================
=====================================================================================================================
ncx_217_v13_SENSE STANDARD EDITION ===> BOOT.IMG
SENSE MODULES ===>STANDARD MODULES
ATTENTION: WIPE CACHE AND BATTERY STATS AFTER FLASHING
=====================================================================================================================
=====================================================================================================================
ncx_217_v13_AOSP STANDARD EDITION ===> BOOT.IMG
AOSP MODULES STANDARD EDITION ===> MODULES
ATTENTION: WIPE CACHE AND BATTERY STATS AFTER FLASHING
=====================================================================================================================
=====================================================================================================================
Repack needed ?
I always recommend to repack Kernel to the ROM you are using. Dont know how to repack ? There is an online repacker in HTX ONE X Android Development Section!
Howto install:
Additional Information: If you were coming from 1.29 base i highly recommend to reboot the system twice after flashing kernel and modules
-) boot into bootloader
-) fastboot erase cache
-) fastboot flash boot boot.img
-) fastboot erase cache
-) boot into recovery
-) wipe cache, dalvik and battery stats
-) flash modules from .zip
-) reboot into system
Github
Link for Sense Kernel, compiled with 4.4.3 toolchain, branch master
Link for AOSP, AOKP, CM Kerne, compiled with 4.4.3 toolchain, branch master
Disclaimer
-) I am not responsible for bricked devices
-) you do this on your own will
-) If you flash this, your warranty will be void
THANKS TO FOLLOWING BETA TESTERS:
-) nimrodity -> for his awesome job on music / bt streaming testing (now the LP Core consumes way less battery on it)
-) geko95gek -> for Sense / Renovate testing stuff -> awesome job (helped me with his bad Tegra Variant )
-) goku80 -> also for testing different stuff
-) DanteGR -> for Sense / Renovate testing stuff
-) TUN_SD, semdoc, Inzaghi75, Zlotin and everyone on ICJ helped me debugging-> for constantly testing stuff on ICJ for me !
Sorry if i forgot someone, if i did, please write me a pm, its way to late here !
CREDITS
faux123 for his implementation of voltage control,gpu oc and all other stuff mentioned in changelog.
kholk for getting me into EP Team, i really owe you a lot mate, I hope i will have more time for EP in the future
showp1984 for his fixes to stabilize the kernel and for helping me getting started with compilation problems.
tbalden and mdeejay for providing the bluetooth fix on CM, and especially tbalden for answering my PM´s !
TripNraver for his awesome way to enable VOLUME WAKE !
franciscofranco for his way to remove silly HTC stuff for resume / suspend
[Kernel][07|09][ncx-217_v4|UV-C|AOSP|CM|AOKP|SENSE BT Issue fixed|built from 2.17]
DONT flash kernel, before reading stuff mentioned below:
-) THIS is not chic IPHONE stuff, you should have some basic knowledge on how to do some things on ANDROID.
-) You encounter an error ? Ok, i will look into it, but you have to follow the rules:
-) ALWAYS tell me following stuff: wich ROM ?, wich KERNEL, UNDERVOLTED ? , wich GOVERNOR used ?
-) You should also provide following stuff so i can look into the issue further:
-) last_kmsg, logcat (you dont know how to get thos files or dont even know what this is ? Ok i will tell you:
-) last_kmsg: connect phone with usb, open up a shell in linux or a CMD in windows, cd to your adb directory and write this: cat /proc/last_ksmg > /sdcard/last_ksmg.log
-) grab the file from your sdcard and provide it to me
-) logcat: This is easier for lazy people, download alogcat app from playstore, fire it up, and extract out the log. Also provide this to me.
-) repack kernel for your ROM with the following online repacker: www.nibble.cc/repack
-) posts like "I had a reboot" or "phone crashed" without proper information will be ignored
Frequently asked questions, answered here:
Q: My music slows down on AOSP builds with ncx Kernel, what can i do ?
A: Switch to interactive governor, known issue on AOSP JB and ICS builds
Q: My freqs reseted back after screen off, I´m on a JB build, what can I do ?
A: Delete the following file out of your ROM: system/lib/hw/power.endeavoru.so. Then reboot ! Done -> they will not go back
Q: Where is sweep2wake ? Is it integrated ? Is it planned ?
A: I think about it, when i did all other stuff thats more important to me !
Q: My phone freezes, what should I do ?
A: Dont undervolt that much. To be sure, provide me last_kmsg and logcat
Q: I had a random hot reboot on JB builds, why this ?
A: All JB builds suffer from it with every Kernel ! Wait until JB is stable, flash ICS or Sense, or buy an Iphone and be a subuser on your own system
Q: When I set freq to 51MHz it jumps back to 102 ? WTH ?
A: Set it to 51MHz in SETCPU, it will jump back to 102MHz -> Thats right, it will use 51MHz when Screen OFF, I want it that way !
Q: WICH app for udnervolting ? WICH app for setting CPU freqs ?
A: Undervolting: SYS TUNER ; CPU Freq setting: SETCPU
Be advised, if you ignore the FAQ, you ignore me, and this will result in ignoring you
so please always provide me necessary information if you want to get your
problem fixed
[Kernel][07|09][ncx-217_v4|UV-C|AOSP|CM|AOKP|SENSE BT Issue fixed|built from 2.17]
BATTERY LIFE : ncx_217_v10_beta1 / ICJ 3.0
as promissed: first charging cycle on ncx_217_v10_beta1 ICJ. RMEMBER, THIS IS AOKP, not SENSE !
What you should know:
I tried to simulate an heavy day with the oneX, I will never use my phone that way, i know it but i´m really really satisfied on what i see actually... I never thought we could reach that values with that heavy usage...
Now on with the information what ive done the whole day:
Total Screen on time: 4 hours 45 minutes
Total charging cycle from 100 % - 2 %: 18 hours
-) 1 hour 6 minutes of navigation with screen on
-) 51 minutes of watching an HD movie with MX Player
-) 32 minutes of watching youtube (WIFI)
-) 40 minutes of posting in tapatalk and reading news with browser (3G)
-) 40 minutes of reading documents (pdf, Quick office Pro)
-) 1 reboot (no crash, just to simulate an system start)
-) 15 minutes play store with download of 1 App (WIFI, 24,5MB)
-) 41 minutes REST (GMAIL, SMS, Root explorer, System settings...)
-) 13 minutes phone calls (yeah i know, thats not much )
Screen brightness: 20 % (I dont need more on cloudy days )
-125mv on main cores (all dvfs entries)
-125mV on LP Core
-50mV VDD_Core
-50mV EMC (Memory controller)
Governor: ondemand, 90 up treshold, 5 down differential
Screenshots:
I really dont know why it wont show youtube app in battery table, (also mx player doesent show keep awake, it shows 22 minutes instead of 50) but you guys can trust me, I used it as i described above. If you guys can tell me an APP wich records every second of usage, let me know, than i can reproduce it tomorrow. (Just in case someone wont trust my screenshots).
It seems that LP stuff i did, paired with the new freqs (that keep it lower, magic word: no 400Mhz in main core table ) seems it took effect :victory:
2nd TEST:
My Test is finished now: ncx_217_v10_beta3 (unreleased), changed LP freqs and allow higher freq use of LP core 400 -> 500MHz).
SCREEN ON: 5h 9 minutes in 17hours
15 % screen brightness (no auto brightness)
1 hour 1 minute navigation
1 hour watching a HD movie (mediaserver)
30 minutes youtube over wifi (mediaserver)
30 minutes wifi over 3G (mediaserver)
1 hour different stuff (I guess, read/write about 15 mails, 5 SMS, Tapatalk)
30 minutes reading news on the web (Browser)
10 minutes playstore with 1 download over WIFI
30 minutes reading PDF Document (Quickoffice PRO)
Sure, when you Browse most of the time, you will hardly get 4 hours out of it. The biggest drainer are GPS, and of course 3G. These pics are no gurantee that it will also work for you, but if you do the same stuff like me, i´m sure you will come close to those values.
'Reserved 1' LoL, thanks a lot, downloading!
Dann, saw it too late, don't have time to flash it now, will have to wait till tomorrow
Sent from nexus 7
Thanks cant wait to try this out
Great Work..
Is the recently fixed slide to wake for 2.17 applied to this kernel ?
Also are going to release a.version 2 type like your previous kernel ? (Battery Saver)
Ok, did get the time after all to flash it but can't test wifi because I am not at home.
It feels brutal smooth, absolutely amazing.
If it's stable this ones staying for sure
Sent from HTC One X
jonoathome said:
Great Work..
Is the recently fixed slide to wake for 2.17 applied to this kernel ?
Also are going to release a.version 2 type like your previous kernel ? (Battery Saver)
Click to expand...
Click to collapse
yes that would be great
nimrodity said:
Ok, did get the time after all to flash it but can't test wifi because I am not at home.
It feels brutal smooth, absolutely amazing.
If it's stable this ones staying for sure
Sent from HTC One X
Click to expand...
Click to collapse
So far I didnt encounter any issues. WiFi works rock solid for me - stable, fast and really good reception. Better than on the previous 1.29 based kernels from n3o.
This kernel feels like a big step forward for sure
Try4Ce said:
So far I didnt encounter any issues. WiFi works rock solid for me - stable, fast and really good reception. Better than on the previous 1.29 based kernels from n3o.
This kernel feels like a big step forward for sure
Click to expand...
Click to collapse
Might be useful for the rest of us to let us know which rom you're on?
what's the difference between NCX 0.99a and ncx-217_v4? and are they working on viperx?
robchongke said:
what's the difference between NCX 0.99a and ncx-217_v4? and are they working on viperx?
Click to expand...
Click to collapse
Can you read? So read!
So I can flash this okay on Jelly AOKP?
rkuijpers said:
Can you read? So read!
Click to expand...
Click to collapse
i'm confused about the base source thing. i don't know which one to download.
Audioboxer said:
So I can flash this okay on Jelly AOKP?
Click to expand...
Click to collapse
Y E S ! finally mate
robchongke said:
i'm confused about the base source thing. i don't know which one to download.
Click to expand...
Click to collapse
1.29 is old base = 0.99a
2.17 is new base = 217_v4
if you want to know more about this base thing, simply ask Dr. google
ARHD 9.4.1
Running sweet for me so far on ARHD 9.4.1.
Woow thanks! Going to flash this with ICJ! :3
EDIT: No need for repack when using AOSP rom?
Sent from my HTC One X using xda premium
Nubzori said:
Woow thanks! Going to flash this with ICJ! :3
EDIT: No need for repack when using AOSP rom?
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Always better to do but when you on ICJ you dont need to !
n3ocort3x said:
1.29 is old base = 0.99a
2.17 is new base = 217_v4
if you want to know more about this base thing, simply ask Dr. google
Click to expand...
Click to collapse
thanks! :good:

[KERNEL DISCONTINUED]n3okernel|v44[VC|DT2W|S2W|GPU_INTERFACE|HP-CONTROL|BAL|BATT|PWR]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
banner by jonas2295​
==[ncx_3.14_AOSP]==
==[ncx_3.14_SENSE]==​
Based on HTC Source: 3.14.401.27​
HOWTO REPORT ERRORS -> THE RIGHT WAY
-) YOU need to provide me the following information, otherwise I´m not able to help:
-) On wich ROM you are
-) Wich Kernel and wich modules did you flash
-) ALWAYS provide a last_kmsg AND a logcat (you dont know how to do that ? Use google or search here in this forum, its posted nearly everywhere)
-) posts like "XYZ feature on ROM XYZ does not work" will be ignored (what should i do with that information ???)
CHANGELOG (old versions) & KERNEL FEATURES
Code:
[B]ncx-314_v1[/B]
-initial release
[B]ncx_314_v3[/B]
-attempt to fix sound and bluetooth
[B]ncx_314_v4[/B]
- fixed audio
[B]ncx_314_v5[/B]
-fixed hotplugging (all governors should work now, all CPUS came online @ bench)
-added VOLUME WAKE (be sure to enable it in ROM too)
-fixed multitouch
[B]ncx_314_v6[/B]
-fixed cpu governor change issue
-all cpus use now the same governoDONT FLASH ON SENSEr
-added USB fastcharge
[B]ncx_314_v7[/B]
-added Voltage control
-GPU now @ 520 MHZ (please test), Also 484MHz and stock is added in code so i can compile in no time (plan to provide 3 versions)
-some compiler cleanups (only important for me, user aren´t affected from this)
[B]ncx_314_v8[/B]
- fixed GPU scaling, sorry guys now it scales up to 520 :) just tested
[B]ncx_314_v9[/B]
- raised gpu low freq to 250MHz
- enjoy a new level of UI smoothness :)
[B]ncx_314_v11_b[/B]
- added bfq I/O sched
- set bfq to default sched
- added cfq I/O sched
- added deadline I/O sched
- tweaked deadline
[B]ncx_314_v13[/B]
- fixed setting ondemand and bfq on boot
- patchset to fix light sensor issues on AOSP (thx Thömy)
- integrated s2w -> finally :p
[B]ncx_314_v13_c[/B]
- fixed starting apps and not booting issue
[B]ncx_314_v14[/B]
- enabled KSM
- AUDIO FM FIX from tbladen
- tweaked deadline more
- tweaked lowmemory killer
[B]ncx_314_v15[/B]
- fix button backlight lag (thx tbalden)
- UMS read-only mode fixed to Read-Write (Usb mass storage works correctly now, also here -> thx tbalden
[B]ncx_314_v16[/B]
- disabled interactive on early suspend (solves the issue that 2 different govs are used on resume)
- added n3ocold governor (peqasusq port)
[B]ncx_314_v16c[/B]
-solved reboot issue when switching to n30c0ld governor (thx max for teaching :) ) -> Attention: its still buggy, it stays on the freq thats online when switching (no up down scaling) [B]DONT SWITCH TO IT, ITS ONLY FOR ME AND MAX FOR DEBUGGING
-added smartmax governor from maxwen :)[/B]
[B]ncx_314_v16d[/B]
- fix to get cpu out of g mode in LP mode (thx for pm max)
- sound cleanups
[B]ncx_314_v17b[/B]
- replaced nv hotplugging with mpdecision (thx, showp-1984, maxwen)
- Disable OS check for the mass storage gadget, thx at thömy :)
[B]ncx_314_v18[/B]
- MERGE a pull request by LorD ClockaN:
- tegra_pcm -> supports audio up to 32 bit
- Spirit FM fix (untested)
- added smartdimmer (Tripnraver)
- updated graphics driver (Tripnraver)
- set core to 0,95V on LP1 (Tripnraver)
- added a GPU OC Interface (you are now able to choose ur GPU speed on your own)
- standard GPU clock is still 520 MHz (info how to change will be available in 3rd Post of this Thread)
[B]ncx_314_v20c_AOSP AND SENSE[/B]
-added SIO IO sched
-added ROW IO sched and set default (great perfromance)
-updated maxwens smartmax-gov to latest version
-UV´ed core_vdd (GPU,EMC,AVP, LP) -50mV by default as I did in old base
[B]ncx_314_v21_AOSP AND SENSE[/B]
- Added and enabled JRCU
- latest interactive governor from XMISTER (3.4 baseline + optimizations from XMISTER -> great Job, awesome dude :) )
- set smartmax a bit more aggressive (but still the best for battery)
- no more replug of fastcharge needed (thx maxwen)
- battery life should improove with this version while containing power also
- SENSE Ramdisk from latest RENOVATE ROM, AOSP RAMDISK from latest CM10.1 (every AOSP build use this atm)
[B]ncx_314_v21b_AOSP AND SENSE[/B]
- hopefully freezes and bootloops are gone
[B]ncx_314_v22_AOSP AND SENSE[/B]
- added CPU HARDCAP (seting freq with every app works now), thx to maxwen, xmister, nik3r, kozmikkick, showp-1948, faux, TripnRaver
- added ZRAM
- removed buggy governors perfromance and powersave
- switch from KSM to UKSM
- slow button backlight notification patch from tbalden and thoemy out of gerrit :)
[B]ncx_314_v23_AOSP AND SENSE[/B]
-set bootup freq to 1300 MHZ (best for smoothness and power)
-switched to CPUQUIET hotplugging
-enabled SWAP and ZRAM (double checked both now)
- be sure to run this script for working SWAP and ZRAM (thx again Kozmikkick): [url]http://d-h.st/tIH[/url] place it in etc/init.d folder or run it manually
[B]ncx_314_v24b_AOSP AND SENSE[/B]
-updated wifi drivers to 03.SP3 (thx TI :p, and kozmickkick for finding out )
-added touchdemand governor
-added intellidemand governor
-gave a bit more responsivness to intellidemand
-added sysfs interface for changin min audio freq while screen on (for the stutter guys) (thx maxwen)
-cpuquiet: added LP hysteresis and logging (thx maxwen)
-cpuquiet: LP hysteresis update (thx maxwen)
- fixed missing I/O Scheds
[B]ncx_314_v25c_AOSP[/B]
- added batterymax governor (smartmax governor with xtreme battery settings)
- dont excpect huge perfromance from batterymax its only for battery
- patched to 3.18 source (still need feedback about WIFI on sense)
special thanks here to maxwen... OneX wouldnt be that way without this guy !
[B]ncx_314_v26_AOSP and SENSE[/B]
- updated video drivers from Tegra Reference (thx for commits xmister and maxwen), should fix video on SENSE
- entropy tweaks :D
- some stability fixes
- try to fix the very rare spinlock bug
[B]n3okernel_v29_AOSP and SENSE[/B]
- audio bt freq boost to 204 MHz
- audio 2 bt sysfs interface (ported from maxwen bcm chip)
- more responsivenes for batterymax
- reduced Qos freq from 910 to 500
- reduced balance level from 60 to 55 (needs testing)
- more aggressive tresholds for EMC (MEM controller) and AVP (Audio Video Processor)
- added early suspend driver to ondemand governor (original implementation by showp-1984)
- fixed min audio sysfs interface for SENSE users
- revert to older wifi drivers for SENSE users (AOSP still has newer :p)
- removed pegasusq governor until debugged
- add and use gmode force (cpuquiet)
- balance play arounds as Tun reported audio lags to me
- renamed kernel to n3okernel instead of ncx_314
- page writback: patch disables the writeback function on screen is on, back when the screen is off to flush all the dirty pages.
- added sysfs interface to choose max LP core freq
- bunch of cleanups, cleanups and even more cleanups
[B]n3okernel_v31d_AOSP and SENSE[/B]
- set readahead to 128kb (better performance)
- button backlight sysfs interface from XMISTER (thx man)
- smartmax updates
- touchdemand updates
- builded with linaro toolchain and its optimizations
- performance and smoothness updates (thx xmister for the reworked dvfs tables, they work better on lower freqs we feel)
- BLN fix
[B]n3okernel_v33_AOSP and SENSE[/B]
- backlight: enable hidden sysfs for color enhance
- Set BLN max value to obey button brightness value
- led: limit BLN brightness to button brightness
- leds:add custom option if slow blink brightness should be limited to button brightness - default is true
- making touchpoke working :) thx maxwen
- smartmax updates
[B]n3okernel_v34_AOSP and SENSE[/B]
- updated smartmax to latest version and all its features :) thx maxwen
- Sense has new Wifi drivers now (report back, if its not working again i revert)
- updates to staging / android
[B]n3okernel_v35_AOSP and SENSE[/B]
- updated bfq sched to v6
- new hashtable from maxwen
- SENSE: BLN should be fixed now, please report back
[B]n3okernel_v36_AOSP and SENSE[/B]
-reverted some spinlock stuff
-proper fastcharge fix (maxwen)
[B]n3okernel_v37_AOSP and SENSE[/B]
- fastcharge fixed (thx maxwen)
- SENSE: reverted multitouch fix, so no more incoming call freeze
[B]n3okernel_v37_SENSE_CALIBRATION_FIX[/B]
-use xmisters synaptics_3200.c with sysfs control from maxwen, thanks buddys :)
[B]ncx_314_v38_AOSP AND SENSE[/B]
- added Double TAP to wake (double tap screen anywhere 2 times to wake device, works only on screen off... lol)
- unfortunatley AOSP only . I hope i get it working on SENSE the next days
[B]ncx_314_v39_AOSP AND SENSE[/B]
-fixup s2w
-revert JRCU (shoud fix deadlocks)
CHANGELOG LATEST VERSION:
ncx_314_v40_AOSP AND SENSE
-leds: fix currents interface
-block: BFQ update to v6r1
-leds: added lux interface and cleanup
-tegra: baseband: added missing mutex_unlock for error cases
-lowmemorykiller: use version from grouper
-touchpad: remove psensor usage if not needed (this probably fixes sense call freeze issues)
-AUTO-BLN should be fixed now... really
ncx_314_v41_AOSP AND SENSE
-fixed f*** wifi
ncx_314_v42_AOSP AND SENSE
-reverted psensor patch
-AOSP ramdisk updated
ncx_314_v44_AOSP AND SENSE
-import of franciscofrancos hotplug control with some small adjustments
Known issues:
nothing reported
Download Kernel & Modules
=====================================================================================================================
=====================================================================================================================
AOSP (CM, AOKP, PA,...) DOWNLOAD LINKS
n3okernel_v44 BOOT.IMG
n3okernel_v44: MODULES
DONT repack kernel, u will loose stuff necessary for DT2W to work The RAMDISK should boot on every AOSP based ROM in our section
=====================================================================================================================
=====================================================================================================================
SENSE DOWNLOAD LINKS
n3okernel_v44_FIX BOOT.IMG
n3okernel_v44: MODULES
=====================================================================================================================
=====================================================================================================================
Repack needed ?
I always recommend to repack Kernel to the ROM you are using. Dont know how to repack ? There is an online repacker in ONE X Android Development Section!
Or (even is easier) go to TheDroidfanatic´s ncx repack Thread (Big THX) : LINK
Howto install:
-) boot into bootloader
-) fastboot erase cache
-) fastboot flash boot boot.img
-) fastboot erase cache
-) boot into recovery
-) wipe cache, dalvik and battery stats
-) flash modules from .zip
-) reboot into system[/SIZE][/FONT]
Github, GPL, XDA RULES
To be FULLY on the safe side now, full GPL and XDA compliance
LINK TO THE REPO USED FOR COMPILING
LINK TO GLOBAL GITHUB/USER IN CASE SOMEONE WILL HAVE A LOOK ON MY OTHER REPOS
clicking is way easier then deleting a few chars out of the url bar.. isnt it ??
Toolchain used: arm-a9-eabi, self made (maxwen)
Defconfig to use: ap33_android_cpuquiet_defconfig
branch: master
Disclaimer
-) I am not responsible for bricked devices
-) you do this on your own will
-) If you flash this, your warranty will be void
CREDITS
Code:
[B]maxwen [/B]for changing governor solution, sound fix, s2w port, fast charge and great support (awesome buddy)
[B]nik3r [/B]for s2w port
[B]tripnraver [/B]for volume fix
[B]faux123 [/B]for voltage control
[B]Xmister [/B]for pointing me in right direction for hotplug solution, s2w commit
[B]whole ICJ Team[/B] which support me where they can, you guys rock
[B]pabx [/B]from AOSP ROM, [B]tbalden [/B]from CM10.1 ROM (great guys, help where they can)
[B]showp-1984[/B] for great support, s2w and getting me started on Github
[B]franciscofranco [/B]for GPU OC interface of old base
[B]TUN_SD[/B] for providing our awesome Server
[B]Everyone [/B]whos helping in an other way (contributors, Thread residents)
​
DONT flash kernel, before reading stuff mentioned below:
-) THIS is not chic IPHONE stuff, you should have some basic knowledge on how to do some things on ANDROID.
-) You encounter an error ? Ok, i will look into it, but you have to follow the rules:
-) ALWAYS tell me following stuff: wich ROM ?, wich KERNEL, UNDERVOLTED ? , wich GOVERNOR used ?
-) You should also provide following stuff so i can look into the issue further:
-) last_kmsg, logcat (you dont know how to get thos files or dont even know what this is ? Ok i will tell you:
-) last_kmsg: connect phone with usb, open up a shell in linux or a CMD in windows, cd to your adb directory and write this: cat /proc/last_ksmg > /sdcard/last_ksmg.log
-) grab the file from your sdcard and provide it to me
-) logcat: This is easier for lazy people, download alogcat app from playstore, fire it up, and extract out the log. Also provide this to me.
-) repack kernel for your ROM with the following online repacker: www.nibble.cc/repack
-) posts like "I had a reboot" or "phone crashed" without proper information will be ignored
Frequently asked questions, answered here:
Q: My music slows down on AOSP builds with ncx Kernel, what can i do ?
A: Switch to interactive governor, known issue on AOSP JB and ICS builds
Q: My freqs reseted back after screen off, I´m on a JB build, what can I do ?
A: Delete the following file out of your ROM: system/lib/hw/power.endeavoru.so. Then reboot ! Done -> they will not go back
Q: Where is sweep2wake ? Is it integrated ? Is it planned ?
A: I think about it, when i did all other stuff thats more important to me !
Q: My phone freezes, what should I do ?
A: Dont undervolt that much. To be sure, provide me last_kmsg and logcat
Q: I had a random hot reboot on JB builds, why this ?
A: All JB builds suffer from it with every Kernel ! Wait until JB is stable, flash ICS or Sense, or buy an Iphone and be a subuser on your own system
Q: When I set freq to 51MHz it jumps back to 102 ? WTH ?
A: Set it to 51MHz in SETCPU, it will jump back to 102MHz -> Thats right, it will use 51MHz when Screen OFF, I want it that way !
Q: WICH app for udnervolting ? WICH app for setting CPU freqs ?
A: Undervolting: SYS TUNER ; CPU Freq setting: SETCPU
Be advised, if you ignore the FAQ, you ignore me, and this will result in ignoring you
so please always provide me necessary information if you want to get your
problem fixed
TUTORIAL FOR UPGRADING HBOOT
LINK
TUTORIAL CHANGING GPU CLOCKS
echo 520 520 520 520 484 400 304 247 > sys/devices/system/cpu/cpu0/cpufreq/gpu_oc (this is default in my kernel)
replace the 520 520 520 520 AND the 484 for example with 416 (if u ar a non gamer). so it would go like this:
echo 416 416 416 416 416 400 304 247 > sys/devices/system/cpu/cpu0/cpufreq/gpu_oc
ATTENTION: the 5th freq is 484 so this has to be changed also into 416 (as it would be higher than max freq set to 416
More examples:
echo 484 484 484 484 484 400 304 247 > sys/devices/system/cpu/cpu0/cpufreq/gpu_oc (this changes it to max 484Mhz)
echo 416 416 416 416 416 400 304 247 > sys/devices/system/cpu/cpu0/cpufreq/gpu_oc (this changes it to max 416Mhz)
The desired max freq MUST be written 4 times, dont ask why.
===========================================================
Or if u want to change the lowest freq:
echo 416 416 416 416 416 400 304 247 > sys/devices/system/cpu/cpu0/cpufreq/gpu_oc
echo 416 416 416 416 416 400 304 304 > sys/devices/system/cpu/cpu0/cpufreq/gpu_oc
this will make the UI probalbly smoother as u set the lowest freq to 304 instead of 247
TUTORIAL USING SMARTDIMMER
- default it´s disabled
- enable: echo "1" > /sys/devices/tegradc.0/smartdimmer/enable
- disable: echo "0" > /sys/devices/tegradc.0/smartdimmer/enable
- changing aggressiveness: echo "#" > /sys/devices/tegradc.0/smartdimmer/aggressiveness
TUTORIAL FOR STICKY FREQS
(maxwen told me yesterday, many thanks to my austrian friend )
If u want to limit your cores to lets say for example 1200 MHZ u can do the following
echo "1200000" > /sys/module/cpu_tegra/parameters/cpu_user_cap
or edit the file manually (root explorer or similar) I tested that and it works. maxwen wants to tell me today more on
this because there is an other way also. All i can say now is that governor settings will always be overwritten
and thats the reason why the freqs wont stick. With that way freqs stick
QUESTION ABOUT WAKELOCKS ?
http://forum.xda-developers.com/showthread.php?t=2167001
SPIRIT FM, HOW IT WORKS
After installing ICJ 2.3_test with your kernel 77, I got spirit fm working by choosing OneX phone type in spirit fm settings. Also unchecked the power restart mediaserver option under its debug settings as there is no need now.
The option is one x/x+ intl, and just to be clear. And it's under settings, method.
CHANGING AUDIO MIN FREQ IF U ENCOUNTER STUTTERS WHILE MUSIC
I quote maxwen here:
echo "640000" > /sys/module/cpu_tegra/parameters/suspend_cap_freq
Attention: this will disable "automatic" LP lock during screen off
so think if you really need it
-configurable min audio frequency limit if you have problems with default 102Mhz
echo 204000 > /sys/module/snd_soc_tlv320aic3008/parameters/audio_min_freq
Re: [PREVIEW_KERNEL]ncx_3.14_JB Kernel_3.1.10 for AOSP & SENSE
first
Can't wait to see what you dev up
Re: [PREVIEW_KERNEL]ncx_3.14_JB Kernel_3.1.10 for AOSP & SENSE
So nice
Sent from my HTC One X using Tapatalk 2
Re: [PREVIEW_KERNEL]ncx_3.14_JB Kernel_3.1.10 for AOSP & SENSE
Waiting for the release
Sent from my HTC One X using xda premium
Re: [PREVIEW_KERNEL]ncx_3.14_JB Kernel_3.1.10 for AOSP & SENSE
You don't waste no time !
I'm looking forward to this next stage on the one x development
Sent from a Blunt smoker
Let the games begin:victory: and let the freaking testing begin to....now i am actually glad i am not working so i can test i know stupid but this makes up for it
Re: [PREVIEW_KERNEL]ncx_3.14_JB Kernel_3.1.10 for AOSP & SENSE
Goku80 said:
Let the games begin:victory: and let the freaking testing begin to....now i am actually glad i am not working so i can test i know stupid but this makes up for it
Click to expand...
Click to collapse
Agreed
Sent from my One X
Goku80 said:
Let the games begin:victory: and let the freaking testing begin to....now i am actually glad i am not working so i can test i know stupid but this makes up for it
Click to expand...
Click to collapse
as said... dont expect anything... I try to provide a testversion on evening but it wont have any features...or maybe... 1 or 2... dont know what my time allows
n3ocort3x said:
as said... dont expect anything... I try to provide a testversion on evening but it wont have any features...or maybe... 1 or 2... dont know what my time allows
Click to expand...
Click to collapse
Neo mate..Take your time....no rush my friend..anyways gtalk is on my sig add me again cause it looks like my gtalk got messed up...
Run Forrest RUN !!!
Let the fun begin
You can't expect the wonders, If you don't dream about them
Re: [PREVIEW_KERNEL]ncx_3.14_JB Kernel_3.1.10 for AOSP & SENSE
Can't wait for this, very exciting
Sent from my HTC One X using xda app-developers app
tomascus said:
Can't wait for this, very exciting
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
i know more testing for me and i can try all the different kernels now for my thread as well....let see if this will beat stock
Cooool!It's time to talk about schedule. What will you do first? OC/UV/governor/GCC 4.7?Can't wait to s..t on my 1x!
JohnYang1997 said:
Cooool!It's time to talk about schedule. What will you do first? OC/UV/governor/GCC 4.7?Can't wait to s..t on my 1x!
Click to expand...
Click to collapse
I talk when i want to ...What i do first: see if it compiles without errors...I have no shed
Mr_S said:
You don't waste no time !
I'm looking forward to this next stage on the one x development
Sent from a Blunt smoker
Click to expand...
Click to collapse
but what we gonna do (with our lives) once we have a perfect phone :laugh:
Take your time,dude. You cool,always!
Re: [PREVIEW_KERNEL]ncx_3.14_JB Kernel_3.1.10 for AOSP & SENSE
Ready ta test here an all mate
Sent from my HTC One X using Tapatalk 2
Now that the kernel source has been released for the latest base, I can't wait for my HOX to return from the repair center. <3

[Kernel][No OC/UV][CM10.1][3.0][371MB&390MB] Madridii Kernel V3.2 [5/8]

"Assalam Alaikum"
Hello all, This is my first thread in Development Section and I am still learning in modding Kernel , big thanks to my teacher @educk :highfive:
so I am beginner in this world, but I tried to make a custom kernel with features I need, and I decided to share it with you If anyone want it..
- Why I am usnig 3.0 not 3.4 kernel for CM10.1?
- In my opinion 3.0 kernel is more stable at the moment
This kernel just for JB 4.2.2
Kernel Features
- Kernel Version 3.0.X
- Compiled with Linaro Toolchain GCC 4.7.4 2013.07 by Christopher83
- O2 optimization
- Added new frequencies [ 902MHz, 1017MHz, 1113MHz and 1305MHz ] without OC New
- Increase audio loudness rev 2
- More RAM 371 MB.
- Frandom (fast random generator)
- Increased cpu frequency on boot
- Disabled Gentle Fair Sleepers for better UI performance
- Added NEON compilation flag to VFP module
- Enable Samsung's power management for WiFi
- Lowered wifi voltage
- Battery Life eXtender support
- Tweaks for LMK.
- Added CPU Voltage Control
Attention:
Code:
Seeder apk or flashable zip will not work with this kernel because frandom activated (I think frandom is enough)
Governor:
Code:
** V3.2 :
- LULZACTIVE ( tuned by Christopher83 for better battery saving )
- SmartAss2
IO scheduler:
Code:
** V3.2 :
- SIO
Source
Code:
For more details : Kernel Source Branch cm-10.1_3.0
Link : [URL="https://github.com/madridii/madridii-kernel/tree/cm-10.1_3.0"]github[/URL]
Change-log
Code:
V 3.2 : [URL="http://d-h.st/XD9"]370MB[/URL] [URL="http://d-h.st/Y2y"]370MB with revert LCD panel[/URL]
V 3 with 390MB RAM ( 720P recording not working ) : [URL="http://d-h.st/n0G"]390MB RAM[/URL]
+ 3.0.88
+ sync arco's repo
Old builds
Code:
V 3 : [URL="http://www.mediafire.com/download/efcbooj0sz4u880/%5Bcm10.1%5D%5B3.0%5D%5BV3%5D%5Bmadridii%5D.zip"]Original[/URL] [URL="http://d-h.st/rdG"][1][/URL]
V 3 with 390MB RAM ( 720P recording not working ) : [URL="http://d-h.st/Itt"]390MB RAM[/URL]
+ built with Linaro 4.7.4 July (thanks to christopher83)
+ kernel 3.0.86 (thanks to arco68)
+ add new freq (see 2nd post with voltage table (UV))
Code:
V 2.8 : [URL="http://www.mediafire.com/download/n2kg20q1im3sr63/%5Bcm10.1%5D%5B3.0%5D%5BV2.8%5D%5Bmadridii%5D.zip"]Download[/URL]
+ kernel 3.0.84
+ Sync Arco's Repo
Code:
V 2.7.2 : [URL="http://www.mediafire.com/download/opsy6c2ehrb421p/%5Bcm10.1%5D%5B3.0%5D%5BV2.7.2%5D%5Bmadridii%5D.zip"]Download[/URL]
+ Sync Arco's Repo
- Revert Last update for LMK
Code:
V 2.7 : [URL="http://www.mediafire.com/download/a1sc6eq7ohsl39e/%5Bcm10.1%5D%5B3.0%5D%5BV2.7%5D%5Bmadridii%5D.zip"]Download[/URL]
+ kernel 3.0.83
+ update LMK
+ Sync Arco's repo
Code:
V 2.6 : [URL="http://www.mediafire.com/download/a1pe845w84glrg9/%5Bcm10.1%5D%5B3.0%5D%5BV2.6%5D%5Bmadridii%5D.zip"]Download[/URL]
+ Kernel 3.0.82
+ Sync Arco's repo
Code:
V 2.5 : [URL="http://www.mediafire.com/download/18fzwu9b59a87ec/%5Bcm10.1%5D%5B3.0%5D%5BV2.5%5D%5Bmadridii%5D.zip"]Download[/URL]
+ Kernel 3.0.81
+ update RAMdisk ( thanks to keff (Frandom included) )
+ sync arco's repo
Code:
V 2.4 : [URL="http://www.mediafire.com/download/yrh5b8poemdlmp4/%5Bcm10.1%5D%5B3.0%5D%5BV2.4%5D%5Bmadridii%5D.zip"]Download[/URL]
+ Sync with arco's repo
- Less RAM now 371 MB ( to less lags "Thanks to Erik to help" )
+ Enable Samsung's power management for WiFi ( need test to confirm improvement with battery )
Code:
V 2.0 : [URL="https://www.dropbox.com/s/c48mrw5cfw6hkir/%5Bcm10.1%5D%5B3.0%5D%5BV2.0%5D%5Bmadridii%5D.zip"]Download[/URL]
+ Kernel 3.0.80
+ Update RAMdisk ( thanks to Keff ) :good:
+ add SIO IO scheduler
- revert ( Increased cpu frequency on boot )
+ update rwsem
+ More RAM 377 MB ( credits to hadi )
Code:
V 1.8 : [URL="http://www.mediafire.com/download/26tuscrf2dtukkf/%5Bcm10.1%5D%5B3.0%5D%5BV1.8%5D%5Bmadridii%5D.zip"]Download[/URL]
+ Added CPU Voltage Control. (please share your Voltage table)
+ Deactivate BLX ( now the Charging limit is 100% ) but still support it
+ New RAMDisk ( include the script of Frandom no need now to add that script ) Credits : Keff and hurtsky
Code:
V 1.6 : [URL="http://www.mediafire.com/download/1ychars5x2isi4h/%5Bcm10.1%5D%5B3.0%5D%5BV1.6%5D%5Bmadridii%5D.zip"]Download[/URL]
+ More RAM 360 MB
+ SmartAss2 Gov. Added
+ Increased cpu frequency on boot
- revert {Disabled Gentle Fair Sleepers}
Code:
V 1.0 : [URL="http://www.mediafire.com/download/sgj9aqaz66uinqb/%5Bcm10.1%5D%5B3.0%5D%5BV1.0%5D%5Bmadridii%5D.zip"]Download[/URL]
- Initial release.
- sync with arco's repo
- 3.0.79
Instruction
Code:
- Boot to recovery.
- Flash the kernel.
- Wipe cache & dalvik cache & fix permissions.
- Reboot.
Credits & thanks to
Code:
- Our Master Arco.
- My teacher educk.
- Keff and hurtsky for helping.
- Christopher83 for his commits.
- all github devs I follow.
- and you guys.
400MB RAM kernel
Hi guys..
Finally the great Developer Erik released 3.4 Kernel
So I ported it to Ancora and tested with 400MB RAM without any added feature
( Camera shot works fine [5 MPixel] )
( Video recording & H/W dont work ) >> ( you can use Mx player to use S/W decoder to playback Videos )
( youtube app dont work ) ..
If you want to use it ( the best for gamers ) :
0- Please make nandroid backup for safety..
1- Download it from Here
2- install it via CWM
3- Wipe cache and dalvik-cache
4- fix permissions and reboot.
Credits:
educk
Christopher83
ivendor & arco for source
============================================================
Voltage Tables: Stock voltages without OC (credit to christopher83)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
============================================================
Instruction to add the script of FRANDOM (Credits to Ryuinferno @ XDA) and thank you Christopher83
Code:
- Download this file [URL="http://www.mediafire.com/download/pdrdn21j2j76z7f/00frandom.sh"]here[/URL]
- Copy it to /etc/init.d via root explorer or any other app ( dont forget to mount R/W )
- Rename it to 00frandom ( just delete .sh )
- Change the permissions to rwxr-xr-x
- Reboot your phone and enjoy ;)
Now the kernel included with the script see the changelog
Thanks man... Gotta try it ..
Sent from my GT-I8150 using Tapatalk 4 Beta
good job bro
Thanks man, will try it.
what i know 4.2.2 will be more powerful with 3.4.x kernel because it's build natively to run on 3.4.x kernel
but maybe, there is will be more battery saver on 3.0.x, but it have to be confirmed for a few day.
Hey Madridii.
Good job :good: !
LeroViten said:
Thanks man... Gotta try it ..
Sent from my GT-I8150 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Welcome enjoy
hurtsky said:
good job bro
Click to expand...
Click to collapse
Thanks ..
coliv_aja said:
Thanks man, will try it.
what i know 4.2.2 will be more powerful with 3.4.x kernel because it's build natively to run on 3.4.x kernel
but maybe, there is will be more battery saver on 3.0.x, but it have to be confirmed for a few day.
Click to expand...
Click to collapse
I hope you like it
educk said:
Hey Madridii.
Good job :good: !
Click to expand...
Click to collapse
Thank you for everything without you I can't do anything .. Thank you again
Sent from my GT-I8150 using xda premium
Nice Job Man should try it
coliv_aja said:
but maybe, there is will be more battery saver on 3.0.x, but it have to be confirmed for a few day.
Click to expand...
Click to collapse
For better battery life Madridii should reenable Gentle Fair Sleepers because disabling them will cause more battery drain. By disabling Gentle Fair Sleepers the phone cannot enter deepsleep mode entirely, which results in a better UI responsiveness, but also in a higher battery drain.
honeyx said:
For better battery life Madridii should reenable Gentle Fair Sleepers because disabling them will cause more battery drain. By disabling Gentle Fair Sleepers the phone cannot enter deepsleep mode entirely, which results in a better UI responsiveness, but also in a higher battery drain.
Click to expand...
Click to collapse
Thank you for helping :good:
I will try that and give feedback
I am going to make UV version and see if it will help in battery life or not
and what do you think about Smartass2 ? because I am thinking to add it to the kernel
You are welcome Undervolting will help a lot for battery life, so no doubt about this. You can add Smartass2 as well. Many people like it but my favorite is still Lulzactive. However, many will prefer Smartass2 over Lulzactive, so you can add this as well.
Update ...
V 1.6 :
+ More RAM 360 MB
+ SmartAss2 Gov. Added
+ Increased cpu frequency on boot
- revert {Disabled Gentle Fair Sleepers}
coliv_aja said:
Thanks man, will try it.
what i know 4.2.2 will be more powerful with 3.4.x kernel because it's build natively to run on 3.4.x kernel
but maybe, there is will be more battery saver on 3.0.x, but it have to be confirmed for a few day.
Click to expand...
Click to collapse
Arco said:
Also, I'm probably going to switch back to using 3.0 kernel, since I've registered a fair amount of complains about battery etc.
Click to expand...
Click to collapse
I am testing now the new version of my kernel.. till now battery is good and performance good with smartass2.
Don't know why, but my phone only charges til 96%. Then, it assumes it is fully charged. That didn't happen when I was with another kernel Any way to resolve this situation? Or to revert to original kernel?
Thanks!
trocLas said:
Don't know why, but my phone only charges til 96%. Then, it assumes it is fully charged. That didn't happen when I was with another kernel Any way to resolve this situation? Or to revert to original kernel?
Thanks!
Click to expand...
Click to collapse
This is feature in my kernel with BLX read the First post and read this:
Code:
This feature has been developed by Ezekeel and allow to set a customized battery charging limit (100% is the default stock value, if you want, you can set a lower value).
As Ezekeel said, it is commonly accepted that both very low and very high charge states accelerate the degradation of the battery capacity (that is why you should store Li-Ion batteries at around 40% charge).
If you set a charging limit equal to 100, this feature will be disabled.
How to activate this feature and set a customized charging limit:
1) By downloading and using [URL="https://play.google.com/store/apps/details?id=mobi.cyann.nstools"]NsTools[/URL] by setting the customized battery life extender charging limit
2) By using a customized init.d script (the custom value will be always restored after a reboot, if you don't format the system partition)
- Download the script named [URL="http://www.mediafire.com/download/b5ayj6xc89dvp2i/15blx"]15blx[/URL]
- If the file has been saved with .txt extension (stock browser), rename it by removing the .txt extension
- Edit the file by setting your preferred charging limit (the downloaded script will set the charging limit to 95%)
- Copy the new file inside /etc/init.d
- Give the rwxr-xr-x permissions to the file (read, write, execution for owner, read and execution for group users, read and execution for others)
- Reboot
3) By directly editing the file /sys/class/misc/batterylifeextender/charging_limit (the value you set will be lost after a reboot/shutdown)
4) By using Terminal Emulator (note that set value will be lost after a reboot/shutdown)
- Open Terminal Emulator
- Run these commands (changing the charging limit = 95 with the preferred one)
Code:
[CODE]su
echo 95 > /sys/class/misc/batterylifeextender/charging_limit
[/CODE]
here in my kernel I set it 96% .. If you want to revert it to 100 try that method (credit to Christopher) if you cant
I will make one for you without that feature
I hope you like my kernel
Thanks Madridii! I would appreciate if you make another kernel without that feature. Then I can compare with this and see what fits best to my phone
Update to V 1.8 see the changelog in the first post ..
Madridii said:
Update to V 1.8 see the changelog in the first post ..
Click to expand...
Click to collapse
Thanks madridii, cpu voltage control will be really helpful for sure. :good:
My voltage table .. Works good with lulzactive.. But If I switch to smartass2 the phone freezes ..
Sent from my GT-I8150 using xda premium
sir can you added hadi config for 378 RAM in this kernel and without 96% battery?
btw good job

[KERNEL] [OMNI] [27-dic] Donkey ONE Kernel - Version 15 M - DEV Discontinued

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
- NOTICE: DEVELOPEMENT FOR THIS KERNEL HAS BEEN DISCONTINUED -
Compatible with OmniRom Marshmllow builds
and all Omni based roms (Omni Official builds, Omni Herna's builds, FusionJack's SlimSaber, SAOSP, etc.)
Hotplug Drivers
Omni's stock CPU-Quiet Hotplugging Framework
Blu_Plug (disabled by default) thanks to engstk
Alucard Hotplug (disabled by default) thanks to Alucard_24
MSM Zen Decision (disabled by default) - thanks to bbedward
Bricked Hotplug (disabled by default) - thanks to neobuddy89
Mpdecision (disabled by default)
CPU Governors
Smartmax / Ondemand / Interactive / Conservative / Powersave / Performance (Omni's stock)
Zzmoove (added) - thanks to ZaneZam - REFER TO 3RD. POST FOR INDICATIONS ON HOW TO SET PROFILES
Smartmax_EPS (added)
Alucard (added)
Blu_Active (added)
Custom Features & Optimizations
Built with UBER 5.3 optimized toolchain & optimization Flags
Upgraded linux version 3.4.110
Adreno Idler - tuned for Omni
State_Notifier - by NeoBuddy89
Charge_Level interface - thanks to Lord_Boeffla - FIND INDICATIONS TO HANDLE THIS IN THE THIRD POST
KCAL v2 Control - credits to Savoca
Voltage Control Interface - credits to Franciscofranco
Power Efficient workqueues (enabled by default)
Quickwakeup driver
Franco's thermal driver
Franco's Sound Controls
Faux/Yank's powersuspend implementation
Reduced wakelocks and power saving optimizations
Vibrator Intensity interface
Fsync toggle - thanks to franciscofranco
Wlan wakelock toggles - experimental
CRC toggle - disabled by default
Sync on Suspend toggle interface (disabled by default)
Dynamic management of dirty page writebacks
ARM Topology optimizations
Faux's Simple GPU Algorythm
Increased randomness
CDROM/USB emulation toggles (DriveDroid compatibility)
Many, many other optimizations (refer to the source code for more details)
- Flashable using Anykernel2 - thanks to osm0sis
DISCLAIMER: flash at your own risk; this is intented to improve your android experience, but I'm not responsible for anything unexpected it could happen - and sh** does happen sometimes. Yet, knowing what you are doing usually prevents it. So... be warned.
XDA:DevDB Information
Donkey ONE Kernel, Kernel for the ONEPLUS ONE
Contributors
fermasia
Source Code: https://github.com/fermasia/android_kernel_oppo_msm8974
Special thanks for their source to: OmniRom team ; ak ; savoca ; herna; RenderBroken ; franciscofranco ; LordBoeffla ; derromtester ; neobuddy89 ; and many others.
Created 2015-02-16
Last Updated 2015-12-27
DOWNLOADS - If you find my work useful, please consider buying me a beer :good:
- NOTICE: DEVELOPEMENT FOR THIS KERNEL HAS BEEN DISCONTINUED -
Current version: Version 15 - 27-Dic-2015
Older versions: here
Extras:
UKM-Donkey_Edition_v2
Screen Control App by savoca
Flashing Instructions:
- Flash through recovery (TWRP recommended)
- Flash UKM-Donkey Edition (optional)
- Clean cache (recommended)
- Reboot
- Install Synapse (optional)
- Enjoy (mandatory)
CHANGELOGS:
REFER TO MY KERNEL SOURCE FOR DETAILS ON EVERY COMMIT INCLUDED.
ON HOW TO HANDLE CHARGE_LEVES INTERFACE (proceed with caution, if you don't know what you are doing, just don't do it... I won't support any mess ups with this option!)
- You'll find the sysfs interface for this in this path: /sys/kernel/charge_levels
- The charge_level_ac file contains the value for the wall charger rate in mA; if the file contains a 0 value, it will charge at the standard rate, anything else will be user handled; values should go not more than to the 2100 limit.
- The charge_level_usb file contains the value for the usb charge rate in mA; if the file contains a 0 value, it will charge at the standard rate, anything else will be user handled; values should go not more than to the 500 limit.
- Te charge_info file provides info about the rate in mA and voltage when the phone is charging.
ON HOW TO APPLY ZZMOOVE PROFILES: For now, use Kernel Adiutor, Synapse or any other kernel tweaker to select Zzmoove as the Cpu Governor, and under Governor Optimizers (or in the Sysf folder) and choose the profile_number of your choice:
1 - for Default (set governor defaults)
2 - for Yank Battery -> old untouched setting (a very good battery/performance balanced setting DEV-NOTE: highly recommended!)
3 - for Yank Battery Extreme -> old untouched setting (like yank battery but focus on battery saving)
4 - for ZaneZam Battery -> old untouched setting (a more 'harsh' setting strictly focused on battery saving DEV-NOTE: might give some lags!)
5 - for ZaneZam Battery Plus -> NEW! reworked 'faster' battery setting (DEV-NOTE: recommended too! )
6 - for ZaneZam Optimized -> old untouched setting (balanced setting with no focus in any direction DEV-NOTE: relict from back in the days, even though some people still like it!)
7 - for ZaneZam Moderate -> NEW! setting based on 'zzopt' which has mainly (but not strictly only!) 2 cores online
8 - for ZaneZam Performance -> old untouched setting (all you can get from zzmoove in terms of performance but still has the fast down scaling/hotplugging behaving)
9 - for ZaneZam InZane -> NEW! based on performance with new auto fast scaling active. a new experience!
10 - for ZaneZam Gaming -> NEW! based on performance with new scaling block enabled to avoid cpu overheating during gameplay
11 - for ZaneZam Relax -> NEW! based on moderate (except hotplug settings) with relaxed sleep settings (to react audio/bluetooth/wakeup issues)
Thanks for this man, Just downloaded your unofficial omni build and now this.
Wow! Finally a Custom Kernel for Omni! Much Appreciated
Sent from My OnePlus Using XDA Premium 4
@fermasia well quite lucky you guys. You just steal our one of best devs. Just kidding. Well nice to see you you here brother @fermasia. Well I hope you will develop with same Passion for which you are known in community. Well flash flashing guys.
Sent from my XT1033 using XDA Free mobile app
@fermasia, Just installed the kernel on your latest build but its stuck at bootlogo for long time. Did clean cache.
anishz said:
@fermasia, Just installed the kernel on your latest build but its stuck at bootlogo for long time. Did clean cache.
Click to expand...
Click to collapse
I'm looking into it, tested it fine onto a dirty flash of the latest Omni build, but for some reason when I clean flashed the new Omni version, it doesn't work. As soon as I get it sorted out I'll re-upload the link.
fermasia said:
I'm looking into it, tested it fine onto a dirty flash of the latest Omni build, but for some reason when I clean flashed the new Omni version, it doesn't work. As soon as I get it sorted out I'll re-upload the link.
Click to expand...
Click to collapse
Take your time man, we'll wait.
where is the rom link please.
malavan said:
where is the rom link please.
Click to expand...
Click to collapse
Dude you are a senior member, Rom link is in Android Development thread HERE.
And if you meant Kernel link then fermasia is testing it as it wasn't booting for us.
anishz said:
Dude you are a senior member, Rom link is in Android Development thread HERE.
And if you meant Kernel link then fermasia is testing it as it wasn't booting for us.
Click to expand...
Click to collapse
Sorry i was on the old Omni theread maybe I'm getting blind lol thanks
malavan said:
Sorry i was on the old Omni theread maybe I'm getting blind lol thanks
Click to expand...
Click to collapse
Happens to all of us, also thread was just launched today.
@fermasia, when you are free and if taking requests, please take a look at This.
anishz said:
Take your time man, we'll wait.
Click to expand...
Click to collapse
Done, the link is back up. It was a dumb derp in the flashing script... lol.
malavan said:
where is the rom link please.
Click to expand...
Click to collapse
If you meant the kernel's link, it's back again, had to put it down for an hour to solve a small derp.
fermasia said:
Done, the link is back up. It was a dumb derp in the flashing script... lol.
Click to expand...
Click to collapse
Done, flashed and working well. Thanks!
anishz said:
Happens to all of us, also thread was just launched today.
@fermasia, when you are free and if taking requests, please take a look at This.
Click to expand...
Click to collapse
Yup, kcal, fastcharge, voltage control, etc are queueing in the to-do list
Dope! Are the default settings your recommended settings?
OmegaBlaze said:
Dope! Are the default settings your recommended settings?
Click to expand...
Click to collapse
Not really, I'm still testing -and will probably keep tuning- hotplugs and governors. I'm even considering adding Bricked Hotplug too.
The beauty -in my opinion- about Omni is how solid it works. With other roms I've allways stepped into A or B annoying bugs. Not talking down about anybody's work, but even when Omni takes more time to add features, things work better, and I like that. Plus these guys are making a true open source project, not meaning to bloat our experience with the goal of making money -like CM theme manager- but again, that's just my point of view.
Back to the kernel, there's still work to be done. For now, at least I'm getting a much more acceptable battery drain and, in my opinion, a very good idle/deepsleep drain. Yet I'm not too fond about excesive options, and 3 hotplug drivers qualify as way too much to choose from. I love mako_hotplug because of it's simple and clean approach, that's why it's defaulted. But I might find some other works better in lollipop. So please toy with settings and try to find ur better config. And... report back if you can, I could use the feedback.
Thanks for downloading and trying out.
Looks like a very interesting kernel for the omnirom!
What does the 'quick wake up' feature exactly do? Does it remove the slight delay between pressing the power button and the screen turning on?
Could not really find something describing it on google.
Omni is using cpuquiet hotplug, right ?
Is it working good ?

Categories

Resources