[KERNEL][G900H] duki994 Kernel v1.9 [MM][STOCK] - Galaxy S 5 Android Development (Exynos)

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.

Related

[KERNEL-KK-4.4.2][51xx]SphereKat-Rev5.4[DICONTINUED]

Info & Thanks
What you need to know before you use this kernel.
This kernel got Selinux Permissive state as it supports more apps like TiTaniumbackup.
Reverting back to a Selinux enforced Kernel (stock) is no longer a problem from Rev3.0 and up.
You can set Selinux Status with the included Synapse app
You want to know why this kernel comes with Selinux included, google for Selinux and search your answers.
AllCast mirror will not work as this is a Samsung thing and not opensource.
If this is a problem for you, don't use this kernel.
DISCONTINUED , A NEW THREAD WILL BE OPENED FOR THE NEW KERNEL SUPPORTING ONLY THE KITKAT BOOTLOADER.
NO JELLYBEAN BOOLTOADER SUPPORT, IT IS TIME TO MOVE FORWARD.
INSTALLATION
Take a full nandroid backup.
NO NEED TO BE ON ANY KITKAT BOOTLOADER (your wifi will work with this kernel)
YOU NEED TO BE ON A KITKAT TOUCHWIZ ROM.
Install with cwm
Thanks:
sidmoraes for pointing me to other kernel source that I could use as base, still had to change some stuff but this is better then waiting for samsung to release there source, if they ever will. (Finally Samsung released source)
Andreilux - Faux123 - Yank555.lu for kernel work
ZaneZam for the zzmoove governor
​
{
"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"
}
This kernel comes with the policy: IT IS AS IT IS.​Use at your own risk
Take a Nandroid backup of your system and of your boot.img
You need to be on custom cwm to install this
ONLY FOR SAMSUNG TOUCHWIZ BASED KITKAT ROMS​
Benchmark scores:
Stock Normal Note8.0 Antutu Ranking. 17708 points
My Antutu = 23486 points
Stock Quadrant ranking = 6613 points
My Quadrant = 13685 points
CivZ-SphereKat-REV5.4-GT-N5110-5100/5120 And older versions.
Never install a kernel that is not for your device, it will cause a hard brick.
Stock kernels can be found in the SphereKat folder of your device
The only good app to control this Kernel is the included SYNAPSE app​Example of what synapse looks like,THIS IS JUST A EXAMPLE.
SphereEngine KERNEL Features
If you change nothing these are the following Features/optimisations you get compared to Stock:
SELINUX protection included but set at Permissive = No problems wit apps like Paragon and Titainium.
SELinux control with Synapse
S-Pen Alignment fixed
Default Speeds 200MHz-1600MHz
Activating Saving power will result into 200MHz-1100MHz.
GPU Overclocking thanks ZaneZam / DerTeufel / AndreiLux
GPU settings are:
Step0 54MHz = new Idle step = when in browser mode and no gaming this low GPU speed will help save power
Step1 266MHz
Step2 350MHz
Step3 533MHz = new speed foe step3 for better performance in drawing
Step4 700MHz = New OC speed for the better gaming performance
GPU settings are not editable and hard set in the kernel
Init.d support
ARCH-Power enabled
DynamicFSYNC = Use Terminal command or Trickster Mod app. = enabled by default.
Memory Leak fixed
mmc cap erase disabled ( just as a precaution )
[*]IKCONFIG_PROC support
Driver support included in kernel:
NTFS_RW / FAT / FAT32 / EXFAT support
3Gusb Support (ppp widget)
CIFS / UFS / ISO9660 / UDF_FS / HF / HF_PLUS
Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter support
Ralink driver support : Ralink rt2500 (USB) / Ralink rt2501/rt73 (USB) / Ralink rt27xx/rt28xx/rt30xx(USB)/rt2800usb - Include support for rt33xx , rt35xx , rt53xx
Extra Drivers: MAC80211 / RTL8187 / EEPROM_93cx6 Support
Boeflla 1.6.0 Sound engine support
OTG Audio dock , Car dock support
[*]SideSync support
[*]Dynamic Samsung Hotplugging
Note on CIFS:
Example on what you enter, but your IP and share, if that wasn't clear. The option section is very important
Note on NTFS
You need to use Paragon!
You need to set your mount point yourself.
Example and recommended is:
Code:
/mnt/extSdCard/paragon
Advanced users support
OC & UV support for CPU
Max CPU speed is 1920MHz
Min CPU speed is 100MHz
Governors: Adaptive, Pegasusq (recommended), Performance, Ondemand, Interactive.
Schedulers: cfq, Noop, Deadline, Row, Sio, VR
Extra TCP wifi connection added: Westood, reno, htcp, vegas, veno.
Changelog:
07/Jun/2014 First Public release Rev2.0
08/Jun/2014 First Public release Rev2.1
[*]GPU step 5 included, now max it will go to 533MHz
[*]Auobrightness sensor fixes part2
[*]CPU sloop adjusted
[*]zzmoove profile nr8.
09/Jun/2014 First Public release Rev2.2
[*]Memory Leak fix cpu stats
[*]Memory Leak fix Kernel Ext4 & Power
[*]zzmoove profile nr6.
I recommend not to use Interactive and Powersave governor as they are buggy.
09/Jun/2014 First Public release Rev3.0
[*]Selinux included in the kernel as more security is better. This is the reason why I bumded to Rev3.0 to make a clear difference.
This kernel got Selinux Permissive state as it supports more apps like TiTaniumbackup.
Reverting back to a Selinux enforced Kernel (stock) is no longer a problem from Rev3.0 and up.
You can set Selinux Status with terminal command to ENFORCED with "setenforce 1". Or use a init.d script to have it on reboot also on ENFORCED.
You want to know why this kernel comes with Selinux included, google for Selinux and search your answers.
[*]Governors , powersave, userspace = Disabled as they are useless and buggy.
10/Jun/2014 Rev3.1 Released:
Ramdisk changes
Interactive set on all parameters as startup and default governor, this to prevent lockup of cores on boot.
Synapse SELinux status oprion, change to ENFORCED & PERMISSIVE , default is permissive
Small tweaks in kernel boot_up custom script.
12/Jun/2014 Rev3.2 Released:
Ramdisk changes
CPU freq rework to solve the hotplug problems
zzmoove and interactive removed = I strongly recomment pegasusq
Synapse Global voltage control added and some more info stuff
Github source updated
13/Jun/2014 Rev3.3 Released:
Ramdisk changes
Revert CPU freq rework to solve the hotplug problems
Compiled with Samsun Dynamic Hotplugging to resolve this problem
Synapse GPU info added
15/Jun/2014 Rev3.4 Released:
Bus_freq changes
A ton of missing driver commits for the KONA device added
Autobacklight 0.0 lux light problem fixed, no it works correctly even in a dark room
That is the problem working with a kernel that isn't for this device. You need to debug and add the stuff that is missing.
18/Jun/2014 Rev3.7 Released:
N5100 support added = no testers pm'd me so this is experimental
N5120 support added = no testers pm'd me so this is experimental
Ramdisk changes and github updated
20/Jun/2014 Rev3.8 Released:
Hotplug rework
Ramdisk changes for the s-pen
28/Jun/2014 Rev4.0 - 5110 Released: (support for the 5100 & 5120 will follow later)
Merged with official Samsung KK source = fixes all existing problems with wakelock and many other optimizations for our device
29/Jun/2014 Rev4.0 - support for the 5100 & 5120 added
Merged with official Samsung KK source = fixes all existing problems with wakelock and many other optimizations for our device
Github updated
02/Jul/2014 Rev4.1 - support for the 5110 , 5100 & 5120
Boeffla sound driver updated to 1.66
ZZMOOVE governor reactivated
06/Jul/2014 Rev4.2 - support for the 5110 , 5100 & 5120
Balanced the voltage settings
13/07/2014 Rev4.3 is released
DynamicFsync updated
IntelliHotplug introduced = replacement for the samsung hotplug driver. = Synapse controled
quad core stats for better performance
avg_running time for intelli hotplug support
Synapse settings backup/restore option
I/O advanced settings in Synapse.
Build.prop tweaks in Synapse
Network tweaks in Synapse
...............
15/07/2014 REV4.3_B released
[*]VPN - Reverse path filtering FIX = caused by wrong Synapse settings
[*]Synapse = Network settings changed to solve the vpn problem
16/07/2014 Rev5.0 is released
Dynamic Hotpluging enabled
Update governors
New source 5110NA commits added for the 5120LE
Music skipping problem solved (please use Pegasusq or interactive governor)
SideSync driver added and enabled
Ramdisk removed hotplug locks
Compiled on new toolchain arm-2010q1 from "code sourcery" as suggested by Samsung for the Note8.0 KitKat
...............
17/07/2014 Rev5.1 is released
Different setting for Dynamic Hotpluging, less agressive
Frandom added and enabled
CPU slope changed like on the JB kernel
Dirty writeback
Various performance tweaks
Toolchain arm-2010q1 from "code sourcery" uploaded for the people that want to compile it with this toolchain (look in the kernel folder) as suggested by Samsung for the Note8.0 KitKat
Github updated to Rev5.1
...............
24/08/2014 REV5.4 released
[*]Synapse settings updated
[*]Updated toolchain arm-2010q1(202) from "code sourcery"
[*]GPU Overclocking thanks ZaneZam / DerTeufel / AndreiLux
GPU settings are:
Step0 54MHz = new Idle step = when in browser mode and no gaming this low GPU speed will help save power
Step1 266MHz
Step2 350MHz
Step3 533MHz = new speed foe step3 for better performance in drawing
Step4 700MHz = New OC speed for the better gaming performance
GPU settings are not editable and hard set in the kernel
[*]Corrected CPU freq going above scaling_max thanks to Yank555.lu
​
Source
XDA:DevDB Information
SphereKat, Kernel for the Samsung Galaxy Note 8.0
Contributors
civato
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: Rev2.0 first public
Stable Release Date: 2014-06-07
Current Beta Version: Rev1.4 non public re
Beta Release Date: 2014-06-05
Created 2014-06-07
Last Updated 2014-09-16
Thank You very much!!!
I will try this kernel in order do fix the spen accuracy.
Doing a nandroid backup and trying.
I´ll let you now my experience.
Martín
It is almost perfect!!!
MartinBM said:
Thank You very much!!!
I will try this kernel in order do fix the spen accuracy.
Doing a nandroid backup and trying.
I´ll let you now my experience.
Martín
Click to expand...
Click to collapse
S-pen alignment is fixed in the kernel and rom so you need both to have 100% accuracy.
This kernel will fix it for 95%. The other 5% is in the roms framework.
#########################################################
Note to all users:
Don't be a lurker, hit thanks as it took plenty of hours to build this.
Samsung didn't release the kernel source (not yet) so a lot of debugging was needed to fix problems like the sensors not reporting correctly.
This is the only thing I ask, hit thanks if this helps you.
It is free and enjoy it.
#########################################
Edit:
About the lurkers,
Martin from this post isn't one as he is a donator and thanks hitter.
A example to you all.
I wanted that cleared out as I didn't want Martin to take that lurker thing personal.
civato said:
S-pen alignment is fixed in the kernel and rom so you need both to have 100% accuracy.
This kernel will fix it for 95%. The other 5% is in the roms framework.
Note to all users:
Don't be a lurker, hit thanks as it took plenty of hours to build this.
Samsung didn't release the kernel source (not yet) so a lot of debugging was needed to fix problems like the sensors not reporting correctly.
This is the only thing I ask, hit thanks if this helps you.
It is free and enjoy it.
Click to expand...
Click to collapse
Much appreciated adding dock & boeffla support. You are a super dev.. will test and report and thanks.
Just wanna say, this kernel supports Civato's FLEXNOTE rom WITHOUT kitkat bootloader and still get wifi. [emoji106]
Sent from my GT-N5110 using Tapatalk
androidmonsta said:
Just wanna say, this kernel supports Civato's FLEXNOTE rom WITHOUT kitkat bootloader and still get wifi. [emoji106]
Sent from my GT-N5110 using Tapatalk
Click to expand...
Click to collapse
Damn... if only I had waited.
THANK YOU CIVATO!!! What is arch-power?
androidmonsta said:
Just wanna say, this kernel supports Civato's FLEXNOTE rom WITHOUT kitkat bootloader and still get wifi.
Sent from my GT-N5110 using Tapatalk
Click to expand...
Click to collapse
Oh I didn't know that, well that is a good thing, I will add this in my OP.
civato said:
Oh I didn't know that, well that is a good thing, I will add this in my OP.
Click to expand...
Click to collapse
Yup, I'm running FLEXNOTE 1.3 with 4.2.2 bootloader using this kernel. Did a full wipe in Philz using the "I want to install new rom" option.
Sent from my GT-N5110 using Tapatalk
Rev2.1 released
08/Jun/2014 First Public release Rev2.1
[*]GPU step 5 included, now max it will go to 533MHz
[*]Auobrightness sensor fixes part2
[*]CPU sloop adjusted
zzmoove profile nr8.
GPU control is not possible , maybe later as the GPU driver is totally different then on JB.
androidmonsta said:
Just wanna say, this kernel supports Civato's FLEXNOTE rom WITHOUT kitkat bootloader and still get wifi. [emoji106]
Sent from my GT-N5110 using Tapatalk
Click to expand...
Click to collapse
I confirm. Wifi working great. Thanks
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
Flashed and while it seems to be working fine for the most part, my CPU is constantly maxed out for some reason. I changed no settings or anything, and it was idling fine before flashing. I'm sure it might be something with my device, but I thought I'd put it out there just in case it's not. I'm going to mess around with some settings, see what I can do, and see if it changes.
ArobeeTV said:
Flashed and while it seems to be working fine for the most part, my CPU is constantly maxed out for some reason. I changed no settings or anything, and it was idling fine before flashing. I'm sure it might be something with my device, but I thought I'd put it out there just in case it's not. I'm going to mess around with some settings, see what I can do, and see if it changes.
Click to expand...
Click to collapse
Like you said, it could be something with your device, mine goes into deep sleep and it has gone as high as 90% deep sleep. Pretty amazing I would say and great job by @civato. Are you on pegasusq governor?
cbrinnny said:
Like you said, it could be something with your device, mine goes into deep sleep and it has gone as high as 90% deep sleep. Pretty amazing I would say and great job by @civato. Are you on pegasusq governor?
Click to expand...
Click to collapse
I was indeed using pegasusq. After trying multiple different governors and nothing changing (even stayed at 1600mhz on powersaving), I've decided to wipe my device entirely and start from scratch. No biggie. If I narrow it down to a specific app or device setting that was causing it, I'll post it so people are aware.
09/Jun/2014 First Public release Rev2.2
[*]Memory Leak fix cpu stats
[*]Memory Leak fix Kernel Ext4 & Power
zzmoove profile nr6.
I recommend not to use Powersave governor as is very buggy. Next release will it have removed as it useless.
Best governors are Pegasusq - Adaptive and zzmoove.
I am running it an am happy to report no issues. The only changes I made were to up my top cpu speed to 1.8gzh. All govs are at default. Thanks again. Can't wait to see what is next in the works for this tablet.
Sent from my GT-N5110 using XDA Premium HD app
Scores
With my rom & kernel
Benchmark scores:
Stock Normal Note8.0 Antutu Ranking. 17708 points
My Antutu = 23486 points
Stock Quadrant ranking = 6613 points
My Quadrant = 13685 points
Running with rom v1.3 and civz kitkat bootloader. Is data wipe needed? Sorry for the stupid question.
Sent from my GT-N5110 using XDA Premium 4 mobile app
slushbilly said:
Running with rom v1.3 and civz kitkat bootloader. Is data wipe needed? Sorry for the stupid question.
Sent from my GT-N5110 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Not needed, me as a habit always wipe cache and dalvik.
Sent from my GT-N5110 using Tapatalk
Hi androidmonsta, How did you get Nandroid added under your Backup Settings? I assume it is part of the FLEXNOTE rom. What app does this link to?
rjamer said:
Hi androidmonsta, How did you get Nandroid added under your Backup Settings? I assume it is part of the FLEXNOTE rom. What app does this link to?
Click to expand...
Click to collapse
It comes from the rom. Its an backup app. Never use before LOL.
Sent from my GT-N5110 using Tapatalk

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

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 .

[DISCONTINUED][KERNEL][MM] Undine-X Kernel [04/16]

{
"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"
}
Disclaimer​
Code:
/*
* Your Warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards, dead dogs, or cats,
* but i'm very interest in thermonuclear war, so if you point the finger
* at me for messing up your device just because this kernel, I will
* send you to the mars with Nuclear Rocket. Act accordingly.
* I know this paragraph is conspiracy-included, so
* dont ask about it. Welcome.
*/
this kernel is based on kernel source by kumajaya, branch cm-13.0-wt88047​So it just for Marshmallow ROM ONLY​
About
Undine-X is my customized Kernel for Wingtech wt88047 a.k.a Xiaomi Redmi 2 with lots of new features.
I started learning about compiling android kernel in mid-March, inspired by some of modified kernel in this device.
Now I'm using kumajaya's kernel source with cherrypicks from some of the greatest XDA kernel developers sources.
Cross-compile
Compiled with HyperLinaro 5.1 Toolchain
Using -Ofast Optimization Flags
Features
MSM Limiter
Power Suspend Mode
Overclock CPU to 1.4GHz
Adreno Idler
MSM Hotplug, Mako Hotplug, and Intelliplug
New CPU Governor : impulse, lionfish, bluactive, darkness, elementalx, nightmare, zzmoove, yankactive
New I/O Scheduler :tripndroid, zen, sioplus, fiops
Advanced TCP Congestion Algorithm
USB Fast Charging (no more slow charging when charging in computer)
Double Tap 2 Wake
Vibration Control
Asynchronous Fsync
KCAL Display Color Control
and moar .....
Installation
Download the zip file
Reboot to your recovery (I'm suggested yo to INSTALL TWRP 3.0.0 to make sure aroma running properly)
BACKUP your BOOT partition (to make it safe so your can easely restore if found any critical problem)
Install the zip file
Choose your preferred options (cpu min/max, governor, selinux mode, etc)
Reboot to system
Preferred Kernel Tweaker App
ReModded Singularity Kernel Adiutor, Download it at my GDrive
NOTE
If you getting some problem,
Send me your log files or I can't help you. Thanks.
/sys/fs/pstore/console-ramoops
/sys/fs/pstore/dmesg-ramoops
Doubletap2wake & Sweep2wake Preview
XDA:DevDB Information
Undine-X Kernel, Kernel for the Xiaomi Redmi 2
Contributors
ichihara.rifa
Source Code: https://github.com/harukachan/UndineX_XR2
Kernel Special Features: Overclock, Aroma Installer, Double Tap 2 Wake, Sweep 2 Wake, Power Suspend, MSM Limiter
Version Information
Status: Stable
Current Stable Version: 1.3.0
Stable Release Date: 2016-04-16
Created 2016-03-27
Last Updated 2016-09-20
Reserved
Download Links
codeharuka-UndineX-1.3.0.zip
ReModded-SKA-20160417.apk
Changelogs
v1.3.0
[new] MSM Limiter v4.0
[changed] Turn down charger rate to 1100 mAh (Avoid hardware issue)
[changed] Some Improvement in UKSM
[changed] Revert Max CPUFreq to 1.4GHz
[removed] Intelliactive Governor (Still not worth for msm8916)
[removed] FauxSound Sound Control (because very buggy)
[changed] Some Improvement in Aroma Installer Themes
[changed] Some Improvement From Cyanogenmod
v1.2.1
[changed] Fix CPU Frequencies Table
[changed] Unlock GPU Frequencies to 720MHz
[changed] Improving I/O latency
[changed] Implement powersuspend to doubletap2wake and sweep2wake
v1.2.02-sid
[new] Unlock GPU Frequencies up to 720MHz
[changed] Fixed Initscript, CPU Frequencies Table, and more, to fix random reboot problem.
v1.2.01-sid
[new] UKSM v1.2.3 (Ultra-Kernel Samepage Merging From http://kerneldedup.org/) This feature make your ram more efficient and more fluid.
[new] Sweep2wake Feature (From Bricked-Mako Kernel by @show-p1984)
[new] Implement Cryptography for LZ4 from berserk @Ashish94
[new] Implement Frandom from berserk @Ashish94
[new] Enable/Disable CRC Scanning (from https://github.com/boype/kernel_tuna_kk44)
[changed] Unlocked CPU Frequencies up-to 1.6 GHz
[changed] Now hwkeys are not active when in suspend mode. Patch from TeslaROM Kernel Source @premaca
X1.1-6-H2O
[new] MDSS Color Control (Formerly KCAL)
[changed] Fix CPU Frequencies tables that can't ramp up to 1.4GHz
[changed] Fix touchscreen random not responding when doubletap2wake activated.
X1.1-4-H2O
[changed] fauxsound: removing all mic tuner to fix low output from microphone during calls (thanks @akash akya)
[changed] touchscreen: add resume when doze (thanks @pirej @zwliew)
[new] installer : add Balanced Preset for new user (when still confuse about setup)
X1.1-2-H2O
[changed] now config restoration placed in ramdisk instead of init.d, to make it still working if the rom not support init.d
[new] Mako hotplug and Intelliplug
[changed] Now the kernel compiled with Hyper Linaro Toolchain GCC 5.1
[new] Add Asynchronous Fsync
X1.1-0-H2O :
Initial publish on XDA
Can i test this with Tesla OS?
Just tried Elix1r, flashed zip and tried fastboot flashing, rom 100% clean and it didn't work.
hardsonic said:
Can i test this with Tesla OS?
Just tried Elix1r, flashed zip and tried fastboot flashing, rom 100% clean and it didn't work.
Click to expand...
Click to collapse
I'm just test on cm13 and aokp only. but you can try it.
don't forget to backup boot partition before flash it.
YACK
Finally made it through xda .. can i request more hotplug .. hehe
please add mako hotplug pleasee.
inpamcoxie said:
YACK
Finally made it through xda .. can i request more hotplug .. hehe
please add mako hotplug pleasee.
Click to expand...
Click to collapse
Added to the my plan
Thanks for suggestion
Great work!
It's raining Kernels for our little precious...
Kudos to all devs ?
more in our phone's development... great news
everything seems good ..but cpu cannot reach 1.4ghz even when the governor was set to performance..other than that its good..pls keep up the effort..
btw i m using tesla rom
ibal97 said:
everything seems good ..but cpu cannot reach 1.4ghz even when the governor was set to performance..other than that its good..pls keep up the effort..
btw i m using tesla rom
Click to expand...
Click to collapse
Thanks for review
imo it's not really "cant reach",
but it optimized so cpu load is still under 1.4ghz.
Performance governor ramp up your CPU at the highest value, it doesn't matter were you are in game or just playing music.
ichihara.rifa said:
Thanks for review
imo it's not really "cant reach",
but it optimized so cpu load is still under 1.4ghz.
Performance governor ramp up your CPU at the highest value, it doesn't matter were you are in game or just playing music.
Click to expand...
Click to collapse
ohh...now i understand.. thanks for the kernel
Thanks イチハラ リファ(Katakana lol) for implementing dt2w. I find it interesting on how you implementing fastcharging in your kernel and wonder does the charging stay at a consistent rate of 1500mA ? Can anyone test it out?
nick37332001 said:
Thanks イチハラ リファ(Katakana lol) for implementing dt2w. I find it interesting on how you implementing fastcharging in your kernel and wonder does the charging stay at a consistent rate of 1500mA ? Can anyone test it out?
Click to expand...
Click to collapse
it depend on hardware, i mean i'm just trying to combine usb fstchg patch with more value at max volt.
well i'm still not tried about it because i dont have tc adaptor that larger than 1000mA :laugh:
lol my english is very bad :laugh:
Good to see the development of redmi 2 now.
Kernels are coming like rain!
Development like this seems unbelievable!
Cheers
-Sourav_8434
nick37332001 said:
Thanks イチハラ リファ(Katakana lol) for implementing dt2w. I find it interesting on how you implementing fastcharging in your kernel and wonder does the charging stay at a consistent rate of 1500mA ? Can anyone test it out?
Click to expand...
Click to collapse
Well I used the Ampere app, the max.amount of current I got was 1010mAh , with constant values revolving around 700-800mAh. Others can also check. I'm using the stock charger.
After install the kernel I can't unlock my phone, I'm using pattern unlock. Everytime that I try to unlock a black screen appears and go back to unlock screen.
I had the same problem with latest version of octopus kenel and I have to use and old version.
Any idea how to fix this problem?
Enviado desde mi Mi-4c mediante Tapatalk
siba01 said:
After install the kernel I can't unlock my phone, I'm using pattern unlock. Everytime that I try to unlock a black screen appears and go back to unlock screen.
I had the same problem with latest version of octopus kenel and I have to use and old version.
Any idea how to fix this problem?
Enviado desde mi Mi-4c mediante Tapatalk
Click to expand...
Click to collapse
I will look into that,
temporary, you can disable dt2w.
ichihara.rifa said:
I will look into that,
temporary, you can disable dt2w.
Click to expand...
Click to collapse
Yup... dt2w is the one causing this problem... the touchscreen doesnt seem to wakeup from touch inputs
Update X1.1-2-H20 [new compiler and hotplug]
Changelogs at first page :laugh:
Ayy my minus is now increased, lmao
no kernel-bugs-related so far....
[i'm more than a noob when it comes to kernel]
this is the only one that made my 紅米2 react properly on dt2w
(feature i missed the most, and coming back big style) {still waiting for a stable berserk to be honest}
8 stars (out of 5) for the looks/user/aroma approach - specially for people not using kernel managers (i'm not 1 of those, but solidarity is important)
has every other "crowd pleasers" working except for control freaks (just kidding) + screen/color profiles << this is not a plea
++ having an option for color-profile would imho make it more than awsome......
great work, even greater kernel, thank you
tipsy by @premaca
recommended settings more than appreciated

[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][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?

Categories

Resources