[KERNEL] [H815 & H811] LuPuSv2.4 + Updater App [STOCK MM 6.X] [07/04/2016] - G4 Original Android Development

H815 & H811 ONLY​
Code:
[B]### Disclaimer### [/B]
Your warranty is now void.
We are not responsible if your phone, sdcard or anything else will be damaged, broken, bricked, bootlooping or detonating in a thermonuclear reaction.
YOU are choosing to make these modifications and accept the fact that something might go horribly wrong.
Intro
This kernel was made for my own personal use but seen as I had an updater app for tornado kernel which has been abandoned I have decided to share both the kernel and updater app here. As this kernel is mainly for my own personal use I will not be adding all the bells and whistles. If you prefer performance along with battery over power than this may be for you.
Install:
You need:
- Stock 20A, 20B, 20C or 20D -- Marshmallow
- H815 ONLY
- An unlocked Bootloader
- Custom recovery
Via recovery: latest TWRP here
- Download the kernel
- Reboot to recovery
- Flash the zip file
- You're done! Reboot and enjoy.
Changelog:
v1.0
Initial release
Faux Sound v3.6
Added BFQ, SIO, FIOPS IO Schedulers
Removed BIC, HTCP and enabled Vegas, Yeah, Illinois, reno TCP Congestion Algorithms
Enable Westwood TCP COngestion ALgorithm by default
Powersuspend
Fsync ON/OFF support
Updated to Linux 3.10.94
KCAL support
SELinux permissive
Auto Inject SU & BusyBox
Many more see github for full changelog
v1.1
Attempt to fix exfat
v1.2
defconfig: Add exfat support (thanks slim80 for sussing out signing)
Optimized ARM RWSEM algorithm
Fix NULL pointer dereference in tcp_nuke_addr.
Readahead: Fix an error (thx ramgear)
Readahead: Optimize divide/multiply by power of 2 using L/R shift (thx ramgear)
sched/fair: Implement fast idling of CPUs when the system is partially loaded
net: bcmdhd: reduce wakelocks
msm: Fix high load average from uninterruptible waits
cpufreq: Break out early when frequency equals target_freq
cpufreq: Resolve CPUFREQ_NOTIFY issue
writeback: fix writeback cache thrashing
tcp: fix timing issue in CUBIC slope calculation
PM: devfreq: Always reflect a change of polling interval
PM: devfreq: Fix simple_ondemand crashing on startup
msm: kgsl: Report correct GPU frequency in sysfs
devfreq: Use high priority workqueue
cpufreq: set policy with user_policy data
cpufreq: Introduce new relation for freq selection
mm: slub: Default slub_max_order to 0
msm: rq_stats: Register for Cpufreq policy notification
usb: gadget: mass_storage: added sysfs entry for cdrom to LUNs
v1.3
Fix time resetting on boot
v1.4
arm64: disable GCC SRA optimization
configs: enable small clean up inline with LG config
configs: enable autosched
cpufreq: impulse: tuning and burning values into governor
cpufreq: impulse: call __cpufreq_driver_target() for cur frequency
cpufreq: impulse: Reschedule timer if min_freq is reduced
cpufreq: impulse: Rearm governor timer at max freq
cpufreq: impulse: Replace obsolete strict_strtoul calls
cpufreq: impulse: validate above_hispeed_delay
cpufreq: impulse: calculate load before freq change
cpufreq: impulse: only boost tunable affected cpus
cpufreq: Add Impulse governor
lowmemorykiller: Do proper NULL checks
fs/namei.c: fix potential memory leak in path_lookupat
sched, smp: Correctly deal with nested sleeps
mm: /proc/pid/smaps: show proportional swap share of the mapping
msm: thermal: Re-evaluate hotplug for unexpected cpu online
fs/buffer.c: increase the buffer-head per-CPU LRU size
v1.5
Merged LG 20D source code
Merge Linux version 3.10.95
Disable ZRAM, SWAP
FM radio fixed
Tweak fixed entropy
v1.6
Update to linux version 3.10.96
Update ramdisk to be inline with Stock 20D
v1.7
Update to linux version 3.10.97
Dynamic Fsync
USB Fastcharge support
cpufreq: cpu-boost: don't boost big cluster on input touch unless it has at least 1 task running on any of its cores to save power
v1.8
Update to linux version 3.10.98
Frandom
More see github fr full changelog (or look within updater app)
v2.0
Update to linux version 3.10.99
Fix reboots from v1.8
Implement system-less root (Note - advised not to flash over system root as it may cause issues)
v2.1
Update to linux version 3.10.101
v2.2
Memory Management improvements
Re-enable ZRAM and SWAP
Added ZZMOOVE governor (big little development edition)
Added despair governor
Added Barry Allen governor
Many more see github or updater app for full changelog
v2.3
Fix exfat support
v2.4
Fix Revoke USB debugging authorizations not showing in developer settings
Allow selinux mode to be changed rather than hard-coding to permissive
Source code: https://github.com/garwedgess/android_kernel_lge_g4
Credits
Yank555
faux123
savoca
flar2
franciscofranco
And many many more, see github.
Do not mirror my downloads
XDA:DevDB Information
LuPuS Kernel LG G4 (H815), Kernel for the LG G4
Contributors
wedgess
Source Code: https://github.com/garwedgess/android_kernel_lge_g4
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v2.4
Stable Release Date: 2016-04-07
Created 2015-12-22
Last Updated 2016-04-07

LuPuS Kernel Updater App [V1.5]
Features:
- Dark/Light Theme
- Check for updates every 1-24 hrs you choose.
- includes basic changelog
- Download updates
- List all releases releases
- Checks downloaded kernels md5 (will delete download if MD5's don't match)
- Auto flash kernels after download
(TWRP only)
- Reboot recovery
Changelog:
v1.0
Initial Release
v1.1
Add Faux Sound Control (Only Headphone gain for now as it is only what is working kernel side)
Improve UI
New notification icon for updates
Minor performance improvements
v1.2
Slovak translation - thanks @phsnake
Czech translation - thanks @phsnake
v1.3
Turkish translation - thanks @Se7Touch
v1.4
Optimize code
Add support for H811
Update support libraries
Allow to be installed on devices not using LuPuS kernel (makes it easier for switching back to LuPuS kernel)
v1.5
Add SELinux mode changer
Add FAB animation when viewing kernel release info
Speed up loading longer changelogs when viewing kernel release info
Note: this application will not work on variants other than the h815 so that someone on a different variant doesn't try flashing a kernel for H815.
Please leave any bug reports along with attached log, otherwise reports will be ignored
Features:
{
"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"
}
Translations: I have not translated any of the strings within the application, if someone would like to translate their language, then please let me know and i'll push the strings to github
Download attached to this post
If coming from v1.0 you need to first uninstall the application as v1.1 onwards in signed

Upcoming CM Kernel Release...
Stay Tuned

bender_007 said:
Thank you for your work. I will test it
waiting for the apk
cheers:good:
Click to expand...
Click to collapse
Thanks, the app is up now. I thought I had pushed the changes before I reset it, but didn't so had to rewrite some of it. Apologies for the delay.

No problem, glad to see new stuff around. I like the combos (mod + settings app), in this case kernel + app
Thx
Poslano sa mog LG-H815 koristeći Tapatalk

Just flashed. Caused some issues with the external sd card.

Oh new kernel!Thank you very much!

orhtun01 said:
Just flashed. Caused some issues with the external sd card.
Click to expand...
Click to collapse
Can you please explain the issue a bit more as I haven't issues with the external SD.

wedgess said:
Can you please explain the issue a bit more as I haven't issues with the external SD.
Click to expand...
Click to collapse
Of course. After booting the system informs that the external sd is corrupt and wants to wipe it. After returning to stock, issue disappeared.

orhtun01 said:
Of course. After booting the system informs that the external sd is corrupt and wants to wipe it. After returning to stock, issue disappeared.[/QUOtTE]
Thanks. I haven't any issues and tried a couple of sdcards. I remember this being an issue in tornado kernel and savoca fixed it. Thought I had already included that commit but looks like it disappeared after the M merge. I'll add it back in now and update it if you could let me know if it now works for you?
Edit: Can't load the texfat module as it's signed by LG and it is not open source so can;t build it. Savocas hack is for some reason not working for me . Currently trying to work my way around this. So far no luck...
Click to expand...
Click to collapse

wedgess said:
Thanks. I haven't any issues and tried a couple of sdcards. I remember this being an issue in tornado kernel and savoca fixed it. Thought I had already included that commit but looks like it disappeared after the M merge. I'll add it back in now and update it if you could let me know if it now works for you?
Click to expand...
Click to collapse
my exfat sd card broken. your kernel exfat support?

BySezerSimsek said:
my exfat sd card broken. your kernel exfat support?
Click to expand...
Click to collapse
I've posted a version which should fix this as an aattachment here. As I don't have the issue I can't test to see if it's fixed but it should be. Please let me know if you get a chance to flash it.

wedgess said:
orhtun01 said:
Of course. After booting the system informs that the external sd is corrupt and wants to wipe it. After returning to stock, issue disappeared.[/QUOtTE]
Thanks. I haven't any issues and tried a couple of sdcards. I remember this being an issue in tornado kernel and savoca fixed it. Thought I had already included that commit but looks like it disappeared after the M merge. I'll add it back in now and update it if you could let me know if it now works for you?
Edit: I've attached a version which should fix the external sdcard issue you are having, as I have no problems myself I can't test it. So please let me know and i'll push it if it works.
Click to expand...
Click to collapse
I just tried. It seems the same. See attachment. Also getting the same adjust time errors from cile's kernels where somehow the hw time is set as system time each boot.... Thanks !
Click to expand...
Click to collapse

orhtun01 said:
wedgess said:
I just tried. It seems the same. See attachment. Also getting the same adjust time errors from cile's kernels where somehow the hw time is set as system time each boot.... Thanks !
Click to expand...
Click to collapse
Edit: i have added some additional info about my sd card using. Maybe it will help.
Click to expand...
Click to collapse

orhtun01 said:
wedgess said:
I just tried. It seems the same. See attachment. Also getting the same adjust time errors from cile's kernels where somehow the hw time is set as system time each boot.... Thanks !
Click to expand...
Click to collapse
The time issue seems to be on all M kernels besides STOCK, even building bare stock kernel gives the same issue. It resets back to the proper time a couple seconds after boot but still annoying. I'll have to see if I can spot anything for that. Please try the attached kernel to see if it fixes exfat, thanks.
Click to expand...
Click to collapse

wedgess said:
orhtun01 said:
The time issue seems to be on all M kernels besides STOCK, even building bare stock kernel gives the same issue. It resets back to the proper time a couple seconds after boot but still annoying. I'll have to see if I can spot anything for that. Please try the attached kernel to see if it fixes exfat, thanks.
Click to expand...
Click to collapse
Thanks. Just retried. No luck
Click to expand...
Click to collapse

orhtun01 said:
wedgess said:
Thanks. Just retried. No luck
Click to expand...
Click to collapse
Thanks for checking them out. I have sent another via PM if you can test it out when you get a chance.:good:
Click to expand...
Click to collapse

If this is of any help (higly doubt it but here goes nothing):
H815-EUR GERMANY
Using pre-rooted stock 5.1 KDZ = exFAT support breaks.
Pulling already set up 5.1 system and injecting it with root = exFAT works.
Using SuperSU zip installer on 5.1 = exFAT works.
Using prebuilt, matching, repacked 6.0 boot.img = exFAT support breaks.
Pulling boot.img from stock system state of own device and repacking = exFAT works.
Using Systemless Root = exFAT works.
How likely is it that the kernel is aware that it's not operating on the device it was first flashed/built for? Tbh, I don't know anything about kernel development. It's just, whenever I flashed a kernel that was pulled from another device or modified without ever touching another device, as it might have been the case in those prebuilt repacked kernels, exFAT support broke down.

Does FauxSound Mod increases sound volume?

On my Device the sd card have an error too after installing this kernel. I reinstalled Genisys Rom and now all woks fine. I will test the kernel at a later time again. :good:

Related

[KERNEL][LOLLIPOP] ★☆ Kangaroo Kernel ☆★ 16 MAR | GPE | SENSE

Welcome to Kangaroo Kernel
​
{
"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"
}
Linux 3.4.106 base, comes with a modified ramdisk too
Engineered for battery life without sacrificing performance. Kangaroo Kernel is designed as a drop in replacement for stock, for those who want a no bs kernel
Click to expand...
Click to collapse
Latest kernel is here:
GPE/SENSE
http://forum.xda-developers.com/htc...ernel-xx-dec-gpe-t2963967/page86#post59458483
Click to expand...
Click to collapse
Flashing Kangaroo Kernel:
1. Reflash your ROM (coming from other kernels this is important)
2. Flash Kangaroo Kernel
3. Reboot, wait 10 mins or so for things to settle
4. Profit
Click to expand...
Click to collapse
See post 3 for changelog and what's in the kernel
I don't believe in big OPs, all the work is in the kernel, not the presentation
Enjoy the kernel and don't forget to search
XDA:DevDB Information
★☆ Kangaroo Kernel ☆★, Kernel for the HTC One
Contributors
poondog
Source Code: https://github.com/poondog/kangaroo-m7-mkv
Kernel Special Features:
Version Information
Status: Stable
Created 2014-12-06
Last Updated 2015-03-15
Reserved
Changelog
Code:
Changelog for kernels:
See each post for more details and download
***** 16 March *****
.some misc tweaks
.fix sound from speakers issue
http://forum.xda-developers.com/htc-one/orig-development/kernel-kangaroo-kernel-xx-dec-gpe-t2963967/page86#post59458483
***** 8 March *****
.introduce PRESERVATIVE gov, tuned it for m7
.introduce SMARTMAX gov
.update BFQ iosched to v7r7
http://forum.xda-developers.com/htc-one/orig-development/kernel-kangaroo-kernel-xx-dec-gpe-t2963967/page78#post59296553
***** 26 February ****"
.added Slimbus OC (for better audio output and power, now we can push audio further)
.trim some fat from the kernel (you won't notice what's gone hopefully)
.added init.d support, it requires busybox assuming its in system/xbin
.add support for official WWE 7.19 base on Sense version
http://forum.xda-developers.com/showpost.php?p=59097680&postcount=644
***** 18 february *****
.upstream update to Linux 3.4.106
.misc patches from CM/CAF to rid potential memory leaks and lockups
.support lower GPU idle freqs
.fix some boosting issues on GPE
http://forum.xda-developers.com/showpost.php?p=58930842&postcount=558
***** 6 February *****
.hotfix for speakers issue on Sense 5.0.2
http://forum.xda-developers.com/htc-one/orig-development/kernel-kangaroo-kernel-xx-dec-gpe-t2963967/page46#post58653407
***** 5 February *****
.Disabled some logging stuff (less waste of resources)
.some optimizations for KSM (kernel samepage merging, to do with memory. See here http://www.linux-kvm.org/page/KSM)
.a lot of under the hood stuff for smoothness and battery
.updates to kernel mode neon
.some updates from CM and Google for conservative gov
.advanced TCP control (default westwood, sorry @ZeroInfinity :P)
.misc cleanups for 2w
.add pocket detection feature for 2w (flar2)
.set default io as deadline, readahead to 512kb (seems to be optimal for battery and performance)
.some more tweaks to network related stuffs
http://forum.xda-developers.com/htc-one/orig-development/kernel-kangaroo-kernel-xx-dec-gpe-t2963967/page44#post58649936
***** 22 Jan *****
.allow GPU to sit at 27MHz
.some small tweaks for performance and battery
.some RAM tweaks (thx Imoseyon)
.set DEADLINE as default scheduler
http://forum.xda-developers.com/htc-one/orig-development/kernel-kangaroo-kernel-xx-dec-gpe-t2963967/page37#post58338217
***** 16 Jan *****
.hashtable: introduce a small and naive hashtable
.switch to new hashtable for some drivers (more simple, less generic code for better efficiency)
.workqueue: introduce Linaro Power Efficient Workqueues
.switch to power efficient workqueues for some drivers (for efficiency)
.move all voltages up a PVS version
.introduce USB FORCE FAST CHARGING
.reduce some wifi wakelocks
.removed some logspam
.disabled some debugging (reduce power waste)
.show GPU freq properly, idle at 27MHz
.add userspace voltage control
.usb: gadget: mass_storage: added sysfs entry for cdrom to LUNs
.add a config option to switch to Nexus 7 acpu table (1512 max but this is disabled)
http://forum.xda-developers.com/showpost.php?p=58205115&postcount=251
***** 22 Dec *****
.introduce sweep2wake, doubletap2wake, logo2menu, logo2wake options (see below)
.some more optimizations and improvements under the hood (better battery + performance)
http://forum.xda-developers.com/showpost.php?p=57652419&postcount=183
***** 13 Dec *****
.compress with LZ4 rc125 (for faster booting, backported from 3.17 source)
.init to max speed on boot (for faster booting, from motorola)
.increase read speed of deadline scheduler
.introduce BFQ-v7r6-3.4 scheduler
.introduce FIOPS scheduler
.optimized AES and SHA1 routines
.optimize square root algorithm
.use glibc version of string and memcopy
.freezable blocking calls and updates to freezer
.remove some debugging
.RCU_FAST_NO_HZ timer offsets from motorola
.some other misc code improvements
.Use -mcpu=cortex-a15 when targeting MSM Krait CPUs
http://forum.xda-developers.com/showpost.php?p=57461022&postcount=121
***** 11 Dec *****
.full upstream to 3.4.105 from 3.4.10 base, 4000+ commits. (kernel.org)
.don't limit optimization of kernel by size
.compile with GCC Google 4.8
.some changes to the way the kernel name displays
.make the ramdisk insecure
.set adb debuggable
http://forum.xda-developers.com/showpost.php?p=57416216&postcount=89
***** 10 Dec *****
.patch upstream 3.4.100 (changelog is massive lol)
.all in one zip (thx golv, I referenced your zip)
http://forum.xda-developers.com/showpost.php?p=57391069&postcount=64
***** 9 Dec *****
.merged updates up to and incl. 3.4.80
http://forum.xda-developers.com/showpost.php?p=57359757&postcount=47
***** 7 Dec *****
.add NTFS RW capability
.fix for system RW
.patch to 3.4.30
.sd mount patch (santod040)
http://forum.xda-developers.com/showpost.php?p=57312620&postcount=22
***** 6 Dec *****
.stock ramdisk
.compiled with GCC 4.8 from Google (official lollipop branch)
.patch to 3.4.14
http://forum.xda-developers.com/showpost.php?p=57292101&postcount=4
NEW!
So I have started on the GPE kernel source for m7.
As this kernel is still in testing stage (I only compiled it now) I have made it harder to install.
Think of it like natural selection.
Installation instructions:
1. fastboot flash boot boot.img
2. flash modules zip in recovery
Usually, these tests are done private but I thought since I have been gone from here for a while, I will put them up for everyone
As of now, this kernel has:
.stock ramdisk
.compiled with GCC 4.8 from Google (official lollipop branch)
.patch to 3.4.14
In depth changelog can always be found here:
https://github.com/poondog/kangaroo-m7-mkv/commits/master
Thanks
Thanks for this, its a lot snappier now. Nice to see you back in the forums....
Does this disable system write protection?
YudmudTR said:
Does this disable system write protection?
Click to expand...
Click to collapse
Not yet, I am posting initial test builds while I progress through the kernel development
so i just flash the boot.img in fastboot, then flash the kernel in recovery and all done?
kopeko said:
so i just flash the boot.img in fastboot, then flash the kernel in recovery and all done?
Click to expand...
Click to collapse
Flash the boot.img in fastboot
The zip contains the modules actually. But yes flash those in recovery
I have new update for tomorrow too
Is it possible to fix captive blacklight issues with your kernel?
dragonballz2k said:
Is it possible to fix captive blacklight issues with your kernel?
Click to expand...
Click to collapse
In the short term you can use this app to switch them on when screen on https://play.google.com/store/apps/details?id=com.deskangel.kblight
Sent from my HTC One
Do I have to flash the boot.IMG even though I am soff?
Thanks.
ANDR01DN00B said:
Do I have to flash the boot.IMG even though I am soff?
Thanks.
Click to expand...
Click to collapse
Yes have to flash the boot.img with fastboot then install the module zip file in recovery after
poondog said:
...
Installation instructions:
1. fastboot flash boot boot.img
2. flash modules zip in recovery
....
Click to expand...
Click to collapse
@poondog
I did flashable zip for recovery, which contains boot.img and modules. Yoy can try to install it.
Download:
kk_501_test.zip
Golv said:
@poondog
I did flashable zip for recovery, which contains boot.img and modules. Yoy can try to install it.
Download:
kk_501_test.zip
Click to expand...
Click to collapse
Flashed without a problem. Feels smoother and more responsive.
Thanks for your efforts @poondog.
If you are including the ramdisk, you may wanna grab mine from my latest update or look in it for my changes.
I fixed it up so that users will no longer have sd card issues/internal storage now visible in apps and via PC.
Just thought I'd mention it, as it may save us both some grief.
Thanks again...I made the same changes in my custom kernel for m7vzw as well as the Dna.
Golv said:
@poondog
I did flashable zip for recovery, which contains boot.img and modules. Yoy can try to install it.
Download:
kk_501_test.zip
Click to expand...
Click to collapse
Well, looks like poondog won't use this complete flashable zip while his kernel is in test state... Just my opinion
I flashed it the way he offered it.
santod040 said:
Thanks for your efforts @poondog.
If you are including the ramdisk, you may wanna grab mine from my latest update or look in it for my changes.
I fixed it up so that users will no longer have sd card issues/internal storage now visible in apps and via PC.
Just thought I'd mention it, as it may save us both some grief.
Thanks again...I made the same changes in my custom kernel for m7vzw as well as the Dna.
Click to expand...
Click to collapse
+1 join their work to an excellent result!
I know this just started but, just wanna ask if there is any intention of adding the double tap to wake feature in the future?
dragonballz2k said:
Is it possible to fix captive blacklight issues with your kernel?
Click to expand...
Click to collapse
I haven't looked into it at all
ANDR01DN00B said:
Do I have to flash the boot.IMG even though I am soff?
Thanks.
Click to expand...
Click to collapse
Yes because the zip doesn't contain kernel
santod040 said:
Thanks for your efforts @poondog.
If you are including the ramdisk, you may wanna grab mine from my latest update or look in it for my changes.
I fixed it up so that users will no longer have sd card issues/internal storage now visible in apps and via PC.
Just thought I'd mention it, as it may save us both some grief.
Thanks again...I made the same changes in my custom kernel for m7vzw as well as the Dna.
Click to expand...
Click to collapse
Thanks, can you show me a diff or something?
Sinistersky said:
I know this just started but, just wanna ask if there is any intention of adding the double tap to wake feature in the future?
Click to expand...
Click to collapse
In the future

[5.1.1][G92xF/T/I/W8/L/S/K][3. August][Unicorns] SimplKernel r6

{
"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"
}
Never skip LAG-day - Live on the Edge​Currently supported: G92xF/I/T/W8/L/S/K​Read the OP please.. It's important. I'll troll you if you don't ​
[/CENTER][/B]
Code:
###Disclaimer###
Your warranty is now void.
We are not responsible if your phone will be damaged, broken, bootlooping or detonating in a thermonuclear reaction.
YOU are choosing to make these modifications and accept the fact that something might go wrong.
Important / read before flash mandatory
This is the first stable SimplKernel build which is 5.1.1 based and unified. It only supports 5.1.1 and the listed variants. No other variants.
For W8: Seems that you can run 5.1.1, but no new bootloader. If you run 5.1.1 and this and have fingerprint on your Rom, the second boot won't work anymore and you'll need Odin. A Rom with removed Fingerprint may solve it, but I don't have a W8 and can't test or say for sure. Best is to wait for the new bootloader alltogether.
For all other variants: This should work on L/S/K, if/when they receive 5.1.1, but someone will need to confirm by flashing.
Same counts for I.
If you run 5.1.1 without the new bootloader, you will encounter the same issue described above for the W8. Same counts: Better wait for the new Bootloader.
Introduction
SimplKernel is developed by SimplTeam. We originate from the Note4 and have a long story of success there. Our builds are known for being close to stock, yet full of useful features and enhancements. The aim is to provide maximum performance and maximum batterylife. No compromises.
Features
# Based on latest G925FXXU2BOFJ
# Pre-Rooted
# Compiled with AARCH64-Android-4.8 toolchain - Kudos Google, this is one is awesome
# Replaced CPU_FREQ_RELATION_L with C for Interactive -> selects freq with min euclidean distance to target freq, should be more efficient
# MDNIE ColorControl
# VoltageControl (CPU, GPU, HPM, BUS)
# Underclocking by default
# Full Synapse Support
# SELinux mode set to Permissive
# Governors added: powersave, intellidemand, ondemand, bluactive and intelliactive
# busybox and init.d
Click to expand...
Click to collapse
--> More will be added, this is just the start :angel:
Changelog
Code:
R6
- Updated to @g.lewarnes newest Unification code
- Added DriveDroid Support - I had this before @g.lewarne (check my commit haha), but he fixed it for the S6 before I did. Thanks for taking work off me @g.lewarne, credit goes to you
- Removed simplgov - Too screwed up.
- SourceDrop BOG9 - Thanks AndreiLux for taking work off me, did it like above. I wanted to do it, but someone already had it.. Lazy mans paradise.
- Some neat addons I found above - HMP especially. Commit - Properly enabled of course.
- Patches I forgot.
R5U
- Unified Build
- Pre-rooted
- simplgov added
- Custom govs temporarily disabled
- Based on BOFJ 5.1.1
- Some Synapse derps fixed up
RXF
- Removed mDNIE Control + switchback to mDNIE Lite
- Some AOE5 cherry-picks
- Sensorhub, MemoryManagement etc.
- Added and configured Direct_Memory_Access (Thanks to Samsung Japan)
- Tons of patches (see Github)
- Disabled the OOM-Killer (out-of-memory-killer) (Samsung Japan)
- We're still testing whether this actually has a practical purpose in daily usage or not
R4.1F/I
- Removed mDNIE ColorControl (working on it)
- Added Support for AOE6 based Roms (in-call audio fix)
R4T/W8 - Same as R4F
R4F
- Based on G925FXXU1AOE3
- Busybox updated to 1.23.2
- NightClock fixed
- GPS Fix for AOE3 based Firmwares
- Synapse included
- Enabled Synapse Support
- mDNIE Control -> Control your DisplayColors! Will be expanded.
- Governor selection for individual cluster (A53 & A57)
- Full CPU VoltageControl for both A53 & A57
- Underclocking to 200mhz enabled by Default
- HPM VoltageControl
- GPU VoltageControl
- Memory Bus, Internal Bus & Image Signal Processor VoltageControl
- mDNIE Tab in Synapse (name is Screen)
- I/O Scheduler settings (Tunables + Definable Read-Ahead)
- BFQ and Deadline I/O scheds added*
- BFQ as default
- VirtualMachine Tweaks
- Full Synapse Settings Backup added
- Fixed 2 GPIO memory leaks + 3rd probable leak
- Memory-killer enhancements (see Github)
- GPU Throttling Levels smoothened
- more stuff I forgot
R2.9F
- Added Overclock and Underclock (@ktoonsez) - Only in Ktweaker for now!
- Added VoltageControl
- Fixed the NightClock - Display is now fully turning off (Switch from MDNIE_LITE to MDNIE)
- DynamicMemoryAllocation: Reduce max PAGE_SIZE to 4 and CMA areas to 4
- Minor tweaks here and there, check my github :D
- Synapse support for 2.9F withdrawn - This build is a patch for NightClock users! R3F coming soon too..
- Added KTweaker for this build - @Ktoonsez ;)
v1.2F/T/W8
- Added T-Mobile, Canadian and I variants (T, W8 & I)
- Added Synapse Support
- Automatized Wifi-Forgetting fix in the ramdisk
- Ported MDNIE HIJACK (ColorControl) - Basic settings for now
- Reverted previous DeepSleep workaround and applied proper patch
- Added awesomeness
v1.1F
- Patched the DeepSleep problem / thanks to @HomerSp for this
- Added governors: Bluactive, Intelliactive, MythX (disabled) and enabled powersave + ondemand
- Added busybox and init.d
- CPU_FREQ_RELATION_C: When scaling freqs, it selects the freq with the minimum euclidean distance to target.
How to install
You need:
- A 5.1.1 based Rom and a supported variant (stock ROM counts)
- The 5.1.1 Bootloader. No support for problems you encounter without the new Bootloader.
Via recovery
You have to have a custom recovery like TWRP, Philz or CWM installed.
- Download the kernel
- Reboot to recovery
- A backup is always recommended
- Flash the zip file
- You're done! Reboot and enjoy.
Via Flashify
- Make sure that you are rooted.
- Download the zip and extract the boot.img
- Download the free app Flashify (Caution: Free Version only allows 3 flashes per day!)
- Grant Flashify Root permissions.
- In main screen, select Boot image and navigate to the previously extracted boot.img
Downloads
All Builds below are for 51.1 and for NO OTHER version.
Unified Build G92xF/I/T/W8/L/S/K (r6) (Android 5.1.1)
Latest r6 - click here
Click to expand...
Click to collapse
If you apply Interactive or simplgov in Synapse, ALWAYS enable it for both clusters. Enabling it for only one will cause funny effects, perhaps even a solid chaos, batterydrain and other unpleasant things. You've been warned.​
Credits
S6 Edge Tester-Team: For doing what no one did before, flashing a never tested build and going through huge pains to help me. It wouldn't be possible without any of you! :angel:
@strikerdj2011
@jaytehnut
@ShermCraig
@beats4x
@ktetreault14
@nvict
@skivnit
@xadidas4lifex
@reesedizan
@Daxxer2007
@faultlog
@techenthusiast
@Soft4y
@Silvercat
@Darktitor
@simorangkir_dcs
@Mentalmuso
@riofrio1000
@virulentt
@brar.arsh
XDA:DevDB Information
SimplKernel, Kernel for the Samsung Galaxy S6
Contributors
mythos234
Source Code: https://gitlab.com/mythos234/SimplKernel-5.1.1-G92X.git
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: r6
Stable Release Date: 2015-08-06
Created 2015-07-03
Last Updated 2018-06-05
Reserved
Reserved
Nice! will test it on my w8! im on XtreStoLite 2.0 Odex without Fingerprint since my bootloader is still 5.0.2
Edit : confirmed second boot working without fingerprint on the rom!
working great on my 925F edge, with 5.1.1 bootloader and XtreStrolite rom <3
I looked at your github. What are the memory killer tweaks? I don't see anything that really seems to correlate to memory killer. Also, how did you disable OOM killer? From what I've seen, OOM is present but does nothing. I'm just asking for my own sanity
mikeyinid said:
I looked at your github. What are the memory killer tweaks? I don't see anything that really seems to correlate to memory killer. Also, how did you disable OOM killer? From what I've seen, OOM is present but does nothing. I'm just asking for my own sanity
Click to expand...
Click to collapse
Oh, my changelog for this build is as confused as my current state of mind is. OOM is back and enabled in this build, it was disabled prior to building in the configuration.
And looked at the commit history, yes you do seem to be right about missing memory-killer patches.
Sorry, I haven't managed to get all the patches I used to run in yet. Something was blocking boot for all week, thats why 3 governors are still disabled.
Today was my graduation day, it's a bit turbulent.. Published today instead on next Monday/Tuesday since it only lacks some minor patches at the moment
mythos234 said:
Oh, my changelog for this build is as confused as my current state of mind is. OOM is back and enabled in this build, it was disabled prior to building in the configuration.
And looked at the commit history, yes you do seem to be right about missing memory-killer patches.
Sorry, I haven't managed to get all the patches I used to run in yet. Something was blocking boot for all week, thats why 3 governors are still disabled.
Today was my graduation day, it's a bit turbulent.. Published today instead on next Monday/Tuesday since it only lacks some minor patches at the moment
Click to expand...
Click to collapse
OK, just making sure I'm not going crazy. I've spent months trying to figure Samsung's method of memory management out, my head has nearly exploded more times than I can count. I wouldn't waste your time with OOM or LMK stuff in the kernel. It does nothing. All of the memory management stuff is in the services.jar, and they're changing it in the next update. So the little bit I have figured out will be useless lol. Congrats on graduating too BTW
Does this kernel root also? I use one of the kernels that rooted 5.1.1 automatically and want to know if I will lose root by flashing this. Thanks in advance for any help.
mikeyinid said:
OK, just making sure I'm not going crazy. I've spent months trying to figure Samsung's method of memory management out, my head has nearly exploded more times than I can count. I wouldn't waste your time with OOM or LMK stuff in the kernel. It does nothing. All of the memory management stuff is in the services.jar, and they're changing it in the next update. So the little bit I have figured out will be useless lol. Congrats on graduating too BTW
Click to expand...
Click to collapse
Thanks Yeah, they work in mysterious ways that much is true. Otherwise disabling it should have solved it. Well, it didn't. At least I found a method to get new sourcecode within 15min after the firmware release.. They kind of rolled out the red carpet for me now.
thehustleman said:
Does this kernel root also? I use one of the kernels that rooted 5.1.1 automatically and want to know if I will lose root by flashing this. Thanks in advance for any help.
Click to expand...
Click to collapse
Theoretically, yes. In reality I updated the ramdisk about 5min prior to uploading and couldn't test if it works. But I believe that it does
Thanks, let's flash this baby
Sent from my SM-G925F
What cpu governor are you suggesting?
virulentt said:
What cpu governor are you suggesting?
Click to expand...
Click to collapse
Interactive, it's greatly adapted to the clusters and twice as big as the "usual" old Interactive thanks to it. You can also give simplgov a shot, it's basically Interactive with some changes I wanted to try out
Just flashed the kernel lets see how it performs. Currently on the interactive governor. Can you give some insight into your simplgov governor? What does it compare to?
Rebel25 said:
Just flashed the kernel lets see how it performs. Currently on the interactive governor. Can you give some insight into your simplgov governor? What does it compare to?
Click to expand...
Click to collapse
One post above yours...
OK thanks. Was hoping for is a bit more info. But a magician never reveals their secrets.
mythos234 said:
Interactive, it's greatly adapted to the clusters and twice as big as the "usual" old Interactive thanks to it. You can also give simplgov a shot, it's basically Interactive with some changes I wanted to try out
Click to expand...
Click to collapse
Using simplgov as we speak, runs super smooth!
Looks great
Guys,sorry for the stupid question....i m using XtreStoLite rom and i have a g 920F,the normal one.....can i flash this kernel?There is someone that is using with this kernel my same rom,and how it is?Tnx guys
Tnx @mythos234
This kernel as memory killer? Or all apps works fine in background?

[KERNEL][CAF][5.1.1][TW / MIUI / ColorOS] Tensei_r5 [24/06/2017]

{
"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,
* thermonuclear war, or you getting fired because the alarm app failed.
* Please do some research if you have any concerns about features included
* 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.
NOTES - MUST READ
1. Do not ask or request overclock. It wont be added.
2. This kernel uses AnyKernel 2, just like the Linaro Kernel by Nick Verse. So, it should work on all Galaxy J5 (2015) models. You test and report.
3. ROOT is not included in kernel, neither in the flashable zip. You have to flash SuperSU zip manually, after flashing the kernel.
Click to expand...
Click to collapse
THREAD INFO:
Post #1: Notes, requirements, features, download links, installation instructions, sources, credits, screenshots
Post #2: Changelog and bugs.
Click to expand...
Click to collapse
REQUIREMENTS / COMPATIBILITY:
- Galaxy J5 2015
- Official Touchwiz stock rom 5.1.1
- Stock kernel, unmodified
- TWRP 5.1.1
It also work on:
- MIUI Lollipop
- ColorOS Lollipop
Click to expand...
Click to collapse
FEATURES:
-Based on CAF source for improved performance / smoothness (LA.BR.1.1.3_rb1.11)
-Several CAF patches
-Fixed DirtyCow, QuadRooter and other vulnerabilities
-Updated GPU driver to MM source
-Adreno Idler: main goal is to lower the power consumptions while maintaining high-performance
-SELinux permissive
-init.d support
-silenced many kernel logs
-fixed some memory leaks
-KCAL: Color Control
-QuickWakeup driver
-Drivedroid support - put an OS on your phone and boot your PC using the phone. Not tested, but it should work.
-governors: default + enabled ondemand & conservative governors + @squid2's lionfish
-schedulers: default + FIOPS, SIO, SIOPLUS, ZEN v2 and BFQ I/O schedulers
-enabled advanced TCP congestions: default ones + Westwood, HSTCP, HYBLA, HTCP, Vegas, Veno, Scalable, LP, Yeah, Illinois + Sociopath
-4 hotplugs: IntelliPlug, MSM Hotplug, Bricked (MP DECISION), Alucard
-Prima WLAN driver
-tweak for better network speed
-tweaks to improve I/O latency on SSD
-many patches has been applied for faster I/O read / write
-CRC toggle: disabled by default (for more 30% performance according to its description)
-android log toggle on/off: disabled by default
-Fsync toggle on/off: Disabling it should improve the performance, but there might be data loss. More details here: https://forum.xda-developers.com/showpost.php?p=33381928&postcount=5
-arch_power and gentle_fair_sleepers toggles
-disabled CPU L2 Cache during video sessions to save more power
-removed verifiedbootstate flag from /proc/cmdline (in order to pass the SafetyNet CTS check with an unlocked bootloader, this patch is needed); I dont know if Pokemon GO game or something similar works now, you can check and report as im not playing those games)
Click to expand...
Click to collapse
DOWNLOAD:
Touchwiz Lollipop: ANDROIDFILEHOST | MEDIAFIRE
MIUI / ColorOS Lollipop: ANDROIDFILEHOST | MEDIAFIRE
Click to expand...
Click to collapse
INSTALLATION INSTRUCTIONS:
1. Be sure that you are using TWRP according to the Android version you are using.
2. Download kernel archive and put it on your external SD Card.
3. Now go to TWRP recovery by keeping pressing Power button + home button + volume UP button at same time for few seconds.
4. Install the kernel zip you have downloaded.
5. [OPTIONALLY] Install SuperSU.
6. Wipe cache and dalvik-cache to avoid issues.
7. Reboot.
Click to expand...
Click to collapse
SOURCE CODE:
Touchwiz Lollipop: ANDROIDFILEHOST | MEDIAFIRE
MIUI / ColorOS Lollipop: ANDROIDFILEHOST | MEDIAFIRE
Click to expand...
Click to collapse
CREDITS:
@osm0sis for the awesome AnyKernel.
@Saber for the awesome and the best guide with useful informations about governors, schedulers etc.
@Nick Verse
@ganesh varma
@jackeagle
@FrozenCow
@franciscofranco
@flar2
@squid2
@Sultanxda
@savoca
@faux123
@eng.stk
@FireLord
@Shoaib05
If you think you have been missed, let me know and i will add you.
Click to expand...
Click to collapse
XDA:DevDB Information
[KERNEL][CAF][5.1.1][TW / MIUI / ColorOS] Tensei_r5 [24/06/2017], Kernel for the Samsung Galaxy J5
Contributors
#Henkate
Source Code:
Kernel Special Features: Based on CAF kernel, fast and stable, hotplugs, enabled advanced TCP congestions, KCAL, security fixes, Adreno Idler, PowerSuspend
Version Information
Status: Stable
Current Stable Version: r5
Stable Release Date: 2017-06-24
Created 2017-01-24
Last Updated 2017-06-24
Reserved
bugs:
-The only bug is that sometimes when you power off / reboot the phone, it freeze and you have to take out the battery.
Click to expand...
Click to collapse
changelog:
24/06/2017
- removed i/o scheduler switcher. The random reboot should be gone ( my j5 didnt have any reboot with i/o sched swither and neither without it, while being in idle though, as i'm not using it)
- fixed two permissions of powersuspend (0666 --> 0644)
- added @squid2's lionfish governor. It is supposed to be more battery friendly. Test and report your feedback.
- added sociopath tcp: "this is basically tcp reno with no slow start and a much more aggressive ssthresh recalculation (lowers it by 5% instead of 50%)"
- fixed 9 vulnerabilities
about doubletap2wake and sweep2sleep:
this new update was supposed to have dt2w and sweep2sleep. I've added them by using the commits from other kernel and they were working, both. However, there were some issues:
1) dt2w wasn't working on the full screen. Even after choosing "full" in kerneladiutor, i still had to double tap in the bottom of the screen (half) to wake it. When i was double tapping on the other half of the screen (top), it wasn't working.
2) i dont know if sweep2sleep is supposed to work only in the bottom of the screen, but that's how it was working. It was fine though.
3) phone wasn't going to deep sleep, even when both were off. This is the major issue and that's why i've removed dt2w and sweep2sleep. I don't really have the knowledge to fix that and i'm not willing to spend time for that. Those commits which i've picked has powersuspend hooks and i had to update powersuspend to v1.8.1 as that kernel. Perhaps this version of powersuspend wasn't working properly and that's why it was causing the phone to not go into deep sleep? I don't know...
Click to expand...
Click to collapse
09/05/2017
- added i/o switcher: A driver which change the i/o scheduler to noop automatically when screen goes off and restore the i/o scheduler which was set before when screen is on after 10 seconds
- silenced much more kernel logs
- re-enabled swap & zram
- added sys interface to configure linux printk logging (debugging purpose)
- added gpu time_in_state stats (similar to cpu stats)
- added quick wakeup driver: Allow kernel driver to do periodic jobs without resuming the full system. It should increase battery life.
- added toggles for gentle_fair_sleepers and arch_power
- tcp cubic fixes
- added sioplus, zen v2 and bfq schedulers
- enabled conservative governor
- fixed some memory leaks
- fixed a problem where reboot on android panics the kernel almost every time when file systems are mounted over loop devices
- updated power efficient workqueue + fixes; enabled by default
- added gpu governor whitelist to prevent you from enabling gpu governors which are unstable / incomplete (bw_hwmon, bw_vbif, gpubw_mon; all those 3 make the phone freeze once are enabled). Now when you try to enable those, it wont change anything.
- misc fixes and improvements
Click to expand...
Click to collapse
07/05/2017
- wifi module is now smaller as it should be (~40mb -> ~3mb)
- disabled some kernel logs
- disabled zram, swap and everything else related to swap
- allow 320k aac encoding
- misc fixes and improvements
- increased charge time from 30s to 100s when battery status is near full
(when charger is online for a long time, such as 12 hour, the battery status changes from charging to full and resumes charging.
The reason is that battery is not full at the first full state. So increse charge time from 30s to 100s when battery status is
near to full. This methods will reduce the number of recharging time)
Click to expand...
Click to collapse
02/05/2017
- disabled android log and crc check by default
- added back kcal (color control), drivedroid support and power efficient workqueues
- removed verifiedbootstate flag from /proc/cmdline (in order to pass the safetynet cts check with an unlocked bootloader, this patch is needed); i dont know if pokemon go game or something similar works now, you can check and report as im not playing those games)
- tweaks to improve i/o latency on ssd
- fixed few security vulnerabilities (such as dirtycow and quadrooter)
- many patches has been applied for faster i/o read / write
- governors are more friendly towards latency-sensitive bursty workloads
- and other misc tweaks
Click to expand...
Click to collapse
16/03/2017
- reworked from scratch and based on caf source for more performance / smoothness (now i can clearly see a difference )
- updated gpu driver to mm source
- added crc toggle (enable / disable)
- enabled adaptive lmk by default and set vmpressure_file_min for msm8916 from caf
- disabled arch_power
- frezee bug is gone
- removed: Ota, kcal, soundcontrol, power efficient workqueues, zen governor, frandom
- removed also the ramdisk modifications as it may lower performance / smoothness. I might try again in future.
Click to expand...
Click to collapse
24/01/2017
- initial build
Click to expand...
Click to collapse
Upcoming update
reserved
Wait, so you ask what rom should you build and then build a kernel?!?
Trying it brb
Telepracity said:
Wait, so you ask what rom should you build and then build a kernel?!?
Trying it brb
Click to expand...
Click to collapse
I have said that ill publish the kernel, then i resume to RR, then i build a new rom.
#Henkate said:
I have said that ill publish the kernel, then i resume to RR, then i build a new rom.
Click to expand...
Click to collapse
wow you are a really busy man xD
small update
Few screenshots were attached at the end of first post.
There has been a small issue in the script of Anykernel, so OTA wont work. I have fixed this and updated the download links.
Please download and reinstall again in order to get OTA working. Im sorry for this small issue.
Installing kernel now, will get back with results in a couple of days.
kernel
DylanCl said:
Installing kernel now, will get back with results in a couple of days.
Click to expand...
Click to collapse
testingg
J500M Support? Thanks
HPM8294 said:
J500M Support? Thanks
Click to expand...
Click to collapse
This kernel is made for J500FN (using J500FN sources) but because it's using AnyKernel2, it should work on all models.
I've wrote this at notes in first post:
2. This kernel uses AnyKernel 2, just like the Linaro Kernel by Nick Verse. So, it should work on all Galaxy J5 (2015) models. You test and report.
Click to expand...
Click to collapse
J500M Work! Testing
@#Henkate, dattebayo! Am i right?? :laugh:
veez21 said:
@#Henkate, dattebayo! Am i right?? :laugh:
Click to expand...
Click to collapse
Yea xD
Let's stay on topic. Not all people know about animes haha.
To people who are asking what does mean that: "dattebayo" it's a Japanese word which Naruto says it often in the anime, it's like a verbal tic. It means "you know" or "believe it".
#Henkate said:
Yea xD
Let's stay on topic. Not all people know about animes haha.
To people who are asking what does mean that: "dattebayo" it's a Japanese word which Naruto says it often in the anime, it's like a verbal tic. It means "you know" or "believe it".
Click to expand...
Click to collapse
Yeah,:good:. Will test l8ter. :good:
I tested your kernel with my j500h model, Worked good without any problem
Thank you @#Henkate
come on give LP version pls
wyr007 said:
come on give LP version pls
Click to expand...
Click to collapse
Just be patient.
I just started building it. It will be available soon.
Lollipop version is out
Lollipop version is out. You find the download links in first post.
Lollipop version has additional changes:
Code:
-built with AOSP 4.8 toolchain (if im using 4.9 the phone gets stuck at Galaxy J5 logo, not even bootanimation; i didnt take a logcat yet)
-disabled CPU L2 Cache during video sessions to save more power[B][COLOR="Red"]*[/COLOR][/B]
-more security fixes[B][COLOR="Red"]*[/COLOR][/B]
* The changes with asterisk were already present on Marshmallow kernel.
The flashable zip has 24/01/2017 date because Lollipop version was supposed to be released yesterday too. However, if you take a look at Settings > About phone or Kernel Adiutor you will see that the kernel was built today.
Im waiting for reviews. I wanna know if you encounter the same problem like me, mentioned at notes in first post at 2) .
Now i can resume to RR, to work on a final update. RR kernel will also have Tensei features and probably few other changes for improving the battery since CM is faster than Touchwiz.
Phone "feels" faster, but that could also just be a placebo.
The only bug I've found yet is that my camera froze once after double-tapping to open it, but that hasn't happened since.

[KERNEL][7.1.x][LOS/AOSP] Tensei_r4

{
"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,
* thermonuclear war, or you getting fired because the alarm app failed.
* Please do some research if you have any concerns about features included
* 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.
NOTES - MUST READ
1. Do not ask or request overclock. It wont be added.
2. This kernel uses AnyKernel 2, just like the Linaro Kernel by Nick Verse. So, it should work on all Galaxy J5 (2015) models. You test and report.
3. ROOT is not included in kernel, neither in the flashable zip. You have to flash SuperSU zip manually, after flashing the kernel.
4. For some reason, Kernel Adiutor still show the frequencies below 800Mhz, but those are not being used as i dont want to.
5. F2FS is not enabled yet.
6. I've just found that QuadRooter Scanner still show a vulnerability. I think I've forgot to apply a commit since on lollipop version it's fixed. I'll look later and it'll be fixed in next release.
Click to expand...
Click to collapse
THREAD INFO:
Post #1: Notes, requirements, features, download links, installation instructions, sources, credits, screenshots
Post #2: Changelog and bugs.
Click to expand...
Click to collapse
REQUIREMENTS / COMPATIBILITY:
- Galaxy J5 2015
- Nougat ROM based on LOS/AOSP. While it should work on all, keep in mind that this has been tested mainly on LOS.
- TWRP 5.1.1
It should work on all models as ive stated at notes.
However, if it doesnt work on your model (other than J500FN) or if you encounter issues, then try to remove the dtb.img from kernel zip and flash it again after restoring the boot.img which the ROM you are using came with.
The dtb included in zip is J500FN one and thats why it may not work or you may have issues. Ive included the dtb because SoUnd001 did some changes to this (like using 50mhz frequency) and i dont want those changes. To overwrite those changes, i had to include the dtb.
Click to expand...
Click to collapse
FEATURES:
-Based on LA.BR.1.1.3 (the source left by @Nick Verse and @ganesh varma)
-Several CAF patches
-ZRAM enabled
-Fixed DirtyCow, QuadRooter and other vulnerabilities
-Adreno Idler: main goal is to lower the power consumptions while maintaining high-performance
-SELinux permissive
-silenced many kernel logs
-fixed some memory leaks
-driver which change the I/O scheduler to noop automatically when screen goes off and restore the I/O scheduler which was set before when screen is on after 10 seconds
-QuickWakeup driver
-Drivedroid support - put an OS on your phone and boot your PC using the phone. Not tested, but it should work.
-governors: default + enabled ondemand & conservative governors
-schedulers: default + FIOPS, SIO, SIOPLUS, ZEN v2 and BFQ I/O schedulers
-enabled advanced TCP congestions: default ones + Westwood, HSTCP, HYBLA, HTCP, Vegas, Veno, Scalable, LP, Yeah, Illinois
-4 hotplugs: IntelliPlug, MSM Hotplug, Bricked (MP DECISION), Alucard
-tweak for better network speed
-tweaks to improve I/O latency on SSD; many patches has been applied for faster I/O read / write
-CRC toggle: enabled by default (disable it for more 30% performance according to its description)
-android log toggle on/off: disabled by default Seems to be buggy on LOS/AOSP. Ill check it later.
-Fsync toggle on/off: Disabling it should improve the performance, but there might be data loss. More details here: https://forum.xda-developers.com/showpost.php?p=33381928&postcount=5
-arch_power and gentle_fair_sleepers toggles
-disabled CPU L2 Cache during video sessions to save more power
-removed verifiedbootstate flag from /proc/cmdline (in order to pass the SafetyNet CTS check with an unlocked bootloader, this patch is needed); I dont know if Pokemon GO game or something similar works now, you can check and report as im not playing those games)
Click to expand...
Click to collapse
DOWNLOAD:
Nougat: ANDROIDFILEHOST | MEDIAFIRE
Click to expand...
Click to collapse
INSTALLATION INSTRUCTIONS:
1. Be sure that you are using TWRP.
2. Download kernel archive and put it on your external SD Card.
3. Now go to TWRP recovery by keeping pressing Power button + home button + volume UP button at same time for few seconds.
4. Install the kernel zip you have downloaded.
5. [OPTIONALLY] Install phh Superuser or something else.
6. Reboot.
Click to expand...
Click to collapse
SOURCE CODE:
Nougat: ANDROIDFILEHOST | MEDIAFIRE
Click to expand...
Click to collapse
CREDITS:
@osm0sis for the awesome AnyKernel.
@Saber for the awesome and the best guide with useful informations about governors, schedulers etc.
@Nick Verse
@ganesh varma
@jackeagle
@SoUnd001
@FrozenCow
@franciscofranco
@flar2
@Sultanxda
@savoca
@faux123
@eng.stk
@FireLord
@Shoaib05
If you think you have been missed, let me know and i will add you.
Click to expand...
Click to collapse
XDA:DevDB Information
[KERNEL][7.1.x][LOS/AOSP] Tensei_r4, Kernel for the Samsung Galaxy J5
Contributors
#Henkate
Source Code:
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: r4
Stable Release Date: 2017-05-16
Created 2017-05-16
Last Updated 2017-05-17
Changelog & Bugs
bugs:
-the toggle for log doesn't seems to work on LOS/AOSP
Click to expand...
Click to collapse
changelog:
09/05/2017
- added I/O switcher: a driver which change the I/O scheduler to noop automatically when screen goes off and restore the I/O scheduler which was set before when screen is on after 10 seconds
- silenced much more kernel logs
- re-enabled SWAP & ZRAM
- added sys interface to configure linux printk logging (debugging purpose)
- added GPU time_in_state stats (similar to CPU stats)
- added Quick Wakeup driver: Allow kernel driver to do periodic jobs without resuming the full system. It should increase battery life.
- added toggles for gentle_fair_sleepers and arch_power
- TCP cubic fixes
- added SIOPLUS, ZEN v2 and BFQ schedulers
- enabled conservative governor
- fixed some memory leaks
- fixed a problem where reboot on Android panics the kernel almost every time when file systems are mounted over loop devices
- updated power efficient workqueue + fixes; enabled by default
- added GPU governor whitelist to prevent you from enabling GPU governors which are unstable / incomplete (bw_hwmon, bw_vbif, gpubw_mon; all those 3 make the phone freeze once are enabled). Now when you try to enable those, it wont change anything.
- misc fixes and improvements
Click to expand...
Click to collapse
07/05/2017
- wifi module is now smaller as it should be (~40mb -> ~3mb)
- disabled some kernel logs
- disabled ZRAM, SWAP and everything else related to swap
- allow 320K AAC encoding
- misc fixes and improvements
- increased charge time from 30s to 100s when battery status is near full
(When charger is online for a long time, such as 12 hour, the battery status changes from charging to full and resumes charging.
The reason is that battery is not full at the first full state. So increse charge time from 30s to 100s when battery status is
near to full. This methods will reduce the number of recharging time)
Click to expand...
Click to collapse
02/05/2017
- disabled android log and crc check by default
- added back kcal (color control), drivedroid support and power efficient workqueues
- removed verifiedbootstate flag from /proc/cmdline (in order to pass the safetynet cts check with an unlocked bootloader, this patch is needed); i dont know if pokemon go game or something similar works now, you can check and report as im not playing those games)
- tweaks to improve i/o latency on ssd
- fixed few security vulnerabilities (such as dirtycow and quadrooter)
- many patches has been applied for faster i/o read / write
- governors are more friendly towards latency-sensitive bursty workloads
- and other misc tweaks
Click to expand...
Click to collapse
16/03/2017
- reworked from scratch and based on caf source for more performance / smoothness (now i can clearly see a difference )
- updated gpu driver to mm source
- added crc toggle (enable / disable)
- enabled adaptive lmk by default and set vmpressure_file_min for msm8916 from caf
- disabled arch_power
- frezee bug is gone
- removed: Ota, kcal, soundcontrol, power efficient workqueues, zen governor, frandom
- removed also the ramdisk modifications as it may lower performance / smoothness. I might try again in future.
Click to expand...
Click to collapse
24/01/2017
- initial build
Click to expand...
Click to collapse
Reserved
Thanks!
Cpu governor- impulse, elementalx, zzmoove
I/o schedule : zen
Is it on this kernal ?
sivakrishnanj said:
Cpu governor- impulse, elementalx, zzmoove
I/o schedule : zen
Is it on this kernal ?
Click to expand...
Click to collapse
All the features are mentioned in first post. The governors you've mentioned aren't present, but the zen scheduler is.
#Henkate said:
All the features are mentioned in first post. The governors you've mentioned aren't present, but the zen scheduler is.
Click to expand...
Click to collapse
What will this improve (noob for kernels)
infixremix said:
What will this improve (noob for kernels)
Click to expand...
Click to collapse
Here's a thread with detailed descriptions/information about governors, I/O schedulers (including Zen), hotplugs, TCP congestions. There's also benchmarks and comparisons.
@#Henkate you're becoming a pro in building custom kernels :good:
Dies this use frq under 800?
JosephDM said:
@#Henkate you're becoming a pro in building custom kernels :good:
Click to expand...
Click to collapse
Nope, lol.
Amarius1 said:
Dies this use frq under 800?
Click to expand...
Click to collapse
No. Please read my post here: https://forum.xda-developers.com/showpost.php?p=72280158&postcount=131 . That doesn't mean that it can't have a good SOT. I've got 7-8h in past when I used CM13 and as you know it doesn't have these frequencies neither.
I'm waiting for feedbacks. Take your time for that.
Last but not least, lemme remind you again that this kernel wouldn't be possible without the guys mentioned at credits.
EDIT:
QuadRooter Scanner still show a vulnerability. I think I've forgot to apply a commit since on lollipop version it's fixed. I'll look later and it'll be fixed in next release.
Sadly I am not on 7.1.1 so i can't test this. :crying:
Awesome job! First custom kernel for Nougat :laugh:
This kernel has support VOLTE ?
sivakrishnanj said:
This kernel has support VOLTE ?
Click to expand...
Click to collapse
I guess you meant ramdisk which is a part of boot.img. No, it doesn't.
But if the ROM which you're using would get volte support, then it'll work with this kernel as well since it's using the ramdisk from the actual kernel.
E.g.: Let's say that there is a new update of LOS which has volte support (in ramdisk, but also rom). After flashing the new update, you'll get the kernel which ROM is using. Then you flash my kernel and it'll use same ramdisk with volte support because I'm using AnyKernel (Google it), so i wouldn't have to make the changes from the new update manually.
YuZaGa said:
Kernels don't need to support volte. It's the rom which does it.
You should ask SoUnd1 to add the volte support.
Click to expand...
Click to collapse
Both kernel & rom must support the volte
---------- Post added at 07:48 AM ---------- Previous post was at 07:43 AM ----------
#Henkate said:
I guess you meant ramdisk which is a part of boot.img. No, it doesn't.
But if the ROM which you're using would get volte support, then it'll work with this kernel as well since it's using the ramdisk from the actual kernel.
E.g.: Let's say that there is a new update of LOS which has volte support (in ramdisk, but also rom). After flashing the new update, you'll get the kernel which ROM is using. Then you flash my kernel and it'll use same ramdisk with volte support because I'm using AnyKernel (Google it), so i wouldn't have to make the changes from the new update manually.
Click to expand...
Click to collapse
:angel:
Hmm... 65 downloads in total and 0 feedbacks?
#Henkate said:
Hmm... 65 downloads in total and 0 feedbacks?
Click to expand...
Click to collapse
Srry. I cant test it. Cuz im on A5UX ROM by mitko.
I'm using your kernel
kaducomk said:
I'm using your kernel
Click to expand...
Click to collapse
Thank you for using it!
I'd like to hear feedbacks though, but take your time for that.
Same goes to the other people which have downloaded and using it. If you want new releases, let me know your feedback from the actual release. I need to know if you have problems and your overall experience.
CPU Overclock would be awesome otherwise it's pretty good in terms of battery,performance and stability

[KERNEL][7.1.2][All Variants!] -V- Kernel X

-V- Kernel X
w/ AnyKernel2 for support on all LaOS 14.x -based ROMs!
import /disclaimer.md
Code:
I am not responsible for any damage done to your device/SD card/OTG cable/washing machine/toaster etc.
You are responsible for what you do.
If something brakes, it's on you!
Furthermore, functionality on older/newer ROMs not guaranteed.
Some may work.
Governors:
IntelliActive
IntelliDemand
Conservative set as default (from interactive)
Hotplugs:
IntelliPlug
Alucard
Use only one! And disable MPDecision!
Extra Features:
Forced Fast Charge v2
GPU: UC to 100MHz, OC to 533MHz
RAM: Added 133MHz (UC) and 566MHz (OC)
ZRAM: Enabled LZ4 compression + Auto resize to 500MB
Intelli_Thermal v3.0
Fixed ROM's init.d
Included kernel-side patch for BlueBorne vulnerability
KSM: Duplicate page check added (I recommend disabling KSM)
Simple GPU Algorithm (by faux123)
Script to force stop MPDecision + Auto enable IntelliPlug (can be disabled in /data/vkx.prop)
Power Suspend Mode v1.5
NTFS read/write support (write is limited, only supports overwriting existing files)
Config accessable from /proc/config.gz
More to come... Make suggestions and I will see what I can do...
Compiled using the Android NDK!
Installation:
You must have unlocked your bootloader!
Download the attached file!
Custom Recovery required
Make a backup of the boot partition for restore/uninstall purposes
Just download and flash the latest auto-install .zip file.
Then, use a kernel tweaking app or script (I use Kernel Adiutor).
To-Do:
Add more governors
Add some IO schedulers
Make suggestions...
Known Bugs:
Found one? Report it.
Source code:
-V- Kernel X
LineageOS (kernel)
Thanks to:
@mobiusm , for his general assistance, some code, and for putting up with me no matter how annoying I was/am/will be.
@likeadracula , for his general assistance and recommendations.
@faux123 , developer of anything starting with "intelli" and 'Simple GPU Algorithm'
@osm0sis , developer of AnyKernel2
and to anyone else I forgot!
XDA:DevDB Information
-V- Kernel X, Kernel for the LG G2 Mini
Contributors
Vagelis1608, mobiusm, likeadracula, faux123, osm0sis
Source Code: https://github.com/Vagelis1608/-V-_Kernel_X
Github Releases: https://github.com/Vagelis1608/-V-_Kernel_X/releases
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.3.1
Stable Release Date: 2018-04-13
Development Status: Abandoned :/
Created 2017-07-27
Last Updated 2018-06-27
Github Releases: https://github.com/Vagelis1608/-V-_Kernel_X/releases
Changelog:
v1.3.1:
Fixed the RAMDisk-based script
v1.3:
KSM: Tuned default parameters (still, I recommend disabling it)
GPU: UnderClock to 100MHz
Replaced Qualcomm's thermal driver (Thermald) with Intelli_Thermal v3.0 (by @faux123 )
Fixed ROM's init.d (Enforcing SELinux blocked it, now it works)
RAMDisk script: IntelliPlug is now automatically enabled when MPDecision is force-disabled
ZRAM: The RAMDisk-based script now sets it's size to 500MB (can be disabled in /data/vkx.prop: change persist.use.big.zram )
Swappiness is also set to 100. If you use a swap file, then this MUST be disabled (/data/vkx.prop: change persist.using.swap.file). Otherwise, problems will arise. You have been warned!​
v1.2.1:
Included kernel-side patch for BlueBorne vulnerability
Enabled LZ4 compression for ZRAM
v1.2:
KSM: Duplicate page check added
Simple GPU Algorithm (by faux123)
Script to force stop MPDecision (can be disabled in /data/vkx.prop)
v1.1:
GPU Overclocked to 533MHz (from 450Mz)
RAM: Added 133MHz (UC) and 566MHz (OC)
Power Suspend Mode v1.5
Alucard Hotplug
v1.0.1 (hotfix):
Fix faulty frequency in IntelliDemand (two_phase_freq)
Tuned IntelliDemand and IntelliActive
Delete 'placeholder' file added in the RAMDisk by mistake in v1.0
Disabled device check
v1.0:
First release.
Reserved
MY POST
Oh, was not expecting this. What a pleasant surprise. Thank you.
Perhaps you could add spectrum support, you can find more info in here:
https://forum.xda-developers.com/android/apps-games/app-spectrum-kernel-manager-users-t3601542
cahiri0 said:
Oh, was not expecting this. What a pleasant surprise. Thank you.
Perhaps you could add spectrum support, you can find more info in here:
https://forum.xda-developers.com/android/apps-games/app-spectrum-kernel-manager-users-t3601542
Click to expand...
Click to collapse
Should be fairly simple to implement.
However, since this is a ramdisk mod, you can add it yourself using Android Image Kitchen or the injector in the third post on that thread. Be sure to set the correct frequencies.
That way, you will have it before I push an update with it implemented.
Vagelis1608 said:
Should be fairly simple to implement.
However, since this is a ramdisk mod, you can add it yourself using Android Image Kitchen or the injector in the third post on that thread. Be sure to set the correct frequencies.
That way, you will have it before I push an update with it implemented.
Click to expand...
Click to collapse
I flashed it after release, but after new system build clean flash I could not find time to make new profiles, as they are empty in injector. Hell, lately I can't find time to update system, I flash new one every 4-5 weeks.
is it working on RR6 ?
eicrag123 said:
is it working on RR6 ?
Click to expand...
Click to collapse
No. Only Nougat ROMs.
So, not RR6. But, if upgrade to RR7, then you can use it.
Hotfix release out!
v1.0.1 (hotfix):
Fix faulty frequency in IntelliDemand (two_phase_freq)
Tuned IntelliDemand and IntelliActive
Delete 'placeholder' file added in the RAMDisk by mistake in v1.0
Disabled device check
If you use an app that applies all values by default and you use IntelliActive or (especially) IntelliDemand, then force it to reload the new values for tunables.
Vagelis1608 said:
Changelog:
v1.0.1 (hotfix):
Fix faulty frequency in IntelliDemand (two_phase_freq)
Tuned IntelliDemand and IntelliActive
Delete 'placeholder' file added in the RAMDisk by mistake in v1.0
v1.0:
First release.
Click to expand...
Click to collapse
tryin to install it tells me unsupported device ? like is this for 620 or 618 ?
berraffarouk15 said:
tryin to install it tells me unsupported device ? like is this for 620 or 618 ?
Click to expand...
Click to collapse
I disabled device check in v1.0.1 and reuploaded it.
Download the v1.0.1 zip and let me know if it works.
Vagelis1608 said:
I disabled device check in v1.0.1 and reuploaded it.
Download the v1.0.1 zip and let me know if it works.
Click to expand...
Click to collapse
okay i'll give it a try now thnx
Vagelis1608 said:
Changelog:
v1.0.1 (hotfix):
Fix faulty frequency in IntelliDemand (two_phase_freq)
Tuned IntelliDemand and IntelliActive
Delete 'placeholder' file added in the RAMDisk by mistake in v1.0
Disabled device check
v1.0:
First release.
Click to expand...
Click to collapse
installed fine can u tell me which kernel manager u use ?
berraffarouk15 said:
installed fine can u tell me which kernel manager u use ?
Click to expand...
Click to collapse
I use Kernel Adiutor.
Also, which variant do you have (D620/D618)?
EDIT: Apply on boot has some issues (some settings don't get applied). To fix it enable the 'Script' option in Kernel Adiutor's settings.
{
"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"
}
Vagelis1608 said:
I use Kernel Adiutor.
Also, which variant do you have (D620/D618)?
EDIT: Apply on boot has some issues (some settings don't get applied). To fix it enable the 'Script' option in Kernel Adiutor's settings.
Click to expand...
Click to collapse
okay thnx, and i hv d618 and ca i know if there is a kernel manager that whne installed to system apps it appears in the stock settings menu i mean like magisk does and supersu and other ,,,, u get me ?
berraffarouk15 said:
okay thnx, and i hv d618 and ca i know if there is a kernel manager that whne installed to system apps it appears in the stock settings menu i mean like magisk does and supersu and other ,,,, u get me ?
Click to expand...
Click to collapse
Oh, I get you...
That's one of the reasons why I use Kernel Adiutor.
(This is on RR7)
OC?
wild_fire said:
OC?
Click to expand...
Click to collapse
According to @mobiusm , the max and min frequencies are locked on the hardware level.
As such, overclocking and underclocking are impossible.
Well, unless you replace the actual CPU, so yeah...
He can correct me if I am wrong.
Vagelis1608 said:
According to @mobiusm , the max and min frequencies are locked on the hardware level.
As such, overclocking and underclocking are impossible.
Well, unless you replace the actual CPU, so yeah...
He can correct me if I am wrong.
Click to expand...
Click to collapse
Umm... But didn't this one guy make a kernel that oc's the CPU to 1.6ghz? It was for cm12 I believe...

Categories

Resources