FORUMS
Remove All Ads from XDA

[KERNEL] [ROOT] [SM-N920*] Exynos 7420 | SkyHigh Kernel

7,965 posts
Thanks Meter: 15,910
 
By UpInTheAir, Account currently disabled on 30th July 2016, 01:11 AM
Thread Closed Email Thread
[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
The Following 74 Users Say Thank You to UpInTheAir For This Useful Post: [ View ] Gift UpInTheAir Ad-Free
 
 
30th July 2016, 01:11 AM |#2  
OP Account currently disabled
Flag Phuket, Thailand
Thanks Meter: 15,910
 
Donate to Me
More
Database License - requirements - installation - download - source
  1. DON'T POST LAME QUESTIONS THAT YOU CAN FIND THE ANSWER TO BY A LITTLE SEARCHING.
  2. I AM NOT GOOGLE & NEVER PRETEND TO KNOW EVERYTHING, SO A LITTLE HELP FROM YOURSELF WILL GO A LONG WAY. . .
  3. THANKS & ENJOY !!


** LICENSE & DISCLAIMER **
/*

© Copyright (c) 2015-2016 UpInTheAir <upintheair.xda@gmail.com>

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 upintheair.xda@gmail.com.

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
  1. DO NOT STEAL MY SH*T !!
  2. UpInTheAir is NOT responsible, the person you see in the mirror is !!



REQUIREMENTS:
  1. Supported variant only !!** I will NEVER support KOREAN (S/K/L) variant. Get over it and flash ARTER kernel instead !! **
  2. Touch Wiz Android M 6.0.1 ROM or UX leaked firmware (boot support only)
  3. Appropriate custom recovery (i.e..TWRP for your variant)



INSTALLATION & UPDATE:
  1. If you have Synapse installed = = you must clear Synapse app data before flash !!
  2. Device Settings: Enable Developer Options > OEM UNLOCK is ENABLED
  3. Boot into custom recovery (volume UP + home + power)
  4. DO NOTHING but flash SkyHigh kernel.zip (ALWAYS flash again AFTER any custom ROM installation, system or data wipe)
  5. After flash == DO NOTHING but REBOOT IMMEDIATELY from TWRP or you will have to re-flash !!



CONVERT EXT4 TO F2FS FS:
  1. If not already, install the latest TWRP for your device variant (ie. 3.0.2-2). This must support F2FS.
  2. Boot into TWRP.
  3. Insert USB-OTG

    ** ALL DATA WILL BE WIPED FROM INTERNAL STORAGE (restored later)
  4. Backup (copy) all important files (incl. your NANDROID) off device (ie. from internal storage > USB STORAGE). This can take a while. Advanced > File Manager > .....
  5. Home > Backup > Select Storage > USB Storage > OK > "Swipe to Backup" (Only need DATA, but recommend to backup all partitions).
  6. Install > Select Storage > USB Storage > OK.
  7. Select f2fs.zip > "Swipe to confirm flash" (This will WIPE ALL DATA !! & convert DATA & CACHE to F2FS. System is not supported by kernel).
  8. Check the box to remember setting and “Swipe to allow Modifications”.
  9. If you do not have Step #8, then Data was not converted to F2FS.
  10. Mounts > unchecked both Cache & Data. Repeat Step #7 & 8.
  11. Restore > Select Storage > USB Storage > OK > Select TWRP Backup folder > DATA ONLY !! > "Swipe to Restore" (ignore warning about EXT4).
  12. Home > Install > Select Skyhigh_kernel.zip > "Swipe to confirm Flash".
  13. Home > Mount > USB STORAGE > uncheck/unmount (then remove USB-OTG).
  14. Home > Reboot > SYSTEM.
  15. Wait ~2-5 mins for boot.
  16. Once booted, let stabilize for ~5 mins.
  17. You can check Data & Cache F2FS FS status in either /proc/mounts or Synapse app (FS section).
  18. Use a root type explorer (su permission) & navigate to /sdcard, and delete the "0" folder.
  19. 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 ?
  1. 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.
  2. If you need to wipe data, then use the ext4 or f2fs.zip, otherwise this is not possible with this TWRP !!
  3. 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:
  1. Wait at least 120 secs to stabilize
  2. Install Synapse app from Google Play and rate it ☆☆☆☆☆ !!
  3. Open Synapse
  4. Tap "Understood"
  5. So changes stick every time you start Synapse == Make any change & 'apply'.
  6. Recommend: Disable KNOX with Synapse



DOWNLOADS:
[HIDE]
** 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:



.
The Following 31 Users Say Thank You to UpInTheAir For This Useful Post: [ View ] Gift UpInTheAir Ad-Free
30th July 2016, 01:11 AM |#3  
OP Account currently disabled
Flag Phuket, Thailand
Thanks Meter: 15,910
 
Donate to Me
More
Info 2 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.
  1. Search thread, XDA and Google before posting
  2. 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.
  3. Exact steps to reproduce the issue. Provide screenshots if able.
  4. Does it work with older / other versions etc
  5. Reset your device to a stable baseline (ie. stock) with only custom TWRP recovery and kernel (FULL WIPE: system, cache, dalvik-ART)
  6. 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:
  1. 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
  2. dirty_writeback_active_centisecs is the interval for the dirty page writebacks when the system is active (screen on)
  3. 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:


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
The Following 20 Users Say Thank You to UpInTheAir For This Useful Post: [ View ] Gift UpInTheAir Ad-Free
30th July 2016, 11:44 AM |#4  
KennyG123's Avatar
Moderator Liaison / RC-RT Committee / Spider-Mod
Flag Right behind you!
Thanks Meter: 44,928
 
Donate to Me
More
@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
The Following 14 Users Say Thank You to KennyG123 For This Useful Post: [ View ] Gift KennyG123 Ad-Free
1st August 2016, 06:39 AM |#5  
Senior Member
Flag Vietnam
Thanks Meter: 75
 
More
Reserved
1st August 2016, 07:51 AM |#6  
Senior Member
Flag Pasay City
Thanks Meter: 46
 
More
Nice to see you back UITA.
1st August 2016, 08:21 AM |#7  
iko11's Avatar
Senior Member
Flag Izmir
Thanks Meter: 1,144
 
Donate to Me
More
Welcome back UITA 🍀

SM-N930F cihazımdan gönderildi
1st August 2016, 08:54 AM |#8  
Rx8Driver's Avatar
Senior Member
Flag Williamsport
Thanks Meter: 1,267
 
Donate to Me
More
Welcome officially back
The Following 2 Users Say Thank You to Rx8Driver For This Useful Post: [ View ] Gift Rx8Driver Ad-Free
1st August 2016, 10:06 AM |#9  
OP Account currently disabled
Flag Phuket, Thailand
Thanks Meter: 15,910
 
Donate to Me
More
Exclamation 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
.
The Following 8 Users Say Thank You to UpInTheAir For This Useful Post: [ View ] Gift UpInTheAir Ad-Free
1st August 2016, 10:11 AM |#10  
Senior Member
Flag Vietnam
Thanks Meter: 75
 
More
Proud to be one of the first ten guys downloading your kernel. Hahaha
*reborn kernel
1st August 2016, 10:14 AM |#11  
hshah's Avatar
Senior Member
Thanks Meter: 260
 
More
Woo Hoo!
The Following User Says Thank You to hshah For This Useful Post: [ View ] Gift hshah Ad-Free
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes