Disclaimer:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
* blah blah blah you get the point.
*/
1# post: Disclamer - special thanks
2# post: Current release & source
3# post: FAQ - bugs - future features
Donator List: (huge thanks for support)
here
Suggested kernel control app: trickstermod
I don't know if it works because i don't own the device but i have got ville which is pretty similar
[GUIDE]How to compile a kernel
Credits and Thanks:
dsixda, showp1984, ngtools, faux123, Christopher83, franciscofranco, msm8960 team, jrior001, flar2
XDA:DevDB Information
AOSP Bubba Kernel, Kernel for the HTC One Mini
Contributors
rmbq
Kernel Special Features:
Version Information
Status: Testing
Beta Release Date: 2014-07-16
Created 2014-05-06
Last Updated 2014-07-16
Reserved
Features:
Based on linux 3.4.99
Compiled with linaro toolchain 4.9.1 2014.07 optimized for cortex-a15
Linaro -O3 optimization
avaiable CPU governors: interactive, ondemand, performance, powersave, intellimand, intelliactive
avaiable GPU governors: ondemand, performance, simple
avaiable schedulers: row, deadline, noop, cfq, bfqv7r5, fiops, sio
Sleepy Plug
NTFS read & write support
exfat support
UTF8
Voltage control
Sweep2Wake
Double tap 2 wake
Pocket detection
Intelli-thermal
zRam with LZ4 compression
zCache with LZ4 compression
CPU OC to 1.7 GHz
GPU OC to 512MHz (3D) and 320MHZ (2D)
Faux sound control v. 3
Improved alghorithm: SHA1, AES, SQRT, lib/string (glibc version), lib/memcopy (glibc version), XOR (neon)
dynamic fsync by faux123
fastcharge
powersuspend driver (replace earlysuspend)
KCAL control (RGB)
heavly patched memory allocators, RWSEM and mutex (take a look at my github, too many changes to make a list here)
Changelog:
Code:
[JUL 26 2014]
Revert "prctl: adds the capable(CAP_SYS_NICE) check to PR_SET_TIMERSLACK_PID."
Revert "prctl: adds PR_SET_TIMERSLACK_PID for setting timer slack of"
add qseecom support
some defconfig changes
cpufreq: revert CAF's cpu policy save code
sched/cpuidle: reduce IPI storm. Backport upstream 3.16
mm, hugetlb: improve page-fault scalability
mm: per-thread vma caching
update compiler to linaro toolchain 4.9.1 2014.07 optimized for cortex-a15
update to 3.4.99
added KCAL control by faux and fixed by me
add F2FS support
Revert "msm: htc: update mem mapping"
[JUL 17 2014]
update to 3.4.98
sync with cm
sync with codeaurora/kk_2.7-stable
update sleepy_plug
bfq: BFQ-v7r5
bugfix from google (see github)
[JUN 29 2014]
Remove JustArchi GCC flags cos they are unstable
update to 3.4.95
sync with CM
sync with codeaurora/kk_2.7-stable
ext4: Speedup WB_SYNC_ALL pass called from sync(2)
[JUN 19 2014]
update compiler to linaro toolchain 4.9.1 2014.06 optimized for cortex-a15
update to 3.4.94
remove -fdata-sections GCC flag (cause of reboot issue)
sync with CM
sync with codeaurora/kk_2.7-stable
updated sleepy_plug
update ramdisk to 19Jun CM
[JUN 08 2014]
3.4.92
reverted some KGSL CAF patches
removed -ftrace flag
sync with CM
improved int_sqrt algorithm
update bfq to v7-r4
[MAY 27 2014]
update to 3.4.91
sync with codeaurora/kk_2.7-stable
update bfq to v7-r3
new GCC flags
update compiler
added sleepy_plug
removed mp decision
[MAY 13 2014]
fix mic
disable GPU OC
[MAY 08 2014]
fix GPU oc
add l2w and su2w
[MAY 07 2014] 2nd
added intelliactive and intellimand governors
added sio and bfqv7r2 schedulers,
added s2w dt2w credits to flar2
CPU OC
GPU OC
[MAY 07 2014]
fix boot
[MAY 06 2014]
first release
If you like my work please consider making a donation, I spend almost all my free time on making this kernel the best
i'll buy another phone to continue to support the android development!
Download:
androidfilehost folder: http://www.androidfilehost.com/?w=files&flid=16974
(if you don't see the new version just wait some minutes, it's uploading)
Kernel Source: Github
Reserved
Q: i've got random reboots, what do you need?
A: first read here
write this info:
kernel version
ROM
governor
scheduler
undervolted? if yes don't undervolt
QV version? if no use it
last_kmsg
Q: I plugged in my pen drive but i can't found it
A: look in /mnt/usbdisk folder.Q: What's and how i enable/disable fastcharge?
A: with fast charge the max mA the phone can receive from an USB cable is increased
with the usb cable UNPLUGGED edit /sys/kernel/fast_charge/force_fast_charge:
0 -> disable
1 -> enable
than plug in the cableQ: what's BLN and how i enable/disable it?
with BLN on when you received a notify the soft key will blink.
to enable/disable edit /sys/class/leds/button-backlight/blink_buttons:
0 -> disable
1 -> enableQ: what's s2w and how i enable/disable it?
Sweep2wake allows you to wake up your device by swiping your finger across the capacitive buttons from left to right. Swiping from right to left will put it back to sleep (sweep2sleep).
to enable/disable edit /sys/android_touch/sweep2wake:
0 -> disable
1 -> enableQ: what's dt2w and how i enable/disable it?
DoubleTap2Wake (DT2W) allows you to wake the device by double tapping the capacitive buttons.
to enable/disable edit /sys/android_touch/doubletap2wake:
0 -> disable
1 -> enableWhat's sleepy_plug and how can i activate/deactivate it?
sleepy plug it's an hotplug driver (it decide when turn on the second core) i wrote. it's an experimental driver and it may have got performance problem. if you notice some decrease in performance report it.
to enable/disable edit /sys/module/sleepy_plug/parameters/sleepy_plug_active:
0 -> disable
1 -> enableInstall instruction:S-OFF:
- flash the zip in recovery
- wipe caches (optional)S-ON:
Windows & Linux:
flash kernel zip.
stay in recovery after flashing the zip
from command prompt (ot terminal) on PC:
Code:
adb pull /tmp/newboot.img
adb reboot-bootloader
fastboot flash boot newboot.img
fastboot reboot
OLD S-ON INSTRUCTION:
Linux:
- flash awesome kernel cleaning script: http://d-h.st/HDi (optional)
- flash the zip in recovery (obsolete, for older kernels with modules outside built outside)
- use zImage switcher to make a new boot.img
-
Code:
fastboot flash boot newBoot.img
Windows: (don't ask me how it works or everything else, i don't know and they have got tutorials on their site)
- repack your ROM boot.img with mine zImage using Virtuous Ten Studio http://www.virtuous-ten-studio.com/index.php/downloads
-
Code:
fastboot flash boot newBoot.img
Bugs 3.4:
None
If you want to use my kernel for your ROM just use it and cit me in credits
rmbq said:
Install instruction:
Code:
fastboot flash boot.img
Click to expand...
Click to collapse
should be "fastboot flash boot boot.img", or is this also working without "boot"?
will give it a try! thanks man!
any suggestions for governor and schedulers?
EDIT: eh, guess its not working with CM...so sad.
theodorius123 said:
should be "fastboot flash boot boot.img", or is this also working without "boot"?
will give it a try! thanks man!
any suggestions for governor and schedulers?
EDIT: eh, guess its not working with CM...so sad.
Click to expand...
Click to collapse
yes i missed a "boot" sorry xD
btw as i said in OP i don't own the device so i don't know if it's booting or not, i'll make some tries(the first one failed lol)!
rmbq said:
btw as i said in OP i don't own the device so i don't know if it's booting or not, i'll make some tries(the first one failed lol)!
Click to expand...
Click to collapse
Can confirm: I get a bootloop with current CM nightly. only HTC-logo, black screen, HTC-logo, black screen,.....
i made another version try that one!
rmbq said:
i made another version try that one!
Click to expand...
Click to collapse
it`s booting. but I have only interactive, conservative, ondemand, powersave and performance as governors. intellimand and intelliactive are missing.
also bfqv7r2 and sio schedulers are missing.
will test a little bit more...
theodorius123 said:
it`s booting. but I have only interactive, conservative, ondemand, powersave and performance as governors. intellimand and intelliactive are missing.
also bfqv7r2 and sio schedulers are missing.
will test a little bit more...
Click to expand...
Click to collapse
thanks for testing, when you have time can you tell which features are missing from the list in the second post?
post #2:
I don't know how to check all this (give me an "how to"), but I can tell you, that my(!) main features are not working: BLN, S2W and DT2W
S2W was working twice, out of ~50 attempts. and yes, I changed the values to "1".
maybe check this. S2W and DT2W are just working perfect in this kernel!
post #3:
- /sys/class/leds/button-backlight/blink_buttons:
it is only "blink". not "blink_buttons"
- cant find this: /sys/module/sleepy_plug/parameters/sleepy_plug_active
EDIT: In general for DT2W I would prefer double tapping somewhere on the screen and not only on the capacitive buttons...
EDIT2: ...and sorry. no more testing for me today. my bed (and tomorrow morning my boss) is waiting...
Is this kernel only for aosp roms like pacman or can I use it on any sense 5.5 roms too?
BLN not working for me. s2w sometimes i have to swipe more in order to wake. cpu and gpu oc not working. Max is still stock. Everything else is good for me. When will we be able to map the htc logo as a button?
Thanks for testing i'll make another version asap
And no this is only for aosp
new version is up,
added governor, schedulers, s2w dt2w l2w su2w, CPU OC and GPU OC (check if there's all this stuff)
there aren't: BLN, sleepy_plug, -O3 optimization (only O2 atm), voltage control
also faux sound control should be working
Is it compatible with STOCK ROMs, or only CM based ROMs?
JaroslavHruska said:
Is it compatible with STOCK ROMs, or only CM based ROMs?
Click to expand...
Click to collapse
look at the title or 2 posts back you'll find your answer
I am sorry, I was confused with these 2 sentences:
"EDIT: eh, guess its not working with CM...so sad."
vs.
"AOSP"
JaroslavHruska said:
I am sorry, I was confused with these 2 sentences:
"EDIT: eh, guess its not working with CM...so sad."
vs.
"AOSP"
Click to expand...
Click to collapse
cos the first kernel i made wasn't booting, btw it's for CM or AOSP, not for SENSE
rmbq said:
......l2w su2w.....
Click to expand...
Click to collapse
can you explain?
theodorius123 said:
can you explain?
Click to expand...
Click to collapse
l2w: logo2wake
su2w: sweep up 2 wake
you can enable them in
/sys/android_touch/<file>
or /sys/android_key/<file>
Related
Disclaimer:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
* blah blah blah you get the point.
*/
1# post: Disclamer - special thanks
2# post: Current release & source
3# post: Deprecated versions
4# post: FAQ - bugs - future features
Donator List: (huge thanks for support)
here
Suggested kernel control app: trickstermod
[GUIDE]How to compile a kernel
Credits and Thanks:
dsixda, showp1984, ngtools, faux123, Christopher83, franciscofranco, msm8960 team
XDA:DevDB Information
AOSP Bubba Kernel, Kernel for the HTC One S
Contributors
rmbq
Kernel Special Features:
Version Information
Status: No Longer Updated
Stable Release Date: 2014-07-26
Current Beta Version: 12Apr
Beta Release Date: 2014-04-12
Created 2013-10-08
Last Updated 2014-11-19
Features:
Based on linux 3.4.99
Compiled with linaro toolchain 4.9.1 2014.07 optimized for cortex-a15
Linaro -O3 optimization
avaiable CPU governors: interactive, ondemand, performance, powersave, intellimand, intelliactive
avaiable GPU governors: ondemand, performance, simple
avaiable schedulers: row, deadline, noop, cfq, bfq-v7r5, fiops, sio
Sleepy Plug
NTFS read & write support
exfat support
UTF8
BLN
Voltage control
Sweep2Wake
Double tap 2 wake
Pocket detection
Intelli-thermal
zRam with LZ4 compression
zCache with LZ4 compression
CPU OC to 1.7 GHz
GPU OC to 512MHz (3D) and 320MHZ (2D)
Faux sound control v. 3
Improved alghorithm: SHA1, AES, SQRT, lib/string (glibc version), lib/memcopy (glibc version), XOR (neon)
dynamic fsync by faux123
fastcharge
powersuspend driver (replace earlysuspend)
KCAL control (RGB)
heavily patched memory allocators, RWSEM and mutex (take a look at my github, too many changes to make a list here)
Changelog:
Code:
[JUL 26 2014]
Revert "prctl: adds the capable(CAP_SYS_NICE) check to PR_SET_TIMERSLACK_PID."
Revert "prctl: adds PR_SET_TIMERSLACK_PID for setting timer slack of"
add qseecom support
some defconfig changes
cpufreq: revert CAF's cpu policy save code
sched/cpuidle: reduce IPI storm. Backport upstream 3.16
mm, hugetlb: improve page-fault scalability
mm: per-thread vma caching
Revert "msm: htc: update mem mapping"
[JUL 22 2014]
update compiler to linaro toolchain 4.9.1 2014.07 optimized for cortex-a15
update to 3.4.99
added KCAL control by faux and fixed by me
add F2FS support
[JUL 17 2014]
update to 3.4.98
sync with cm
sync with codeaurora/kk_2.7-stable
update sleepy_plug
bfq: BFQ-v7r5
bugfix from google (see github)
[JUN 29 2014]
Remove JustArchi GCC flags cos they are unstable
update to 3.4.95
fix minor issues in s2w
[JUN 24 2014]
sync with CM
sync with codeaurora/kk_2.7-stable
drivers:input:cy8c_cs: modified IRQ flags (improve s2w)
lower min timeout for dtw2
ext4: Speedup WB_SYNC_ALL pass called from sync(2)
[JUN 19 2014]
update compiler to linaro toolchain 4.9.1 2014.06 optimized for cortex-a15
update to 3.4.94
remove -fdata-sections GCC flag (cause of reboot issue)
sync with CM
sync with codeaurora/kk_2.7-stable
updated sleepy_plug
[JUN 09 2014]
sync with codeaurora/kk_2.7-stable
memset patch to fix bootloops
[JUN 08 2014]
3.4.92
reverted some KGSL CAF patches
removed -ftrace flag
sync with CM
improved int_sqrt algorithm
update bfq to v7-r4
[MAY 28 2014]
sync with codeaurora/kk_2.7-stable
update sleepy_plug
cpufreq: ondemand: Calculate load_at_max_freq based on current policy->max
sched: add do_avg_nr_running to fix avg_nr_running
[MAY 19 2014]
update to 3.4.91
merge codeaurora/kk_2.7_rb1.38
update bfq to v7-r3
sleepy_plug now supports quadcore CPUs
add 1wire headset support (CM)
new GCC flags
update compiler
[MAY 03 2014]
block: support volname for HTC devices with proc/emmc support
[MAY 02 2014]
compiled with Linaro GCC 4.9.1 optimized for cortex-a15
sync with CM
undervolt all components
update devices_htc from Jet jb 4.3 kernel
update headset driver from Jet jb 4.3 kernel
update memory mapping (more RAM avaiable)
[APR 29 2014]
update to 3.4.88
sync with codeaurora/kk_2.7-stable
some other CAF patches
[APR 23 2014]
enable vol to wake
replace powersuspend to earlysuspend everywhere
[APR 22 2014]
update to 3.4.87
merge codeaurora/kk_2.7_rb1.35
re enable elf_dumo and perf_counter (disable them cause instability)
prima driver built with -Os flag for stability
disable vol to wake up
[APR 12 2014]
update to 3.4.86
merge codeaurora/kk_2.7-stable
sync with cm sources
update sleepy_plug
add new powersuspend driver
disable deprecated early suspend driver
optimized char/random
improved mm/oom
improved fair scheduler
[MAR 19 2014]
update compiler to 2014.03
merge codeaurora/kk_2.7_rb1.31
sync with cm sources
disabled kcal (it doesn't work properly) perf counter (deprecated) and elf dump
re-enable kgsl_2d driver
sleepy_plug: switch to use dedicated high priority workqueue
[MAR 03 2014]
Disable module loading again, it causes reboots
removed radio iris driver, it work only as module
remove kgsl post mortem dump
remove kgsl 2d (z180) driver (is it needed?)
KGSL: simple governor: don't modify laziness value when reset laziness count
adjust kgsl_3d0 and _2d1 init_level values
[MAR 01 2014]
merge codeaurora/kk_2.7_rb1.29
fix kgsl_3d0 and kgsl_2d0 init_level (now GPU scale freq from 128MHz to maxFreq)
update sleepy_plug
disable all DEBUG
silence debug info from battery gyro leds and touchescreen drivers
add power-on alarm feature
add power efficent workqueue
compile radio-iris-transport ad module
[FEB 25 2014]
update to 3.4.82
removed intelli_plug and added sleepy_plug
modified voltage tables (affect only normal version)
[FEB 23 2014]
update to 3.4.81
merge codeaurora/kk_2.7_rb1.27
update compiler
added intelliactive governor
removed mp decision and added intelliplug
sync with cm sources
optimized kernel compress for cortex-a15
updated BFQ scheduler to version 7r2
re-added fastcharge
[FEB 02 2014]
changed compiler to [URL="http://forum.xda-developers.com/showthread.php?t=2098133"]this[/URL]
update to 3.4.79
merge codeaurora/kk_2.7_rb1.25
ondemand patches from CAF
input: ewtzmu2: Fix gyro off status checks (credits Erwin Mascher)
using sparsemem instead flatmem
AES with NEON instruction and thumb2 compatible
add support for kernel mode NEON
[JAN 29 2014]
update to 3.4.78
merge codeaurora/kk_2.7_rb1.22
compiled with -O3 optimization
new compiler: linaro toolchain 4.8.3 2014.01 optimized for cortex-a15
interactive governor patches from CAF
add UIO driver
various CAF patches: iommu, memory management, kgsl, sched, spinlock, bam_dmux
update drivers: battery, pm8921, headset, acoustic (credits CM)
msm: HTC: Update htc_restart_handler … (credits CM)
msm: HTC: Update devices_htc.c (credits CM)
msm: HTC: Update emmc partitions code (credits CM)
msm_kcal_ctrl: initial code for generic MSM LCD temperature calibrations (credits faux123, fixed by me)
removed fast charge (for the moment)
[JAN 13 2014]
sync with CM source
msm: mdss: set vsync clock rate (credits Kuogee Hsieh)
sched: set sched_mc_power_savings to 2 for max powersave (credits franciscofranco) [URL="http://elinux.org/images/1/1d/Comparing_Power_Saving_Techniques_For_Multicore_ARM_Platforms.pdf"]here[/URL]
[JAN 07 2014]
remove knock on
back to stock interactive
sync ondemand governor to CM sources
futex patches by CAF
workqueue backported from kernel 3.7 (credits mgr666)
overclock slimbus (better audio)
add generic strlen_user function
add generic strcpy_user function
build all module inside the kernel
do not compile exfat module
[JAN 05 2014]
add knock on feature
update ondemand and interactive goveron to quic/la/kernel/msm-3.10 caf/msm-3.7
fix an L2 cache derp
sched,rt: disable rt_runtime borrowing by defaul (CAF)
sched: remove redundant update_runtime notifier (CAF)
sched: reinitialize rq->next_balance when a CPU is hot-added (CAF)
[JAN 04 2014]
revert Memory model patches of last release
merge codeaurora/kk_2.7_rb1.18
overclock L2 cache
mmc patches from CAF
compiled with linaro toolchain 4.8.3 2013-11 optimized for cortex-a15
[DEC 25 2013]
update to 3.4.75 (skipping 3.4.73)
Memory model patches from CAF
msm krait cpu patches from CAF
[DEC 18 2013]
merge codeaurora/kk_2.7_rb1.16
pocket detection default ON
faux sound control patches by faux123
add NEON accelerated XOR implementation
memory allocator patches from kernel 3.5 and newer, add frontswap
sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire. credit: [URL="http://ripke.com/loadavg/moire"]http://ripke.com/loadavg/moire[/URL]
Async Fsync from HTC thanks faux123
smp and idle patches (look at my github for more details)
[DEC 10 2013]
intellimand: adjust values for msm8960
cpufreq: Fix optimal_freq logic on ramp down
msm: Synchronize CPU frequency on thread migration
cpufreq: Use dedicated high-priority workqueues
cpufreq: ondemand: change freq sync code to use per-CPU kthreads
cpufreq: ondemand: Fix store_powersave_bias() race with hotplug
cpufreq: ondemand: Fix locking in store_powersave_bias
cpufreq: ondemand: Fix locking issue in store_powersave_bias
msm: cpufreq: Only apply driver limits for scaling_min/max_freq writes
cpufreq: break earlier if target_freq is equal to current freq
cpufreq: Save user policy min/max instead of policy min/max during hotplug
msm: pil: Add HTC delay for rmt_storage
Revert "ALSA: fix oops in snd_pcm_info() caused by ASoC DPCM"
added exfat driver by samsung (thanks faux123)
update cm3629 (light and proximity sensor) driver and write a new function for pocket detection
pocket detection: use the new function
[DEC 08 2013]
fix ZRAM compatibility issue with codeaurora/kk_2.7.1 branch
sync with cm:
remove cpu-boots driver
merge codeaurora/kk_2.7.1
msm: iomap: Add HTC memory region mappings
msm: HTC: Use msm_iomap for ram console addresses
cpufreq: Retain only online cpus in managed_policy->cpus
msm: HTC: 8960: enable GTOD helpers, disable DLOAD mode, disable CACHE_ERP
[DEC 06 DEC]
update to 3.4.72
merge codeaurora/kk_2.7_rb1.11
add [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/40b153720a5c9dc4ccc718af2efe89762a1eb3f6"]cpu-boots driver[/URL]
unpdate intellimand to version 5.0 (probably it needs some adjustment for ville)
jiffies conversions: Use compile time constants when possible ([URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/9492ca677bf3e05f8ec834dc6222beaf5f5f42ff"]commit[/URL])
a lot of patches for filesystem, mutex and memory allocators
fix build without GPU oc thx jrior001
make change BLN s2w dt2w pd and atmel244e sysf entrypoint
[DEC 02 2013]
switch toolchain to linaro 2013-11
Merge 'codeaurora/kk_2.7_rb1.10'
Merge 'codeaurora/kk_2.7_rb1.9'
[NOV 25 2013] END 4.3 support
update to 3.4.70
add CPU OC thx to jrior001
add GPU OC thx to jrior001
add dynamic [URL="http://en.wikipedia.org/wiki/Fsync"]fsync[/URL] by faux
optimized algorithms: [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/00160d62428b6330b37a944cd52e43b170b16bef"]ARM RWSEM[/URL], [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/4982e566012dad759f1655db929944dc0e904f2e"]SQRT[/URL],[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/ec6a973caf563a24f64302a39c21ea08d9877d36"]AES,SHA1[/URL]
use [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/794c469b9f39168644cda4f7182936a9b4d434a2"]lib/string[/URL] and [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/e15ca1b27c34a6e7e0dd97e4acbd65d932aec4ac"]lib/memcopy[/URL] glibc version
add Faux123 sound control v3
[NOV 18 2013]
update to 3.4.69
switch toolchain to linaro 2013-10
added simple GPU governor by faux123
fixed build flags mess
min selectable voltage from 850 to 800
msm: vidc: Initialize kernel space stack variables (fix memory leak in UI)
fixed pocket detection, now works also with dt2w
pocket detection disable by default
[NOV 10 2013]
compiled with -Os optimization
[NOV 08 2013]
update to 3.4.68
merged AU_LINUX_ANDROID_JB_2.6.04.03.00.109.111 based on quic/aosp/jb_2.6
Fix for race condition of starting cpu1 when cpu0 in PC.
compiled with linaro -O2 optimization
added double tap 2 wake by flar2 (tap 2 times on home button to wake device)
added pocket detection by flar2 (prevent wake in pocket when s2w or dt2w ON)
disable qcache
enable zRam and zCache
optimize zRam for Android use and update to Samsung SGS 4 update 2 thanks to faux123
removed thermal management by showp1948
added intell-thermal by faux123
added QV version (read FAQ)
switch to [URL="http://www.droidforums.net/forum/koush/36530-kernel-devs-introducing-any-kernel-update-zip-template.html"]any_kernel zip[/URL]
[OCT 26 2013]
update to 3.4.67
[URL="http://www.youtube.com/watch?v=xN3eB2R_aP0"]added s2w by showp1984[/URL] and fixed for AOSP kernel 3.4
added Fast charge support, force cable to AC when is USB cable is plugged
update thermal driver to [URL="https://github.com/showp1984/bricked-ville-3.4"]sense bricked kernel[/URL] with thermal 3phase management by showp
added faux sound control v2.0
applied ck3 patch by Con Kolivas
update ville_defconfig with lastest CM changes: less debug, use FLATMEM if HTC 8960 device, set missing CONTIG_MEM (This replaces the older PMEM reservation option)
[OCT 19 2013]
Add voltage control (thanks faux123)
added wake-on-volume support (credits to CM team)
[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/ab66959eed02d9aff47fc82f67a894e0f4fc67a3"]fix OTG[/URL] (credits to CM team)
Merge AU_LINUX_ANDROID_JB_2.6.04.03.00.109.082 based on CAF quic/aosp/jb_2.6
[OCT 14 2013]
[COLOR="Blue"]Kernel:[/COLOR]
restart from clean CM sources
revert AU_LINUX_ANDROID_JB_2.6.04.03.00.109.053 merge
update to 3.4.66
compiled with [URL="https://github.com/codefireXperiment/prebuilts_gcc_linux-x86_arm_arm-linux-androideabi-4.8"]cfX toolchain 2013-07[/URL]
added [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/eb95b3aff07c00f54df6452b5623e41d16185479"]sio[/URL],[URL="http://www.phoronix.com/scan.php?page=news_item&px=MTAzOTU"]fiops[/URL],[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/90a73354dba7ba46926aff133ac85f3c9fa6aae3"]bfqv6 [/URL]schedulers
added [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/6c87d0e0b3c82ffff8c0704dfde7369872f5602f"]intellimand[/URL] governor
added BLN
added effective timer slack, read more [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/0ae9dfccf63b6d873d916ac7ba63ff5f048e2188"]here[/URL] and [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/be6a15dc6ec46386c8fd2c034187f6fb7d84a793"]here[/URL]
[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/312027fd01edeeeacc4f8183f59a29debf89fae2"]improved build flags[/URL], [URL="http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html"]read more here[/URL]
added Add PR_{GET,SET}_NO_NEW_PRIVS, read more [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/955a7e84d38166a36ad4f71429dcc861396567a3"]here[/URL]
[COLOR="Blue"]Ramdisk:[/COLOR]
change owner of /sys/class/leds/button-backlight/currents to root
change permission of /sys/class/leds/button-backlight/currents to 0444
[SEP 11 2013] V2
remove smartassV2
[SEP 11 2013]
update to linux 3.4.61
use linaro gcc 4.8 2013-08 toolchain
Add button light notification
add fiops and sio schedulers
add SmartassV2 governor
char: Added Fast Random generator support
Implement dynamic timerslack
use -mcpu=cortex-a15 instead -march=armv7-a build flag
update dynamic fsync from faux123
use modified ramdisk (insecure kernel, general queue tweaks, no debugging)
[SEP 09 2013]
update to linux 3.4.60
update to cm sources
add UTF8 support
[JUL 17 2013]
update to linux 3.4.52
add CK3 Con Kolivas optimization
add dynamic fsync by faux123
update ramdisk with lastest CM changes
franciscofranco writeback patch (detail [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/49a59693b0a4ae8cbbf60ba62cd62dd280655e21"]here[/URL])
rwsem algorithm optimization
back to mp_decision, intelli_plug needs more tests
[JUL 11 2013]
New ramdisk
updates from cm sources
add voltage control interface
add intelli plug by faux (replace mp decision)
add intellimand governor
add BFQv6 scheduler
add optimized AES SHA1 and RWSEM algorithms
add some NEON optimization
switch to XZ compression
[JUN 27 2013] Fix
modified ramdisk
add vfpv4-d16 build flag to vfp
compiled with cfX toolchain based on linaro 4.8.2
[JUN 27 2013]
sync with cm sources
fix reception bug
update ramdisk to lastest from cm
add NTFS support
compiled with -Os optimization
[JUN 19 2013]
first release
If you like my work please consider making a donation, I spend almost all my free time on making this kernel the best
i'll buy another phone to continue to support the android development!
THIS KERNEL WILL NOT WORK ON NEW ROMS
Download:
androidfilehost folder: http://www.androidfilehost.com/?w=files&flid=12455
normalToQV: http://www.androidfilehost.com/?fid=23501681358544069
(if you don't see the new version just wait some minutes, it's uploading)
Kernel Source: Github
Android 4.3:
Features:
Based on linux 3.4.70
Compiled with linaro toolchain 2013-10
Linaro -Os optimization
avaiable governors: interactive, ondemand, performance, powersave, intellimand
avaiable schedulers: row, deadline, noop, cfq, bfqv6, fiops, sio
MP Decision
NTFS read & write support
UTF8
BLN
Voltage control
Sweep2Wake
Double tap 2 wake
Pocket detection
Intelli-thermal
Fast charge
zRam with LZ4 compression
zCache with LZ4 compression
simple GPU governor by faux123
CPU OC to 1.7 GHz
GPU OC to 512MHz (3D) and 320MHZ (2D)
Faux sound control v. 3
Improved alghorithm: SHA1, AES, SQRT, lib/string (glibc version), lib/memcopy (glibc version), RWSEM
dynamic fsync by faux123
Changelog:
Code:
[NOV 25 2013]
update to 3.4.70
add CPU OC thx to jrior001
add GPU OC thx to jrior001
add dynamic [URL="http://en.wikipedia.org/wiki/Fsync"]fsync[/URL] by faux
optimized algorithms: [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/00160d62428b6330b37a944cd52e43b170b16bef"]ARM RWSEM[/URL], [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/4982e566012dad759f1655db929944dc0e904f2e"]SQRT[/URL],[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/ec6a973caf563a24f64302a39c21ea08d9877d36"]AES,SHA1[/URL]
use [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/794c469b9f39168644cda4f7182936a9b4d434a2"]lib/string[/URL] and [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/e15ca1b27c34a6e7e0dd97e4acbd65d932aec4ac"]lib/memcopy[/URL] glibc version
add Faux123 sound control v3
[NOV 18 2013]
update to 3.4.69
switch toolchain to linaro 2013-10
added simple GPU governor by faux123
fixed build flags mess
min selectable voltage from 850 to 800
msm: vidc: Initialize kernel space stack variables (fix memory leak in UI)
fixed pocket detection, now works also with dt2w
pocket detection disable by default
[NOV 10 2013]
compiled with -Os optimization
[NOV 08 2013]
update to 3.4.68
merged AU_LINUX_ANDROID_JB_2.6.04.03.00.109.111 based on quic/aosp/jb_2.6
Fix for race condition of starting cpu1 when cpu0 in PC.
compiled with linaro -O2 optimization
added double tap 2 wake by flar2 (tap 2 times on home button to wake device)
added pocket detection by flar2 (prevent wake in pocket when s2w or dt2w ON)
disable qcache
enable zRam and zCache
optimize zRam for Android use and update to Samsung SGS 4 update 2 thanks to faux123
removed thermal management by showp1948
added intell-thermal by faux123
added QV version (read FAQ)
switch to [URL="http://www.droidforums.net/forum/koush/36530-kernel-devs-introducing-any-kernel-update-zip-template.html"]any_kernel zip[/URL]
[OCT 26 2013]
update to 3.4.67
[URL="http://www.youtube.com/watch?v=xN3eB2R_aP0"]added s2w by showp1984[/URL] and fixed for AOSP kernel 3.4
added Fast charge support, force cable to AC when is USB cable is plugged
update thermal driver to [URL="https://github.com/showp1984/bricked-ville-3.4"]sense bricked kernel[/URL] with thermal 3phase management by showp
added faux sound control v2.0
applied ck3 patch by Con Kolivas
update ville_defconfig with lastest CM changes: less debug, use FLATMEM if HTC 8960 device, set missing CONTIG_MEM (This replaces the older PMEM reservation option)
[OCT 19 2013]
Add voltage control (thanks faux123)
added wake-on-volume support (credits to CM team)
[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/ab66959eed02d9aff47fc82f67a894e0f4fc67a3"]fix OTG[/URL] (credits to CM team)
Merge AU_LINUX_ANDROID_JB_2.6.04.03.00.109.082 based on CAF quic/aosp/jb_2.6
[OCT 14 2013]
[COLOR="Blue"]Kernel:[/COLOR]
restart from clean CM sources
revert AU_LINUX_ANDROID_JB_2.6.04.03.00.109.053 merge
update to 3.4.66
compiled with [URL="https://github.com/codefireXperiment/prebuilts_gcc_linux-x86_arm_arm-linux-androideabi-4.8"]cfX toolchain 2013-07[/URL]
added [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/eb95b3aff07c00f54df6452b5623e41d16185479"]sio[/URL],[URL="http://www.phoronix.com/scan.php?page=news_item&px=MTAzOTU"]fiops[/URL],[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/90a73354dba7ba46926aff133ac85f3c9fa6aae3"]bfqv6 [/URL]schedulers
added [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/6c87d0e0b3c82ffff8c0704dfde7369872f5602f"]intellimand[/URL] governor
added BLN
added effective timer slack, read more [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/0ae9dfccf63b6d873d916ac7ba63ff5f048e2188"]here[/URL] and [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/be6a15dc6ec46386c8fd2c034187f6fb7d84a793"]here[/URL]
[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/312027fd01edeeeacc4f8183f59a29debf89fae2"]improved build flags[/URL], [URL="http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html"]read more here[/URL]
added Add PR_{GET,SET}_NO_NEW_PRIVS, read more [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/955a7e84d38166a36ad4f71429dcc861396567a3"]here[/URL]
[COLOR="Blue"]Ramdisk:[/COLOR]
change owner of /sys/class/leds/button-backlight/currents to root
change permission of /sys/class/leds/button-backlight/currents to 0444
[SEP 11 2013] V2
remove smartassV2
[SEP 11 2013]
update to linux 3.4.61
use linaro gcc 4.8 2013-08 toolchain
Add button light notification
add fiops and sio schedulers
add SmartassV2 governor
char: Added Fast Random generator support
Implement dynamic timerslack
use -mcpu=cortex-a15 instead -march=armv7-a build flag
update dynamic fsync from faux123
use modified ramdisk (insecure kernel, general queue tweaks, no debugging)
[SEP 09 2013]
update to linux 3.4.60
update to cm sources
add UTF8 support
[JUL 17 2013]
update to linux 3.4.52
add CK3 Con Kolivas optimization
add dynamic fsync by faux123
update ramdisk with lastest CM changes
franciscofranco writeback patch (detail [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/49a59693b0a4ae8cbbf60ba62cd62dd280655e21"]here[/URL])
rwsem algorithm optimization
back to mp_decision, intelli_plug needs more tests
[JUL 11 2013]
New ramdisk
updates from cm sources
add voltage control interface
add intelli plug by faux (replace mp decision)
add intellimand governor
add BFQv6 scheduler
add optimized AES SHA1 and RWSEM algorithms
add some NEON optimization
switch to XZ compression
[JUN 27 2013] Fix
modified ramdisk
add vfpv4-d16 build flag to vfp
compiled with cfX toolchain based on linaro 4.8.2
[JUN 27 2013]
sync with cm sources
fix reception bug
update ramdisk to lastest from cm
add NTFS support
compiled with -Os optimization
[JUN 19 2013]
first release
Consider a donation if you like my work
Download:
NOV 25 2013 (only S-OFF): http://www.androidfilehost.com/?fid=23212708291681557
NOV 25 2013 QV (only S-OFF): http://www.androidfilehost.com/?fid=23212708291681573
Kernel Source: Github
Ramdisk Source: Github
FAQwhere are older versions?
here -> https://www.mediafire.com/#2qnn5ox68806f (old older version)Q: What is QV version?
A: QV means "qualcomm voltages". qualcomm made a patch and stuck all voltages to 1150mv to improve stability. QV version has got all 1150 mv for each freq (like older 3.4 kernels).Q: I plugged in my pen drive but i can't found it
A: look in /mnt/usbdisk folder.Q: What's and how i enable/disable fastcharge?
A: with fast charge an USB charger will recognized as AC charger. it won't charge your phone faster with an AC charger. it may not charge your phone faster with an USB charger.
with the usb cable UNPLUGGED edit /sys/kernel/fast_charge/force_fast_charge:
0 -> disable
1 -> enable
than plug in the cableQ: i've got random reboots, what do you need?
A: first read here
write this info:
kernel version
ROM
governor
scheduler
undervolted? if yes don't undervolt
QV version? if no use it
last_kmsg
Q: what's BLN and how i enable/disable it?
with BLN on when you received a notify the soft key will blink.
to enable/disable edit /sys/class/leds/button-backlight/blink_buttons:
0 -> disable
1 -> enableQ: what's s2w and how i enable/disable it?
Sweep2wake allows you to wake up your device by swiping your finger across the capacitive buttons from left to right. Swiping from right to left will put it back to sleep (sweep2sleep).
to enable/disable edit /sys/android_touch/sweep2wake:
0 -> disable
1 -> enableQ: what's dt2w and how i enable/disable it?
DoubleTap2Wake (DT2W) allows you to wake the device by double tapping the capacitive buttons.
to enable/disable edit /sys/android_touch/doubletap2wake:
0 -> disable
1 -> enableQ: what's knock on and how i enable/disable it?
knock on allows you to wake the device by double tapping on the touchscreen.
to enable/disable edit /sys/android_touchscreen/knock_on:
0 -> disable
1 -> enableWhat's sleepy_plug and how can i activate/deactivate it?
sleepy plug it's an hotplug driver (it decide when turn on the second core) i wrote. it's an experimental driver and it may have got performance problem. if you notice some decrease in performance report it.
to enable/disable edit /sys/module/sleepy_plug/parameters/sleepy_plug_active:
0 -> disable
1 -> enableInstall instruction:S-OFF:
- flash the zip in recovery
- wipe caches (optional)S-ON:
Windows & Linux:
flash kernel zip.
stay in recovery after flashing the zip
from command prompt (ot terminal) on PC:
Code:
adb pull /tmp/newboot.img
adb reboot-bootloader
fastboot flash boot newboot.img
fastboot reboot
OLD S-ON INSTRUCTION:
Linux:
- flash awesome kernel cleaning script: http://d-h.st/HDi (optional)
- flash the zip in recovery (obsolete, for older kernels with modules outside built outside)
- use zImage switcher to make a new boot.img
-
Code:
fastboot flash boot newBoot.img
Windows: (don't ask me how it works or everything else, i don't know and they have got tutorials on their site)
- repack your ROM boot.img with mine zImage using Virtuous Ten Studio http://www.virtuous-ten-studio.com/index.php/downloads
-
Code:
fastboot flash boot newBoot.img
Bugs 3.4:
None
If you want to use my kernel for your ROM just use it and cit me in credits
AW: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1
i see alot of kernel development goin on!
Good work, keep it up!
Gesendet von meinem HTC One S mit Tapatalk 2
nice to see more kernel devving going on. Trying this now.
Re: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1 - 05/02/2013
mteezey said:
nice to see more kernel devving going on. Trying this now.
Click to expand...
Click to collapse
Agreed, great to see!
mteezey said:
nice to see more kernel devving going on. Trying this now.
Click to expand...
Click to collapse
Got to love how klin stopped and now we got 3 wtf is going on lol.
Re: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1 - 05/02/2013
If someone gets this extracted and in zip format db it for me. Not at home ATM.
Sent from my One S using Tapatalk 2
Glad to see more kernels being developed for 4.2 man! Grazie! one question; im not 100% sure what you mean about replacing the file using root explorer. What are we supposed to replace it with?
dr_rick13 said:
Glad to see more kernels being developed for 4.2 man! Grazie! one question; im not 100% sure what you mean about replacing the file using root explorer. What are we supposed to replace it with?
Click to expand...
Click to collapse
Thx!
simply, go to /system/lib/modules and delete prima_wlan.ko
copy the prima_wlan.ko included in the zip file and paste it in /system/lib/modules
set correct permissions
got it?
Re: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1 - 05/02/2013
dr_rick13 said:
Glad to see more kernels being developed for 4.2 man! Grazie! one question; im not 100% sure what you mean about replacing the file using root explorer. What are we supposed to replace it with?
Click to expand...
Click to collapse
Extract the "prima_wlan.ko" from the kernel file and replace the file with same name in system/lib/module in your phone. Then set permissions on it and then reboot.
Sent from my One S using Xparent Skyblue Tapatalk 2
LikeaG2root said:
Extract the "prima_wlan.ko" from the kernel file and replace the file with same name in system/lib/module in your phone. Then set permissions on it and then reboot.
Sent from my One S using Xparent Skyblue Tapatalk 2
Click to expand...
Click to collapse
rmbq said:
Thx!
simply, go to /system/lib/modules and delete prima_wlan.ko
copy the prima_wlan.ko included in the zip file and paste it in /system/lib/modules
set correct permissions
got it?
Click to expand...
Click to collapse
Thanks fellas, my brain is running a little slow today Out of thanks for the day, will 'thank you' when I have more.
Re: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1 - 05/02/2013
dr_rick13 pm bro
Sent from my HTC One S using xda app-developers app
Re: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1 - 05/02/2013
Please learn how to use git commit -c or git cherry-pick so I can track new fixes and people know where you sourced from
Sent from my HTC One XL using xda app-developers app
Re: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1 - 05/02/2013
Zarboz said:
Please learn how to use git commit -c or git cherry-pick so I can track new fixes and people know where you sourced from
Sent from my HTC One XL using xda app-developers app
Click to expand...
Click to collapse
Sorry, my fault
Sent from my One S using xda app-developers app
New version avaiable in the 1st post!
R: [KERNEL][S4][AOSP][4.2][7Feb] Bubba Kernel v1.5
rmbq said:
New version avaiable in the 1st post!
Click to expand...
Click to collapse
Sweep to wake is working???. Did you test it?
Sent whit HTC ONE S
dave il barbaro said:
Sweep to wake is working???. Did you test it?
Sent whit HTC ONE S
Click to expand...
Click to collapse
yes it is working without issue, i'm using it for two days
Re: [KERNEL][S4][AOSP][4.2][7Feb] Bubba Kernel v1.5
rmbq said:
Sorry, my fault
Sent from my One S using xda app-developers app
Click to expand...
Click to collapse
It makes tracking patches easier
Sent from my HTC One XL using xda app-developers app
Disclaimer:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
* blah blah blah you get the point.
*/
1# post: Disclamer - special thanks
2# post: Current release & source
3# post: FAQ - bugs - future features
Donator List: (huge thanks for support)
here
Suggested kernel control app: trickstermod
I don't know if it works because i don't own the device but i have got ville which is pretty similar
[GUIDE]How to compile a kernel
Credits and Thanks:
dsixda, showp1984, ngtools, faux123, Christopher83, franciscofranco, msm8960 team, jrior001
XDA:DevDB Information
AOSP Bubba Kernel, Kernel for the AT&T HTC One X
Contributors
rmbq
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2014-07-26
Current Beta Version: 24 Apr
Beta Release Date: 2014-04-24
Created 2014-04-23
Last Updated 2014-07-26
Reserved
Features:
Based on linux 3.4.99
Compiled with linaro toolchain 4.8.3 2014.07 optimized for cortex-a15
Linaro -O3 optimization
avaiable CPU governors: interactive, ondemand, performance, powersave, intellimand, intelliactive
avaiable GPU governors: ondemand, performance, simple
avaiable schedulers: row, deadline, noop, cfq, bfqv7r5, fiops, sio
Sleepy Plug
NTFS read & write support
exfat support
UTF8
Voltage control
Sweep2Wake
Double tap 2 wake
Pocket detection
Intelli-thermal
zRam with LZ4 compression
zCache with LZ4 compression
CPU OC to 1.7 GHz
GPU OC to 512MHz (3D) and 320MHZ (2D)
Faux sound control v. 3
Improved alghorithm: SHA1, AES, SQRT, lib/string (glibc version), lib/memcopy (glibc version), XOR (neon)
dynamic fsync by faux123
fastcharge
powersuspend driver (replace earlysuspend)
KCAL control (RGB)
heavly patched memory allocators, RWSEM and mutex (take a look at my github, too many changes to make a list here)
Changelog:
Code:
[JUL 26 2014]
Revert "prctl: adds the capable(CAP_SYS_NICE) check to PR_SET_TIMERSLACK_PID."
Revert "prctl: adds PR_SET_TIMERSLACK_PID for setting timer slack of"
add qseecom support
some defconfig changes
cpufreq: revert CAF's cpu policy save code
sched/cpuidle: reduce IPI storm. Backport upstream 3.16
mm, hugetlb: improve page-fault scalability
mm: per-thread vma caching
Revert "msm: htc: update mem mapping"
[JUL 22 2014]
update compiler to linaro toolchain 4.9.1 2014.07 optimized for cortex-a15
update to 3.4.99
added KCAL control by faux and fixed by me
add F2FS support
[JUL 17 2014]
update to 3.4.98
sync with cm
sync with codeaurora/kk_2.7-stable
update sleepy_plug
bfq: BFQ-v7r5
bugfix from google (see github)
[JUN 29 2014]
Remove JustArchi GCC flags cos they are unstable
update to 3.4.95
sync with CM
sync with codeaurora/kk_2.7-stable
ext4: Speedup WB_SYNC_ALL pass called from sync(2)
[JUN 19 2014]
update compiler to linaro toolchain 4.9.1 2014.06 optimized for cortex-a15
update to 3.4.94
remove -fdata-sections GCC flag (cause of reboot issue)
sync with CM
sync with codeaurora/kk_2.7-stable
updated sleepy_plug
[JUN 09 2014]
sync with codeaurora/kk_2.7-stable
memset patch to fix bootloops
[JUN 08 2014]
3.4.92
reverted some KGSL CAF patches
removed -ftrace flag
sync with CM
improved int_sqrt algorithm
update bfq to v7-r4
[MAY 28 2014]
sync with codeaurora/kk_2.7-stable
update sleepy_plug
cpufreq: ondemand: Calculate load_at_max_freq based on current policy->max
sched: add do_avg_nr_running to fix avg_nr_running
increase base address
revert 24 May changes
[MAY 24 2014]
Increase ramdisk_offset
[MAY 19 2014]
update to 3.4.91
merge codeaurora/kk_2.7_rb1.38
update bfq to v7-r3
sleepy_plug now supports quadcore CPUs
fix headset support (CM)
new GCC flags
update compiler
[MAY 03 2014]
block: support volname for HTC devices with proc/emmc support
[MAY 02 2014]
compiled with Linaro GCC 4.9.1 optimized for cortex-a15
sync with CM
update devices_htc from Jet jb 4.3 kernel
update headset driver from Jet jb 4.3 kernel
update memory mapping (more RAM avaiable)
update pn544 driver
update bma250 driver
[APR 29 2014]
update to 3.4.88
sync with codeaurora/kk_2.7-stable
some other CAF patches
try to fix SOD
[APR 25 2014]
fix s2w
[APR 24 2014]
added s2w and dt2w with pocket detection (from torched sources)
enable BLN
[APR 23 2014] (beta)
update all drivers
made normal and QV version
enable vol to wake
replace powersuspend to earlysuspend everywhere
[APR 23 2014]
first release
If you like my work please consider making a donation, I spend almost all my free time on making this kernel the best
i'll buy another phone to continue to support the android development!
Download:
androidfilehost folder: http://www.androidfilehost.com/?w=files&flid=14090
normalToQV: http://www.androidfilehost.com/?fid=23501681358544069
F2FS FSTAB script: here from @jrior001 thread
(if you don't see the new version just wait some minutes, it's uploading)
Kernel Source: Github
Reserved
Q: What is QV version?
A: QV means "qualcomm voltages". qualcomm made a patch and stuck all voltages to 1150mv to improve stability. QV version has got all 1150 mv for each freq (like older 3.4 kernels).Q: I plugged in my pen drive but i can't found it
A: look in /mnt/usbdisk folder.Q: What's and how i enable/disable fastcharge?
A: with fast charge an USB charger will recognized as AC charger. it won't charge your phone faster with an AC charger. it may not charge your phone faster with an USB charger.
with the usb cable UNPLUGGED edit /sys/kernel/fast_charge/force_fast_charge:
0 -> disable
1 -> enable
than plug in the cableQ: i've got random reboots, what do you need?
A: first read here
write this info:
kernel version
ROM
governor
scheduler
undervolted? if yes don't undervolt
QV version? if no use it
last_kmsg
Q: what's BLN and how i enable/disable it?
with BLN on when you received a notify the soft key will blink.
to enable/disable edit /sys/class/leds/button-backlight/blink_buttons:
0 -> disable
1 -> enableQ: what's s2w and how i enable/disable it?
Sweep2wake allows you to wake up your device by swiping your finger across the capacitive buttons from left to right. Swiping from right to left will put it back to sleep (sweep2sleep).
to enable/disable edit /sys/android_touch/sweep2wake:
0 -> disable
1 -> enableQ: what's dt2w and how i enable/disable it?
DoubleTap2Wake (DT2W) allows you to wake the device by double tapping the capacitive buttons.
to enable/disable edit /sys/android_touch/doubletap2wake:
0 -> disable
1 -> enableWhat's sleepy_plug and how can i activate/deactivate it?
sleepy plug it's an hotplug driver (it decide when turn on the second core) i wrote. it's an experimental driver and it may have got performance problem. if you notice some decrease in performance report it.
to enable/disable edit /sys/module/sleepy_plug/parameters/sleepy_plug_active:
0 -> disable
1 -> enableInstall instruction:S-OFF:
- flash the zip in recovery
- wipe caches (optional)S-ON:
Windows & Linux:
flash kernel zip.
stay in recovery after flashing the zip
from command prompt (ot terminal) on PC:
Code:
adb pull /tmp/newboot.img
adb reboot-bootloader
fastboot flash boot newboot.img
fastboot reboot
OLD S-ON INSTRUCTION:
Linux:
- flash awesome kernel cleaning script: http://d-h.st/HDi (optional)
- flash the zip in recovery (obsolete, for older kernels with modules outside built outside)
- use zImage switcher to make a new boot.img
-
Code:
fastboot flash boot newBoot.img
Windows: (don't ask me how it works or everything else, i don't know and they have got tutorials on their site)
- repack your ROM boot.img with mine zImage using Virtuous Ten Studio http://www.virtuous-ten-studio.com/index.php/downloads
-
Code:
fastboot flash boot newBoot.img
Bugs 3.4:
None
If you want to use my kernel for your ROM just use it and cit me in credits
I am flashing now, I will let y'all know how it goes!
-Flashing on last CM 11 release btw.
Working great on my device for the past few hours.
Running CM 11 nightly.
Noteworthy is CM11 since the past few days has directed ringtones/message tones etc to bluetooth if enabled even when bluetooth is not connected leading to no audio played, incall audio works fine. Bluetooth needs to be turned off(or bluetooth connected) for the tones to come through.
I believe this is related to CM recent commit "Merge branch 'LNX.LA.3.5.2_RB1' of git://codeaurora.org/platform/vendor/qcom-opensource/bluetooth into cm-11.0"
This kernel does not appear to have this issue. Maybe it simply does not include this commit.
new version is up!
no one report issue with this kernel so i moved this project from testing to beta.
Hi,
I installed it on PAC KK ROM.
I tried to find the following files with Root Browser.
/sys/android_touch/sweep2wake
/sys/android_touch/doubletap2wake
/sys/class/leds/button-backlight/blink_buttons
But these files are not present at the the paths mentioned.
I tried to change these settings from Trickster MOD but I found only the USB Fast charge option only.
sathish804 said:
Hi,
I installed it on PAC KK ROM.
I tried to find the following files with Root Browser.
/sys/android_touch/sweep2wake
/sys/android_touch/doubletap2wake
/sys/class/leds/button-backlight/blink_buttons
But these files are not present at the the paths mentioned.
I tried to change these settings from Trickster MOD but I found only the USB Fast charge option only.
Click to expand...
Click to collapse
if you have got cm file manager can you search for "sweep" and tell me the path of the files? thx .)
BLN is not implemented atm
i'll fix asap
Invading my space here I see Mr.rmbq....:laugh: just playing man, Welcome to the party over here in Evita land.
For those of you guys that don't know him rmbq has been a fixture in the One S forum for a while and we have been bouncing ideas for our kernels off each other for months. He puts out solid work and is quite a bit more knowlegdeable at kernels than I.
jrior001 said:
Invading my space here I see Mr.rmbq....:laugh: just playing man, Welcome to the party over here in Evita land.
For those of you guys that don't know him rmbq has been a fixture in the One S forum for a while and we have been bouncing ideas for our kernels off each other for months. He puts out solid work and is quite a bit more knowlegdeable at kernels than I.
Click to expand...
Click to collapse
ahah thanks for the welcome man
i built a kernel for evita cos you say me more than once you haven't got time to work on kernel so...
rmbq said:
ahah thanks for the welcome man
i built a kernel for evita cos you say me more than once you haven't got time to work on kernel so...
Click to expand...
Click to collapse
I don't mind at all man...I may keep mine going, I may get a new phone and move on soon idk. But yeah I don't do enough on it. I could do more but ROM work has pulled me away.
Sent from my One Xl using Tapatalk
I hope I don't offend you jrior in any way, but once your new ROM project drops, I'll be on that, along with this amazing kernel
Sent from my One X using Tapatalk
jrior001 said:
I don't mind at all man...I may keep mine going, I may get a new phone and move on soon idk. But yeah I don't do enough on it. I could do more but ROM work has pulled me away.
Sent from my One Xl using Tapatalk
Click to expand...
Click to collapse
Not to take away from this kernel at all (great work, @rmbq), but it'd be a massive shame to see Torched disappear.
Sent from my Evita
timmaaa said:
Not to take away from this kernel at all (great work, @rmbq), but it'd be a massive shame to see Torched disappear.
Sent from my Evita
Click to expand...
Click to collapse
2 kernel are better than 1! jrior001 fixed something, i fixed something and together we made better kernels! sadly a day has got only 24 hours and there are a lot of things to do
btw new version is up! with s2w dt2w and BLN
cool!!! excellent sir! congratulations for your work and thanks for sharing it with us!
Scozzar said:
So I assume everything went well...?
Click to expand...
Click to collapse
It was great.
The stability was 100% (with FC's)
I must applaud (and thank you) for your great work and can't wait to see where this kernel goes.
BTW: I found this kernel to work with Pac, CM, and KarbonKat so far. Does NOT work on PA [Beta 4] (I change OS's on a daily basis, not kidding)
Lol i was goma release my kernel for ville and evita too. Well the more the better
Sent from my One S using Tapatalk
I flashed the newest kernel but can't seem to be able to turn on BLN, s2w, or dt2w.. tried using root explorer to turn them on but the last part of each path isn't there and trickster has nothing for turning on BLN. Says kernel installed is the newest one, 4/23. Am I missing something?
Sent from my One XL using Tapatalk
---------- Post added at 10:09 PM ---------- Previous post was at 09:36 PM ----------
downset00 said:
I flashed the newest kernel but can't seem to be able to turn on BLN, s2w, or dt2w.. tried using root explorer to turn them on but the last part of each path isn't there and trickster has nothing for turning on BLN. Says kernel installed is the newest one, 4/23. Am I missing something?
Sent from my One XL using Tapatalk
Click to expand...
Click to collapse
Edit: never mind, downloaded wrong kernel lol
Sent from my One XL using Tapatalk
Downloading as we speak!!! Torch kernel was spectacular and I am going to take a stab that this will be equally as pleasing . Will report back with the good news (hopefully )
Reporting live from outer space
---------- Post added at 12:45 AM ---------- Previous post was at 12:13 AM ----------
Would not boot past the HTC logo no matter what.
Tried flashing the "kernel cleaner" and then flashing the kernel. Nothing.
Tried flashing just the kernel. Nothing.
Tried flashing my karbonkat 1.0-7 build with the kernel zip afterwards. Nothing.
Flashed ONLY my karbonkat zip. Booted right up....
Not sure what's going on? And yes I wiped dalvik/cache in between and during all of this process.
Posted From My CodeFired Super Evita ×_×
---------- Post added at 12:53 AM ---------- Previous post was at 12:45 AM ----------
Just flashed the 4.0 kk torch kernel and it went smooth. Not sure what's up??
Posted From My CodeFired Super Evita ×_×
Another user has confirmed this to be working with Carbon so there must be something on at your end. Did you check the md5?
Sent from my Evita
As always:
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Hi to all i'm here to share with you (and with the community) my kernel based on haxynox/ivan_meler arter97 sources(instead of cm sources)!
this is not a super kernel with a lot of features... the main goal of this project is to have a stable kernel with some a lot of features
This is a kernel based on stock sources for AOSP/CM roms!
However bug reports (with logs), rewiews, ... are always welcome!
Features:
based on arter97 kernel
builded on archlinux debian sid
LZMA compressed kernel
AnyKernel2 (should support all CM roms)
A lot of optimizations, backports, improvements, ... (check the github gitlab repo!)
Led control
Changer control
Taskstats (iotop support)
I/O Schedulers: noop deadline [cfq] bfq sio vr fifo zen
Governors: intelliactive smartassV2 interactive zzmoove conservative powersave [pegasusq] performance
Tcp Congestion Controls: [westwood] reno bic cubic highspeed hybla htcp vegas ven scalable lp yeah illinois
NTFS support
USB OTG support
Full F2FS support (backported from Linux 4.2+) (kernel side + fstab)
Improved colors and mdnie control
Boeffla sound
Tap2wake and Doubletap2wake
Synapse support (install the app)
CPU overclock up to 2160 MHz and underclock down to 100 MHz
CPU undervolt interface
GPU overclock/underclock
GPU undervolt
ARM CPU Topology (sched_mc)
Enable/Disable speaker when camera app is open
Click to expand...
Click to collapse
Changelog:
v1.9.1
bring back mdnie control and improved colors
install busybox (without symlinks) if not already installed
force to use busybox for everything related to synapse and use /system/bin/sh as shell
misc fixes for synapse
Installing busybox manually is not required anymore for synapse, this build is also an attempt to fix the various issues with synapse reported by some users
Click to expand...
Click to collapse
v1.9.0
first public build compiled on debian sid
update everything for the gitlab switch
use LZMA compression
support for the new hwc (tilak rom)
remove old settings for vibrator intensity and use the lineageos one
remove mdnie settings and use lineageos one (currently broken)
v4l2 and fb updates for the new hwc
misc updates from https://github.com/fourkbomb/android_kernel_samsung_smdk4412/commits/cm-14.1-rebase
full build system and template (install zip) revamp
import latest AnyKernel2 updates
the kernel now installs a custom fstab
the original branches and the -new ones are now merged as the build system detects when the modules support is needed
pegasusq boost support
reboot to recovery when a kernel panic happens (if the kernel crashes it will go to recovery automatically)
v1.8.6
misc updates
wifi hotspot fix for android 7.0
v1.8.5
misc kernel updates
now kernel releases without modules are built separately, check for the -new flag in the zip name (for android 7.0 and up)
second attempt to fix wifi on android 7.0
v1.8.4
wifi should work on nougat now
v1.8.3
android 7.0 support (experimental, untested use at your own risk)
security updates
misc bug fixes
v1.8.2
from now when you are using aosp this zip will install only synapse (aosp has already this kernel)
v1.8.1
Candysix issues fixed
updates from cyanogenmod kernel
v1.8.0
overclock support up to 2160 MHz
debug reduced (a lot!!)
re-added synapse governor tab
re-added frandom
updates from CyanogenMod kernel
finally fixed usb otg (now works always not only the first time after boot)
option to enable swap and zram (only for advanced users)
removed adaptive body bias
other changes
from the old arter97 kernel (before 5.0):
removed memory throttling
cpu unaligned accesses
AIO changes
v1.7.3
Synced with dev branch
Switched back to google gcc 4.8 (the android default one)
Removed samsung changes to ondemand governor
Enabled ondemand
And take a look at this
v1.7.2
Fix synapse freeze when changing governor
Removed negative mode toggle
v1.7.0
Rebased on arter97 kernel (full and proper upstream to 3.0.101, including dma_cma) (big thanks to arter97)
Builded with GCC 5.3
New governors: smartassV2 interactive conservative
New I/O schedulers: sio vr fifo zen
Enabled dma_cma (better memory management)
Enabled embedded exfat driver (i won't provide support for this, if you are still using exfat it's time to switch to something new!)
Minor fixes (like touchkeys remaining active sometimes)
Synapse now supports zzmoove profiles
Synapse minor changes
Other misc changes
1.6.4-4806461
Updates from cyanogenmod kernel
Revert busfreq changes
Misc changes
1.6.3-22afe8b
New option for touchwake by me (charging_mode, enable touchwake only on charging)
Synapse minor changes (frequency monitor added)
1.6.2-68fa049
New led control (supports led brightness!)
New f2fs! (Backported from Linux 4.2+, thanks to arter97)
Removed logger and logger mode (logcat driver in the kernel is not needed anymore on android 5.0+)
Enabled NFS client and CIFS (experimental, an arter97 user reported a sunrpc kernel panic)
Other minor changes
1.6.1-294f21d
Enabled Asynchronous I/O
1.6.0-2ff4fd9
CPU clock: 1600 - 200 -> 1800 - 100
CPU undervolt interface
GPU overclock and undervolt
ABB (adaptive body bias)
ARM architecture updates
A lot of other optimizations
ARM CPU topology (sched_mc readded)
toggle negative mode with 4 taps on home button (tap fast!)
Camera shutter sound control (disable speaker when camera app is open)
Intelliactive from arter97 kernel
Cleaned up MIF/INT (busfreq) code
synapse updated (too many changes to list check by your self)
A lot of other changes
release5-7096c91
update synapse
misc changes
release5-eb6898c
synapse support boeffla sound
release5-ee27b5f
synapse support (beta) (for boeffla use his app!)
removed sched_mc
pre-release5-7d34ddc
wait this is a pre-release because it doesn't have synapse support, this will be added in the release5
enabled deadline and bfq io schedulers (deadline as default)
enabled all tcp congestion controls (westwood as default)
sched_mc (multicore power saving)
some tweaks from boeffla kernel (thaks to andip71!)
release4-f240f37
revert to f2fs from cyanogenmod
f2fs support (fstab) now you don't need anymore a rom that support f2fs natively
misc updates
release4-dcd9a36
fixed touchkeys always on
release4-d1728a6
rebased kernel oon new Nameless one (changes are a lot!)
logger-interface
new f2fs! (imported from here)
release3-3dda06e
tap2wake and doubletap2wake
ZZMoove 1.0 beta8
release2-e21b17d
updates from cyanogenmod kernel
disabled samsung_extdisp driver (source of bugs, more info: https://github.com/NamelessRom/android_kernel_samsung_smdk4412/commit/3597c6bf57e82df92fdaa3db215ab3640f00c888)
boeffla sound 1.6.7
mdnie control and master sequence
f2fs (kernel side support)
some debug removed
release1-d1a9259
initial release
Click to expand...
Click to collapse
Coming features:
you tell me
Click to expand...
Click to collapse
Bugs:
none so far (for touchwake read this: http://forum.xda-developers.com/showpost.php?p=66179198&postcount=46)
Click to expand...
Click to collapse
Obviously you can use the sources of this kernel but i won't provide support if you want to build it on windows (cygwin) or on mac
You must use LZMA compression if you want to use this kernel for building a recovery otherwise the image won't fit the ~8 MB partition of our device
WARNING #1
if you want to flash phh's superuser (i use this) then flash first the superuser zip and after the kernel otherwise the rom won't boot
if you use SuperSU the order of flash doesn't matter
WARNING #2
Don't flash this kernel over an another custom kernel
Before flash make sure to have a way back (backups, dump, ...) and if you want to revert back to default kernel of your rom simply reflash the rom zip
WARNING #3
Remember that the some features can ruin/break some parts of your phone here are some examples:
changing voltages supplied to the battery
overclock/undervolt of cpu/gpu
too high volume in boeffla sound
too high vibration strenght
as the disclaimer says is at your own risk!
Downloads:
https://gitlab.com/ParanoidNote/void-kernel/tags (click on a tag to see the full release notes)
old downloads: https://github.com/ParanoidNote/void-kernel/releases
Click to expand...
Click to collapse
Credits:
Linus Torvalds
arter97
JustArchi
andip71 (LordBoeffla)
AndreiLux
yank555-lu
faux123
MarcKe
Ivan Meler
Evisceration
dhiru1602
fourkbomb
and all people here
Click to expand...
Click to collapse
XDA:DevDB Information
[KERNEL][AOSP/CM][5.0+|cm-12.0+][N7100] Void Kernel, Kernel for the Samsung Galaxy Note II
Contributors
ParanoidNote
Source Code: https://gitlab.com/ParanoidNote/void-kernel/commits/master
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.9.1
Stable Release Date: 2017-04-27
Created 2016-03-22
Last Updated 2017-04-27
ParanoidNote said:
As always:
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Hi to all i'm here to share with you (and with the community) my kernel based on haxynox/ivan_meler sources!
this is not a super kernel with a lot of features... the main goal of this project is to have a stable kernel with some features
However feature requests, bug reports (with logs), rewiews, ... are always welcome!
but THESE won't be added:
governors (pegasusq has tunables use them)
undervolt and overclock (unstable)
adaptive body bias (ABB)
gpu controls
io schedulers
F2FS (for now)
so the features are:
builded on archlinux
toolchain: https://launchpad.net/gcc-arm-embedded (gcc-arm-none-eabi-4_9-2015q3)
LZO compressed kernel
AnyKernel2 (should support all AOSP roms)
led control and led fading as default (thanks arter97)
changer control
taskstats (iotop support)
io schedulers: [noop] cfq
governors: [pegasusq] performance
tcp congestion controls: [cubic] reno
NTFS support
USB ethernet support
Joystick support (xpad, tablet, ...)
USB OTG support
coming features:
mdnie control
boeffla sound
you tell me
bugs:
none so far
Configuration app? i use terminal but if want you can use Kernel Adiutor of Trickster MOD apps however these won't cover all the features provided by this kernel
Obviously you can use the sources of this kernel but i won't provide support if you want to build it on windows (cygwin) or on mac, this is a linux kernel
You must use LZMA compression if you want to use this kernel for building a recovery otherwise the image won't fit the ~8 MB partition of our device
WARNING
if you want to flash phh's superuser (i use this) then flash first the superuser zip and after the kernel otherwise the rom won't boot
if you use SuperSU the order of flash doesn't matter
Downloads: https://github.com/4rch0x0/android_kernel_samsung_smdk4412/releases
Credits: all people here
XDA:DevDB Information
[KERNEL][~5.0+][N7100]Modded Stock Kernel, Kernel for the Samsung Galaxy Note II
Contributors
ParanoidNote
Source Code: https://github.com/4rch0x0/android_kernel_samsung_smdk4412/commits/master
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: release1-d1a9259
Stable Release Date: 2016-03-22
Created 2016-03-22
Last Updated 2016-03-22
Click to expand...
Click to collapse
For that Rom you need this kernel and can be installed?
Piombo71 said:
For that Rom you need this kernel and can be installed?
Click to expand...
Click to collapse
you can install this kernel on all aosp roms (cyanogenmod, temasek, resurrection remix,...)
it's means this kernal is available for the porting of TW 5.1.1 of N7100?
Leric said:
it's means this kernal is available for the porting of TW 5.1.1 of N7100?
Click to expand...
Click to collapse
Really????
Leric said:
it's means this kernal is available for the porting of TW 5.1.1 of N7100?
Click to expand...
Click to collapse
No this is a kernel for aosp roms (it is based on stock sources) sorry this kernel for now doesn't have a real name
ParanoidNote said:
No this is a kernel for aosp roms (it is based on stock sources) sorry this kernel for now doesn't have a real name
Click to expand...
Click to collapse
all right... thank you
WOW! a new kernel for our note 2 thank you dev! keep it up
P.S. :3 is there any possibility to get dt2wake?
Download link death
zeratull said:
Download link death
Click to expand...
Click to collapse
works now thanks
Stavrosfil said:
WOW! a new kernel for our note 2 thank you dev! keep it up
P.S. :3 is there any possibility to get dt2wake?
Click to expand...
Click to collapse
ok i will try but i remember that was causing issues in some older builds so i don't know if it will be added...
edit: got it working will be live in the next build!
Firstly great kernel and great thanks for implementing dt2wake.
BTW can I know how to disable single tap 2 wake and only use dt2wake. Thanks
maq06 said:
Firstly great kernel and great thanks for implementing dt2wake.
BTW can I know how to disable single tap 2 wake and only use dt2wake. Thanks
Click to expand...
Click to collapse
enable doubletap2wake (knockon) and tap2wake will be disabled automatically
first enable tap2wake (echo 1 > /sys/class/misc/touchwake/enabled) and after enable knockon (echo 1 > /sys/class/misc/touchwake/knockon)
@ParanoidNote I'm using your kernel in the latest crDroid build, but I'm not sure how to use the dt2wake feature. How can I enable it?
andrewKode said:
@ParanoidNote I'm using your kernel in the latest crDroid build, but I'm not sure how to use the dt2wake feature. How can I enable it?
Click to expand...
Click to collapse
read the posts above
ParanoidNote said:
read the posts above
Click to expand...
Click to collapse
Sorry but I'm not blind. I did read the post above and tried that but it still doesn't work.
Trimis de pe al meu GT-N7100 folosind Tapatalk
andrewKode said:
Sorry but I'm not blind. I did read the post above and tried that but it still doesn't work.
Trimis de pe al meu GT-N7100 folosind Tapatalk
Click to expand...
Click to collapse
ok open a terminal, and type:
su
echo 1 > /sys/class/misc/touchwake/enabled
echo 1 > /sys/class/misc/touchwake/knockon
echo 60 > /sys/class/misc/touchwake/delay (delay after the screen goes off)(optional)
if this doesn't work try to reflash the kernel and repeat the procedure above
however i will post in the main thread a sample init for configure the kernel at boot (enable dt2wake, boeffla, zzmoove,...)
ParanoidNote said:
enable doubletap2wake (knockon) and tap2wake will be disabled automatically
first enable tap2wake (echo 1 > /sys/class/misc/touchwake/enabled) and after enable knockon (echo 1 > /sys/class/misc/touchwake/knockon)[/QUOTE
I followed your instructions but
It doesn't seem to work.
I can't able to disable tap 2 wake and only use d2wake.
Click to expand...
Click to collapse
Thank you very much for supporting this device
Matsuura Kernel | Stability for Performance
For Xperia E3
Based on Lineage OS 14.1 source
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Matsuura Kernel is based on Lineage OS source (renaissance), and included many improvement, features and optimization on processor for Xperia E3 that use Lineage OS Nougat as base ROM.
Matsuura Kernel offer kernel stability, smoothness process on cpu and This kernel is include several feature to increase performance, This kernel need kernel configuration app to control this kernel, so try to find kernel configuration app after flash this kernel.
Recommended Kernel Configuration App:
- Kernel Adiutor [Recommended, simple and easy to use]
- Device Control
This kernel feature is :
- Linux Kernel v3.4.113
- Added CPU overclock up to 1,6Ghz
- Added CPU underclock to 96Mhz (300Mhz as minimum idle freq)
- Added GPU overclock and underclock to 100Mhz as lower and 550Mhz as higher frequency
- Compatibility with AOSP,CM And LineageOS based ROM [Android 7.0+]
- Added custom CPU Governor : Alucard,Intelliactive,IntelliMM,PegasusQ,Smartmax,Lionheart, & Intellidemand
- Added custom I/O Sched Governor : zen,sio,sioplus,tripndroid,fifo,fiops,maple,bfq and vr
- Added custom TCP Modules : Advanced,Bic,Westwood,Hybla,Vegas,Veno,Yeah,Ascarex and more
- Implement Power Efficient Workqueues
- Added Interface of Gentle Fair Sleepers,CPU Boost,Android Logger,Wakelock Toggles and Arch Power (Option Disable by Default)
- Added Frandom Support
- Added Dynamic Fsync 1.5
- Entropy Tweaks
- NEON VFPV4 Optimized (hard)
- Added Intelli Plug v4.0 (Disabled on new update)
- Added Intelli Thermal v1.0
- Added Headset High Perfomance Mode (HPF)
- Added Simple GPU Algorithm
- Added Faux Sound Control v3.6
- Added Powersuspend Driver v1.6
- Added MSM Hotplug
- Added State Notifier Driver
- Compiled using GCC 5.4.1 Hyper Toolchains
- Added Compatibility with AnyKernel v1 Script
- Added EXFAT File System Support (Need Test)
- Updated F2FS to latest revision branch (f2fs-stable.git) [F2FS Branch]
How to install :
>> For v4 and v4.1
1. Download Matsuura Kernel and install it from recovery mode, use TWRP recovery then reboot to system
2. Download Root Explorer or whatever it is
3. Delete /system/etc/init.d/99matsura then reboot
4. install kernel adiutor from Playstore Link for kernel configuration (i don't have myself app to control kernel)
5. Final step, let's configure kernel like what you want it :victory: and enjoy my first custom kernel
>> For v3
1. Download Matsuura Kernel and install it from recovery mode, use TWRP recovery then reboot to system
2. install kernel adiutor from Playstore Link for kernel configuration (i don't have myself app to control kernel)
3. Final step, let's configure kernel like what you want it :victory: and enjoy my first custom kernel
For download, look at download tab on top of this thread
Thanks to :
@rmnhg
@infus38
@jpzex
@aryawpratama
Have Try :highfive: !
XDA:DevDB Information
Matsuura Kernel for Xperia E3, Kernel for the Sony Xperia E3
Contributors
Nicklas Van Dam, rmnhg, aryawpratama
Source Code: https://github.com/Nicklas373/renaissance
Kernel Special Features: Optimized for flamingo, Build for peformance, and Overclock
Version Information
Status: Stable
Current Stable Version: 4.1
Stable Release Date: 2018-04-17
Created 2018-02-19
Last Updated 2018-05-06
Changelog
Changelog :
- 4.1 (20180417):
- Removed CPU Freq Upstream
- Removed CPU Gov Chill & Relaxed
- Removed Interactive optimization
- Revert Change of dynamic fsync to 1.5 cause stability issue
- Improved CPU algorithm after clean up
- Improved Kernel Performance & Stability Runtime
- Reduced Some Wakelock Code on kernel
- Change some init.d optimizations
- Fourth Build (20180415) :
- Misc change with WLAN
- Update powersuspend to v1.6
- Updated new power manager API
- Optimized kernel sched balance feature
- Added new filesystem dynamic read-ahead (thanks to @infus38)
- Added interface toggle of printk logger
- Added MSM Hotplug and disable intelli plug
- Misc kernel optimizations
- Fix some memory leak issue on selinux and other
- Added new wakelock toggle (bluedroid and bluesleep)
- Updated kernel power efficient workqueue algorithm
- Added initial init.d support
- v3.1 (20180319):
- CPU misc optimization
- Added dynamic management of dirty page writeback
- Disable some tracing and debugging
- Misc optimization for intelli thermal
- Third Build (20180305)[F2FS Version][Last Support that use F2FS]:
- Re-port F2FS to current revision branch from f2fs-stable.git
- Re-configure F2FS configs
- Update FAUX Sound Control to v3.6
- Added Maple I/O Sched with state notifier
- Added TCP Ascarex congestions
- Removed stock mpdecision on kernel to fix hotplug problem
- Configure some CPU Governor freq & Update Alucard to v1.1
- Removed SDCARDFS Drivers (Not work)
- Added Tripndroid I/O Sched
- Setting up Maple as default I/O Sched, TCP Westwood as default and Intelli Plug enable as default
- Second Build (20180225):
- Misc Optimizations on CPU Table
- Fixed CPU OC and OC up to 1.6Ghz
- Fixed CPU UC and UC to 96Mhz with 300Mhz as minimum idle frequency
- Fixed GPU OC and UC to 550Mhz as higher and 100Mhz as lower frequency
- Re-build new dt.img (to refresh new CPU/GPU Freq)
- Added sioplus I/O Sched
- Added Lionheart CPU Governor
- Removed MSM Limiter & Maple I/O Sched
- Added SDCARDFS Drivers (Need Test)
- Removed F2FS Support (NOTE: Other build still support, but won't for long term support)
- First Build [BETA](20180219):
- INITIAL RELEASE
Kernel Adiutor Configuration
CPU Manager :
CPU Max Frequency : 1190Mhz (For Normal Usage), 1.406Mhz (For Multitasking Usage) & 1.596Mhz (For Hard/Gaming Usage)
CPU Min Frequency : 384Mhz / 787Mhz (For Normal / Idle) & 96Mhz / 192Mhz (For Battery Saving)
CPU Governor: Alucard or Interactive (For Normal Usage), Alucard or IntelliMM (For Multitasking Usage) & Lionheart or Intelliactive (For Hard/Gaming Usage)
CPU Boost: 20ms
Sync Threshold: 787Mhz
Input Interval: 40ms
Input Boost Frequency Core 1 - 4: 998Mhz
(Beside that leave it as stock)
Thermal Manager:
Intelli Thermal : Enable
Core Control : Enable
Frequency Throttle Temperature : 60c
CPU Throttle Temperature : 70c
Thermal Limit Low = 2
Thermal Limit High = 11
(Beside that leave it as stock)
GPU Manager
GPU Max Freq : 450Mhz (For daily usage), 550Mhz (For hard gaming)
GPU Governor : msm-adreno-tz
Simple GPU Algorithm : enable
I/O Scheduler =
Internal Storage: maple (default), bfq (For multitasking)
External Storage: maple (default), bfq (For multitasking)
NOTE : It should set as maple for internal, but i don't know about external, but you can use another if you want to get some experience with it
Misc =
Software CRC Check = Disable
Dynamic Fsync = Disable
Arch Power = Disable (Not really recommended)
Gentle Fair Sleepers = Disable
Power Suspend Mode = Hybrid
TCP Congestions = Depends on your need
Wakelock = Disable all toggles to disable wakelock that active on idle
Option already update during new kernel feature is include
For explanation (cpu hotplug, and i/o sched) check on this thread
CPU Governor : Link- 1 Link-2
I/O Sched : Link
CPU Hotplug :Link - 1 Link - 2
Special Thanks to @gsstudios for guide :laugh:
FAQ Thread
FAQ Thread:
1. Can i install this kernel on type D22XX?
: Yes, you can install this kernel on all variant of flamingo (Xperia E3)
2. Can i install this on other version of lineage or other ROM from the other ROM?
: Yes, you can directly to install it without any worry because this ROM already integrated with anykernel
3. I've some problem with my device, like ....?
: You can report it with give proper dmesg or kmsg log here, go to kernel adiutor and go to settings -> search about dmesg or kmsg section and upload that log here.
4. Why stock mpdecision is gone after flash this kernel?
: Yes, i'm disable it but not remove it. To avoid overlap issue when using mpdecision but intelli plug already available as change for mpdecision and enable by default
5. Can i restore mpdecision?
: yes, try to rename it with root explorer or other root manager and go to /system/vendor/bin and rename mpdecision.bak to mpdecision and change permission to rwx-xr-xr (0755) and reboot it. It should restore your mpdecision
6. About F2FS Support
: Last build of kernel that still support for F2FS is on v3, build is higher than that is not supported for F2FS again during some unsolved issue for adoptable storage user.
So Nice , I'm so sad to only dev for e3 and not own one
thanks to you for push that on xda , people will love it
Great Kernel. :victory:
From another great dev
Thank You
Will flash it Asap.
Ali Haide 001 said:
Great Kernel. :victory:
From another great dev
Thank You
Will flash it Asap.
Click to expand...
Click to collapse
Thanks , Have Try !
New update is release !
New update is release for matsuura kernel with major change on kernel :highfive:
in this update, OC/UC is really work because i already update dt.img and improve anykernel script.
Kernel stability already increase with following adding much feature on it and adding kernel wakelock toggles
I'm still include much change and improvement on kernel, for further change look on changelog page.
Download links in download tabs, have try
New kernel adiutor configurations is already updated, please see it to get better performance when using this kernel
NOTE: Mpdecision is removed for this build, so when you want to flash another kernel beside this try to do this before
try to rename it with root explorer or other root manager and go to /system/vendor/bin and rename mpdecision.bak to mpdecision and change permission to rwx-xr-xr (0755) and reboot it. It should restore your mpdecision
Thank you for update
Developer is great and supporting:angel:
I have been using this kernel from some time and i can say that it's awesome
I recommend everyone to try this Kernel:highfive:
can't download because it's under maintenance https://forum.xda-developers.com/devdb/project/dl/?id=28779
aryawpratama said:
can't download because it's under maintenance https://forum.xda-developers.com/devdb/project/dl/?id=28779
Click to expand...
Click to collapse
Link download is already fixed, try to access on pc if you've problem with it. When server is maintenance just wait for a few hours and it will available again.
Or maybe i'll make a mirror on androidfilehost later
Sent from my Sony Xperia M using XDA Labs
Nicklas Van Dam said:
Link download is already fixed, try to access on pc if you've problem with it. When server is maintenance just wait for a few hours and it will available again.
Or maybe i'll make a mirror on androidfilehost later
Sent from my Sony Xperia M using XDA Labs
Click to expand...
Click to collapse
Thank you!
aryawpratama said:
Thank you!
Click to expand...
Click to collapse
you're welcome .
If have any problem with it just ask it or contact me at PM
New update is release !
New update is release or matsuura kernel, at this release i add much feature and some bunch of fix inside the kernel
Kernel stability already increase with following adding much feature on it and adding additional kernel wakelock toggles
I'm still include much change and improvement on kernel, for further change look on changelog page.
kernel already used init.d script, so kernel will get auto configured after boot is completed
Download links in download tabs, have try
New kernel adiutor configurations is already updated, please see it to get better performance when using this kernel
NOTE: MSM Hoptlug is used to change intelli plug, let's see if this can manage better than intelli plug
and F2FS Build isn't supported again since fourth build, if anyone use adoptable with f2fs then stick with v3 for keep your device decrypted normally or PM me to request for f2fs build.
New update is release !
New build is release to fix some problem with copyright issue with the owner of code..
What's removed :
- Upstream CPU Governor
- Chill & Relaxed Governor
- Interactive Patch Update
- Downgrade Dynamic Fsync to 1.5 from 2.0
But, i already fix some issue and increase kernel stability and performance after that remove. So kernel runtime and performance isn't drop down cause that remove.
Have try
New build is on download tab and i already update changelog
The mobile struck on the lineage booting page after installing this kernel.
I am using LOS v3 with mastuura kernel v4 . everything is fine . one day i drained my full battery and kept it for charging the phone is not charging up and not turning on .. can anyone help ?
arulsherlin said:
I am using LOS v3 with mastuura kernel v4 . everything is fine . one day i drained my full battery and kept it for charging the phone is not charging up and not turning on .. can anyone help ?
Click to expand...
Click to collapse
Same with me
Mother board is fused
Go to Sony repair ward . they'll fix for 2000₹
@Nicklas Van Dam Tank you
How to download this File Kernel? I can't look the downloads link
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now probably void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
I am new to kernel development so please don't be harsh in reviews.
This kernel derived from ThunderStorm. And add more Customization
Compile using DragonTC Clang 10 (Based on LLVM 10.0.0svn)
Features:
- Energy Aware Scheduling (EAS) *What is EAS? See here
- Kernel Upstream To 3.18.140
- Selinux Permissive
- CPU OC 2208 MHz
- GPU OC 725 MHz
- Vibration intensity control
- Fsync: on/off support
- Improved interactive governor
- Improved CPU boost
- Improved RCU boost
- Improved conservative governor
- USB Fast Charge (when use USB from laptop)
- Many memory improvements
- Vibration intensity control
- KCAL color control
- DTS Sound
- Audio codec quality improved
- I/O optimization
- I/O schedulers:
noop
deadline
cfq (default)
zen
maple
- EAS CPU Governors :
- Schedutil
- CPU Governors:
alucard
alessa
blu_active
zzmoove
darkness
zzmove
interactive (Default)
ondemand
userspace
powersave
lionheart
performance
- GPU Governor:
spdm_bw_hyp
bw_hwmon
venus-ddr-gov
msm-vidc-vmen
msm-vidc-ddr
bw_vbif
gpubw_mon
msm-adreno-tz (default)
cpufreq
userspace
powersave
performance
simple_ondemand
- Power Suspend Mode
Autosleep
Userspace
LCD Panel
Hybrid
- And more features
Installation:
- Reboot Custom Recovery (TWRP / OrangeFox)
- Backup boot, system, vendor
- Install Kernel
- Reboot system
Bugs :
Looking for another bug
Download:
EAS Version:
EAS-Atos-Kernel-Sakura-v10.1
Standard Version:
Atos-Kernel-Sakura-v10
Atos-Kernel-Sakura-v10-Overclock
Tested On Miui EU Beta and Stock Mi A2 Lite (Port for Sakura)
*NOTES: Use SmartPack Kernel Manager for more experience with this kernel
*Attention : Only install this kernel on roms with prebuilt 3.18 kernel !
Like my work? U can support me here: Paypal
Thanks TO :
Thundestorm Kernel for base
AnyKernel2 for Flashable ZIP
Some my kernel testers
And thanks to anyone for telling me bug this kernel
And you
Leave thanks if you like this Kernel
Code:
Changelog
v10.1
Bring up EAS [B] [I]*What is EAS? [URL="https://developer.arm.com/tools-and-software/open-source-software/linux-kernel/energy-aware-scheduling"]See here[/URL][/I][/B]
New EAS CPU Governor : Schedutil
Remove some standard cpu governor, now only EAS Cpu Governor
v10
Change version kernel
Add Klapse 5
mdss_fb: add lcd backlight min limit
Remove useless CPU Governor
New compiler using DraginTC Clang 10 (Based on LLVM 10.0.0svn)
BACKPORT: clang cross build support
Makefile: Some changes for GCC
kbuild: clang: remove crufty HOSTCFLAGS
kbuild: clang: fix build failures with sparse check
kbuild: Add support to generate LLVM assembly files
kbuild: clang: add -no-integrated-as to KBUILD_[AC]FLAGS
And some improvement
v69.9e
Merge from CAF 'LA.UM.7.6.r1-05500-89xx.0'
Merge Staging Prima 'LA.UM.7.6.r1-05500-89xx.0'
Add Thermal Control
Add Voltage Control
And more Improvement
v69.9a
Now can use on custom ROM with kernel 3.18
v69.9
Fixed brightness issues for MIUI from version v69.8b
Add more CPU governor
Add more IO Schedulers
- v69.8b
Some Improvement and More Stability
Added DTS Eagle
Test compile for custom Rom with kernel 3.18
- v69.8-Beta
CPU OC 2208 MHz
GPU OC 725 MHz
Add USB Fast Charge (when using USB from a laptop)
Add CPU Governor (Alessa)
- v69.7-Beta
Fix missing driver
- v69.6
GPU OC 750MHz
Some improvement
- v69.5
Fixed no sound during a call
Added more CPU and GPU Governor
- v69.4
SELinux Permissive
Fixed Flashlight QS toggle
- v69.3
Added More CPU Governor
Added More GPU Governor
Fixed Wifi
And etc I forget :)
- v69.2
Booted, but a lot of bugs
- v69.1
Initial Release
Not booted
XDA:DevDB Information
SAKURA Atos Kernel, Kernel for the Xiaomi Redmi 6 Pro
Contributors
Okta. Pra A
Source Code: https://github.com/okta-10/kernel_xiaomi_msm8953-sakura-atos
Kernel Special Features: Energy Aware Scheduling (EAS), Overclock CPU & GPU, DTS Eagle
Version Information
Status: Stable
Current Stable Version: v10 - (3.18.140)
Stable Release Date: 2019-07-02
Current Beta Version: v10.1 - (3.18.140)
Beta Release Date: 2019-09-15
Created 2019-06-15
Last Updated 2020-08-12
Reserved
Nice to see a kernel dev in here!And a new MIUI kernel!Congrats and keep up the good work!
On a side note,do provide a detailed changelog so that others may find your kernel more
interesting and know exactly what features are there in the kernel
Nice to see a new kernel.
Is it for pie or for oreo.
Update
Atos Kernel v69.4
Changelog:
- Selinux Permissive
- Fix flashlight QS Toggle
Download: Stable v69.4
darkhzy_kh said:
Nice to see a kernel dev in here!And a new MIUI kernel!Congrats and keep up the good work!
On a side note,do provide a detailed changelog so that others may find your kernel more
interesting and know exactly what features are there in the kernel
Click to expand...
Click to collapse
Hi, Thank you for his advice , i am very happy, but now i have added some Changelog , thank you before
deepak kumar android said:
Nice to see a new kernel.
Is it for pie or for oreo.
Click to expand...
Click to collapse
Thank you, work fine in MIUI Pie, so please just try in miui oreo the own risk
:good: Thanks
ananxd said:
:good: Thanks
Click to expand...
Click to collapse
You're welcome, bro
Update
Atos Kernel v69.5
- Fixed no sound during call
- Added more Cpu and Gpu Governor
Download: Stable MIUI Atos Kernel v69.5
Will try tomorrow.
ananxd said:
Will try tomorrow.
Click to expand...
Click to collapse
Yes, try it
I don't see any commits
https://github.com/OktapraAmtono/kernel_xiaomi_msm8953-sakura-atos/commits/atos-miui
ndrancs said:
I don't see any commits
https://github.com/OktapraAmtono/kernel_xiaomi_msm8953-sakura-atos/commits/atos-miui
Click to expand...
Click to collapse
Coz he merged all of them into one
ndrancs said:
I don't see any commits
https://github.com/OktapraAmtono/kernel_xiaomi_msm8953-sakura-atos/commits/atos-miui
Click to expand...
Click to collapse
darkhzy_kh said:
Coz he merged all of them into one
Click to expand...
Click to collapse
Yeah,, , , actually because i don't know use github, just create repository... ??
I just compile from my local computer ?
So sorry ??
After installing on ????, the sensor stopped working. Can not unlock. Put the kernel of another developer - it works well.
z20010 said:
After installing on ????, the sensor stopped working. Can not unlock. Put the kernel of another developer - it works well.
Click to expand...
Click to collapse
Whats ur use miui version?
On latest miui eu beta working fine
z20010 said:
After installing on ????, the sensor stopped working. Can not unlock. Put the kernel of another developer - it works well.
Click to expand...
Click to collapse
same as me, last miui.eu beta
Okta. Pra A said:
Whats ur use miui version?
On latest miui eu beta working fine
Click to expand...
Click to collapse
??????? 10 9.6.13
z20010 said:
??????? 10 9.6.13
Click to expand...
Click to collapse
Try instal without module, ektrack kernel then delete all file on system/lib/modules...
before install kernel u need restore system