[KERNEL] [GPL] [OTG] [Linaro] [-Ofast] [HOLOYOLO] [17 May 13] Community Kernel - Nexus 4 Android Development

GOAL
The goal of this kernel is to have a central place for developers in the community, who don't want the burden to maintain their own kernel, to have a place to do so. Many times, developers who work on these devices constantly develop issues with others or don't have time to incorporate new features. Our goal is to avoid all that. Anything and everything will be accepted, granted it doesn't break anything. @show-p1984 has been kind enough to not only host the source but grant the use of his buildbot for this project. Every time source is pushed, the bot will start to build the kernel, zip up the package and finally upload it to my goo.im account. If you'd like to become part of this project then go ahead and reach out to me on twitter (@jassycliq) or PM me on here. My short term goal for this kernel is to add all the hotplug drivers available for mako and incorporate them into this one kernel. As it stands we can only use Qcom's binary, show's mpdecision and faux123's intelli-plug as they have switches to turn them off. These can be changed on the fly, as long as the user turns off all the hotplug drivers first then turns on the desired hotplug method. I'd also like to have an app that can control this, well a proper application to be exact.
Features
* CPU OC up to 1.9ghz, Default to 1.5GHz
* CPU UC down to 162mhz
* UV down to 600,000uVolts
* Intelli-plug hotplug driver
* Qualcomm's MPDecision
* MSM MPDecision (kernel based mpdecision)
* Dynamic FSync
* Sweep2Wake
* Snapdragon S4 and Krait optimizations
* 3-Phase Thermal
* GPU OC up to 487mhz
* Faux's Gamma Interface
* Faux Sound/Speaker Control
* Fast Charge
* Schedulers
FIOPS
SIO
NOOP
ROW
CFQ
DEADLINE (tuned for flash devices)
* Governors:
DanceDance
Interactive
Ondemand
Performance
* Advance TCP Congestion Control
Westood+
Reno
Bic
Cubic
Htcp
Veno
* Compiled with gcc 4.7.3 (Linaro 4.7-2013.04)
* -Ofast optimized
* WLAN, TUN and CIFS compiled as modules due to size of kernel from the high amounts of optimizations
* OTG support
* Too much to write!
Choosing between the 3 hotplug drivers
This kernel comes with 3 hotplug drivers (intelli-plug, qcoms mpdecision and kernel based mpdecision) by default only Qualcomm's MPDecision is used. To turn one of the others you must use their respective sysfs interfaces after turning off the one's you're not using. To make it easier for you, I have included a small little application that helps you turn through this. If you'd like to make an init.d script to choose which one you want on boot then use the following commands
For kernel based mpdecision
Code:
echo "0/1" > /sys/kernel/msm_mpdecision/conf/enabled
echo "0/1" > /sys/kernel/msm_mpdecision/conf/scroff_single_core
For Intelli-Plug
Code:
echo "0/1" > /sys/module/intelli_plug/parameters/intelli_plug_active
echo "0/1" > /sys/module/intelli_plug/parameters/eco_mode_active
For Qualcomm's MPDecision
Code:
start mpdecision
stop mpdecision
Downloads
http://goo.im/devs/jassycliq/mako
Why do I have no WLAN?
Due to this kernels very high optimization settings it is too big for our boot.img with WLAN included into the kernel, so it is built as a module. That means it needs to be inserted into the kernel upon boot up, which needs to be automated for maximum comfort = userinit (init.d) support.
The zip adds init.d support to your ramdisk, if that fails for some reason the wlan module cannot be inserted.
if
Code:
adb shell lsmod
doesn't show this:
Code:
tun 14701 0 - Live 0x00000000
cifs 275399 0 - Live 0x00000000
wlan 2964650 0 - Live 0x00000000 (C)
Then init.d support is probably missing.
You can test it by going to /system/etc/init.d/ and executing 00wlan.
Code:
adb shell
su
. /system/etc/init.d/00wlan
Wait a few seconds and try to enable wifi and repeat the above lsmod command (should now show wlan, you can execute 01cifs and 02tun too).
If WLAN now works, init.d support is missing.
You need to have busybox installed in order to be able to get init.d support going, this shouldn't be a problem for most people, since it is usually installed when rooting your phone anyway.
It does not matter if busybox is installed in /system/bin or /system/xbin, my script will detect the location upon flashing and patch the ramdisk accordingly.
If no busybox is found, the script will add init.d support to your ramdisk with the default location: /system/xbin/busybox. All you need to do is install busybox there and reboot your phone.

Changelog:
8 May 2013​
Code:
4c59771 defconfig: Update defconfig.
596b56b cpufreq: Add smartmax. Let's test this, see how it does.
1cb9bb0 msm: cpufreq: Always update frequency limits when core is online
d822b01 msm_mpdecision: boost: detect changed min frequency and update accordingly
213609a msm_mpdecision: tune hotplug values
7 May 2013​
Code:
cfcfcbe4 Revert "msm: kgsl: Add GFP_NORETRY to the page_alloc flags and handle errors"
4750928 defconfig: Update for new touch_boost feature for kernel based mpdecision.
085ba61 msm: kgsl: Reduce cmd buffer size for adreno_iommu_setstate
caed023 msm: kgsl: Fix hang detection to be 50ms or more
bf9a788 msm: kgsl: Add minimum amount of wait in adreno_waittimestamp
28780a3 msm: kgsl: Lower bounds check the number of power levels
3a7120b msm: kgsl: Avoid NULL pointer in adreno setstate functions
5db5ceb msm: kgsl: Fix guilty context logic for GPU hangs
eab59a3 msm: kgsl: Remove an uneeded register write for A3XX GPUs
da07ff9 msm: kgsl: Remove non-critical error messages
f33358f msm: kgsl: unprepare clocks when we move from NAP to SLEEP
3efbea6 msm: kgsl: Do not allocate space in ringbuffer for hung context
f41b6a2 msm: kgsl: Do not save context if it is being destroyed
b1d7357 fix error
d663e19 msm_fb: display: update var in display commit
f2c1e69 msm: display: non-blocking for overlay update
6fe5638 msm: kgsl: Remove extra interrupts when setting MMU state
7e8a134 msm: kgsl: Support user specified timeouts in adreno_waittimestamp
cf18f63 msm: kgsl: Move the adreno WPTR poke logic to the hang detection
6a808d0 msm: kgsl: Invalidate base pointers when tlb is flushed
a8bafcd msm: kgsl: Add GFP_NORETRY to the page_alloc flags and handle errors
cef0287 msm: kgsl: Fix adreno idle detection during hang
29916e4 msm: kgsl: Do not check for hang when graphics core is idle
01c3627 msm_mpdecision: input event boost: fix not resetting boost if cpu was unplugged before
643164e msm_mpdecision: add sysfs interface for input event boost
55f7b76 msm_mpdecision: add input event boost [read more]
5 May 2013​
Code:
6c31838 defconfig: trying -Ofast flag really quick
8684551 workqueue: silence 'warning: array subscript is above array bounds'
832bfbb Makefile: add -Ofast
230f31c Revert "mako LCD: keep RGB custom colors alive after screen off/on"
0a8b0db input: lge: re-work the patches I just reverted to fix a bug that was causing some leaks and some IRQ exceptions during screen on.
2f521e9 Sound Control: Added headphone poweramp controls
b9451d3 af_unix: use freezable blocking calls in read
74e437e sigtimedwait: use freezable blocking call
a479733 nanosleep: use freezable blocking call
b7b7d43 futex: use freezable blocking call
87e9542 select: use freezable blocking call
ce6c00a epoll: use freezable blocking call
abeafac binder: use freezable blocking calls
3995281 freezer: add new freezable helpers using freezer_do_not_count()
ff4bd25 freezer: skip waking up tasks with PF_FREEZER_SKIP set
23f2b45 freezer: shorten freezer sleep time using exponential backoff
6f57272 defconfig: Add new defconfig for test branch. Release 1.
74681b3 mach-msm: msm_mpdecision: default off. We will boot using Qualcomm's binary. Change zip to mirror this.
f063703 defconfig: Lower min clock, enable mpdecision (which I was advised could be turned off with 2 commands) so we will boot up with that as
d413876 auto_hotplug: Prepare for being able to run alongside show-p1984's mpdecision.
0919ae2 defconfig: Turn off auto-hotplug until it can be turned off and compiled alongside the other hotplug drivers.
38bbd31 Restrict slave mountspace so Dalvik apps can mount system-wide volumes
31cbf8b auto_hotplug: rev 4 - let's lean a little more towards performance.
4e4adbb auto_hotplug: stack the deck on auto_hotplug_late_resume to get things moving quickly again
e04373f auto_hotplug: parameter validation for max_online_cpus
751eb27 auto_hotplug: enhancements (rev 3)
9367500 auto_hotplug: enable the min_online_cpus value
689e712 auto_hotplug: enhancements (rev 2)
af7748f auto_hotplug: enhancements
5a17cb6 arm: auto hotplug - wrap all pr_info into the existing debug mode so we don't spam the kernel log
937748e Change dependencies to allow kernel to be built with ARM hotplug, and without MSM_RUN_QUEUE_STATS. These are only needed for proprietary
2527619 arm: Add auto hotplug driver
637ffac mm: vm_swappiness set to 20 (down from the default 60) since we have plenty of RAM on the Nexus 4
1e4db08 ARM: remove NWFPE and VFP emulation code from the kernel
3291b82 usb: otg: Fix? for compiling with OTG. If its wrong, I hope someone can help here.
Big thanks to @show-p1984, he really kick started this project.:highfive: One night I received a PM from him asking if I'd like to take this challenge on. He also helped me out a ton while setting up the repo and build. He really has been a great help.
Others I'd like to thank for their source, commits, hardwork, blood and tears:
@faux123
@francisco.franco
@_motley
@morfic
@Harsh
@r_data
@semaphore (or the creator of it)
@intersectRaven
@mathkid95 sorry for taking so long in adding you

Source
https://github.com/jassycliq/mako/commits/master
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
https://github.com/jassycliq/mako/commits/test

Thanks for starting this, seems a good idea. Question: are these builds tested before they are uploaded?

wow new kernel for mako, will try it man
Goodluck.

gianton said:
Thanks for starting this, seems a good idea. Question: are these builds tested before they are uploaded?
Click to expand...
Click to collapse
No, but as it stands right now nothing has changed that would be broken. In the future the test folder should be treated like a nightly build and the master folder should be treated like a stable build.
BTW I'm running the first one on that folder. The only change the newest one had is that it fixes an error where mpdecision was renamed, but now that we default to that, we don't want that to happen.
Sent from my Nexus 4 using Tapatalk 2

Just a question. I already flashed but does this have any of those modules /drivers that increase touch screen sensitivity? Considering it is compiled from every other kernel I would think so, but I'd just like to make sure
Sent from my Nexus 4 using xda app-developers app

Ranaquajaro said:
Just a question. I already flashed but does this have any of those modules /drivers that increase touch screen sensitivity? Considering it is compiled from every other kernel I would think so, but I'd just like to make sure
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
It has Faux's patch. I will implement Franco's tomorrow or some other day. I'd like to have more than one commit for a change.

jassycliq said:
It has Faux's patch. I will implement Franco's tomorrow or some other day. I'd like to have more than one commit for a change.
Click to expand...
Click to collapse
No worries just wondering. Great work by the way
Sent from my Nexus 4 using xda app-developers app

Any reason why i lost wifi? I flashed coming from franco kernel first i flashed the kernel reset then your kernel no wifi then i flashed your kernel again and no wifi?
NEXUS⁴

casonswag said:
Any reason why i lost wifi? I flashed coming from franco kernel first i flashed the kernel reset then your kernel no wifi then i flashed your kernel again and no wifi?
NEXUS⁴
Click to expand...
Click to collapse
Check OP, it goes over this.
Since the kernel is highly optimized WiFi, TUN, and CIFS need to be built as modules. Because of this, we use init.d scripts to load them at boot, this requires busybox. You can check if it loaded by typing the following in terminal:
lsmod
If it doesn't say WLAN, then the WiFi module needs to be loaded manually by typing this in terminal:
su
./system/etc/init.d/00wlan
If that works then try updating your busybox it might have an issue. Also if you have another init.d that starts with 00 change the wlan to 08wlan
Sent from my Nexus 4 using Tapatalk 2

Is it possible to add a changelog somewhere and add the direct link to it to the first post (like Franco does)?
Would be great, thanks!

jassycliq said:
GOAL
....
Features
....
* OTG support
* Too much to write!
...
Click to expand...
Click to collapse
and OTG would be using Y-Cable only right?
Is it already included or planned feature?
Thanks again for a wonderful combo :good:

SudevG said:
and OTG would be using Y-Cable only right?
Is it already included or planned feature?
Thanks again for a wonderful combo :good:
Click to expand...
Click to collapse
Yes with Y-Cable. Well, unless I missed something the code is there, so it'd be something small like a missing file or something.
Sent from my Nexus 4 using Tapatalk 2

MaluNoPeleke said:
Is it possible to add a changelog somewhere and add the direct link to it to the first post (like Franco does)?
Would be great, thanks!
Click to expand...
Click to collapse
I'd like for people to read the OP. It has important information changelog will come. There was a lot to write considering this kernel has been in the works for a bit.
Sent from my Nexus 4 using Tapatalk 2

How does that differ from your builds in bricked kernel?

sMtt said:
How does that differ from your builds in bricked kernel?
Click to expand...
Click to collapse
Compare the features of the two of them and see . This one seems to be more feature filled while his Bricked builds are more stability.
Also check the git's of both.
Sent from my Nexus 4 using Tapatalk 2

About time you released this Been reading all your tweets lately.

This looks awesome! Just a quick question because I'm a junkie for optimizations:
Will this include the various performance improvements from Franco's Franco Kernel, Morfic's Trinity Kernel, and the super fast CodeFireX MakoKangBang kernel? Also, I myself would recommend compiling it with CodeFireX's 4.8.1 Linaro Tool chain with back ports from the 4.9 Tool chain.
Can't wait to see how this turns out! Keep up the awesome work!
Connor Baker

How often do you plan on making stable releases? Thanks.

Related

[Kerne][Sense] Beastmode M7 | Beats, S2W, L2M, Mpdec [3.4.16 linaro -O3]

Welcome To Beastmode M7
Created By Zarboz. Like his work? Buy my nihguh some pizza!
I, Rydah, will be maintaining Zarboz's thread here for our device (M7WLS.) Please read everything within the first few post...
You are responsible for your own actions, more so what you do with your own phone. I am not forcing you to download and flash this. Yea, that's the disclaimer.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Zarboz said:
There will be kind of a new way for you guys to check the status of the build the changelog and last a place for you to collect these finished downloadable zips
Below you will find a badge that will change to indicate the current build status... Failed, In progress, Success. Once you see success you can check the status of the builds here Buildmachine Thanks Showp for sharing.
Click to expand...
Click to collapse
What You Need:
A SPRINT (m7wls) device. Duh!!!
An Unlocked Bootloader
A Custom Recovery (Recommend TWRP)
An Insecure Boot.img (Provided in FAQ; Post #4, Soon To Be Included Within The Aroma.)
So where can I get these automagic builds??????!??!​You can find these builds on Zarboz's Goo.im account. He will try to keep the folders in Current/Old builds.
DOWNLOADS!
What the heck is with the zip name?!?!??! I can't make heads or tails of this!
Blackout_m7_20130506_205451_master-4a9e1a6
The Device Tree that was built
The date and time the kernel was built so in this example its 05/06/2013 @ 20:54min51seconds
Branch Name that was built
Shasum of last commit before build
But where can I find this Elusive changelog?!?!?!
http://repomachine.zapto.org/zarboz/blackout-m7/commits/sprint
https://github.com/Team-Blackout/Blackout-M7/commits/sprint
Source Zarboz's github
Build machines github
Index
Post #2: Changelog
Post #3: How To Report Bugs
Post #4: FAQ
Post #5: A Funny Video​
Changelog
Last updated 05/25/2013 @ 3:52pm MST
Code:
c11098a updating defconfig
75cc9d4 arch/arm/mach-msm/ board-m7-gpu this got lost in cherry-picks
f353e65 usb otg: removing whitelist config to let more devices use OTG host
755531f added smartmax - WIP
20fccd0 drivers/input/touchscreen synaptics Change: Some typo's on cmdline detection
97d083a drivers/input/touchscreen synaptics Change: let aroma make this decision for s2w on/off/l2w
53cc442 removing extraver
10cb3f9 msm_mpdecision: boost: if we are not boosted, revib_wq does not need to run at all
590b27a msm_mpdecision: fix changing boost freq sets min = boost freq
646c5a1 arch/arm/mach-msm/acpuclk-8064.c Fix: Decrease VDD for high clocks on PVS3
ee18a10 msm_mpdecision: several changes [read more] reworked cpu_up/down handling which removed redundant code reworked max/min_cpus settings reworked suspend/resume handling to obide by these new changes also reworked locking for per cpu settings
f74e79a msm_mpdecision: min_cpus & max_cpus should on/offline affected cpus
ee18a10 msm_mpdecision: several changes [read more] reworked cpu_up/down handling which removed redundant code reworked max/min_cpus settings reworked suspend/res
f74e79a msm_mpdecision: min_cpus & max_cpus should on/offline affected cpus
09ad1cd input/ synaptics_3200 Add: hooks for BB mod by tbalden
15c7c7c bb: blinking buttons first imlementation
8adeafe mach-msm: add cmdline_options to kconfig
f9c0e8c Revert "msm_thermal: remove platform driver"
7975bab msm_thermal: add stats for throttling
67c8caf msm_thermal: fix spacing throughout the whole file
3c5517d msm_thermal: export if we are currently throttled
431c21c msm_mpdecision: change frequencies for input boost This should provide us with a more battery friendly setup in light usage situations while it still provides the obvious advantages the input boost gives us (faster reaction).
a25de7a msm_mpdecision: increasing the check delay to 130ms This change brings us down from 10 to 8 checks each second. The input boost reacts without delay which is why we don't need to check for hotplugs so often anymore.
db73eab msm_mpdecision: boost: don't schedule more check than needed
3481889 msm_mpdecision: boost: detect changed min frequency and update accordingly
8f162d5 msm_mpdecision: tune hotplug values
989a6c9 Patching upstream 3.4.15->3.4.16
d4dbbf9 just a little much boost for the qualcom 600
6b23755 Enabling mpdecision speedboost in defconfig
- Patched upstream to 3.0.16
msm_mpdecision: add input event boost [read more]
This adds an input event boost to mpdecision.
It will basically boost the min freq of all cpus to predefined values if an
input event is detected.
Devices that qualify as boosters must fullfill one of these conditions:
- contain touch in their name
- contain keyboard in their name
This also boosts cpus independently from each other. Meaning:
If a cpu is hotplugged after the boost of another cpu was initiated the next
boost pulse will boost that cpu too.
========05/07/2013===========
Updated toolchain to GCC 4.8
Updated mpdecision to latest upstream
======First Public release ======
drivers/input/touchscreen/synaptics Add: cmdline setup for aroma
drivers/cpufreq/cpufreq.c Add: cmdline interfacing
Moving 2d GPU to board so that cmdline will work properly
arch/arm acpuclock-8064.c Fix: typo during cmdline coding
Adding ACPU_CUSTOM_CPU_FREQ to defconfig
Deleting leftover garbage from the git
arch/arm/mach-msm/board-m7-gpu.c Fix: Vector sizing
drivers/cpufreq/cpufreq.c Removed: Freq limiter algo
gpu: fix dualports for Adreno320
Disabling freq limiter in defconfig
initial import of cmdline functions
Patching upstream 3.4.14->3.4.15
finishing cherry-pick
power: Remove legacy wakelock code.
PM / Sleep: Add wakeup_source_activate and wakeup_source_deactivate tracepoints
PM / Sleep: Change wakeup source statistics to follow Android
PM / Sleep: Use wait queue to signal "no wakeup events in progress"
PM / Sleep: Look for wakeup events in later stages of device suspend
cleaning up a bit
Im stupid for removing this
Sound Control: Added headphone poweramp controls
Sound Control: Updated for HTC One (m7)
disabling min_max clock setting
drivers: cpufreq: address issue where cpus forget their clock speeds
cpufreq: enable sibling cpu policy sharing
adding optimizations
updating defconfig
Patching upstream 3.0.13->3.0.14
Patching upstream 3.4.12->3.4.13
Patching upstream 3.0.11->3.0.12
adding sprint defconfig
updating defconfig
Sweep2wake, logo2menu, logo2wake
pm8xxx: externalizing vibrate method for custom vibration calls (tbalden) https://github.com/TeaMSeven/android_kernel_htc_m7-sense/commit/e808a548141e46a750f29a3b473acd56f10a7912
redo fastcharge
fix hsic wakelock https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=41d004c4eaa5565cb8d9113862c3cef1e51be648 and https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=6f199aa800253a69e5679d1057823039f1bd65c9 patching up to new HTC source (42e6c45)
add frandom
ARM: net: JIT compiler for packet filters enabled by default
Updated gitignore removed floating boot.img
arch/arm/mach-msm Add: speed ID to debugfs
arch/arm/mach-msm/ acpuclk-krait UPDATE:PVS readout to match newer pvs layout
adding sprint defconfig
Fixing thermald for sprint board
kernel merge: merge Sprint kernel source (crc-3.4.10-eb45596) into single tree
board-m7-display: added O2 DE specific patches from HTC source drop
HTC source drop update: pick from selected t-mo usa source updates
updating gitignore
Finishing 3.4.11 cleanup
Patch upstream to 3.4.11
Finishing Beats hack
sound: Hack beats to always being enabled
lib: Sparc's strncpy_from_user is generic enough, move under lib/
hrtimer: Consider preemption when migrating hrtimer cpu_bases
dynamic fsync: favor true case since most will be using this feature
dynamic filesync: add some cache optimizations
fs/dyn_fsync: check dyn fsync control's active prior to performing fsync ops
Voltage Control: allow for lower minimums
arch/arm/kernel/armksyms: fix merge derp
Sound Control: Sound control for WCD93xx codec
switch the protection of percpu_counter list to spinlock
decompress_unlzo: fix compilation error
ARM: 7593/1: nommu: do not enable DCACHE_WORD_ACCESS when !CONFIG_MMU
ARM: 7592/1: nommu: prevent generation of kernel unaligned memory accesses
ARM: 7492/1: add strstr declaration for decompressors
ARM: 7493/1: use generic unaligned.h
ARM: dcache: select DCACHE_WORD_ACCESS for little-endian ARMv6+ CPUs
ARM: use generic strnlen_user and strncpy_from_user functions
lib: Fix generic strnlen_user for 32-bit big-endian machines
lib: add generic strnlen_user() function
modifying Makefile extraver
drivers/media/video/msm/msm: fix compilation warning
word-at-a-time: make the interfaces truly generic
lib/lzo: Optimize code for CPUs with inefficient unaligned access
cbe1e09 block: cgroups, kconfig, build bits for BFQ-v6-3.4
461b624 overall_stats: forward port to kernel 3.4+
7c1a5f7 overall_stats: make dual/quad core stats configurable via meunconfig
41a98f5 overall_stats: add overall stats for all available cores
4c11096 msm: cpufreq: make the gov stop part fully atomic
8d525e4 scheduler: Re-compute time-average nr_running on read
bcc4cb0 proc: enhance time-average nr_running stats
eb8cfe3 scheduler: compute time-average nr_running per run-queue
3289d63 fs/dyn_sync_cntrl: Linux 3.4 Kernel compatibility fixup
69e8ea0 fs/dyn_sync_cntrl: dynamic sync control
78b573b arm/crypto: Add optimized AES and SHA1 routines
6c32401 Optimized ARM RWSEM algorithm
8bacba9 lib/string: use glibc version
241b18f lib/memcopy: use glibc version
f86c633 drivers/input/touchscreen/synaptics.c ADD: Logo2menu and fix s2w so it relies on soft key area
8e70615 drivers/input/touchscreen synaptics_3200.c Revert: some testing output and put s2w back on the soft keys rather than that strip above them
b9026a9 Deleting Kcontrol as it is no longer needed Signed-off-by: Zarboz <[email protected]>
3e7754a adding kcontrol
9dbe323 drivers/staging: Add: Google snappy compression support
8408cdf adding defconfig
2b5a2ee fixing voltages
4710a94 checkin
ebdd621 block: add kconfig and makefile triggers for files
a195846 block: introduce VR I/O scheduler
7444190 block: Introduce SIO I/O scheduler
22ec68c Block: Introduce FIOPS I/O scheduler
2b7c5fd block: introduce BFQ scheduler
c665628 block: Introduce ROW Scheduler
2907ed1 staging: Introduce Zcache/Zram/Zsmalloc from 3.6.0 upstream kernel
477f3fe Logo2Menu picked from Tbalden at https://github.com/TeaMSeven/android_kernel_htc_m7-sense/commit/b664405dde0519aea04d7c4c74aac9f9573d38f4
9d620ea patching mpdecision to most upstream
fa59b05 adding in governors
7241520 Merge branch 'master' of github.com:Team-Blackout/Blackout-M7
39d1eb7 arch/arm/mach-msm cleanup GPU OC
deb24a0 arch/arm/mach-msm/acpuclock-krait ADD: Cmdline_options
b8e8b75 updating gitignore
8e4e6af arch/arm/mach-msm/ Add: Gpu oc and increase bottleneck
67279fc arm/kernel return_address Cleanup: useless warning
10f81a6 Embedding Kcontrol modules to be built with source when avail
36f7454 arm/mach-msm acpuclock-8064 ADD: 192mhz step
6faa4fa Kernel/Power main.c Fix: perflock
27a75af thermal: update upstream msm_thermal with 3-phase control
994dc37 msm_thermal: patch to upstream
fa010b3 msm_thermal: 3-phase thermal throttling
ad11da5 adding defconfig for easy building
2f495eb arm/mach-msm Makefile:ADD makefile flag for mpdecision
5de42b2 mach-msm: Add msm_mpdecision
8ee1980 arm/mach-msm Kconfig: ADD Build switch for Mpdec
d1b56c0 kernel/wq: fix misuse of __cpuinit for hotplug functions
274b83e revert hacks for the previous misuse of __cpuinit for hotplug only functions
57710f1 kbuild: drop cpuinit/cpuexit checks in modpost
b5688b8 cpuinit: turn __cpuinit into nops
5b44bfa cpuinit: get rid of __cpuinit, manual fixups
b6305fe cpuinit: get rid of __cpuinit, sixth regexp
40ad575 cpuinit: get rid of __cpuinit, fifth regexp
9a5f1e2 cpuinit: get rid of __cpuinit, fourth regexp
84a245a cpuinit: get rid of __cpuinit, third regexp
d41a69a cpuinit: get rid of __cpuinit, second regexp
9d2e88f cpuinit: get rid of __cpuinit, first regexp
2b4d6c5 arch/arm/mach-msm/acpuclock-krait ADD: Cmdline_options
15c7c7e updating gitignore
7bd405e arch/arm/mach-msm/ Add: Gpu oc and increase bottleneck
f06e51b arm/kernel return_address Cleanup: useless warning
98a7dd8 Embedding Kcontrol modules to be built with source when avail
4709414 arm/mach-msm acpuclock-8064 ADD: 192mhz step
f898152 Kernel/Power main.c Fix: perflock
cf219e3 thermal: update upstream msm_thermal with 3-phase control
e7bb8f8 msm_thermal: patch to upstream
ff3591e msm_thermal: 3-phase thermal throttling
495fc6d adding defconfig for easy building
935721c arm/mach-msm Makefile:ADD makefile flag for mpdecision
74677e3 mach-msm: Add msm_mpdecision
aeded6b arm/mach-msm Kconfig: ADD Build switch for Mpdec
1df0378 kernel/wq: fix misuse of __cpuinit for hotplug functions
12156a9 revert hacks for the previous misuse of __cpuinit for hotplug only functions
8d60aff kbuild: drop cpuinit/cpuexit checks in modpost
cb48b36 cpuinit: turn __cpuinit into nops
83279af cpuinit: get rid of __cpuinit, manual fixups
7bf02b5 cpuinit: get rid of __cpuinit, sixth regexp
8b156af cpuinit: get rid of __cpuinit, fifth regexp
053f4e5 cpuinit: get rid of __cpuinit, fourth regexp
8864ea5 cpuinit: get rid of __cpuinit, third regexp
4f6682b cpuinit: get rid of __cpuinit, second regexp
3049cef cpuinit: get rid of __cpuinit, first regexp
1b5cd31 drivers: cpufreq: address issue where cpus forget their clock speeds
77cd8c7 mach-msm/cpufreq Revert: Forcing 1.7ghz as current policy allow userspace to control with set max pol
f9a8a37 drivers/cpufreq Add:intellidemand
1319961 acpu: show a useful warn message
aa84e2c Voltage Control: initial voltage control for MSM S4-Pro SOC
9f9fb2b arch/arm/mach-msm/ Add: Initial OC
f4ccb1b force fastcharge
ee785dd Import Topology drivers from CAF
55d0e0d acpu: export krait variant to debugfs
222c785 acpu: export krait variant to debugfs
e74f800 fix gcc4.7 compile
beae39b Linaro -O3 fixes
ed32dee Fixing earpiece amplification in call.
87f405a Adding Defconfig pulled from ATT device
39d5f95 HTC Source m7ul-3.4.10-jb-crc-ddcfb8c
[B]f205eae[/B] arch/arm/mach-msm/ acpuclock Removing: 384mhz step as its been reassigned to 192mhz
49b9ad5 arch/arm/mach-msm: actually underclock :P
5d5b42d lightsensor: fix broken lightsensor table!
1f641ea fixing merge error
fecf160 arch/arm/mach-msm/acpuclock Fixing VDD to more stable values for boot
77531fd Merge branch 'master' of repomachine.zapto.org:zarboz/blackout-m7
8993e46 Fixing d3rp
75c1cfb arch/arm/mach-msm acpuclock ADD: ultra low clock freqs for screen off battery saving :D
07981af arch/arm/mach-msm/board-m7-gpu.c Fix: derp i forgot this after fixing clock values
efc6e6b arch/arm/mach-msm/acpuclock Refining VDD tables
3f4dda3 deleted: arch/arm/boot/boot.img
2e54813 fixing gcc 4.8 warning
1e352e6 Fixing voltage issue
c96fdc6 removing some optimization flags for now
af7c34b adding 162mhz step
49de6fd fixing voltages
9fbec05 fixing gpu clocks
2c44f37 updating clock tables
4dc4023 Fixing GPU Clocks
6a00aac forgot to fix cmdline here
c11098a updating defconfig
75cc9d4 arch/arm/mach-msm/ board-m7-gpu this got lost in cherry-picks
f353e65 usb otg: removing whitelist config to let more devices use OTG host
755531f added smartmax - WIP
Reporting BUGZZZ
zarboz said:
man _______ doesn't work or is not working righ!!!!!!!!!!​
you can report all bugs on my bug tracker located here :
bug tracker
the proper format for reporting is on the google code page but please attach the following to your bugreport post:
Adb logcat dump of event
kmesg dump of event < dont know what that is ?? Here is a easy way to get it
after you have the problem promptly reboot your phone
Code:
adb pull /proc/last_kmsg ./last_kmsg.txt
this will spawn a .txt file in the directory your shell is in upload this file this will suffice for a stacktrace
if you fail to report a bug with a logcat+kmsg i will close it and ignore the bug until you provide a log
i will not reply to bug reports in thread please file a bug report as instructed if you want your problem resolved in a timely manner!
Click to expand...
Click to collapse
we know bluetooth is broken, #blamehtc
Faktz Ahnd Queztionz...
For your convenience, please backup!!!!! Also, Please verify your MD5 before complaining about the kernel setup not working. Download this app: https://play.google.com/store/apps/details?id=com.fab.md5 and download the MD5 provided with the kernel download.
Q: I just flashed this gnikcuf ( read it backwards :0 ) kernel, and I'm stuck at the HTC Screen (Splash Screen,) What do i do?
A: Download this boot.img, boot into fastboot, flash it, (fastboot flash boot boot.img), then boot into recovery and flash the kernel zip again. Or alternately, use this recovery flashable I made. Thanks for the boot.img -viperboy-!!!
Q: My touch screen stopped working in Aroma, what do I do?
A: Use the power/home button to select, use vol+/- to navigate between buttons, and the back button for back!
Q: Aroma Froze Up On Me, What The F___ Do I Do?
A: Hold your power button for 10 seconds while holding vol-, and select recovery withing the bootloader, and try again. Also, if your at a computer, you can reboot via ADB. (adb reboot recovery)
Q: I chose some options like 1890 ghz, but on boot I was set at 2.1 ghz, what gives?
A: I flashed the files before opening this thread. I didn't have that issue once, so just double check you don't have an app such as Kernel Tuner or No Frills that is changing your max clocking on boot. Also, double check if you may have a script running on boot that is changing this.
Q: What does the title mean by "Beats" being included?
A: Click here for details.
Q: I'm a dev, and my rom seems to be incompatible. What do i do?
A: Zarboz is pretty smart. He made it check to see if your on a GSM device, or a CDMA (Sprint) device, by scanning your build.prop. More specifically, it scans/searches for:
Code:
ro.product.device=m7wls
Without that proper info in the build.prop, you'll either, A: Not get a flash, or B: Get it flashed to the incorrect partition.
Q: I want to thank Zarboz, what can I do?
A: You have two options. 1: Just say thanks, or 2: DONATE FOR HIS HARD WORK AND TIME.
While I figure out what to post here, enjoy this video: NSFW
https://www.youtube.com/watch?v=0zq1y9nZO7Q&feature=youtube_gdata_player
Wow awsome all the heavy hitterz
pbedard said:
Wow awsome all the heavy hitterz
Click to expand...
Click to collapse
yayeeyuh
I am overjoyed. This is awesome
Sent from my HTC using Tapatalk 2
Oh Dayummmm it's getting real Congrats fellas
Wooo
Can't Flash
Well I wish I had the aroma problem. This won't even flash for me.
Kidromulous said:
Well I wish I had the aroma problem. This won't even flash for me.
Click to expand...
Click to collapse
Please post recovery.log
Sent from my HTC One using xda premium
Kidromulous said:
Well I wish I had the aroma problem. This won't even flash for me.
Click to expand...
Click to collapse
Try again. Please see my FAQ post...
Sent From My HTC One, On The Now Network From Sprint!
So, AROMA was kind of hell. Touch would respond with a vibrate but never advance or confirm. Really just Home and Back worked. But I got through it with hardware buttons.
I selected modest stuff. 1.7Ghz, LionHeart, ROW. No gpu OC or 2D OC. But when I booted back in the max was 2.1Ghz (scary) and the governor was intellidemand with CFQ as the IO
Sent from my HTCONE using Tapatalk 2
felacio said:
So, AROMA was kind of hell. Touch would respond with a vibrate but never advance or confirm. Really just Home and Back worked. But I got through it with hardware buttons.
I selected modest stuff. 1.7Ghz, LionHeart, ROW. No gpu OC or 2D OC. But when I booted back in the max was 2.1Ghz (scary) and the governor was intellidemand with CFQ as the IO
Sent from my HTCONE using Tapatalk 2
Click to expand...
Click to collapse
can you please reboot submit a bug report and last_kmsg for me to review so i can resolve those issues
also what do you use to manage your CPU... what app?
felacio said:
So, AROMA was kind of hell. Touch would respond with a vibrate but never advance or confirm. Really just Home and Back worked. But I got through it with hardware buttons.
I selected modest stuff. 1.7Ghz, LionHeart, ROW. No gpu OC or 2D OC. But when I booted back in the max was 2.1Ghz (scary) and the governor was intellidemand with CFQ as the IO
Sent from my HTCONE using Tapatalk 2
Click to expand...
Click to collapse
Yeah, For the moment, aroma has that issue.
You have anything like Kernel Tuner installed? I didn't have this issue. Also, please get us logs of your aroma flash and recovery.
Sent From My HTC One, On The Now Network From Sprint!
felacio said:
So, AROMA was kind of hell. Touch would respond with a vibrate but never advance or confirm. Really just Home and Back worked. But I got through it with hardware buttons.
I selected modest stuff. 1.7Ghz, LionHeart, ROW. No gpu OC or 2D OC. But when I booted back in the max was 2.1Ghz (scary) and the governor was intellidemand with CFQ as the IO
Sent from my HTCONE using Tapatalk 2
Click to expand...
Click to collapse
Zarboz said:
can you please reboot submit a bug report and last_kmsg for me to review so i can resolve those issues
also what do you use to manage your CPU... what app?
Click to expand...
Click to collapse
Rydah805 said:
Yeah, For the moment, aroma has that issue.
You have anything like Kernel Tuner installed? I didn't have this issue. Also, please get us logs if your flash and recovery.
Sent From My HTC One, On The Now Network From Sprint!
Click to expand...
Click to collapse
Here is my recovery log per Zarboz request.
http://db.tt/pbSE2uUs
Sent from my HTC using Tapatalk 2
Kidromulous said:
Here is my recovery log per Zarboz request.
http://db.tt/pbSE2uUs
Sent from my HTC using Tapatalk 2
Click to expand...
Click to collapse
Is your system mounted when you try to run the installation? Try UN mounting the system prior to install if this is the case
Sent from my HTC One using xda premium
Kidromulous said:
Here is my recovery log per Zarboz request.
http://db.tt/pbSE2uUs
Sent from my HTC using Tapatalk 2
Click to expand...
Click to collapse
Zarboz said:
Is your system mounted when you try to run the installation? Try UN mounting the system prior to install if this is the case
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Also, verify your MD5 with the md5 available to download with the kernel... May have been a bad download.
Sent From My HTC One, On The Now Network From Sprint!

[KERNEL] ElementalX-m7-Sprint-13.1

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Kernel for Sense-based Jelly Bean ROMs
FAST • STABLE • FULL-FEATURED
ElementalX brings the best performance and battery life on the HTC One. Stable and full-featured, you get complete control over your phone. The only kernel that offers GPU overclocking, individual control of all CPU cores without third party apps, automatic undervolting options, full compatibility with paid apps, thermal options, fully working sweep2wake, doubletap2wake and pocket detection to prevent accidental wakes. Other features include button light notification, 60Hz refresh rate for HDMI, HTC logo as menu button, sleep/wake with long press of the HTC logo, support for many gamepads and more.​​
Click to expand...
Click to collapse
Code:
* Standard disclaimer:
* Your warranty is now void. Use at your own risk.
* In other words: It is your choice to use this software,
* I am not responsible for any damage or problems you may have!
FEATURES:
based on HTC Jelly Bean source code
Aroma installer
optimized for extended battery life
overclocking/underclocking options
select independent frequencies for each core
user voltage control
optional GPU overclocking
choose undervolting levels
kernel based thermal control
thermal options
sweep2wake
doubletap2wake
logo2wake
pocket detection
logo2menu
button light notification
powersave mode works
/system writable
init.d support
force fastcharge
NTFS r/w support
CIFS support
OTG support
support more game controllers (including PS3)
maintains compatibility with all paid apps
increased refresh rate for HDMI output via MHL adapter
optimized -O3 linaro 4.8.1
DOWNLOAD
Sense 5.5 Android 4.4 or Android 4.4.2
ElementalX-m7-Sprint-13.10
NOTE: I don't have a Sprint One, please refer to the thread for any necessary workarounds on various ROMs.
Google Play Edition Android 4.4.2
ElementalX-m7-Sprint-11.4.1
Previous versions:
ElementalX-m7-Sprint-13.0
ElementalX-m7wl-0.6
ElementalX-m7wl-0.5
ElementalX-m7wl-0.4
ElementalX-m7wl-0.2
As always, with overclocking, not all phones can handle all frequencies. If it doesn't boot, or randomly reboots, or freezes, your first course of action should be to reinstall with a lower frequency.
INSTALLATION
1. Install zip from recovery
2. Follow the instructions, if you don't know what to do, use the preselected option
3. Reboot
4. Let it boot up all the way, and reboot again
Don't use dumlock, just flash as normal in recovery.
Please hit the Thanks button if you download this
If you really like it, please consider buying me a beer
Actually, I won't spend it on beer. I'm saving it all up to buy my next device
Thanks to those who have donated!
Click to expand...
Click to collapse
Special thanks:
@tbalden l2m and bln
@xHausx and @amarullz for installer stuff
@backfromthestorm for fstrim
@crpalmer for kernel based thermal control
@-TheEdge- for help building on Android 4.4+
​
NOTES:
ElementalX Configuration File
Your choices in the Aroma installer are used to build a configuration file. The config file is located at /etc/elementalx.conf. You can edit this file to change kernel settings. Whatever is set in this file will take effect when the device is booted (unless other scripts or apps interfere!)
The settings can be changed by editing /etc/elementalx.conf and rebooting. Advanced users can apply settings on the fly by running /etc/init.d/99elementalx as root.
There is no need to edit /etc/init.d/99elementalx. All settings are configured in /etc/elementalx.conf.
If settings are not sticking, make sure the file permissions for /etc/init.d/99elementalx are set to execute. Every time the settings are applied, a log file is created at /data/local/tmp/elementalx-kernel.log. Problems can be diagnosed by looking at the log file.
Please check to see if any /etc/init.d scripts or apps (such as Kernel Tuner or Trickstermod) are interfering with your settings.
ElementalX Log File
Every boot, a log file is created at /data/local/tmp/elementalx-kernel.log. This file shows the date and time and all settings that have been applied. Use this to verify and troubleshoot configuration options.
Kernel Tuner
You don't need Kernel Tuner because the ElementalX installer sets everything up automatically, but if you want to check or change settings, Kernel Tuner is a nice app. Just be aware that Kernel Tuner is set by default to apply settings on boot, which can interfere with the settings you chose in the ElementalX installer.
Overclocking
Overclocking (or underclocking) is optional. The installer lets you choose a maximum between 1134MHz (underclocked) and 2160MHz (overclocked). You can set the maximum frequency individually for each CPU core in the installer. Whatever frequencies you chose in the installer will be set at boot for each CPU. Not all devices can handle overclocking. The stock maximum CPU frequency is 1.7GHz. I recommend a mild overclock, like 1836MHz. Clocking higher creates heat and wastes battery for very little performance gain.
CPU voltages
The installer allows you to choose from several undervolting options. These automatically undervolt the lowest frequency (384MHz) where the CPU spends most of its time. The voltages for other frequencies are assigned based on the PVS bin of your phone. CPU voltages are fully customisable with apps such Kernel Tuner or Trickster Mod, but I recommend leaving these other voltages as-is unless you are prepared to do a lot of testing. Be careful, lowering voltages can cause instability. Generally, having reboots while the phone is asleep is a sign that your minimum voltage is too low. The minimum voltage allowed is 700mV.
Minimum CPU frequency
The minimum CPU frequency in this kernel is 384MHz. This chip was not designed to operate below 384MHz and I am respecting Qualcomm's design decision to have the CPU idle on pll8 at 384MHz. There is a way to achieve lower frequencies using the high frequency pll, however, this is likely to cause instability and inefficient operation (battery drain, ui stuttering)
GPU frequencies
You can choose to a GPU frequency of 400MHz (stock) or 450 MHz (overclocked). Overclocked offers better performance and will not have a significant impact on battery life. The same voltages are used no matter if the GPU is overclocked or not. Other phones using this chipset (e.g, the S4) set the GPU to 450MHz by default.
Thermal Control
I've added kernel based thermal control and throttling. HTC's thermald is very aggressive and throttles the CPU frequency pretty much anytime you use all four processors. This kernel based implementation allow better performance while still protecting your phone from overheating. There are three levels of thermal control, which can be chosen in the installer or changed in /etc/elementalx.conf. The default option is recommended. With the run cool option, your CPU will run about 5C cooler than default while under heavy load. With the run hot option, the CPU will run about 5C warmer than default under heavy load.
Governors
The default governor is ondemand. I have not done extensive testing of governors so the stock governor is recommended for now. Intellidemand, lagfree, lionheart and smartassv2 are also available. Feedback on their operation is welcomed.
I/O Schedulers
The default i/o scheduler is cfq. I have not tested the others much so the default is recommended for now. Other available schedulers are ROW, FIOPS, SIO, NOOP and deadline. Feedback on their operation is welcomed.
Installing a new ROM
If you install a new ROM, it will probably replace this with the stock kernel and will definitely overwrite /etc/init.d/99elementalx and /etc/elementalx.conf so you will lose your settings and certain features. So always reinstall the kernel after installing a ROM.
Sweep2Wake
Sweep2wake (S2W) 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). The options are: sweep2wake/sweep2sleep, sweep2sleep only, and disabled. If you use apps such as Kernel Tuner, the sweep2sleep only option can be selected by choosing "On with backlight". You can edit /etc/elementalx.conf to change the setting on boot.
/sys/android_touch/sweep2wake
0=disabled
1=enable sweep2wake + sweep2sleep
2=enable sweep2sleep only
DoubleTap2Wake
DoubleTap2Wake (DT2W) allows you to wake the device by double tapping in the bottom inch or so of the screen, above the capacitive buttons. You can edit /etc/elementalx.conf to change the setting on boot.
/sys/android_touch/doubletap2wake
0=disabled
1=enable doubletap2wake
Logo2Wake
Logo2Wake (L2W) allows you to sleep or wake the device by long pressing the HTC logo. You have to press just slightly above the HTC logo. The screen will automatically turn on or off with a long press. You can edit /etc/elementalx.conf to change the setting on boot.
/sys/android_touch/logo2wake
0=disabled
1=enable logo2wake
Pocket Detection
Pocket detection protects against accidental wakes while S2W, DT2W or L2W are enabled and the phone is in your pocket. Pocket detection uses the proximity sensor. A few people have a problem with their proximity sensor that makes DT2W not work, so I've made an option to disable pocket detection. You can edit /etc/elementalx.conf to change the setting on boot.
/sys/android_touch/pocket_detect
0=disabled
1=enable pocket detection
Logo2Menu
Enabling Logot2Menu (L2M) allows you to use the HTC logo as a menu button. You must press just slightly above the HTC logo. You can edit /etc/elementalx.conf to change the setting on boot.
/sys/android_touch/logo2menu
0=disabled
1=enable logo2menu
Button Light Notification
With Button Light Notification (BLN), the capacitive buttons will blink on and off when you have a new notification. As soon as the screen comes on, BLN is canceled and the lights will no longer blink until you have another notification. Please note that if you have your screen set to turn on when a message arrives, you will not see the buttons blinking because once the screen comes on, the button light notification is canceled. You can edit /etc/elementalx.conf to change the setting on boot.
/sys/class/leds/button-backlight/blink_buttons
0 = disabled
1 = BLN enabled
NTFS support
This is for anyone who wants to use OTG to connect a USB stick or portable harddrive formatted with Microsoft's NTFS filesystem. You will need Stickmount or a similar app, HTC Sense does not automatically detect NTFS filesystem.
Paid Apps
All the cryptographic modules load properly, so you shouldn't have an issues with paid apps.
Other stuff
This kernel supports many game pads and controllers, including PS3 controllers and some X-Box controllers. It has full OTG support. A refresh rate of 60Hz for HDMI output allows you to play games on the big screen without choppiness. CIFS support is built into the kernel. Faux sound control is also supported.
Source:
https://github.com/flar2/m7-GPE *latest*
https://github.com/flar2/m7wl-ElementalX
https://github.com/flar2/m7-ElementalX
Changelog:
January 6, 2014 - ElementalX-11.4.1
-too numerous to mention
July27, 2013 - ElementalX-0.6
-updated installer
-Makefile optimizations
-doubletap2wake fixes
-home button timeout option in installer
-use custom Linaro toolchain 4.8
-fix capacitive buttons sometimes still active while screen off
-option to disable HTC color enhancement
-add mpdecision options
-add optional max screen off frequency (default 702MHz)
-add simple GPU governor (faux123)
-improved sweep2wake
-fix bluetooth?
July13, 2013 - ElementalX-0.5
-update Aroma installer
-option to restore menubar
-add more undervolting options
-fix touchscreen registering input during calls
-add sysfs config for sleep/wake vibration strength
-new logo (thanks jonas2295)
-slight boost to L2 freq
-slight boost to GPU bus bandwidth
-vibration feedback for s2w
-add TCP congestion algorithm options
-fix fastcharge (thanks tbalden)
-revert some tweaks
June 24, 2013 - ElementalX-0.4
-update dt2w, pocket detection
-increase capacitive button sensitivity
-fix earpiece & bluetooth sound routing issues
-revert previous earpiece fix
-update modules
May 25, 2013 - ElementalX-0.2
-fix installer
-fix frequencies
May 25, 2013 - ElementalX-0.1
-add "extra cool" thermal setting
-add option to disable pocket detection
-suppress accidental wakes with s2w and dt2w
-add ROW scheduler
-add Lionheart, lagfree, smartmax, wheatley governors
-button light notification (tbalden)
-add thermal options
-add doubletap2wake
-add kernel based thermal control (crpalmer)
-Improve scalability via 'CPU buddies'
-avoid loadavg moire
-automatic undervolting to 850, 800 or 750
-compatible with faux sound control
-hsic wakelock fix
-L2W vibrates on sleep/wake
-optimized AES and SHA1 routines
-disable usb whitelist
-lower possible voltage to 700
-logo2menu (tbalden)
-sleep/wake with longpress HTC button
-select oc frequency up to 2160MHz
-optional graphics overclock
-add /dev/frandom
-fix audio in calls (tbalden)
-ensure crypto modules load
-camera fix option
-disable /system write protection
-linaro 4.7.3 -o3 optimization
-ntfs r/w
-fast rcu nohz
-intellidemand governor
-arm cpu topology
-update cpu_power according to cpu load
-mhl change to [email protected]
-add CIFS support
-add FIOPS and SIO i/o schedulers
-update ramdisk
-add sweep2wake
-force fastcharge
-voltage control
ElementalX Sprint & Verizon Downloads -kernel source
This is ElementalX kernel from http://forum.xda-developers.com/showthread.php?t=2249774 just compiled for Sprint and Verizon.
Downloads
ElementalX 17.0 http://forum.xda-developers.com/showpost.php?p=54967779&postcount=796
ElementalX 17.2 http://forum.xda-developers.com/showpost.php?p=55860330&postcount=871
ElementalX 17.2-3 http://forum.xda-developers.com/showpost.php?p=55894170&postcount=875
ElementalX 18.0 http://forum.xda-developers.com/showpost.php?p=56016009&postcount=901
ElementalX 19.3 http://forum.xda-developers.com/showpost.php?p=59142158&postcount=993
kernel source : https://github.com/smokin901
Credits @flar2 - Kernel Source @poondog help making it work on sprint and verizon
and others i may have missed.
flar2 said:
also reserved
Click to expand...
Click to collapse
what's the difference between this and [KERNEL] [May 15] Bulletproof-1.0 | S2W | L2W | DT2W | L2M | BLN | More..
twe90kid said:
what's the difference between this and [KERNEL] [May 15] Bulletproof-1.0 | S2W | L2W | DT2W | L2M | BLN | More..
Click to expand...
Click to collapse
Bulletproof aims to be close to the stock kernel. He doesn't make a whole ton of modifications in order to ensure compatibility and whatnot. With the ElementalX series, he 'goes crazy' with adding stuff.
bulletproof makes my home and back buttons not work. I heard this was a problem which HTC fixed. I'm using a screen protector which worked perfectly before installing the kernel
twe90kid said:
bulletproof makes my home and back buttons not work. I heard this was a problem which HTC fixed. I'm using a screen protector which worked perfectly before installing the kernel
Click to expand...
Click to collapse
They haven't released source code for the fix, so some people have problems with the capacitive buttons on custom kernels .
Oohhh... I been waiting for this one!
Downloading now. Thank you Mr. Flar2!
Sent from my HTC One
EDIT:
Won't install. Getting "Installer Status 6" at the end.
Link to the AROMA log. https://www.dropbox.com/s/mjw96ybd6ld2u8h/ElementalX-m7wl-0.1.zip.log.txt
Installation failed at the last step
Sent from my HTCONE using Tapatalk 2
dasfast said:
Installation failed at the last step
Sent from my HTCONE using Tapatalk 2
Click to expand...
Click to collapse
Any details? Recovery log? I depend on you guys to let me know what happens so I can fix it.
dasfast said:
Installation failed at the last step
Sent from my HTCONE using Tapatalk 2
Click to expand...
Click to collapse
Future reference, that isn't helpful at all. Posting a log along with the error and the error message (if one) actually gets results and doesn't annoy the Dev's.
flar2 said:
Any details? Recovery log? I depend on you guys to let me know what happens so I can fix it.
Click to expand...
Click to collapse
I posted a log above him.
Thanks, I'll fix that up and post a new zip in about 15 minutes
Syntax error in the installer, please give it another try.
flar2 said:
Syntax error in the installer, please give it another try.
Click to expand...
Click to collapse
downloading now. At the end there is an option for "Camera fix" Is this for Sprint variant and should I say yes or no? lol
felacio said:
downloading now. At the end there is an option for "Camera fix" Is this for Sprint variant and should I say yes or no? lol
Click to expand...
Click to collapse
Say yes if you're on a rom with the new base
flar2 said:
Say yes if you're on a rom with the new base
Click to expand...
Click to collapse
Awesome. That is what I thought but wanted to make sure, thanks. Just now finished downloading. Goo.IM is sluggish today.
giving it a shot now, thank you!!!!! been eyeing this from the other One forum!
felacio said:
Future reference, that isn't helpful at all. Posting a log along with the error and the error message (if one) actually gets results and doesn't annoy the Dev's.
I posted a log above him.
Click to expand...
Click to collapse
Sorry I didn't attach the log, but that was the same one I got.
Sent from my HTCONE using Tapatalk 2
dasfast said:
Sorry I didn't attach the log, but that was the same one I got.
Sent from my HTCONE using Tapatalk 2
Click to expand...
Click to collapse
No problem, just a note for the future.
Onto the Kernel.
Wifi = Works
Bluetooth = partial (same mic issue that every other kernel aside from stock has.)
Front and Back camera = Works
Data = Works
Video playback = Works
Checking values in Kernel Tuner is weird. it will switch from a max of 918 up to 1836, which is what I chose in AROMA. The option to change the max GPU are available, but they aren't reading right and say "200mhz"
Anything else I should check? everything seems to be in order.
Thanks so much flar! Everything is working, 4g, 3g, text, wifi, etc. Performance is going just fine with 1.9, gonna see how far she lets me push

[Kernel][TW] ChronicKernel - (UV/GPU/CPU-OC/linaro) [07/30/2014]

ChronicKernel for Samsung Galaxy S5​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
#include
/*
* Your warranty is now likely void.
*
* I am not responsible for bricked devices, dead SD cards,
* spontaneous combustion, or any other host of cosmic penalties
* which may befall you, your family, or your phone.
*
*/
Here is a initial kernel for TW. Forked from ktoonsez, t has all the features you would expect from a modded kernel, CPU OC, GPU OC, more CPU governors, Undervolted, GPU OC CPU L2 OC, and linaro -o3 optimizations
Click to expand...
Click to collapse
Screenshots
Requirements
* Rooted (obviously)
Installation
1: Place zip on sdcard
3: Reboot into recovery
3: Clear cache and dalvik cache
4: Flash zip
5: Reboot
6: If desired edit the init script at /system/etc/chronic-config.sh to suit your needs
7: Profit
ChronicKernel
* All-in-One kernel for all qualcomm variants
* Compiled with linaro
* GPU OC to 657 Mhtz (578Mhtz default - configurable though chronic-config.sh init script)
* CPU OC to 3.07 Ghtz (2.45 Ghtz default)
* CPU bandwith increase
* Added many I/O Schedulers (ROW, SIO, ZEN, etc...)
* Merged a lot of scheduler related performance patches from my S4 kernel and Faux123's
* Added CPU Governors intelliactive wheatley pegasusq smartmax dancedance nightmare intellidemand badass abyssplugv2 abyssplug and Lionheart (Default gov = interactive)
* User adjustable CPU uV
* Kernel based thermal management
* Chronic Hotplug (kernel based mpdecision replacement)
* No ROM overriding your Max freq BS
* FauxSound
* frandom support
* Enable/disable fsync support (fsync enabled by default)
* Countless amounts of ARM optimization from various sources
* Optimized and compiled with with the "Optimize a lot, or -o3 option)
* USB fast charge (disabled by default - configurable though chronic-config.sh init script
* Linux 3.4+
This kernel uses a simple shell script called chronic-config.sh (located at /system/etc/chronic-config.sh) With this script you can specify your desired default values for various things including cpu governor, min/max cpu freq. USB fastcharge etc. This file as is requires no intervention and will not interfere with any kernel tuning app you already use. It is just there for people who like a minimal approach and as it is the most direct method of changing settings so will always work. We all know how sometimes apps get an update and it breaks something for you Below is an example of the config options in the script.
Click to expand...
Click to collapse
Code:
# Configure your options here #
# Config default CPU Gonvernor
#
# Kernel Default: interactive
# Uncomment desired governor by removing the "#" symbal before desired gov
# and add a "#" to the old line
# Possible values
# GOV=abyssplug
# GOV=abyssplugv2
# GOV=badass
# GOV=consevative
# GOV=dancedance
# GOV=intelliactive
# GOV=intellidemand
# GOV=linoheart
# GOV=nightmare
# GOV=ondemand
# GOV=pegasusq
# GOV=performance
# GOV=powersave
# GOV=smartmax
# GOV=userspace
# GOV=wheatley
GOV=interactive
# Config CPU frequency
#
# Default: 2457600 (2.45Ghtz)
# Recomended: 2764800 (2.76Ghtz)
# available frequencies:
# 300000 345600 422400 499200 576000 652800 729600 806400 883200 960000 1036800 1113600 1190400 1267200 1344000 1420800
# 1497600 1574400 1651200 1728000 1804800 1881600 1958400 2035200 2112000 2150400 2188800 2265600 2342400 2419200 2457600
# 2534400 2611200 2688000 2764800 2841600 2918400 2995200 3072000
#
# Max/Min
MAXFREQ=2457600
MINFREQ=300000
# Config GPU clock Max Frequency
# 389000000 = 389mhz (Super Underclocked)
# 462400000 = 450mhz (Underclocked)
# 578000000 = 578mhz (Default)
# 657500000 = 657mhz (Overclocked)
GPU_MAX=578000000
# Config GPU clock Min Frequency
# ** Choose either Samsung default 320Mhtz or Standard 200Mhtz
# ** key is as follows..
# 320Mhtz = 4
# 200Mhtz = 5
GPU_MIN=4
# I/O Scheduler
#
# Available schedulers: cfq, bfq, fiops, noop, deadline, row, sio, vr, zen, fifo
# Device default: cfq
SCHED=cfq
# Enable/Disable FSYNC
#
# Y = Enabled (default)
# N = Disabled
FSYNC=Y
# Enable Fastcharge
# 0 = disabled
# 1 = substitute AC to USB charging always
# 2 = substitute AC to USB charging only if there is no USB peripheral detected
FASTCHARGE=0
# Chronic Hotplug
# set custom "enable_core_thresholds" This is represented as four numbers each being for the corosponding core (0,1,2.3)
# the numbers are derived from cpu load times 10
# 0 = always on
# 999 = never on
ENABLE_CORE_THRES="0 290 340 390"
# End of configurable options #
July-30
* Updated to latest NG2 source from Samsung
* Updated kernel to Linux 3.4.100
July-19
* Cleaned up cpu frequency table, 2899Mhtz was never a valid freq, and the new ones were based off of that step. That is now fixed
* Bumped bandwith on 3 highest freq steps
* Bumped max voltage to 1400
* I/O: deadline: Allow 0ms deadline latency, increases the read speed
* SELinux: Fix memory leak upon loading policy
* msm: kgsl: Fix nice level for higher priority GPU start thread, previously we were using the lowest possible process priority which increase latency, (cherry-picked from flar2's HTC One-M8 kernel)
* PM: devfreq: Use high priority workqueue. Same thing as mentioned above, give the GPU freq driver higher priority (flar2)
* A couple misc. I/O related patches from upstream CAF kernel
* Updated to latest NF6 kernel source from Samsung
* removed more log span (ktoonsez)
* added nightmare cpu governor
* tweaked some ancient configs for intellidemand back from the msm8x60 days
* added frandom support if there is anyone who uses it
* Added sysfs module to enable/disable fsync (enabled by default). It's in the standard location (/sys/module/sync/parameters/fsync_enabled) and like always can be configured though the chronic-config.sh script. I can also personally vouch for the tack that tricksterMOD will show the FSYNC enable/disable toggle with this patch. So any other app with the option should as well
* cleaned up chronic-config.sh and added missing cpu governors to list
July-17
* Added ability to overclock CPU to 3.01Ghtz
July-13
* Chronic Hotplug is born! This is basically based off of ktoonz KT auto hotplug but with user configurable parameters. Right now all you can change is the "enable_core_thresholds" this is the load the system has to be at for each respective core to turn online. the number is % of cpu load time 10. So 30% would be 300 (0 = always online). There is one module called enable_core_thresholds that sets all four cores. Its formatted like this (0 240 290 390). I have added an option in the chronic-config.sh script to configure this. Here is an example showing cores 0 and 3 always being on and 1 and 2 to come on at 24% and 29% respectively
Code:
ENABLE_CORE_THRES="0 240 290 0"
This line can be found in chronic-config.sh under the "Chronic Hotplug" section. Check script or above for more info.
* Disabled userspace mpdecision since we are now using Chronic Hotplug
* Also added option to set I/O scheduler in chronic-config.sh
* Backported some upstream 3.16 scheduler updates
July-10
* Reverted some of the sched tweaks merged from faux's kernel to vastly improve I/O performance
* Disabled some more debug options we don't need to speed up the kernel
* Switched back to Gzip compression as we have the room and kernel will initialize faster
* Set net loopback default mtu to 64K
* Fixed simple-ondemand gpu governor from crashing (ktoonsez)
* Reverted DRIVERS: SLIMBUS initial overclock commit as it seemed to drain battery when playing music
* Removed async-fsync for now until I make a module for it. Like another user said, I didn't notice any performance decrease with it off.
* Removed F2FS as i'm pretty sure its only compatible with AOSP (If i'm wrong let me know and i'll merge it back)
* Further tweaks to thermal (kthermal) values to be more stable on high frequencies (dropped polling speed to 500 ms and lowered temp limits about 2 degrees
* Disabled KT-auto-hotplug code i forgot about since I don't support it
* Stopped Samsung's "cpufreq_limit" driver from overriding Max freq (note: I had the option of stopping it from changing the min freq but it drastically decreases performance. This is equal to the cpu-boost and DVFS driver on the S4. They just expanded it to include a max freq cap which i disabled so we are not limited by it, So bottom line. You can set your min freq/ but it is temporarily overridden by the driver at times. THIS IS NORMAL AND IS LIKE THIS IN ALL KERNELS EXCEPT I ACTUALLY DISABLED THE MAX LIMIT SO IT STOPS GETTING LIMITED AT 1.19GHTZ AT TIMES. THIS IS THE OPTIMUM SOLUTION
* Fised chronic-config.sh not copying to the devices
* chronic-config.sh: fixed path for GPU max freq
* Set GPU min freq to 320mhtz (Samsung default) and added an option in chronic-config.sh to change it
* chronic-config.sh: list all available cpu frequencies instead of just a range since they are hard to remember
July-5
* initial release *
Some noteworthy changes from original source not listed above...
* Got rid of some logspan.
* send input events one at a time (faster touchboost related responses)
* few mismatch derps by samsung (faux123)
* Few other small fixes
* ]If you have problems with frequencies sticking use "System Tuner" and go to Settings and prevent other apps from changing CPU settings
* ]If you have problems with MINIMUM frequency sticking the reason is because of the touch boost driver. when you tap the screen you can't go below 1.19Ghtz, hence whenever you set a min freq....The only real solution to this without disabling the touch boost driver which hinders performance is to use the chronic-config.sh script or have an app set it boot. basically be set without a tap on the screen
* Although this kernel has now reached "beta" status. bugs still could pop up. please if you find a reproducible bug and decide to post please try and provide a last_kmesg or logcat.
TW : ChronicKernel-KK4.4-TW-KLTE-v1.5.zip
Goo.im Repo (mirror) : CLICK HERE
My Github (main): https://github.com/Team-Hydra/android_kernel_samsung_klte
* ktoonsez, this is a major fork of his kernel!
* First off of course cyanogen, the CyanogenMod project and all who contribute.
* A lot of this was taken/based off of flar2's Kernel for the HTC One, so thanks for the source!
* Also grabbed some things from Faux123's kernel
* All the people who have helped me learn more and more over the past year and a half (arco/dastin1018/android1234567) you guys are the best!
here is a donation link if you want to buy me a coffee or pack of smokes (I go through a lot sitting on the PC messing around lol) go ahead. But not required or expected by any means
Note: The name on the paypal account may say patricia, this is because it's a family paypal account.
Happy Flashing
Albinoman887
XDA:DevDB Information
[TW] ChronicKernel (UV/GPU/CPU-OC/linaro), Kernel for the Samsung Galaxy S 5
Contributors
albinoman887
Kernel Special Features: Linux 3.4.x Kernel for GS5 with overclocked CPU/GPU, Linaro optimizations, chronic-hotplug, upstream fixes, frandom, and much much more
Version Information
Status: Beta
Created 2014-07-06
Last Updated 2014-07-30
Reserved
close old project which i acidently put in general section and re-opened here. in unified develeopment
Thx for this kernel! Everything works great except one thing...the min frequency doesn't stick @ 300 mhz. I have this problem on all kernels I tried. I tried your advice with no frills cpu but unfortunately it doesn't helps it even set it to 300 mhz!
Verstuurd vanaf mijn SM-G900F met Tapatalk
FlemishDroid said:
Thx for this kernel! Everything works great except one thing...the min frequency doesn't stick @ 300 mhz. I have this problem an all kernels I tried. I tried your advice with no frills cpu but unfortunately it doesn't helps it even set it to 300 mhz!
Verstuurd vanaf mijn SM-G900F met Tapatalk
Click to expand...
Click to collapse
Yeah. its suppose to be like that. there is a cpu-boost driver written by samsung in the kernel that does that. To test i disabled part of the code that played with min freq but it really gives you a performance hit. so yeah. dont bother with min freq. Its suppose to change like that. its basically another mpdecision service in the background. ktoonz kernel has it. faux's has it. stock kernel has it. just the way it is on the msm8974pro
albinoman887 said:
ChronicKernel for Samsung Galaxy S5​
Click to expand...
Click to collapse
NM, answered my own question. Good luck with the kernel.
gspears said:
NM, answered my own question. Good luck with the kernel.
Click to expand...
Click to collapse
what was the question?
FlemishDroid said:
Thx for this kernel! Everything works great except one thing...the min frequency doesn't stick @ 300 mhz. I have this problem an all kernels I tried. I tried your advice with no frills cpu but unfortunately it doesn't helps it even set it to 300 mhz!
Verstuurd vanaf mijn SM-G900F met Tapatalk
Click to expand...
Click to collapse
not sure about no frills but using system tuner it will eventually reset to what you set
As the GPU is so much overclocked, is there any GPU governor similar to the CPU ones?
I assume the phone temporarily underclock the GPU if it's not needed to save battery, am I right?
And BTW I think the config file has a typo.
# GOV+smartmax
Should be
# GOV=smartmax
Right?
kgyirhj said:
As the GPU is so much overclocked, is there any GPU governor similar to the CPU ones?
I assume the phone temporarily underclock the GPU if it's not needed to save battery, am I right?
And BTW I think the config file has a typo.
# GOV+smartmax
Should be
# GOV=smartmax
Right?
Click to expand...
Click to collapse
yeah. Kt-simple gov is also avaiable
albinoman887 said:
what was the question?
Click to expand...
Click to collapse
It was stupid. I just was wondering why you were teasing us 900A owners with a kernel we can't have due to our locked bootloader and then I realized I was in the unified section.
Sorry about that.
Does this kernel include all features from original Ktoonse kernel?
I noticed Ktoonse TW kernel zip file is several megabytes bigger then this one.
Chronic-config.sh is not in system/etc. Do we make it our self's? Thanks for kernel btw
Sent from my SM-G900F using XDA Premium 4 mobile app
Any idea on stability with a S5 active sm g870a. And if so will Tegrak overclock run with this kernel.
Sent from my SAMSUNG-SM-G870A using XDA Premium 4 mobile app
selinux status?
Is the SELinux status set to permissive by any chance? if so that would be fantastic!
stalli0nUK said:
Chronic-config.sh is not in system/etc. Do we make it our self's? Thanks for kernel btw
Sent from my SM-G900F using XDA Premium 4 mobile app
Click to expand...
Click to collapse
hmmm. it should be. never actually checked to see if it copied over. is it present in the zip file?
EDIT: just realized i compiled the build with my "dev" script that doesnt include the zip. I'm gonna be releasnig a new version soon (NO ETA!!!!) when i do i'll pop the script in there. everything in it you could configure with an app anyways. I just like it because its set on boot always and faster
lars1110 said:
Is the SELinux status set to permissive by any chance? if so that would be fantastic!
Click to expand...
Click to collapse
yes it should be
kgyirhj said:
Does this kernel include all features from original Ktoonse kernel?
I noticed Ktoonse TW kernel zip file is several megabytes bigger then this one.
Click to expand...
Click to collapse
not entirely. the size is because of XZ compression. but I did remove some of the extra cpu throttling things. like GPS governor or music playing min freq etc since i dont support his app. But other then that yes..
GDofWR420 said:
Any idea on stability with a S5 active sm g870a. And if so will Tegrak overclock run with this kernel.
Sent from my SAMSUNG-SM-G870A using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Any one
Sent from my SAMSUNG-SM-G870A using XDA Premium 4 mobile app
GDofWR420 said:
Any one
Sent from my SAMSUNG-SM-G870A using XDA Premium 4 mobile app
Click to expand...
Click to collapse
You are in the galaxy s5 section. It will probably not work for the s5 active
Hellscythe said:
You are in the galaxy s5 section. It will probably not work for the s5 active
Click to expand...
Click to collapse
Reason I ask is I've heard people flashing stuff from your guys section and only losing the active button which other than the fingerprint scanner is really the only big difference and also s5 active doesn't have its own forum so I have to post here with you guys. Hopefully we will have our own forum soon. EDIT: duh locked bootloader here never mind
Sent from my SAMSUNG-SM-G870A using XDA Premium 4 mobile app
albinoman887 - Thank you for this kernel! Only thing missing from Ktoonsez was -fsync support and you rectified the issue.
Update
One issue I have found, flashing the kernel breaks init.d, for some reason it deletes 'system/bin/sysinit'.
Also I guess I wrongly assumed that the HTC fsync was the same as standard -fsync disabling, for one the module isn't there and there is not any bandwidth increase that one would see if -fsync was disabled. Can you add support for it? The issues with it and data loss are greatly exaggerated and it doesn't have to be enabled by default. Thank you, so far the kernel is running great.

[TW][Emotion Kernel][SM-N915-F-G-P-T][21-Sep-2016][6.0.1]Emotroid Team

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
- Emotion nightly Kernel Note Edge -
-SM-N915F SM-N915G SM-N915P SM-N915T-​
Developed by Placiano and Pafcholini
More stable, more performance, more of everything!​
Introduction
Introducing the Emotion Revolution Roms & Kernels for Android Devices.
Emotion Rom/Kernel is a modified, aftermarket firmware/Kernel distribution few Android devices (Note 2, Note 4, HTC M7, Newman N2). Based on the Android Open Source Project , Emotion Rom & Kernel is intended to increase performance and stability over Android-based Devices released by sellers, for example, Samsung, HTC and so forth. Emotroid additionally offers a mixed bag of features & improvements that are not presently found in stock variants of Android.​​
*** Disclamer***
Your warranty is now void.
We are not responsible for any damage or problems you may have!
YOU are choosing to make these modifications.
Click to expand...
Click to collapse
Thread IndeX
POST 1: Kernel Information, Changelog, Credits,Screenshots
POST 2: Synapse, Recommended settings, FAQ, etc.
POST 3: Know/Reported issues
Request new features here
Features:
Kernel compatible with SM-N915F SM-N915G SM-N915P SM-N915T "Note Edge" SM-N910F SM-N910G SM-N910P SM-N910T SM-N910V "Note 4"
Based on Samsung Open Source Code
Compiled with UBERTC Toolchain Linaro GCC 5.2 Cortex A15
Linux version 3.10.84
CPU OC/UC -> 3072MHz / 268MHz
GPU OC/UC -> 800MHz / 166MHz
PowerSuspend Driver
Intelli-Plug V4.0
MSM Zen Decision
KSM enabled
Sweep2wake & Sweep2Sleep
Adreno idler Algorithm
Simple GPU Algorithm
Voltage Control
Intelli-Thermal
KCAL - Advanced color control
Led Control / Fading
CRC Settings
Advanced TCP control
S-View flip cover hack
Selinux Permissive
CIFS Support
NTFS Support
LZ4 compression algorithm
Kali NetHunter Support
Reduced wakelocks
Frandom number generator
Synapse full support
Governors: Barry-Allen, interactive_pro, intelliactive, bluactive, conservativex, alucard,darkness, nightmare, smartassV2, ondemandplus, umbrella_core, yankactive, dancedance, bioshock, lionhearth, conservative, interactive, ondemand,powersave, userspace, performance, impulse, zzmoove
I/O Scheldures: bfq, vr, fiops, zen, fifo, sio, test-ioshed, cfq, row, deadline, noop
Click to expand...
Click to collapse
LZ4 compression algorithm
LZ4 is a lossless data compression algorithm that is focused on compression and decompression speed.
The algorithm gives a slightly worse compression ratio than algorithms like gzip. However, compression speeds are several times faster than gzip while decompression speeds can be significantly faster than LZO.
The LZ4 algorithm represents the data as a series of sequences. Each sequence begins with a one byte token that is broken into two 4 bit fields. The first field represents the number of literal bytes that are to be copied to the output. The second field represents the number of bytes to copy from the already decoded output buffer (with 0 representing the minimum match length of 4 bytes). A value of 15 in either of the bitfields indicates that the length is larger and there is an extra byte of data that is to be added to the length. A value of 255 in these extra bytes indicates that yet another byte to be added. Hence arbitrary lengths are represented by a series of extra bytes containing the value 255. The string of literals comes after the token and any extra bytes needed to indicate string length. This is followed by an offset that indicates how far back in the output buffer to begin copying. The extra bytes (if any) of the match-length come at the end of the sequence.
Compression can be carried out in a stream or in blocks. Higher compression ratios can be achieved by investing more effort in finding the best matches. This results in both a smaller file and a faster decompression.
Click to expand...
Click to collapse
Jule- 28 -2015 nightly r18
-Linux 3.10.84
-Compiled with UBERTC Toolchain 5.2
-Source and ramfs updated to POF2
-Speed up console framebuffer imageblit function
-Fixed ZeroLemon Fuel Gauge (Thanks to TheLoneWolf20)
-Reverted some commits from r17
-Fix stuck CPU frequencies (Thanks to gekkehenkie11)
-qseecom: updates
-msm_hsic_host: reduce wakelock
-Crypto: updates and fixes
-dm: updates and fixes
-Added PFT (Per-File-Encryption)
-inr_sqrt: improved 3x faster integer sqrt and correction square root algo with naming
-mhi: fixed building of mhi driver
-Reverted Kali NetHunter (For now)
-Interactive: updates
-Added impulse governor and changed part of the code by neobuddy89
-Added zzmoove governor
-Added lcd_notify
-Sweep2wake: added s2s_only and sweep from left to right
-Row I/O: added magic values by Franco
-Synapse: updates, fixes and added Adreno idler
-For more info and changes check out our github
June- 28 -2015 nightly r17
-Linux 3.10.81
-Kernel compiled with Linaro Toolchain 5.1
-Added adreno idler algorithm by Arter97
-Sweep2wake works (Now we have sweep2wake and sweep2sleep)
-Hardlimit 2.2 Emotion Edition for Note 4 (Cleaned to be pure hardlimit)
-Google play services wakelock fixed
-bluesleep: reduced wakelock
-pinctrl: msm: Enabled irqs on resume
-wireless: dhd: Enable standby ARP and multicast packet filters
-Allow untrusted apps to read from debugfs
-input: keyboard: qpnp-keypad: register private data in SPMI dev
-mhi: core: Fix double increment on event counter and removed useless atomic variables
-Swap up to 1.5GB
-Add some tweaks for performance from LSpeed Mod
-net: wireless: bcmdhd4358: Fixed failure to enter PS
-frandom: Dynamically allocate the char device numbers and clear up checkpatch conflicts
-msm: mdss: update and fixes from codeaurora patches
-binder: Quiet Binder and Ratelimit binder debug messages
-ARM: convert all "mov.* pc, reg" to "bx reg" for ARMv6+
-block: BFQ updated to V7r8 for 3.10.X
-USB: android: Fix memory leak in mass_storage_function_init()
-cpuidle: updates and fixes from Linaro patches
-Fast charge adapted and fixed for Note 4 (Thanks to yank555.lu and ktoonsez for the initial code)
-cpufreq: Prevent mpdecision changing scaling freq
-qcom-cpufreq: updates and fixes
-Barry Allen updated to 1.0
-PM: devfreq: Fix show available freqs
-msm:kgsl: fixes
-msm: vidc: updates and fixes from codeaurora patches
-Added msm zen decision (replacement for MPDecision)
-force -Os -std=gnu89 and don't use GCC wrapper for GCC 5.1+
-Makefile: Additional Optimizations
-gpio_keys: force sync on KEY_POWER, KEY_HOME press (This should help in situations when the device or the OS is stalled but the kernel is alive and running.)
-arm: added arm optimized memcmp and Krait optimized strcmp
-readahead: make context readahead more conservative
-dtsi: fixed 268MHz frequency
-mm: zswap: fixes
-Synapse: clean up and fixes
-For more details check out our source code
June- 2 -2015 nightly r16
-Linux updated to 3.10.79
-Added LED Control/fading available in Synapse (Thanks to @UpInTheAir and halaszk)
-SM-N910F kernel is compatible with SM-N910G variant (BOE1+ firmware)
-SM-N915P (Note edge sprint variant) compatible
-Fix screen brightness issues: workaround for KK bootloaders not reporting the panel name (SM-N910V kernel)
-arm: vfpmodule: Fixed warning procfs vfp_bounce reporting failed
-dts: msm: disabled support of 50MHz for i2c for apq8084
-GPU Overclock and Underclock to 800MHz/166MHz
-GPU reduced frequency on boot from 300MHz to 266MHz
-msm: kgsl: show current power level
-suspend: Return error when pending wakeup source is found
-Barry Allen governor updated to 0.7
-mmc: sdhci-msm: Added Samsung 64G search after tune quirk
-Compile with -O3 flag
-KCAL updated (Fixed some issues)
-kernel/smp.c: fixed memory leak
-Default to NOATIME and NODIRATIME for FS performance improvement
-Optimized copy_page for modern ARM platforms
-cpufreq: Added stop CPU callback to cpufreq_driver interface
-PM: Introduce suspend state PM_SUSPEND_FREEZE
-PM / suspend: Make cpuidle work in the "freeze" state
-power: Adds functionality to log the last suspend abort reason
-ACPI / PM: Hold ACPI scan lock over the "freeze" sleep state
-power: catch wake-up requests in suspend_again
-PM / sleep: fix freeze_ops NULL pointer dereferences
-dm-req-crypt: Free resources in destructor
-qce50: Update clock vote for improved performance
-Optimized kernel size
-scheduler: update to BFQ-v7r7 for 3.10.8+
-Interactive: changed CPUFREQ_RELATION_C to CPUFREQ_RELATION_L
-DEFAULT_GO_HISPEED_LOAD to 90
-DEFAULT_TARGET_LOAD to 90
-DEFAULT_MIN_SAMPLE_TIME to 40
-suspend: Return error when pending wakeup source is found
-msm: kgsl: Add check to protect against operating on NULL pointer
-msm: kgsl: Avoid a possible NULL reference in kgsl_ioctl_helper
-futex: Add another early deadlock detection check
-Synapse added in the zip
May- 18 -2015 nightly r15
-Linux updated to 3.10.78
-Added compatibility to SM-N915-F-G-T (Note Edge)
-Added SWAP to 1.4gb
-Added support to Kali NetHunter (Thanks to FutureBSD and thehacker911)
-cpufreq: Added if cpu is online check in show
-cpufreq: Protect against hotplug in cpufreq_register_driver()
-cpufreq: Fixed timer/workqueue corruption by protecting reading governor_enabled
-Revert "cpufreq: make the "scaling_cur_freq" sysfs entry pollable"
-cpufreq: Use correct locking for cpufreq_cpu_data
-cpufreq: Return directly in __cpufreq_get if policy is NULL
-cpufreq: governor: Be friendly towards latency-sensitive bursty workloads
-cpufreq: governor: removed copy_prev_load from 'struct cpu_dbs_common_info'
-cpufreq: removed race while accessing cur_policy
-DriveDroid support (DEFAULT, MTP, PTP, UMS)
-Increased swappiness from 60 to 70
-Improved performance
-NTFS fixed
-Updated Ramfs to BOD2
-Added USB mode in Synapse
-Profiles updated in Synapse
-Fixed gamma and lmk profiles
-Added stock profile in Synapse
-Another minor changes and fixes
May- 11 -2015 nightly r14
-Linux updated to 3.10.77
-Selinux back to full permissive (Fixed gear vr compatibility, etc.)
-WIFI optimized (Thanks to @javilonas)
-Fixed T-Mobile Synapse compatibility
-Crypto: Updated to armv7-a Neon
-Busybox updated to 1.23.2 to fix some issues with Synapse
-Fixed all known bugs from r12+1
-Fixed some minor bugs in the ramfs
-Another minor fixes
May- 8 -2015 nightly r13
-Linux updated to 3.10.76
-Kernel compatible with SM-N910T
-Reverted "power: make sync on suspend optional"
-KCAL updated
-The kernel boot on Selinux enforcing but you can change the status from Synapse
-qcom-cpufreq: Removed save/restore of scheduling policy
-cpufreq_interactive: updated again from Shamu source
-cpufreq: stats: Don't update cpufreq_stats_table if it's NULL
-cpufreq: Break out early when frequency equals target_freq
-msm: lpm-levels: add suspend_again handler
-msm: Fix high load average from uninterruptible waits
-qcom: mpm-of: fix bug in finding the pending interrupts
-Added new governor Barry-Allen by Javilonas
-CIFS and NTFS built in the kernel
-Ramfs optimized (New tweaks,etc. thanks to Javilonas for some scripts)
-Synapse support KCAL control
-Added profiles in Synapse
-Added profiles for LMK in Synapse
-Added global voltage control in Synapse
-Change Selinux status from Synapse>MISC
-Fixed some bugs in Synapse
April- 23 -2015 nightly r12
-Kernel compatible with SM-N910F SM-N910G SM-N910P SM-N910V
-Based on BOC3
-Linux updated to 3.10.75
-Fixed random reboots for some users
-Added crypto optimized SHA-256/224
-percpu: implemented generic percpu refcounting
-mm: disabled zone_reclaim_mode by default
-mm: reordered can_do_mlock to fix audit denial
-Enabled Zram with lz4 compression by default (Synapse>Kernel Tweaks)
April- 18 -2015 nightly r11
-binfmt_elf.c: use get_random_int() to fix entropy depleting
-Reverted "sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire" (Thanks to andip71 to report the lag)
-arm/kernel/irq.c: removed irq affinity warnings
-Restored CPU frequency during resume
-Silenced some annoying last_kmsg
-futexes: Increase hash table size for better performance
-Improved/fixed some typos in the ramfs
April- 15 -2015 nightly r10
-Compiled with Linaro GCC 4.9 2015.03 Cortex A15
-Linux updated from 3.10.40 to 3.10.74
-Compression changed to LZ4
-Power: made sync on suspend optional
April- 12 -2015 nightly r9
-Back to Linux 3.10.40 (For now, we are working to bring stable 3.10.73)
-Added Intelli-thermal v3.0
-bcmdhd4358: filter multicast packages while suspended
-fs/namei.c: fix potential memory leak in path_lookupat
-pinctrl: msm: fixed potential NULL pointer dereference
-usb: ks_bridge: by default debugging is disabled
-slub: fix kmem_cache_shrink return value
-mm: slub: fixed format mismatches in slab_err() callers
-power:Enable/Disable power collapse after camera open
-Implemented CPU Core Control by andip71
-tick: don't update idle time if cpu offline
-msm: kgsl: Only wake GPU on multitouch events
-Interactive: don't boost cpu if already boosted
-rtc: qpnp-rtc: Sets RTC time correctly
-rtc: qpnp-rtc: Set alarm control register properly
-Added Mobile Storage Analyzer
-soc: mbhc: Fix ID Tech card reader detection
-power: catch wake-up requests in suspend_again
-pinctrl: msm: prevent bogus wake up from suspend
-asoc: wcd9xxx: Improved headset detection
-Implemented Motorola MSM memcpy enhancements "memutils" (Faster memcpy performance for Krait)
-Improved Memutils
-Added CIFS as module
-Adde NTFS as module
-ASoC: msm: qdp6v2: handle proxy read failure
-ASoC: msm: qdsp6v2: Fix timestamp query during gapless transition
-mmc: core: Update PON (Power Off Notification) based on the system state
-mm: Fix NULL pointer dereference in madvise(MADV_WILLNEED) support
-netfilter: IDLETIMER: fix invalid deference of timer
-Fixes and improvements in Synapse
-Added CPU Binning (pvs information) Synapse> CPU VOLTAGE
-Added CPU core control in Synapse> CPU DRIVERS
-For more info check our Github
March- 27 -2015 nightly r8
-Linux update to 3.10.71
-Powesuspend updated to 1.7
-Intelli-plug updated to 4.0
-OC/UC -> 3072MHz / 268MHz
-Added Hardlimit Control
-Added new governors
-Addeded new scheldures
-Added memcopy & string use glibc version
-Added quickwakeup driver (improve battery life)
-Optimized Kernel Samepage Merging (KSM)
-deadline: Optimized for non-rotational
-mm: Clear page active before releasing pages
-ARM: 8119/1: crypto: sha1: add ARM NEON implementation
-ARM: 8120/1: crypto: sha512: add ARM NEON implementation
-ARM: crypto: add NEON accelerated XOR implementation
-ARM: add support for kernel mode NEON and only allow kernel mode neon with AEABI
-Fixed failure to enter PS mode while roaming
-Sched: Set MC (multi-core) sched domain's busy_factor attribute to 1
-Disabled add_random for more performance on SSD's
-tcp: enabled tcp fast open functionality (franciscofranco)
-For more info check our Github
March- 5 -2015 nightly r7
-Added KCAL - Advanced color control (Thanks to @savoca for his great job) check this thread for more info
March- 3 -2015 nightly r6
-Based on XXU1ANK4 (KitKat version) and compatible with "F,G,T,V,W8"
-Based on XXU1BOB4 (Lollipop version) and compatible with "F"
-Lollipop version has all the features except mdnie control and S-View hack
-Kernel compiled with Linaro Toolchain 4.9.3 2015-02
-FauxSound updated to 3.6
-Fixed some issues in FauxSound and Synapse
-cpufreq: Introduced new relation for freq selection Introduce CPUFREQ_RELATION_C
-Interactive Governor: Use CPUFREQ_RELATION_C
-Added Gentle fair sleepers (Synapse -> KERNEL TWEAKS)
-Enabled Kernel SamePage Merging (KSM) (Synapse -> KSM)
-Added key disabler (Synapse-> SCREEN/MISC)
-Added userspace vibration strength control (Synapse-> SCREEN/MISC)
-Changed some stuff in Synapse
-Reverted some commits
-Another minor changes
January- 27 -2015 nightly beta r5
-FauxSound implemented
-FauxSound in Synapse
-Added high performance mode in Synapse->Sound
-Fixed battery drain on wifi (My fault)
-Reverted another commits
January- 16 -2015 nightly r4
-Fixed cpu voltage control (No more 0MHz frequency in cpu voltage table)
-ASoC: wcd9xxx: use hwdep node for codec calibration
-ASoC: wcd9320: use hwdep nodes to get calibration
-ASoC: wcd9xxx: Changes for High performance mode
-ASoC: wcd9xxx: Change PA on and VDDIO switch sequence
-ASoC: wcd9xxx: Avoid micbias glitches during audio playback
-In conclusion better quality sound on headsets
-Sched/fair: reduced latency
-Decreased DHD_PACKET_TIMEOUT_MS to 250 ms (Before 500ms)
-Drecreased time to enter sleep
-Net: wireless: Increased scan entry expiration to fit new scan time
-PM: devfreq: Use high priority workqueue
-Msm: kgsl: Report correct GPU frequency in sysfs
-Some minor changes
January- 11 -2015 nightly r3
-Added Frandom as module and set by default (Synapse>I/O>Frandom) "For more info check this"
-Network speed tweak
-Reduced wakelocks "wlan_rx_wake" and "wlan_ctrl_wake"
-dtsi: realigned voltages with userspace values (Thanks to twistedumbrella)
-cpu-boost more performance (Thanks to franciscofranco)
-sched: LOAD_FREQ (4*HZ+61) "For more info check this"
-Interactive governor imported from the Nexus 6 (No more lag on interactive)
-Added bluactive and interactive_pro governors
-Reverted some changes that made the kernel laggy in some cases.
-Selinux set to permissive by default
-Gpu: msm: for higher priority you want to use nice level of -7
-Now you can change the governor tunables from Synapse (Issue fixed) (Thanks for the tip to AndreiLux)
-Synapse shows all the available gpu governors (Thanks to my friend Friedrich!)
-Cleaned some things in Synapse
-Other minor changes
January- 4 -2015 nightly r2
-Fixed Ondemand governor
-mm: slub: Default slub_max_order to 0 (Improved performance)
-Increased io performance
-writeback: fix occasional slow sync
-Fixed min frequency (Finally!)
-msm: Fix high load average from uninterruptible waits
-Cpu boost sysfs to enable/disable it (Synapse>cpu drivers)
-S-View hack (Twistedumbrella) enable/disable (Synapse>miscellaneous)
-Minor fixes
January- 1 -2015 nightly r1
-Based on Samsung Open Source N910FXXU1ANIE
-Compiled with Toolchain Linaro GCC 4.9.3 2014.12 Cortex A15
-PowerSuspend Driver
-Intelli-Plug V3.9
-Stereo Call Recording Support
-cpufreq_limit: don't override cpu min frequency
-Fast Charge V1.2
-Sweep2wake
-Simple GPU Algorithm
-Sysfs interface to Enable/Disable Logger Android (Default disable)
-Voltage Control
-Intelli-Thermal V1
-mDNIe Hijack control
-Advanced TCP control (westwood default)
-Sysfs interface to Enable/Disable CRC
-Dynamic Fsync Control V1.5
-Added Intelliactive, Smartmax and SmartassV2 governors
-Led Control
-Panel Color Control
-mDnie mode adapter for Synapse
-Selinux Enforcing/Permissive
-Synapse Support
Click to expand...
Click to collapse
Installation instructions
You need to have TWPR, CWM o Philz Recovery.
Download the last kernel
Reboot in recovery mode
Make backup (recommended)
Flash the zip
Don't be shy / lazy leave your feedback!​
Click to expand...
Click to collapse
Downloads
Strictly No Mirrors Please. In the event that you need to make one ask us first with purpose behind what valid reason.
Current Version
Emotion Kernel SM-N915 Downloads
Click to expand...
Click to collapse
Source code:
Emotion kernel Github
Thanks To/Credits
Andip71, AndreiLux, apb_axel, Arter97, Civato, Christopher83, Codeaurora, DerTeufel, Faux123, Ffolkes, Flar2, Franciscofranco, Franlov, Friedrich420, Gokhanmoral, Imoseyon, Infernum, Javilonas, ktoonsez, Linaro, LoungeKatt (TwistedUmbrella), myfluxi, neobuddy89, savoca, _Sofos_, UpInTheAir, Vanito, Yank555.lu, ZaneZam.
Thanks to @myaslioglu @Jdidtht @aloom @moe67er to test the Note edge beta releases!
Also thanks to @anthony92170 @ronnie498 @blacklabel2020 @ravenseb for testing the T-mobile kernel!
And all users that support the thread and the kernel!
I hope I have not forgotten anyone!
Hit the "thanks" button if you like our work.
You can follow new updates here (Spanish)
Original thread here
XDA:DevDB Information
Emotion Kernel, Kernel for the Galaxy Note Edge
Contributors
Pafcholini, aukhan, placiano
Source Code: https://github.com/Emotroid-Team
Kernel Special Features:
Version Information
Status: Nightly
Current Stable Version: Emotion nightly r26
Stable Release Date: 2016-09-22
Created 2015-05-18
Last Updated 2016-10-18
Recommended settings & FAQ
Synapse Profiles
Go to Synapse
Profile
Choice the profile that you want
Apply it
Then Reset Selected Profile
Synapse will get FC (Don't worry)
Just reboot your device. DONE
How to backup profiles
Synapse and all available options:
- LIVE STATISTICS: Time in states, Uptime,etc.
- CPU - GOV: cpu scaling, cpu governor and governor tunables.
- CPU voltage: separate frequency voltage.
- GPU: GPU scaling min/max frequency, GPU governor, Simple GPU Algorithm.
- I/O: schedulers, internal storage read-ahead, externalSD read-ahead, Frandom Module, Scheldure Tunables Internal/External
- CPU DRIVERS: PowerSuspend and Intelli-Plug
- THERMAL: Intelli-Thermal Control
- MISCELLANEOUS: Dynamic FSYNC Driver, Logger Mode, CRC Settings, S-View bypass, Selinux Status, Optimize Database.
- BATTERY: Live Statistics and Fast Charge
- MDNIE/SCREEN: Panel Control, mDNIe Mode and mDNIe Mode Hijack
- LED: Led Control
- SCREEN WAKE CONTROL: Sweep2Wake Control
- KERNEL TWEAKS: low memory killer, kernel entropy, panic and panic on oops.
- NETWORK: tcp congestion control, hardering the TCP/IP stack to SYN attack,ignore pings,etc.
- VM-FS: dirty radio, swappiness,etc.
- BUILD.PROP: Build.prop Tweaks
- LOGS: Clearn Synapse, Logcat and Dmseg
- INFO-REBOOT: info about the kernel, reboots,etc.
Click to expand...
Click to collapse
Balance between performance and battery
Above is what I use personally. MAY NOT be optimal for all. Share your settings.
CPU frequency: 2649MHz/268MHz
Hardlimit Max Screen ON: 2649MHz
CPU governor: Interactive or Umbrella_core
CPU voltage: -25mV
GPU: msm_adreno or simple_ondemand
I/O schedulers: row or zen
I/O Readahead: 1024 for both
PowerSuspend: DisplayPanel_hook
KSM: disabled
MPDECISION: enabled
Intelli-Thermal: enabled
MISCELLANEOUS: fsync enabled, logger mode disabled, crc disabled
TCP: westwood
Click to expand...
Click to collapse
Performance configuration
CPU frequency: 2918MHz/268MHz
Hardlimit Max Screen ON: 2918MHz
CPU governor: Interactive_pro or Bluactive
CPU voltage: ----
GPU: performance or simple_ondemand
I/O schedulers: deadline
I/O Readahead: 1024 for both
PowerSuspend: DisplayPanel_hook
KSM: enabled
MPDECISION: enabled
Intelli-Thermal: enabled
MISCELLANEOUS: fsync enabled, logger mode disabled, crc disabled
TCP: westwood
Click to expand...
Click to collapse
Aukhan recommended settings
F.A.Q
Can I flash this kernel on Note 4 SM-N910C or other variant?
No, you can not. This kernel is only for SM-N910F, SM-N910G, SM-N910P and SM-N910V.
When I switch to Ondemand governor I noticed that cpu-boost is disabled.
Exactly, Ondemand and cpu-boost doesn't work well together. When you switch to Ondemand governor cpu-boost will be disabled automatically. Don't re-enable cpu-boost if you are using Ondemand governor. (Synapse>CPU DRIVERS)
Which app can control this kernel?
By default, the kernel is controlled by Synapse, but you can use the app that you like (Trickster Mod, Kernel Tweaker, etc.).
I flashed the kernel and Synapse says: "No support UCI detected".
Reflash the kernel, since it was a bad installation and Synapse does not detect the scripts.
After flashing the kernel lost root what to do?
In case you loose root just flash SuperSU
Any recommended settings to follow using Synapse?
At the beginning of the second post.
After flash the kernel some apks give me FC.
Go to Google Play Store and reinstall those apks.
From where can I remove int.d script?
Go to /system/etc/init.d using any root based file manager and delete.
Note: There is an important one related to superSU and if you remove it by mistake you're gonna have trouble with root permissions.
My device doesn't show any reaction to undervolting (battery life is same as before) or gets unstable even on light undervolting?
Use DVFS disabler Module(standalone) (dynamic voltage and frequency scaling), this feature was kept in touchwiz for benchmark boosting purposes and will conflict with any undervolting and custom governors because it scales the voltages and frequency on regular intervals and is framework integrated, so gets a higher priority than kernel based voltage and scaling controls.
For people who don't know what is DVFS please refer Wikipedia.
Min/Max frequency don't stick?
If your frequency settings don’t stick, it's because on certain Qualcomm devices, there are certain system services (thermald/mpdecision/project butter) or kernel service that rewrite frequency settings based on current thermal status and/or touch input.
I made a logcat but my file is empty. How I can "fix" it?
By default Android logger is disable. Go to Synapse > MISCELLANEOUS and enable Logger Mode.
What is it PowerSuspend?
This new powersuspend PM kernel driver is a replacement for it and existing early_suspend drivers. It should give better battery life.
What is it Intelli-Plug?
Intelliplug is a replacement for mp decision. Intelli-Plug is Faux123 open source solution to Qualcomm's closed source mpdecision. Intelli-Plug is disable by default. It conflicts with mpdecsion, so is HIGHLY recommend turning off mpdecision when using intelli-plug! (If you use Synapse the change is automatic. If you enable Intelli-plug mpdecision will turn off).
What is it Intelli-Thermal?
an intelligent MSM thermal throttling kernel driver designed to replace the
closed sourced thermald(aemon) from Qualcomm.
What is it Frandom?
Frandom is a kernel random number generator, which is 10-50 times faster than what you get from /dev/urandom. And it uses very little (/dev/frandom) or none (/dev/erandom) of the kernel's entropy pool, so it is very useful for applications that require a handy source for lots of random data.
What is it CRC?
CRC is a mechanism aiming to prevent data corruption when is enabled (reduce the performance around 30%). So if you disable it improve the performance but your data can be corrupted. Use it at your risk.
/sys/module/mmc_core/parameters/crc
Do you have issues in Synapse?
Go to the Play store and install busybox on rails.
Ve a la play store e instala busybox on rails, eso arreglará cualquier fallo en Synapse.
Shealt doesn't work (FC's)
Clear data of Shealt
How to use NTFS OTG?
Install USB OTG Helper . Connect your ntfs otg then open USB OTG Helper apk click on "mount". That's it. Use your favorite xplorer to open the OTG.
Know/Reported/Fixed issues
Know issues
1. Synapse doesn't show CPU governor tunables.
I'm trying to fix it. FIXED
2. Sometimes Synapse (and others kernel control apks) show that the min frequency is 1190MHz (or other frequency).
Just cancel it. FIXED
3. Ondemand doesn't work well. FIXED
Thanks for the report @Vangelis13
4. The OTG doesn't work in r8. FIXED
Great work mate! I am sure many custom roms will use it by default!
Most value adding kernel I have ever used...
Sent from my SM-N915F using XDA Free mobile app
Thank you very very much.
5CV15343YV6584512
Anybody on sm-n915p get their data running if I can't figure this out I'm about to just clean install ROM or Odin lollipop update and flash but major thanks for this wonderful creation
Thanks so much!
One zip file covers all those models of the Edge? Nice work.
dinaps86 said:
Anybody on sm-n915p get their data running if I can't figure this out I'm about to just clean install ROM or Odin lollipop update and flash but major thanks for this wonderful creation
Click to expand...
Click to collapse
I can't even get it to boot. It show's the splash screen, then a quick glimpse of something down both sides of the screen, then goes black. It never boots. My ROM is stock with Knox and it's on removed by me with Titanium Backup, and SuperSU Beta V2.49
I can't think of any other changes.
I flashed the zip, wiped cache and dalvik and rebooted. It did not boot. So I installed the zip again, and wiped same. No go again. So then I factory reset, and tried to reboot. Nothing still. What else can I try? The instructions are pretty basic. I"m not doing anything wrong here am I? Lol
---------- Post added at 12:58 AM ---------- Previous post was at 12:49 AM ----------
Nevermind. I was flashing 910 not 915. I was not paying attention. I thought the whole site was dedicated to our beloved Edge. My bad.
It has booted. I will play with it tonight and post my findings tomorrow. Thank you Gentlemen for your work here. I am really excited about having a permissive SELinux Kernel.
---------- Post added at 01:10 AM ---------- Previous post was at 12:58 AM ----------
dinaps86 said:
Anybody on sm-n915p get their data running if I can't figure this out I'm about to just clean install ROM or Odin lollipop update and flash but major thanks for this wonderful creation
Click to expand...
Click to collapse
My data is boinked too.
A big thank you.. Looks good now let's play..
Guys, the kernel was tested on F, G and T variant and I supposed that it's compatible with P but as I see is not.
Next is now. Powered by ET!
All running very nice.. 915f .. Thanks again ..
Pafcholini said:
Guys, the kernel was tested on F, G and T variant and I supposed that it's compatible with P but as I see is not.
Next is now. Powered by ET!
Click to expand...
Click to collapse
Yeap we could not find any P tester. Better delete it from the list until you get solid feedback.
Sent from my SM-N915F using XDA Free mobile app
Very nice kernel. Flashed 4 hours ago. Using it on 915G and the ROM is very responsive plus very good battery life. Thanks for long awaited custom kernel which can be tweaked by synapse.
Sent from my SM-N915G using XDA Free mobile app
myaslioglu said:
Yeap we could not find any P tester. Better delete it from the list until you get solid feedback.
Sent from my SM-N915F using XDA Free mobile app
Click to expand...
Click to collapse
I'll test it out and see what wrong with the data
Sleepycloud said:
I can't even get it to boot. It show's the splash screen, then a quick glimpse of something down both sides of the screen, then goes black. It never boots. My ROM is stock with Knox and it's on removed by me with Titanium Backup, and SuperSU Beta V2.49
I can't think of any other changes.
I flashed the zip, wiped cache and dalvik and rebooted. It did not boot. So I installed the zip again, and wiped same. No go again. So then I factory reset, and tried to reboot. Nothing still. What else can I try? The instructions are pretty basic. I"m not doing anything wrong here am I? Lol
---------- Post added at 12:58 AM ---------- Previous post was at 12:49 AM ----------
Nevermind. I was flashing 910 not 915. I was not paying attention. I thought the whole site was dedicated to our beloved Edge. My bad.
It has booted. I will play with it tonight and post my findings tomorrow. Thank you Gentlemen for your work here. I am really excited about having a permissive SELinux Kernel.
---------- Post added at 01:10 AM ---------- Previous post was at 12:58 AM ----------
My data is boinked too.
Click to expand...
Click to collapse
Our device isn't supported I know a little about developing but not much, do you? If dev doesn't mind maybe we can mess with it bc I'm probably gonna just launch the device out my window at this point I got v4a to work though bud without selinux being set to permissive there's a zip on the main v4a thread go a few pages back i don't know how to post a file on here otherwise I'd just post it if u need me to pm u the file you do need init.d support (just use tx_dbs deodexed rom)
dinaps86 said:
Our device isn't supported I know a little about developing but not much, do you? If dev doesn't mind maybe we can mess with it bc I'm probably gonna just launch the device out my window at this point I got v4a to work though bud without selinux being set to permissive there's a zip on the main v4a thread go a few pages back i don't know how to post a file on here otherwise I'd just post it if u need me to pm u the file you do need init.d support (just use tx_dbs deodexed rom)
Click to expand...
Click to collapse
I didnt get ur point mate. Maybe wrong thread?
Sent from my SM-N915F using XDA Free mobile app
This only for LolliPop and above?
I tried flashing the 915T on my stock deodexed Tmo Edge and it booted but with a black screen. Waited a few and could hear the unlocking sound when I swiped the screen but couldn't see squat. Weird.
Lolipop or kk?

[Kernel][Stock Vendor][MIUI][Android R] ztc1997 kernel v1.20.1 for Redmi K30

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Compatibility:
Based on Android R Xiaomi official kernel source.
Works perfectly on MIUI 12, may works on other ROMs based on Android 11 stock vendor. OSS vendor NOT supported.
Features:
Built with latest aosp-clang and enabled ThinLTO, LLVM Polly compilation optimization
GPU undervolted
ZRAM: Use lz4 as default compressor, swappiness allows up to 200 (default 130)
PELT scheduler mechanism for power efficiency
Optimize EAS energy model
Enabled power efficient workingqueue and adjust some driver to use it
Use BBR as default
Wakelock blocker
kcal and KLapse support
A lot of other optimizations
Known issues:
Proximity sensor not working (fixed)
Dt2w may not work on some AOSP based ROMs (You can force enable dt2w by changing /sys/touchpanel/double_tap to 1)
Installation:
Flash via recovery
Use Horizon Kernel Flasher
Download: GitHub Release
Source: GitHub
Support: Telegram
Anyone can port this kernel without additional authorization.
Change logs:
v1.20.2
Allow user to skip thermal throttling when charging (It is NOT enabled by default for security reason. For user who facing slow charging, enable Usb Fast Charge or Force Fast Charge in any kernel tuning apps, then re-plug the charger.)
v1.20.1
Add Zstd compression algorithm
Minor bug fixes
v1.20.0
Perform ion freeing buffer and PID map reads on the LITTLE CPU cluster
Update jump_label from upstream
Remove some debug/unused features
v1.19.1
Re-add kcal and KLapse by user request
Fine-tune cpu input boost and schedutil parameters
v1.19.0
Remove some unstable changes
Rollback to original frequency table
Add cpu input boost
v1.18.0
Switch to PELT scheduler mechanism
Some scheduler fine-tuning from Pixel 4
v1.17.0
Add automatic compaction mechanism
Fix for wrong physical panel dimensions
v1.16.1
dt2w can now take effect immediately
Increase vmstat interval to 20 seconds
Revert dynamic Stune Boost and sched_boost
Revert some unstable changes
v1.16.0
Add sdFAT fs support thanks to @chiru2000 (Fix for random reboot when an SD card inserted)
v1.15.2
Revert dynamic cpuset for background tasks
Some optimizations of cpuset and memory allocation
v1.15.1
Revert some unstable changes
v1.15.0
Add Dynamic Stune Boost
Add sched_boost on input events
v1.14.0
Expose dt2w switcher to userspace (/sys/touchpanel/double_tap)
Disable in-kernel LMK, use userspace lmkd instead
Some other improvements
v1.13:
Disable Full Refcount Validation
Import some improvement of zram, cpuidle, proc, cfq
Default io scheduler switch back to cfq
tcp: Disable timestamps by default
hwtracing: Add a driver for disabling coresight clocks
Disable some debug/useless features
v1.12.2
Switch back to original thermal control driver (Will control heat but reduce performance)
v1.12.1
Re-enable MEMCG (Disable it will cause the proximity sensor not work)
Switch back to Android LMK
Set default swappiness to 130
sysctl: Rename swappiness to rswappiness
Decrease Down frequency temperature (For safety)
v1.12
Add f2fs rapid gc by arter97
Update lz4 lib and use lz4 as default compressor of zram
Update PID map reads optimization from sultan kernel
schedutil: Unlock highest freqs when devfreq boost max
Boost whenever the top app changes
Import some optimization for CRC32 and XOR (Heavily used by network protocols)
msm: kgsl: use kmem_cache pool for draw objects (Reduce millions of times of memory allocating)
Block some userspace boost
v1.11.1
Change the compiler to aosp-clang 12.0.4 (Stability of proton-clang cannot be guaranteed)
scsi: ufs: set IRQ's affinity to CPU1 (Reduce the load on CPU0 a little)
scsi: ufs Async suspend/resume callbacks.
schedutil: Don't limit frequency if devfreq boost max
msm: kgsl: Relax CPU latency requirements to save power
dcache: increase DNAME_INLINE_LEN on ARM64 to 96 bytes (Improve the efficiency of caching long name files)
dts: sdmmagpie: Remove 1804mhz of Low-Power cluster (Non-efficient)
v1.11
schedutil: Wait for up_delay before using non-efficient frequencies
schedutil: Set default value for hispeed_load, hispeed_freq, pl
schedutil: Remove iowait boost
scsi: ufs: Hardcode and relax UFS CPU latency requirement
scsi: ufs: disable clock scaling
sched: Avoid walt irq work in offlined cpu
sched/tune: Introduce SchedTune Assist, enable prefer_idle for top-app, foreground
msm: thermal: simple: Introduce simple MSM thermal solution
power supply: qpnp-qg: Allow to set charge_full greater than charge_full_design (for those users replaced large-capacity battery)
v1.10
zram: use z3fold backend
add lower freq to llcc-bw bus
Finally a kernel supported for oss...Thanks and keep it up
I am using miui 12.1.4 hellas
Everything is very good only has a very slow charging error
Hope you fix it soon <3
Kaizzz said:
I am using miui 12.1.4 hellas
Everything is very good only has a very slow charging error
Hope you fix it soon <3
Click to expand...
Click to collapse
Unable to reproduce, the charging speed on my phone is normal.
Doesn't work on my device, freezes a few seconds after successfully booting, then restarts.
ROM: xiaomi.eu_multi_HMK30_21.4.7_v12-11
ztc1997 said:
View attachment 5273111
Compatibility:
Based on Android R Xiaomi official kernel source.
Works on ROMs based on Android 11 stock vendor, such as MIUI, EvolutionX, and etc.
Features:
Built with latest aosp-clang and enabled ThinLTO, LLVM Polly compilation optimization
GPU undervolted
ZRAM: Use z3fold backend, use lz4 as default compressor, swappiness allows up to 200
Optimize frequency tables and OPP capacities (Make CPU work at the most efficient frequency possible)
Dynamic cpuset for background task
Enabled power efficient workingqueue and adjust some driver to use it
Backport and enable HAVE_MOVE_PMD and HAVE_MOVE_PUD
Use BBR as default
Wakelock blocker
KLAPSE Support
A lot of other optimizations
Known issues:
Proximity sensor not working (fixed)
Dt2w may not work on some AOSP based ROMs
Installation:
Flash via recovery
Use Horizon Kernel Flasher
Download: GitHub Release
Source: GitHub
Anyone can port this kernel without additional authorization.
Click to expand...
Click to collapse
I face random reboots. After boot 4-5 sec works then freeze for some time nd reboot. Rom evolution x. Stock vendor based
I also face random reboots. POCO X2 with Android 11 stock vendor
rajesh14289 said:
I also face random reboots. POCO X2 with Android 11 stock vendor
Click to expand...
Click to collapse
Looks like it was due to my sd card partition as exfat. Once I changed it to vfat everything worked fine.
rajesh14289 said:
I also face random reboots. POCO X2 with Android 11 stock vendor
Click to expand...
Click to collapse
This got fixed when I changed my sdcard to vfat/fat32
rajesh14289 said:
I also face random reboots. POCO X2 with Android 11 stock vendor
Click to expand...
Click to collapse
This is fixed in 1.16 by @chiru2000. Thanks
Thanks a lot for this great job..... For this Kernel...provides very good battery backup and smooth performance....in miui hellas 21.4.28
It would be great to have LMK changing profiles+KCal..... All other kernels have that.....it would complete this kernel
So,I'm requesting for these features @ztc1997
Hope You'll consider adding them....thanks again
Cpt.mactavish said:
Thanks a lot for this great job..... For this Kernel...provides very good battery backup and smooth performance....in miui hellas 21.4.28
It would be great to have LMK changing profiles+KCal..... All other kernels have that.....it would complete this kernel
So,I'm requesting for these features @ztc1997
Hope You'll consider adding them....thanks again
Click to expand...
Click to collapse
kcal has been re-added in v1.19.1.
According to Google’s suggestion, this kernel has used userspace lmkd to replace in-kernel lmk, which has a number of issues.
To configure lmkd, see to aosp doc.
Thanks for adding Klapse and kcal...and that lmkd doc explains all....thanks again #ztc1997
@ztc1997 kcal and klapse is not working,in miui..
Shouldn’t it supposed to be working in miui?
Cpt.mactavish said:
@ztc1997 kcal and klapse is not working,in miui..
Shouldn’t it supposed to be working in miui?
Click to expand...
Click to collapse
kcal parameter does not take effect in real time, it will take effect after reopening the screen.
Thanks a lot
ztc1997 said:
kcal parameter does not take effect in real time, it will take effect after reopening the screen.
Click to expand...
Click to collapse
Thanks a lot...for being so kind

Categories

Resources