arter97 kernel for Galaxy S4 LTE-A with AOSP

Status
Not open for further replies.
Search This thread

arter97

Recognized Developer
Oct 14, 2012
3,881
34,635
26
Seoul
s4_arter97.png


arter97 kernel for Galaxy S4 LTE-A with AOSP​


/* Features */


Based on stock SHV-E330S kernel source
Supports ONLY AOSP
Upgraded to the latest Linux
Compiled using latest ARM hard-float Linaro-toolchain with optimization options
Speed improvements
New CPU Governors
New I/O Schedulers
Color inverting by quadriple tapping on home button

/* Details */

Upgraded to the latest Linux 3.4.104
Kernel & ramdisk compression in LZ4 format
Kernel scheduler improvements
Full unaligned access enabled
Improved memcpy, hrtimer, mutex, cpufreq, memory-management, writeback
Optimized RWSEM, crypto, math drivers
Wi-Fi wakelock reduced
BFQ v7r5, SIO, FIOPS, FIFO, VF, ZEN I/O Schedulers added
arteractive CPU Governor replacing interactive
Deadline I/O Scheduler speed improved
Asynchronous I/O speed improved
Asynchronous fsync from hTC ported by faux123
Dynamic fsync from faux123
Networking speed improvements
Disabled MMC-CRC for better speed
ARCH_POWER enabled
Fading LED control by AndreiLux
Replaced MP-Decision with intelli_plug by faux123
Random driver backported from Linux 3.16+
H/W random enabled
SCHED_AUTOGROUP enabled for best multitasking experience
Westwood as default TCP congestion control for best networking speed
i2c clock rates adjusted to 19.2 MHz for better battery life
Uses arteractive CPU governor replacing stock interactive governor
Built with LTO(Link-Time-Optimizations) to provide optimum performance
Power-efficient workqueues from Linaro
Uses Samsung's sdcardfs replacing Google's FUSE daemon for better battery and performance
SELinux set to permissive

/* 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 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. Hard. A lot.

/* Warning */

Your device's KNOX warrenty will be void just like any other custom kernels
You're welcome to explore the source code and cherry-picking commits
Just don't make another one that's based on my kernel or something so much similar to this
Making mirrors, re-uploading to another servers are strictly prohibited with no exceptions

/* Supported device */

Galaxy S4 LTE-A SK (SHV-E330S, ks01lteskt)
Galaxy S4 LTE-A KT (SHV-E330K, ks01ltektt)
Galaxy S4 LTE + International (GT-I9506, ks01lte)

/* Unsupported device */

Galaxy S4 LTE-A LG (SHV-E330L, ks01ltelgt)
Galaxy S4 WITHOUT Snapdragon 800 SoC

/* What you need to know */

'Opensource' does not mean 'no-respect'
Leave credits to original developers
This is only tested on
- SHV-E330S coming from stock Android 4.4 KitKat
- SHV-E330K coming from stock Android 4.4 KitKat
Other variants, other OS may not be fully compatible

/* Thanks to */

faux123
Yank555.lu
Codeaurora

/* Contact */

Email : qkrwngud825@gmail.com
Twitter : @arter97

/* Downloads */

Please disable AdBlocker if you appreciate my work :)
http://www.arter97.com/s4_kernel.htm
Source code :
http://bitbucket.org/arter97/android_kernel_samsung_ks01lte

/* Installation */

1. Install ClockworkMod(or PhilZ) recovery
2. Put kernel on you SD card
3. Enter recovery
4. Flash kernel

/* Troubleshooting */

Not booting?
If you don't get passed on "Samsung" white logo, your device is not supported. If you think it should be supported, report to the developer.
Terrible speed or battery life?
Battery life is more likely to be affected by applications. Review your installed applications. Customize the kernel settings to get the most out of it. Trickster MOD is recommended.
Random shutdown?
Attach log(/proc/last_kmsg) or it didn't happened!

XDA:DevDB Information
arter97 kernel for Galaxy S4 LTE-A with AOSP, Kernel for the Samsung Galaxy S 4

Contributors
arter97
Kernel Special Features:

Version Information
Status: Testing

Created 2014-03-23
Last Updated 2014-10-14
 

arter97

Recognized Developer
Oct 14, 2012
3,881
34,635
26
Seoul
Changelog

/* Changelog */

3.4
Random reboots on Bluetooth connected FIXED
BFQ I/O scheduler updated to v7r6
Misc kernel stability improved
Thermal throttling misbehaviour fixed
Generic ARM speed improvements
CPU hotplugging latency improved
f2fs compatibility with sdcardfs improved

3.2
Graphics merged from SM-N9005
Kernel scheduler merged from SM-G900F
S/W video decode screen flickerings fixed
Powerboost removed
Memory calculation fixed
Encryption support for ext4 added
Back to intellithermal V1

3.1.1
Upstreamed to latest Linux 3.4.104
Battery life improved (commits from @temasek71)
GPU voltage constraints lowered
kernel-side flip-cover handlings removed
(CyanogenMod ROM now handles it perfectly)
Enabled full unaligned access to LZO and LZ4
Random reboots on Bluetooth connected improved

3.1
CAF graphics merge durp fixed
Misc thermal drivers updated
i2c: change clock rates to 19.2 MHz(battery improvements)
Network performance with process_backlog improved
Disable GENTLE_FAIR_SLEEPERS when powerboosted
(Better UI snappiness)
Screen-off CPU frequency limit unlocked for users experiencing music studders
Several more network integration with ROM
Boost CPU frequency on resuming from sleep or screen-off

3.0
qrngd random feeder fixed
Introduction to arteractive, a interactive governor ported from Galaxy S5
Powerboost added
healthd replaced for better battery on stand-by
sched_mc_power_saving set to 0
Revert "epoll: use freezable blocking call"
Intelli-thermal V2
Vibration intensity control added
Now uses de-CAF'ed graphics for stability, bug-fixes and performance improvements

2.3
Major battery leak fixed
Support for MoKee ROM added
Better power management on screen-off with PM_SUSPEND_FREEZE
Intelliactive now handles touch booster
Support for FauxSound added

2.2.2
Memory leak fixed
Intelli plug 3.8
Boot speed improved

2.2.1
Battery optimized(sensor sleep)
Toolchain updated
f2fs performance improved with nobarrier
Uses intelli-thermal

2.2
Kernel source rebased
AIO improved
wake-up delay removed

2.1
Config minimalized for lighter kernel
Adaptive backlight reading fixed
(fixes CyanogenMod Settings -> Display & lights crashes)
TCP's Initial Congestion Window tunables from Android 4.4.3
(network performance improvements)

2.0
Upstreamed to latest Linux 3.4.91
Graphics drivers updated and fixed
(grahics glitches fixed)
Source base updated to SHV-E330S_KK_Opensource_Update5.zip
Source code fixes for latest GCC toolchains
Intelliactive updated
Uses sdcardfs for storage emulation
(better performance and battery)
Kernel scheduler and OOM killer improved (by faux123)
Uses new power efficient workqueues
Cypress now independent from ROM
(reduces 300ms wake-up delay)
Moto's memutils optimizations
Fixed incoming notifications with Wi-Fi connection
Random drivers updated
Flip-cover handling improved (by arter97 & Yank555.lu)
BFQ I/O Scheduler updated to v7r4
ext4 debugging codes from Samsung removed for better performance
Intelliplug updated
Wi-Fi driver now built without module
Android 4.4.3 kernel source changes applied
Built with LTO(Link-Time-Optimizations)

1.0
Initial release
 
Last edited:
  • Like
Reactions: phantomize

simonsalo

Senior Member
Apr 20, 2006
254
14
Smart Watches
Usual questions sorry. .. Does this trip the knox flag in 4.3. Also can you list the main features of this kernal over stock?

Sent from my GT-I9506 using XDA Premium 4 mobile app
 

mezo91

Senior Member
Dec 6, 2012
997
98
Cairo
Dead link

Edit

Link works

Sent from my GT-I9506 using Tapatalk
 
Last edited:

mezo91

Senior Member
Dec 6, 2012
997
98
Cairo
Report:
Flashed your cm11 with your kernel.
Boot stuck at samsung logo.

Sent from my GT-I9506 using Tapatalk
 

aresbv2000

Senior Member
Mar 18, 2009
853
294
36
Brasov
It would be nice to have a custom kernel for stock samsung ROM`s. For example...OC, UV, and DT2W functions are awesome.
 

chillar

Senior Member
Feb 7, 2010
109
9
I am using latest CM nightly, the arter97 kernel and the arter97 patch from http://www.arter97.com/s4_cm.htm.
I come from a clean install and would like to encrypt the phone. unfortunately it does not work (screen with green robot is displaying, but nothing happens (its not even crashing). could this work maybe with a different kernel? if so, which one could work?

Thx!



Project revamped.

Users are now reporting it's ready for daily driver.
 

arter97

Recognized Developer
Oct 14, 2012
3,881
34,635
26
Seoul
I am using latest CM nightly, the arter97 kernel and the arter97 patch from http://www.arter97.com/s4_cm.htm.
I come from a clean install and would like to encrypt the phone. unfortunately it does not work (screen with green robot is displaying, but nothing happens (its not even crashing). could this work maybe with a different kernel? if so, which one could work?

Thx!

Encrypt won't work. Your device is rooted anyways, encryption doesn't mean "secure" when it comes to a rooted device.

Not recommended to do so..
 

chillar

Senior Member
Feb 7, 2010
109
9
Encrypt won't work. Your device is rooted anyways, encryption doesn't mean "secure" when it comes to a rooted device.

Not recommended to do so..

encryption is necessary for me due to policy rules. therefore i need to find a solution :)
where is the not working encryption located it? rom, patch or kernel? is it possible to do a workaround by f.e. using a different kernel?
 

arter97

Recognized Developer
Oct 14, 2012
3,881
34,635
26
Seoul
encryption is necessary for me due to policy rules. therefore i need to find a solution :)
where is the not working encryption located it? rom, patch or kernel? is it possible to do a workaround by f.e. using a different kernel?

Try with solk2's CyanogenMod ROM + his kernel.

I'm sorry but I won't make encryption support in my kernel, as it would break other stuffs.
 
  • Like
Reactions: moazhmi

leeweijie99

Senior Member
Mar 30, 2013
154
55
Singapore
Hi @arter97. Great job on the kernel, battery life is better and the phone is definitely snappier:) But I was wondering if you could implement tap2wake in the kernel. S4+ has amoled screen so tap2wake would be really suitable for it. Thanks:D
 

jefferzombie

Senior Member
Jun 10, 2013
158
40
OnePlus 5
Xiaomi Poco F3
Hi arter! I'm using CM11 SPL ROM, and flash your 3.4 kernel, than flash a new SPL build, everything is ok and running, but forgot to flash your kernel, so i do it and after samsung logo, screen get black and nothing happens. Wipe data/cache and reinstall rom than boot and running, after flash the kernel, black screen again.
I miss something?
Thank you!
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 17
    s4_arter97.png


    arter97 kernel for Galaxy S4 LTE-A with AOSP​


    /* Features */


    Based on stock SHV-E330S kernel source
    Supports ONLY AOSP
    Upgraded to the latest Linux
    Compiled using latest ARM hard-float Linaro-toolchain with optimization options
    Speed improvements
    New CPU Governors
    New I/O Schedulers
    Color inverting by quadriple tapping on home button

    /* Details */

    Upgraded to the latest Linux 3.4.104
    Kernel & ramdisk compression in LZ4 format
    Kernel scheduler improvements
    Full unaligned access enabled
    Improved memcpy, hrtimer, mutex, cpufreq, memory-management, writeback
    Optimized RWSEM, crypto, math drivers
    Wi-Fi wakelock reduced
    BFQ v7r5, SIO, FIOPS, FIFO, VF, ZEN I/O Schedulers added
    arteractive CPU Governor replacing interactive
    Deadline I/O Scheduler speed improved
    Asynchronous I/O speed improved
    Asynchronous fsync from hTC ported by faux123
    Dynamic fsync from faux123
    Networking speed improvements
    Disabled MMC-CRC for better speed
    ARCH_POWER enabled
    Fading LED control by AndreiLux
    Replaced MP-Decision with intelli_plug by faux123
    Random driver backported from Linux 3.16+
    H/W random enabled
    SCHED_AUTOGROUP enabled for best multitasking experience
    Westwood as default TCP congestion control for best networking speed
    i2c clock rates adjusted to 19.2 MHz for better battery life
    Uses arteractive CPU governor replacing stock interactive governor
    Built with LTO(Link-Time-Optimizations) to provide optimum performance
    Power-efficient workqueues from Linaro
    Uses Samsung's sdcardfs replacing Google's FUSE daemon for better battery and performance
    SELinux set to permissive

    /* 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 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. Hard. A lot.

    /* Warning */

    Your device's KNOX warrenty will be void just like any other custom kernels
    You're welcome to explore the source code and cherry-picking commits
    Just don't make another one that's based on my kernel or something so much similar to this
    Making mirrors, re-uploading to another servers are strictly prohibited with no exceptions

    /* Supported device */

    Galaxy S4 LTE-A SK (SHV-E330S, ks01lteskt)
    Galaxy S4 LTE-A KT (SHV-E330K, ks01ltektt)
    Galaxy S4 LTE + International (GT-I9506, ks01lte)

    /* Unsupported device */

    Galaxy S4 LTE-A LG (SHV-E330L, ks01ltelgt)
    Galaxy S4 WITHOUT Snapdragon 800 SoC

    /* What you need to know */

    'Opensource' does not mean 'no-respect'
    Leave credits to original developers
    This is only tested on
    - SHV-E330S coming from stock Android 4.4 KitKat
    - SHV-E330K coming from stock Android 4.4 KitKat
    Other variants, other OS may not be fully compatible

    /* Thanks to */

    faux123
    Yank555.lu
    Codeaurora

    /* Contact */

    Email : qkrwngud825@gmail.com
    Twitter : @arter97

    /* Downloads */

    Please disable AdBlocker if you appreciate my work :)
    http://www.arter97.com/s4_kernel.htm
    Source code :
    http://bitbucket.org/arter97/android_kernel_samsung_ks01lte

    /* Installation */

    1. Install ClockworkMod(or PhilZ) recovery
    2. Put kernel on you SD card
    3. Enter recovery
    4. Flash kernel

    /* Troubleshooting */

    Not booting?
    If you don't get passed on "Samsung" white logo, your device is not supported. If you think it should be supported, report to the developer.
    Terrible speed or battery life?
    Battery life is more likely to be affected by applications. Review your installed applications. Customize the kernel settings to get the most out of it. Trickster MOD is recommended.
    Random shutdown?
    Attach log(/proc/last_kmsg) or it didn't happened!

    XDA:DevDB Information
    arter97 kernel for Galaxy S4 LTE-A with AOSP, Kernel for the Samsung Galaxy S 4

    Contributors
    arter97
    Kernel Special Features:

    Version Information
    Status: Testing

    Created 2014-03-23
    Last Updated 2014-10-14
    2
    Project revamped.

    Users are now reporting it's ready for daily driver.
    1
    Changelog

    /* Changelog */

    3.4
    Random reboots on Bluetooth connected FIXED
    BFQ I/O scheduler updated to v7r6
    Misc kernel stability improved
    Thermal throttling misbehaviour fixed
    Generic ARM speed improvements
    CPU hotplugging latency improved
    f2fs compatibility with sdcardfs improved

    3.2
    Graphics merged from SM-N9005
    Kernel scheduler merged from SM-G900F
    S/W video decode screen flickerings fixed
    Powerboost removed
    Memory calculation fixed
    Encryption support for ext4 added
    Back to intellithermal V1

    3.1.1
    Upstreamed to latest Linux 3.4.104
    Battery life improved (commits from @temasek71)
    GPU voltage constraints lowered
    kernel-side flip-cover handlings removed
    (CyanogenMod ROM now handles it perfectly)
    Enabled full unaligned access to LZO and LZ4
    Random reboots on Bluetooth connected improved

    3.1
    CAF graphics merge durp fixed
    Misc thermal drivers updated
    i2c: change clock rates to 19.2 MHz(battery improvements)
    Network performance with process_backlog improved
    Disable GENTLE_FAIR_SLEEPERS when powerboosted
    (Better UI snappiness)
    Screen-off CPU frequency limit unlocked for users experiencing music studders
    Several more network integration with ROM
    Boost CPU frequency on resuming from sleep or screen-off

    3.0
    qrngd random feeder fixed
    Introduction to arteractive, a interactive governor ported from Galaxy S5
    Powerboost added
    healthd replaced for better battery on stand-by
    sched_mc_power_saving set to 0
    Revert "epoll: use freezable blocking call"
    Intelli-thermal V2
    Vibration intensity control added
    Now uses de-CAF'ed graphics for stability, bug-fixes and performance improvements

    2.3
    Major battery leak fixed
    Support for MoKee ROM added
    Better power management on screen-off with PM_SUSPEND_FREEZE
    Intelliactive now handles touch booster
    Support for FauxSound added

    2.2.2
    Memory leak fixed
    Intelli plug 3.8
    Boot speed improved

    2.2.1
    Battery optimized(sensor sleep)
    Toolchain updated
    f2fs performance improved with nobarrier
    Uses intelli-thermal

    2.2
    Kernel source rebased
    AIO improved
    wake-up delay removed

    2.1
    Config minimalized for lighter kernel
    Adaptive backlight reading fixed
    (fixes CyanogenMod Settings -> Display & lights crashes)
    TCP's Initial Congestion Window tunables from Android 4.4.3
    (network performance improvements)

    2.0
    Upstreamed to latest Linux 3.4.91
    Graphics drivers updated and fixed
    (grahics glitches fixed)
    Source base updated to SHV-E330S_KK_Opensource_Update5.zip
    Source code fixes for latest GCC toolchains
    Intelliactive updated
    Uses sdcardfs for storage emulation
    (better performance and battery)
    Kernel scheduler and OOM killer improved (by faux123)
    Uses new power efficient workqueues
    Cypress now independent from ROM
    (reduces 300ms wake-up delay)
    Moto's memutils optimizations
    Fixed incoming notifications with Wi-Fi connection
    Random drivers updated
    Flip-cover handling improved (by arter97 & Yank555.lu)
    BFQ I/O Scheduler updated to v7r4
    ext4 debugging codes from Samsung removed for better performance
    Intelliplug updated
    Wi-Fi driver now built without module
    Android 4.4.3 kernel source changes applied
    Built with LTO(Link-Time-Optimizations)

    1.0
    Initial release
    1
    Can you please make a kernel for non-cm devices?
    1
    encryption is necessary for me due to policy rules. therefore i need to find a solution :)
    where is the not working encryption located it? rom, patch or kernel? is it possible to do a workaround by f.e. using a different kernel?

    Try with solk2's CyanogenMod ROM + his kernel.

    I'm sorry but I won't make encryption support in my kernel, as it would break other stuffs.