• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[KERNEL] Next |Ep7.8 / 7.9| |Ep8.5| |Ep10.4| |Sense / AOSP|

Search This thread

audahadi

Senior Member
Oct 14, 2012
1,699
3,350
Dimana-mana
Disclaimer : I'm no developer. I don't know how to write code. Just cherry-pick stuff. Flash at your own risk. Just thought to share.

Huge Credit & Thanks to these guy/lady :
LorD ClockaN, Thömy, n3ocort3x, maxwen, franciscofranco, faux123, Xmister, show-p1984, lyapota, tbalden, metallice, tripnraver,Christopher83, AICP Team, p880 devs, all rom/kernel developer, all guide author and the community.

Were tested before release. But not fully on sense. AOSP my daily driver.

Feature

Govenor : + smartmax, smartmax eps, gaming, intelliactive, wheatly
Scheduler : + BFQ, ROW,SIO,VR
Extra : GPU overclock (default at 520), LP core overclock (640) Undervoltage (LP,GPU,RAM,MPU,CORE), Sweep to Wake (S2W), Double Tap to Wake (DT2W), pocket protection, LP core interface, Button backlight brightness, button blink notification

*Do Not Repack For CpuQuiet Version*

Sense / Aosp

Cpu Quiet : Ep 7.8 / Ep 7.8 OC / Ep 7.9

MPdecision : Ep 8.5 / Ep 8.5 OC

Intelliplug : Ep 10.4 / Ep 10.4 OC/Ep 10.5/Ep 10.5 OC

Older Released : Kernel Folder

Change log see post #2

How to flash:

For S-OFF
1. Download ZIP file and put to SD card
2. Flash ZIP from recovery

For S-ON
1. Download ZIP file and extract kernel\boot.img to Kernel Flasher fastboot dirrectory on the PC
2. Put ZIP file to SD card and flash from recovery
3. Reboot to bootloader and flash kernel by Kernel Flasher from PC


Next Kernel Source

> Be gentle :D
 
Last edited:

audahadi

Senior Member
Oct 14, 2012
1,699
3,350
Dimana-mana
Changelog


Next Kernel Parameter (init.d script)


#!/system/bin/sh
# **************************************
# init.d script for Next kernel
# **************************************

#***************************
# Cpu Freq & Governor Setting
#***************************
# Gov = ondemand, performance, interactive, smartmax, smartmax_eps, intelliactive, gaming, wheatly
#echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
#echo "ondemand" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
#echo "ondemand" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
#echo "ondemand" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor

# Freq min = 51000, max = 1600000
#echo "51000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
#echo "1600000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

#*******************
#Sweep2Wake Setting
#*******************

#enable=1, disable=0
#echo "0" > /sys/android_touch/sweep2wake
#echo "9" > /sys/android_touch/s2w_register_threshold
#echo "325" > /sys/android_touch/s2w_min_distance
# Sweep direction
#echo "1" > /sys/android_touch/s2w_allow_stroke
#enable=1, disable=0
#echo "0" > /sys/android_touch/doubletap2wake
# 0 = use whole screen
#echo "1300" > /sys/android_touch/doubletap_barrier_y
# Duration between tap, min = 120, max =350
#echo "150" > /sys/android_touch/doubletap_duration
#echo "150" > /sys/android_touch/doubletap_threshold
#enable=1, disable=0
#echo "0" > /sys/android_touch/pocket_detect

#*********************
# LED button
#*********************
# Enable=1, disable=0
#echo "0" > /sys/class/leds/button-backlight/slow_blink

# Value Min=0 , Max=225
#echo "225" > /sys/class/leds/button-backlight/button_brightness

#******************
# Touchscreen
#******************

# Enable=1, disable=0 - for multitouch issue
#echo "0" > /sys/android_touch/calibration_control

#*******************
# Audio Freq
#*******************
# Enable this if playing music stutter
#echo "204000" > /sys/module/snd_soc_tlv320aic3008/parameters/audio_min_freq

#*******************
# Cpu Freq Hard Cap
#*******************

#echo "1200000" > /sys/module/cpu_tegra/parameters/cpu_user_cap

#******************
# CpuQuiet
#******************
#To limit how much cpu online, min=1, max=4
#echo "4" > /sys/devices/system/cpu/cpuquiet/tegra_cpuquiet/max_cpus
#echo "1" > /sys/devices/system/cpu/cpuquiet/tegra_cpuquiet/min_cpus

#******************
# Mp Decision
#******************
#To change those frequencies echo the cpu number + the frequency in khz.
# To verify [ cat /sys/kernel/tegra_mpdecision/conf/boost_freqs ]
#echo "0 102000" > /sys/kernel/tegra_mpdecision/conf/boost_freqs
#echo "1 102000" > /sys/kernel/tegra_mpdecision/conf/boost_freqs
#echo "2 102000" > /sys/kernel/tegra_mpdecision/conf/boost_freqs
#echo "3 102000" > /sys/kernel/tegra_mpdecision/conf/boost_freqs

#To limit how much cpu online
#echo "4" > /sys/kernel/tegra_mpdecision/conf/max_cpus
#echo "1" > /sys/kernel/tegra_mpdecision/conf/min_cpus

#****************
# Frandom
#****************

# Script to launch frandom at boot by Ryuinferno @ XDA

#insmod /system/lib/modules/frandom.ko
#chmod 644 /dev/frandom
#chmod 644 /dev/erandom
#mv /dev/random /dev/random.ori
#mv /dev/urandom /dev/urandom.ori
#ln /dev/frandom /dev/random
#chmod 644 /dev/random
#ln /dev/erandom /dev/urandom
#chmod 644 /dev/urandom


 
Last edited:

humzaahmed155

Senior Member
Dec 30, 2011
1,354
299
London
Hey man! Nice to see a pretty decent aftermarket kernel on our forums again, How does Android 4.4 support look like right now? Would you it's ready to use? *I'm flashing it anyway :p*
 

audahadi

Senior Member
Oct 14, 2012
1,699
3,350
Dimana-mana
can i install aosp one on cm10.1 ?

Ops...don't have time to test on cm10.1..sorry..you could try repack and report if it run ok. Why don't jump to cm10.2? It pretty stable now.

Hey man! Nice to see a pretty decent aftermarket kernel on our forums again, How does Android 4.4 support look like right now? Would you it's ready to use? *I'm flashing it anyway :p*

My aim to help sense user so n3o can focus on aosp. :p .. It my daily driver..I can live with minor bug. Now I'm using custom cm from temasek. Need halo. Jump to aicp when they release.
Sent from my HTC One X using Tapatalk
 
Last edited:
  • Like
Reactions: ocampo

raminjpr

Senior Member
Aug 15, 2013
146
182
Great Work...Atlast you've posted your kernel in XDA...:) :)

Congrats....As said in G+, very happy to see your first kernel here...:) I hope your kernel would surely help a lot of Users and Devs here...:)

Keep rocking...:) :highfive::highfive::highfive:

Ram
 

humzaahmed155

Senior Member
Dec 30, 2011
1,354
299
London
Just flashed your kernel on CM11, runs exceptionally faster than stock, only issue was when I was installing the kernel I realised the updater script isn't compatible with the new KitKat recovery, so I had to flash back to twrp to get it running

Sent from my HTC One X using Tapatalk
 

n3ocort3x

Senior Member
May 10, 2012
5,862
10,822
Vienna
Aweseome u made it. Just a little info for AOSP/SENSE. U will need 2 defconfigs. Where in AOSP one for example # HTC_PNPMNGR is not set (what fixes core usager on AOSP) u will need it in SENSE defconfig set to HTC_PNPMNGR=y (otherwise u could run into issues). There is a lot of other stuff disabled in our AOSP defconfig, you should re-enable that for sense (SENSE PLUS is such a value, just check git waht thömy and me reverted and revert it back for Sense version)

Keep the kernels coming :highfive:
 

smeejaytee

Recognized Contributor
Sep 29, 2013
7,818
4,105
41
kent
Xiaomi Mi 10T / 10T Pro
Smartmax seems a bit slow I tried to play temple run but it as to chuggy and system stalled for a few seconds also ui is not very responsive hope this helps

Sent from my HTC One X using Tapatalk
 

myheroduane

Senior Member
Jan 29, 2012
746
174
Firstly may I say thank you for you work, your kernel is snappy and all seems good. Is it possible for sweep to unlock?

Sent from my HTC One X using XDA Premium 4 mobile app
 

humzaahmed155

Senior Member
Dec 30, 2011
1,354
299
London
Has anyone else had issues waking the phone up?

Sent from my HTC One X using Tapatalk
Edit: it seems as if it was just cold temperatures preventing the phone from turning on
 
Last edited:

cappuccina

Senior Member
Feb 24, 2010
891
402
Firstly may I say thank you for you work, your kernel is snappy and all seems good. Is it possible for sweep to unlock?

Sent from my HTC One X using XDA Premium 4 mobile app

Its there but its off by default.
You can enable it with trickster mod for example.

Gesendet von meinem HTC One X

Using your Kernel right now, Thanks for another option in Kernel Flashing ;)
Using smartmax and rest pretty much default. Running nice so far.
Thanks again and good luck for your development. :good:
 
Last edited:
  • Like
Reactions: audahadi

smeejaytee

Recognized Contributor
Sep 29, 2013
7,818
4,105
41
kent
Xiaomi Mi 10T / 10T Pro
I have a question regarding kernel same page merging is it worth using I have found the option to enable it in venom tweaks cpu settings unfortunately it isn't in trickster and in venom tweaks I can't get it to stick after reboot any advise would be appreciated thanks

Sent from my HTC One X using Tapatalk
 

audahadi

Senior Member
Oct 14, 2012
1,699
3,350
Dimana-mana
I have a question regarding kernel same page merging is it worth using I have found the option to enable it in venom tweaks cpu settings unfortunately it isn't in trickster and in venom tweaks I can't get it to stick after reboot any advise would be appreciated thanks

Sent from my HTC One X using Tapatalk

Some info

By everyday use I don't see much different.
 
  • Like
Reactions: smeejaytee

Top Liked Posts

  • There are no posts matching your filters.
  • 64
    Disclaimer : I'm no developer. I don't know how to write code. Just cherry-pick stuff. Flash at your own risk. Just thought to share.

    Huge Credit & Thanks to these guy/lady :
    LorD ClockaN, Thömy, n3ocort3x, maxwen, franciscofranco, faux123, Xmister, show-p1984, lyapota, tbalden, metallice, tripnraver,Christopher83, AICP Team, p880 devs, all rom/kernel developer, all guide author and the community.

    Were tested before release. But not fully on sense. AOSP my daily driver.

    Feature

    Govenor : + smartmax, smartmax eps, gaming, intelliactive, wheatly
    Scheduler : + BFQ, ROW,SIO,VR
    Extra : GPU overclock (default at 520), LP core overclock (640) Undervoltage (LP,GPU,RAM,MPU,CORE), Sweep to Wake (S2W), Double Tap to Wake (DT2W), pocket protection, LP core interface, Button backlight brightness, button blink notification

    *Do Not Repack For CpuQuiet Version*

    Sense / Aosp

    Cpu Quiet : Ep 7.8 / Ep 7.8 OC / Ep 7.9

    MPdecision : Ep 8.5 / Ep 8.5 OC

    Intelliplug : Ep 10.4 / Ep 10.4 OC/Ep 10.5/Ep 10.5 OC

    Older Released : Kernel Folder

    Change log see post #2

    How to flash:

    For S-OFF
    1. Download ZIP file and put to SD card
    2. Flash ZIP from recovery

    For S-ON
    1. Download ZIP file and extract kernel\boot.img to Kernel Flasher fastboot dirrectory on the PC
    2. Put ZIP file to SD card and flash from recovery
    3. Reboot to bootloader and flash kernel by Kernel Flasher from PC


    Next Kernel Source

    > Be gentle :D
    15
    New episode on air

    Brieflog :

    • Removed HTC advance setting
    • Gpu OC per franco
    • Aosp zip contain aicp 2.0 and cm10.2.1 boot.img (if user on other rom stated who have bootloop please provide rom boot.img with rom info)
    • For cm10.2.1 user please delete xposedselinuxrelabel in system/etc/init.d
    • For those who don't want xposed xploit please raise up for another boot.img as there is vulnerablity issue with xposed
    • There is init.d script for kernel parameter setting
    12
    Changelog


    Next Kernel Parameter (init.d script)


    #!/system/bin/sh
    # **************************************
    # init.d script for Next kernel
    # **************************************

    #***************************
    # Cpu Freq & Governor Setting
    #***************************
    # Gov = ondemand, performance, interactive, smartmax, smartmax_eps, intelliactive, gaming, wheatly
    #echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
    #echo "ondemand" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
    #echo "ondemand" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
    #echo "ondemand" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor

    # Freq min = 51000, max = 1600000
    #echo "51000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
    #echo "1600000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

    #*******************
    #Sweep2Wake Setting
    #*******************

    #enable=1, disable=0
    #echo "0" > /sys/android_touch/sweep2wake
    #echo "9" > /sys/android_touch/s2w_register_threshold
    #echo "325" > /sys/android_touch/s2w_min_distance
    # Sweep direction
    #echo "1" > /sys/android_touch/s2w_allow_stroke
    #enable=1, disable=0
    #echo "0" > /sys/android_touch/doubletap2wake
    # 0 = use whole screen
    #echo "1300" > /sys/android_touch/doubletap_barrier_y
    # Duration between tap, min = 120, max =350
    #echo "150" > /sys/android_touch/doubletap_duration
    #echo "150" > /sys/android_touch/doubletap_threshold
    #enable=1, disable=0
    #echo "0" > /sys/android_touch/pocket_detect

    #*********************
    # LED button
    #*********************
    # Enable=1, disable=0
    #echo "0" > /sys/class/leds/button-backlight/slow_blink

    # Value Min=0 , Max=225
    #echo "225" > /sys/class/leds/button-backlight/button_brightness

    #******************
    # Touchscreen
    #******************

    # Enable=1, disable=0 - for multitouch issue
    #echo "0" > /sys/android_touch/calibration_control

    #*******************
    # Audio Freq
    #*******************
    # Enable this if playing music stutter
    #echo "204000" > /sys/module/snd_soc_tlv320aic3008/parameters/audio_min_freq

    #*******************
    # Cpu Freq Hard Cap
    #*******************

    #echo "1200000" > /sys/module/cpu_tegra/parameters/cpu_user_cap

    #******************
    # CpuQuiet
    #******************
    #To limit how much cpu online, min=1, max=4
    #echo "4" > /sys/devices/system/cpu/cpuquiet/tegra_cpuquiet/max_cpus
    #echo "1" > /sys/devices/system/cpu/cpuquiet/tegra_cpuquiet/min_cpus

    #******************
    # Mp Decision
    #******************
    #To change those frequencies echo the cpu number + the frequency in khz.
    # To verify [ cat /sys/kernel/tegra_mpdecision/conf/boost_freqs ]
    #echo "0 102000" > /sys/kernel/tegra_mpdecision/conf/boost_freqs
    #echo "1 102000" > /sys/kernel/tegra_mpdecision/conf/boost_freqs
    #echo "2 102000" > /sys/kernel/tegra_mpdecision/conf/boost_freqs
    #echo "3 102000" > /sys/kernel/tegra_mpdecision/conf/boost_freqs

    #To limit how much cpu online
    #echo "4" > /sys/kernel/tegra_mpdecision/conf/max_cpus
    #echo "1" > /sys/kernel/tegra_mpdecision/conf/min_cpus

    #****************
    # Frandom
    #****************

    # Script to launch frandom at boot by Ryuinferno @ XDA

    #insmod /system/lib/modules/frandom.ko
    #chmod 644 /dev/frandom
    #chmod 644 /dev/erandom
    #mv /dev/random /dev/random.ori
    #mv /dev/urandom /dev/urandom.ori
    #ln /dev/frandom /dev/random
    #chmod 644 /dev/random
    #ln /dev/erandom /dev/urandom
    #chmod 644 /dev/urandom


    12
    Aweseome u made it. Just a little info for AOSP/SENSE. U will need 2 defconfigs. Where in AOSP one for example # HTC_PNPMNGR is not set (what fixes core usager on AOSP) u will need it in SENSE defconfig set to HTC_PNPMNGR=y (otherwise u could run into issues). There is a lot of other stuff disabled in our AOSP defconfig, you should re-enable that for sense (SENSE PLUS is such a value, just check git waht thömy and me reverted and revert it back for Sense version)

    Keep the kernels coming :highfive:
    11
    Test Version

    Revert most previous stuff and do rework. Smartmax/smartmax_eps could not behave properly with certain shed. Mobile data work ok now.

    Sense
    Aosp

    Changelog


    e96fdf0 - audahadi : Optimize MMC Speed https://github.com/P880-dev/android_kernel_lge_x3/commit/66504848aac0c4fd0519cf1c04dc2da3ea25f31e
    c3ba110 - franciscofranco : Fix SMC #0 compiling error
    104809b - audahadi : cpufreq: break earlier if the target_freq is equal to the current freq. Signed-off-by: Francisco Franco <[email protected]>
    3633360 - audahadi : edp: Allow all cores to go up tp 1.5GHz https://github.com/P880-dev/android_kernel_lge_x3/commit/42599026f1894865a537609d82c96be00b4c5a92
    d316eda - Francisco Franco : thermal: modify the workqueue to the newer alloc_workqueue. create_singlethread_workqueue is obsolete. Give it RESCUER and UNBOUND flags, the latter so that its not bound to its cre
    efc5470 - Francisco Franco : wakelock: remove deprecated create_singlethread_workqueue and replace with the modern alloc_workqueue.
    39ca1bb - Rafael J. Wysocki : PM / Hibernate: Freeze kernel threads after preallocating memory
    ab02af9 - Tejun Heo : freezer: fix current->state restoration race in refrigerator()
    ab02e1a - maxwen : lowmemorykiller: make default lowmemorykiller debug message useful
    7dc01bb - audahadi : defconfig update
    567ab46 - maxwen : lowmemorykiller: Add config option to support oom_adj values The conversion to use oom_score_adj instead of the deprecated oom_adj values breaks existing user-space code. Add a config option
    3521330 - maxwen : lowmemorykiller: adapt from Samsung's JF series kernel - credits to faux123 https://github.com/faux123/Find5-Kernel-Source/commit/9fb3fbe09bded21869d62176201767bcde4d8887
    c25f0e9 - audahadi : all cpus should use same governors (thanks at maxwen )
    5c47f81 - n3ocort3x : add maxwens input mediator & hopefully fix smartmax/smartmax_eps kernel panic
    a5a83ae - Francisco Franco : block: cfq: winning values.
    73e9efb - Francisco Franco : block: deadline: fix magic values.
    fa4021d - Francisco Franco : block: cfq: finally nailed CFQ tunables correctly, damn multipliers. Thanks osm0sis for cranking this last bit up.
    1a3a4c9 - Francisco Franco : block: cfq: tweak all CFQ tunables. Researched by my mates malaroth, osm0sis, joaquinf, The Gingerbread Man, pkgnex, Khrushy, shreddintyres. Please if you copy this values make sure
    3f2dc02 - Francisco Franco : block: deadline: hardcode magic values from the usual suspects.
    25cba11 - xiaobing tu : deadline: Allow 0ms deadline latency, increase the read speed
    e628398 - audahadi : drivers/cpuquiet/governors/runnable_threads: fix typo derp (faux123)
    8fe2e6c - Srivatsa S. Bhat : CPU hotplug, writeback: Don't call writeback_set_ratelimit() too often during hotplug
    c3504ed - Gokhan Moral : add SIO I/O scheduler
    b3e94b0 - audahadi : use XZ compression
    4ac15c2 - Imre Kaloz : ARM: support XZ compressed kernels
    33e25ab - audahadi : beginning of Ep3
    e3a03b0 - audahadi : remove build script from kernel directory
    f91ffc0 - Bhavesh Parekh : ARM: Tegra: Fix PowerGate status logic