[EOL][KERNEL][7.0][G92xF/I/T/W8] Aldeon Kernel for Samsung Galaxy S6 - Galaxy S6 Android Development

{
"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"
}
Code:
#include "std_disclaimer.h"
/*
* Your warranty is 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.
*/
READ THE WHOLE OP!
THIS KERNEL IS END OF LIFE. NO MORE UPDATES FOR IT.
This is a stock-based custom kernel for S6 which lets you change the things you want in the kernel. It was born from tests, bootloops and a lot of hardworking to give you the most stable features.
I want it to be almost as stable as stock.
​Features:
based on stock G920F source region XEF
built with UBERTC v4.9 / Google's TC v4.9 (v2.7+)
Linux kernel version 3.10.61
permissive
Synapse support
CPU underclock: 200 MHz / 400 MHz (little / big)
CPU overclock: 1704 MHz / 2304 MHz (little / big)
GPU underclock: 100 MHz
GPU overclock: 852 MHz
GPU governor selection in Synapse
voltages control for both CPU and GPU
memory bus voltage control
CCACHE and GRAPHITE optimizations
system de-knox script when flashing
AOD support (see bugs)
KSM support
ZSwap control
init.d support (credits to @_alexndr for his implementation)
SafetyNet bypass (see changelog at " ***1.5*** ")
Knox software is removed from the kernel
WiFi forget fix
use Android device as USB keyboard/mouse (no driver required; compatible with any OS and BIOS)
DriveDroid patch
new CPU governors: Smartass2
new IO schedulers: row
enabled these: all CPU governors, TPC congestions, IO schedulers, USB OTG support, CIFS support, TTL support, XBOX controller support, ISO support, UDF CD-ROM support, NTFS R/W support, F2FS support
Double tap to wake
Synapse profile backup/restore
sqlite3 installed in /system/xbin
Spectrum profiles
HMP voltage control
Doze control
fake Enforcing SELinux
live statistics in Synapse
S7 Edge battery support (not working properly)
Knox Warranty bit 0x1 to 0x0 (the eFUSE is still blown, just a software fix)
Bugs:
- rare random reboots when overclocking the big cluster over 2.2 GHz
- AOD (touching is broken) is working perfectly while playing music but when it's quiet there are reboots, happening on G920F Nemesis ROM and NNE; reported to work correctly on: NNE 4.5 on G925W8, Gold Eagle on G920F (DO NOT REPORT RANDOM REBOOTS WHEN USING AOD)
PLEASE READ THE FAQ!
Installation:​​
0. Backup is mandatory!!!
1. Download the latest kernel version zip file
2. Go to recovery
3. Flash the kernel zip
4. If you were rooted then flash root again otherwise you'll get a bootloop
5. Enjoy
Optionally, install Kernel Adiutor from Play Store to get control over the kernel. Install Synapse from Play Store or Synapse MOD (read FAQ).​
Note: From v2.6 to v2.9 CPU OC and UC are disabled for stability.
This kernel requires a stock-based Nougat ROM. If you are on a stock based ROM just tell me if the kernel is working with your ROM.
If you want to contribute just PM me
If you press the Thanks button then Chuck Norris will visit you
If you want to revert all the changes to boot.img, I attached the stock boot.img. Just flash it and enjoy the enforceness restore boot and system. If there is a WiFi and Bluetooth issue then restore data too.
Subscribe to be always informed about what's going on.
Downloads:
See THE INSTALLATION PROCEDURE FIRST and then check Android File Host (for versions 2.8+).
Select your device (Flat/Edge) then Aldeon kernel then your model. Don't look at popular downloads.​
XDA:DevDB Information
Aldeon Kernel, Kernel for the Samsung Galaxy S6
Compatibility
Models:
G92xF
G92xI
G92xT
G92xW8
Custom ROMs:
StockRomLite
OdexLite
Nemesis Nougat
BRx S8+ ROM
Noble Nougat Experience
MiPa ROM
Gold Eagle ROM / Global Elite
Ultimate Nougat ROM
Contributors
minealex2244
Credits:
Noxxxious (WiFi forget fix and help)
The Sickness (his guide and scripts)
UpInTheAir (resetprop)
thehacker911 (Synapse files base)
geiti94 (AOD files)
Others I've used the commits from
Source Code: GitHub
Version Information
Status: Stable
Current version: 3.4
Created 2017-06-06
Last Updated 2017-10-08

Changelog
***1.0***
- initial release
***1.1***
- fixed a bootloop issue (thanks to @Noxxxious)
- now the kernel is always permissive
- de-knox added
Note: If your WiFi and Bluetooth stops working properly PLEASE REPORT. Install the kernel, boot up and then test it with another reboot. Tell me the results.
***1.2***
- fixed a WiFi and Bluetooth issue (again, thanks to @Noxxxious)
- updated the flashable zip
***1.3***
- more de-knox
- now de-knoxing script is working properly
- preparation for init.d (not working but it exists; it looks like something prevents me from running the scripts at boot)
***1.4***
- init.d support
- removed old init.d support from kernel
***1.5***
- SafetyNet bypass support (use Magisk v13 with Magisk Hide enabled for it to work)
***2.0***
- added CPU OC and UC (OC: 2.5/1.6GHz & UC: 200 MHz)
- added GPU OC and UC (OC: 852 MHz & UC: 100MHz)
***2.1***
- lowered big CPU's max frequency to 2.4 GHz because of ultra instability (the performance is same)
***2.2***
- improved GPU drivers
***2.3***
- added zRAM and KSM
- first Edge (G925F) build
- worked on the flashable zip
***2.4***
- added deadline IO scheduler
- added conservative, powersave and ondemand CPU governors
***2.5***
- temporarily removed GPU OC/UC (not working properly) until I will add Synapse support
***2.6***
- removed CPU OC/UC to create a last stable version (v3.0 won't be as stable as the previous versions!). I'll add it back after I'll add Synapse support.
***2.7***
- the almost (edit) last stable version
- removed Knox from the kernel (better battery life)
***2.8***
- hopefully the last V2
- enabled these: USB OTG support, CIFS support, TTL support, XBOX controller support, ISO support, UDF CD-ROM support, NTFS R/W support
- support for G920T
- enabled all available TCP congestions
***2.9***
- Knox warranty bit 0x1 to 0x0
- new models: G925T and G92xW8
- added a default init.d script
***3.0***
- Synapse support
- DriveDroid patch
- Use Android as USB keyboard/mouse
- CPU and GPU OC/UC and voltages control
- ZSwap control and GPU governor selection in Synapse
- WiFi driver is no longer built in Legacy mode
***3.1***
- added memory bus voltage control
- profile backup/restore
- added sqlite3 binary in /system/xbin
- fixed "No UCI support" for most of the users
- fixed init.d patcher
- fixed Synapse showing apply and dismiss icons for no reason (in some situations)
- fixed Synapse showing "No UCI support" after boot up (which then fixes up)
- now Synapse actions will search for Busybox
- added AOD (reboots to be expected, sorry)
- live memory in Synapse
- compatibility with my build of Synapse MOD
- other minor improvements in the code
***3.2***
- fixed SafetyNet bypass
- fixed broken Magisk modules
- stock values setting on boot
- HMP voltage control
- Doze profiles (credits to Noxxxious and UpInTheAir)
- fake Enforcing SELinux
- fixed wrong version in Synapse info
***3.3***
- fixed instant freeze and then reboot after boot up
***3.4***
- added DT2W support
- added support for F2FS
- fixed A53 cluster max frequency being reset (it fixes issues with Magisk)
- fixed missing A53 cluster 200 MHz time in state

FAQ
1. Screen mirroring is not working. Is it kernel related?
No. It is root related. Just add this to your /system/build.prop :
Code:
wlan.wfd.hdcp=disable
2. Bootloop with stock/stock-based ROM.
Did you flashed SuperSU or Magisk again? Maybe you were rooted before and you need to reflash root. Pay attention to OP instructions and to the text printed in recovery.
3. Thank you for this kernel.
But can you please help me to get surround sound on my S6?
Sure. I'll attach here a mixer_paths.xml file modded by @AlexisXDA but boosted by me for a perfect surround sound volume. All the credits are going to this developer.
To use it, download the attachment, go to /system/etc and rename the existing mixer_paths.xml to mixer_paths.xml.bak then copy the new mixer_paths.xml and change the permissions to rw-r--r-- or 0644.
It won't damage your earpiece so keep calm
Features:
- louder than stock
- left and right channels
- better for utilisation in landscape
To download on mobile just use Chrome, long press on attachment and click "Download link".
4. How to enable multiuser support?
Add these to your build.prop:
Code:
fw.show_multiuserui=1
fw.max_users=5
5. Synapse is saying:
Note: Before proceeding with the following stuff, please flash my kernel package again.
- "No UCI support" → Close the app from recents and open it again. If still no UCI support then PM me with the output of this command: uci (run it with su permissions).
- "JSON configuration parsing failure" → Using a file manager go to /res/synapse and delete a file named "config.json", close Synapse then open again, UCI error, reopen and done.
- The apply and discard buttons appeared for no reason. Which one should I click? → Click "X". This is a bug in Synapse.
- Is there a mod for Synapse? → Yes, Morogoku worked on it and I modified it a little bit to match our kernel and I built it. Get it from the attachments below. All the credits are going to Morogoku. It features backup/restore profile option and a red material theme.
6. Where to install BusyBox? In /su/xbin or /system/xbin. I'm using SuperSU and Synapse is working perfectly. After each boot up I highly recommend you to check the Synapse settings, especially CPU OC to see if everything is ok.
7. How to build your kernel from source?
After you git cloned it, open terminal in the root of the cloned folder and enter this: "sudo bash build_kernel.sh G920F" (or your model). Choose stock dt.img during building process.
8. AOD is broken! I know, sorry. Maybe in one day I'll fix it somehow. While playing music it won't reboot but when not playing any music it will reboot. Also touchscreen isn't working in AOD mode. Use this app to get a working AOD.
9. XYZ not working. PM me with logs and screenshots.
10. Battery issues? Check this post.
11. Is there any LOS/NX 14.1 version of this kernel?
Yes, here.

for g920f ?

StockRomLite (920F) bootloop

boxxomrun said:
for g920f ?
Click to expand...
Click to collapse
Yep. Forgot to include it in OP.

enzospain said:
StockRomLite (920F) bootloop
Click to expand...
Click to collapse
It requires stock 7.0. Not compatible with custom ROMs. Late edit: maybe?
Ultra late edit: Compatible with custom ROMs.

minealex2244 said:
It requires stock 7.0. Not compatible with custom ROMs.
Click to expand...
Click to collapse
it's based on stock XEF 7.0

enzospain said:
it's based on stock XEF 7.0
Click to expand...
Click to collapse
It should work with other regions but some devs implement features in their ROMs and that requires a custom kernel built specifically for that ROM.

minealex2244 said:
It should work with other regions but some devs implement features in their ROMs and that requires a custom kernel built specifically for that ROM.
Click to expand...
Click to collapse

What is stock? You may add a definition in OP.
do you mean non TouchWiz roms like lineage rom, or do you mean stock Samsung roms?

Noxxxious said:
Click to expand...
Click to collapse
I mean I have feature X which needs some "help" from kernel so I implement Y in kernel for X to work successfully​ (where X is an important feature in system).
If you switch to another kernel which doesn't have my Y implement you can end up in a bootloop.

C0qRouge said:
What is stock? You may add a definition in OP.
do you mean non TouchWiz roms like lineage rom, or do you mean stock Samsung roms?
Click to expand...
Click to collapse
Stock is official Samsung 7.0

Question please:
Odex Lite Rom by Aria. A97 its only debloated. Its based on DBT, i read in previous posts that you got a bootloop on 920f ?!
Any chance to make it works?
Greetz

AndsXDA said:
Question please:
Odex Lite Rom by Aria. A97 its only debloated. Its based on DBT, i read in previous posts that you got a bootloop on 920f ?!
Any chance to make it works?
Greetz
Click to expand...
Click to collapse
Not working with Odex Lite.

Updated OP and post #3.

minealex2244 said:
It looks like Samsung made sure that we will never get a working permissive kernel.
After installing this kernel and using it, a reboot (or by just entering into recovery mode or by just not setting SELinux mode to enforcing before reboot idk) should bring a bootloop so this kernel is in TESTING status. I will try to fix this by using another "hack" to get a permissive SELinux mode. Until then flashing this kernel is dangerous and you will flash at your own risk. If it still works after reboots then tell me that. I come back with news.
Click to expand...
Click to collapse
I dont know where you got this info from, but all N custom kernels out for the S6 are already permissive. You need to edit straight from the source instead of a script in ramdisk to setenforce 0 or whatever method you tried.
Here is the commit for permissive
https://github.com/Noxxxious/Noble/commit/6b9874de78d0527aef0fdd0d1b9f342c27e8a21a
And this one tells userspace that you are enforced, while actually it is permissive
https://github.com/jesec/android_ke...mmit/81315fbbde4cdd1581f0e2de237df04d175d3931
After editing your source, you should provide a link with your source code.

Noxxxious said:
I dont know where you got this info from, but all N custom kernels out for the S6 are already permissive. You need to edit straight from the source instead of a script in ramdisk to setenforce 0 or whatever method you tried.
Here is the commit for permissive
https://github.com/Noxxxious/Noble/commit/6b9874de78d0527aef0fdd0d1b9f342c27e8a21a
And this one tells userspace that you are enforced, while actually it is permissive
https://github.com/jesec/android_ke...mmit/81315fbbde4cdd1581f0e2de237df04d175d3931
After editing your source, you should provide a link with your source code.
Click to expand...
Click to collapse
Thank you! I also planned to share my changes for further contributions. After I make the changes I'll include you as a contributor.
I wanted to use the same thing (force permissive SELinux) because my first try was not including it.

Do you guys also flash SuperSU or Magisk after flashing the kernel on other roms?

Aria.A97 said:
Do you guys also flash SuperSU or Magisk after flashing the kernel on other roms?
Click to expand...
Click to collapse
Yes.
I don't know if flashing this kernel on other ROMs will work (of course, after I fix the bootloop after reboot). I wonder if AnyKernel will help to use it with other ROMs. Also I plan to add SuperSU auto root but maybe others will use Magisk so this is just an idea.

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] [ROOT] [SM-N920*] Exynos 7420 | SkyHigh Kernel

[KERNEL] [ROOT] [SM-N920*] Exynos 7420 | SkyHigh Kernel [ v6.8.0-EOL ] | Synapse | Aroma | F2FS | UBERTC 6.2.1 20161012
The BEST & FULLY FEATURED EXYNOS 7420 KERNEL IS REBORN . . . . .
** I will NEVER support KOREAN (S/K/L) variant. Get over it and flash ARTER kernel instead !! **
Many select patches for better security, performance and efficiency (not all listed). THERE IS "NO NEED" to tweak anything -- Just FLASH it !! But, if you desire, can further tweak many settings and available features with Synapse to suit your own habits and device capability. That is for you to find out
SUPPORTED DEVICES:
SM-N920C
SM-N920CD
SM-N920G
SM-N920I
SM-N9200_HK
SM-N9208_SEA​
RAMDISK BASE:
N920C : N920CXXU3BPJ7
N9200_HK : N9200ZHS3BPI3
N9208_SEA : N9208XXU3BPJ4​
FEATURES:
Modified from the LATEST device specific official Samsung source(s): Samsung OSRC
AUTO-ROOT SYSTEM-LESS SR3-SuperSU-v2.78 (on flash)
KNOX WARRANTY VOID: 1
SELinux PERMISSIVE (default) or ENFORCING
DEEP SLEEP FIX
UX ROM (BOOT support only)
AROMA Installer (set your own defaults)
Auto-Install busybox v1.24.1-Dorimanx & Sqlite3 to /system/xbin (on flash)
Compiled with UBERTC 6.2.1 20161012 + Graphite optimizations
Linux 3.10.104
init.d script support (drop in script & set permissions to 755 or 777 and reboot)
adb insecure
stock dt.img
Secure storage = false (should prevent WIFI settings & passwords wiping on reboots)
Reduced logging
F2FS experimental support (Much faster I/O - write speeds).
exFAT FS support
NTFS R/W support with app
CIFS support (not tested)
ISO 9660 CDROM & UDF FS support
Frandom
mount all partitions NOATIME (better performance & efficiency)
mount EXT4 /data & /cache partitions LAZYTIME (better performance & efficiency)
A53 LITTLE cores increased boot frequency (faster boot)
LZO ramdisk de/compression algorithm (faster boot)
CLEANCACHE & ZCACHE
Microsoft X-BOX gamepad controller module (updated)
Slub tweaked
Invisible CPUSETs (better efficiency)
A tonne of select patches for features, better performance & efficiency
Synapse app support for many kernel configurations + much much more !!
SYNAPSE FEATURES:
Too many too list . . . Have a look through Synapse yourself. If you don't know, then read and research or leave it DEFAULT !!
About
A57 CPU frequency scaling
A57 voltage control
A53 CPU frequency scaling
A53 voltage control
CPU governor
A57 governor tunables
A53 governor tunables
Multicore
CPU stats
Boost
GPU frequency scaling
GPU voltage control
Thermal
BUS
IO
Memory
Advanced
Power Suspend
Doze
Wakelocks
Audio
Battery
LED
Screen
Network
Security
FS (file system)
CortexBrain
Crontab
USB mode
Modules
Backup & Restore profiles + EFS (auto on boot to /sdcard/SkyHigh/EFS)
Logs
Reboot
Info
CREDITS:
My family !!
Chainfire - root & SuperSU app
AndreiLux - years of support for Exynos development and his various kernel features + Synapse app and UCI code
halaszk88 - patches and some Synapse code I adapted to many of my kernels
dorimanx - BusyBox and various ramdisk tweaks/ideas
apb_axel - I adapted and used many of the Synapse controls to suit my kernels
arter97 - various source fixes/patches
ktoonsez - ktoonservative hotplug governor
YashdSaraf - BusyBox-Cleaner script
Android File Host
Linus Torvalds & Linux Foundation
Google & Samsung OSRC
and many others!
All those in my select private group that have provided constructive feedback, help, and support.
IF I'VE FORGOTTEN ANYONE, PLEASE DON'T BE SHY AND SPEAK UP, THANKS
XDA:DevDB Information
SkyHigh Kernel for N920* devices, Kernel for the Samsung Galaxy Note 5
Contributors
UpInTheAir
Source Code: https://www.androidfilehost.com/?w=files&flid=88214
Kernel Special Features: Aroma - Synapse ++ almost everything !!
Version Information
Status: Stable
Current Stable Version: 6.8.0-EOL
Stable Release Date: 2016-11-19
Created 2016-07-30
Last Updated 2016-11-19
License - requirements - installation - download - source
DON'T POST LAME QUESTIONS THAT YOU CAN FIND THE ANSWER TO BY A LITTLE SEARCHING.
I AM NOT GOOGLE & NEVER PRETEND TO KNOW EVERYTHING, SO A LITTLE HELP FROM YOURSELF WILL GO A LONG WAY. . .
THANKS & ENJOY !!
** LICENSE & DISCLAIMER **
/*
© Copyright (c) 2015-2016 UpInTheAir <[email protected]>
All rights reserved. The alterations from OEM, associated script files and coding packed within this ramdisk & installation package (the "Software"), may not be reproduced, displayed, modified or distributed without the express prior written permission of the copyright holder. For permission, contact [email protected].
The above copyright notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF , FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
In plain language
DO NOT STEAL MY SH*T !!
UpInTheAir is NOT responsible, the person you see in the mirror is !!
REQUIREMENTS:
Supported variant only !!
​** I will NEVER support KOREAN (S/K/L) variant. Get over it and flash ARTER kernel instead !! **
Touch Wiz Android M 6.0.1 ROM or UX leaked firmware (boot support only)
Appropriate custom recovery (i.e..TWRP for your variant)
INSTALLATION & UPDATE:
If you have Synapse installed = = you must clear Synapse app data before flash !!
Device Settings: Enable Developer Options > OEM UNLOCK is ENABLED
Boot into custom recovery (volume UP + home + power)
DO NOTHING but flash SkyHigh kernel.zip (ALWAYS flash again AFTER any custom ROM installation, system or data wipe)
After flash == DO NOTHING but REBOOT IMMEDIATELY from TWRP or you will have to re-flash !!
CONVERT EXT4 TO F2FS FS:
If not already, install the latest TWRP for your device variant (ie. 3.0.2-2). This must support F2FS.
Boot into TWRP.
Insert USB-OTG
** ALL DATA WILL BE WIPED FROM INTERNAL STORAGE (restored later)
Backup (copy) all important files (incl. your NANDROID) off device (ie. from internal storage > USB STORAGE). This can take a while. Advanced > File Manager > .....
Home > Backup > Select Storage > USB Storage > OK > "Swipe to Backup" (Only need DATA, but recommend to backup all partitions).
Install > Select Storage > USB Storage > OK.
Select f2fs.zip > "Swipe to confirm flash" (This will WIPE ALL DATA !! & convert DATA & CACHE to F2FS. System is not supported by kernel).
Check the box to remember setting and “Swipe to allow Modifications”.
If you do not have Step #8, then Data was not converted to F2FS.
Mounts > unchecked both Cache & Data. Repeat Step #7 & 8.
Restore > Select Storage > USB Storage > OK > Select TWRP Backup folder > DATA ONLY !! > "Swipe to Restore" (ignore warning about EXT4).
Home > Install > Select Skyhigh_kernel.zip > "Swipe to confirm Flash".
Home > Mount > USB STORAGE > uncheck/unmount (then remove USB-OTG).
Home > Reboot > SYSTEM.
Wait ~2-5 mins for boot.
Once booted, let stabilize for ~5 mins.
You can check Data & Cache F2FS FS status in either /proc/mounts or Synapse app (FS section).
Use a root type explorer (su permission) & navigate to /sdcard, and delete the "0" folder.
Move (copy) your backed up files from Step #4 to internal storage (/sdcard). This can take a while. Maybe one folder at a time is better?
ISSUES ?
If using TWRP MTP mode, deleting some folders/files may crash TWRP and cause corruption. Instead, use a root type file explorer to delete from device.
If you need to wipe data, then use the ext4 or f2fs.zip, otherwise this is not possible with this TWRP !!
Not tested any method with customized ROMs. The ROM installer script may re-format partitions back to EXT4 or not mount correctly causing TWRP crash or corruption. I can only suggest to Flash ROM with EXT4 FS > make a NANDROID on USB-OTG and then follow the F2FS steps above.
CONVERT F2FS TO EXT4 FS:
The Same steps as above, but use the ext4.zip !!
OPTIONAL SYNAPSE INSTALLATION:
After boot:
Wait at least 120 secs to stabilize
Install Synapse app from Google Play and rate it ☆☆☆☆☆ !!
Open Synapse
Tap "Understood"
So changes stick every time you start Synapse == Make any change & 'apply'.
Recommend: Disable KNOX with Synapse
DOWNLOADS:
** I will NEVER support KOREAN (S/K/L) variant. Get over it and flash ARTER kernel instead !! **
Mod Edit: Link removed.
BUGS:
Aroma Installer: 10% of installation will encounter Aroma installer "freeze". It's only the display that freeze, the script still execute in the background. Just wait a minute, then press slightly to the top right 'home' key / top left of the 'back' key . . .
UX BETA firmware - blue light filter
UX BETA firmware - torch light (some ROMs)
HD voice ? - Speakerphone: other party cannot hear voice
SOURCE - ALL SkyHigh VARIANT:
Available upon request.
v6.6.1 AFH
v6.8.0 uploaded soon. . . . .
.
FAQ & HELP
TROUBLESHOOTING GUIDE:
I might not have your device variant and or able to reproduce your "issue".
Please provide as much information as possible.
Without resetting your device to a stable unmodified baseline, any potential troubleshooting or logs could be meaningless.
So please follow the guidelines set out below. Users can't "read minds".
Without providing important information, we are unable to help YOU.
Search thread, XDA and Google before posting
Provide as much information as possible.
- Device model
- Firmware version
- ROM name / version
- Kernel version
- Modem version
- Bootloader version
- Synapse settings (try default)
- Installed tweaks and apps etc (Xposed ?)
- The exact steps you've taken to try resolve the issue yourself.​
Exact steps to reproduce the issue. Provide screenshots if able.
Does it work with older / other versions etc
Reset your device to a stable baseline (ie. stock) with only custom TWRP recovery and kernel (FULL WIPE: system, cache, dalvik-ART)
Possible logs
FAQ & HELP:
CAN I BUILD A KERNEL FOR YOUR __XX DEVICE ?
Sorry. I don't have the spare time for any more variant support.
Additionally, I do not build for any device that I can not compile using SAME source, personally test method or debug. Some device variants can compile with same source.
** I will NEVER support KOREAN (S/K/L) variant. Get over it and flash ARTER kernel instead !! **
CAN I INCLUDE SkyHigh KERNEL IN MY ROM
NO == My ramdisk modifications are COPYRIGHT (refer LICENSE in Post #2), and distribution without MY (UpInTheAir) prior written consent is not only in a breach of that license, but also XDA Rule #12)
Although I do appreciate your contribution, if you could please do not include my kernel in any ROM package etc. This policy goes for anyone.
Having my kernel distributed outside my development thread just removes a lot of credit and more importantly, constructive user feedback that could be helpful to my development or user issue.
ALWAYS on DISPLAY (AoD)
I have spent some time to attempt port S7 display drivers to our kernel, but haven't had success as yet with too many errors.
TBH, it's a lot of work for something I'm not really interested in or would use. . . so I don't wish to spend any more of my own time on it, sorry. If someone else does it, GREAT
DO I "NEED" SYNAPSE
THERE IS NO "NEED" !!
It is "recommended", which is OPTIONAL, and not "needed".
It is for ADVANCED or adventurous users who wish more control of their device or use various features I've added.
Using any other optional tweaking or control app may conflict & many features and options won't be available.
WHY WAIT 120 SECS
The kernel and Synapse scripts need time to boot up properly and allow SU permission.
There are scripts / code that have a deliberate delay and must run after Synapse. These are not user optional.
Synapse has a stability check on boot. You may get "synapse boot cancelled".
Thermal throttling will be trying to limit many things, let the device settle
OTHER PARTY CAN NOT HEAR VOICE ON SPEAKER PHONE
It could be a conflict in the system/etc/mixer_*.xml. I don't know for sure, but if I exclude the sound mod, then this "fixes" the problem.
As I cannot reproduce the issue (and the majority), then the audio mod stays.
Unfortunately, making it optional would require to build kernels without and create much more work for many device I don't actually use.
Either live with it, or use another kernel. Sorry.
"NO UCI SUPPORT"
It's a ROM busybox compatibility issue !!
Re-flash kernel as per Installation Instructions. (kernel install zip flashes proven busybox binary to /system/xbin)
BACKUP / RESTORE ISSUES
It's a ROM busybox or sqlite3 compatibility issue !!
Re-flash kernel as per Installation Instructions. (kernel install zip flashes proven busybox binary to /system/xbin)
BACKUP & RESTORE
DO NOT restore profiles from different kernel version
Refer to THIS post for "how-to" screen-shots
Refer to THIS post for a "how-to" video
LOADABLE MODULES AREN'T WORKING
Check your /system/lib/modules directory. Are any ____.ko present?
Did you flash a ROM or wipe the system partition at any point? Doing this will remove them !
Re-flash the kernel will install the modules.
If modules aren't installed after flash, then re-flash and manually mount system in recovery first.
You can check running modules in terminal with:
​lsmod
KTOONSERVATIVE GOVERNOR
Some info from the author HERE
DT2W & COLOUR CONTROL
No, I cannot make it work properly with single source for all supported variants
CPU POWER CONSUMPTION
The Samsung Exynos 7420 Deep Dive - Inside A Modern 14nm SoC (by ANANDTECH - Andrei)
F2FS SUPPORT
It's not needed. You wouldn't see any difference or measure much, if anything. Not worth the potential trade-off. This is not eMMC anymore
Storage Benchmarks
STUCK ON SAMSUNG BOOT LOGO AFTER FLASH
Ensure you flashed the correct kernel for your device model
Ensure your download is not corrupted. Check MD5 hash or re-download
Your current base firmware (ROM, boot-loader version etc.) may be incompatible - UPDATE to latest with Odin and try again.
CM SUPPORT
Read THIS
BATTERY TIPS (require updating !! )
Try some (or combination) of the CPU MULTICORE features in Synapse:
HMP profile = Default (values are battery orientated)
Power Aware Scheduling (slight performance cost) = Enabled
HMP LITTLE Packing (slight performance cost) = Enabled
PEWQ (power-efficient workqueue) (slight performance cost) = Enabled
Set A57 & A53 Interactive governor profile = Battery
Set Input-Booster for key/touchkey profile = Battery
Multi-tasking: enable UKSM & "low" or "quiet" profile (slight performance/battery cost)
PERFORMANCE TIPS (requires updating !! )
Set A57 & A53 Interactive governor profile = Performance
Set A57 & A53 Interactive governor = Turbo Mode (battery cost)
Set HMP threshold profiles = Stock or Performance
Once in a while:
Optimize Databases
FSTrim​
RANDOM REBOOT
Don't UV or UC CPU or GPU
Use SkyHigh defaults
Use a stock UNMODIFIED ROM for your device variant
No tweaks, Xposed or other CPU control apps installed
Follow the TROUBLESHOOTING GUIDE
ASV_GROUP (ALL DEVICES ARE NOT CREATED EQUAL)
THIS is an example from my Exynos5420 source. Similar idea for Exynos4
DOWNLOAD LINK NOT WORKING
I want to keep this project all in one place - ☆☆ NO MIRRORS ☆☆
Please try again in a few minutes
POOR CPU/GPU BENCHMARK or GRAPHICS PERFORMANCE
Disable any CPU MULTICORE options in Synapse
Disable any Battery profiles in Synapse. Set to default or Performance.
Allow the device to cool. Repetitive testing will heat the device hardware and invoke thermal throttling and lead to decreased benchmark.
HIGH CPU/GPU OC == excessive heat == thermal throttling == reduced clock frequency == DECREASE PERFORMANCE
DYNAMIC MANAGEMENT OF DIRTY PAGE WRITEBACKS
by Christopher83
This feature allows to have two different intervals for dirty page writebacks and to dynamically manage them when the system has been resumed (it's active) or when has been suspended.
Three new procfs parameters are exposed inside /proc/sys/vm path:
dynamic_dirty_writeback is the activation status of this feature, set 1 to enable it, set 0 to disable it and use the standard behaviour
dirty_writeback_active_centisecs is the interval for the dirty page writebacks when the system is active (screen on)
dirty_writeback_suspend_centisecs is the interval for the dirty page writebacks when the system is suspended (screen off)
This feature is in part inspired on Francisco Franco's PATCH
TCP/IP NETWORK SECURITY
Thanks to zeppelinrox & V6SuperCharger
Hardening the TCP/IP stack to SYN attack
Bump up tw_buckets in case we get DoS'd
Ignore pings
Don't cache connection metrics from previous connection
Don't pass traffic between networks or act as a router
Enable spoofing protection (turn on reverse packet filtering)
Don't accept source routing
Don't accept redirects
Further reading:
http://www.cyberciti.biz/faq/linux-kernel-etcsysctl-conf-security-hardening
http://www.symantec.com/connect/articles/hardening-tcpip-stack-syn-attacks
CHROMECAST - STREAMING PROBLEMS
Lock screen MUST be enabled (simple screen lock swipe) I don't know why but it breaks the chromecast app's ability to resume smoothly if switched off
Synapse > Network > DTIM (both screen ON & OFF) = 1
Synapse > Network > WIFI Power Mode (screen OFF) = FAST
@UpInTheAir needed to create these threads to compile them for Synapse. He contacted me to close these as soon as he made them until he is ready with the finished product. Have patience.
Also I would like to apologize to UITA as the last ban may have been due to a system glitch where the signature was restored upon return, so was unjust. I have seen these glitches before and better communication might have prevented the error. We will do better going forward!
Edit: Opened
Reserved
Nice to see you back UITA.
Welcome back UITA ?
SM-N930F cihazımdan gönderildi
Welcome officially back
SkyHigh KERNEL REBORN - v5.6 released !!
SkyHigh KERNEL REBORN - v5.6 released !!
Hi fellow members.
Please find my latest release for SkyHigh kernel. There are many many changes, both visually (more / improved features) and a upgraded engine (better performance & efficiency) since I last publicly released. Far too many to talk about. . . .
Please note that although I have taken as much care in building and testing by my friends and I, the kernel may still not perform as hoped for you. Could be due to various factors including (but limited to):
hardware quality
firmware installed (incompatibility)
user habit (how you use the device)
apps & mods installed, customization's (conflicts)
user kernel settings (read them carefully - if in doubt == defaults)
As noted in Post #3, I may not have your device variant and not be always able to help either. In the end, sometimes SkyHigh is just not meant for you . . . .
If you have issues = = READ & FOLLOW ALL Posts #1-3
READ & FOLLOW THE INSTALLATION INSTALLATIONS EXACTLY (or else device will not boot)
Also please note (as per OP) the support for UX based ROMS is still in beta. I have personally tested very briefly, and also some of my friends (not all variant)
Enjoy
UITA
.
Proud to be one of the first ten guys downloading your kernel. Hahaha
*reborn kernel
Woo Hoo!
N920C variant doesn't have .zip file extension at the end of the file. FYI, thanks.
Edit: Didn't boot on N7 Port.
iko11 said:
N920C variant doesn't have .zip file extension at the end of the file. FYI, thanks.
Edit: Didn't boot on N7 Port.
Click to expand...
Click to collapse
Don't know why AFH is truncating the .zip extension . . . never used to. I'll see what's up, trying to get this source uploaded
EDIT: re-uploading all three kernels. zip extension sorted
iko11 said:
N920C variant doesn't have .zip file extension at the end of the file. FYI, thanks.
Edit: Didn't boot on N7 Port.
Click to expand...
Click to collapse
+1 cant flash even if i zip the file...sorry
N920c/64g/infinity Ux beta a2 / arise sound +doubly/xposed greenify+amplify+powernap
www.ndroid.io
---------- Post added at 01:07 PM ---------- Previous post was at 12:42 PM ----------
ziped work great...flashed succes....on ux beta a2 infinity rom...will test now
N920c/64g/infinity Ux beta a2 / arise sound +doubly/xposed greenify+amplify+powernap
www.ndroid.io
Welcome back, UITA.
Thanks for the update, finished downloading and will give it a try.
Sent from my SM-N930F using Tapatalk
carlitobahsoun said:
+1 cant flash even if i zip the file...sorry
N920c/64g/infinity Ux beta a2 / arise sound +doubly/xposed greenify+amplify+powernap
www.ndroid.io
---------- Post added at 01:07 PM ---------- Previous post was at 12:42 PM ----------
ziped work great...flashed succes....on ux beta a2 infinity rom...will test now
N920c/64g/infinity Ux beta a2 / arise sound +doubly/xposed greenify+amplify+powernap
www.ndroid.io
Click to expand...
Click to collapse
Tested RR4 UX
I've re-uploaded with zip extension
hi
my device n920cd
my rom CRISSCROSS v-2.3
The kernel's all good
Thank you very much
UpInTheAir said:
Don't know why AFH is truncating the .zip extension . . . never used to. I'll see what's up, trying to get this source uploaded
EDIT: re-uploading all three kernels. zip extension sorted
Click to expand...
Click to collapse
I don't know if it's a bug, On the first attempt I tried to boot on Enforcing but didn't boot, at the Samsung logo it vibrated consequtively, bzz, bzz .... bzz, bzz like. But Permissive works fine. I am fully operational besides Blue Filter not working.
iko11 said:
I don't know if it's a bug, On the first attempt I tried to boot on Enforcing but didn't boot, at the Samsung logo it vibrated consequtively, bzz, bzz .... bzz, bzz like. But Permissive works fine. I am fully operational besides Blue Filter not working.
Click to expand...
Click to collapse
Might be to do with UX or your ROM. I only test that on 100% stock ROM and worked fine at the time.
The blue light filter bug for UX is known and has already been reported / added to the "BUG REPORT" tab. (View in website mode on PC).
Please be aware that I extensively test only on stable stock firmware. Not beta leaks etc. So some UX bugs may or may not get fixed. I personally use stock.
{
"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"
}
NTFS
Hi UITA, thanks for coming back. Could you please tell me which apps need to be used in order to use NTFS formatted external hard drives.
Thank you.

[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.

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

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

[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

Categories

Resources