[KERNEL][CAF][5.1.1][TW / MIUI / ColorOS] Tensei_r5 [24/06/2017] - Samsung Galaxy J5 (2015) ROMs, Kernels, Recoveries

{
"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.

Related

[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][UB-5.2][CM/AOSP][5.1.X] MeGaByTe_Kernel_r4 [Colour Calibration][7/11/15]

{
"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"
}
MeGaByTe Kernel​Attention
/*
I'm not a developer, im taking effort to put more choices of kernel for our community.
This kernel is tweaked for my own taste.
Please do not request for more features because i want to ensure the stability of the kernel first.
And thank you for using this kernel.
*/
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 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
- Compiled with latest Built with latest custom Uber 5.2
- Updated Kernel Base With CM
- Bioshock governer
- Mako hotplug
- MSM hotplug
- O3 flag
- graphite flag
- dev/frandom
- fiops IO schedulers
- vibration strength control ( sysfs set to /sys/vibrator/pwmvalue for compatibility with Trickster )
- Bricked hotplug
- Init.d Colour Calibration at bootup thanks to @Gustavo_s
- Faux Sound Control
- ZEN, SIO, FIOPS, VR IO schedulers
- Intelli Demand governor
- intelli Active governor
- Intelli Hotplug
- Intelli Thermal V2
- yankactive governor
- impluse governor
- smartmax governer
- adreno_idler driver
- enable zswap,frontswap ,vnswap
- usb fast charge added
- cpu voltage control added
- merged f2fs from motorola
- added Fsync from hTc
- added simple governer for gpu
- Enabled all kind Advance TCP
- MSM_Limiter by @neobuddy89 - More like a Swiss army knife! adds Per-Core Functionality!
- Linux 3.14 rc1 lockless ZRAM backported!
- crypto lib optimization
- ARM Cortex-A15 specific optimization
- exFAT support (for OTG)
- patches to reduce kernel latencies for network, fs
- selinux update
- VFAT, MM tweaks
- over 350+ patches!
- added core scheduler update
- backported 3.12+ kernel scheduler features
- fixed old cpufreq bug
- added LZ4 compression (faster than LZO)
- added various minor kernel bug fixes from CAF/kernel.org
- more accurate load calculations (better battery/performance)
- added mutex optimization (better multi-tasking)
- scheduler optimization (smoother multi-tasking)
- SELinux optimization (faster SELinux!)
- enabled XZ compression (reduce kernel size)
- UV control
- ARM unaligned access enabled
- updated LZO algorithms (used by many including crypto, zram/zcache etc)
- updated libraries with optimized kernel functions
- built-in snakecharmer (cpu limit from boot)
- optimized KSM
- oom updated to linux 3.14+
- lowmemorykiller optimization
- core sched optimization
- kswapd patch from mainline
- tuned kernel page_alloc for better multitasking
​
Pls Read This before flashing:
You need ROM's default kernel before flashing this as this kernel makes use of AnyKernel 2 by @osm0sis. Make sure you have it otherwise clean flash the kernel with the rom to avoid any issues.(At least dirty flash rom+kernel) Credits to @attack11 for some part of install script.Read FAQ's and changelogs in 2nd post. THIS KERNEL COMES FINE TUNED OUT OF THE BOX.
How to Flash:
1. Download the kernel and place it into your phone storage
2. Reboot into recovery
3. Install the kernel
4. (optional) Wipe Dalvik/ART Cache and Cache partitions
5. Reboot and enjoy!
PLS DON'T MIRROR THE LINKS
Recommended app:
Kernel Adiutor
I would like to say thanks to @Gustavo_s I used his kernel source as my base Thanks Mate @faux123 @RenderBroken @arter97
@franciscofranco @hurtsky for his commits
@Flashhhh @DC07 @zwliew @neobuddy89 @smartAgent47 for poster and many more ..last but not the least Cyanogen Team
XDA:DevDB Information
[Kernel][SM-4.9][CM/AOSP][5.1.X] MeGaBYTe_Kernel_r1 [Colour Calibration] [16/10/15], Kernel for the Moto X
Contributors
Megatron007
Source Code: https://github.com/Megatron007/ghost
Kernel Special Features:
Version Information
Status: Beta
Created 2015-10-16
Last Updated 2015-10-16
Download:
https://renderserver.net/browse?path=Megatron007/Megabyte/ghost
Looking for changelogs??
https://github.com/Megatron007/ghost/commits/mega-new Here they are!!!
F.A.Q. - Read this before complaining!
1. My phone exploded, HELP!
A: I don't answer to problems without a log. The log file is in /proc/last_kmsg. Paste it on pastie.org and link it on your post. Logcats are useless for Kernel purposes, don't bother posting them.
2. This kernel works on Y or X rom?
A: Works on all CM12/12.1 and AOSP roms. Not for stock roms!!
3. OMG BATTERY SUCKZ, ITZ DEAD IN 45 MINUTES, HELP!
A: As you can imagine I don't build kernels to decrease battery life. All the battery life problems come from your apps, either Facebook, or Maps, or some Location Service being enabled etc etc. Check your damn wakelocks and fix them, the kernel is not responsible for them.
4. How do I flash this?
A: Read the OP, theres a reason why I added instructions on it.
5. What is a data loss? Did I just had one?
A: Data loss is simply having the connection cut for X periods of time, usually few seconds. Grey bars means the device is not connected to Google services for some weird reason, but you'll still have internet connection.
6. OP is arrogant, I'm gonna call the Internet Police?
A: Deal with it.
Changelogs -
7/11/15
MeGaByTe_Kernel_r4
-Fixed Colour calibration reset issue
- Compiled with Lz4 compression and thanks to @tycoo for lz4 updates
29/10/15
MeGaByTe_Kernel_r3(Based on faux kernel)
- MSM_Limiter by @neobuddy89 - More like a Swiss army knife! adds Per-Core Functionality!
- Linux 3.14 rc1 lockless ZRAM backported!
- crypto lib optimization
- ARM Cortex-A15 specific optimization
- exFAT support (for OTG)
- patches to reduce kernel latencies for network, fs
- selinux update
- VFAT, MM tweaks
- over 350+ patches!
- added core scheduler update
- backported 3.12+ kernel scheduler features
- fixed old cpufreq bug
- added LZ4 compression (faster than LZO)
- added various minor kernel bug fixes from CAF/kernel.org
- more accurate load calculations (better battery/performance)
- added mutex optimization (better multi-tasking)
- scheduler optimization (smoother multi-tasking)
- SELinux optimization (faster SELinux!)
- enabled XZ compression (reduce kernel size)
- UV control
- ARM unaligned access enabled
- updated LZO algorithms (used by many including crypto, zram/zcache etc)
- updated libraries with optimized kernel functions
- built-in snakecharmer (cpu limit from boot)
- optimized KSM
- oom updated to linux 3.14+
- lowmemorykiller optimization
- core sched optimization
- kswapd patch from mainline
- tuned kernel page_alloc for better multitasking
24/10/15
MeGaByTe_Kernel_r2
- Compiled using Uber 5.2
- Updated base from CM
- Bioshock governer
- Mako hotplug
- MSM hotplug
- O3 flag
- graphite flag
- dev/frandom
- fiops IO schedulers
- vibration strength control ( sysfs set to /sys/vibrator/pwmvalue for compatibility with Trickster )
- Bricked hotplug
16/10/15
MeGaByTe_Kernel_r1
- Compiled with latest Built with latest custom Sabermod 4.9
- Init.d Colour Calibration at bootup thanks to @Gustavo_s
- Faux Sound Control
- ZEN, SIO, FIOPS, VR IO schedulers
- Intelli Demand governor
- intelli Active governor
- Intelli Hotplug
- Intelli Thermal V2
- yankactive governor
- impluse governor
- smartmax governer
- adreno_idler driver
- enable zswap,frontswap ,vnswap
- touch improved
- usb fast charge added
- cpu voltage control added
- merged f2fs from motorola
- added Fsync from hTc
- added simple governer for gpu
- Enabled all kind Advance TCP
Cant wait to dig through your source and check it out! Looks good so far!. Keep it up.
RenderBroken said:
Cant wait to dig through your source and check it out! Looks good so far!. Keep it up.
Click to expand...
Click to collapse
Thanks a lot Need to Improve this kernel more and more in Future Releases
Can you make one for stock rom too if possible?:fingers-crossed:
DaRkRhiNe said:
Can you make one for stock rom too if possible?:fingers-crossed:
Click to expand...
Click to collapse
I dont use stock rom , So i dont
Download and flash, thanks @Megatron007 suport of ghost
@Megatron007 you rock bro'!
Thanks for the effort! I'm gonna probe right now!
The selinux is permissive?
julianenciso93 said:
The selinux is permissive?
Click to expand...
Click to collapse
Enforcing
@Megatron007 excuseme but i see in kernel adiutor with your RR ROM that the kernel doesn't have any customization that you recommended in you BLISSPOP ROM... that's ok? :/
Thanks for your support!
CsR0501 said:
@Megatron007 excuseme but i see in kernel adiutor with your RR ROM that the kernel doesn't have any customization that you recommended in you BLISSPOP ROM... that's ok? :/
Thanks for your support!
Click to expand...
Click to collapse
can u ellobrate it ? i didnt get it
@Megatron007 this is awesome kernel!! The colour calibration is perfect to screen burn-in, really really thanks bro is very smooth and battery is good!!
PD: i not touch nothing in kernel auditor
Megatron007 said:
can u ellobrate it ? i didnt get it
Click to expand...
Click to collapse
Excuse me... I don't speak (write) english very well
You commented a type of configuration for kernel in your BLISSPOP ROM thread (http://forum.xda-developers.com/showpost.php?p=63212087&postcount=41)... but in MeGaByTe kernel i don't see that configuration... Is this ok?
CsR0501 said:
Excuse me... I don't speak (write) english very well
You commented a type of configuration for kernel in your BLISSPOP ROM thread (http://forum.xda-developers.com/showpost.php?p=63212087&postcount=41)... but in MeGaByTe kernel i don't see that configuration... Is this ok?
Click to expand...
Click to collapse
Its there in this kernel too + extra governers and i/o
CsR0501 said:
Excuse me... I don't speak (write) english very well
You commented a type of configuration for kernel in your BLISSPOP ROM thread (http://forum.xda-developers.com/showpost.php?p=63212087&postcount=41)... but in MeGaByTe kernel i don't see that configuration... Is this ok?
Click to expand...
Click to collapse
kernel settings are already set as default, I have not touched anything and everything is going great
julianenciso93 said:
kernel settings are already set as default, I have not touched anything and everything is going great
Click to expand...
Click to collapse
After flashing i don't see any configuration in kernel adiutor... do you?
CsR0501 said:
After flashing i don't see any configuration in kernel adiutor... do you?
Click to expand...
Click to collapse
Send me ss of it
Megatron007 said:
Send me ss of it
Click to expand...
Click to collapse
Same happened to me. Re-flashed Blisspop ROM + Kernel as per OP instructions. There is nothing new within kernel auditor options, in fact very basic options and no color calibration script under init.d. TIA
Sent from my Moto XT1053 powered by Tapatalk

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

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:

[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] Cortex Kernel v1.1.7 [July 20, 2017] [7.1.2]

{
"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"
}
With the help of several people, I'm proud to bring you Cortex Kernel! This is my first independent kernel, and as such, is a constant WIP. Of course, things will be broken. I will fix what I can as I learn more about kernel development. Just hang in there, it's worth it!​
FEATURES:
* Patched to 3.18.60-61 (credit freak07 / dorimanx)
* Includes July security patches
* SlimbusOC (credit freak07)
* GPU overclocking (133MHz to 652MHz) (freak07)
* IO Schedulers:
- BFQ
- CFQ
- DEADLINE
- FIFO
- FIOPS
- MAPLE
- NOOP
- SIO
- SIOPLUS
- TEST-IOSCHED
- TRIPNDROID
- VR
- ZEN
* Wake gestures
* SafetyNet patch
* Adrenoboost
* Updated BFQ scheduler
* Tweaked squashfs
* Added KSM
* Disabled power gating
* Disabled dm-verity
* Disabled crc checks
NOTE: SDCARDFS may be unstable. Use at your own risk!
To enable SDCARDFS, I quote @freak07:
1. Open the file system/build.prop and add the line "ro.sys.sdcardfs=true" without the quotes at the bottom and
Make sure your selinux is set to permissive. You can either do this via an app or via script.
here is the download for a script: https://www.androidfilehost.com/?w=files&flid=155912
2. Extract the script and put it in either system/etc/init.d or /system/su.d or /su.d
3. Set the file´s permissions to rwxr-xr-x (755)
4. Reboot.
Click to expand...
Click to collapse
DOWNLOADS:
Cortex Kernel v1.1.7
CHANGELOG:
v1.1.7
* Patched to 3.18.60-61 (credit freak07 / dorimanx)
* Added SIOPLUS, FIFO, TRIPNDROID, and VR schedulers
* Updated BFQ to v8r10
* Brought SDCARDFS up-to-date (credit freak07)
* Improved horizontal sweep wake gesture
PREVIOUS CHANGES:
v1.1.0
* Patched to 3.18.53-54 (credit freak07 / dorimanx)
* Enabled KSM
* Optimized kernel for performance, not size
* Disabled a LOT of logging
* Tweaked USB seriel connections
* IPv6 improvements
* Fair scheduler updates
v1.0.3
* Patched to 3.18.49-50 (credit freak07 / dorimanx)
* Includes July security patches
* Added SlimbusOC (credit freak07)
* Added GPU overclocking (133MHz to 652MHz)
* Added FIOPS, SIO, and ZEN schedulers
* Added wake gestures
* Added SafetyNet patch
* Added adrenoboost
* Updated BFQ scheduler to v8r8
* Tweaked interactive scheduler
* Tweaked deadline scheduler
* Tweaked squashfs
* Disabled power gating
* Disabled dm-verity
* Disabled crc checks
INSTALLATION:
1: Flash kernel in TWRP (dont reboot after)
2: Flash TWRP installer
3: Reboot straight to recovery
4: Flash SuperSu 2.82-SR1-PixelFix OR fastboot boot @chainfire's boot-to-root.img
CREDITS:
Google : Android
@freak07 : Kernel base and other help
@osm0sis : Anykernel2 installer
@The Flash : Various commits
@dorimanx : Patches and various commits
various other people whose commits I picked
XDA:DevDB Information
Cortex Kernel for the Pixel XL, Kernel for the Google Pixel XL
Contributors
chevycam94
Source Code: https://github.com/chevycam94/marlin_kernel
Kernel Special Features: OC + Tweaks
Version Information
Status: Stable
Current Stable Version: 1.1.7
Stable Release Date: 2017-07-20
Created 2017-07-09
Last Updated 2017-07-20
Reserved
Reserved
Oh snap! First to try? Will report, thanks!
Wait, is cortex ROM coming to pixel XL? I will freak!!!!!
yung40oz84 said:
Oh snap! First to try? Will report, thanks!
Wait, is cortex ROM coming to pixel XL? I will freak!!!!!
Click to expand...
Click to collapse
I'm hoping. Working with the Pixel isn't anything like it is for the Nexus 6P. I'm still figuring it out.
chevycam94 said:
I'm hoping. Working with the Pixel isn't anything like it is for the Nexus 6P. I'm still figuring it out.
Click to expand...
Click to collapse
Oh man, that's great news bud, good luck! Just flashed the kernel. Does this have the sdcardfs commits to be compatible with sdcardfs?
EDIT: nevermind I checked GitHub, didn't see them. Thanks man, testing it now
---------- Post added at 04:08 AM ---------- Previous post was at 04:03 AM ----------
Just a couple feature requests should be easy ones. High brightness mode, backlight dimmer, and to be able to block all the wakelocks ex kernel manager, there's a slew of them, not sure the commits. One last possible would be high-speed congestion control. Sorry, longer than I wanted, but the high-speed is secondary.
yung40oz84 said:
Oh man, that's great news bud, good luck! Just flashed the kernel. Does this have the sdcardfs commits to be compatible with sdcardfs?
EDIT: nevermind I checked GitHub, didn't see them. Thanks man, testing it now
Click to expand...
Click to collapse
It has sdcardfs, but it's completely stock. For the time being, I chose not to commit anything to it. So no current plans to support it. I'm hoping to make this a lean type of kernel, with a few tweaks available. I play Dawn of Titans a lot, and having smooth gameplay is something I look for in a kernel/ROM. Hopefully my kernel (and upcoming ROM) will work perfectly together and create a great platform.
yung40oz84 said:
Just a couple feature requests should be easy ones. High brightness mode, backlight dimmer, and to be able to block all the wakelocks ex kernel manager, there's a slew of them, not sure the commits. One last possible would be high-speed congestion control. Sorry, longer than I wanted, but the high-speed is secondary.
Click to expand...
Click to collapse
I'll keep that in mind.
chevycam94 said:
It has sdcardfs, but it's completely stock. For the time being, I chose not to commit anything to it. So no current plans to support it. I'm hoping to make this a lean type of kernel, with a few tweaks available. I play Dawn of Titans a lot, and having smooth gameplay is something I look for in a kernel/ROM. Hopefully my kernel (and upcoming ROM) will work perfectly together and create a great platform.
Click to expand...
Click to collapse
Sounds like a plan. Sdcardfs isn't a dire need, lol. Just wondering. So you're saying if I add the build.prop commit for sdcardfs it won't work right? Also looking forward to what this brings, it's running incredibly smooth since booting.
I'm not sure honestly. I think it'll work, but not very well. People have made LOTS of patches to it to improve it. I might if I get the time, but thats last on my list.
yung40oz84 said:
Sounds like a plan. Sdcardfs isn't a dire need, lol. Just wondering. So you're saying if I add the build.prop commit for sdcardfs it won't work right? Also looking forward to what this brings, it's running incredibly smooth since booting.
Click to expand...
Click to collapse
Probably you will face a lot of crashes when accessing storage.
---------- Post added at 07:04 AM ---------- Previous post was at 07:04 AM ----------
Also @chevycam94 Congratulations :good:
I had a freeze and reboot to ram dump. Your not the only kernel. Happening on Franco and kirosuko as well. Maybe check there commits and threads too. I couldn't get log but go others that is helpful. KMSG here, https://drive.google.com/file/d/0Bw-ARc6DtAVJUHdWYnlaSmMza1k/view?usp=drivesdk. Other is attached
Could a couple of you test this kernel build for me? I'm having a fight with my build system. I'm getting 9 "section mismatch" errors, and I am scratching my head to the bone trying to figure out whats going wrong. My code built fine on my last VM, but I screwed up and killed that one. Now my new setup, same OS, same toolchain, same code, builds with 9 errors. I have to force it to ignore those errors (which I didn't have to do before), so I have no clue if this even works now. I would think it would, seeing as the code was functional before, and hasn't been changed since.
Test the crap out of it. I know it still has the regular issues some other kernels have, but it should otherwise be fully functional.......SHOULD
UPDATE: I managed to find some time to test it. So far, it's working fine. Some things spam the crap out of logcat, but that's ok. Compared to the stock kernel this is instantly faster. HUGE difference. Wasn't really expecting it to be that noticable. Nothing has crashed so far. If all goes well, I'll start work on the next release. v1.0.9 isn't meant to be a public release BTW. It's simply in the testing phase. But if you like it, feel free to use it! Just know that it's not officially supported in any way.
PERFORMANCE TWEAKS:
Use these tweaks to really get some kick....um....butt, performance from your Pixel XL! I'm on my v1.1.0 kernel (unreleased), but it's essentially the same as the v1.0.9 zip I just posted for testing. HUGE difference in the phone!
Chage the following items to the given values:
Code:
dirty ratio: 40 (default=20)
dirty background ratio: 10 (default=5)
overcommit ratio: 35 (default=50)
swappiness: 40 (default=60)
v1.1.0 is up
chevycam94 said:
PERFORMANCE TWEAKS:
Use these tweaks to really get some kick....um....butt, performance from your Pixel XL! I'm on my v1.1.0 kernel (unreleased), but it's essentially the same as the v1.0.9 zip I just posted for testing. HUGE difference in the phone!
Chage the following items to the given values:
Code:
dirty ratio: 40 (default=20)
dirty background ratio: 10 (default=5)
overcommit ratio: 35 (default=50)
swappiness: 40 (default=60)
Click to expand...
Click to collapse
Where do I change these settings? Thanks
joey.gunnarson said:
PERFORMANCE TWEAKS:
Use these tweaks to really get some kick....um....butt, performance from your Pixel XL! I'm on my v1.1.0 kernel (unreleased), but it's essentially the same as the v1.0.9 zip I just posted for testing. HUGE difference in the phone!
Chage the following items to the given values:
Where do I change these settings? Thanks
Click to expand...
Click to collapse
You can find them in the 'Virtual Memory' section of whatever kernel manager you are using.
joey.gunnarson said:
Where do I change these settings? Thanks
Click to expand...
Click to collapse
Honestly, I'd spring the money for EX Kernel Manager. @flar2 has made a nearly perfect app to control just about everything you could need. It's not designed to be a "toolbox", but rather just a place to set options for the system, kernel, cpu, gpu, and memory, for the most part.
He still needs to update the live CPU display on the main page, as its not accurate, or even right (at least on the Pixel). Along with odd CPU frequency selections (they dont always become what you select, depending on kernel/setup). There are one or two other things, but I don't remember off the top of my head.
But regardless, it's the best kernel control app I know of right now. Most friendly for me. Also give you widgets/notification icons for "performance mode" and "power saving" mode. Quick toggles. Love that part.
chevycam94 said:
PERFORMANCE TWEAKS:
Use these tweaks to really get some kick....um....butt, performance from your Pixel XL! I'm on my v1.1.0 kernel (unreleased), but it's essentially the same as the v1.0.9 zip I just posted for testing. HUGE difference in the phone!
Chage the following items to the given values:
Click to expand...
Click to collapse
Will the battery consumption got huge difference too? Lol
sakuhei said:
Will the battery consumption got huge difference too? Lol
Click to expand...
Click to collapse
Battery life is about the same, or slightly better. At least for me. Depends on your setup.

Categories

Resources