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

How about OC ? Do we need 1,7GHz ? (we still have sticky freqs, for the non oc guys)

  • Burn it to the ground :D

    Votes: 174 61.1%
  • I´m afraid of the speed

    Votes: 111 38.9%

  • Total voters
    285
  • Poll closed .
Search This thread

n3ocort3x

Senior Member
May 10, 2012
5,859
10,822
Vienna
****... ok then the sense guys have to wait until tomorrow. My bad sorry, was in pull request I update OP for sense to 17b
 

oddyZR

Senior Member
Sep 7, 2010
202
163
freez

Ok, on Renvoate Final 1.1 and NCX v18, while doing benchmarks in AuTuTu in I/O benchmark section had device freez. Using repacked kernel, all stock, I have change nothing like Govs, UV, Freq...

EDIT: Second freez while entering AnTuTu...
 

Attachments

  • Renovate-NCX18-freez.zip
    125.4 KB · Views: 2
Last edited:

n3ocort3x

Senior Member
May 10, 2012
5,859
10,822
Vienna
dont flash v18 on sense roms. I replaced the links for sense with 17b. The audio will be broken as we use old audio ics drivers on aosp. I havent seen it as i merged stuff from lord. I will try to update tomorrow sense_v18
 

Whiskey103

Member Advocate Admin / Developer Committee
Staff member
dont flash v18 on sense roms. I replaced the links for sense with 17b. The audio will be broken as we use old audio ics drivers on aosp. I havent seen it as i merged stuff from lord. I will try to update tomorrow sense_v18

Oke, all v18 stuff taken down from my mirror..including repacks.
Thx for your hard work anyway, you are doing fine job ;)
 

n3ocort3x

Senior Member
May 10, 2012
5,859
10,822
Vienna
Oke, all v18 stuff taken down from my mirror..including repacks.
Thx for your hard work anyway, you are doing fine job ;)

unfortunately i have to go to bed now... otherwise i would fix it now... but be sure -> tomorrow is another day :)
EDIT
forget it i compiled new, update in 15 minutes, i cant sleep when i know something is broken
 
Last edited:

nimrodity

Senior Member
Sep 9, 2008
4,398
1,192
www.thedroideffect.com
AW: [KERNEL 20|02|13]ncx_3.14_v17b JB Kernel_3.1.10|AOSP|SENSE[s2w,gpu@520Mhz,mpdecis

V18 is a bit unstable for me, 3 freeze in half an hour, sorry no logs

Gesendet von meinem Nexus 7 mit Tapatalk 2
 

GuyAdams

Senior Member
Jun 23, 2007
2,144
2,082
Nottinghamshire
Re: [KERNEL 25|02|13]ncx_314_v18 JB Kernel_3.1.10|AOSP|SENSE[S2W,GPU_OC_IF,MPDECISION

unfortunately i have to go to bed now... otherwise i would fix it now... but be sure -> tomorrow is another day :)
EDIT
forget it i compiled new, update in 15 minutes, i cant sleep when i know something is broken

Your a machine n3o mate, keep up the great work my friend.

Sent from my HTC One X using Tapatalk 2
 
  • Like
Reactions: Goku80

Goku80

Senior Member
Mar 18, 2012
10,010
6,782
Within the Matrix
Re: [KERNEL 25|02|13]ncx_314_v18 JB Kernel_3.1.10|AOSP|SENSE[S2W,GPU_OC_IF,MPDECISION

Neo I am free tomorrow bro if you want a hand with sense

Sent from my HTC One X using xda premium
 

Goku80

Senior Member
Mar 18, 2012
10,010
6,782
Within the Matrix
Re: [KERNEL 25|02|13]ncx_314_v18 JB Kernel_3.1.10|AOSP|SENSE[S2W,GPU_OC_IF,MPDECISION

grab the boot.img and modules for sense now and report in the next 10 minutes if audio is working again :) thx

Alright. We're is the link

Sent from my HTC One X using xda premium

no worries i am gonna use the ones from the main link on OP
 
Last edited:

n3ocort3x

Senior Member
May 10, 2012
5,859
10,822
Vienna
cool no probs dude...glad to be helping out again..been a while..anything else you need help with bro?

---------- Post added at 11:15 PM ---------- Previous post was at 11:13 PM ----------

Neo scrap that version..just had a freeze mate and the vibrate was going on and on and had to switch it off and reboot it..

crap wtf have i merged with lords pull request... everything is out of control it seems... i go back to 17b on SENSE meanwhile on OP
 

Top Liked Posts

  • There are no posts matching your filters.
  • 209
    neocortex_title_banne5rb75.png

    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 :p

    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)

    47
    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 :D
    so please always provide me necessary information if you want to get your
    problem fixed
    44
    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://xdaforums.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
    33
    yeah, when i have a new version ready :p as said.... i still cant promise anything, i dont want to give wrong hopes but im on it
    29
    good evening ladies and gents (mostly gents i assume :p)

    here is a new version packed for CM10.2 (if u are on an other rom please repack. the thing im interrested in is:

    -does v46 solve the issue that not all cpus are used

    so fire up ur benchmarks and test this please, i hope at least one problem less :) waiting for ur reports (as said, my phone is dead, and now for real)


    ===n3okernel_AOSP_v46=== FOR AOSP/CM ONLY

    KERNEL
    MODULES