5,597,007 Members 47,964 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
n3ocort3x
Old
(Last edited by n3ocort3x; 12th September 2012 at 10:45 AM.)
#1  
n3ocort3x's Avatar
Senior Member - OP
Thanks Meter 10786
Posts: 5,832
Join Date: May 2012
Location: Vienna

 
DONATE TO ME
Default [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, Im 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
================================================== ======================
========== ICE COLD JELLY COMMUNITY ON G+ ->>LINK ============
================================================== ======================
================ FOLLOW ME ON TWITTER ->> LINK ==================
The Following 27 Users Say Thank You to n3ocort3x For This Useful Post: [ Click to Expand ]
 
n3ocort3x
Old
(Last edited by n3ocort3x; 25th October 2012 at 05:30 AM.)
#2  
n3ocort3x's Avatar
Senior Member - OP
Thanks Meter 10786
Posts: 5,832
Join Date: May 2012
Location: Vienna

 
DONATE TO ME
Default [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 im 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

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, im sure you will come close to those values.
================================================== ======================
========== ICE COLD JELLY COMMUNITY ON G+ ->>LINK ============
================================================== ======================
================ FOLLOW ME ON TWITTER ->> LINK ==================
The Following 11 Users Say Thank You to n3ocort3x For This Useful Post: [ Click to Expand ]
 
n3ocort3x
Old
(Last edited by n3ocort3x; 3rd December 2012 at 11:39 AM.)
#3  
n3ocort3x's Avatar
Senior Member - OP
Thanks Meter 10786
Posts: 5,832
Join Date: May 2012
Location: Vienna

 
DONATE TO ME
Default [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 Im 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:
ncx-217_v1
- initial release 
- fixes from showp1984 to stabilize the Kernel

ncx-217_v2
- 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 (fauxs 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

ncx-217_v3
-closed beta to fix wifi stuff on JB AOSP AOKP CM ROMS (Thanks to my testers)

ncx-217_v4
-fixed WIFI issues on JB AOSP AOKP CM ROMS
-added Volume WAKE fix (be sure too send TripNraver a beer, he found out how)

ncx-217_v4.1_SENSE
- fixed BLUETOOTH ISSUE on SENSE based ROMS

ncx-217_v4.5_AOSP
-) 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

ncx-217_v4.5_SENSE
-) 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

ncx-217_v.5_AOSP
-) 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"
-) slightly undervolted and underclocked stuff wich is only accessible in source
-) ondemand changes to make it a bit more responsive

ncx-217_v.5.5_AOSP
-) 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

ncx-217_v.5.5_SENSE_ALPHA
-) 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 !

ncx-217_v.5.9_AOSP
-)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:

-) implemented a new governor -> n3ocold :D

ncx-217_v.5.9.2_AOSP
-) changes to n3ocold governor to act more battery friendly
-) RAMDISK fixup (thx dekyyy, Ive messed up something)
-) changes to tegra3-dvfs.c

ncx-217_v6_AOSP
-) another play around with n3ocold governor (should be real smooth now)
-) added some stuff to it
-) GPU @ 550 MHz for testing purposes

ncx-217_v.6_SENSE
-) 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

ncx-217_v7_AOSP
-) 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

ncx-217_v7.2_AOSP
-) 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

ncx-217_v7.4_AOSP
-) fixed bt/gps toggle issue (thx showp1984)
-) added back a few Ramdisk tweaks, ondemand stays as default governor
-) GPU back to 520MHz

ncx-217_v.7.3_SENSE 
-) added working s2w support (ALL Credits to showp1984 -> its his work !)

ncx-217_v7.5_AOSP
- 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)

ncx-217_v7.6_AOSP
-) added boostpulse to ondemand governor. Interessted how it works: LINK
-) set ondemand sligtly more aggressive

ncx-217_v8_AOSP_beta2_AOSP
-) 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

ncx-217_v8_AOSP_beta5_AOSP
-) reverted back to -50mV on EMC, AVP, LP and VDD_CORE
-) should now work for everyone (even the really crap Tegra revisions)
-) Ramdisk cleanups

ncx-217_v8_SENSE_beta1_AOSP
-) reverted back to -50mV on EMC, AVP, LP and VDD_CORE
-) should now work for everyone (even the really crap Tegra revisions)
-) Ramdisk cleanups

ncx-217_v9_AOSP_beta1_AOSP
-) introducing new cpu_g freq table
-) introducing new LP freq table
-) GPU now 484Mhz (testing purposes)
-) corrected voltages for new freq table

ncx-217_v9_AOSP_beta2_AOSP
-)bugfix where the phone booted with 102Mhz instead of 100Mhz as min freq.

ncx-217_v9_beta2_SENSE
-) 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.

ncx-217_v9_beta5_SENSE
-) fixed a silly derp Ive 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 

ncx-217_v9_beta5_AOSP
-) fixed a silly derp Ive 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 

ncx-217_v9_beta6_SENSE
-) attempt to fix music lag on ondemand (again again and again)

ncx-217_v9_beta6_AOSP
-) attempt to fix music lag on ondemand (again again and again)

ncx-217_v10_beta1_SENSE
-) 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

ncx-217_v10_beta1_AOSP
-) 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 PMs !
TripNraver for his awesome way to enable VOLUME WAKE !
franciscofranco for his way to remove silly HTC stuff for resume / suspend
================================================== ======================
========== ICE COLD JELLY COMMUNITY ON G+ ->>LINK ============
================================================== ======================
================ FOLLOW ME ON TWITTER ->> LINK ==================
The Following 105 Users Say Thank You to n3ocort3x For This Useful Post: [ Click to Expand ]
 
Laurentius26
Old
#4  
Laurentius26's Avatar
Recognized Developer
Thanks Meter 1148
Posts: 7,948
Join Date: Nov 2005

 
DONATE TO ME
'Reserved 1' LoL, thanks a lot, downloading!

 
nimrodity
Old
#5  
nimrodity's Avatar
Senior Member
Thanks Meter 1156
Posts: 4,320
Join Date: Sep 2008

 
DONATE TO ME
Dann, saw it too late, don't have time to flash it now, will have to wait till tomorrow

Sent from nexus 7

I love to beta test all sorts of stuff
Please check my Android Blog TheDroidEffect
and my custom ROM comparison database
 
DrugsBunny
Old
#6  
Senior Member
Thanks Meter 12
Posts: 106
Join Date: Jan 2012
Thanks cant wait to try this out
 
jonoathome
Old
(Last edited by jonoathome; 6th September 2012 at 08:33 PM.)
#7  
Senior Member
Thanks Meter 18
Posts: 191
Join Date: Sep 2010
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)
 
nimrodity
Old
#8  
nimrodity's Avatar
Senior Member
Thanks Meter 1156
Posts: 4,320
Join Date: Sep 2008

 
DONATE TO ME
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

I love to beta test all sorts of stuff
Please check my Android Blog TheDroidEffect
and my custom ROM comparison database
The Following User Says Thank You to nimrodity For This Useful Post: [ Click to Expand ]
 
adakaya1994
Old
#9  
adakaya1994's Avatar
Senior Member
Thanks Meter 76
Posts: 475
Join Date: Dec 2010
Location: İstanbul
Quote:
Originally Posted by jonoathome View Post
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)
yes that would be great
 
Try4Ce
Old
#10  
Try4Ce's Avatar
Senior Member
Thanks Meter 398
Posts: 1,735
Join Date: Jul 2010
Location: NRW
Quote:
Originally Posted by nimrodity View Post
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
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes