arter97 kernel for Galaxy S6 edge Plus - Galaxy S6 Edge+ Android Development

{
"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"
}
arter97 kernel for Galaxy S6 / S6 edge / Note 5 / S6 edge Plus​
/* Details */
Upgraded to the latest Linux 3.10
Latest Linaro LSK kernel fully merged
Based on the latest Galaxy S6 / Note 5 kernel sources
Fading LED by AndreiLux and other Note 4 developers
Proper, full support for f2fs & backported from latest stable Linux
CPU undervolt support with Synapse
--- Performance & responsiveness improvements ---
UI lags fixed with binder patch
Full unaligned access enabled
Processor scheduler improvements from AndreiLux
Uses LZ4 with zswap
Dynamic fsync from faux123
Networking speed improvements
Random driver backported from mainline Linux
Westwood as default TCP network congestion control
Built with latest Linaro GCC toolchain with latest GNU linker
Entropy hook on storage removed
Default file-system mount option with noatime
ROW I/O scheduler added and set to default
Scheduler, workqueue, network drivers, file-system drivers, commits properly ported from mainline Linux and CodeAurora(Qualcomm)
Interactive CPU governor replaced with CodeAurora(Qualcomm)'s one
Reduced screen-on delay with boosted CPU cores on resume
--- Memory efficiency & management improvements ---
LowMemoryKiller source-code revamped
Various memory tweaks applied
Memory-management commits properly ported from mainline Linux and CodeAurora(Qualcomm)
--- Battery life improvements ---
Intelligently moves apps to LITTLE cores
Power-efficient workqueues from Linaro enabled
Interactive CPU governor patched for better battery life
NVIDIA's power-efficiency improvement commits applied
Power-managements commits properly ported from mainline Linux and CodeAurora(Qualcomm)
And many others... please read the changelog
/* Switch to f2fs */
As mentioned above, this kernel fully supports f2fs.
However, you are completely free to choose not to use f2fs.
You can selectively convert partitions to f2fs using TWRP provided in the downloads.
You should use the provided TWRP at all times after you switched to f2fs.
/* Disclaimer */
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this kernel
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
/* Supported devices */
--- Galaxy S6---
SM-G920F
SM-G920I
SM-G920S
SM-G920K
SM-G920L
SM-G920T
SM-G920W8
--- Galaxy S6 edge---
SM-G925F
SM-G925I
SM-G925S
SM-G925K
SM-G925L
SM-G925T
SM-G925W8
--- Galaxy Note 5 ---
SM-N920C
SM-N920I
SM-N920G
SM-N920S
SM-N920K
SM-N920L
SM-N920T
SM-N920W8
--- Galaxy S6 edge Plus ---
SM-G928F
SM-G928C
SM-G928I
SM-G928G
SM-G928S
SM-G928K
SM-G928L
SM-G928T
SM-G928W8
/* Warning */
Redistribution, modifying files used within this project's file or integrating with other projects are prohibited with no exceptions other than my projects.
Making mirrors, re-uploading to another servers are also prohibited with no exceptions.
/* Downloads and links */
I cannot test this kernel with TWRP.
Switching to the provided PhilZ Touch recovery is highly recommended for all users.
arter97.com
/* Thanks to */
AndreiLux
faux123
Linaro
MinL(xens0117)
hsk from Matcl
CodeAurora
/* Contact */
Email : [email protected]
Twitter : @arter97_dev
/* Known issues */
None
/* Installation */
1. Put the downloaded kernel on your internal storage
2. Enter ClockworkMod(or PhilZ) recovery
3. Flash kernel
XDA:DevDB Information
arter97 kernel for Galaxy S6 edge Plus, Kernel for the Samsung Galaxy S6 Edge+
Contributors
arter97, AndreiLux
Source Code: https://bitbucket.org/arter97/android_kernel_samsung_exynos7420
Kernel Special Features:
Version Information
Status: Stable
Created 2015-08-30
Last Updated 2016-06-19

/* Changelog */
22.0 - EOL
Support for future firmwares are not guaranteed!
Fixed support for systemless SuperSU
Latest G920FXXU4DPGW sources merged
Linux 4.8 random drivers merged(12 times faster)
- Please remove Seeder if installed as it's completely unnecessary
TWRP rebuilt with latest f2fs-tools v1.7.0
I/O scheduler optimization for UFS(nr_requests)
Added support for Note 7(Grace UI) ROMs
- Please download the right kernel; it's in another directory
- Incomplete support. Few features might be broken as Samsung have not released the sources.
21.1 - EOL
Support for future firmwares are not guaranteed!
Added support for systemless SuperSU
ADB daemon replaced to stock ones
ADB switched to secure mode
TWRP rebuilt with stock adbd for better compatibility
Galaxy S6 flat - LDU correction disabled
21.0
Memory managements sources related to compression merged with Galaxy S7
Swappiness set to 190 for Galaxy S6
Reverted HMP scheduler commits that causes random kernel panic
Enabled HW accelerated SHA2, GHASH, AES_CCM, AES_NEON_BLK
Reverted cpuidle commits to improve performance
Recovery rebuilt to fix adb sideload, f2fs conversion
Fixed Synapse error for Galaxy Note 5, S6 edge Plus
Support added for Xbox game controller
20.0
Major memory leak fixed
Implemented new feature that moves background applications to LITTLE cores automatically to save power
- Default is set to move unimportant apps to 1 LITTLE core(cpu0)
- You can use Synapse to make it more aggressive - move all background apps(including apps like music player) to LITTLE cores(cpu0~3)
Applied upstream f2fs bug fixes
Revamped CPU governor to fix misc issues due to improper merges
ren_max_freq renamed to scaling_max_freq to fix apps like Kernel Aduitor
DVFS auto resetter implemented to workaround ROM's DVFS race-condition resulting in 1200 MHz clock stuck
Removed dynamic fsync for better reliability and memory efficiency
Re-applied previous Mali GPU commits (by AndreiLux)
- Fixes voltage control
- Adjusts throttling threshold
Merged latest memory management behaviors from Nexus 6P Android N and Galaxy S6 stock ROM
Latest Samsung kernel sources merged
Re-introduced sound-control by AndreiLux as a separate release for Galaxy S6
- You may encounter in-call audio issues with this
- Install the regular version if you don't need this
SysV IPC removed
LOAD_FREQ adjustment hack removed
Kernel tick clock changed from 100 Hz to 300 Hz for better performance
Memory management commits from Nexus 6P Android N merged
Few commits and hacks attempted to reduce resume time
Stand-by ARP and multicast packet filters enabled on Wi-Fi drivers (by AndreiLux)
Built with Linaro GCC 6.1
Binder replaced with CodeAurora sources used with Snapdragon 810
ADB updated
Support added for SM-G920T/W8
Support added for SM-G925T/W8
Support added for SM-N920C/I/G/S/K/L/T/W8
Support added for SM-G928F/C/I/G/S/K/L/T/W8
13.1
Updated to Linux 3.10.101
f2fs updated to Linux 4.7 merge window
Music studderings while screen-off fixed
DriveDroid support added
Synapse fixed
Few memory optimizations
TWRP recovery updated to 3.0.2-0
13.0
Updated to Linux 3.10.100
f2fs updated to Linux 4.6 merge window
Removed improper OOM operations resulting in lags
Merged some optimizations from Liquorix kernel
vnswap updated to Galaxy S7 kernel
Few arm64 optimizations added from upstream Linux kernel
Re-merged HMP scheduler updates from Linaro LSK kernel
Fixed OTG and MTP on TWRP recovery
12.0
Updated to Linux 3.10.98
Support for Android 6.0 added
Support for Android 5.1 dropped
- You will encounter boot issues if you're not properly on Marshmallow firmware
Switched to TWRP recovery
- Make sure to use SuperSU v2.68+ if you want to root your device
Switched to Linaro toolchain 5.3 with GNU linker 2.26
f2fs updated to Linux 4.5 merge window
Adaptive LMK disabled by default
SLUB memory allocator performance improved
Insecure ADB from Android N merged
- Make sure to disable USB debugging if you don't use that feature
zswap, zsmalloc(used with vnswap) merged from latest upstream Linux
Memory managements tweaked
interactive CPU governor tweaked for better responsiveness
Note 5 - used GPU configurations from the S6
11.0
Updated to Linux 3.10.94
Latest Note 5, S6 kernel sources merged
Latest ramdisk, dtb.img merged
Slow Wi-Fi turn-on issue fixed with memory tweaks
X (10.0)
https://en.wikipedia.org/wiki/Roman_numerals
Few possible binder errors fixed
Minor compiler optimizations done to binder
New linker used with compilation (hg-binutils 2.25.51.0.4)
10.0-beta2
Samsung framework's automatic application killer(SPCM) re-enabled
Adaptive LMK re-enabled
scaling_max_freq renamed to ren_max_freq
- Please use Synapse to change CPU max frequency
Core limit on screen-off removed
- Careful observation shows there's not much of a difference
Responsiveness and power consumption tweaks made to hotplugging driver
10.0-beta1
Stand-by ARP and multicast packet filters enabled on Wi-Fi drivers
- This may potentially help battery drain on Wi-Fi connected
CPU max frequency override blocked
Samsung framework's automatic application killer(SPCM) disabled
All A53 cores are now allowed to be turned on during screen-off
Few commits reverted to fix screen-on delay
Adaptive LMK disabled to improve multitasking and potentially increase battery life
Fixed an issue with bottom keys unusable when external output is connected
9.4
Updated to Linux 3.10.93
10.0-alpha discontinued after confirming zram's performance is worse than zswap+vnswap
10.0's display color switcher implemented
- Original code from gokhanmoral's Siyah kernel for i9300
- Toggle by quadruply tapping the multitasking button
- This may not work on edge variants
Added option to allow A57 cores to be turned on during screen-off
(Check the OP's reserved post for details)
Possible race-condition during boot fixed
Memory reclaiming function completely removed to fix performance degradation as time goes on
10.0-alpha3
9.3 changes merged
A new display's color switcher implemented
- Original code from gokhanmoral's Siyah kernel for i9300
- Toggle by quadruply tapping the multitasking button
- This may not work on Note 5 or S6 edge Plus
9.3
Switched back to Samsung's CPU governor to fix performance weirdness
CPU governor patched to be more responsiveness
Boot time decreased
10.0-alpha2
9.2 changes merged
CPU frequency boosts on hotplugging to improve responsiveness
9.2
CPU governor downgraded to LA.BR.1.3.2 to improve performance
Kernel panics related to process reclaim fixed
10.0-alpha1
f2fs updated to Linux 4.4 merge window
Process reclaiming code from LG G4 added to LowMemoryKiller
Adaptive LMK disabled for better multitasking
zram and its dependencies updated to the mainline Linux
Replaced zswap+vnswap with zram
Swap size reduced from 1280MB to 1024MB
zram can be potentially faster than zswap with parallelized compression - max_comp_streams
If testing doesn't show improved memory managements, zram will be removed
This kernel is unstable and regular end-user should avoid it.
Try this only if you're brave and back-up before you proceed.
9.1
Kies, Smart-Switch issue fixed
Added proploader for customizing kernel parameters
9.0
Major performance degradation issue fixed
9.0-beta7
FAST mode on vnswap disabled to fix random reboots(kernel panic)
CPU governor updated to LA.BF64.1.2.2_rb4.6
9.0-beta5
IRQ, CPU hotplug commits reverted to reduce screen-on delay
Hotplugging reconfigured to drastically reduce screen-on delay
Cortex-A53 errata 843419 fix re-enabled to fix invalid instructions
Possible no-deep-sleep issue fixed
9.0-beta4
"CPU cores boosted on screen-on request" reverted to fix screen-on delay
Exynos 7420 IPA and PMU changes applied to CodeAurora's CPU governor
9.0-beta3
Hotplugging properly disabled during screen-on for saving few CPU cycles
Only 2 A53 cores are allowed to be turned on during screen-off
- This significantly helps saving battery life during screen-off
more than just lowering CPU frequency
CPU cores boosted on screen-on request earlier than stock kernel by hundreds of milliseconds
for reduced screen-on delay
Interactive CPU governor replaced with CodeAurora(Qualcomm)'s one
- This version has many advancements compared to stock version
(Benchmark)
8.1
RCU, IRQ, topology merged with CodeAurora(Qualcomm)
ION: system heap allocation time reduced
8.0
Updated to Linux 3.10.92
8.0-alpha2
Hundreds of file-system drivers, memory-management commits ported from CodeAurora(Qualcomm)
This kernel is unstable and regular end-user should avoid it.
Try this only if you're brave and back-up before you proceed.
8.0-alpha1
Scheduler, workqueue, network drivers, power-managements commits backported from mainline Linux and CodeAurora(Qualcomm)
for better performance, responsiveness and power consumption
(Thanks to XileForce)
This kernel is unstable and regular end-user should avoid it.
Try this only if you're brave and back-up before you proceed.
7.1
Recovery device detection fixed for Note 5, S6 edge Plus variants
7.0
Updated to Linux 3.10.91
Graphics drivers updated
PhilZ Touch recovery updated
- Fixes USB storage unusable after first eject
- Fixes kernel, recovery, EFS backups
7.0-beta2
SELinux completely disabled
- This should greatly increase available memory, however might decrease stability as Touchwiz Android 5.1 is full of hardcoded SELinux stuffs
Dual-Sim model support dropped due to development inconsistencies
7.0-beta1
LowMemoryKiller minfree, vmpressure adjusted for better multitasking
Latest Note 5, S6 kernel sources merged
Latest ramdisk, dtb.img merged
Input booster issue fixed for S6, S6 edge variants
CONFIG_EXYNOS5_DYNAMIC_CPU_HOTPLUG_SLEEP_PREPARE set to 1 for better stand-by battery life
Support for G9208, G9200, G920FD, N9208, N9200, N920CD added (untested)
- Please read the 'Supported devices' section
- These variants are untested, please report if it's not working as intended
7.0-alpha2
LowMemoryKiller durp fixed
Kernel panic log shortened to prevent truncation
This kernel is unstable and regular end-user should avoid it.
Try this only if you're brave and back-up before you proceed.
7.0-alpha1
LowMemoryKiller replaced with CodeAurora(Qualcomm)'s version
LowMemoryKiller optimizations(via RBTREE) by Motorola merged
Adaptive LMK enabled
LMK values updated from Nexus 6
f2fs and other drivers updated to use new shrinker API
Automatic process-based memory reclaim method added and enabled
"Drop file-system caches on screen-off to reduce screen-on delay" reverted
This kernel is unstable and regular end-user should avoid it.
Try this only if you're brave and back-up before you proceed.
6.0
f2fs updated to Linux 4.3-rc4
ROW I/O Scheduler by Qualcomm added and set as the default
5.1
Updated to Linux 3.10.90
TCP Congestion Control set to westwood
N920G and G928G support added
5.0
Updated to Linux 3.10.88
Major memory managements changes for better responsiveness
- Reverted vfs_cache_pressure back to 100
- Dirty writeback adjusted(reduced)
- dirty_expire_centisecs and user_reserve_kbytes tweaked
- Drop file-system caches on screen-off to reduce screen-on delay
- S6 & S6 edge - LowMemoryKiller values tweaked
- Note 5 & S6 edge Plus - LowMemoryKiller values reverted back to stock
- Replaced FHA with DHA
- swap-on-disk disabled by default(/system/swapfile)
4.3
Power efficient workqueues enabled by default
Few optimizations to storage performance
Added option to revert back to stock memory managements
- This will give you even better responsiveness at the cost of vastly reduced multitasking performance and increased chance of background services malfunctioning
- Install use_stock_memory_managements.zip from the recovery to enable
- Remove /system/bin/lmktweak to disable
- This will only work on 4.3+ versions
- This is not enabled by default
4.2
Sound-control temporarily removed for fixing in-call volume
4.1
Potential performance degradation issue fixed
VPNCLIENT_SECURITY enabled
(Fixes Wi-Fi calling on T-Mobile)
4.0
G928F,T,W8 support added
Sound-control by AndreiLux added
Synapse loading fixed
Serious malfunction related to LowMemoryKiller issue fixed
Attempt made to fix T-Mobile Wi-Fi calling (Note 5/S6 edge Plus only, untested)
3.6
N920C,I,S,K,L,T,W8 and G928C,I,S,K,L support added

/* To kang or not to kang */
I prefer "open" to all stuffs, explicitly except for my personal kernels.
I've once used to use private Git repository for my kernels and just release the source-codes as a tarball,
which means that other developers who are interested in my kernel's changes would not get the specific changes they want while not violating XDA forum rules or GPL.
That was almost 3 years ago which by then, I was a newbie developer on XDA.
I was afraid other big developers merging all of my changes and I'll get buried down.
However, I've changed my mind and opened up my Git access to everyone after thinking my previous actions did not belongs to XDA's spirit.
That was a big move for myself of re-thinking what should be open.
Later down on the road as I gained more development skills, I've contributed into CyanogenMod and other's custom kernel and ROMs for fixing stuffs, introducing new concepts or improving performance.
During such process, there were quite a lot of occurrences where I was actually the first one to do those things.
For those who're familiar with "temasek ROM", you may know that after I became a contributor, temasek rose even more into the center of other AOSP ROMs' attention, as I was the first to introduce new exciting stuffs such as compiler changes or f2fs. And I quickly gained dozens of followers on my GitHub account.
And eventually, people *kang*ed my changes. Sometimes invalidating my authorship.
It surely is not a right thing to do, but I let it slide as it didn't matter that much. I believed that if my changes are good enough, it'd be better to end up with a larger user base rather than being a **** trying to hunt down every ROM developers who're doing it wrong.
Same story goes to my ROMs.
My real first popular ROM was back-to-n00t, which is a ported ROM from Galaxy S3 LTE to provide stable Touchwiz KitKat experience to the Galaxy S3 3G users.
I opened up everything to GitHub. And I even encouraged that other ROM developers to use my ROM as a base to work on their own ROM as I knew there are a lot of Touchwiz ROM cookers who're way better than me on modifying SystemUI or frameworks(via smali) BUT aren't too good on porting ROMs. I hoped that my ports can be a great base for others to work on their own modifications.
Now those spirits repeated on the Galaxy S6, I opened up everything about back-to-n0t3.
However, I do not do or believe those same things with the kernels.
There are far less kernel developers on XDA compared to ROM developers. ROMs are much more appealing for an "Android newbie" to go tweak. You can modify UI, enable some hidden settings and even port features from another devices.
So when ROMs gets copied off, users can easily distinguish if that was stolen or not.
Let’s say a well-known developer A ported S6 designs and features to the S4. Next day, less-known developer B uploads a ROM on XDA that claims to do the same thing. First thing that comes to the users’ mind would be ‘Is that guy a thief?’.
However, same thing cannot be said on the kernels as they work on a much lower level. You can’t distinguish individual custom kernels just by staring at your phone.
If a ROM developer choose to go use other’s custom kernel and integrate it into their ROM, it’s most likely that users won’t appreciate that custom kernel developer whose work powers that ROM. Let’s face it, not all users care about “Thanks to”, “Credits” sections, and let me tell you, those are the majority. Now some custom kernel developers might be OK with that. However, I’m not. Unlike most developers on XDA, I got fascinated to Android because it runs on Linux kernel. Modifying Linux kernel was the first thing I’ve done on my Android device, not modifying ROM. And I spent years and years on gaining information on Linux/Android kernels and tweaking, coding myself. While I don’t necessarily care users choosing to NOT use my kernel, I cannot stand that my kernel would be installed on one’s device which its owner don’t even know which kernel, which developer who made that kernel is. That is why I’m against with the idea of integrating custom kernels into custom ROMs. If you want your users to have a custom kernel, let them learn themselves what that kernel really is, what does it offers, and who developed it. “For the ease of flashing/installation” is not an excuse for me. Take yourself a few more minutes to download a kernel from the web, and a few more seconds to flash a secondary ZIP file from the recovery. Is that hard? Time-consuming? Absolutely not.
I hope everyone gets the idea why I'm sticking with the idea of "don't integrate my kernel into others".
Cheers.

/* Customizing kernel */
You can install Synapse from the Play store to control voltage and other frequencies.
To control some core kernel parameters, create /sdcard/arter97 as a directory and do the followings
--- Enable Adaptive LMK ---
Enabling Adaptive LMK will increase responsiveness at the cost of reduced multitasking capabilities and battery life.
Create a text file with 1 letter "0" under /sdcard/arter97 named "adaptive_lmk" and reboot
--- Disable LED fade ---
If you have issues with other 3rd-party LED controlling apps, try disabling it.
Create a text file with 1 letter "0" under /sdcard/arter97 named "fade_led" and reboot

reserved 4

reserved 5

reserved 6

It seems like you guys cannot even root this device.
There's fully functional PhilZ Touch recovery in the downloads, feel free to use it to flash SuperSU and spread the words.
But please don't make mirror!
Also, please note once you modify /system partition (by installing custom recovery or SuperSU), you need custom kernel to be installed.

yessss
my friend i see that asked you to help and you did thats great man dont forget top keep support our community
i loved your great stuff with s6 + s6 edge and now here love you man continue with your great work :good::good::good::good:
---------- Post added at 02:14 PM ---------- Previous post was at 02:05 PM ----------
my friend i have deepsleep problem ...is the kernel fix it???
---------- Post added at 02:36 PM ---------- Previous post was at 02:14 PM ----------
ok i can confirm working like acharm recovery+root+kernel
\exellent job thx
\now only rom !!!!!!!! lolllll

OK. So I'm gonna go ahead and the the edge plus tomorrow.

Would love to have a sprint version sometime.
Sent from my SM-G928P using Tapatalk

My LIFE is safed !!!

Great news for Edge+ users !
I got sm-g928t.
Which one I need to take "g928ci" "g928skl"?
Regards

eminem5055 said:
Great news for Edge+ users !
I got sm-g928t.
Which one I need to take "g928ci" "g928skl"?
Regards
Click to expand...
Click to collapse
No support for tmobile :crying:

avetny said:
No support for tmobile :crying:
Click to expand...
Click to collapse
Says coming soon. So. Fingers crossed.

Please tmobile

370 viewes and not thx come on people he gaves us best stufff :good::good::good:

thanks

Deleted
---------- Post added at 08:07 AM ---------- Previous post was at 07:44 AM ----------
Not able to flash recovery error : custom binary blocked by frp lock

arter97 said:
It seems like you guys cannot even root this device.
There's fully functional PhilZ Touch recovery in the downloads, feel free to use it to flash SuperSU and spread the words.
But please don't make mirror!
Also, please note once you modify /system partition (by installing custom recovery or SuperSU), you need custom kernel to be installed.
Click to expand...
Click to collapse
hi, I have a Singaporean S6 Edge+ SM-G928I
just to confirm your instructions, the correct recovery to flash is: http://arter97.com/browse/exynos742...ecovery-g928ci-3.6-philz_touch_6.59.0.tar.md5 ?
your "g928ci" folder is for my SM-G928I too?
also do you have a link for superSU to flash in recovery?

Related

[KERNEL][ICS][11-04-12] AniDroid-Hardened (GS|FC|ALOC|Voodoo|HBIGM|BLN|BLD|TW|3.0.27)

AniDroid-Hardened Kernel​
Short Kernel information:​
AniDroid-Hardened Kernel is the first Hardened kernel for Android that uses GRSecurity subsystem to provide different useful Security functionality.
AniDroid-Hardened Kernel now is in early stage of developing but it's almost ready for using and testing on Nexus S devices
AniDroid-Hardened Kernel was built with the latest Linaro Toolchain (GCC 4.6.3)​
Provided Features:
Linux Kernel version 3.0.27 based on the latest ICS 4.0.4 Kernel Source
GRSecurity version 2.2.2 with different security features enabled by default (see GRSecurity Feature List for details)
CPU Overclocking (OC) support
Advanced CPU LiveOC!!! (ALOC) support with Selective LiveOC MOD (Thanks to byeonggonlee! In most cases LiveOC and OC itself need overvolting (OV) due to stability issues! Each device has it's own stability limit, some devices don't need OV with lite OC. So, in most cases you need to choose optimal OV value on each OC value for your own device!)
EXT4, NTFS, CIFS support
init.d support
Compatible with any OTA-based and AOSP ICS Roms
Can be managed with NSTOOLS
Voodoo Sound and Vodoo Colors Android kernel improvements
HIGH BIGMEM that provides more available memory for Android on device
Backlight Notification(BLN, enabled by default with blinking)
Backlight Dimmer(BLD, disabled by default)
Battery Life Extender (BLX, enabled by default)
TouchWake (TW, enabled by default)
Custom Voltage Interface support
Deep Idle version 2 (thanks to Ezekeel, disabled for now due to stability issues!)
CPUIdle from Linux 3.2.x backport
SLQB Memory Allocator
USB OTG (Build 5) support (use it with this app)
Blue Colors support for Screen Color Scheme
Stock 60 FPS, 45 FPS and 65 FPS Screen Refresh Rate support (you can see the difference in Battery Drain)
1024 Kb ReadAhead support
Automatic Process Group Scheduling
-fstack-protector buffer overflow detection
USB Fast Charge (FC) feature that force adapters that are detected as USB to charge as AC enabled (can be managed with NSTOOLS)
GRSecurity Feature List:​
Active Exploits Protection (deter exploit bruteforcing, active kernel exploit response)
Role Based Access Control (RBAC)
Filesystem Advanced Protection (including advanced security for applications running in CHROOT environment)
Full Kernel Auditing (event logging for many process-related kernel events)
Executable Protection (deter ptrace-based process snooping)
Network Protection (TCP/UDP blackhole and LAST_ACK DoS prevention)
Larger Entropy Pools support (adds additional randomness to grsecurity features)
Managing support via Sysctl Interface
CPU Frequence Scaling Governors:​
SavagedZen
OndemandX
Ondemand (Default)
Brazilianwax
Intellidemand
Wheatley
Lagfree
InteractiveX
Interactive
Conservative
Lulzactive (tweaked version)
Minmax
Lazy
SmartassV2 (tweaked Smartass)
Smartass
Powersave
Scary
Lionheart
Performance
IO Schedulers:​
CFQ (Default)
Noop
Deadline (tweaked for flash devices)
Simple IO (SIO)
Bfq
Vr
Links:​
Current Kernel Binaries:
AniDroid_Hardened_B13_45Hz.zip
AniDroid_Hardened_B13_60Hz.zip
Old Kernel Binaries:
Old binaries on SourceForge
Kernel Source:
AniDroid on GitHub
Info Screenshots:​
{
"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"
}
Benchmark Screenshots:​
Changelogs:​
Alpha 1 - Alpha 1 build2:​
Kernel flashable ZIP was repacked into the Any Kernel skeleton by koush
Kernel flashable ZIP now includes Lights Library (/system/lib/hw/lights.s5pc110.so)
Alpha 1 build2 - Alpha 2:​
Many of GRSecurity features tested and enabled by default (see GRSecurity Working Feature List for details)
Kernel Heap Randomization enabled (randomizing heap placement makes heap exploits harder)
Advanced LiveOC (ALOC) support with Selective LiveOC MOD
Backlight Dimmer(BLD) is now disabled by default
Alpha 2 - Beta 1:​
Deep Idle version 2 support added (thanks to Ezekeel)
Fstack Protector buffer overflow detection feature added
Near Field Communication (NFC) devices support enabled
RCU Priority Boosting feature enabled (useful for realtime apps, prevents from blocking RCU callback on heavy loads)
L2TP protocol support added
LulzactiveV2 governor renamed to Lulzactive to improve NSTOOLS support
SLQB Memory Allocator with GRSecurity integration added (disabled for now, need testing! Now SLUB is used instead)
Bfq and Vr I/O schedulers added
Beta 1 - Beta 2:​
SLQB Memory Allocator enabled
CPUIdle from Linux 3.2.x backported and enabled
Deep Idle V2 disabled for now due to stability issues
Beta 2 - Beta 3:​
USB OTG (Build 5) support added
Beta 3 - Beta 4:​
SLUB Memory Allocator is now used due to stability issues on some devices
50 FPS and 65 FPS Screen Refresh Rate support added (to compare the performance and battery life)
Default Screen Colors were set to Blue Colors
Default I/O Scheduler is now set to VR
Different stability improvements
Beta 4 - Beta 4 Build2:​
60 FPS Screen Refresh Rate support added
Beta 4 - Beta 5:​
Increased default ReadAhead value to 1024 kB
SLOB Memory Allocator is used as more efficient to get more free memory
45 FPS and 65 FPS kernels are available (45 FPS kernel must have better battery life and have to be tested!!!)
Added optimized compiler flags
Many different stability improvements
Beta 5 - Beta 6:​
TCP tweaks added (thanks to Brainmaster)
Memory tweaks added (thanks to Brainmaster)
Boot issue fix for i9020 AMOLED added (need to be tested!!!)
Boot animation removed
Beta 6 - Beta 7:​
Display Driver bug fixed that prevented to set the correct Refresh Rate on some devices
Default I/O Scheduler changed to CFQ
Reverted to SLUB Memory Allocalor
SLUB Memory Allocalor debugging support disabled
Automatic Process Group Scheduling feature enabled
-fstack-protector security feature disabled (needs testing, will be enabled in stable release)
Beta 7 - Beta 8:​
USB Fast Charge feature that force adapters that are detected as USB to charge as AC enabled
SLQB Memory Allocalor now used
Many different stability improvements and bugfixes
Beta 8 - Beta 9:​
Smartassv2 SYSFS interface bug fixed
Advanced LiveOC (ALOC) reenabled
45 FPS kernel available
Beta 9 - Beta 10:​
USB Fast Charge bug fixed
Beta 10 - Beta 11:​
All code was rebased on Linux 3.0.27
Lulzactive bug fixed
USB Fast Charge can now be managed with NSTools
Many GRsecurity bugs fixed
GRsecurity features are now enabled by default
Advanced LiveOC improvements (now you can set low ang high values for ALOC)
CPU Deep Idle can now be enabled with NSTools
Status line during kernel init was removed
I/O Schedulers code updated
High Bigmem support added (up to 395 Mb of RAM)
Beta 11 - Beta 13:​
Boot freezes and random reboots bug fixed!
WARNING!!!
AniDroid Hardened Kernel is still need testing!
So, you can flash and use this kernel at your oun risk! ​
Great Thanks to eugene373 for the kernel base!!!
Thanks to eugene373, koush, ezekeel, supercurio, morfic, franciscofranco, sztupy, reddv1, byeonggonlee!!!
​
Wow new kernel this looks promising ;-)
Edit. Can u explain the grsecurity?
Sent from my Nexus S
mixtapes08 said:
Wow new kernel this looks promising ;-)
Edit. Can u explain the grsecurity?
Sent from my Nexus S
Click to expand...
Click to collapse
From linuxfoundation.org I got this:
"GRSecurity is a Linux kernel patch aiming at hardening the security of a GNU/Linux system. Both user space and kernel space are protected by grsecurity using many techniques like RBAC for file system access management, increasing system audit by logging important system events, use of Trusted Path Execution to prevent abusive use of binaries, PaX patches to add ASLR, null pointers dereferencing exploits and many others."
But novic_dev might explain it better
nice work dear
thank u <3
This looks promising .. will be sticking in the thread for more updates ..
Nice! New kernel.
From Russia - very nice
Sounds like an awesome kernel, welcome!
Oogway13 said:
From linuxfoundation.org I got this:
"GRSecurity is a Linux kernel patch aiming at hardening the security of a GNU/Linux system. Both user space and kernel space are protected by grsecurity using many techniques like RBAC for file system access management, increasing system audit by logging important system events, use of Trusted Path Execution to prevent abusive use of binaries, PaX patches to add ASLR, null pointers dereferencing exploits and many others."
But novic_dev might explain it better
Click to expand...
Click to collapse
Also sounds like something we don't really need. >_>
nice, more choices for crack flashin'.. спасибо novic_dev
Cool,
haven't run a hardened kernel in a while, any plans to expand this into userland?
!!!
morfic said:
Cool,
haven't run a hardened kernel in a while, any plans to expand this into userland?
Click to expand...
Click to collapse
Thanks!
I have this kernel running as a base for Desktop Linux Distro named AnikOS
I have been developing AnikOS Distro and AnikOS Secure Kernel as a base for it that uses GRSecurity-based Security subsystem since 2008. Some time ago I started to port AnikOS Secure Kernel to run on the wide range of mobile Android devices ..So, right now you can see the result running on Nexus S
))
simms22 said:
nice, more choices for crack flashin'.. спасибо novic_dev
Click to expand...
Click to collapse
Пожалуйста simms22
Flashing now) Hope this kernel is a good one) Thx a lot, novic_dev
zadnica said:
Nice! New kernel.
From Russia - very nice
Click to expand...
Click to collapse
In Russia, the kernel builds you!
Welcome novic_dev.
Question, why don't you use a ANY Kernel version since there are ROM (like MIUI) that use custom RAMDisk?
Here is a ANY Kernel version of your Alpha Build.
EDIT: If you are not O.K. with it, I'll remove it.
Thanks!!!
brainmaster said:
Welcome novic_dev.
Question, why don't you use a ANY Kernel version since there are ROM (like MIUI) that use custom RAMDisk?
Here is a ANY Kernel version of your Alpha Build.
EDIT: If you are not O.K. with it, I'll remove it.
Click to expand...
Click to collapse
Thanks a lot Brainmaster!! That's OK!
Will update the link on the Main Post to repacked Kernel with ANY KERNEL Template!
!!!
mixtapes08 said:
Wow new kernel this looks promising ;-)
Edit. Can u explain the grsecurity?
Sent from my Nexus S
Click to expand...
Click to collapse
Thanks mixtapes08!!!
I will update infornation in the Main Post soon so you and others could know the main facts about GRSecurity advantages!
link gone?
/system/lib
Isn't there supposed to be a file here for light notifications?
---------- Post added at 07:39 AM ---------- Previous post was at 07:39 AM ----------
S_Dot said:
link gone?
Click to expand...
Click to collapse
nope, just downloaded file...
Thanks!!!
y3mita said:
/system/lib
Isn't there supposed to be a file here for light notifications?
---------- Post added at 07:39 AM ---------- Previous post was at 07:39 AM ----------
nope, just downloaded file...
Click to expand...
Click to collapse
Thanks!
Added Light Notification Lib to "PACKAGE:/system/lib" and updated the Link on the Main Post!!!

[KERNEL][4.3][21 Feb.] ★ LiteGX v5.1.0 ★ ... DISCONTINUED !!

{
"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"
}
WARNING :
THIS KERNEL IS ONLY FOR THE GT-I9300 AND ANDROID 4.3 (SAMSUNG) !
This is a pure LITE, STOCK WAY & STABLE kernel with MINIMAL features.
Many of you knows my Android 4.1.2 LiteGX kernel, here is the 4.3 version !
My goal is to offer a slight modification of our Samsung stock kernel's, with few features, aiming a better battery life than stock without affecting any drain.
This is a kernel "plug-and-play" or I would say more "flash-and-play". No need for tools or apps to configure the kernel. This is the way I wanted it. A bit like speedmod kernel did.
Unfortunately, I'am not a developer but just a basic person with some android/linux knowledge already.
My dream was one day to create my own kernel, and thanks to great developers that answered my many questions, this dream has been possible. I'am very happy and proud to share my first ever kernel to everybody here.
It must be only flashed over an official Samsung ROM and not AOSP/AOKP !
Feel free to include my kernel to your ROMs / Threads but please don't forget to inform/ask first via PM and credit me in your original thread.​​
★ FEATURES (up-to-date) ★ :​Base :
Directly based on "GT-I9300_JB_Opensource_Update13" (XXUGMK6) JellyBean Android 4.3 source from Samsung (for clean work and stability).
Compiled with stock android ARM EABI (v4.4.3) toolchain.
Ramdisk from XXUGNA7.
Main :
ZZMoove (v0.7d) governor (added). [PROFILES INCLUDED! grab them into SCRIPTS section].
smartassV2 governor (added).
Enabled all other stock governors ("adaptive", "conservative", "interactive").
ROW (v4) optimized and as only I/O scheduler.
Wolfson Boeffla Sound (v1.6.5 drivers) compatibility.
hardcore mDNIe tweaks (for better colors + sharpness fix for better readability).
Touch-to-Wake (v1.1a) (but disabled by default). [PROFILES INCLUDED! grab them into SCRIPTS section].
USB charging increased (to 900mA instead of 475 by default).
Allow manual brightness to 300 candela.
init.d support.
BusyBox v1.22.1 included in case of need (located in /sbin).
CRT-off effect friendly (early_suspend set to 100ms).
Native ExFAT support.
Native xbox controller support.
TriangleAway support.
Various tweaks :
Optimized ARM CPU topology.
"GENTLE_FAIR_SLEEPERS" disabled.
"ARCH_POWER" enabled.
"SCHED_MC" added. [PROFILES INCLUDED! grab them into SCRIPTS section].
ROW scheduler & blk-core tweaks.
"Westwood", "HTCP" and "BIC" TCP congestion control modules added. [PROFILES INCLUDED! grab them into SCRIPTS section].
Reduced WiFi wakelock.
Disabled multicast on suspend.
Proportional rate reduction for TCP.
Higher random entropy.
Doubled min-max ReadAhead.
CRC disabled.
USB OTG enabled.
"Samsung Rooting Restriction Feature" removed.
Fully compressed libs ".ko" modules.
Automatic dalvik-cache wiping in kernel flashing procedure.
Logging and debugging tweaks :
Android logger disabled.
Various debugging for certain modules.
Disabled kernel debugging : Samsung / sec_log / last_kmsg / touchscreen / modem / max77686 / sec_watchdog.
Features that will NEVER be included in this kernel :
Overclock / Underclock / Undervolt.
auto-root
LED control.
Charge control.
Master sequence (screen calibrated).
ABB (Adaptive Body Bias).
Any upgrade of Linux kernel 3.0.XX.
STweaks compatibility.
Dual-Boot Sammy/AOSP.
CyanogenMod compatibility.
MIUI compatibility.
etc.
★ PREREQUISITE ★ :​
Any odexed or deodexed international I9300 Samsung 4.3 Jelly Bean ROM.
A custom recovery (CWM recommanded) to flash the kernel.
Be sure to remove any of your init.d scripts which can meet conflicts with ones I provide.
★ FREQUENTLY ASKED QUESTIONS ★ :​
Do I need to flash any cleaner script before flashing this kernel ? :
> If your previous custom kernel dev provided a cleaner script, then you can flash it before flashing mine.
How can I customize this kernel ? :
> Mainly with ZZMoove/zRam profiles (grab them below) and with TricksterMOD / SetCPU apps.
What is zRam and his pros/cons ? :
> Check THIS interesting answer from @Yank555.
Which zRam script should I choose ? :
> Check THIS interesting answer still from @Yank555.
How to check if flashed zRam script is really currently in use ? :
> You can check it directly by using "cat /proc/swaps" or "free" shell commands via a terminal.
What does the LiteGX cleaner script ? :
> It deletes all ZZMoove/zRam profiles that you flashed after this kernel. So you can go in another kernel safely. It don't removes anything else since this kernel is pure stock based and don't add any files/folders that need to be deleted after. This cleaner script will be only efficient in this situation only, it does not clean anything before coming from another kernel to mine.
Do I need to wipe cache + dalvik each time I flash a new kernel version ? :
> Nope. Moreover dalvik cache is already wiped automatically during flashing procedure.
Do I really need to flash any profiles/scripts ? :
> Definitely not. It's user choice to do it.
Do I need to re-flash ZZMoove ZIP profiles each time I flash a new kernel version ? :
> Nope. It just install an init.d script, so it will be permanent until you delete files from your init.d folder or flash "Cleaner" version which will do this for you.
Do I need to remove old ZZMoove profiles manually before flashing a new profile ZIP ? :
> Nope. Each ZIP's include an automatic removal of previously used profile.
My TricksterMOD settings are losed after rebooting ! :
> I won't learn how to use this app but to make short, once you set any value (or modify anything), click the "V" icon at top right to apply new value, then press settings icon of the app (still on top right) and tick kernel parameters option to apply settings at boot.
Android OS usage is very often at top of my battery stats ! :
> Check THIS interesting thread. Moreover it looks android 4.3 source known related problem, hopefully will be solved in another next source.
My device is getting hot at load (games) or high usage ! :
> Check THIS interesting answer from @ZaneZam.
I lost my WiFi connexion ! :
> Be sure to flash an efsV2 modem (XXUGMK6+ minimum).
★ SOURCES ★ :​
Github >> LiteGX.
Need supports ? all kind of questions must be posted on this thread directly. Be sure to read at least completely this first post before asking any question.
If you enjoy this kernel, don't forget to rate this thread
stars, and clicking the 'thanks' button (right below) is always appreciated to keep this thread maintained ​
LIKE MY WORK ?
OFFER ME A
!​​
Changelog
★ All ZZMoove / zRam / Cleaner scripts can be found HERE ★​★ All oldest releases can be found HERE ★​
★ CHANGELOG ★ :​
21.02.2014 : v5.1.0 released:
Revert back to "GT-I9300_JB_Opensource_Update13" source from Samsung (ExFAT compatibility is back).
Revert: "Brings back stock defconfig debugging" (will finally wait for next source to do that again).
Revert: "Disabled USB OTG" (not causing slow USB/AC charges).
litegx_defconfig : ANDROID_LOGGER disabled.
Force ExFAT loading as internal module.
Properly removed LZ4 compression implementation + zRam various lines in defconfig (for clean work).
15.02.2014 : v5.0.0 released:
Now based from "GT-I9300_SEA_JB_Opensource_Update2" source from Samsung.
ramdisk upgraded to XXUGNA7.
Brings back stock defconfig debugging (to be once again more close from stock source as possible).
Disabled USB OTG (was causing slow USB+AC charging).
Disabled zRam and swap support from stock new source defconfig (for best battery life experience).
Fully removed my zRam implementation + LZ4 compression.
Removed "zRam profiles" from scripts folder.
09.02.2014 : v4.8.1 released.
Added an automatic device model and android version checking into flashing procedure to avoid some (beginners) people trying to flash the kernel in any another device and/or android version.
04.02.2014 : v4.8.0 released.
Removed forced speedmod pegasusq tweaks from ramdisk (back to stock values) to prevent earphone crackles and audio stuttering when listening music (values looks a bit hard at idle resulting this problem). In case you still got the issue with this governor, just switch to another one.
Added "pegasusq profiles" into scripts folder :
- pegasusq_speedmod.zip
Updated "LiteGX-KERNEL_full_cleaner.zip" to match new pegasusq profiles flashable ZIP (please remove old one).
01.02.2014 : v4.7.0 released.
ramdisk upgraded to XXUGNA5.
BusyBox (compiled by myself) updated to v1.22.1 (located in /sbin) with stock applets.
ramdisk : removed a lot of external applets which are now directly included in my BusyBox.
18.01.2014 : v4.6.0 released.
Added "smartassV2" governor (battery is MUCH increased with it at the cost of some lags).
Makefile: Back to stock Update13 source optimizations (I thought it was done already but I forgot it).
16.01.2014 : v4.5.0 released.
Reverted "ignore charger unstable power" previous patch (it was causing USB tethering not working anymore).
Boeffla Sound Engine updated to 1.6.5 (allows speaker volumes down to 20).
mmc/core: CRC disabled (performance should be slightly increased).
Enable USB OTG.
13.01.2014 : v4.4.0 released.
"pegasusq" governor with speedmod kernel tweaks (thanks hardcore).
ramdisk: turn OFF debugging for certain modules (thanks hardcore).
11.01.2014 : v4.3.0 released.
TriangleAway support (back).
Unstable power charging ignored (now charging much faster than before)
'pegasusq' governor is now set as default (kernel is much smoother than ever (+ no more random lags ingame/UI) with it).
Enabled all other stock governors ('adaptive', 'conservative', 'interactive') for people who wants to try them out.
Decided to re-include some of my old patches (do not ask me why ^^) :
- Reduced WiFi wakelock.
- Disabled multicast on suspend.
- Proportional rate reduction for TCP.
- Higher random entropy.
- Doubled min-max ReadAhead.
02.01.2014 : v4.2.3 released.
Disabled "CONFIG_SCHED_AUTOGROUP" (useless in Android).
02.01.2014 : v4.2.2 released.
xbox controller now loaded as internal module (instead of external).
02.01.2014 : v4.2.1 released.
Fixed ExFAT support.
01.01.2014 : v4.2.0 released.
Added hardcore mDNIe sharpness & colors tweaks. Colors profiles remains intact, so they still can be activated in display section (which was not the case in LiteGX for android 4.1.2).
Clic below to see older changelog ..
01.01.2014 : v4.1.1 released.
Removed (temporarily) Triangle Away support (incompatible with Android 4.3 yet), to avoid force close messages.
30.12.2013 : v4.1.0 released.
ramdisk upgraded to XXUGML2 (Android 4.3).
29.12.2013 : v4.0.0 released.
Now based from official Update13 XXUGMK6 source from Samsung.
Now compiled with stock Android ARM EABI 4.4.3.
Reverted: "Enabled persistent TRIM support for all partitions" tweak (since samsung already included it in Update13 now).
Touch-to-Wake is now disabled by default (for battery purpose).
Added some "Touch-to-Wake profiles" into scripts folder :
- Touch-to-Wake_disabled(stock).zip
- Touch-to-Wake_enabled_3s.zip
- Touch-to-Wake_enabled_5s.zip
- Touch-to-Wake_enabled_8s.zip
- Touch-to-Wake_enabled_10s.zip
- Touch-to-Wake_enabled_15s.zip
Updated "LiteGX-KERNEL_full_cleaner.zip" to match new Touch-to-Wake flashable ZIP's (please remove old one).
15.12.2013 : v3.6.0 released.
Upgraded to XXUGMK6 Android 4.3 ramdisk (from official LEAK this time). In case your old modem is not working anymore, update it to THIS one.
SCHED_MC disabled back by default (0) to avoid some people facing some lags due to agressive value (moreover, I prefer to trust ZZMoove stock behaviour).
Added some "SCHED_MC profiles" into scripts folder :
- "SCHED_MC_power_savings_0(stock).zip"
- "SCHED_MC_power_savings_1.zip"
- "SCHED_MC_power_savings_2.zip"
It will be useful for those who wants to change it without the need to use TricksterMOD (etc) anymore.
Updated "LiteGX-KERNEL_full_cleaner.zip" to match new SCHED_MC flashable ZIP's (please remove old one).
12.12.2013 : v3.5.0 released.
Upgraded to XXUGMK6 Android 4.3 ramdisk.
05.12.2013 : Flashable ZIP's adding.
Added some "TCP congestion profiles" into scripts folder :
- "TCP-congestion_bic.zip"
- "TCP-congestion_westwood.zip"
- "TCP-congestion_htcp.zip"
- "TCP-congestion_reno.zip"
- "TCP-congestion_cubic(stock).zip"
It will be useful for those who wants to change it without the need to use TricksterMOD (etc) anymore.
Updated "LiteGX-KERNEL_full_cleaner.zip" to match new TCP flashable ZIP's (please remove old one).
02.12.2013 : v3.4.0 released.
zRam is disabled as default again (this time for ever), for battery purpose at the cost of a bit less multitasking (if you want it again : just flash any zRam script).
"GENTLE_FAIR_SLEEPERS" disabled (back), should improve UI responsiveness.
Updated "zRam_disabled.zip" to match new zRam disabling as default (please delete old one).
28.11.2013 : v3.3.0 released.
zRam is now initialized by default once flashing the kernel with 600MB disksize and 100% swapiness. If you feel some lags, try different values with scripts (hope it will help people finding this kernel more smooth than default without it).
All zRam scripts has been reworked and updated (please delete olders and download latest ones). If you want to turn off zRam, this time you'll have to flash "zRam_disabled.zip" file.
zRam initialization is now using a custom busybox binary directly integrated in the kernel, it will avoid some people not having their zRam properly working due to some roms busybox which cannot execute 'swapon' shell command and with priorities.
- A little reminder : to check if your zRam is working, no more need to install Turbo zRam app, on a Terminal, write : "free" (if you see swap values, then zRam is working) or "cat /proc/swaps" (which will give you more informations on both 4 swap partitions).
- I would like to thanks personally my friend @Yank555 to help finding some zRam initialization problems.
21.11.2013 : v3.2.0 released.
Add several TCP congestion control modules :
- Westwood
- BIC
- HTCP
'cubic' TCP congestion will stay as default like stock. You can set your favorite congestion module via TricksterMOD app.
20.11.2013 : v3.1.2 released.
ramdisk : add same root helper files + modifications as v2.1.0. Hopefully it will definitely fix root losing (for some people).
20.11.2013 : v3.1.1 released.
ramdisk : add 'root helper' again to avoid losing root after flashing for some people.
19.11.2013 : v3.1.0 released.
Enabled back: Persistent TRIM support for all partitions.
Enabled back: USB charging increased (to 900mA instead of 475 by default).
18.11.2013 : v3.0.0 released.
Total redesign again from Samsung update1 (SEA) chinese source.
Removed a LOT of tweaks (back to 'stock way' for real), battery life should be much better than before.
List of removed tweaks :
- Removed: NTFS support.
- Removed: CIFS support.
- Removed: NFS support.
- Removed: Proportional Rate Reduction for TCP.
- Removed: Network speed tweak.
- Removed: Decreased touch boost frequency (from 800 to 600Mhz).
- Removed: Doubled min-max readahead.
- Removed: ipv4: save CPU cycles from "check_leaf()" (backport from Linux 3.8).
- Removed: Intelli memory writeback (0 when screen ON & 500ms when screen off).
- Removed: Higher random entropy.
- Removed: Enabled persistent TRIM support for all partitions.
- Removed: Dynamic FSync control (v1.2).
- Removed: "GENTLE_FAIR_SLEEPERS" disabled.
- Removed: USB charging increased (to 900mA instead of 475 by default).
- Removed: "cpu_load_slope" correctly set.
- Removed: bcmdhd : Disabled multicast on suspend.
- Removed: AIO enabled (backport of Linux 3.6.x) and tweaked.
- Removed: Westwood TCP congestion.
Some optimizations into litegx_defconfig.
TricksterMOD app should be compatible with the kernel (again).
Overall kernel size is now slightly lighter (again) than previous version.
17.11.2013 : v2.1.1 released.
ramdisk : Modified 'root helper tweaks' (again) to remove many useless lines, which finally now finally looks like more as an 'init.d helper'.
ramdisk : Many useless files in 'sbin' folder has been removed to let only needed ones for 'root helper tweaks'.
Overall kernel size is now slightly lighter than before.
15.11.2013 : v2.1.0 released.
Revert source back to update12 from Samsung.
Original ramdisk base from ZCUBMK2.
ARM : Neon & Hard-Float support (thanks to @googy_anas).
14.11.2013 : v2.0.0 released.
Directly based on update1 XXUGMJA SEA JellyBean Android 4.3 (chinese) source from Samsung (for clean work and stability).
litegx_defconfig : Disable 'Samsung Rooting Restriction Feature'
12.11.2013 : v1.6.3 released.
Upgraded to ZCUBMK2 Android 4.3 ramdisk.
Fixed 'init.d' support (forgot it in previous 1.6.2).
12.11.2013 : v1.6.2 released.
full ramdisk from (this time) pure stock XXUGMJ9 instead of repacked WanamLite 7.2 ROM one.
ramdisk : modified 'root helper tweaks' from adam kernel to fit the needs of LiteGX kernel only (removed build.prop and pegasusq governor tweaks).
It was already the case before but I prefer to precise it : in case you encounter the message "fix root" after flashing my kernel before rebooting from recovery, you can choose yes or not, it will be the same : you will not loose root.
11.11.2013 : v1.6.1 released.
touch_wake.c : forgot description of bump to 1.1a.
11.11.2013 : v1.6.0 preview.
Touch-to-Wake v1.1a finally implemented ! (credits to @Ezekeel & @Yank555) and enabled by default with 5 seconds delay. If you guys are unhappy with it or would like to set another value, just set it via Trickster MOD.
11.11.2013 : v1.5.2 released.
Reverted patch: "ExFAT loaded as external module" (causing ExFAT not working anymore).
11.11.2013 : v1.5.1 released.
Added one more modification to "Disable multicast on suspend" (thx to @googy_anas).
11.11.2013 : v1.5.0 released.
Samsung Rooting Restriction Feature removed (thx @googy_anas).
ExFAT loaded as external module (thx @googy_anas).
Reverted patch: "MMC: Fix the workqueue overload battery waste (cm patch)".
09.11.2013 : v1.4.0 released.
Updated compilation toolchain Linaro GCC from 13.09 to 13.10 (20131014).
09.11.2013 : v1.3.0 released.
zRam activated (but disabled by default). Use any profile to activate it (grab them into post #2).
zRam : use LZ4 compression.
zRam profiles are compatible and working same way as LiteGX 4.1.2 version.
09.11.2013 : v1.2.0 released.
Add NTFS support.
Add NFS support.
Add CIFS support.
Disabled kernel debugging : Samsung / sec_log / last_kmsg / touchscreen / modem / max77686 / sec_watchdog.
08.11.2013 : v1.1.0 released.
USB charging increased (to 900mA instead of 475 by default).
Allow manual brightness to 300 candela.
CRT-off effect support (early_suspend set to 100ms).
xbox controller support.
Native ExFAT support (from official Samsung source).
Triangle Away support.
4x zRam swaps capability (instead of single one).
Dynamic FSync control (v1.2).
Optimized ARM CPU topology.
"ARCH_POWER" enabled.
"SCHED_MC" added.
"SCHED_MC_POWER_SAVINGS" set to agressive value (2) by default.
"CONFIG_SCHED_AUTOGROUP" enabled.
ROW scheduler & blk-core tweaks.
AIO enabled (backport of Linux 3.6.x) and tweaked.
Dynamic Screen Frequency Scaling capability (for ZZMoove governor).
Intelli memory writeback (0 when screen ON & 500ms when screen off).
Enabled persistent TRIM support for all partitions.
MMC : Fix the workqueue overload battery waste.
"GENTLE_FAIR_SLEEPERS" disabled.
Higher random entropy.
Decreased touch boost frequency (from 800 to 600Mhz).
ipv4: save CPU cycles from "check_leaf()" (backport from Linux 3.8).
"cpu_load_slope" correctly set.
Doubled min-max readahead.
"Westwood" TCP congestion module enabled and set as default.
Enabled "bic" and "htcp" TCP congestion modules.
Network speed tweak.
Proportional Rate Reduction for TCP.
bcmdhd : Disabled multicast on suspend.
Android logger disabled.
Disabled various debug in defconfig.
08.11.2013 : v1.0.0 released.
Directly based on update12 source from Samsung (for clean work and stability).
Compiled with latest available Linaro GCC 4.7.4 (13.09 / 20130903) toolchain (with flags optimizations).
Ramdisk from XXUGMJ9.
ZZMoove (v0.7d) governor (added and set as default)
row (v4) optimized and as only I/O scheduler.
Wolfson Boeffla Sound (v1.6.4 drivers) compatibility.
init.d support.
Thanks & greetings
★ THANKS & GREETINGS ★ :​
XDA board and community
Google
Samsung
CyanogenMod Team
gokhanmoral
AndreiLux
wanam
spica1234
ZaneZam
Yank555
googy_anas
hardcore
Lord Boeffla
DONATIONS
★ DONATIONS ★ :​
Many thanks to @letmarebrmbarove ! :good:
Many thanks to @batahulu ! :good:
Many thanks to @sqlpro ! :good:
Thank you to support my work guys !
Hi,
Firstly, thank you for your hard work on this kernel.
I flashed the kernel after wiping cache and dalvik. What I noticed is that Trickster mod does not pickup all 4 cores. Only 1 core is shown. Also, frequency lock is set to On, but no frequencies are shown. No scheduler is shown either. Cpu -z shows all cores.
Other than that, everything is running smoothly so far. The wake lock issue doesn't seem to be present. I'll report back with any other issues I find.
Thank you again. I've been using your Kernels since I bought my phone and I find them to be perfect for my needs.
Edit: I'm using Gorgoid 3.2
flashing right now. thanks
EDIT: wake up bug is gone. everything seems ok for a few hours of using. next is battery life. charging right now.
Thanks, you did it faster than i expected, will flash 4.3 this weekend.
Sent from my GT-I9300 using XDA Premium 4 mobile app
Awesome i will try it now and tonight or tomorow i will give feedback .
Hope batterylife is better than stock and the wake up bug is gone .
Thanks for your work
modded by Xposed Framework.
Thanks for your work! :good:
Waiting some feedbak from users, but for sure I will try it :highfive:
Thanks guys, glad you like it, even if it's still far than my 4.1.2 LiteGX version, still a lot of work to do!
rodlane said:
What I noticed is that Trickster mod does not pickup all 4 cores. Only 1 core is shown. Also, frequency lock is set to On, but no frequencies are shown. No scheduler is shown either. Cpu -z shows all cores.
Other than that, everything is running smoothly so far. The wake lock issue doesn't seem to be present. I'll report back with any other issues I find.
Click to expand...
Click to collapse
I can confirm this bug, looks like TricksterMOD is not well supported by 4.3 detection for the moment I guess. Try to use SetCPU for the moment which works well, and PerfMon to see behaviour of 4 cores in live, looks like all cores are working properly here :good:
F3nr1s said:
Hope batterylife is better than stock and the wake up bug is gone
Click to expand...
Click to collapse
Thanks to informing me about this bug, I wasn't aware of it, since I just migrated to 4.3 yesterday.
For the moment I never encountered this bug so far, but I'll let you know as soon as I'll face it.
I just hope official update12 source solved it, of we will have to wait for non-official dev fix, or future update13 source :cyclops:
Thank you. I'll Perfmon. I don't really play around with cpu settings much, although I do use Trickster mod to check that everything is running the way it should.
Another issue just noticed while typing this post is that my phone is heating up. Cpu-z reading is 40° C. Not sure if it's a 4.3/chrome/kernel issue. I never had this problem 4.1.2 using Chrome.
One more kernel for 4.3. This is really good!
Thanks man!
Thank you
Major update !
★ UPDATE ★ :​
08.11.2013 : v1.1.0 released.
USB charging increased (to 900mA instead of 475 by default).
Allow manual brightness to 300 candela.
CRT-off effect support (early_suspend set to 100ms).
xbox controller support.
Native ExFAT support (from official Samsung source).
Triangle Away support.
4x zRam swaps capability (instead of single one).
Dynamic FSync control (v1.2).
Optimized ARM CPU topology.
"ARCH_POWER" enabled.
"SCHED_MC" added.
"SCHED_MC_POWER_SAVINGS" set to agressive value (2) by default.
"CONFIG_SCHED_AUTOGROUP" enabled.
ROW scheduler & blk-core tweaks.
AIO enabled (backport of Linux 3.6.x) and tweaked.
Dynamic Screen Frequency Scaling capability (for ZZMoove governor).
Intelli memory writeback (0 when screen ON & 500ms when screen off).
Enabled persistent TRIM support for all partitions.
MMC : Fix the workqueue overload battery waste.
"GENTLE_FAIR_SLEEPERS" disabled.
Higher random entropy.
Decreased touch boost frequency (from 800 to 600Mhz).
ipv4: save CPU cycles from "check_leaf()" (backport from Linux 3.8).
"cpu_load_slope" correctly set.
Doubled min-max readahead.
"Westwood" TCP congestion module enabled and set as default.
Enabled "bic" and "htcp" TCP congestion modules.
Network speed tweak.
Proportional Rate Reduction for TCP.
bcmdhd : Disabled multicast on suspend.
Android logger disabled.
Disabled various debug in defconfig.
Enjoy :good::good:
Still a lot of work to do to include last tweaks/features of LiteGX 4.1.2 (like zRam, touch-to-wake, etc).
Stay tuned!
Btw, I found the buggish patch who caused a freeze into samsung I9300 boot logo, it was caused by linux printk, so no kernel logging disabled for the moment.
Looks Nice
Added as always ( Pardus HD Rom Premier 4.3 ) :good:
Thank! I will try flash right now!! I Love your kernel for 4.1 , hope this version can fix bug lockscreen delay and batterylife!
Testing on Neatrom..
Enviado desde mi GT-I9300 mediante Tapatalk
You can add zzmove profiles? . thanks
raff222 said:
You can add zzmove profiles? . thanks
Click to expand...
Click to collapse
Top of 2nd post :good:
Perfect batterylife! Awesome kernel!! LOVE IT.. xD thank you @AndroidGX.
Sent from my GT-I9300 using Tapatalk 2

[ROM] [6.0.1] [Build 4] [03/04] Unofficial CyanogenMod 13.0

Introduction
This ROM is inspired by JustArchi's build optimizations that provide up to 6x performance boost .​
I am not a developer by any means, I did my homework and I figured out how to compile and cherry-pick cool things. I am open to advice and guides that can help me make this ROM even better, you can also always ask for features and I'll do my best to bring them in.
As this is my rom for daily use, it contains many, many tweaks and endless hours of work of the best devs of XDA. In these features you can find Faux's Intelliplug, Yank555 powersuspend driver and many other stuff. At this point if you use any other kernel with my ROM you will lose about 80% of the features and the experience I want to provide will be lost. If you like other custom kernels such as Pink please kindly use official Nightlys.
If you are still here and haven't ran away you must know that you can always ask me for new features you see in other fine roms (Such as Temasek, CrDroid, etc) and if everybody like that feature (Including me) I will gladly bring it into the ROM. Don't forget that if you want a full featured ROM there's plenty of fine choices. The main idea with this is the same as with my old CM11 builds; "To stay as close to Stable CM as possible while adding on a little somethin' somethin' to make things better."
DISCLAIMER: I am not responsible for any damages to your device, always have a nandroid on hand if anything happens​
Main Features
Based on CyanogenMod 13 latest updates
ROM compiled with UberTC 5.2
Build optimized with Graphite and O3 flags
Build optimized Cortex A7 architecture
Custom cosmetical changes
Screen Record
Custom msm8226-common device branch (Different PowerHAL)
Custom Kernel with several features out of the box such as:
-Upstream GPU patches
-GPU Overclock
-HTC dynamic fsync
-USB fast charging
-Some Interactive picks
-Power efficient workqueues
-Simple GPU Algorithm
And much more, for a deep insight you can visit my github
{
"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"
}
Installation Instructions:
Upgrading from a previous build:
1.- Flash the ROM
2.- Flash any add-ons you want
3.- Wipe dalvik and cache
4.- Reboot into ROM
Upgrading from any other ROM even CM11:
1.- Full wipe
2.- Flash the ROM
3.- Flash GApps
4.- Flash any add-ons you want
5.- Wipe dalvik and cache
6.- Reboot into ROM
Downloads:
ROM
Build 4
Build 3
Build 2.1
Build 2
Build 1
Kernel
[MM]Beto's_Kernel_V6.0.zip
5.1.1 releases,
Beto's_Kernel_V5.0.zip
Beto's_Kernel_V4.1.zip
My preferred GApps:
Open Gapps
--Recommended Settings--
Nope.
Source and credits:
*CyanogenMod for the awesome ROM and great support for our device
*Somcom3X our beautiful CM maintainer.
*JustArchi for the countless hours of testing build flags and Toolchains.
*Chainfire for the great Superuser.
*bedalus (picked lot of things from your kernel)
*GalacticStrider for his amazing build work on SaberSunset.
*CL3Kener
*Faux
*Synergy510 For his amazing work with Saberize optimizations which made possible this ROM. (I also took his thread as base to make this one )
This ROM wouldn't be possible without them, so please donate and show your support to them.
ROM OS Version: 6.0.1 Lollipop
ROM Kernel: Linux 3.4.x
Based On: CyanogenMod 13
Source: My kernel sauce
Version Information
Status: Stable
Created 01/30/2015
Changelog
Build 4
-Updated to latest cm-13.0
-Changed some out of the box kernel settings
Click to expand...
Click to collapse
Build 3
Synced with latest cm-13.0 sources
MSM8226-Common
- Revert "msm8226-common: Add falcon and peregrine sensors HAL" …
- Revert "msm8226-common: Enable proximity check on wake" …
- Revert "msm8226-common: Enable Ambient Display" …
- msm8226-common: Kill Doze and sensor usage …
vendor/motorola
- Revert "falcon peregrine: Remove proprietary sensors HAL" …
cm/vendor
- Added Kcal control by savoca
- Added latest AdAway
- Added Nova Launcher
Click to expand...
Click to collapse
Build 2.1
Fixed derps with BT and optimzation flags
Click to expand...
Click to collapse
Build 2
ROM:
-Updated to latest cm-13.0 release
Kernel:
-Added Kcal support
-Added Faux Sound Control
Click to expand...
Click to collapse
Build 1
MSM8226-COMMON
-Default scheduler is ROW
[+] Which is vastly superior than default on real life usage
-Killed custom cm PowerHAL in favour of Qualcomm implementation.
[+] This improves battery consumption both on iddle and screen on.
-Disabled hispeed_freq when screen is off
[+] Intended to improve energy usage on iddle
-Replaced some libs to match qcom vendor
[+] This one fix some very annoying logs on the PowerHAL as it looked for libs that didn't exist. Such as “QCOM*PowerHAL:*Failed to acquire lock”
-Added MSM8226 board optimizations
[+] Given more data to the compiler such as number of cores and cache L1/L2 to allow it to optimize the code even further
Frameworks/Base:
-Ability to hide root icon
-Switchable kill-app timer
Build
-Compiled with Arter97 optimization flags
-Build compiled with UberTC 5.3 optimized
Vendor/cm
-Some cosmetical changes
Kernel: (Featuring my old kernel which is a stock kernel with a couple of extra features)
-Upstream GPU patches
-GPU Overclock
-Intelli-Plug and Mako hotplug
-HTC dynamic fsync
-USB fast charging
-Some Interactive picks
-Power efficient workqueues
-Simple GPU Algorithm
-Intelliactive governor
-More TCP congestion
-CPU-Boost on which is needed by qcom PowerHAL
-“A lot” of misc stuff which you can check on my github
Click to expand...
Click to collapse
Final
-Updated to latest cm-12.1 sources
-Reverted some custom PowerHal upstream commits since we are using qcom implementation
-Deleted profile settings that used to turn on MP-Decision on several tasks (We may now use Intelli-Plug without it messing around)
Click to expand...
Click to collapse
Build 26
-Updated to latest CM-12.1 sources
-Added wakelock blocker.
-Default scheduler is ROW again.
-Reverted custom PowerHal implementation
-Reverted readahead back to normal values
Click to expand...
Click to collapse
Build 25
ROM:
Updated to latest cm-12.1 sources.
Removed Nova Launcher
Custom PowerHAL implementation
[+] This one changes the battery profiles, specially for power saving, making the phone actually usable on saving mode (More info here)
Added MSM8226 board optimizations
[+] Given more data to the compiler such as number of cores and cache L1/L2 to allow it to optimize the code even further for our phone.
Bionic changes
[+] Added optimized memcpy implementation for Cortex A7
ART Optimizations
Patch to allow Viper4Android on enforcing mode
Misc UI changes
Kernel:
Pushed readahead to 512Kb
Intelli-Plug updates
Default scheduler is now BFQ
SELinux is now enforced.
soc: qcom: bam_dmux: Add fast-shutdown flag
[+] This one should greatly reduce bam_dmux_wakelock on our 4G device
Click to expand...
Click to collapse
Build 24
-Updated to latest CM-12.1 sources
-Reverted some unnecesary framework/base commits
-Restored MotoDoze
-ROM compiled now with Uber 4.9, which is fairly similar to SaberMod. Just for testing purposes.
-Cleaned my build environment squashing commits
Click to expand...
Click to collapse
Build 23
-Updated to latest CM-12.1 sources
-ROM is now compiled with GCC 4.9, the toolchain that'll be shiped on M.
-Fixed wrong auto-vectorization of ID3 iterator causing various media crashes with badly-tagged MP3s
-Kernel compiled with Linaro 4.9.4
-Added built in SuperSu menu (Require SuperSu)
-Updated to ArchiDroid Optimizations 4.1.
Click to expand...
Click to collapse
Build 22
-Updated to latest CM-12.1 sources
-Refactored kernel after *some guy* decided to fix Interactive governor when there it was nothing wrong with it.
-Updated kernel toolchain to Linaro 4.9.4
-Updated SaberMod 4.8 to latest release
Click to expand...
Click to collapse
Build 19
Updated to latest CM12 sources
Fixed hide supersu icon option
Disabled Faux123 Simple_Ondemand
Enabled Arter97 AdrenoIdler 1.1
Misc kernel cherry-picks I had before my phone died
Click to expand...
Click to collapse
Build 18
-Updated to latest CM12 sources
-Lot of things have been fixed, specially fixed parameters for lowminfree memory and possibly bluetooth hiccups
-Updated SaberMod toolchain.
Click to expand...
Click to collapse
Build 16
Updated to latest CM12 sources
Kernel and ROM are now separated, if you want my kernel it must be downloaded and flashed after the ROM.
Merged pull request of @Frazew
Fixed screen record which I had broke on Build 15
Build lited with Opti-Charger
Misc updates to Kernel
Click to expand...
Click to collapse
Build 15.1
-Finished bringing features of old kernel to the new one
-Implemented misc build.prop tweaks (Commit)
-Introduced Opti-Charger (To improve RAM use, more info in the spoiler)
Custom ROMs in the beginning had limited space to work with which is why Cyanogen introduced opticharging to the custom release tool in order to shrink apks to fit more apps on system partitions of the original android devices. The opticharger script pulls apart apks near the end of the build and optimizes all pngs drawables found in them. Originally this script used optipng which is great and there is absolutely no quality loss involved in the png compressions but more recently I’ve begun using pngquant because it compresses pngs even smaller 30-70% with usually an average of about 50%. Pngquant does result in a slight loss of quality but nobody has noticed yet (See more on pngquant here: http://pngquant.org/) (If you are worried about quality you can always use optipng which compresses without any quality loss themers usually use this option instead)
Currently, CyanogenMod has abandoned the use of the opticharger but many ROMs still use it such as SLIM, AOKP, LiquidSmooth, Dirty Unicorns, Carbon, Validus, and many others. Themers and app developers alike use these techniques as well to make their apps/themes run more smoothly. Making pngs 70% smaller actually makes the loading time 3 times faster for these pngs and also saves you RAM. I understand apks aren't all pngs but you'd be surprised how many junk pngs google has left behind since froyo that serve no purpose but are loaded into your ram with SystemUI anyways. Thankfully opticharging shrinks all of those undesirables by usually 50-70% and saves you several MB worth of space and speeds up your SystemUI. Since you can't unload the system UI this is well worth the effort! My motto always is every little bit counts
Many still argue that high end device don’t need opticharging anymore because they are fast enough to handle these full-sized pngs. While this is true it still doesn’t change the fact that opticharing IS still slightly faster and opticharged apks do use less ram
.
Click to expand...
Click to collapse
Build 15
-Updated latest CM-12.1 sources
-Switched kernel to latest CM sources, meaning you can use Optimus and Spirit kernel now. Make sure to update your bootloader if you don't want "screen-tearing" lines.
-Merged Arter97's fix to Play Store FC's
Click to expand...
Click to collapse
Build 14.1
First attempt to fix suddenly battery drops
Added more TCP congestion options
Click to expand...
Click to collapse
Build 14
Synced latest CM-12.1 sources
Featuring latest 5.1.1 R1 release.
Fixed crazy radio wakeups on deep sleep
Removed p-thread to get more battery life (MOAR!)
Added quick lockscreen gestures (To turn screen on when notification led is blinking and pocket mode)
Switched to latest JusArchi 5.1 gcc optimized for Cortex A7.
Added screen-recorder, which can be enabled on "Buttons" -> "Poweroff Menu"
Probably more stuff I don't remember right now
Click to expand...
Click to collapse
Build 11
Updated to latest CM-12.1 sources 8/05
We are back to my "stock" kernel which doesn't have DT2W
Released 2 variants of my kernel, one with DT2W and the other without it.
Click to expand...
Click to collapse
Build 10.1
Enabled DT2W implementation
Enabled power efficient workqueues
Activated fast charge via USB
Some misc picks to enhance kernel
Click to expand...
Click to collapse
Build 8.1
Fixed kernel Toolchain (Crucial for a perfect synergy with optimizations)
Click to expand...
Click to collapse
Build 8
Featuring Android 5.1.1
Synced latest CM12.1 sources 21/04/15
Updated kernel Toolchain to SaberMod 5.0
Complete rebase to kernel.
Updated graphite flags.
Beast benchmark scores (over 20k)
All old optimizations that are posted on OP are up and running too.
Click to expand...
Click to collapse
Build 6
Updated with latest CM12 sources
Intelli-Plug 4.0 with eco-mode is back.
Added some special changes to hotplug
Added option to hide the annoying icon of root at status bar. (@Pupet_Master bet you are going to love this one)
Switched to Linaro Toolchain 4.9.2 optimized for A7 Cortex architecture. (Rom is still compiled with SaberMod)
Misc tweaks to kernel.
Click to expand...
Click to collapse
Build 5
Reworked Project, added all optimization flags.
Click to expand...
Click to collapse
Build 4
*Synced latest CM12 sources
*No screen-tearing issues
*Re-Enabled MP-Decision
*Added new implementation of Intelliplug directly from Faux's Github
*Removed IntelliMinMax governor (For now)
*Updated powersuspend driver to v1.5
*Updated SaberMod Toolchains
*Ditched my old build environment and bringed up @JustArchi optimizations which takes Android to a whole new level
Important changes:
- Optimized for speed yet more all instructions - ARM and THUMB (-O3)
- Optimized for speed also parts which are compiled with Clang (-O3)
- Turned off all debugging code (lack of -g)
- Eliminated redundant loads that come after stores to the same memory location, both partial and full redundancies (-fgcse-las)
- Ran a store motion pass after global common subexpression elimination. This pass attempts to move stores out of loops (-fgcse-sm)
- Performed interprocedural pointer analysis and interprocedural modification and reference analysis (-fipa-pta)
- Performed induction variable optimizations (strength reduction, induction variable merging and induction variable elimination) on trees (-fivopts)
- Didn't keep the frame pointer in a register for functions that don't need one. This avoids the instructions to save, set up and restore frame pointers; it also makes an extra register available in many functions (-fomit-frame-pointer)
- Attempted to avoid false dependencies in scheduled code by making use of registers left over after register allocation. This optimization most benefits processors with lots of registers (-frename-registers)
- Tried to reduce the number of symbolic address calculations by using shared “anchor” symbols to address nearby objects. This transformation can help to reduce the number of GOT entries and GOT accesses on some targets (-fsection-anchors)
- Performed tail duplication to enlarge superblock size. This transformation simplifies the control flow of the function allowing other optimizations to do a better job (-ftracer)
- Performed loop invariant motion on trees. It also moved operands of conditions that are invariant out of the loop, so that we can use just trivial invariantness analysis in loop unswitching. The pass also includes store motion (-ftree-loop-im)
- Created a canonical counter for number of iterations in loops for which determining number of iterations requires complicated analysis. Later optimizations then may determine the number easily (-ftree-loop-ivcanon)
- Assumed that loop indices do not overflow, and that loops with nontrivial exit condition are not infinite. This enables a wider range of loop optimizations even if the loop optimizer itself cannot prove that these assumptions are valid (-funsafe-loop-optimizations)
- Moved branches with loop invariant conditions out of the loop (-funswitch-loops)
- Constructed webs as commonly used for register allocation purposes and assigned each web individual pseudo register. This allows the register allocation pass to operate on pseudos directly, but also strengthens several other optimization passes, such as CSE, loop optimizer and trivial dead code remover (-fweb)
- Sorted the common symbols by alignment in descending order. This is to prevent gaps between symbols due to alignment constraints (-Wl,--sort-common)
Click to expand...
Click to collapse
Build 3
Updated CM12 commits.
Initial Modular O3 Implementation … (Yay!)
armv7-a-neon: Apply Correct mfpu and mfloat tunings per arch …
Updated Graphite flags
Speed up Recents Menu, StatusBar and Windows Orientation.
Added a setting to disable expanded notifications.
Disabled MP-Decision (Conflicting with Intelli-Plug when performance per app is ON)
Enabled Intelli-Plug by default.
Misc cherry-picks to polish new optimizations
Click to expand...
Click to collapse
Build 2
Added Graphite optimizations
Added Strict-Aliasing optimizations
Updated latest CM12 sources.
Click to expand...
Click to collapse
FAQ
Thanks a lot @Travisholt92 for writing this guide, please give him a big thanks here!
Question 1: I am coming from (Stock or CM11), how can i install this?
Answer 1:
1. Back up all of your files, text messages, and everything else that you dont want to lose (try Easy Backup in the Google Play Store). You will lose everything stored on your phones internal storage and applications , your SD card will be safe.
2. Download the latest build posted in OP and Download GAPPS and move the .zip files onto your SD card (Remember where you put these files).
3. Shut down your phone.
4. Reboot into recovery mode by holding down the volume down button and the power button, then releasing the power button. This will come up with the Fastboot interface. Press volume down to highlight Recovery and then press volume up to boot into recovery mode.
(through TWRP)
5. Press Wipe
6. Press Advanced Wipe
7. Select Dalvik Cache, Data, Internal Storage, Cache, and System.
(Do not select microSD card or USB OTG)
8. Swipe to wipe.
9. Press Install. At the top of the screen make sure it says "Storage: microSD card". Navigate to the ROM .zip file and press it.
10. Press Add More Zips and select the GAPPS .zip file.
11. Swipe to confirm flash, reboot system, enjoy SaberMod!
(If none of these answers fix your issue read the comments for others having similar issues to see if anybody has found a fix for the issue. If the issue hasn't been meantioned previously please report the issue, leave a comment. Make sure to state what build you are running and what kernel you are using if you installed a custom kernel. If its something that happens when you perform a certain action such as after sending a text your phone reboots, try and be as detailed as possible when reporting the bug)
Question 2: I just installed (insert build name here and issue below). How do i fix this?
A. and my device is stuck at boot animation, device boots but spams with system application errors (meaning installed by your ROM not from GAPPS) , or anything else that prevents you from using your phone.
Answer: Backup your device and follow the directions for answer 1. (install the last ROM you were running if you are coming from an AOSP build if needed to back up your data)
B. and my device boots but spams with my downloaded application errors.
Answer: Uninstall the application and redownload it from the Google Play Store.
Gonna test
Que buena ver un chileno por estos lares, y más aun desarrollando roms, bastante bueno; voy a probar la ROM y ver como anda
English; Gonna test the rom and will say how it works
Any severe bugs up to know?
primewell said:
Any severe bugs up to know?
Click to expand...
Click to collapse
Only CM11 bugs, wich at this stage of develeopment are almost zero. That's the idea of applying only minimal stuff, the result is a enhanced CM11 experience with the same stability.
Next build will inlude GPU and RAM OC.
.
I also prefer CM 11 for now. Better stability and performance. And your ROM is great! No bugs so far. Thanks!
BUG
I Got Alll cores running on 1190hz all time and i can't change the frequencies
SplaszIG said:
I Got Alll cores running on 1190hz all time and i can't change the frequencies
Click to expand...
Click to collapse
It is not a bug, MPdecision shows all cores at full freq, but if you check them at real time (I.E using CoolTool) you'll see they work normally.
Anyway, I DK if add more features on the next build (Halo maybe?) or keep things simple with Linaro and Archi's optimizations. What do you guys think?
keep it simple, there are other ROMs for those who want more.
or you can make it modular and give additional functions in flashable zips
WiCiO_MeDi said:
keep it simple, there are other ROMs for those who want more.
or you can make it modular and give additional functions in flashable zips
Click to expand...
Click to collapse
+1
WiCiO_MeDi said:
keep it simple, there are other ROMs for those who want more.
or you can make it modular and give additional functions in flashable zips
Click to expand...
Click to collapse
Will do.
Thanks for your input!
I Think that modular add ons wolud be great , btw i would like more perfomance improvements too:good:
Wonderful job, hermano trasandino'. One thing I'm missing is the Tap2Wake feature. How can I add it to this ROM ?
Thanks
I'm guessing there's still this mystical memory leak problem as in CM11?
Sent from my XT1039 using XDA Free mobile app
New build is up. Currently I'm adding general tweaks before fetching more advanced stuff. (I'm having a lot of fun on Blechdose's AeroKernel and Faux github )
Changelog:
Updated with latest CM sources
Added GPU OC 550mhz
Added Min CPU Freq 192mhz
GPU optimizations
Added instructions for Cortex A7 architecture
ARM: use -mcpu=cortex-a7 when targeting MSM8226 CPU
Added frequency to corner mappings for msm8226v2
Reverted RAM OC due overheating
Interactive governor misc tweaks.
Click to expand...
Click to collapse
Link: Build 2
Can I flash this doing a clean install from CM12? There will be no problem right?
rodsayd said:
Can I flash this doing a clean install from CM12? There will be no problem right?
Click to expand...
Click to collapse
Yes. That's the way I've done it. Just simply erase everything EXCEPT sdcard and usbotg. Then, as usual, flash this ROM and then Gapps
I've been using it since yesterday and the perfomance is amazing! I will keep this as a daily driver, just one problem: sometimes the camera doesn't take the photo, it freezes just after I push the botton (I had the same problem on CM12).
rodsayd said:
I've been using it since yesterday and the perfomance is amazing! I will keep this as a daily driver, just one problem: sometimes the camera doesn't take the photo, it freezes just after I push the botton (I had the same problem on CM12).
Click to expand...
Click to collapse
Glad to see there's actually someone using and enjoying it. I'm having pretty good battery life and performance too, I guess Linaro and JustArchi's optimizations are just magical.
Regarding the camera, I don't use stock CM11 app but "A Better Camera" from the PlayStore. GIve it a shot and tell me if the issue persists.
Regards!
Great, I will try it. By the way, there isn't block screen notifications on the rom? That would be a nice feature if you can add it and keep up the good work, I'm staying with this.

[KERNEL] [8.0/8.1/9.0] Endurance Kernel V2.0.27 / V1.2.33 [Linux 4.9.190] [CSGD/BSB1]

Endurance Kernel • Galaxy S9 / S9+​
Endurance Kernel was designed by me with the goal of providing a much more responsive user experience whilst simultaneously conserving the devices battery as much as possible. The Oreo kernel is forked from A Pretty Good Kernel by ianmacd so everything from there has been ported over and likely will consistently for the lifespan of this kernel, and the Pie kernel is forked from ELS. If you want the best battery this kernel offers, flash the underclocking build. If you want the best performance this kernel offers, flash the overclocking build. Each variant of the kernel is explained in more depth below. The kernel is largely adjustable in the paid app EX Kernel Manager (EXKM) by flar2 or in the free app MTweaks by Morogoku. Please note I don't own my S9 anymore!
DISCLAIMER - I am not responsible for any harm that may come to your device as a result of flashing this kernel. I am however happy to provide support if required.
Downloads
I am trialing GitHub and Mega releases only for now in order to simplify and speed up the release process. 1.x.x indicates the kernel should be used with an Oreo based firmware. 2.x.x indicates the kernel should be used with a Pie based firmware.
Latest GitHub Release
MEGA Repository
Key Features
Latest ELS (almost) always merged in
Implemented AndreiLux’s custom scheduling, EAS backports, 16ms PELT half-life, and migration hysteresis filter
Hotplugging enabled
Boeffla wakelock blocker supported (default list tweaked for improved deep sleep)
Support CPU overclocking and underclocking in overclock and underclock kernel builds
Support GPU overclocking up to 598MHz on all builds
Adapted notification LED fade support from NX Kernel from the Galaxy S8
Enabled fsync on / off support (on is default and recommended)
DoubleTap2Wake, Sweep2Wake, Sweep2Sleep & RGB colour control
CFQ (stock and kernel default), deadline, noop, FIOPS, SIO, Zen, Maple and BFQ support
Westwood (kernel default), bic (stock), cubic, reno, htcp, lia, veno and olia TCP congestion algorithms enabled
8.1.0 and 9.0 AOSP support
Several kernel optimizations from Notorious Kernel
WireGuard Support
DriveDroid Support
F2FS support
SELinux set to enforcing
Unofficially supported adjustable SELinux status through the 'Magisk SELinux Manager' module or # setenforce 1 or 0
Disabled almost all logging, debugging and tracing
Various patches to improve performance and battery
No bull****
Detailed Overview
The PELT half-life has been reduced from 32ms (stock) to 16ms which greatly improves device responsiveness, alongside the use of updated custom scheduling, both thanks to Andrei Frumusanu’s amazing work on the kernel. For a more up to date reference on the performance of the Exynos 9810, look at Andrei's investigation comparing the Exynos Note 9 to the Snapdragon Note 9.
This kernel supports overclocking and underclocking. In order to use overclocking or underclocking, simply rename 'Endurance-Kernel-1.x.x' to 'Endurance-Kernel-1.x.x_oc' or 'Endurance-Kernel-1.x.x_uc'. If the kernel has '_uc' or '_oc' in the name of the zip file, it will flash the selected build of the kernel.
The overclock build will now use big cluster (M3) quad / triple frequencies up to 2106MHz, dual frequencies up to 2416MHz and single frequencies up to 2964MHz. The small cluster has now also been overclocked to 2002MHz. The overclock build also removes Andrei's conservative frequencies for Samsung's default scheduling in order to utilise the higher frequencies more. There is no guarantee that your battery will perform well with overclocking, nor your device will be safe running above stock frequencies. Use at your own risk.
The underclock build will now limit quad workloads at 1586MHz but still allow single frequencies up to 2704MHz, dual frequencies up to 2314MHZ or triple frequencies of up to 1794MHz. This finds a good balance between battery conservation and performance. Due to the 16ms PELT half-life the underclock should be hopefully be less noticeable than it would be on a stock kernel at 32ms.
Notification LED fade support has also been added and enabled by default. The fade can be turned on and off and have fade in and out speed adjusted in EXKM or MTweaks. Additionally, in both EXKM and MTweaks such as fsync on / off support, DoubleTap2Wake, Sweep2Wake, Sweep2Sleep & RGB colour control.
This kernel unofficially supports (but I typically strongly advise against the use of) a permissive SELinux status through the 'Magisk SELinux Manager' module.
Magisk installation chaining has also been added as a feature thanks to Ian's updated installer script. To use the the magisk chaining feature, simply rename the zip from, for example 'Endurance-Kernel.1.x.x_underclock' to 'Endurance-Kernel-1.x.x_underclock_magisk'. Ian's thorough explanation of the feature has been attached below.
To make use of this facility, either rename the APGK Endurance Kernel zip file to contain the string _magisk or create a file called .magisk in either the root of your external SD card or in the standard Download directory of the internal SD card.
If any of these trigger conditions is met, the installer then looks in the standard internal Download directory as well as in ./Magisk (if present) on the external SD card (if present) for a suitable Magisk zip file to install. Preference is given to versioned files matching the glob Magisk-v*, in which case the latest according to lexical sort order will be used. If none is found, the installer then looks for unversioned release builds (e.g. official Canary channel release builds) called magisk-release.zip in the same locations, selecting the one with the most recent timestamp. If none is found, the installer will then try to find unversioned debug builds (e.g. official Canary channel debug builds) called magisk-debug.zip, again picking the one with the most recent timestamp. Finally, the installer falls back to looking for the most recent file called Magisk.zip or magisk.zip. If still no files have been found by this stage, chaining of Magisk is abandoned.
Click to expand...
Click to collapse
AOSP Kernels
As of V1.1.2, the kernel now supports 8.1 and 9.0 AOSP ROMs. These builds are entire ports of Endurance Kernel that have been adapted for AOSP, hence any changes that are made to the base kernel will almost always also be included in the AOSP kernels. The 8.1 AOSP kernel seems to entirely work with all ROMs that support the current kernel firmware and vendor. Lineage OS will not work due to the merging of Note 9 sources and the dependency on the Note 9 vendor.
If you are using any of CodeFox / Mohammed's builds of PixysOS, Pixel Experience 9.0 sGSI or a build newer than Rainbow_Dash's V3, you must use the 8.1 AOSP Kernel. All other sGSI's should use the GSI build.
Due to SELinux interfering with Bluetooth's functioning on CodeFox / Mohammed's newer builds of Pixel Experience or PixysOS, you will need to set the kernel to a permissive SELinux status through the 'Magisk SELinux Manager' module for Bluetooth to work.
If SafetyNet is failing, this can be worked around to allow SafetyNet to pass. You will need the 'MagiskHideProps' module installed. After rebooting, using a Terminal Emulator app enter the following commands in the order listed without quotation marks.
Type 'su'
Type 'props'
Type '1' to edit the device fingerprint
Type 'f'
Type '13' to select Samsung
Type '23' if you have a Galaxy S9 (G960X) or '24' if you have a Galaxy S9+ (G965X)
Reboot
Due to the sheer diversity of AOSP ROMs, it is important to ensure you are concise when reporting an issue. Before you report an issue ensure you explicitly state the variant of the kernel you are using (TW, 9.0 GSI, 8.1 AOSP) as well as the ROM, firmware and vendor once you have ensured the ROM is compatible with the kernel. If these requirements are not met, you may receive support for the wrong platform or no response at all. It is preferred that you ask in the relevant telegram group prior to publishing on the XDA thread if possible.
Telegram Groups
If you're joining the Telegram group for support, please read the FAQ first!
Endurance Kernel Discussion / Support Group - https://t.me/endurancekernel
Endurance Kernel News Channel - https://t.me/endurancekernelnews
Credits
A huge thank you to everyone involved in the production of this kernel. Particularly a few names I would like to mention.
ianmacd - For creating A Pretty Good Kernel and doing all the hard work for me, as well as being a fantastic mentor who has assisted me through every stage of this kernel. My words understate my appreciation for your efforts. Seriously, try APGK if you do not enjoy this kernel!
AndreiLux - For pushing the device to its limits in many regards and paving the pathway from which many other devs, myself included rely on, and for assisting me in the production of the kernel.
farovitus - For his vast efforts included in the development of Notorious Kernel and for providing inspiration of changes and commits to include in the kernel as well as making another great kernel before the production of Endurance Kernel. Also thanks for maintaining ELS and keeping it simple for me!
flar2- For his fantastic EXKM app, and all his work from ElementalX included in APGK such as wake / sleep gestures and RGB colour control.
djb77 - For inspiring a few additions to the ramdisk and for being another fellow Aussie.
WhoIsJohnGalt1979 - For being by far the most exceptional beta tester and friend. Your efforts and kindness do not go unnoticed.​
Huge thanks to everyone else who was involved in development of the kernel, and helped me during the stages of instability in the early phases of this kernel. You know who you are!
And of course, everyone involved in mainline Linux development!
Additonally
Lord Boeffla for Boeffla Wakelock Blocker
franciscofranco for fsync on / off support
Ktoonsez for initially introducing Notification LED fade support.
Noxxxious for making it easier to adapt Notification LED fade to the S9!
osm0sis for Android Image Kitchen
If I included your work and forgot you, let me know and I’ll add you to the credits list!
Source - https://github.com/eamo5/starlte-endurance
Click here to donate! I used to not accept donations but while I'm undertaking my degree, a small donation could go a long way.
OneUI Current Build Changelog
V2.0.27
Linux 4.9.190
CSGD kernel source and ramdisk
Converted GPU workqueues to kthreads (thanks farovitus)
Previous Changelogs
V2.0.26
Linux 4.9.186
CSG8 source and ramdisk
Removed various unneeded drivers
Disabled swap on AOSP
V2.0.25
Linux 4.9.185
V2.0.24
Linux 4.9.184
Introduced the latest stable Simple LMK from Sultanxda in AOSP kernel
V2.0.23
Linux 4.9.183
Addressed some regressions from the previous build
I forgot to update the kernel version lol
V2.0.22
Linux 4.9.182
CSF2 kernel source and ramdisk
Several improvements to ashmem, binder, SELinux dynamic memory allocation, IRQs & qos from Sultanxda
V2.0.21
Linux 4.9.180
V2.0.20
Linux 4.9.179
Cross compiled with GCC 9.1
Fixed instability in 4.9.178
V2.0.19
Linux 4.9.177
CSE3 ramdisk
V2.0.18
Linux 4.9.176
Cleaned up defconfigs
Unset CONFIG_DEBUG_KERNEL (and all it's dependencies)
Optimised F2FS configuration
Fixed issues with unofficial TWRP (hopefully)
V2.0.17
Linux 4.9.175
Fixed F2FS
V2.0.16
Linux 4.9.174
F2FS support
V2.0.15
Linux 4.9.173
V2.0.14
Linux 4.9.172
Updated Gator driver to v6.9
V2.0.13
Linux 4.9.171
Unset CONFIG_AUDIT (reduce SELinux overhead)
Updated Gator driver to 6.8
V2.0.12
Linux 4.9.170
V2.0.11
CSD4 kernel sources
CSD4 ramdisk
Linux 4.9.169
V2.0.10
Linux 4.9.168
V2.0.9
Linux 4.9.166
Fixed 4.9.165 performance regression
V2.0.8
Linux 4.9.165
Reduced kernel size
V2.0.7
CSC8 kernel sources
Linux 4.9.164
V2.0.6
Linux 4.9.163
V2.0.5
Linux 4.9.162
Unset approximately 15 CONFIG_TRACE & CONFIG_EXYNOS_SNAPSHOT related options
V2.0.4
Linux 4.9.161
Set CONFIG_STRIP_ASM_SYMS
Unset CONFIG_BT_DEBUGFS
Unset CONFIG_USB_DEBUG_DETAILED_LOG
Unset CONFIG_DEBUG_ATOMIC_SLEEP
Unset CONFIG_SEC_BOOTSTAT
Unset CONFIG_SEC_UPLOAD
Unset CONFIG_SEC_DEBUG_PPMPU
Fixed an issue with the r8152 ethernet driver & updated the driver.
V2.0.3
Linux 4.9.160
Unset CONFIG_EXYNOS_CORESIGHT (and everything it unsets)
Unset CONFIG_DEBUG_LIST
Unset CONFIG_DEBUG_EXCEPTION_STACK
Unset CONFIG_TIMER_STATS
Unset CONFIG_DEBUG_NOTIFIERS_PRINT_ELAPSED_TIME
Unset CONFIG_CGROUP_DEBUG
Unset CONFIG_MMC_DW_DEBUG
Unset CONFIG_SEC_DEBUG_TSP_LOG
Unset CONFIG_PHY_EXYNOS_DEBUGFS
Suppressed additional minor logging
V2.0.2
Linux 4.9.159
Unset CONFIG_KSM
Unset CONFIG_SDFAT_DEBUG
Unset CONFIG_SCHED_DEBUG
Fixed SD Card issue on AOSP ROMs
Maybe fixed vibration issue on AOSP ROMs
Oreo, GSI and AOSP Current Build Changelog
V1.2.33
Linux 4.9.190
Previous Changelogs
V1.2.32
Linux 4.9.186
Removed various unneeded drivers
V1.2.31
Linux 4.9.185
Reverted Simple LMK on AOSP builds as it doesn't appear to be making reclaims correctly atm.
V1.2.30
Linux 4.9.184
Introduced the latest stable Simple LMK from Sultanxda in AOSP kernels
V1.2.29
Linux 4.9.183
Addressed some regressions from the previous build
I forgot to update the kernel version lol
V1.2.28
Linux 4.9.182
Several improvements to ashmem, binder, SELinux dynamic memory allocation, IRQs & qos from Sultanxda
V1.2.27
Linux 4.9.180
V1.2.26
Linux 4.9.179
Cross compiled with GCC 9.1
Fixed instability in 4.9.178
V1.2.25
Linux 4.9.177
V1.2.24
Linux 4.9.176
Cleaned up defconfigs
Unset CONFIG_DEBUG_KERNEL (and all it's dependencies)
Optimised F2FS configuration
Fixed issues with unofficial TWRP (hopefully)
V1.2.23
Linux 4.9.175
Fixed F2FS
V1.2.22
Linux 4.9.174
F2FS support
V1.2.21
Linux 4.9.173
V1.2.20
Linux 4.9.172
Updated Gator driver to v6.9
V1.2.19
Linux 4.9.171
Unset CONFIG_AUDIT (reduce SELinux overhead)
Updated Gator driver to 6.8
V1.2.18
Linux 4.9.170
V1.2.17
Linux 4.9.169
V1.2.16
Linux 4.9.168
V1.2.15
Linux 4.9.166
Fixed 4.9.165 performance regression
V1.2.14
Linux 4.9.165
Unset CONFIG_ION_EXYNOS_STAT_LOG
V1.2.13
Linux 4.9.164
V1.2.12
Linux 4.9.163
V1.2.11
Linux 4.9.162
Unset CONFIG_FIVE_PA_FEATURE
V1.2.10
Linux 4.9.161
V1.2.9
Linux 4.9.160
Suppressed additional minor logging
FAQ
A FAQ section will be established as kernel development progresses. If you have any explicit unanswered questions, feel free to ask away. If you must contact me due to an issue, please report your device variant, ROM, firmware, vendor and previous kernel.
1. I can’t unlock / boot my phone! What do I do?
If you're stuck in a lockscreen loop, make sure you're on a firmware with a matching ramdisk to the kernel. Do not mix a CSC1 kernel ramdisk with a CSA2 ROM for example. Anytime the ramdisk is changed, it will be listed in the changelog. Are you on the correct firmware and vendor? If not, you can always flash this zip or revert back to previous versions through the Android File Host folder. Can anyone else successfully flash the kernel? If yes, verify the MD5 sum by referencing and ensuring a matching MD5 sum between the local file and the Android File Host file. Is it isolated to one device variant? (G960F / G965F) Did I just push an update? If yes, contact me on Telegram in the Endurance Kernel group for a faster response, and XDA for an eventual response. Does your ROM require a permissive SELinux status to boot? If yes, use the 'Magisk SELinux Manager' module to adjust your SELinux status. If none of this can solve your problem, contact me through the Endurance Kernel group.​
2. Why doesn't my camera work after flashing the kernel?
Verify that you are on the correct firmware, vendor and a ROM that supports the current kernels sources. If you are still encountering issues after verifying this is correct, then let me know! If you do not wish to update, you can maintain a version of the kernel that does support your ROM by reading the relevant changelog for your OS and downloading the previous version from the Android File Host folder​
3. Why doesn't my Bluetooth work after flashing the kernel?
Are you on an Oreo ROM that does not patch libsecure_storage, such as DevBase? If your Bluetooth is broken, the answer is probably. Instead you can use ianmacd's Magisk module 'libsecure_storage companion for rooted Samsung (Oreo) devices' or you can manually flash a zip to patch it yourself, without the need for Magisk.​
4. Should I use the permissive or enforcing SELinux status?
The decision is yours. There is plenty of documentation available online outlining their differences. I strongly recommend enforcing, hence why permissive is not officially supported. Permissive is far less secure, and hence I do not condone the use of permissive. If you are using permissive, you should either have to due to a dependency or have another specific reason for doing so. eg. ROM requires disabled signature check. For most users, unless directed otherwise, use the default enforcing build.​
5. When will you update the kernel?
Once ELS is updated and the kernel is ready! This is just a side hobby and I do have a life outside of kernel development. Be patient, the update will arrive within a few days if not ASAP.​
6. Does this kernel support 9.0 AOSP GSI's?
Yes! Anything that's currently working on the Pixel Experience YEET kernel (lol) such as dual audio and MTP should also be working there too, plus some extra relevant changes.​
7. Does the 8.1 AOSP kernel work with Lineage OS?
As of the Lineage OS 20181112 release, the kernel will no longer boot at all on Lineage OS due to the merging of Note 9 sources and the dependency on the incompatible Note 9 vendor. Albeit, Lineage previously wasn't recommended regardless due to the outdated vendor and kernel sources, which breaks the camera.​
8. Will you add CPU undervolting?
No, EAS (Energy Aware Scheduling) has mostly made undervolting mostly irrelevant. Google EAS if you would like it find out more information as to why it is the case. I've included a detailed YouTube video outlining the scheduling mechanisms of EAS here.​
9. Does this kernel support Note 9 ROM ports?
Not at this point in time but perhaps in the future. Almost certainly not within Oreo's lifespan anyway.​
10. Do I need to install Magisk?
Nope, Magisk is entirely optional with this kernel.​
11. Why when I flash the kernel, do I get a Magisk zip not found error?
Unfortunately, that means your Magisk distribution is not supported by the Magisk chaining feature. The kernel should have still installed despite not finding the Magisk zip, so you'll just have to flash Magisk manually afterwards. Personally I use ianmacd's nightly builds for S9 and have 0 issues with the chaining feature.​
12. Why does this kernel offer no additional governors?
Because most of them are unstable and cause the device to crash, as well as EAS' integration with schedutil and EHMP.​
13. Why does this kernel makes my device crash / battery poor / performance poor?
Because this kernel is still in beta. At this point, these should hopefully not be issues due to me and several others testing this kernel for several months. If this is the case, report it on the XDA thread or Telegram group.​
14. Why is my WiFi performance worse when using this kernel?
This may be the case for some people. This kernel uses the Westwood+ TCP algorithm for enhanced WiFi speeds on certain networks. However there may be scenarios on poor signal networks, this TCP algorithm may cause packet loss at a greater rate than is default. This should hopefully not be an issue for anyone, however if it is, try using bic as default and contact me.​
15. Why is my battery still terrible?
Are you in an area with poor signal reception? Unfortunately that is one thing a custom kernel cannot compensate for due to the device modem having restricted access and also legal issues. That leaves us with optimizations that can only be done to the SOC of the device. How you use your device can also greatly lead to variation in battery stats. If you are in need of further battery, 'underclocking' is available and is explained in OP. If you want the best battery life, I advise you try out that build.​
16. Does the kernel support Samsung's Pie beta program?
Not yet, we still have to wait for sources to be released. Once sources are available, I'll begin work!​
17. Why doesn't Bluetooth work on Pixel Experience with the 8.1 AOSP kernel?
Due to SELinux interfering with Bluetooth's functioning, you will need to set the kernel to a permissive SELinux status through the 'Magisk SELinux Manager' module.​
18. Why does SafetyNet fail on the AOSP kernels?
This is a minor issue I don't believe I can address on my end. This can be worked around however to allow SafetyNet to pass. You will need the 'MagiskHideProps' module installed. After rebooting, using a Terminal Emulator app enter the following commands in the order listed without quotation marks.
Type 'su'
Type 'props'
Type '1' to edit the device fingerprint
Type 'f'
Type '13' to select Samsung
Type '23' if you have a Galaxy S9 (G960X) or '24' if you have a Galaxy S9+ (G965X)
Reboot
19. How do I overclock / underclock?
I can't believe I need this as a FAQ still. If you've been redirected here, read the OP! In order to use overclocking or underclocking, simply rename 'Endurance-Kernel-1.x.x' to 'Endurance-Kernel-1.x.x_oc' or 'Endurance-Kernel-1.x.x_uc'. If the kernel has '_uc' or '_oc' in the name of the zip file, it will flash the selected build of the kernel.​
20. How can I use F2FS?
To use F2FS, you must erase your data and format your data partition (and optionally cache partition) to F2FS using the N9 TWRP available here, even if you are on S9. From there you should be able to reboot your device and restore your data through a backup.​
21. Where can I donate?
I used to not accept donations but while I'm undertaking my degree, a small donation could go a long way. You can donate through my PayPal link here.​
Installed and testing. Look good so far. No lags in PUBG ...
Battery life we will see
Thanks for this kernel!
Oel said:
Installed and testing. Look good so far. No lags in PUBG ...
Battery life we will see
Thanks for this kernel!
Click to expand...
Click to collapse
Great, future builds should allow for increased frequency usage when I enable overclocking. Stay tuned for that for an even better experience
Will install it today and test it
Just a note, I didn't port the GPU stuff, flar2 did.
djb77 said:
Just a note, I didn't port the GPU stuff, flar2 did.
Click to expand...
Click to collapse
Updated the post. Thanks!
support 960/965n?
Cosis1 said:
support 960/965n?
Click to expand...
Click to collapse
I personally haven't tested an N device yet. Feel free to try it out though. I think it should work
I've been eagerly awaiting on the sidelines to try your kernel. I have heard you mention it many times in different groups and now it has finally arrived. Many thanks and greatly appreciated. I'll let you know how I get on cheers eamon your a star.:good:
@Eamo5
hi, one question.
what exactly does the boeffla wakelock blocker patch?
greetings
emphazer said:
@Eamo5
hi, one question.
what exactly does the boeffla wakelock blocker patch?
greetings
Click to expand...
Click to collapse
It allows the blocking of default kernel wakelock which can in return give better battery due to less time being awoken from deep sleep, but should only be used if you know what you're doing
Eamo5 said:
It allows the blocking of default kernel wakelock which can in return give better battery due to less time being awoken from deep sleep, but should only be used if you know what you're doing
Click to expand...
Click to collapse
im asking because i noticed that the clock timer for ringing up on custom roms with android 5-7 didnt work correctly.
It didn't start to ring because the device was in a deep sleep. I just wanted to know if this behavior maybe has something to do with a kernel patch like that.
normally I say blocking of wakelocks are really good but if it blocks the wrong stuff then it can easy result in really bad sidechain effects.
edit: found a good descrption.
so its just a optional feature.
V1.0.1 Changelog
- ELS 4.9.131
- Frequency cap at 1794MHz removed to compensate for Samsung's updated scheduling mechanisms. (Should not reduce battery)
- Added Magisk chaining support.
- Overclocking and 'underclocking' support (Explained further in OP)
- Added unofficial N device support (Untested)
- Fixed LED adjustment at the source in original commit. Thanks flar2.
- Fixed dual audio on Pie GSIs (Untested)
- Remove GPU voltage control due to it's current broken state. (Will return when fixed)
- Improve kernel source
Download link is updated in OP!
V1.0
- Initial Release
Cosis1 said:
support 960/965n?
Click to expand...
Click to collapse
Can you try out that please? ^^
Eamo5 said:
Can you try out that please? ^^
Click to expand...
Click to collapse
I can use now. Thx :good:
Very good beginning!
Eamo5 said:
V1.0.1 Changelog
- ELS 4.9.131
- Frequency cap at 1794MHz removed to compensate for Samsung's updated scheduling mechanisms. (Should not reduce battery)
- Added Magisk chaining support.
- Overclocking and 'underclocking' support (Explained further in OP)
- Added unofficial N device support (Untested)
- Fixed LED adjustment at the source in original commit. Thanks flar2.
- Fixed dual audio on Pie GSIs (Untested)
- Remove GPU voltage control due to it's current broken state. (Will return when fixed)
- Improve kernel source
Download link is updated in OP!
V1.0
- Initial Release
Click to expand...
Click to collapse
Hi
@Eamo5 Thank you for your hard work.
I started with overclock, and the kernel is pretty good, performance is ok snappy system and battery life seems to be good even with overclocking.
I noticed that CPU never reach 2900 neither 2700 mhz even in heavy use. Maybe it is the ELS that have a better management of cores. I will continu testing and give feedback.
Have a nice day all
Sorry for my bad English
Phahec said:
Hi
@Eamo5 Thank you for your hard work.
I started with overclock, and the kernel is pretty good, performance is ok snappy system and battery life seems to be good even with overclocking.
I noticed that CPU never reach 2900 neither 2700 mhz even in heavy use. Maybe it is the ELS that have a better management of cores. I will continu testing and give feedback.
Have a nice day all
Sorry for my bad English
Click to expand...
Click to collapse
Great, glad to hear performance and battery are great. The very limited usage of those frequencies is due to how the hotplugging driver works after the BRE5 update I believe, where it will only use those frequencies in single threaded workloads ie. not very often, hence there will be very little regression in battery. I'm thinking of making some adjustments to the quad, dual and single frequencies next build to allow for greater usage of these frequencies and potentially an entire overhaul of the underclock build. Thanks for your testing, and your english is pretty good btw

[SE] [7.1.1] [R10] Aether Lite [G530X]

{
"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:
[COLOR="blue"]You are not allowed to take, modify, use, upload ANY file or the whole ROM without my permissions.[/COLOR]
Your warranty (is expired? if not PM me how you managed to keep it otherwise) is now void.
I am not responsible for bricked devices, dead SD cards, thermonuclear war,
or [COLOR="blue"]the unlikely scenario of you getting fired because the alarm app failed[/COLOR].
Please do some research if you have any concerns about features included in this ROM
before flashing it! YOU are choosing to make these modifications, and if you point the finger at
me for messing up your device, I will laugh at you.
Features
ROM
Android 7.1.1 Nougat
Based on stock J510FNXXU2BRL1
De-odexed & de-knoxed
Heavily de-bloated
Powered by AetherAura
Introduced Google's night light
Sleekier wallpapers
Build.prop tweaks
Fluid UI
Better scrolling
Kernel
Rendering
Dalvik
Bit GPU
Video acceleration
Disable spamming loggers
And more!
Lighter apps and frameworks
OMC support
And more!
KERNEL
Based on J510FNXXU2BRB1 NN source
ARCH POWER
PowerSuspend
Adreno Idler
MSM Limiter
Custom Voltage Control
INTELLI THERMAL (thermal driver)
Simpler MSM THERMAL MONITOR
INTELLI PLUG (hotplug driver)
Faux Sound Control v3.6
Adaptive LMK
USB Fast Charge
Dynamic Fsync
TCP congestion algorithms
Advanced
Cubic
Westwood (default)
Vegas
Illinois
And more!
IO schedulers
Improved BFQ
FIOPS
SIO
SIO+
ZEN (default)
Tripndroid
And more!
Aether post-boot scripts
LMK values for fortuna
Disabled adaptive LMK by default
Ultra KSM
Power-oriented workqueues
CPU overclock frequencies
1248 MHz
1363 MHz
1401 MHz
GPU overclock frequencies
465 MHz
500 MHz
550 MHz
600 MHz
620 MHz
Samsung charger controls
Quad-core power savings
And more!
Screenshots
Supported variants
SM-G530HXX
SM-G530HXC
SM-G530M (flash the fortuna3g kernel release)
SM-G530BT
SM-G530FZ
SM-G530F
What's not working
Variant: SM-G530F
Bluetooth (toggles on and off when switched on)
All variants [unfixable]
Video recording (on some apps) (however, Instagram and SC are fully functional)
Manual focus on stock camera causes kernel panic
Installation instructions and downloads
Aether Lite R10
Aether Aura latest kernel release
Huge thanks to
@TenSeventy7 - Great help and support
@Kamin4ri - Great help and support
@mdmaher - Great help and support
@vin58 - HALs from AOSP
@itexpert.120 - Kernel optimizations
@prototype74 - Google's night light and help
@BlackMesa123 - Kernel optimizations
@corsicanu - Kernel optimizations
@Bulgaricus - Kernel optimizations
@SPARTANICUS - Kernel optimizations
@Chainfire - SuperSU
Like my work? Tap that "Thanks" button!
XDA:DevDB Information
[SE] [7.1.1] Aether Lite [G530X], ROM for the Samsung Galaxy Grand Prime
Contributors
CaelestisZ
Source Code: https://github.com/CaelestisZ/AetherAura
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Latest 5.x baseband
Version Information
Status: Beta
Created 2020-06-05
Last Updated 2020-06-15
Kernel Change-log:
Ascent
Selective fortuna drivers updated
Reduced CPU average load
Enabled ARCH_POWER
Reduced kernel overheat
Introduced PowerSuspend
Introduced MSM Adreno Idler
Introduced StateNotifier
Introduced MSM Limiter
Introduced Custom Voltage Control
Introduced lpClock
And several performance optimizations
BlueFlare
Undervolt for better compatibility
Implemented fast idling of CPU
Tune task-scheduler for power savings
Introduced USB fast-charge
TCP Westwood tune-up
Fixed headphone buttons
ClangorousSoulblaze
Introduced a simpler MSM thermal monitor
Introduced Intelli-plug hotplug driver
Introduced Faux sound control
Fixed RIL, Radio (now fully functional)
Added Knox SDP/DLP
DracoMeteor
Introduced LCD notify
Introduced Dynamic FSync and ASync
Enable Adaptive LMK
Disable CRC by default
Eternatus
Disable zRAM
Enable SSWAP
Merge J510FNXXU2BRB1 ramdisk
Merge Aether post-boot scripts
Enable TCP congestion algorithms
Advanced
Cubic
Westwood
Vegas
Illinois
And more!
Introduced IO Schedulers
Improved BFQ
FIOPS
SIO
SIO+
ZEN
Tripndroid
And more!
Properly enabled ARCH POWER & gentle fair sleepers
FleurCannon
Introduced INTELLI THERMAL driver
CPUfreq, CPUidle: implement -O3 optimizations
GigavoltHavoc
Disable loads of unnecessary configurations
MSM Adreno Idler: more aggressive
Boot on all 4 cores
Attempt at enhancing power efficiency
Re-enabled kernel tick rate to 300Hz
Default TCP congestion algorithm: Westwood
Default IO Scheduler: ZEN
Set writeback parameters
dirty_background_ratio = 10%
vm_dirty_ratio = 20%
And more!
HyperspaceFury
Introduced Ultra KSM
Implemented system-wide power-oriented workqueues
Introduced Samsung charger controls
Enable quad-core power savings
CPU overclock frequencies
1248 MHz
1363 MHz
1401 MHz
GPU overclock frequencies
465 MHz
500 MHz
550 MHz
600 MHz
620 MHz
And more!
ROM Change-log
5th June 2020
Android 7.1.1 Nougat
Based on stock J510FNXXU2BRL1
De-odexed & de-knoxed
Heavily de-bloated
Powered by AetherAura
Introduced Google's night light
Sleekier wallpapers
Lighter apps and frameworks
OMC support
And more!
15th June 2020
Bump to R10.AetherLite
Installer now detects variant and deploys appropriate files
Packed with the latest release of AetherAura (FleurCannon)
Lock screen security is now fully functional
De-bloated a little more
Added build.prop tweaks
Fluid UI
Better scrolling
Kernel
Rendering
Dalvik
Bit GPU
Video acceleration
Disable spamming loggers
And more!
Updated CSC/OMC version
Fixed bugs that persist only on the G530HXC
De-knoxed for real
Join us on Telegram to stay up to date with the latest releases.
Telegram group invite: G530* Project: Aether
P.S. I do undertake device support/feature requests, provided it is a G530* and you can wait!
Nice Job Bro!
Hope that rest of the bugs will get fixed quickly.
hey guys, this is doc. havent bothered to change my username yet. (and i guess xda wouldn't allow me anyway, i already changed my username once)
actually, bluetooth only works fully on fortuna3gdtv lol (and possibly any other non-XX/XC baseband variant, eg fortunalteub / G530M)
Kamin4ri said:
hey guys, this is doc. havent bothered to change my username yet. (and i guess xda wouldn't allow me anyway, i already changed my username once)
actually, bluetooth only works fully on fortuna3gdtv lol (and possibly any other non-XX/XC baseband variant, eg fortunalteub / G530M)
Click to expand...
Click to collapse
IIRC it works on fortuna3g perfectly too
AetherLite R10 is up!
Installation instructions and downloads
Reboot into custom recovery.
Flash AetherLite_R10.zip from here: Aether Lite R10
Want root access? Latest SuperSU: SuperSU
Reboot & Enjoy!
Make sure to uncheck "Diagnostic Data" in Setup Wizard or you will have signal issues!
Do not flash Magisk with this kernel as it causes overheating and battery issues. (Due to some conflicts with LMK and Magisk)
It's normal for your device to restart once when on the boot animation after flashing SuperSU. (don't conclude it's a bootloop if that happens)
Changes made
Installer now detects variant and deploys appropriate files
Packed with the latest release of AetherAura (FleurCannon)
Lock screen security is now fully functional
De-bloated a little more
Added build.prop tweaks
Fluid UI
Better scrolling
Kernel
Rendering
Dalvik
Bit GPU
Video acceleration
Disable spamming loggers
And more!
Updated CSC/OMC version
Fixed bugs that persist only on the G530HXC
De-knoxed for real
What does this R10 symbolises here
Hi I am little confuse over here after seeing ur named rom aether lite ; actually what does this R10 symbolises here , is it that this rom has been upgraded to android 10 ?
Thank you
AYUSH NETWORK said:
Hi I am little confuse over here after seeing ur named rom aether lite ; actually what does this R10 symbolises here , is it that this rom has been upgraded to android 10 ?
Thank you
Click to expand...
Click to collapse
R10 means 10th version.
Btw the it needs to be lot more compressed according to the standards
itexpert.120 said:
R10 means 10th version.
Click to expand...
Click to collapse
Bro doesn't it suitable , means that actually file size is to much greater thn what it seems to be build for android standard
AYUSH NETWORK said:
Bro doesn't it suitable , means that actually file size is to much greater thn what it seems to be build for android standard
Click to expand...
Click to collapse
Maybe because it is aroma installer and tw-n???
Hope well
cpt_Sherman said:
Maybe because it is aroma installer and tw-n???
Click to expand...
Click to collapse
Yeah but lot's of more custom roms are there which are being pre-installed aroma features and many other lot's of valuable features ; but this is rom is what mainly creates some less advantage for download due to its large file size .
Thank you
AYUSH NETWORK said:
Yeah but lot's of more custom roms are there which are being pre-installed aroma features and many other lot's of valuable features ; but this is rom is what mainly creates some less advantage for download due to its large file size .
Thank you
Click to expand...
Click to collapse
Do me a favour and list some of the ROMs (you're talking about, probably link me to it) running Touchwiz N released for any device having the zip size less than this one? (dw I've de-bloated it leaving out all the essential features in it and added a few too)
Also, R10 features an Installer that deploys fixes and the kernel for each supported variant. (HXX/HXC/F/FZ/BT)
It's not an aroma installer that I've included.
Then again, the /system size of the zip is the same as that of our beloved stock lollipop.
Boot loop (G530BT)
EDIT: Works now, don't install supersu with twrp
AYUSH NETWORK said:
Yeah but lot's of more custom roms are there which are being pre-installed aroma features and many other lot's of valuable features ; but this is rom is what mainly creates some less advantage for download due to its large file size .
Thank you
Click to expand...
Click to collapse
Bro, this is not AOSP Rom, it is samsung's tw and nougat on that. The Stock ROM for Grand prime is roughly 600-900MB. Compared to this rom, this is much lighter and better. Also, this rom is not a build to begin with. This is a ported ROM from other samsung device.
Does this rom support OTA updates or it has been updates over air
Bro I want to ask something about this rom , is it support OTA updates ; does it get updated by software updates or u frequently update this rom with on time air upadtes ??
---------- Post added at 06:35 AM ---------- Previous post was at 06:28 AM ----------
Bro just u can please tell me in brief about it battery performance and task management ability to stand battery and stable performance of overall android for a particular time period ??
FrostyAndroid said:
Boot loop (G530BT)
EDIT: Works now, don't install supersu with twrp
Click to expand...
Click to collapse
@Kamin4ri tested SuperSU on G530BT, and it doesn't cause a boot loop in G530BT or in any of the supported variants.
It's normal for your device to restart once when on the boot animation after flashing SuperSU. (don't conclude it's a bootloop if that happens)
Next time, be patient.
Please refrain from posting messages with utmost surety when you're actually not sure about it.
New kernel release is up!
Installation instructions and downloads
Reboot into custom recovery.
Make sure you're on Aether Lite R10.
Flash AetherAura_GigavoltHavoc*.zip for your variant from here: AetherAura releases
Want root access? Latest SuperSU: SuperSU
Reboot & Enjoy!
Do not flash Magisk with this kernel as it causes overheating and battery issues. (Due to some conflicts with LMK and Magisk)
It's normal for your device to restart once when on the boot animation after flashing SuperSU. (don't conclude it's a bootloop if that happens)
Changes made
Bump to version: GigavoltHavoc
Disable loads of unnecessary configurations
MSM adreno idler: slightly more aggressive
Boot on all available cores
Attempt at enhancing power efficiency
Re-enabled kernel tick rate to 300Hz
Set writeback parameters
dirty_background_ratio = 10%
vm_dirty_ratio = 20%
Set WESTWOOD as default TCP
Set ZEN as default IO Scheduler
And more!
Like my work? Tap that "Thanks" button!
Are you taking requests?

Categories

Resources