[KERNEL][G850F] duki994 Kernel v1.4 - final [LP][STOCK] - Samsung Galaxy Alpha

duki994 Kernel for Stock TouchWiz LP ROMs​
A personal project that had good results and I wanted to share it with others
It's based on official Samsung sources for Lollipop firmware.
Important note:
This kernel should work on any custom ROM that is stock lollipop based
Features:
* Wolfson Audio control (thanks to @AndreiLux)
* Battery charging control (thanks to @AndreiLux)
* CPU voltage control for both A7 and A15 cluster (thanks to @AndreiLux)
* Exposed all OPP voltage controls (thanks to @AndreiLux)
* Powersuspend v1.7 by @faux123 and @Yank555
* LMK, MM and FS powersuspend mods ported from @dorimanx's LG G2 kernel
* SCHED code fixes
* SCHED: HMP thresholds changed and new patches implemented
* Many changes related to ARM instruction code and lowlevel ARM core management
* Enabled NEON mode in kernel with full VFPV4 support
* Added new SHA256 and SHA512 NEON accelerated algortihms - now blazing fast
* UKSM (Ultra Kernel Samepage Merging) - algorithm that's better optimized than standard KSM
* WiFi standby wakelocks (PNO wakelock) reduced
* WiFi userspace power mode/DTIM change (for advanced users ONLY)
* WiFi driver switched from deprecated earlysuspend to use newer powersuspend driver (this is to fix some of bugs that could lead device kernel crash)
* NET updates
* Enabled all TCP congestion protocols and set Westwood as default (best wireless performance)
* Disabled KNOX
* SELinux disabled in kernel
* Fully configurable in Synapse (download from Google Play)
/* Important note to other devs */
You cannot include this to your ROMs. I can't be responsible if anything goes wrong, I can't help with any issues without knowing kernel version and users should be routed to this thread if they want this kernel, or if you recommend it. I think that it's best to separately view custom ROM and custom Kernel, so each dev (ROM or Kernel one) can work on bugs/features and make it as compatible as it can.
However, you can add this thread link and mention me in your thread, so people would know where to ask if some kernel problem arises
Warranty void
By flashing this kernel you will void your warranty. I'm not responsible if you brick your device, or if someone starts nuclear war.
Note:
Don't change voltages on "Busses" tab if you don't know what you are doing. It can reboot your phone if your memory controllers, ISP or MMC controllers can't handle low voltage.
WiFi pasword resetting fix:
Code:
1. open your build.prop file
2. find line ro.securestorage.support
3. change it from true to false (if not already false)
This line being on true will make your WiFi not work good with this kernel. This is due to Samsung's rooting restriction and other Samsung specific workarounds to stop rooting and flashing. Any custom ROM probably has this line changed to false.
Changelogs:
Version 1.4 BETA
Billion critical updates from my G900H version:
* MM code
* new LMK driver
* Exynos interactive governor updated
* IRQ code revamped
* OF code revamped
* New 8-band EQ sound-control
* Numerous ALSA updates and fixes
* Numerous Wolfson DAC driver updates
* MemInfo code updates
etc. list is enormous
Version 1.3
*MM page allocation changes. and others. Now more than 50% faster page_alloc
*RCU and SRCU updates from S6 and upstream + CAF
*NET updates
*USB fixes and updates
*dma mapping ARM fix
Version 1.2.1
*Synapse
->added ROW scheduler to test (experimental)
*Several BLOCK code updates and typo fixes. Some serious bugs fixed.
*Fully updated ROW I/O sched added (experimental)
Version 1.2
* Synapse:
-> disabled min cpu freq control. not needed.
-> added new I/O schedulers
* Massive updates to BLOCK, SHCED, MM, WORKQUEUE critical code
* Added FIOPS and BFQ I/O schedulers
* EXT4 updates to fix possible kernel crashes
* ZSWAP now uses ultra fast and light on cpu LZ4 compression
* CPUFREQ optimizations
* Updated BFQ, FIOPS, DEALINE scheds with fixes and optimizations
Version 1.1
*Synapse:
* Added live cpu stats for all 8 cores (quad A7 and quad A15 cores)
* Added live CPU temperature monitoring
* Added live battery temperature and health status
* Disabled broken battery input current feature (shows 0mA for our PMIC chip)
* Added misc tab:
+ ability to take logcat,dmesg,last_kmsg
+ HMP Little packing switch ON/OFF and explanation
* Added optimized ARM RWSEM algorithm
* Fixed HMP so HMP little packing would work good with our implementation
* thermal IPA(Intelligent Power Aware) now updates power tables immediately when voltage changed from Synapse
* entropy depletion fixes
* Enabled FRANDOM random number generator module for more entropy and less lag
* Added NEON instruction accelerated SHA256/SHA224 algorithm. Now we have SHA384/SHA512, SHA256/SHA224 and SHA1 algorithms NEON accelerated - blazing fast
* HMP little packing switch for Synapse
Experimental option made by nvidia. It groups tasks so more of them would be scheduled across power saving cores (A7 cores in our CPU). It may or may not save battery depending on your usage.
Downloads:
Here it is
https://app.box.com/s/vt70dzo7fzgnlyik4mxkiaaj7xkhjaot
Special thanks:
@AndreiLux for his awesome Synapse app, audio control, charging control, sources and many features/updates and upgrades to Exynos kernel code
@UpInTheAir for his source that I looked when I had bugs, and for his fixes/workarounds
@dorimanx for inspiring me to start developing and his LMK and MM mods
@bonuzzz for his custom KitKat kernel for Galaxy Alpha and his sources
@apb_axel for UKM and his scripts that helped me a lot in making custom Synapse config
XDA:DevDB Information
G850, Kernel for the Samsung Galaxy Alpha
Contributors
duki994
Source Code: https://github.com/duki994/SM-G850_Kernel_LP/
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 1.0
Beta Release Date: 2016-08-12
Created 2015-11-02
Last Updated 2016-08-12

Reserved
How to build this kernel guide
PREREQUISITES
What you need installed to compile
gcc, gpp, cpp, c++, g++, lzma, lzop, ia32-libs flex
If on 64bit Linux, install gcc multilib
Project folder structure
--project_root/ #### can have any name
-----ramdisk_source/ ## defined by RAMDISK_TMP var in script
-----ramdisk_tmp/ ## defined by RAMDISK_DIR var in script
-----kernel_source/ #### can have any name
-----RELEASE/
TOOLCHAIN INFO
Toolchain is already into kernel dir. You just need to have
correct folder structure and run this script. Everything will be auto-built
FLASHABLE ZIP
Flashable zip will be located in project_root/RELEASE directory
and will have name Kernel-slte.zip
All other explanations here:
https://github.com/duki994/SM-G850_Kernel_LP/blob/master/build_kernel.sh
Clone ramdisk source in ramdisk_source
Clone kernel in kernel_source folder
Be sure to have project directory structure as written above
After that, you just need to run:
sudo bash build_kernel.sh
in kernel folder. And voila. After finished you have Kernel-slte.zip in RELEASE directory
If it show any errors, open kernel source and type in terminal:
chmod -R 755 *
Then repeat sudo bash build_kernel.sh

awesome job, thank you
finally undervolt .. yay

ayamgoreng said:
awesome job, thank you
finally undervolt .. yay
Click to expand...
Click to collapse
When you have time, report how it works
Sent from my LG-D802 using Tapatalk

Is it possible to other variants like Galaxy Alpha SM-G850L Korean? Thanks

duki994 said:
When you have time, report how it works
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
I reduce voltage A15,A7 (every speed) by roughly 20mv
gaming (coc,asphalt,etc) for roughly 1 hour; result=stable :good:
edit: volume in the audio also work, louder headphone.

Thanks, I'll try it.
how the battery with this kernel?

gtrs36 said:
Thanks, I'll try it.
how the battery with this kernel?
Click to expand...
Click to collapse
Battery? It's better than stock for me. For screen on, this morning I had 50mins SOT and 87% battery left. That's even better than my LG G2, which is a beast according to tests
My father uses Galaxy Alpha, and yesterday he managed to get 4h SOT with HSDPA data on.
When screen off (in suspended mode) it's very low power consumption due to Powersuspend driver. It's better than stock.

exaflare said:
Is it possible to other variants like Galaxy Alpha SM-G850L Korean? Thanks
Click to expand...
Click to collapse
I have no access to G850L model. I don't know if it will work.
During this week, if I have enough time, I'll download G850L source and build it with all mods/features and give you to test it

thanks duki994.
which app I need install to control on the kernel?

hi!
1. how do You undervolt by 20mv, in synapse i have steps like 1x,xxMv and can set up -25Mv??
2. I have strange warning message after installed this kernel. it says phone needs to reboot. after reboot the same. just annoying

duki994 said:
Battery? It's better than stock for me. For screen on, this morning I had 50mins SOT and 87% battery left. That's even better than my LG G2, which is a beast according to tests
My father uses Galaxy Alpha, and yesterday he managed to get 4h SOT with HSDPA data on.
When screen off (in suspended mode) it's very low power consumption due to Powersuspend driver. It's better than stock.
Click to expand...
Click to collapse
did you UV or what settings did you use ?

m_p11 said:
hi!
1. how do You undervolt by 20mv, in synapse i have steps like 1x,xxMv and can set up -25Mv??
2. I have strange warning message after installed this kernel. it says phone needs to reboot. after reboot the same. just annoying
Click to expand...
Click to collapse
1. Our voltage regulator accepts 6.25mV step. So you can UV/OV in multiples of 6.25. When you do math, 6.25mV x 4 = 25mV
You can't UV -20mV. You can UV -18.75m (3 x 6.25mV). Next step is -25mV (4 x 6.25mv).
Ursurobertt said:
did you UV or what settings did you use ?
Click to expand...
Click to collapse
No UV. All stock. Only changed earpiece volume (incall speaker volume) to higher (+4dB if I recall good from this morning). It's for better hearing incall
UV generally doesn't reduce battery consumption (it's maybe 1%-3% less power usage). Real benefit of UV is lower CPU heat and prolonged life of motherboard.
Some chips can't handle UV at all. Some can be UV by as much as -150mV. It all depends on specific chip that came out of fabric process. Note that UV brings instability on some devices.
Sent from my LG-D802 using Tapatalk

duki994 said:
Battery? It's better than stock for me. For screen on, this morning I had 50mins SOT and 87% battery left. That's even better than my LG G2, which is a beast according to tests
My father uses Galaxy Alpha, and yesterday he managed to get 4h SOT with HSDPA data on.
When screen off (in suspended mode) it's very low power consumption due to Powersuspend driver. It's better than stock.
Click to expand...
Click to collapse
hi dude
what setting are used on your father Alpha,stok or I should change in synapse

hensk said:
hi dude
what setting are used on your father Alpha,stok or I should change in synapse
Click to expand...
Click to collapse
Look at post above yours. I explained everything
Sent from my LG-D802 using Tapatalk

recent button does not works after flashing this kernel.. recent button works fine with stock kernel...

likhon02 said:
recent button does not works after flashing this kernel.. recent button works fine with stock kernel...
Click to expand...
Click to collapse
On which ROM are you? Everything works for me on stock. I have to see if anything changes it.
Did you set secure storage to false in build prop?
I'l automate that in next build.
Kernel doesn't mess with options like recent buttons and Java written parts of Android OS.
Sent from my LG-D802 using Tapatalk

duki, you didn't answer to my question.

gtrs36 said:
duki, you didn't answer to my question.
Click to expand...
Click to collapse
Please read OP before asking. Everything is said there.
Synapse is the app with which you can change settings of this kernel.

duki994 said:
On which ROM are you? Everything works for me on stock. I have to see if anything changes it.
Did you set secure storage to false in build prop?
I'l automate that in next build.
Kernel doesn't mess with options like recent buttons and Java written parts of Android OS.
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
I am on ozcan rom 4.1. my recent button only works with Nordic based stock which is NEE G850FXXU2COI3 5.0.2 11.09.2015 5614954 and ozcan rom..and with any other rom like rr and cm12.1 my recent button does not work.. secure storage is false by default on build.prop .

Related

[KERNEL][GT-S5280/2]ZD Kernel v5.0

Code:
#include <std_disclaimer.h>
/*
* 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.*/
Well, it seems its about time I release one of the most awaited thing (after a long long time) for this device.
Presenting you with a piece of real dev (kinda), Zapdos Kernel.
Features
Compiled from source.
Compiled using ARM official toolchain (4.4.3).
Bootable on ALL firmwares. This removes the distinction between 'old' and 'new' firmwares.
Swap Support. You got that right, swap support on your favorite ROM, regardless of it being 'old' or 'new'.
CPU Frequency Scaling. Apps like CPU-Z and others will now show more details than ever.
1400 Mhz Overclock.
Governors enabled.
More Governors added.
CPU Idle Power Management Support.
More CPU Frequencies.
Modified Voltage table for better battery life. [UPDATE]
Settings -> Battery, will now show battery usage by apps too. Partially fixed in v2.0 Update.
More I/O Schedulers.
Dynamic Read Ahead Support.
Dynamic Fsync v2.0. Gives massive boost in I/O Performance, and is reflected in benchmark. (Thanks to Faux123)[UPDATE]
Added Double Tap 2 wake feature.
Added bunch of TCP Congestion Controls.
Added Mali GPU profiling.
Based on gzip compression method.
Insecured boot.
Easy root enabled.
Bunch of corrections.
Uses Custom boot splash.
Added VR I/O Scheduler. [NEW]
Added Zen I/O Scheduler. [NEW]
Added TripnDroid I/O Scheduler. [NEW]
Added FIFO I/O Scheduler.[NEW]
In-app updates. [NEW]
Disabled Gentle Fair Sleepers. [NEW]
Asynchronous I/O latency to a solid-state disk greatly increased.. [NEW]
NOATIME and NODIRATIME by default. [NEW]
Disabled CRC check. [NEW]
Optimized SLUB. [NEW]
Optimized Square root algorithm. [NEW]
No dirty things in kernel version. [NEW]
Bugs/Glitches
It is highly likely to experience bugs and glitches, because CPU frequency is enabled. Samsung had disabled it for stability issues.
After reboot, battery remaining value drops drastically, but will increase back eventually to normal, its a glitch, not a bug.
Attaining CPU frequency scaling like other Android Phones is difficult, real-time CPU Frequency scaling isn't possible because, if tried, results in crash.
Broken battery usage by all apps after overclock. Partially fixed in v2.0.
DoubleTap2wake is experimental, it sometimes does not work by name (i.e you need to tap more than 2 times, but it will work for sure).
Credits
Unjustified Dev - For his modifications in defconfig, which was needed to boot the kernel.
Doc - For his findings about non-bootable zImage.
psych.half - For providing me insights about development and Linux Platform.
varun.chitre15 - For helping me make a boot.img, various insights about kernel development and always inspired me.
faux123 - For his awesome dynamic fsync driver.
thewisenerd - For his full support in integrating doubletap2wake.
showp184 - For his double tap to wake driver.
Downloads
Here
Installation
By PC
Download zip.
Put it in your phone.
Boot into recovery mode.
Flash zip.
No need to wipe any data before and after.
Reboot & Enjoy.
By Phone
Download Gesture Control App.
Install it.
Open the app, go to update section (download icon in top right corner).
From there, install/update the kernel.
When download is finished, you will be asked to flash. Press flash button if on CWM v6.0.3.7 only. Then it will boot to recovery, just press Yes then.
If you want to flash manually, downloaded file is saved in sdcard/
XDA:DevDB Information
Zapdos, Kernel for the Samsung Galaxy Star
Contributors
AvinabaDalal
Source Code: https://github.com/corphish/zapdos_mint
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 4.0
Beta Release Date: 2015-03-19
Created 2015-03-18
Last Updated 2015-10-06
Reserved for F.A.Q and Changelog
Frequently Asked Questions
Q. I tried/want to try this, but I have some doubts....
A. You are reading the right post, find your queries below, if not post it.
Q. Nice work dude, thanks....
A. Well, XDA has done a great job in reducing a man's effort of typing 6 letters to just a click on a button called 'Thanks Button'. Didn't they?
Q. Can I use it in my ROM/MOD ?
A. Sadly, NO, sorry. Since the sources have been provided, also kernel may cause problems when flashed after ROM, so its is not recommended to include it in a ROM. But you can obviously refer others to this kernel.
Q. Will this work on GT-S5280?
A. Well, since I don't have that variant, and since its a kernel, I would say not to try this on GT-S5280. And hence, No.
Q. What version of CWM do I need to use?
A. 6.0.2.8 or 6.0.3.7 only, no CWM v5.
Q. I tried this kernel out of excitement, but now realized that it was not for my phone.........?
A. May God Bless You.
Q. What are the features/speciality of the kernel?
A. First, read the 1st post. Second, get/change your spectacles.
Q. Will this work on XYZ Firmware/ROM for GT-S5282?
A. Hell Yeah!!
More Q/A will be added eventually.
If you can't find, post your queries here.
Changelog
Code:
[B]v4.0 - 5 July 2015[/B]
--Added many IOSchedulers.
--Zen
--Fifo
--Vr
--TripnDroid
-Disabled GFS.
-Asynchronous I/O latency to a solid-state disk greatly increased.
-NOATIME and NODIRATIME by default.
-Disabled CRC check.
-Optimized SLUB.
-Optimized Square root algorithm.
-No dirty things in kernel version.
-Enabled KSM.
-Added 1600 Mhz locked frequency.
-Improvements in CPU frequency scaling.
-Updated Dynamic fsync driver to v2.
-Revised Voltage Table for battery improvements.
-Added 200Mhz frequency.
[B]v2.0 - 28 March 2015[/B]
-Fixed not being able to set max CPU frequency.
-Improvements in frequency scaling.
-Added 400,800 Mhz frequencies.
-Modified voltage table, its now more power efficient.
-Overclock to 1400Mhz.
-Added smartassv2, lulzactive governors.
-I/O Optimization : Dynamic read ahead support.
-I/O Optimization : Dynamic fsync.
-Added doubletap2wake. [EXPERIMENTAL]
-Added bunch of TCP Net Congestion Controls.
-Added Mali GPU Profiling.
[B]v1.1 - 20 March 2015[/B]
-1200Mhz Overclock
-Deadline I/O scheduler.
-Improvements in frequency scaling.
-Other optimizations and value corrections.
[B]v1.0 - 19 March 2015[/B]
-Initial release.
Reserved for kernel tweaks and settings
To get the most out of this kernel, install ThunderZap Control App by @varun.chitre15
FREE Version - https://play.google.com/store/apps/details?id=com.varun.thunderzapcontrol
PAID Version - https://play.google.com/store/apps/details?id=com.varun.thunderzapcontrolpro
**Note - DO NOT try to mirror this app. If you want to download use Google Play Store only. If you want to share, share the links given above. DO NOT upload the app to any 3rd party hosting site. You have been warned.
In this app, various sections can be accessed by swiping from left edge to right.
CPU Section
Governors - Use smartassV2. You can use ondemand to get the core running at 1400Mhz.
You can adjust max and min frequencies too. Always keep max frequency 1000 Mhz or above.
Memory Management Section
I/O Schedulers - Use any, unless more are added.
Always keep the Dynamic Fsync option on (layout issue there, but blue means on).
You can play with other options too, instructions are mentioned there.
Network
Use any control, I would recommend Westwood. (Layout issue there again).
Don't forget to enable set on boot, can be found in settings.
DoubleTap2Wake
An update to this app should bring double tap to wake toggle under Special Section (And that is why I highly recommend to use this app). But for now -
Install Terminal Emulator - https://play.google.com/store/apps/details?id=jackpal.androidterm
Run the app, and then type -
Code:
su
echo 1 > sys/android_touch/doubletap2wake
It can be done using adb shell too.
Run Antutu benchmark, and feel the difference.
Will be updated as per kernel.
imma try it bro...and i hit it for u, ..thank you again for this work..keep it going bro.
Awesome..... its working.......
!!!!!congratulations for galaxy star!!!!....:thumbup:
I want to know answer for small question..my stock kernel has 469 mb ram why custom kernel has 459mb ram?
HiT tHaNkS iF I HeLpD u..~~~
Nice Work dude
Will inude this on my rom if u approve
thanks mate also button pressed
thanks for your efforts .will try as soon i will reach at my home
Updates
A Q/A thread for this can be found here.
Added AFH mirrors for those who are facing download issues. Next time, AFH mirrors only.
Next Update will bring-
1. CPU Overclock to 1200Mhz
2. Deadline ioscheduler.
3. Full CPU frequency scaling.
Who's waiting?
rag555 said:
Awesome..... its working.......
!!!!!congratulations for galaxy star!!!!....:thumbup:
I want to know answer for small question..my stock kernel has 469 mb ram why custom kernel has 459mb ram?
HiT tHaNkS iF I HeLpD u..~~~
Click to expand...
Click to collapse
This is because you were on old stock kernel, this one is based on newer sources.
Use Q/A thread next time.
Great work i gonna try it , thanks
im w8ng for nxt update. .. .
AvinabaDalal said:
Next Update will bring-
1. CPU Overclock to 1200Mhz
2. Deadline ioscheduler.
3. Full CPU frequency scaling.
Who's waiting?
Click to expand...
Click to collapse
Kernel is working properly :good: and I am eagerly waiting for the update :fingers-crossed:..
v1.1 Update? Here it comes
Changelog
-1200Mhz Overclock
-Deadline I/O scheduler.
-Improvements in frequency scaling.
-Other optimizations and value corrections.
Removed Odin flashable, since there were no downloads.
Download link updated in OP.
Kernel tweaks (post #3) updated.
Kernel will be soon named Zapdos.
Next Update will be even more big, but its not coming out any soon.
Don't ask about ETA's please.
Solved
v1.1 - bro i cant use contacts (ie keypad ,dialer, logs etc). The msg reads ""unfortunately, contacts has stopped" ..........m on stock rom
v1.0 - same result on this version
Solved...............restored Nandroid backup....and now everything is working fine
Bro plz tell me what is the best governor and scheduler combination for maximum performance
OMG Your Kernel is TRENDING in Indonesia !!
BTW Nice Work
Sent from my GT-S5282 using XDA Free mobile app
@AvinabaDalal : do u compile the source kernel using cm10.1 ?
cleverior.ipul said:
@AvinabaDalal : do u compile the source kernel using cm10.1 ?
Click to expand...
Click to collapse
Nope, I compiled it using ARM toolchain as they had asked to. But I plan to switch to Linaro Toolchain.
And I am not sure whether it will boot CM 10.1 (chances are there though). But it boots perfectly on all stock ROMs.
AvinabaDalal said:
Nope, I compiled it using ARM toolchain as they had asked to. But I plan to switch to Linaro Toolchain.
And I am not sure whether it will boot CM 10.1 (chances are there though). But it boots perfectly on all stock ROMs.
Click to expand...
Click to collapse
what the different of ARM toolchain and Linaro toolchain ?
v2.0 is up!!
Changelog
-Fixed not being able to set max CPU frequency.
-Improvements in frequency scaling.
-Added 400,800 Mhz frequencies.
-Modified voltage table, its now more power efficient.
-Overclock to 1400Mhz.
-Added smartassv2, lulzactive governors.
-I/O Optimization : Dynamic read ahead support.
-I/O Optimization : Dynamic fsync.
-Added doubletap2wake. [EXPERIMENTAL]
-Added bunch of TCP Net Congestion Controls.
-Added Mali GPU Profiling.
You can find download link here.
Do check post #3. This has been updated.
Really this is just awesome...what's the next target
press thankks if you like my work
Great......
~~hiT tHaNkS iF I HeLpD u~~

[KERNEL][G900H] duki994 Kernel [LP][STOCK]

duki994 Kernel for Stock TouchWiz LP ROMs​
Development stopped for Lollipop. Please update to MM and go to my MM thread​
This is for LP only!!! For MM go to duki994 MM kernel thread:
MM kernel thread
It's based on official Samsung sources for Lollipop firmware.
Important note:
This kernel should work on any custom ROM that is stock lollipop based and is based on stock BOL2 source
Features:
* Wolfson Audio control adapted to G900H implementation (thanks to @AndreiLux)
* Battery charging current control
* CPU voltage control for both A7 and A15 cluster (thanks to @AndreiLux)
* Exposed all OPP voltage controls (thanks to @AndreiLux)
* Powersuspend v1.7 by @faux123 and @Yank555
* MM and FS powersuspend mods ported from @dorimanx's LG G2 kernel
* SCHED code fixes
* SCHED: HMP thresholds changed and new patches implemented
* OF code updated --> better/faster reading of DTS and faster operation
* Many changes related to ARM instruction code and lowlevel ARM core management
* Enabled NEON mode in kernel with full VFPV4 support
* Added new SHA256 , SHA512, SHA1, ASH2 and AES NEON accelerated algortihms - now blazing fast
* WiFi standby wakelocks (PNO wakelock) reduced
* WiFi userspace power mode/DTIM change (for advanced users ONLY)
* WiFi driver switched from deprecated earlysuspend to use newer powersuspend driver (this is to fix some of bugs that could lead device kernel crash)
* WiFi: fixed enormous battery drain during standby/suspend
* NET updates
* LMK updated and added new feature: Adaptive LMK --> better multitasking
* Enabled all TCP congestion protocols and set Westwood as default (best wireless performance)
* Disabled KNOX
* Wakelock disabler: You can disable some common Samsung wakelocks in Synapse "Misc" tab if some of them are draining your battery
* Fully configurable in Synapse (download from Google Play)
/* Important note to other devs */
You cannot include this kernel in your ROMs. I can't be responsible if anything goes wrong, I can't help with any issues without knowing kernel version and users should be routed to this thread if they want this kernel, or if you recommend it. I think that it's best to separately view custom ROM and custom Kernel, so each dev (ROM or Kernel one) can work on bugs/features and make it as compatible as it can.
However, you can add this thread link and mention me in your thread, as so people would know where to ask if kernel problem arises. I would do the same for you
Warranty void
By flashing this kernel you will void your warranty. I'm not responsible if you brick your device, or if someone starts nuclear war.
Note:
Don't change voltages on "Busses" tab if you don't know what you are doing. It can reboot your phone if your memory controllers, ISP or MMC controllers that can't handle low voltage.
If someone happens to have bug with WiFi saved password being lost every reboot, here is fix:
WiFi pasword resetting fix:
Code:
1. open your build.prop file
2. find line ro.securestorage.support
3. change it from true to false (if not already false)
This line being on true CAN make your WiFi forget password each reboot. This is due to Samsung's rooting restriction and other Samsung specific workarounds to stop rooting and flashing. Any custom ROM probably has this line changed to false.
Changelogs:
Version 1.8
*Added LED fading control made by @AndreiLux
Version 1.7
* Fixed interactive governor logic. I forgot logic code for CPUFREQ_RELATION_C. Now interactive is 50% more responsive.
* Backport some ASLR changes
* Added ZEN IO scheduler and set it as default (beware that Synapse will auto reapply YOUR settings after boot, so ZEN won't be set. If you want it set it in Synapse I/O tab)
* updated GPU ION memory allocation code
* Exposed HMP up/down threshold tuning in Synapse ---> "HMP tuning" tab
* Fixed false adaptive LMK triggers --> less RAM clearing when not needed
Version 1.6.1
* GPU control code revamped
* GPU frequency scaling logic revamped. Fixed various bugs introduced in stock and in min/max control code + optimizations
* Synapse: added monitoring current values for DVFS Interactive governor (for GPU).
* DVFS Interactive governor is now working very good.
* Sensorhub wakelocks reduced (sensorhub and ssp wakelocks)
Version 1.6
* Disabled TIMA and some other Exynos specific non needed stuff
* New GPU Governor - Interactive
* GPU governor Interactive tunables exposed in Synapse
* Many GPU control code optimizations
* Reverted to stock DVFS OC table
* Fixed DVFS table for our SoC
* Set SELinux permissive on boot --> But after 20sec some ROM binary sets it back to enforcing.
Who wants SELinux permissive, he can set it in Synapse. But ROM boots permissive
* Better min/max GPU freq guards
* Updated touchscreen with powersuspend driver to see if it's possible to use wakeup gestures.
Version 1.5
* Disabled GPU tracing to squeeze out 3-6FPS more in games. Also should run smoother now.
* Framebuffer cmap buffer overflow check
* GPU OC --> 600MHz and 677MHz steps
---> use very carefully
* GPU min/max clock control
Version 1.4
* LMK fix
* Beefed up ASLR to give hackers more headache now if they try hacking the phone
* Upstream commits for lowlevel ARM optimization from ARM themselves
* New compiler flags. Should run about 40% faster
Version 1.3
* IRQ code updated --> critical code updated
* updated NET code that works with internet
* ALSA and Arizona (WM5110 audio chip in our phone) fixes
* SCHED, TIMER, RCU code updated
* REGMAP updates
* MM: new shrinker API --> many drivers use this (such as LMK)
Version 1.2
* Fixed critical bugs in ADJ RBTREE code, used by LMK driver
I recommend you to critical update kernel now.
* Disabled adaptive LMK by default and added userspace switch to turn on/off adaptive LMK in Synapse (in Misc tab)
* Tuned LMK minfree values.
* Updated BINDER and FS critical code
Version 1.1
* Fixed Synapse power efficient workqueues checkbox --> now works good
* Disabled PE workqueues by default
* Added SELinux enforcing/permissive switch in Synape (it's last checkbox in Misc tab)
* charge_control: new charge control made by @duki994 (me) (based on @Lord Boeffla's code, but refactored and reworked from scratch)
-->It's harcoded in max77804 charging chip. Now charge control should work and obey set values.
* Fixed miscellaneous things
Sources:
Kernel:
https://github.com/duki994/G900H_LP_Kernel
Ramdisk:
https://github.com/duki994/G900H_LP_ramdisk
Downloads:
Here they are
https://app.box.com/s/2e6tl98jpyat8cf77jjqspvrj2u3ix1a
Known bugs:
* Turning headphone EQ on will lower headphone output volume.
* If you set any of Headphone EQ bands to 3dB, Wolfson audio chip will produce very unpleasant noise and stop playing.
It seems that it's inner HW components don't like that gain.
Every other setting will work, just don't set any band to 3dB Works after audio updates
* Charger controls for AC current are not reacting to change.. New charge control driver is good now.
Special thanks:
@AndreiLux for his awesome Synapse app, audio control, charging control, sources and many features/updates and upgrades to Exynos kernel code
@UpInTheAir for his source that I looked when I had bugs, and for his fixes/workarounds
@halaszk88 for his source that I looked when I had bugs, and for his fixes/workarounds
@dorimanx for inspiring me to start developing and his mods
@apb_axel for UKM and his scripts that helped me a lot in making custom Synapse config
XDA:DevDB Information
G900H LP Kernel, Kernel for the Samsung Galaxy S 5
Contributors
duki994
Source Code: https://github.com/duki994/G900H_LP_Kernel
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.8
Stable Release Date: 2016-05-01
Created 2016-04-04
Last Updated 2016-08-05
Reserved
CPU OC is unnecessary for our device.
And CPU underclock won't save more battery.
It'll actually drain more battery.
On very low freqs CPU can't finish task and needs to bump freq up. The freq changing is much more power costly than being on stock 500mhz min for A7 and 800mhz min for A15.
Look at power curves.
We have power curves similar to those on 5433, just about 20% lower I think
This are high performance cores (A15, A57, A72...)
{
"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"
}
And this are for power-saving cores (A7, A53...)
The shape of curve for our chip is almost same, only with lower consumption. Look how exponentially it increases as you put frequency after 1.2GHz.
So if I enable OC to, let's say, 2GHz, then power consumption would be 20% higher than on 1.9GHz and performance would be 4% higher.
But don't let that fool you. Phone may last 2s-3s on 2GHz. Then it would throttle down when it overheats due too much power dissipation.
So in the end you get much lower performance than you would have on 1.9GHz.
And keep in mind that Exynos 7420 is built on 14nm FinFET technology, and Exynos 5422 is 28nm HKMG.
So we may use a bit more power than 7420.
My observation:
I get maximum performance on 1.8GHz. Phone is heating at least 10 celsius degrees less than on 1.9GHz so almost no thermal throttling.
For games and high performance apps, I suggest that you lock A15 core cluster on 1.8GHz.
Source for Exynos 7420 in-depth review:
http://www.anandtech.com/show/9330/exynos-7420-deep-dive/5
Reserved
i got tears in my eye,thank u very much,will test and report asap
kernel still enforcing,hope can permisive next build,hard 2 install audio mod like dolby
hope there will be overclock options and lower min freq.
the gpu voltage @266mhz weirdly high @default in synapse.
cpu workqueu checklist doesnt stick after rebot
kernel dont boot in BPC4 but runnin fine in BPC8 strange because i use the same BL
stuttering in music with screen off
other than that great kernel waiting 4 d next build
Good work.. Thxx
nice work mate... phone is not laggy now..
Bro I guess selinux is still enforcing. can we get a permissive feauture in next update.
i'm install dolby digital pluse with this kernal..but not work why>
gelarman said:
i got tears in my eye,thank u very much,will test and report asap
kernel still enforcing,hope can permisive next build,hard 2 install audio mod like dolby
hope there will be overclock options and lower min freq.
the gpu voltage @266mhz weirdly high @default in synapse.
cpu workqueu checklist doesnt stick after rebot
kernel dont boot in BPC4 but runnin fine in BPC8 strange because i use the same BL
stuttering in music with screen off
other than that great kernel waiting 4 d next build
Click to expand...
Click to collapse
I know about PE switch. I mady typo in ramdisk. Will be fixed
I use BOL2 ramdisk and BOG4 (latest kernel sources given by Samsung).
It should also work on BPC4. But use BPC8 if it doesn't.
GPU voltage is bug or made intentionally by ARM/Samsung. I lowered it to 25mv higher than 177mhz voltage and it works.
Also new charging driver made by me will be included in next release for testing
ebrahim jaber said:
i'm install dolby digital pluse with this kernal..but not work why>
Click to expand...
Click to collapse
Probably SELinux enforcing.
I will leave it on by default due to Stock ROM apps need, but I'll add checkbox/switch in Synapse to switch it enforcing/permissive. It should fix those problems with dolby sound.
Why install Dolby sound? WM5110 is awesome and as good as my ASUS Xonar Essence One DAC. And I'm audiophile. That's why I bought this phone
tycoon78[stoner] said:
nice work mate... phone is not laggy now..
Bro I guess selinux is still enforcing. can we get a permissive feauture in next update.
Click to expand...
Click to collapse
I will also disable PE workqueues by default. They drain battery more in heavier usage and make sound stutter.
Sent from my SM-G900H using Tapatalk
Installed.. And using it as it is.. But having more battery drain than stock kernel..
Where did i go wrong?
Thanks mate
Sent from my SM-G900H using XDA-Developers mobile app
ponkz said:
Installed.. And using it as it is.. But having more battery drain than stock kernel..
Where did i go wrong?
Thanks mate
Sent from my SM-G900H using XDA-Developers mobile app
Click to expand...
Click to collapse
Type this in terminal:
su
echo "N" > /sys/module/workqueue/parameters/power_efficient
It will disable PE workqueues. In some workloads I noticed that they drain battery more. I'll fix this in next build today and non-working PE workq. switch
Sent from my SM-G900H using Tapatalk
Good Job B|
Version 1.1
Changelog:
* Fixed Synapse power efficient workqueues checkbox --> now works good
* Disabled PE workqueues by default
* Added SELinux enforcing/permissive switch in Synapse (it's last checkbox in Misc tab)
* charge_control: new charge control made by @duki994 (me) (based on @Lord Boeffla's code, but refactored and reworked from scratch)
-->It's harcoded in max77804 charging chip. Now charge control should work and obey set values.
* Fixed miscellaneous things
Downloads:
Same link as in OP
Don't forget to give feedback, report bugs or request features
duki994 said:
Changelog:
* Fixed Synapse power efficient workqueues checkbox --> now works good
* Disabled PE workqueues by default
* Added SELinux enforcing/permissive switch in Synapse (it's last checkbox in Misc tab)
* charge_control: new charge control made by @duki994 (me) (based on @Lord Boeffla's code, but refactored and reworked from scratch)
-->It's harcoded in max77804 charging chip. Now charge control should work and obey set values.
* Fixed miscellaneous things
Downloads:
Same link as in OP
Don't forget to give feedback, report bugs or request features
Click to expand...
Click to collapse
Hi @duki994, would you be able to include doubletap2wake or swipe2wake in your kernel in the next release or future releases? It will be really cool if the phone wakes up on double tapping the screen!!! THanks
Version 1.2
Changelog:
* Fixed critical bugs in ADJ RBTREE code, used by LMK driver
I recommend you to critical update kernel now.
* Disabled adaptive LMK by default and added userspace switch to turn on/off adaptive LMK in Synapse (in Misc tab)
* Tuned LMK minfree values.
* Updated BINDER and FS critical code
Downloads:
Same link as in OP
@jawzf
Yeah. That would be cool. I have exams next week, so I don't know if I can merge those changes for sweep/tap functions until then, but I want those features too. I come from G2.
Double tap is natural to me. Maybe only sweep functions can be implemented. I know LG's double tap drivers. It's coupled with custom synaptics touch chip firmware which has HW level support for double tap,
Note that sweep/double tap funcs may drain much more battery. And our driver is different from G900F.
But I'll merge and adapt 'em when time allows
EDIT: Charge current control driver is working as it should
Well looks like is time to test your kernel
duki994 said:
duki994 Kernel for Stock TouchWiz LP ROMs​
A personal project that had good results and I wanted to share it with others
It's based on official Samsung sources for Lollipop firmware.
Important note:
This kernel should work on any custom ROM that is stock lollipop based and is based on stock BOL2 source
Features:
* Wolfson Audio control adapted to G900H implementation (thanks to @AndreiLux)
* Battery charging current control
* CPU voltage control for both A7 and A15 cluster (thanks to @AndreiLux)
* Exposed all OPP voltage controls (thanks to @AndreiLux)
* Powersuspend v1.7 by @faux123 and @Yank555
* MM and FS powersuspend mods ported from @dorimanx's LG G2 kernel
* SCHED code fixes
* SCHED: HMP thresholds changed and new patches implemented
* OF code updated --> better/faster reading of DTS and faster operation
* Many changes related to ARM instruction code and lowlevel ARM core management
* Enabled NEON mode in kernel with full VFPV4 support
* Added new SHA256 , SHA512, SHA1, ASH2 and AES NEON accelerated algortihms - now blazing fast
* WiFi standby wakelocks (PNO wakelock) reduced
* WiFi userspace power mode/DTIM change (for advanced users ONLY)
* WiFi driver switched from deprecated earlysuspend to use newer powersuspend driver (this is to fix some of bugs that could lead device kernel crash)
* WiFi: fixed enormous battery drain during standby/suspend
* NET updates
* LMK updated and added new feature: Adaptive LMK --> better multitasking
* Enabled all TCP congestion protocols and set Westwood as default (best wireless performance)
* Disabled KNOX
* Wakelock disabler: You can disable some common Samsung wakelocks in Synapse "Misc" tab if some of them are draining your battery
* Fully configurable in Synapse (download from Google Play)
/* Important note to other devs */
You cannot include this kernel in your ROMs. I can't be responsible if anything goes wrong, I can't help with any issues without knowing kernel version and users should be routed to this thread if they want this kernel, or if you recommend it. I think that it's best to separately view custom ROM and custom Kernel, so each dev (ROM or Kernel one) can work on bugs/features and make it as compatible as it can.
However, you can add this thread link and mention me in your thread, as so people would know where to ask if kernel problem arises. I would do the same for you
Warranty void
By flashing this kernel you will void your warranty. I'm not responsible if you brick your device, or if someone starts nuclear war.
Note:
Don't change voltages on "Busses" tab if you don't know what you are doing. It can reboot your phone if your memory controllers, ISP or MMC controllers that can't handle low voltage.
If someone happens to have bug with WiFi saved password being lost every reboot, here is fix:
WiFi pasword resetting fix:
Code:
1. open your build.prop file
2. find line ro.securestorage.support
3. change it from true to false (if not already false)
This line being on true CAN make your WiFi forget password each reboot. This is due to Samsung's rooting restriction and other Samsung specific workarounds to stop rooting and flashing. Any custom ROM probably has this line changed to false.
Changelogs:
Version 1.2
* Fixed critical bugs in ADJ RBTREE code, used by LMK driver
I recommend you to critical update kernel now.
* Disabled adaptive LMK by default and added userspace switch to turn on/off adaptive LMK in Synapse (in Misc tab)
* Tuned LMK minfree values.
* Updated BINDER and FS critical code
Version 1.1
* Fixed Synapse power efficient workqueues checkbox --> now works good
* Disabled PE workqueues by default
* Added SELinux enforcing/permissive switch in Synape (it's last checkbox in Misc tab)
* charge_control: new charge control made by @duki994 (me) (based on @Lord Boeffla's code, but refactored and reworked from scratch)
-->It's harcoded in max77804 charging chip. Now charge control should work and obey set values.
* Fixed miscellaneous things
Sources:
Kernel:
https://github.com/duki994/G900H_LP_Kernel
Ramdisk:
https://github.com/duki994/G900H_LP_ramdisk
Downloads:
Here they are
https://app.box.com/s/2e6tl98jpyat8cf77jjqspvrj2u3ix1a
Known bugs:
* Turning headphone EQ on will lower headphone output volume.
* If you set any of Headphone EQ bands to 3dB, Wolfson audio chip will produce very unpleasant noise and stop playing.
It seems that it's inner HW components don't like that gain.
Every other setting will work, just don't set any band to 3dB
* Charger controls for AC current are not reacting to change.. New charge control driver is good now.
Special thanks:
@AndreiLux for his awesome Synapse app, audio control, charging control, sources and many features/updates and upgrades to Exynos kernel code
@UpInTheAir for his source that I looked when I had bugs, and for his fixes/workarounds
@halaszk88 for his source that I looked when I had bugs, and for his fixes/workarounds
@dorimanx for inspiring me to start developing and his mods
@apb_axel for UKM and his scripts that helped me a lot in making custom Synapse config
XDA:DevDB Information
G900H, Kernel for the Samsung Galaxy S 5
Contributors
duki994
Source Code: https://github.com/duki994/G900H_LP_Kernel
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.1
Stable Release Date: 2016-04-04
Created 2016-04-04
Last Updated 2016-04-05
Click to expand...
Click to collapse
[email protected], we need more custom (rom/kernel/tweak....) for G900H ..keep work❤
download link not exist !!!
plz reply download link my post !
Erfan S5 said:
download link not exist !!!
plz reply download link my post !
Click to expand...
Click to collapse
Please read OP better. I won't respond to questions like these in future.
Download link:
https://app.box.com/s/2e6tl98jpyat8cf77jjqspvrj2u3ix1a
It's written in OP. Read better.
Sent from my SM-G900H using Tapatalk
Well. In 1.2 I have also updated Wolfson audio code. It fixed 3db HP EQ gain on my device.
Test this and see if any HP Eq gain on 3dB makes unpleasant noise
Sent from my SM-G900H using Tapatalk
@duki994 maybe he cannot click the download link in the OP.. Because its just a text.. Not link ?
Sent from my SM-G900H using XDA-Developers mobile app

[KERNEL][G900H] duki994 Kernel v1.9 [MM][STOCK]

duki994 Kernel for Stock TouchWiz MM ROMs​
Development stopped. I don't have device anymore​
This is for MM only!!! For LP go to duki994 LP kernel thread
LP kernel thread
It's based on official Samsung CPE6 sources for Marshmallow firmware.
Important note:
This kernel should work on any custom ROM that is stock lollipop based and is based on stock CPE6 source
Features:
* Wolfson Audio control adapted to G900H implementation (thanks to @AndreiLux)
* Charge control by me (@duki994)
* CPU voltage control for both A7 and A15 cluster (thanks to @AndreiLux)
* Exposed all OPP voltage controls (thanks to @AndreiLux)
* LED fading control (thanks to @AndreiLux)
* Powersuspend v1.7 by @faux123 and @Yank555
* MM and FS powersuspend mods ported from @dorimanx's LG G2 kernel
* SCHED code fixes
* SCHED: HMP thresholds changed and new patches implemented
* OF code updated --> better/faster reading of DTS and faster operation
* Many changes related to ARM instruction code and lowlevel ARM core management
* Enabled NEON mode in kernel with full VFPV4 support
* Added new SHA256 , SHA512, SHA1, ASH2 and AES NEON accelerated algortihms - now blazing fast
* WiFi fixes
* NET updates
* LMK updated and added new feature: Adaptive LMK --> better multitasking
* Enabled all TCP congestion protocols and set Westwood as default (best wireless performance)
* Wakelock disabler: You can disable some common Samsung wakelocks in Synapse "Misc" tab if some of them are draining your battery
* Fully configurable in Synapse application (download from Google Play)
For kernel configuration use Synapse
Download from Google Play.
Google Play link for lazy people:
https://play.google.com/store/apps/details?id=com.af.synapse
/* Important note to other devs */
You cannot include this kernel in your ROMs. I can't be responsible if anything goes wrong, I can't help with any issues without knowing kernel version and users should be routed to this thread if they want this kernel, or if you recommend it. I think that it's best to separately view custom ROM and custom Kernel, so each dev (ROM or Kernel one) can work on bugs/features and make it as compatible as it can.
However, you can add this thread link and mention me in your thread, as so people would know where to ask if kernel problem arises. I will do the same for you
Warranty void
By flashing this kernel you will void your warranty. I'm not responsible if you brick your device, or if someone starts nuclear war.
Note:
Don't change voltages on "Busses" tab if you don't know what you are doing. It can reboot your phone if your memory controllers, ISP or MMC controllers that can't handle low voltage.
If someone happens to have bug with WiFi saved password being lost every reboot, here is fix:
WiFi pasword resetting fix:
Code:
1. open your build.prop file
2. find line ro.securestorage.support
3. change it from true to false (if not already false)
This line being on true WILL make your WiFi forget password each reboot. This is due to Samsung's rooting restriction and other Samsung specific workarounds to stop rooting and flashing. Any custom ROM probably has this line changed to false.
GitHub sources:
Kernel:
https://github.com/duki994/g900h_mm_kernel
Ramdisk:
https://github.com/duki994/g900h_mm_ramdisk
SuperSU problem fix:
After each kernel installation you'll need to reinstall SuperSU from Play Store or from apk.
I'm trying to solve this problem currently.
Root and busybox work as intended. Problem is only with SuperSU app.
Downloads folder:
https://www.androidfilehost.com/?w=files&flid=91231
Downlads mirror:
https://app.box.com/s/v8txuc1n82l48sksdhf2obx2blupol4c
Always make backup of boot partition in case something goes wrong!!! You have been warned
Stock CPE6 flashable kernel:
It's found in downloads folder and in downloads mirror.
Changelog:
Version 1.9 BETA
* MM updates
* IRQ and ARM GIC (Generic Interrupt Controller) updates
* CPUFREQ critical performance and battery saving updates for big.LITTLE architecture
* ARM arch specific updates and workaround for various bugs from Linaro LSK 3.10.x tree and ARM devs
* EXT4 and FS updates for better performance and less CPU usage. Also some code cleanups.
* NET updates
* Silenced mDNIe dmesg hooks. Not needed now as mDNIe control is working as it should.
* RCU NOCB ALL for better softirq workings in kernel (should provide boost to moderate usage)
Version 1.8
* Added mDNIe control (display color interface like KCAL for Qualcomm) (thanks to @AndreiLux)
* Interactive governor updated (will stay on min freq and not ramp up when load is <5%)
Older versions changelog:
Version 1.7
* Further LMK updates. Ported LMK driver from arter97's S6 repository (much faster code with less task searching and choosing loops)
* MM updates needed for new LMK
* Added several protected apps within code
Version 1.6
* Reverted some LMK changes and fully implemented ADJ_RBTREE in Samsung's OOM LMK code (this should fix some performace issues (like small lags) while freeing RAM)
* Added several system processes in LMK protected apps (LMK won't kill them unless your system RAM is highly overloaded and on verge of collapse)
Version 1.5
* Interactive governor optimizations and tunings from other Exynos kernels and other devs + me (mostly from S6 kernels)
* Interactive governor screen off power save
* MM updates
* MemInfo updated so Android OS can have better memory stats and thus better memory management
* Hardcoded some props like securestorage support and TIMA so that they are false/0/off.
* Power management code updated
Version 1.4
* Workaround headset outbound call BUG (thanks to @ponkz for reporting this nasty bug)
* Clean up some code and correct several descriptions in Synapse.
Version 1.3
* Made "Main speaker gain" control for new Clearwater based Arizona-class sound control
Version 1.2.1
* Correctly calibrated equalizer frequencies in sound control (thanks to AndreiLux for tip)
* Updated interactive governor
Version 1.2
* Added IPA thermal trigger temp control
* Removed some battery saving features that were actually DRAINING BATTERY
----> HMP little packing, PE workqueues removed
* Removed Wakelock Control because it causes SoD's when user disables important wakelock!
* Added new 8-band EQ Sound control made for S6 that work awesome (god bless @AndreiLux)
----> it has even per channel 8-band EQ's
* Made some compatibility improvements
Version 1.1
* Added GPU voltage control
* Fixed some ramdisk scripts
* Optimized compiler flags for GPU code
* ro.secure=0 and ro.adb.secure=0 so ADB is now like unchained beast for those who like to play with ROMs and system files and have bootloops
XDA:DevDB Information
G900H MM Kernel, Kernel for the Samsung Galaxy S5
Contributors
duki994
Source Code: https://github.com/duki994/g900h_mm_kernel
Kernel Special Features: Voltage control, Sound control, Charge control, Freq control, LED control
Version Information
Status: Stable
Current Stable Version: 1.8
Stable Release Date: 2016-08-16
Current Beta Version: 1.9
Beta Release Date: 2016-08-21
Created 2016-07-27
Last Updated 2016-11-10
Reserved
CPU OC is unnecessary for our device.
And CPU underclock won't save more battery.
It'll actually drain more battery.
On very low freqs CPU can't finish task and needs to bump freq up. The freq changing is much more power costly than being on stock 500mhz min for A7 and 800mhz min for A15.
Look at power curves.
We have power curves similar to those on 5433, just about 20% lower I think
This are high performance cores (A15, A57, A72...)
{
"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"
}
And this are for power-saving cores (A7, A53...)
The shape of curve for our chip is almost same, only with lower consumption. Look how exponentially it increases as you put frequency after 1.2GHz.
So if I enable OC to, let's say, 2GHz, then power consumption would be 20% higher than on 1.9GHz and performance would be 4% higher.
But don't let that fool you. Phone may last 2s-3s on 2GHz. Then it would throttle down when it overheats due too much power dissipation.
So in the end you get much lower performance than you would have on 1.9GHz.
And keep in mind that Exynos 7420 is built on 14nm FinFET technology, and Exynos 5422 is 28nm HKMG.
So we may use a bit more power than 7420.
My observation:
I get maximum performance on 1.8GHz. Phone is heating at least 10 celsius degrees less than on 1.9GHz so almost no thermal throttling.
For games and high performance apps, I suggest that you lock A15 core cluster on 1.8GHz.
Source for Exynos 7420 in-depth review:
http://www.anandtech.com/show/9330/exynos-7420-deep-dive/5
Tips & Tricks
I suggest you use Xposed for Samsung MM ROMs and Xposed module called XTouchWiz.
They are both maintained by @wanam
XTouchWiz ​ Recommended settings:
* Disable TouchWiz DVFS (you'll get enormous performance boost)
* Disable KNOX/TIMA (disabled TIMA in kernel, but XTouchWiz uses Xposed method hooks to disable it in ROM)
XTouchWiz thread and download link in @wanam's thread:
http://forum.xda-developers.com/xposed/modules/app-xtouchwiz-customize-stock-samsung-t3296878
Xposed for Samsung Marshmallow ​ Latest version and download links in @wanam's thread:
http://forum.xda-developers.com/xposed/unofficial-xposed-samsung-lollipop-t3180960
:good::good::good:Great great great...My waiting is finished. thanx a lot for great surprise. Flashing...:good::good:
Good to see you back )) you made my day bro
Is it permissive????
Sent from my SM-G935F using Tapatalk
BlueZ said:
Is it permissive????
Sent from my SM-G935F using Tapatalk
Click to expand...
Click to collapse
Not on boot. You can set it to permissive in Synapse.
But I use patched sepolicy from SuperSU (thanks to Chainfire), so permissive/enforcing shouldn't make too much difference (or problems) anyway
duki994 said:
Not on boot. You can set it to permissive in Synapse.
But I use patched sepolicy from SuperSU (thanks to Chainfire), so permissive/enforcing shouldn't make too much difference (or problems) anyway
Click to expand...
Click to collapse
Thanks I'll try it
Sent from my SM-G935F using Tapatalk
TheDarkSithLord said:
Good to see you back )) you made my day bro
Click to expand...
Click to collapse
Thanks
P.S
Do not quote OP. Never!
Please edit your post and delete OP qoute before moderators do it. It's against XDA rules for a good number of reasons.
One of them is:
If I make changes to OP they won't be reflected to your quote in your post and someone may miss very important info.
Please consider this. It's for good of other users of any kernel/ROM/app on XDA
Sent from my SM-G900H using Tapatalk
Nice I will try it as soon as i get back home. Thx for the hard work.
what about battery life
shahram Ali said:
what about battery life
Click to expand...
Click to collapse
For me, alpha versions were awesome. This one should be better.
Especially when on WiFi/Data or any other internet connection.
If you have bigger battery drain, then you have something wrong in you ROM setup/boot scripts.
Plus wait for a few days to get accurate battery life. I released this version today so no objective batt life readings yet
Be patient and ot'll pay off
Sent from my SM-G900H using Tapatalk
Does it support private mode and other *stock* kernel supported apps?
iDouvie said:
Does it support private mode and other *stock* kernel supported apps?
Click to expand...
Click to collapse
Try and see. I have no need for private mode and I don't use it.
Fingerprint works, S Health and other work too.
I suggest using XTouchWiz and disabling DVFS
Sent from my SM-G900H using Tapatalk
duki994 said:
For me, alpha versions were awesome. This one should be better.
Especially when on WiFi/Data or any other internet connection.
If you have bigger battery drain, then you have something wrong in you ROM setup/boot scripts.
Plus wait for a few days to get accurate battery life. I released this version today so no objective batt life readings yet
Be patient and ot'll pay off
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
I am tested ut and not that much i will use it for 24 hours then if i saw any bug i will report dude i lived ur LP kernel and this one not bad for battery but greenapple kernel was better hope see next version with better battery
Top notch kernel as always.. can u share ur best battery setting in synapse mr @duki994 because i need a little more battery saving..
Thanks :victory:
Report after first day 0f usage ) kernel is amazing ) battery life is wonderful ) my phone isn't lagging at all)) good job @duki994 ) also thanks to @somadsul for his green apple Kernel ) keep it up too or duki will understand that he beyond compression and will add features not one by one but half by half as nvidia do now )))))
P.S that was a joke
P.P.S about kernel awesomeness it's not a joke
Cheers ))
ponkz said:
Top notch kernel as always.. can u share ur best battery setting in synapse mr @duki994 because i need a little more battery saving..
Thanks :victory:
Click to expand...
Click to collapse
If you really need mre battery saving then replace battery. I'm serious.
I get like 1hr SoT and 80% battery. Just a bit worse than my old G2 with enormous masterpiece, Dorimanx kernel.
Use XTouchWiz and disable DVFS. Everything else sjould work much better.
I can't fully disable DVFS for exynos 5422 in kernel. It's at least 70% userspace and uses ioctl commands.
That's what Samsung did. Disable DVFS via XTouchWiz (via Xposed framework) and you're OK
Can't fix that in kernel. And it uses too much battery.
For power saving, undervolt by 25mV all cores (A7 + A15) and use ROW or NOOP sched. But performance will be at leas 10% lower for maybe 30min more SoT. Maybe !!!
Sent from my SM-G900H using Tapatalk
duki994 said:
If you really need mre battery saving then replace battery. I'm serious.
I get like 1hr SoT and 80% battery. Just a bit worse than my old G2 with enormous masterpiece, Dorimanx kernel.
Use XTouchWiz and disable DVFS. Everything else sjould work much better.
I can't fully disable DVFS for exynos 5422 in kernel. It's at least 70% userspace and uses ioctl commands.
That's what Samsung did. Disable DVFS via XTouchWiz (via Xposed framework) and you're OK
Can't fix that in kernel. And it uses too much battery.
For power saving, undervolt by 25mV all cores (A7 + A15) and use ROW or NOOP sched. But performance will be at leas 10% lower for maybe 30min more SoT. Maybe !!!
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
Would you recommend using the PE workqueues and HMP little packing options with your kernel?
@duki994 Dude im waiting for this.. Great work.. Could u please add insecure ADB and enable ADB debugging default so as to easy to take logs while in bootloop as i was always playing with system files.

[KERNEL][SM-G531H/BT] RZ Kernel for Samsung Galaxy Grand Prime VE

RZ Kernel for Samsung Galaxy Grand Prime VE
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this 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.*/
Features
I/O Schedulers
FIOPS
BFQ (updated for 3.10)
DEADLINE
ROW
SIOPLUS
ZEN
CPU hotplugs
IntelliPlug
Governors
conservative
intelliactive
ondemand
powersave
performance DEFAULT
sprdemand
CPU
Fixed High-Load Average from UnInterruptible Waits (reduces CPU-Load even more in idle state).
Support for Fast-IDLING of CPU (should reduce Power-Consumption a lot).
Support for Power Efficient WorkQueue to reduce Power-Consumption (available in CPU tab of Kernel Adiutor).
Support for Multi-Core Power Saving, reduce CPU usage (available in CPU tab of Kernel Adiutor).
Reduced CPU Average-Load drastically (Less CPU-Load=Cool Device=More Battery-Life).
Battery
Support for ARCH_Power to reduce Power-Consumption and increase Battery-Life.
Support for the new PowerSuspend algorithm (improves Battery-Life).
Support for preventing unnecessary WakeLocks (improves Battery-Life). (available under the Misc. Tab of Kernel Adiutor)
Support for Larch Power feature (should improve Battery-Life).
Memory
Support for Adaptive Low Memory Killer (ALMK) (kill any process that cause thrashing scenario)
Support for Kernel Samepage Merging (KSM).
Support for Swap, FrontSwap, and zSwap techniques (improve performance significantly when zRAM is full).
Support for Memory Compaction (improves performance).
Support for CleanCache Driver (improves I/O performance).
Support for zRAM compression algorithm (improves performance by saving memory).
Support for LZ4HC (LZ4 high-compression rate) compression algorithm for zRAM
Support for Virtual Memory Reclaim (should free more RAM).
Other tweaks and optimizations
Compiled using UBERTC 6.3.1 for best battery usage
Upgraded to latest Linux version (3.10.105)
Unaligned memory access
Init.d support
Support dt2w (Double-tap to wake) module (available in Wake/Wake controls tab in Kernel Adiutor)
Support Faux Sound Control (use Faux Sound app to set audio gain profiles)
Support Dynamic voltage controller (available in CPU voltage tab in Kernel Adiutor app)
Lowest Possible CPU-Usage (a lot of tweaks have been implemented system-wide).
Reduced Kernel Log Buffer to minimum.
Using -03 optimization flag (optimize for speed)
Disabled Debug-Info (should reduce the size of the kernel making it lighter).
Disabled generation of ELF Core-Dumps (should reduce the size of the kernel making it lighter).
Disabled SLUB Debugging Support (should reduce the size of the kernel making it lighter).
Support for CRC-Toggle (Enabled by Default in Misc. TAB).
Optimizations to reduce WakeLocks.
Optimized Console FrameBuffer for upto 70% increase in Performance.
Optimized Integer SQRT. for upto 3x faster operation.
XDA:DevDB Information
RZ Kernel, Kernel for the Samsung Galaxy Grand Prime
Contributors
doesntexits, remilia15
Source Code: https://github.com/remilia15/android_kernel_samsung_grandprimeve3g
Kernel Special Features: Init.d support
Version Information
Status: Testing
Created 2016-08-20
Last Updated 2017-05-28
Download links, installation instructions and changelog
Download link: Drive
Installation instructions
Make sure you have unlocked bootloader in Developer options, else hard brick(why Sammy, why?)
Download SuperSU (Link)
Copy the downloaded kernel zip into your internal or external SD card
Install TWRP recovery through Odin (download link: Here)
Install SuperSU (mandatory)
Install kernel zip
Reboot your device and enjoy
CHANGELOG
v1.0: Initial release
v1.1: Post #25
v1.2: Post #26
v2.0: Post #27
v2.1: Post #58
v2.2: Post #76
v2.3: Post #80
v2.4: Post #119
v2.5: Post #130
v3.0: Post #137
v3.1: Post #150
v3.3: Post #153
v3.5: Post #190
[IMPORTANT]: Stock users read here
Off-topic: Fixing multitasking for crappy TouchWiz and enable zRAM
Multitasking:
First, open your build.prop, find the lines starting with:
Code:
sys.config.samp
or
Code:
sys.config.spcm
Remove all of them, and then add these lines:
Code:
ro.config.dha_cached_max=16
ro.config.dha_cached_min=8
ro.config.dha_empty_max=32
ro.config.dha_empty_min=8
ro.config.dha_empty_init=32
Enabling zRAM
Find these lines:
Code:
#ro.config.zram.support=true
‪#‎ro‬.board_ram_size=mid
Remove all the hash on top of the lines, then save build.prop, restart your phone. Done!
Seems like this phone isn't too famous like original GP yeah :silly:
doesntexits said:
Seems like this phone isn't too famous like original GP yeah :silly:
Click to expand...
Click to collapse
Will I be able to use Magisk systemless xposed when flashing this ?
Rosun_07 said:
Will I be able to use Magisk systemless xposed when flashing this ?
Click to expand...
Click to collapse
Yes you can
doesntexits said:
Yes you can
Click to expand...
Click to collapse
Ok :fingers-crossed:
Flashing and reporting :highfive:
Superuser link not working :/
Rosun_07 said:
Ok :fingers-crossed:
Flashing and reporting :highfive:
Superuser link not working :/
Click to expand...
Click to collapse
Reinstall SuperSU then its OK
@doesntexits Thanks for all your work. I appreciate all your hard work, tho I don't have this variant but one of my friends does have it so I'll try it on that device nd will let you know.
Nd yeah don't worry about the crowd, you'll have it soon.
One more thing, the tweaks in 3rd post, Mostly probably they work on G530H?
Has.007 said:
@doesntexits Thanks for all your work. I appreciate all your hard work, tho I don't have this variant but one of my friends does have it so I'll try it on that device nd will let you know.
Nd yeah don't worry about the crowd, you'll have it soon.
One more thing, the tweaks in 3rd post, Mostly probably they work on G530H?
Click to expand...
Click to collapse
Just try it. I think that should work
But anyway, use CM instead. Stock Sammy is crap you know
This kernel is very good, but please make overlock, and performance of graphics,i have some times lag, please brother, overclock and graphics performance please!
Working :highfive:
Thumbs up for you
ERICKONIX said:
This kernel is very good, but please make overlock, and performance of graphics,i have some times lag, please brother, overclock and graphics performance please!
Click to expand...
Click to collapse
Yes I also notice the graphics lags of the kernel, probably is from Mali driver. Stock also does that too. I'll try to add frequency controller if I can
And for OC, maybe it isn't needed, since it just kill your battery worse. Mostly the CPU will run at 1,2GHz instead of maximum 1,3GHz (well for some situations like gaming, it runs on maximum freq)
doesntexits said:
Yes I also notice the graphics lags of the kernel, probably is from Mali driver. Stock also does that too. I'll try to add frequency controller if I can
And for OC, maybe it isn't needed, since it just kill your battery worse. Mostly the CPU will run at 1,2GHz instead of maximum 1,3GHz (well for some situations like gaming, it runs on maximum freq)
Click to expand...
Click to collapse
Please , brother to increase graphics performance and the overclocking CPU is fine, but please increase graphics performance or make overclocking the GPU and this is perfect please thanks brother, you are the best,great job
I think I'll ask mods to move all of the G530H threads to original development section, because in a few hours, this thread will be burried down, and no one will see it until they choose to open the whole development section
have any news of CyanogenMod for this model?
Kernel Is Good but not stable
Excellent implementations of battery saving tweaks :laugh:
Lost only 3% during 8 hours on standby at night , :good:
However It compromises between performance for more battery . . .
There's lags more than stock
Rosun_07 said:
Kernel Is Good but not stable
Excellent implementations of battery saving tweaks :laugh:
Lost only 3% during 8 hours on standby at night , :good:
However It compromises between performance for more battery . . .
There's lags more than stock
Click to expand...
Click to collapse
Thanks for reporting. I'm currently working on it, but can't be fast as I have my real life to take care too
what is name of this application in screenshots?
what is name of this application in screenshots?

[DISCONTINUED][kernel][J Series 2015][TW-MM] hadesKernel v2.5R [06.06.2017]

Code:
Disclaimer
#include
*
* [B]Your warranty is now void.[/B]
*
* 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.
*/
Welcome to hadesKernel
Some personal thoughts:
- this kernel works only on J5 2015 versions. I`m not responsable for what can happen if you flash on other devices.
- v2.3 for J5 already includes all the previous things from A5 releases.
- if you take any of my work without my permission i'll report you, and you'll probably get banned.
- you should read at least install instructions stated in this post - i won`t offer support for any issues regarding installation;
- bug reports without device variant and logs can't be considered bugs - make sure you provide detailed info when reporting bugs;
- press 'Thanks' button instead of saying it - it will keep the thread clean and keep me motivated to do more;
- feel free to donate to me if you want to support my work.
Features:
Aroma Installer with root options
SuperSU 2.79 SR3
Magisk v12.0
OTG support enabled
Private mode (for roms that support that feature)
knox 0x0 - borrowed some things from magisk and from @Bulgaricus
CPU overclock to 1.5Ghz
GPU overclock to 720Mhz
J500HXXU2BPK4 update - December security patches
Adreno Idler
intelli_thermal
nvidia relaxation patch
undervolt
Color calibration
prima wlan driver
fast, stable and cool
Latest ramdisk
Permissive kernel
init.d support
maybe more - will update when remember...
Devices:
J500F
J500FN
J500G
J500M
J500H
Bugs:
None (see FAQ on #3 post for any issues)
Instructions:
make sure you have TWRP from here installed (or any other with Aroma Installer support)
download zip and put it into phone's storage
enter TWRP recovery
flash zip
reboot and enjoy
Downloads
Credits:
*DjSteve
*Lord Boeffla
*psndna88
*Bulgaricus
*SuperR
*Faux123
*duki994
*kernel testers
*if i missed someone PM me and i`ll add
XDA:DevDB Information
hadesKernel v2.5, Kernel for the Samsung Galaxy J5
Contributors
corsicanu
Source Code: https://github.com/corsicanu/hadesKernel
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: v2.5
Beta Release Date: 2017-04-26
Created 2017-02-21
Last Updated 2017-07-03
Reserved
Changelog:
v2.5R - 06.06.2017
fixed private mode for roms that support this feature
v2.5 - 26.04.2017
fixed heating on A500G
fixed wifi
re-fixed camera for J5 family
added i/o schedulers back
v2.4 - 25.04.2017
kernel built permissive to avoid some issues
updated ramdisk to latest official fw
added root options in Aroma
added Magisk as root option
removed charging limit for some devices
disabled modules unload
reworked modules implementation,
*now you can switch to any other kernel without wifi or FM Radio issues
reworked knox 0x0 script
revert update to linux 3.10.60 for now
revert add more governors for now
revert add hotplugs for now
revert add i/o schedulers for now
v2.3 - 05.04.2017
fixed camera focus for J series
added support for A500W and A500K
updated to linux 3.10.60
added more governors (alucard/lionfish/barry_allen/intelliactive - these can be unstable-use interactive if you have issues)
added hotplugs (intelliplug/bricked hotplug/alucard/msm_hotplug)
added i/o schedulers (vr/fiops/sioplus/zen) and set FIOPS as default
knox 0x0 - borrowed some things from magisk and from @Bulgaricus
updated powersuspend
ramdisk tune-ups
cpufreq tune-ups
memory/cache tune-ups
v2.2 - 20.02.2017
added support for J5 2015 (J500xx)
added usb fast charge
made cubic tcp default for better net speeds
disabled software CRC for better performance
optimized framebuffer for better performance
added regulator for overclock
undervolted for better battery
lowered safe frequency from 400 to 200mhz
A5S deepsleep fix
added nvidia relaxation patch for better battery
enhance power efficiency
implement fast idling of CPU
reduced high-load and average-load for better battery
enabled arch_power
lowered throttle threeshold and enable it by default
v2.1 - 10.02.2017
Fix FM Radio
Fix OTG for all versions
Fix overheating issues for G
Add support for A3FU
Add SuperSU-v2.79-SR3
v2.0 - 25.01.2017
J500HXXU2BPK4 update - December security patches
Add support for A500H/A500S versions
Add builtin wlan module
Add westwood tcp and make cubic default again
Adreno Idler 1.1, fixed msm_adreno_tz
Add powersuspend
More msm-thermal tweaks
kernel: reduce overheat
Enable multi-core power savings
Add SuperSU SR5 back
Fix Deepsleep for F/G/M
Add 50Mhz and 100Mhz frequencies for low consumption when awake (AOD)
Add dynamic sync 2.0
Add lcd notify
xz: Optimize Sfck Compression
Added Aroma Installer
v1.4 - 22.12.2016
Fixed wifi again for each version
Multitask and battery optimisations + permissive mode enabled
Fix for frequencies not sticking at boot
ramdisk cpu / io / battery tune-ups
Add specific ramdisk for each supported variants
Separate SU from ramdisk
Fixed Kcal (color calibration)
V1.3 - 15.12.2016
add KCAL driver
4sysctl: favor filesystem
GPU OC to 720Mhz
Reverted CPU OC to 1.5Ghz
Fixed wifi for A500G
V1.2 - 11.11.2016
A500FU SuperSU SR3 patch + init.d support
SuperSU SR3 patch + init.d support
Experimental wifi fix
A500FU support
Switch to CUBIC TCP congestion control
arch/arm : compile with hardfloat + neon-vfpv4"
Tune-up for Cortex A53/ARMv8 architecture
V1.0 - 08.11.2016 - initial release
A500GXXU1CPH4 update
OTG and permissive enabling
free-mem optimisations
added SU patched ramdisk
2.07Ghz CPU OC
Enable neon and VFPv3
enable xz compression
Reserved
FAQ:
Q: My wifi is broken after flash. What to do?
A: Flash latest modem available for your device.
Q: Can`t connect to wifi network. What to do?
A: Reboot the phone, reboot the wifi router/ap, make sure you don`t have mac filtering enabled on ap/router.
Q: MAC adress has changed. What to do?
A: There is nothing you can do. That happens because of newer wifi module, built along with kernel, from the latest sources. If you can`t connect see Q2 above. I won`t change back to legacy wifi modules, at least not now.
Q: Device appears as "unauthorized" in adb and notification to authorize doesn`t appear. What to do?
A: Enter developer options, disable usb debugging, wait 30 seconds and re-enable it. Now you should see the notification to allow debugging.
Q: loading
A: loading
One more just in case of need
Deleted.
#Henkate said:
It's nice to see you here.
Click to expand...
Click to collapse
Multumesc!
Great .
Fast Kernel, Stable. (First really good kernel for J5)
From the tester to this build your kernel has worked perfectly. (Commenting here your tester)
My new rom with your kernel is amazing.
Cheers! :highfive:
Thanks @corsicanu ..
I'm using this kernel on my Stock 6.0.1 rom & I must say that this is one of the best kernels for J5.. Its very fast & stable..
Thank You So Much..
---------- Post added at 09:04 AM ---------- Previous post was at 08:59 AM ----------
By Zonik said:
Great .
Fast Kernel, Stable. (First really good kernel for J5)
From the tester to this build your kernel has worked perfectly. (Commenting here your tester)
My new rom with your kernel is amazing.
Cheers! :highfive:
Click to expand...
Click to collapse
Hi @By Zonik ..
Waiting for your rom (v2) bro..
Some q's
Fast charge as in fast charge?? Does our present kernels support that, beacause it's pretty slow.
Any plans to follow it up for a non touchwiz based rom??
does it support skies rom beta ??
corsicanu said:
One more just in case of need
Click to expand...
Click to collapse
Does the kernel work well with a single processor at the frequency of 50Mhz?
If you set a different GPU frequency to 720Mhz when the GPU is at 100%, is the Max frequency set or rising to 720 ignoring the set frequency? ?
Finally something interesting for the lands of the J5
For me the link doesnt work i just get this:
YuZaGa said:
Fast charge as in fast charge?? Does our present kernels support that, beacause it's pretty slow.
Any plans to follow it up for a non touchwiz based rom??
Click to expand...
Click to collapse
I will quote my friend @Bulgaricus for this
...we force supporting devices such as laptops and desktops that have fast charge to provide the quick charger to our phone.
I will see what can be done in the future for non touchwiz.
Super.Mody said:
does it support skies rom beta ??
Click to expand...
Click to collapse
From what i know Skies Rom is based on touchwiz so it will work. Test and report.
paulo boë said:
For me the link doesnt work i just get this:
Click to expand...
Click to collapse
Just wait more or refresh the page.
Demicro said:
Does the kernel work well with a single processor at the frequency of 50Mhz?
If you set a different GPU frequency to 720Mhz when the GPU is at 100%, is the Max frequency set or rising to 720 ignoring the set frequency? ?
Finally something interesting for the lands of the J5
Click to expand...
Click to collapse
I added 50Mhz for some certain scenarios, to step down the freq if the load is small - screen on but idle (i have screen timeout set to 10mins), or screen off and awake (for AOD on the roms that have it-my rom for A5). Anyway i have custom script in ramdisk that bypasses stock init.qcom.post_boot.sh and sets custom loads for all the frequencies, so the device can go down even to 50Mhz, but step up if the load is reached, so it doesn't lag at all.
About gpu - from what i saw it sticks to maximum set (i use kernel adiutor).
I mostly cherry-picked features and fixes, even from your j5(6) kernel [emoji16] since all are based on same soc. This project started as personal kernel, permissive with otg enabled (because A series has OTG disabled by Samsung), and after that decided to add more things and make it public.
Cheers!
Sent from my SM-N930F using Tapatalk
OMG ITS SO SMOOOOOOTTHHHHH. I bearly have any lag:laugh::victory:
Demicro said:
Does the kernel work well with a single processor at the frequency of 50Mhz?
If you set a different GPU frequency to 720Mhz when the GPU is at 100%, is the Max frequency set or rising to 720 ignoring the set frequency? ?
Finally something interesting for the lands of the J5
Click to expand...
Click to collapse
corsicanu said:
About gpu - from what i saw it sticks to maximum set (i use kernel adiutor).
Sent from my SM-N930F using Tapatalk
Click to expand...
Click to collapse
You can see the GPU frequency in real time by using these commands in Terminal (PC):
Code:
adb shell
cd /sys/devices/soc.0/1c00000.qcom,kgsl-3d0/devfreq/1c00000.qcom,kgsl-3d0
while true; do cat trans_stat; busybox sleep 0.1; done
1) The path may be different.
2) The current GPU frequency is the one with the asterisk.
3) Total transictions means the total switches between GPU frequencies.
Try these commands to confirm that the GPU frequency is stuck at 720.
We can bring the current fast charging also on custom roms or even improve the fast charging to support custom mAh and stuff like that. But forcing a battery to charge faster than it's limit can demage and reduce the battery life drastically so I think we will leave it just like that. Greetings
corsicanu said:
From what i know Skies Rom is based on touchwiz so it will work. Test and report.
Click to expand...
Click to collapse
Skies Rom beta is a Note 7 Port rom .. so it is Grace UX not touchwiz ..
corsicanu said:
I will quote my friend @Bulgaricus for this
...we force supporting devices such as laptops and desktops that have fast charge to provide the quick charger to our phone.
I will see what can be done in the future for non touchwiz.
From what i know Skies Rom is based on touchwiz so it will work. Test and report.
Just wait more or refresh the page.
I added 50Mhz for some certain scenarios, to step down the freq if the load is small - screen on but idle (i have screen timeout set to 10mins), or screen off and awake (for AOD on the roms that have it-my rom for A5). Anyway i have custom script in ramdisk that bypasses stock init.qcom.post_boot.sh and sets custom loads for all the frequencies, so the device can go down even to 50Mhz, but step up if the load is reached, so it doesn't lag at all.
About gpu - from what i saw it sticks to maximum set (i use kernel adiutor).
I mostly cherry-picked features and fixes, even from your j5(6) kernel [emoji16] since all are based on same soc. This project started as personal kernel, permissive with otg enabled (because A series has OTG disabled by Samsung), and after that decided to add more things and make it public.
Click to expand...
Click to collapse
I know, that you have cherry pick from me?
I also found something interesting in your code
Referring to the intelli thermal, I do not know why faux124 used a different thermal control for the TSEN8974. I found that version 1 gives some errors in the logcat when I boot up the phone
I also started my kernel for personal use, specifically to be able to use viper4 ? I just needed the kernel to be permissive. And now look where the kernel go
Super.Mody said:
Skies Rom beta is a Note 7 Port rom .. so it is Grace UX not touchwiz ..
Click to expand...
Click to collapse
Grace UX is touchwiz based. Non tw roms are lineage, cyanogenmod, or any other that uses AOSP as base.
Sent from my SM-N930F using Tapatalk
Demicro said:
I know, that you have cherry pick from me?
I also found something interesting in your code
Referring to the intelli thermal, I do not know why faux124 used a different thermal control for the TSEN8974. I found that version 1 gives some errors in the logcat when I boot up the phone
I also started my kernel for personal use, specifically to be able to use viper4 ? I just needed the kernel to be permissive. And now look where the kernel go
Click to expand...
Click to collapse
I removed it from features/changelog since isn`t activated yet. I saw too late in msm8916 defconfig the CONFIG_THERMAL_MONITOR=y so the intelli_thermal isn`t there yet. I can`t even finish the build (lots of errors), and you have errors in logcat ?. You are way far than me. For now i didn`t had time to chase those errors. I`ll look more maybe next week. Anything else interesting in my source? ?
Cheers!

Categories

Resources