[KERNEL][TW & AOSP] PRIME-Kernel v2.1.2 - Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec

{
"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"
}
​
List of Supported
Variants
SM-G930S/K/L/F/FD/W8
SM-G935S/K/L/F/FD/W8
ROMs
TouchWiz N base all ROMs (Stock, S8 port ROMs, Note 7/8 port ROMs)
AOSP 7.1.2 & 8.x base all ROMs (Lineage, RR, crDroid & AICP & more...)
Main Features
OSRC's latest Note-FE & S7 source code base.
Using the AnyKernel2(Flashing Tool).
Synapse support.
SELinux Permissive / Enforcing switchable (+ Fake Enforcing Mode).
Linux-stable 3.18.y upstream.
Compile with UBERTC 6.4.1 toolchain.
F2FS support (/data, /cache only).
Optimized for Exynos8890 using the Exynos-M1 flag for compile options.
Gametuner-Mod
Game Booster Mode
intelligent performance enhancement mode in conjunction with Samsung-Gametuner.
Fake KNOX.
chacha20 to random (entropy).
Linaro LSK-v3.18-Energy-Aware Scheduler (EAS) port.
EAS simplifies power and performance management through scheduler-driven tuning to manage more efficiently.
Linux-v3.18 already has EAS installed, but with the LSK-v3.18-EAS, the existing EAS has been further improved and the user can choose between tuning power efficiency and performance.
Linaro v3.18/topic/OPPv2 branch merge.
Lazytime mount options
improved storage performance and longevity.
Similar to DynamicFsync, but operates at the file system level and has no risk of data loss.
CPU/GPU UC & OC.
Limit the maximum overclock range according to the device's ASV value (device yield) to prevent excessive overclocking.
CPU/GPU/BUS voltage control.
GPU Performance Tuning.
Performance/balance/battery separated DVFS user settings.
Thunder Hotplug driver port.
HMP tuning Interface.
Detail charging circuit control allows faster charging.
Added I/O Scheduler 'bfq, fifo, fiops, row, sio, maple, tripndroid, zen'.
Enable Westwood tcp/ip congestion control (not default).
LED FADE control.
PWM Flicker free.
boeffla's generic wakelock blocker driver.
Qualcomm interactive (renamed cafactive) cpu governor porting.
Added battery-friendly 'relaxed' governors, and more.
Provides an add-on that keep kernel settings on unrooted devices.
Synapse: System Tweak add-on available.
Synapse: Provides configuration profile separated by performance/battery/stability.
Many other optimization applications.
How many users are there in this kernel and what is it with custom ROM?
* Go to User Statistics.
With this kernel, the following information is sent once to the developer's server at boot time.
variant, android serial number(not device serial), name of current firmware(ROM), country code, kernel version
* This information is Android apps can see without any special permissions.
* If you suspect other information transfer, open the '/res/synapse/actions/addon' file.
Description for AOSP ROMs
If you are using another developer's custom kernel, or if using ramdisk is corrupted kernel, you may encounter a bootloop or an unknown problem.
If you have a bootloop problem, flash the PRIME kernel after first flashing the builtin kernel in your ROM. (Or flash the ROM again)
This kernel is flashed AnyKernel method, for all kinds of AOSP ROM support.
Download
Latest Version | Older Version
Community
Telegram Group: https://t.me/primekernel
Naver Cafe (for Korean): http://cafe.naver.com/primeusers
How do I enable donation-only add-on features?​
Credit (Thanks. to)
@AndreiLux - Perseus8890 kernel.
@tkkg1994 - refer to some Commits.
@arter97 - cafactive & more.
@osm0sis - AnyKernel2.
@jesec - AOSP kernel source.
@Wootever - PWM Flicker Free.
All members of the PRIME-Kernel NaverCafe.
And all of commited in sources & all of xda developers.
XDA:DevDB Information
PRIME-Kernel, Kernel for the Samsung Galaxy S7 Edge
Contributors
Hyunwoo AHN
Source Code: https://github.com/dwander/Linaro-base/tree/herolte
Kernel Special Features: Linaro-LSK-3.18-EAS Port, Gametuner-MOD, Intelli-Performance
Version Information
Status: Stable
Current Stable Version: 2.1.2
Stable Release Date: 2017-12-17
Created 2017-09-23
Last Updated 2017-12-17

Donation
How do enable donation-only add-on features?
I only receive donations from your heart.
Do not donate if you intend to unlock synapses.
If you are unable to make a donation of 5.0 USD or more due to economic reasons, please do not donate and request me to unlock Synapse. Then you can use all the functions of synapse without donation.
How to request synapse unlock
Please tell [email protected] the following:
- A matter that is difficult for you to donate(eg economically difficult countries, students without money or credit card).
- The first five letters or screenshots of the KeyCode on the Synapse's first screen.

Changelog
v2.1.2
fixed bluetooth issue in AOSP 8.1
Linux upstream to v3.18.88
v2.1.1
Linux upstream to 3.18.87
Add Android O (8.x) support
Add new commit for AOSP support
Changed AOSP build to TouchWiz base (Integrated AOSP and TW kernel source code)
Fixed WiFi-Hotspot issue for N8 porting ROM
Fixed an issue where the charge state switching notification did not work
Note-FE GPU driver (r15p0) build droped
r12p1 GPU driver is built back into the package
Minor bug fixes
v2.0.1
Reuse AutoASV
Over clock limit relaxed
Removing the State Notifier Driver & Using the FB Driver
Fixed a bug where two big cores could not be used (v2.0)
Corrected the overclock value to actually apply when boosting the big core
Synapse: Memory: Z-Swap compression algorithm selection option removed
Synapse: Labs: gms drain patch removed
v2.0.0
base: Re-based on Note-FE source code
linux: upstream to v3.18.83
f2fs: Updated latest from f2fs-stable branch
init: Fixed video playback delay issues reported by some N8 porting users
tcp: Change the TCP congestion control algorithm default to Westwood (stock: bic)
Synapse: Fixed the problem that the Intelli-Performance setting is released after rebooting
GPU: Remove unnecessary ipa update code
exynos: Separate AutoASV in 5 steps
exynos: Changed AutoASV not to participate in overclock value(only used for big Core boosting)
mm: Change Z-Swap compression algorithm default to lzo(stock value)
Synapse: Memory: Added Z-Swap compression algorithm selection option
Synapse: Add Labs tab
Synapse: Storage: Resolve compatibility issues with DualSIM models
installer-zip: Include a RAMdisk for TouchWiz for all supported models in package(no need for stock kernel flashing)
installer-zip: After the kernel flashing is complete, it automatically flashes when Magisk or SuperSU files are found.
v1.9.3
Upstream to Linux 3.18.80
Synapse->Utility: Added Android ID management function
Synapse->Advanced: Added option to switch to Enforcing mode after booting
Synapse Add-on Updated to v6.4.2
selinux, Improved fake Enforcing
Use new random driver functions
Removing Gametuner-MOD from AOSP build
Minor bug fix
v1.9.0
Supported Note 8 Porting ROMs
Backported random(entropy) driver from Linux v4.14.rc7
Updated AnyKernel2 (bug fix)
Updated mptcp(Multipath TCP) driver (0.90.0 → 0.90.3)
installer, Prevent Magisk from being deleted when merging ramdisk
Reduced screen brightness during boot
r12p0/r15p0 GPU driver to separate build, packaged in one
! Please read the 'Attention to the GPU driver' part on the first page.
v1.8.2
Linux upstream to v3.18.78
Merge G935F DQJ1 firmware sources
Merge Note-FE AQI4 firmware sources
Fix SafetyNet bypass issue.
f2fs: fix potential panic during fstrim
selinux: Apply Fake-Enforcing mode
In Enforcing mode, it actually works in Permissive mode.
Thanks to @jesec
Synapse: minor bug fix
v1.8.0
• Linux 3.18.76 upstream.
• fully merged Note-FE AQH3 firmware sources.
- There are very very many improvements(bad sammy!)
- Not applicable for AOSP binaries​• Added boeffla's generic wakelock block driver. by @andip71
• Synapse > wakelock: Add generic wakelock.
• Synapse: Some English translation.
v1.7.0
• Linux 3.18.75 upstream
• Added IPA update for cafactive, ironactive, impulse governors.
• Added relaxed CPU governor
- Conservative based battery-friendly governer, with performance degradation.​• ironactive, impulse governor removal.
• Synapse: Added EAS-Tune tab.
- Boost support separated by global, top-app, background, and foreground items.​
v1.6.0
Linux 3.18.73 upstream.
Selinux: permissive/enforce mode switching support.
Synapse: Improved to work in Enforce mode.
Synapse: Improved the SynapseLoader add-on to work in Enforce mode.
Synapse: Added SELinux Enforce option.
- More complete SafetyNet bypass & KakaoBank compatible.​Synapse: Updated addon (v6.4.0)
Install-zip: Prevent Magisk from reverting kernel init files before.
Install-zip: Added init binary hexpatch to support f2fs conversion of cache partition.
v1.5.2
aosp: Reduce the haptic feedback strength default by 50%.
synapse: misc: Added haptic feedback intensity control to AOSP.
v1.5.1
Enable cgroup_schedtune.
- EAS Schedule tuning (energy or performance) automation support options.
- CFS boost setting is removed accordingly.​install-zip: Fixed some bugs in the flashing process.
v1.5.0
Linux 3.18.72 upstream.
G935F-DQIC firmware kernel source merged.
Support AOSP 7.1.2 based custom ROMs.
- Tested: LineageOS, crDroid, RR​Changed to AnyKernel method.
Updating the f2fs file system on the f2fs-stable branch.
workqueue improvement.
Apply ADJ_RBTREE to LMK.
Using ARM64 logic on SHA256 / 512.
PWM Flicker Free - Thank's to [email protected]
- information: https://forum.xda-developers.com/s7-edge/development/amoled-pwm-s7-edge-t3517739​Synapse - Added WakeLock control.
- Some are not supported in MTweaks, I recommend using Synapse.​Synapse: Added CPU Voltage margin setting.
There are many more minor changes.
v1.4.0
EAS: Adding a missing commit.
- Fixed temperature rise problem in some high-end games.​GPU: DVFS tuning.
Synapse: Correct default settings when selecting maple IO scheduler.
init: cfs_boost Adjust the default value to 0.
zip-installer: Mali-R12P0 & R15P0 Include the GPU driver in the package.
v1.3.2
Linux 3.18.71 upstream.
changed the source code base to G935FXXU1DQH8.
improved crypto.
fs: updated to the latest in the f2fs-stable branch.
f2fs: support for lazytime mounts.
fstab: support f2fs mount (/system not allowed).
ext4: fix fencepost error in lazytime optimization.
ramdisk: unified with G935FXXU1DQHY base without any 'flat/edge/kor/eur'.
v1.3.0
Disable Exynos-Swap, use ZSwap.
- ZSwap's efficiency is better.​Enable zswap_writeback.
Changed the toolchain to gcc-6.4.1 (UBERTC 6.4.1).
Remove the 'perfect C-state residency' related commits.
Back to r12p0 gpu driver.
- Battery efficiency issue of r15p0.​Fix synaps FC issue.
- In the case of genuine firmware, FC occurs at the first execution.​Optimized & bug fixes for old scripts in synapse.
Ramdisk divided build, global model and Korean model.
- Several issues related to global models.​
v1.2.0
Updated with DQH8 firmware source code.
Linux 3.18.15 ~ 70 upstream rework.
NIVIDIA CPU Relax Patch removal.
- In some games, FC or loading loop issue.​XPAD Joystick driver update (from Google AOSP 3.18 kernel)
ZRAM, KSM off
- ZRAM is duplicates with VNSWAP
KSM is inefficient​Synapse: English translation (90%)
Details(Korean): http://enfree.com/prime/?page=changelog&device=G930

reserved

Thank You, I'm going to test this release!!

New Thread ? Good , Question: You not planning to do a Version with new GPU Driver?

Deleted

truenitos said:
New Thread ? Good , Question: You not planning to do a Version with new GPU Driver?
Click to expand...
Click to collapse
I just added it and you can download it now.

Thanks alot

I can not Uninstall synapse. I use mtweak an in not use synapse. After restart is the synapse app back.
I have use titanium Backup an root Uninstaller but everyone cant Uninstaller this app.

Matze6989 said:
I can not Uninstall synapse. I use mtweak an in not use synapse. After restart is the synapse app back.
I have use titanium Backup an root Uninstaller but everyone cant Uninstaller this app.
Click to expand...
Click to collapse
Create the '/sdcard(internal storage)/Synapse/do_not_force_install' file.
* MTweak can not support all the features of this kernel.
* Synapse is somewhat unstable, but it is the best solution for a custom kernel.

I have deleted the synapse file with root from the intern sd but there is coming back.
An when i install this kernel the i have no volte icon in the statusbar.

Matze6989 said:
I have deleted the synapse file with root from the intern sd but there is coming back.
An when i install this kernel the i have no volte icon in the statusbar.
Click to expand...
Click to collapse
if you create a 'do_not_force_install' file in /sdcard/Synapse folder, Synapse does not install automatically.
the problem with voLTE is that my device is G930K(Korean variant). i can not test for the carriers in all countries.
please try to use v1.3.0 and tell me if it is voLTE.
Sent from my Galaxy S7 using XDA Labs

With 1.3.0 i have volte
What file must i deleted for synapse?
This kernel is perfect when i can Uninstall synapse
Big Thanks

Matze6989 said:
With 1.3.0 i have volte
What file must i deleted for synapse?
This kernel is perfect when i can Uninstall synapse
Big Thanks
Click to expand...
Click to collapse
Just use Synapse.
I hate to say more.

@Hyunwoo AHN
One wish, can you make all 4 big cores reach 2.6GHz?
Like in TGP kernel?

Ubimo said:
@Hyunwoo AHN
One wish, can you make all 4 big cores reach 2.6GHz?
Like in TGP kernel?
Click to expand...
Click to collapse
It is not the best because it causes other(high temperature) problems.
I did this kernel, but I chose another way. Just trust me.

Matze6989 said:
With 1.3.0 i have volte
What file must i deleted for synapse?
This kernel is perfect when i can Uninstall synapse
Big Thanks
Click to expand...
Click to collapse
you must first,CREATE a file in 'synapse' folder...
then,after,you can delete synapse/ install kernel/reboot/whatever...

rebooting in decent ultra Life rom

On Civato rom systemless rebooting after install manualy magisk.

Related

arter97 kernel for Galaxy S3

{
"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"
}
arter97 kernel for Galaxy S3
This kernel is no longer supported actively!​
/* Overview */
Based on stock SHV-E210S kernel source
Supports Android 5.1 Lollipop, CyanogenMod 11.0, Samsung Touchwiz based Android 4.4.4 ROM
Upgraded to the latest Linux
Compiled using latest ARM Linaro-toolchain
Speed improvements
Battery improvements
New CPU Governors
New I/O Schedulers
CPU overclock capability
Color inverting by quadriple tapping on home button
Proper dual-boot functionality
Many more ...
/* Details */
Built using Linaro-toolchain 5.1
Properly upgraded to the latest Linux 3.0.101
Dual-boot functionallity for all supported ROMs
SELinux disabled(permissive)
Kernel compression in newly-improved LZO format
Kernel scheduler improvements
Full unaligned access enabled
Improved memcpy, hrtimer, mutex, cpufreq, memory-management, writeback
Optimized RWSEM, crypto, math drivers
Wi-Fi wakelock reduced
BFQ v7r8, SIO, FIFO, VR, ZEN I/O schedulers added
ZZmoove, Intelliactive CPU governors added
Overclock available to 1600MHz
Controlable, kernel-side implementation of slient camera shutter sound
Touch Wake with Knock-On feature
Deadline I/O Scheduler speed improved
Asynchronous I/O backported from Linux 3.6 with speed improvements
Asynchronous Fsync from hTC ported by faux123
Dynamic Fsync from faux123
Networking performance improved
Disabled MMC-CRC for better NAND performance
ARCH_POWER enabled for better power savings
Fading LED control by AndreiLux
Random driver backported from Linux 4.0+
SCHED_AUTOGROUP enabled for superior multitasking experience
Westwood as default TCP congestion control for best networking performance
Optimized CRC32 & SHA-1 algorithm
Proportional Rate Reduction for TCP
Boeffla Sound Engine 1.6.7
Charger control by AndreiLux
FAT32 latency improved
Android logger control
Memory throttling removed
Default file-system mount option with noatime & nodiratime
Proper, full support for f2fs & backported from Linux 4.2+
Switchable sharpness control by AndreiLux, AndiP71
Latest mali graphics libraries
Automatic kernel panic log dumper
Powerboost, Boost-boot for better performance
Sdcardfs extended to all supported ROMs
Android 4.4 KitKat's extra free kbytes tunables added for better memory managements
ARM_UNWIND enabled for better performance
File-system writeback function backported from Linux 3.4 with latency improvements
Compiler profiles backported from Linux 3.16
Kernel module integrated into the ramdisk for better loading speed
Insecure ADB control
TCP's Initial Congestion Window tunables from Android 4.4.3
Power-efficient workqueues backported from linaro-lsk
Deep-discard-trim; FIDTRIM support for ext4 backported from google-3.4
Entropy hook on storage removed for performance
/* More informations */
Based on stock SHV-E210S kernel source
Samsung has put massive updates in their Android 4.4 kernel compared with Android 4.1 kernel. By being based on stock SHV-E210S kernel source, arter97 kernel is miles ahead of where other CyanogenMod-based kernels are slowly catching up behind.
Dual-booting
arter97 kernel implements simple yet seamless multi-boot solution that does not need a dedicated recovery. It's also faster, thanks to raw extracted method instead of slow loop mounted images.
To start, enter recovery(CWM, PhilZ) and flash arter97-multi-boot.zip. The ZIP files you flash afterwards will be stored in the 2nd-ROM slot(/data/arter97_secondrom) until you exit or restart recovery.
Reboot back to 1st-ROM, and use newly installed 'aSwitch' to control 2nd-ROM. You cannot select between two ROMs on the initial start-up time.
* 2nd-ROM's /system partition will be always mounted R/W due to its limitations.
* Backup & restore will not work for 2nd-ROM. Don't try it unless you want your entire device screwed all over.
* Do not select data wipe on 2nd-ROM installation! 1st-ROM data might be lost instead.
Advanced mDNIe control
arter97 kernel offers advanced mDNIe control by AndreiLux, leaving every single controls available for the screen in the palm of your hands.
Knock-On
arter97 kernel offers full Touch Wake functionality(by Ezekeel & Yank555.lu) with additional 'Knock-On' feature. Within the desired timer you set, Touch Wake will only work by double-tapping.
Touch Wake
Touch Wake has been improved in arter97 kernel. Not only the implementation of 'Knock-On' feature, you can now set a seperate timer on charge, force to also work on physical button pressed.
Compiler
arter97 kernel uses the latest Linaro-toolchain. Linux kernel's compiler profiles has also been backported from Linux 3.16 for more compiler bug-fixes, performance improvements.
Memory managements
arter97 kernel is fully upstreamed to the latest Linux 3.0.101. This provides improved stability, performance and memory management. But many developers forget to properly match Samsung's CMA memory management to Linux 3.0.101. arter97 kernel is the only kernel properly upstreamed to Linux 3.0.101 with CMA, meaning better memory management than other kernels.
If you're using Android 4.4 KitKat, ROM can work together with arter97 kernel which improves memory managements even further.
File-system
Battery and access speed to /sdcard is also improved by utilizing Samsung's sdcardfs and ditching Google's fuse implementation. Users can disable sdcardfs allowing FolderMount to work properly.
FAT32 latency is improved, and AIO(Asynchronous I/O) is backported from Linux 3.6 with latency improvements.
f2fs
arter97 kernel is the first Android kernel(since 2013/08) to feature full f2fs support with selective partitions preferences. If you manage to make a switch from ext4 to f2fs, theoratically, your device's flash storage can perform up-to 2x faster. arter97 kernel also continously backport the latest f2fs from Linux 3.19+. This f2fs will be even more faster, reliable than other Android kernels.
PhilZ recovery dedicated for f2fs makes users easy to switch. Install kernel and recovery, wipe /data and /cache, that's it.
Boeffla Sound Engine
Boeffla Sound Engine is the only custom audio engine available in arter97 kernel. Go and download 'Boeffla Sound Control' from Google Play store.
Android logger control
Android logger, aka logcat can produce a lot of garbage datas even when you don't need them. You can explicitly disable Android logger completely, or make it clear itself when the screen goes off(which is the default).
Mali graphics
arter97 kernel uses the latest Mali driver available for Samsung's Exynos 4412 phones, r3p2. It also uses the latest Mali blobs from N7100 ROM, which is built more recently than GT-I9300 ROMs.
Automatic kernel panic log dumper
When you use a custom kernel, you may experience unexpected malfunctions like sudden reboots. You should dump the kernel log and report it to the developer to help, but it may be very tiring to manually dumping and sending it. To make your life easier, arter97 kernel automatically dumps kernel log when kernel panic happens, and stores it on /sdcard/arter97.
Kernel-side Camera shutter sound control
arter97 kernel can force and turn off the speaker while the rear camera is operating. Since this is a kernel-side implementation, it doesn't need any ROM side support. Control available from aTweaks.
Powerboost
Powerboost is a function that dynamically boosts your device's performance when an external charger is connected. Since none of the power savings are needed while the device is charging, you can experience much more faster speed during that period.
Boost-boot
Boost-boot is a function that can reduce boot-up time up-to 20 seconds. It uses 'performance' CPU governor, 'no-op' I/O scheduler and 1024kB readahead when the device is booting.
aTweaks
aTweaks is a live-kernel-controller dedicated for arter97 kernel based on STweaks. You can control almost every aspects that arter97 kernel offers. Installing BusyBox before using is recommended.
aSwitch
aSwitch is a dual-boot settings for arter97 kernel. It can wipe 2nd-ROM's /system, /data and /cache. You can also set /sdcard sharing option within aSwitch.
/* Disclaimer */
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this kernel
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
/* Warning */
Do not redistribute, modify, fetch, extract files used within this project or integrate with other files without my permissions.
Making mirrors, re-uploading to another servers are strictly prohibited with no exceptions.
/* Supported device */
Galaxy S3 3G International (GT-I9300)
Galaxy S3 SK-3G (SHW-M440S)
Galaxy S3 SK-LTE (SHV-E210S)
Galaxy S3 KT-LTE (SHV-E210K)
Galaxy S3 LG-LTE (SHV-E210L)
/* Unsupported device */
Galaxy S3 LTE International (GT-I9305)
/* What you need to know */
'Opensource' does not mean 'no-respect'
Leave credits to original developers
All files for supported devices are integrated into one file
/* FAQ */
I get 'status7' error while installing!
Your recovery is out-dated. Go and install a newer one.
Any recommended kernel settings?
The defaults are the most recommended settings. Try and use the default settings for several days before tweaking it yourself.
No GPU clock controls?
No. I personally don't like exposing GPU clock controls to users. I have no plans of adding these controls to my kernels.
I'm experiencing data-losses, device shutdown while downloading torrents!
Please turn off 'Dynamic Fsync' from aTweaks. Note that this may make your device slower.
Screen mode settings are not working!
mDNIe settings is moved to aTweaks. Please use the settings from there.
My screen color is inverted!
Tap the home-button 4 times. It's a kernel feature, please read the entire post.
The boot animation is laggy after installing this kernel!
The root cause is unknown for now, but it is normal and doesn't affects anything else.
Personal Hotspot is not working after switching to another kernel!
It's due to hostapd binary change. Go and re-flash your ROM.
/* Thanks to */
Samsung
faux123
Yank555.lu
Temasek
AndreiLux
AndiP71
DerTeufel
ZaneZam
JustArchi
Moster2
NamelessROM developers
ckh469
edoko
gokhanmoral
codeworkx
xens0117
And all the developers, maintainers of CyanogenMod's smdk4x12 kernel!
irendah07
/* Contact */
Email : [email protected]
Twitter : @arter97_dev
/* Downloads */
Please disable AdBlocker if you appreciate my work
http://www.arter97.com/s3_kernel.htm
Source code : https://bitbucket.org/arter97/arter97-i9300-release
/* Installation */
1. Put kernel on you SD card
2. Enter ClockworkMod(or PhilZ) recovery
3. Flash kernel
XDA:DevDB Information
arter97 kernel for Galaxy S3, Kernel for the Samsung Galaxy S III I9300
Contributors
arter97
Source Code: https://bitbucket.org/arter97/arter97-i9300-release
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2015-02-22
Beta Release Date: 2015-02-22
Created 2014-05-13
Last Updated 2015-10-09
Changelog
/* Changelog */
5.0
pegasusqplus, yankasusq and lulzactiveq CPU governors removed
pegasusq reworked for better stability
f2fs updated to Linux 4.2 sources for better stability and performance
RTL8187 support dropped for better stability
Network file-systems support dropped for better stability
Adaptive Body Bias control removed for better stability
Undervolt control removed for better stability
Intelli_plug removed for better stability
Misc commits reverted for better stability
FPU corruption fixed
1.7, 1.8 GHz overclock frequency removed
CFQ I/O Scheduler set as the default for better responsiveness
Intelliactive set as the default CPU governor
Partial code of Lazyplug added to intelliactive for better responsiveness
Zen-tune from Liquorix kernel removed
Random drivers updated to the latest mainline Linux
zswap(vnswap) pool percent increased
AIO regression reverted
BFQ I/O scheduler updated to v7r8
LZ4 re-added and updated to be used with vnswap
Ramdisk updated
ZZmoove CPU governor updated to v1.0-beta8
4.1
Now being built with Linaro 5.1 toolchain
Intelli-plug updated to 4.0
Various memory improvements (fs/seq_file.c)
Trim speed on ext4 improved
Discard option re-enabled for f2fs
(Jaegeuk Kim says inline kernel handlings for discard is more efficient)
Userspace trim disabled for f2fs
(Reduces vold overhead on FITRIM requests)
Trim fixed for some NAND storage for f2fs
Support for Samsung Touchwiz Android 4.3 ROMs removed
Support for Android 5.0 ROMs removed
Support for Android 5.1 ROMs added
Installation failure after ROM installation fixed
Network speed tweaked for LTE models
4.0.3
Issues with swap configurations fixed
Misc SELinux logs improved
Compiler and linker updated
4.0.2
Latest CyanogenMod 12 ramdisk changes merged
(Fixes bootloop on latest builds)
4.0.1
Zen-tune from Liquorix kernel implemented
(Reduces lags)
ondemand CPU governor removed
Few inconsistencies fixed for SHV-E210L
Hardswap on preload partition added on aTweaks
4.0
Prevent random enter to recovery
LPM mode on Android 5.0 Lollipop fixed
Low-level start-up misc issue fixed
Revert - "usb cb wake lock", "usb device wake lock" wakelock removed
(Fixes USB connections)
Random drivers updated to the latest mainline Linux
LZO security vulnerability fixed
Entropy hook on storage removed for performance
f2fs updated to the latest mainline Linux
Android 5.0 Lollipop ramdisk updated
4.0-beta6
f2fs updated to the latest mainline Linux
Durpy defconfig changes removed
SHV-E210S_KK_Opensource_Update2.zip merged
Hybrid support for different HWC implemented
(Fixes camera initialization issues)
MobiCore disabled for AOSP
(Memory optimizations)
4.0-beta5
f2fs updated to the latest mainline Linux
sdcardfs extended and enabled with Android 5.0 Lollipop
PegasusQ set as the default CPU governor for stability
firelock and full-frequency-usage removed from PegasusQ for performance
Android 5.0 Lollipop ramdisk updated
Stability on charging with phone turned off improved
PhilZ Touch recovery now uses standard VOLD mount points
4.0-beta4
Removed GPS blobs from 4.0-beta3
(Fixes GPS on AOSP - you may need to reinstall the entire ROM to fix GPS)
4.0-beta3
f2fs updated to the latest mainline Linux
Some cutting-edge compiler optimizations tuned down for stability
Added L1/L2 cache size paramater optimizations (by JustArchi)
Support for Android 5.0 reworked
Support for Android 5.0 Lollipop VPN added
Support for Android 5.0 Lollipop power consumption calculation added
Support for Android 5.0 Lollipop idletimer enabled
Deadline / noop set as the default I/O schedulers
Incall boost increased to 1000 MHz for more stability
Ext4 mount option journal_async_commit removed
Ext4 barrier enabled for better stability
Now uses TRIM from userspace instead of kernel for performance
Boeffla sound engine updated to 1.6.7
Second-phase touch booster removed for stability
Intell-plug touch booster removed for stability
BFQ I/O scheduler updated to v7r7
Installs and uses the working HWC from NamelessROM if on AOSP
Enables s3cfb fencing on AOSP
(Fixes graphical glitches)
MHL sound output issue fixed
Vnswap on AOSP switch added
Added GPS blobs from E210SKSUKNK3
Recovery updated to PhilZ Touch 6.59.0
Misc performance and stability improvements
Support for AOSP Android 4.3 ROMs removed
4.0-beta2
Major speed improvements via new ARM instructions set
interactive CPU governor re-based to android-3.4
(Fixes frequency stuck issue)
ZZmoove v1.0-beta2
ROW I/O scheduler removed
Misc block commits reverted
(Improves overall stability)
f2fs reworked from ground-up
(Stability, performance improvements)
Automatic kernel panic log dumper now stores log on /sdcard/arter97
RTL8187 support added (integrated)
SHV-E210L radio issues fixed
External storage support for Android 5.0 Lollipop enabled
4.0-beta1
Kernel rebased to Galaxy S3 LTE KitKat source
(Fixes graphical glitches on Touchwiz ROMs)
512 MB of vnswap enabled for Touchwiz ROMs
Intelliactive now the default CPU governor
Touchwiz Android 4.4.2 support removed
Back-to-n00t ROM support added
Android 5.0 Lollipop ROM support added
Charge during phone-off fixed
ZZmoove v1.0-beta1
Interactive governor ported from Galaxy Mega 2
Powerboost removed
Deadlock during phone-call fixed
Toolchain switched to stable Linaro GCC 4.9.2 2014.10
Recovery updated to PhilZ Touch 6.58.7
multi-boot updated for fixing AOSP ROM installation
3.1.1
PM_SUSPEND_FREEZE removed
(Responsible for all issues related to sleep)
intelliactive - CPU boost frequency fixed to 1000 MHz
(Standard for Exynos 441x)
Misc improvements to freezer, irq and futex
(Credits to Colin Cross, Sankara S Muthukrishnan, Thomas Gleixner and Francisco Franco)
3.1
Installation failure on some recovery issue fixed
ext4: Speedup WB_SYNC_ALL pass called from sync
Kernel thread: wake up worker only when the worker is idle
Disable GENTLE_FAIR_SLEEPERS when powerboosted
(Better UI snappiness)
Network performance with process_backlog improved
BusyBox updated
aSwitch updated to version 2.5
(Fixes reboot not working on some ROMs)
Boost CPU frequency on resuming from sleep or screen-off
PM_SUSPEND_FREEZE fixed
("Maybe" fixes some issues with screen not tuning on after voice call)
Screen-off CPU frequency limit unlocked for intelli-plug users experiencing music studders
Several more network integration with ROM
multi-boot.zip updated to version 2.1 fixing 2 or more ZIP files installation
3.0
Now uses interactive as the default CPU governor, replacing pegasusq
Now uses more power-efficient PM_SUSPEND_FREEZE on stand-by
2nd-phase touch boost implemented for much more snappy touch reaction
(When the screen is touched, CPU frequency is bumped up to 1.2 GHz for 100ms, then down to the default 0.8 GHz)
Undervolt capability added from Perseus kernel (by AndreiLux)
aSwitch updated to version 2.4
(Now correctly reboots after ROM switch)
multi-boot.zip updated to version 2.0 for much better compatibility
(Use only with arter97 kernel 3.0 or higher!)
Misc improvements with memory managements, internal MMC handlings, network including TCP and SELinux
Wi-Fi module handling improved
Installation time improved
ADB on Samsung stock-based Android 4.3 ROM fixed
ondemand CPU governor power consumption & speed improved
(Changed calculation of target frequency)
interactive CPU governor merged from upstream Google 3.0 Git repository
Tracers within interactive CPU governor removed for better performance
f2fs re-imported from scratch for bug-fixes
sched_mc_power_savings now set to 0 for better performance
ZZmoove CPU governor updated to v0.9-b4 (by ZaneZam)
AOSP Android 4.4 KitKat ramdisk updated
CyanogenMod 11's addon.d installed for nightly updates
Built with updated toolchain
Recovery updated to PhilZ Touch 6.57.5
Now correctly applies CPU frequency settings when resuming from throttled state
2.2
GT-I9300_JB_Opensource_Update14.zip merged
Power-efficient workqueues backported from linaro-lsk
Deep-discard-trim; FIDTRIM support for ext4 backported from google-3.4
Revamped aSwitch, aTweaks icon
aTweaks typo cleaned
aTweaks now properly supports Korean
Removed invalid hotplug lock within aTweaks
Powerboost routine improved
SdcardFS switch added
(for those who are planning to use FolderMount)
Intelli-plug merged with smart switch
Intelliactive merged
Random drivers updated to the latest mainline Linux
f2fs updated to the latest mainline Linux
f2fs performance improved with nobarrier option
BFQ updated to v7r5
lzo security vulnerabilities patched
lz4 security vulnerabilities patched
Reverted busfreq and wakelock commits
AOSP Android 4.4 KitKat ramdisk updated
Compiler flags updated
Built with updated toolchain
Frandom removed
(default random drivers are better that now it's merged from mainline Linux)
io_is_busy is now properly enabled by default
Recovery updated to PhilZ Touch 6.56.2, ClockworkMod v6.0.5.0
2.1.3
UKSM removed
(responsible for almost all kernel panics happened with previous versions)
AOSP Android 4.4 KitKat ramdisk updated
Security vulnerability CVE-2014-3153 fixed(towelroot)
Recovery updated to PhilZ Touch 6.46.2
2.1.2
GPIO processing operation reordered
(faster wake-up)
SLUB Memory Allocater from Linux 3.3 reverted
(better stability)
Debugging functions in SLUB Memory Allocater added by Samsung removed
2.1.1
Write permissions on external storage fixed
Recovery malfunction on external storage fixed
Fixed advanced mDNIe control in aTweaks
f2fs whitelisted on SELinux to maximize compatibilities
CMA memory validation on Mali re-enabled
Android 4.4.3 kernel source code changes applied
TCP's Initial Congestion Window tunables
(network performance improvements)
f2fs updated to the latest mainline Linux
AOSP Android 4.4 KitKat ramdisk updated
Recovery initial loading speed improved
Recovery updated to PhilZ Touch 6.44.9, ClockworkMod v6.0.4.9
Removed userspace, hotplug, adaptive CPU governors
Removed support for network file-systems
Config minimalized for lighter kernel
2.1
Dedicated custom PhilZ recovery released for f2fs
Allowing an easy switch to f2fs
Toolchain switched to stable Linaro GCC 4.9.1 2014.05
Block backport from Linux 3.3 reverted
- Fixes kernel panics with Samsung Touchwiz Android 4.4 KitKat
BFQ updated to v7r4
Mali graphics driver merged from N7100 Android 4.4 KitKat kernel
/data/container mount fixed for Samsung Touchwiz Android 4.4 KitKat
sdcardfs brought up from N7100 Android 4.4 KitKat kernel
sdcardfs extended to all Android 4.4 KitKat ROMs
- Better performance and battery
Installation failure on PhilZ recovery fixed
Improved installation speed
Advanced mDNIe control by AndreiLux added
Touch boost code reverted to stock kernel
- Use 800 MHz instead of previous 600 MHz
Ultra KSM with profile configuration added
zRam with ultra-fast LZ4 compression method added
Debugging codes within ext4 file-system source code removed
- Better performance
CVE-2014-0196 security vulnerability fixed
Conditional statement for dynamic camera firmware loading
- Camera fixed for Samsung Touchwiz Android 4.4 KitKat
2.0
Initial release to XDA developers
Known issues
/* Known issues */
Root access might get lost on Samsung Android 4.4 KitKat.
Go flash SuperSU from http://download.chainfire.eu/supersu again.
/* Switch to f2fs */
/* Switch to f2fs */
This step includes a full factory wipe!
Backup your data prior to switch!
You may use arter97 recovery to back-up previous ext4 data to an external storage
and restore it to newly formatted f2fs storage.
Your /system partition(ROM) will stay unwiped at ext4
for no compatibility issues what-so-ever.
You may install any ROM that fits your taste.
1. Install normal ClockworkMod(or PhilZ) recovery
2. Put arter97 recovery on you SD card
3. Enter recovery
4. Flash recovery
5. Reboot recovery
6.1 Select "Mounts and Storage"
6.2. Select "toggle f2fs <-> ext4 migration"
6.3. Select "format /cache"
6.4. Select "f2fs"
6.5. Select "Yes - Format device"
7.1. Select "format /data and /data/media (/sdcard)"
7.2. Select "Yes - Format"
7.3. Select "f2fs"
7.4. Select "Yes - Format device"
8. Reboot
Reserved 4
Reserved 4
Great work man
I am already downloading the note 2 KitKat port and will give this a shot.
Thanks for your support man :good: :good:
Installed on Achi Preview1 4.4.2 TW rom.
Booted fine - none of the 2 apps worked.
Lost root.
Manual installing root and returning here if any problems.
--EDIT--
After manual root install it works.
Just don't have the USB connection when using the apps, and it works fine.
THX for the initial kernel
Not installed im using kk Archi port ??
dev-host.eu said:
Installed on Achi Preview1 4.4.2 TW rom.
Booted fine - none of the 2 apps worked.
Lost root.
Manual installing root and returning here if any problems.
--EDIT--
After manual root install it works.
Just don't have the USB connection when using the apps, and it works fine.
THX for the initial kernel
Click to expand...
Click to collapse
Shoot, it actually happened to me, I thought I'd installed the ROM wrongly, seems like the kernel may be the root cause.
Will try to fix it in 2.0.1... xD
thereassaad said:
Not installed im using kk Archi port ??
View attachment 2741101
Click to expand...
Click to collapse
Root access might get lost on Samsung Android 4.4, try manually re-rooting it.
Sorry for the inconvenience!
Will try to fix it in 2.0.1
arter97 said:
Shoot, it actually happened to me, I thought I'd installed the ROM wrongly, seems like the kernel may be the root cause.
Will try to fix it in 2.0.1... xD
Click to expand...
Click to collapse
No worries - wasn't afraid
dev-host.eu said:
No worries - wasn't afraid
Click to expand...
Click to collapse
Have you been able to gain root access again just by flashing SuperSU from the recovery?
arter97 said:
Root access might get lost on Samsung Android 4.4, try manually re-rooting it.
Sorry for the inconvenience!
Will try to fix it in 2.0.1
Click to expand...
Click to collapse
My rooting its access im not losing root sir
thereassaad said:
My rooting its access im not losing root sir
Click to expand...
Click to collapse
So aTweaks works but aSwitch isn't?
hey ...... any one test it on s3 based rom
arter97 said:
So aTweaks works but aSwitch isn't?
Click to expand...
Click to collapse
Same sir but i guess kernal not installed
thereassaad said:
Same sir but i guess kernal not installed
View attachment 2741143
View attachment 2741144
Click to expand...
Click to collapse
Which recovery have you used?
arter97 said:
Have you been able to gain root access again just by flashing SuperSU from the recovery?
Click to expand...
Click to collapse
Yeah UPDATE-SuperSU-1.94 by Chainfire.
Otherwise no problems when using TWRP 2.7.0.0
aSwitch and aTweaks works in c-rom 6.5
Sent from my GT-I9300 using Tapatalk
@arter97 : great work..
thank you so much..
is there Master sequence for color calibration implemented ?

[Kernel][GPL][K-N][Peregrine][UBER TC]ZER0 Byte Kernel[Nightlys][CM/AOSP]

READ ALL BEFORE ANYTHING!
ATTENTION
Code:
/*
I'm not (yet) a developer , I'm taking effort to put more choices of kernel for our great community.
This kernel is tweaked for best balance possible, if you want a feature quote me and i will see what i can do,
I will build this kernel when possible on my free time and because of it is a nightly and I will use this thread as a worklog too.
Thank you for using this kernel.
*/
Disclaimer
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Adapt, improve and evolve!​
Info:
Guys I created this kernel to Moto G 2013 (Falcon/Peregrine) and Moto G 2014 (Titan/Thea) in other words MSM8226 Motorola SoC baseds to learn, adapt some "unstable and unsafe" things as well to give a new life to my device, the plan is to support all Android versions avaliable for our device, I plan to do a better kernel with time and help of the comunity. This kernel is a nightly I will do it when I have a freetime or LineageOS update their sources or I add new features, it aims to be a rich feature kernel and a "perfection balance" between battery life and performance, this can be a UNSTABLE kernel, my routine will be build,upload and test, so stay tuned! I am open to suggestions. This is a kernel that don't work out-of-the-box the objetive of this kernel is give power to the user.
This kernel DO NOT WORK WITH STOCK MOTOROLA/GOOGLE PLAY EDITION ROM or IDCRISIS or AOSPARADOX.
On post 1:
#1 - Features and installation instructions
#2 - Downloads and kernel Source
#3 - Buglist and to do's
On post 2:
#1 - Changelog
​
Features (By now and latest one):
Based on 3.4.113 LTS Linux kernel and latest LOS/AOSP/CM/Motorola sources
Kexec hardboot patch (MultiROM support)
Governors: Interactive,Ondemand,Performance,Userspace,Conservative,Powersave
Hotplugs: AutoSMP and Alucard Hotplug
Overclocks and Underclocks (Attention this can be dangerous to your device! you have been warned!):
Overclocked CPU (up to 1.6Ghz),Overclocked GPU (up to 600Mhz) Overclocked RAM and Overclocked Slimbus for better audio
Intellithermal v2 to protect our device from heating
Sound: High performance Headset,Low latency playback Support,24 bits Playback Support,Enabled additional Moto G Exclusive Audio Channels TPA-a6165a2
Screen: DT2W and S2W/S2S, KCAL
GPU:Simple GPU Algorithm and AdrenoIdler
Misc: Init.d support, Fsync on/off, ARCH_Power, Gentle Fair Sleepers, Toggle for some wakelocks, Stereo Call Recording Support, Reclaim RAM from loggers, Powersuspend, State Notifier .
For full features list check my github.
Compiled with Arch Linux up-to-date and UBER Toolchain 4.9 and optimize flags[/COLOR]
Bootlogos
PREVIEWS ONLY CHECK DOWNLOADS SECTION FOR LINKS
Created by me and the others two by @Mattwmaster58:
Silver
{
"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"
}
Blue
Red
Downloads
(Folder on AFH) (Please DO NOT MIRROR, if one is down just post in the thread or pm me and i will repair!):
Cyanogenmod/AOSP for Falcon:
CM14.1 (UNIFIED WITH CM13 BY NOW) - CM14.1
CM12.1 - CM12.1
CM11 - NOT YET
Cyanogenmod/AOSP for Peregrine:
CM14.1 (UNIFIED WITH CM13 BY NOW) - CM14.1
CM12.1 - CM12.1
CM11 - NOT YET
Cyanogenmod/AOSP for Titan/Thean (Same defconfig):
CM14.1 (UNIFIED WITH CM13 BY NOW) - CM14.1
CM12.1 - CM12.1
CM11 - NOT YET
NOTE:ALWAYS CHECK LAST PAGES TO SEE WHAT IS GOING ON!!!
LSpeed Profiles (OLD! LSpeed envolved too fast!) - Balance
Bootlogos: ZER0 Byte Bootlogo
Old releases of ZER0 and ZER0 Byte (Reborn) Kernel : AFH
Mirror: Github mirror and how to download
​
How to install
If you're on other kernel please at least DIRTY FLASH you ROM, thanks.
The kernel:
By recovery:
Using TWRP (Please use the latest one)
1. Put the zip at /sdcard > Reboot to recovery > Install > Chose the kernel zip > Confirm to flash > (optional) Wipe caches > Reboot.
or
By app:
2. Flash it using Flashify or similar app from Playstore.
The kernel scripts backup your current boot.img so if you want to restore just use Flashify or TWRP.
The Bootlogo:
Using TWRP (Please use the latest one)
1. Reboot to recovery > Install > Chose the bootlogo zip > Confirm to flash > Reboot and enjoy.
2. Flash it using Flashify or similar app from Playstore.
3. Extract the zip and on mfastboot (or just fastboot) enter this command: fastboot flash logo logo.bin
Recommendations/Tweaking
Gov Tuner a mod to tune govs based on profiles for better battery life, better performance, or a balance., I have added a lot of sound patchs but A.R.I.S.E. will blow your mind! so if you want a better sound on your Moto G I suggest you A.R.I.S.E the best one in my opinion or just Viper+Dolby. And the best of the best tweaks app LSpeed just download and select a profile from main screen and fell it! or tune it by yourself!
To tweak use Kernel Adiutor from Playstore (or XDA Link), the Kernel Adiutor-Mod (fork with more experimental features) at XDA or Synapse You will need this zip and download Synapse app from Playstore.
Info about tweaking kernel The best guide to it!
Better RAM management for FALCON/PEREGRINE/TITAN/THEA thanks to @Pupet_Master
-Download "Kernel Auditor" from the "Play Store" and open it
-Once inside, Swipe from left to right to show the side menu.
-Tap on "Low Memory Killer"
-Change to these custom settings:
Code:
Foreground Applications: 29mb
Visible applications: 61mb
Secondary Server: 157mb
Hidden Applications 227mb
Content Providers: 87mb
Empty Applications 191mb
-Swipe from left to right again and tap at the option "Virtual Memory"
-Change those settings from there:
Code:
dirty_ratio: 20
dirty_background_ratio: 5
dirty_expire_centisecs: 100
dirty_writeback_centisecs: 300
min_free_kbytes: 4096
oom_kill_allocating_task: 1
overcommit_ratio: 100
swappiness: 100
vsf_cache_pressure: 53
laptop_mode: 0
extra_free_kbytes: 24576
Z-RAM Disksize: 470mb
-Swipe from left to right again and tap at the "Profile" section
-Click at the "+" button and save the current settings on a new profile
-Holdon the new profile and choose the option "apply on boot"[/QUOTE]
This kernel does not ships with a default config, so here it is how to config (an example) a profile for battery/balance/performance:
Battery
Code:
On CPU
CPU Gov - Interactive
Max freq. - 1190Mhz or 1094Mhz
Multicore power save - Aggressive
Alucard Hotplug - ON
On GPU
GPU max freq. - 450Mhz or 320Mhz (if dont play use 320Mhz)
GPU Gov - simple_ondemand or msm_adreno_tz with tweaked adreno idler
On I/O Scheduler
Scheduler - ROW or SIO
-
Balance
Code:
On CPU
CPU Gov - Interactive
Max freq. - 1190Mhz
Multicore power save - Enabled
AutoSMP - ON
On GPU
GPU max freq. - 450Mhz
GPU Gov - msm-adreno-tz
On I/O Scheduler
Scheduler - ROW or ZEN
-
Performance
Code:
On CPU
CPU Gov - Interactive
Max freq. - 1593Mhz
Multicore power save - Disabled
AutoSMP - ON
On GPU
GPU max freq. - 600Mhz
GPU Gov - msm-adreno-tz
On I/O Scheduler
Scheduler - ZEN
Note about some features
Display types WORKING with DT2W/S2S/S2W:
mdss_dsi_mot_inx_720p_video_v0 (TITAN/THEA)
mdss_dsi_mot_cmi_720p_video_v2 (FALCON/PEREGRINE)
Display types NOT WORKING with DT2W/S2S/S2W:
mdss_dsi_mot_jdi_720p_video_v1 (TITAN/THEA)
mdss_dsi_mot_jdi_720p_video_v0 (TITAN/THEA)
mdss_dsi_mot_lgd_720p_video_v0 (FALCON/PEREGRINE)
If you don't have a working DT2W/S2S/S2W or don't like it you can disable it and/or use AcDisplay app or Anbient Display of your ROM instead.
To check which display type you have by going into terminal and type:
su
cat /proc/cmdline
Bugs
None by now, if you encounter one please make a post in this thread with steps to reproduce and if possible a LOGCAT and DMESG. A simple how to help me debug.
To do
Undervolt and Userspace Voltage Controller
OC of 1.8Ghz
More Hotplugs
More Govs
More I/O's (SIOplus,FIFO)
Added all features to all variants
Vibrator Intensity Control
Ram Underclock
Sched & Mutex Tweaks
Stock and GPE variants
WQ_POWER_EFFICIENT
LZO Compression image (Fast boot)
DOLBY_DAP dependency fix
Frandom
Filesystems support:
NTFS Support / EXT 2/3/4 support / F2FS (Most roms only support it at /data)
Optimized ARM RWSEM algorithm
Silence some logs
NEON in kernel mode
Misc Crypt tweaks
LMK tweaks and adaptive
More Security Patchs
Yankactive (Cause reboot at the moment),Yankdemand,Smartmax,Lionhert,Impulse,DanceDance,Bioshock
I/O's: ROW,NOOP,Deadline,CFQ,FIOPS,BFQ,SIO,VR,ZEN
All avaliable TCPs congestions on Android
How to git and build
Setting up and building
Basics of GIT
- How to build my kernel:
Code:
export ARCH=arm
export SUBARCH=arm
export CROSS_COMPILE=/path/to/toolchain/bin/arm-eabi-
make mrproper (cleans config files)
make clean (cleans already builded files)
make falcon_defconfig (or you device_defconfig)
make menuconfig (if you want to tweak the config)
make (I use this too -o2 -j4 CONFIG_DEBUG_SECTION_MISMATCH=y CONFIG_NO_ERROR_ON_MISMATCH=y)
How to cherry pick commits
Basically to cherry pick a commit you have to have it source and branch, this is a simple how to do it
First of all you need to set your upstream since it is a fork of CM/LOS or STOCK source:
Code:
git remote add upstream linkingithub.git
For example
Code:
git remote add upstream https://github.com/CyanogenMod/android_kernel_motorola_msm8226.git
so if you want to cherry pick a commit from me
Code:
git remote add bryanbytez mysourcelink.git
and after that you need to have my source locally but stay calm this wont mess you source
Code:
git fetch -all
To merge upstream changes (From CM/LOS or Motorola)
Code:
git merge upstream/cm-13.0
This will merge upstream cm branch cm-13.0 in your source code.
Misc help:
http://forum.xda-developers.com/showthread.php?t=2319018 (about boot.img, ramdisk and others)
https://stackoverflow.com/questions/2816715/branch-from-a-previous-commit-using-git (Unlike me you can just revert or create another branch based on the commit and not delete the whole source code )
https://stackoverflow.com/questions/4410091/github-import-upstream-branch-into-fork (Import a upstream branch on your fork)
And to revert a git: git revert sha1, example git revert eab5c8fef098548f0f00085196bbf40f41bf8ba1
​
Source/Credits
If you want to post this on your site or other forum it's okay just post a link to this thread too and the correct credits and if you can, pm me with link so i can see it too, thanks.
The GNU General Public License is a free, copyleft license for software and other kinds of works.
The GPL permits use, share, study and modify.
But this does not mean you should not give the deserved credit to the previous author.
So if you use my source code under GPL you must share with GPL too and quote me in the credits.
CM/LOS/AOSP Based Source
Stock/GPE Based Source
Thanks to:
GOD
The Real Dev's:
Motorola/Lenovo
LineageOS/CyanogenMod/AOSP/CAF Teams
A special thank you to @Kamin4ri to be answering questions from a noob
@hurtsky @pinkflozd @zakee94 @TeamMex (not a team ) @RenderBroken @alin.p @Flashhhh @Shivam Kuchhal @RolanDroid @attack11 @DC07 @frap129 @-decipher- @bedalus @MetalPhoenix45 @srisurya95 @para94 @chijure @Aayushya @neonkat and @faux123 for inspiration and commits (i guess that everyone that i pick a single commit is here... since i don't know yet to pick commits (picking commits automatically add the credits) a big thanks to all !)
@kwoktopus, for the tutorial how to build
And you the user!
If I forget someone please contact me and I will add here! [/FONT]​
XDA:DevDB Information
[Kernel][GPL][K-N][Peregrine][UBER TC]ZER0 Byte Kernel[Nightlys][CM/AOSP], Kernel for the Moto G
Contributors
BryanByteZ
Source Code: https://github.com/BryanByteZero/android_kernel_motorola_msm8226
Kernel Special Features: OC/UC/DT2W/S2W/S2S/Sound Patchs and a lot more, check it!
Version Information
Status: Nightly
Current Stable Version: R3
Stable Release Date: 2017-02-22
Current Beta Version: R4
Beta Release Date: 2017-04-29
Created 2016-11-20
Last Updated 2017-05-01
Changelogs for CM/LOS/AOSP K/L/M/N
Changelogs for CM/AOSP K/L/M/N:
For Falcon and Peregrine
19/11/2016
No more MPDecision and CM PowerHAL
DT2W and S2W/S2S
Optimization Flags
Overclock and Underclock
Alucard Hotplug
AutoSMP Hotplug
Faux Sound 3.5
KCAL v2
High performance and low latency audio headset
KEXEC Hardboot patch
04/02/2017
Up-to-date with LOS source and Linux (now it's 3.4.113 the LTS version)
Intelliplug, AutoSMP and Alucard Hotplugs
Intellithermal
MSM-Limiter (you will need KernelAdiutor-MOD to use this feature)
Toggles for some wakelocks
ARCH_power
Gentle fair sleepers
Stereo call recording support
Reclaim RAM from loggers
Dynamic management of dirty page writebacks, expire and cache pressure
Some GPU patchs
SIO,VR,ZEN and Tripndroid I/O's
Powersuspend, LCD notify and state notifier
Dynamic FSYNC
CPU, GPU and RAM overclock
Simple GPU algorithm and AdrenoIdler
Enhanced audio with Faux Sound and low latency drivers and high performance mode
KCAL
KEXEC Hardboot patch
DT2W/S2S/S2W
Make optimizations
Powered by UBER STOCK Toolchain 4
22/04/2017
LATEST SOURCES
CPU OC/UC
GPU OC/UC
CPU boost
KCAL
faux Sound
High perf headset mode
OC RAM and slimbus
Intellithermal
Simple GPU Algorithm and AdrenoIdler
State notifier and Powersuspend
Alucard and AutoSMP hotplugs
Stereo call recording
Custom I/O's
Stock GOVS
KEXEC Hardboot patch
wakelock blocks
Fsync on/off
Power efficient workqueue
29/4/2017
DT2W/S2S/S2W
Bugs:
None by now,if you encounter one please make a post in this thread with steps to reproduce and if possible a LOGCAT and DMESG.
Reserved
Reserved
Waiting for it. Amazing job, good luck and thanks!
Edit: Just downloaded Peregrine CM14.1 kernel, will flash and comment later.
Works good. I though the kernel had the option to change the CPU max freq when screen is off. I'm wrong?
Edit: Going to comment in original thread!
Fedray said:
Waiting for it. Amazing job, good luck and thanks!
Edit: Just downloaded Peregrine CM14.1 kernel, will flash and comment later.
Works good. I though the kernel had the option to change the CPU max freq when screen is off. I'm wrong?
Edit: Going to comment in original thread!
Click to expand...
Click to collapse
I will look indo it.
Please the ones who test it report back with battery life, performance and stability.
using the kernel now on cm14.1, amazingly fast.:good:
still with no tweaks and battery optimization to check the battery life.
hopefully get better battery life than stock kernel.
thanks for the kernel @BryanByteZ.
fairly well as mostly on 4g.
Guys I will bring back MSM Limiter (per core cpu max min freq and gov) and independent headphone gain but will be necessary use Kernel Adiutor Mod (at least for using this features).
Guys a new version will come soon as I end my tests and we now will have full support of kernel adiutor in download tabs soon as grarak push a new version. And I considered a stock variant too. So big surprises await
Any updates ? Is the GPU overclocked?
Sent from my XT1040 using XDA-Developers Legacy app
Joel Oliveira said:
Any updates ? Is the GPU overclocked?
Click to expand...
Click to collapse
Not yet buddy, I don't have a PC anymore. Burned motherboard.
The cell phone gets very hot, the processor frequency drops to 1094mhz and 998mhz, and it gets very slow. Can you disable SoC's Temperature Control?
Joel Oliveira said:
The cell phone gets very hot, the processor frequency drops to 1094mhz and 998mhz, and it gets very slow. Can you disable SoC's Temperature Control?
Click to expand...
Click to collapse
No, i dont have a PC at the moment. Try to use coolify app.
So I am running latest RR and tried the stock kernel, kamari and this one. I had better battery on stock and kamari but this kernel is much smoother and faster. The OC on the CPU makes a huge difference. Looking forward to more development on this kernel! But I don't seem to be able to OC GPU?
baxtex said:
So I am running latest RR and tried the stock kernel, kamari and this one. I had better battery on stock and kamari but this kernel is much smoother and faster. The OC on the CPU makes a huge difference. Looking forward to more development on this kernel! But I don't seem to be able to OC GPU?
Click to expand...
Click to collapse
Not yet, and i got no PC at the momment.
News ?
Sent from my XT1040 using XDA-Developers Legacy app
Joel Oliveira said:
News ?
Click to expand...
Click to collapse
Not yet.
Joel Oliveira said:
News ?
Sent from my XT1040 using XDA-Developers Legacy app
Click to expand...
Click to collapse
People I got a new motherboard and I'm setting my system maybe today or tomorrow a update will come at least for M and N.
Guys new version uploaded in CM14.1 section, this is unified for M(6.X) and N(7.X) up-to-date with LOS source and Linux LTS Kernel, what's new?
Up-to-date with LOS source and Linux (now it's 3.4.113 the LTS version)
Intelliplug, AutoSMP and Alucard Hotplugs
Intellithermal
MSM-Limiter (you will need KernelAdiutor-MOD to use this feature)
Toggles for some wakelocks
ARCH_power
Gentle fair sleepers
Stereo call recording support
Reclaim RAM from loggers
Dynamic management of dirty page writebacks, expire and cache pressure
Some GPU patchs
SIO,VR,ZEN and Tripndroid I/O's
Powersuspend, LCD notify and state notifier
Dynamic FSYNC
CPU, GPU and RAM overclock
Simple GPU algorithm and AdrenoIdler
Enhanced audio with Faux Sound and low latency drivers and high performance mode
KCAL
KEXEC Hardboot patch
DT2W/S2S/S2W
Make optimizations
Powered by UBER STOCK Toolchain 4
I will not add to mirrors now because my net is slow at the momment
and I didn't tested yet need to fix my phone first.
Falcon
https://www.androidfilehost.com/?fid=457095661767134902
3e73c91dce4ebcc0e05d6bb97c3455b0
Peregrine
https://www.androidfilehost.com/?fid=745425885120705602
05ebd67eb237883436e7fb28ec6d8a14

[KERNEL] [Nougat][Oreo] [3.10.108] [GCC 6.4] IceColdKernel v0.7

{
"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"
}
Introduction
Hello everyone, this is my personal kernel for kenzo. My philosophy on kernels is pretty simple:
Follow upstream Linux always
Security and stability are paramount
Features will be added only as needed
Hopefully you enjoy
Thread Rules
I refuse to acknowledge/respond to bug reports that do not include clear steps to reproduce, a logcat, and a console ramoops (if random rebooting) or a dmesg (any other issues). Follow this guide to do this. More on bug reporting policy here.
Keep things civil, I do NOT tolerate flaming of any kind.
UV Support ( Already UV'd with the best stable values)
Updated to the latest security patch (August)
Updated to the latest Linux upstream version (3.10.107)
Several CVE fixes
Upstream patches from CAF and Linux
Touchboost force disabled
KCAL color control
Wake gestures (sweep2wake, doubletap2wake, sweep2sleep)
Franco Sound Control and Flar2 Sound Control
ZRAM support
I/O schedulers (maple, noop, deadline, row, cfq, bfq, test-iosched, sioplus, zen, fiops)
TCP Cong support (westwood, reno, bic, cubic, htcp, vegas, yeah, illinois, lp, scalable, veno, hybla, highspeed, )
Wakelock controls
F2FS support
exFAT and NTFS support
Compiled with a Linaro 6.4 TC
Makefile optimizations (courtesy of @adinkwok)
AnyKernel2(thanks to @osm0sis)
More...
Nougat/Oreo : Download Folder
Installation
Nougat/Oreo ROM:
If you are on the kernel that came with your ROM: flash the kernel zip and reboot
If you are on a custom kernel: dirty flash your ROM zip, flash the kernel zip, and reboot
Upgrading from one version to the other:
Remove saved values at boot, flash the kernel zip and reboot
Kernel: https://github.com/dragonGR/IceColdKernel/commits/o8.1
[OLD-SOURCE]Kernel: https://github.com/DragonGR/android_kernel_xiaomi_msm8956/commits/purge/n7.1
AnyKernel2: https://github.com/DragonGR/AnyKernel2/commits/master
Frequently asked questions
1.1 Q: I am having an issue, can you help me?
1.1 A: I am not an amazing kernel developer but I will certainly try my best. First, start by reading the release posts, as I may make note of a particular issue. Also search the thread to see if I have discussed it before. If you see nothing, please provide me with a dmesg/last_kmsg and logcat, your ROM/kernel version, and a detailed description of the issue, following this guide. If I can't reproduce reliably though, I'm not going to fix the issue.
1.2 Q: Can you add xyz feature?
1.2 A: If you link me the commits or tell me what kernel you had the feature in, I can take a look at them. I will not go digging super hard for commits and I will ignore requests that don't include this information. I won't promise that I will merge every request but I will always take it into consideration.
1.3 Q: How do I control the kernel?
1.3 A: I'd recommend using either @flar2's EX Kernel Manager or @Yoinx's Kernel Adiutor-Mod; both are extremely solid and have given me no issues.
1.4 Q: What ROM are you on? What are your settings?
1.4 A: Currently, I am on AICP and my settings are available here here
1.5 Q: OMFG MY BATTERY SUXXXX PLS FIX!!!
1.5 A: The kernel doesn't drain any battery, use an app like BetterBatteryStats to figure out what app is screwing with your phone.
1.6 Q: Does it boot in BlackscreenOS ?
1.6 A: I don't know. You can try.
1.8 Q: Can you add Quick Charge support ?
1.8 A: No.
1.9 Q: Bro, i have kate variant, can i use it ?
1.9 A: Of course.
2.0 Q: QC support ?
2.0 A: Don't be ridiculous.
2.2 Q: How about GCC 7 support ?
2.2 A: Currently, GCC 7 cannot be booted on kenzo.
2.3 Q: Why it shows me random max frequencies?
2.3 A: If you're using LOS Based rom is an expected behaviour, don't worry, it won't ruin your performance, is same as before.
2.4 Q: Slow charge bro please fix!
2.4 A: Bro pl0x upd8te fermware.
2.5 Q: Core 6 is offline bro!
2.5 A: Really? wew, enable it and make it default at boot.
2.6 Q: Where i can find you sur?
2.6 A: Either on Telegram(My XDA Username) or G+ sur.
Thanks to:
@osm0sis for AnyKernel2.
@Asphyxiate666 for making me to open this thread.
@nathanchance for allowing me to kang his thread template.
@SitiSchu for the thread banner!
All of you guys for viewing the thread!
XDA:DevDB Information
IceColdKernel, Kernel for the Xiaomi Redmi Note 3
Contributors
GreekDragon
Source Code: https://github.com/dragonGR/IceColdKernel
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 2018-01-30
Created 2017-07-28
Last Updated 2018-01-30
-- This is not a full changelog, for full changelog please refer to my kernel source --
Switched to Flar2's sound control
Various picks. Nothing new.
-- Old changelogs --
-- V0.6 --
Updated to v3.10.108
Security Updates
Patched memory leaks
Added support for Oreo
Removed init.ick.rc script at boot
Various ALSA commits from upstream
Various sound commits
Fix Headset detection missed changes
Addresed a security issue in mac80211
Compiled using up-to-date GCC Linaro 6.4
Maybe i forgot something...
-- V0.5 --
Merge remote-tracking branch 'caf/LA.BR.1.3.6_rb1.21'
Staging: prima: Update to caf/LA.BR.1.3.6_rb1.21
All latest stuff from LineageOS msm8956 kernel
Fixed kenzo specific flags, could boost performance
Queue work in some stuff for saving cpu circles
Reduce the rate of needless idle load balancing
Fixed some memory leaks
zRAM fixed
msm_thermal update
Mute logspam
SDHCI update
Add clock-frequency property to CPU nodes
Run all RCU threads at RT prio 2
Various Upstream commits
Enable more TCP Congestion
Fixed Mouse pointer issue
Added Flar2 sound control support
Max compression streams 4 in zRAM
Enhance power efficiency
Reduced power usage to improve power efficiency
micro-optimizations in lib
Enable idle power collapse
Fix mic boost
Introduce earpiece boost
Allow external wired earphone mic to be boosted
Completely removed mobicore driver
-- V0.4 --
Updated to August Security Patch
Added support for Kate
Various sound commits
-- V0.3 --
Fixed Random reboot
Picked upstream fixes/changes
[TEMP] Removed adreno_idler
Disabled Useless I/O schedulers ( ROW, test-iosched )
Increase a bit the uv values for stability
Improved GPU
Optimization flags to GPU Drivers
Make Westwood the default TCP Congestion algorithm
Support TCP Cong ( check OP for currently TCP congs support)
Reduced CPU Load
Add Slimbus OC
Fix memory leaks and deadlocks
Picked cpuidle commits for better deepsleep
Boost fp at unlock
Various interactive improvements
Silence huge logspam
Do not log selinux permissive denials
Add frandom support
USB Wireless support
Blocked wakelocks
Updated init.ick.rc (check ak2)
More...
-- V0.2 --
Built with GCC 6.4 Linaro TC
Support FIOPS I/O Scheduler
Run all RCU threads at RT prio 2
Convert some workqueues to use kthreads
Kenzo specific flags, could boost performance
Switch to cpubw for better wakeup
Proper pass the SafetyNet CTS check with an unlocked bootloader
Updated UV Values and adjusted voltages to avoid Random Reboots
Fixed some memory leaks
zRAM Default compressor is now lz4
uid_sys_stats support
Mute logspam
adreno_idler support
Disable dm-verity
power efficient wq in fbcon, block
Various Upstream commits
No sound prop in init.ick.rc(AK2)
-- V0.1 --
Initial Release
Reserved.
sum moar kenzo kernul pls sur dev
Always happy to see more upstream kernels cropping up around the place
Thanks for this awesome kernel It is a nice thing to see a good developer works on a kernel for redmi note 3. I didnt want to use elementalx cuz of lack of upstream and now you came up with this. And the reason why i dont wanna use other kernels is they have so many patches that dont have a impact on performance in my opinion.
Ty :good:
wew, despacito it's here
Very good kernel :fingers-crossed:
6.4 de
Wow. Great to see you here Aex (oops missed l)
It's amazing
thanks for your work
I got around 2000 ma for charging so that's great and it's faster somehow on Aex rom
don't stop supporting it
Wow. Another kernel for Kenzo. Thank you so much dev. Gonna try this definitely. ?
Wow, nice work, new kernel [emoji7]
Enviado desde mi Redmi Note 3 mediante Tapatalk
Ow nice lets try this on Aosip and rr rom hehe
Thank you so much for this new kernel. Downloading it.
Wew Sur :cyclops:
Hoping for 69 min quick charge and 69hr sot :angel:
*when you want to use AICP but the update frequencies rekt your mobile data*
This is the best solution! Thanks for the new kernel..
Dims_Camper said:
*when you want to use AICP but the update frequencies rekt your mobile data*
This is the best solution! Thanks for the new kernel..
Click to expand...
Click to collapse
Which rom are you using?
Yay, another kernel! Might try this and switch from EX kernel... Keep it up dev/bro!
Support IR? @GeekDragon
Im using RR, but Dominator dont support IR, so i replace the kernel with ElementalX,
Just to use MI Remote,
otherwise i always prefer Stock kernel that Comes with the ROM.
sarveshrulz said:
Which rom are you using?
Click to expand...
Click to collapse
Currently RR
Support for spectrum?

[KERNEL][J7 Prime/ON NXT][8.0+] Oxygen Kernel v6.0.138

{
"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"
}
Introduction
Oxygen Kernel is based on stock Samsung source code taken from Samsung Opensource Release Center with sole aim to provide better performance, stablity and battery backup than stock kernel. A kernel tells the hardware in your Android device how to behave, kind of like your mommy tells you how to behave. You can modify how fast your processor runs by over or under clocking it or optimize your system for battery life.
Oxygen Kernel is always up-to-date with latest patches from kernel.org
Known for maximum stability and smooth performance
All the Source Code is available on github
Kernel Info
LINUX: 3.18.138
SAFETYNET: Green
SELINUX: Permissive
TOOLCHAIN: Google's GCC 4.9
Compatible ROMS
All AOSP 8.1 and 9 ROMs
All OneUI Pie based ROMs
All Touchwiz 8.0 and 8.1 ROMs
Features
Here are the major features of the kernel (feel free to explore Github)
Up to date with the latest stable Linux version
Full -Ofast build with graphite optimisations
Removed a lot of useless debug and logging options
Disabled TIMA, KNOX, DM-VERITY,etc
Awesome battery life and smooth performance
ARM enhanced performance patches
Overclock CPU up-to 1.7GHz and GPU up-to 1146MHz
GPU Voltage Control
CPU Governors: conservative, interactive, ondemand, performance, powersave, userspace (default: interactive)
I/O Schedulers: bfq, cfq, deadline, maple, noop (default: maple)
Powersuspend and State Notifier drivers
Dynamic FSync, FS fsync toggle on/off
Frandom driver for 10-50x faster random number generation
Spectrum Support (a simple, profile based kernel manager || now integrated into Oxygen Control)
Disabled CRCs by default for 30% performance boost
CDROM emulation on mass_storage (compatible with DriveDroid)
Wireguard support
Boeffla Wakelock Blocker
Oxygen Control App Features
Full CPU and GPU Control
Boeffla Wakelock Blocker
Spectrum Support
Samsung Hotplug
CRC Control
And many more!
These features are only available through Oxygen Control App
Download Oxygen Control from Github Releases
Warning: If you come from some other custom kernel or have any issues, you should dirty flash your ROM before flashing Oxygen Kernel to avoid problems.
Reflash ROM -> Flash Oxygen Kernel --> Flash Magisk if you want to root
If you are upgrading between Oxygen Kernel versions, just flash the kernel zip. Also uninstall or clean data of any kernel control app you're using.
Going back to stock: You can backup your boot.img with TWRP before flashing Oxygen Kernel and restore the backup whenever you want to revert.
1] This kernel removes forced encryption, if you face "encryption process failed" error upon reboot then you need to format /data. This is generally needed if you are installing this kernel on stock tw rom.
2] In OneUI Pie ROMs you may get a warning at boot saying "There's an internal problem with your device". You can safely ignore this warning and causes no harm. It's due to some mismatching KNOX/mobicore stuff. I'll fix it soon.
Downloads
Kernel
Download
Oxygen Control
Download
Telegram Group
Join Oxygen Kernel Community group on Telegram here
Join Oxygen Kernel Channel on Telegram here
If you like my work donations are always welcome
Google Pay UPI ID: [email protected]
Paypal: https://paypal.me/SiddhantNaik
Don't forget to hit the thanks button, it's free.
Credits
Samsung Open Source Center for the Source code
@Oves786 and @SolarX_dev for numerous help and support
@osm0sis for AnyKernel2
@jesec for Fingerprint Fix
@morogoku for MTweaks
Everyone others from whom i have picked commits (credited on Github)
All those who test my builds before release
XDA:DevDB Information
Oxygen Kernel for J7 Prime, Kernel for the Samsung Galaxy J7
Contributors
DarkLord1731
Source Code: https://github.com/DarkLord1731/on7xelte
Kernel Special Features:
Version Information
Status: No Longer Updated
Current Stable Version: 6.0.138
Stable Release Date: 2019-04-26
Created 2017-10-14
Last Updated 2019-08-11
Changelogs:
Oxygen Kernel v6.0.138
Updated to Linux 3.18.138
Added support for OneUI Pie based ROMs
Disabled useless FIVE trustonic driver
Updated xpad drivers to support more controllers/joysticks
Heavily updated cpufreq driver for faster and better performance
Decreased time taken to enter sleep/idle mode
Some bluetooth tty driver updates
Disabled Gentre Fair Sleepers for better system responsiveness (You can enable it back using OC)
Enabled some TCP algorithms
Tuneup westwood and set it as default TCP protocol
Updated conservative governor
Optimised some other drivers like shed, cpuidle, devfreq, rcu, etc.
Disabled add_random and IO stats for better IO performance
Oxygen Kernel v5.1.131
Linux 3.18.131
Fixed kernel not booting on some TW oreo ROMs
Updated to latest kernel source
Updated the kernel to better support AOSP ROMs
Switched to Google's GCC 4.9 toolchain
Removed a lot of useless debug and logging options
Disabled TIMA, KNOX, DM-VERITY,etc
Check github source for more changes
I can't list all of the changes because i've rebased the source code completely. But believe me, this is a major update.
Older Changelogs
Oxygen Kernel v5.1.125
Linux 3.18.125
Oxygen Kernel v5.1
Added support for TW oreo ROMs
Enabled back Input Booster for a better responsive user experience
Oxygen Kernel v5.0
Updated to latest kernel source
Removed some useless CPU governors (Only the best ones are kept)
Removed unwanted IO Schedulers (Only the best ones are kept)
Linux 3.18.124
Enabled SDcardfs (Now O2 shall work fine on latest AOSP ROMs)
Switched to Linaro 7.3.1 Toolchain
Lots and lots of other optimizations and tweaks
AGAIN... I can't list all of the changes because i've rebased the source code completely. But believe me, this is a major update.:fingers-crossed:
Oxygen Kernel v4.0
Linux 3.18.109
Reduced screen on delay to 5 sec (AOSP)
Backported random driver from linux 4.2
Added Frandom
Added cpuquite driver
Added TCP congestion control
Updated statenotifier driver
Updates to cpufreq drivers
Updates to LZ4 compression
Added quickwakeup driver
Optimised many arm64 specific stuff
Optimisations to crypto drivers
Updates to memory handling
Updates to cfq ioscheduler
Hell lot of changes for performance and overall system stability
Check github source for more changes
Oxygen Kernel v3.0
Linux 3.18.106
Removed zzmove governor
Added wireguard VPN support(Google for more details)
Fixed Big Cluster tunables getting lost when turned off
Updated some cpufreq governing policy
Disabled broken Boeffla Wakelock Blocker(AOSP only)
V 3.0
Complete rebase of source code
Updated to G610FDDU1BRA4 kernel sources
Linux 3.18.105
Disabled some bad governors
Various other patches from some well-known kernel
Hell lots of others changes (check source code)
I can't list all of the changes because i've rebased the source code completely. But believe me, this is a major update.:fingers-crossed:
Reserved
Nice work
Thank a lot.. ??
Nice work
Spectrum app isn't working for me.. Anyone else?
great job thank sir[emoji7]
تم الإرسال من SM-N935L باستخدام Tapatalk
gp545 said:
Spectrum app isn't working for me.. Anyone else?
Click to expand...
Click to collapse
V1.1 updated
Changelogs
-Fixed Spectrum
-Fixed Aroma Advanced Settings failing to set
-Enabled front flash on G610M & other supported variants
Delete this moderators.. Posted by mistake
chichareal said:
Nice work
Click to expand...
Click to collapse
gp545 said:
Thank a lot.. ??
Click to expand...
Click to collapse
bilal6785 said:
Nice work
Click to expand...
Click to collapse
al.iraq said:
great job thank sir[emoji7]
تم الإرسال من SM-N935L باستخدام Tapatalk
Click to expand...
Click to collapse
Thanks Guyz:laugh:
Thanks for the awesome work, my friend!
One question: how to enable the real frontal flash for G610M? Here I keep getting just that white screen (virtual flash).
Kernel is working fine, but frontal flash isn't.
help
After flash kernel bootloop at logo samsung
Great work.
Which is the best CPU governor for balanced use?
artssa said:
Thanks for the awesome work, my friend!
One question: how to enable the real frontal flash for G610M? Here I keep getting just that white screen (virtual flash).
Kernel is working fine, but frontal flash isn't.
Click to expand...
Click to collapse
If you're on stock rom then it should turn on the real flash. If on custom rom then kindly ask the dev to add support in rom
John's Pantau said:
After flash kernel bootloop at logo samsung
Click to expand...
Click to collapse
Try formating /data after flashing kernel
Loved your kernel :good:
Only bug I'm facing : Camera effects are not working (both front and back).
Thank you.
Camera effects working for Me, maybe dirty flash?
ashwini215 said:
Loved your kernel :good:
Only bug I'm facing : Camera effects are not working (both front and back).
Thank you.
Click to expand...
Click to collapse
Does it work if u flash back stock kernel? Actually the kennel would not affect camera filters. Maybe check your rom for the act.
can i use this in 6.0?
sorry for stupid quesion . just asking. ty

[KERNEL][CLANG] MiPa Kernel [polaris][CLOSED]

{
"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"
}
Introducton
Code:
/*
* Your Warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
In this kernel, I strive for balance battery / performance, as well as it contains the latest patches for Linux and CAF.
Kernel i make for AOSP Q with Q blobs. How each version on MIUI Q works, i don't know and me it not interesting (if you want use this kernel, you always can flash and test, pls don't report what something don't work on MIUI).
Features:
Base on last sdm845 Q CAF tag
Merge Google Common 4.9-q
Upstream last linux version
Compiled with Proton Clang and Full LTO, LLD links, Shadow Call Stack (SCS) and RELR enabled.
Enable support for NTFS r/w, sdFAT filesystem, F2FS and Implement rapid GC
Kcal Advances Color Control
Enable TTL target
Sound Control by flar2
Add Wireguard Driver
Enable support Sony Dualshock PS3/PS4 and Xbox Controller
Disable unused drivers
Scheduler/schedutile improved (WALT)
SchedTune Assist and CPUSet Assist
Enable select TCP algorithm, westwood by default
Network Signal Guru app compatible.
Simple LMK
Optimize for Android Q
Many tweaks/optimize for battery/performance
AnyKernel3 flashable zip by osm0sis
Installation:
Flash in TWRP recovery, then re-flash Magisk.
If another custom kernel (or my old version, up to 4.2 inclusive) is already installed, then you need to flash stock boot.img first, then magisk and my kernel.
Tuning apps:
FK Kernel Manager
EX Kernel Manager
Downloads:
SourceForge (new build 9.5+)
AndroidFileHost (old build)
My Telegram Group:
https://t.me/joinchat/DNw0ZFHSLa3ObU3noUhSwQ
If you like my work, you can buy me Сoffee
​
Credits:
Bruno Martins (bgcngm)
Nathan Chancellor (nathanchance)
Francisco Franco (franciscofranco)
Danny Lin (kdrag0n)
Park Ju Hyung (arter97)
All of developers contributions which i picked from.
XDA:DevDB Information
MiPa, Kernel for the Xiaomi Mi Mix 2S
Contributors
palaych
Source Code: https://github.com/palaych/mipa_kernel_xiaomi_sdm845/tree/mipa-q-rebase
Version Information
Status: Stable
Changelog:
V5.5:
Merge Linux version 4.9.174
Revert some caf patches (kernel/fair)
Devfreq: upstream caf patch
Update code boost drivers by sultanxda
Other improves/fix
Click to expand...
Click to collapse
V5.4:
Merge Linux version 4.9.173
Removed useless patches
Add COMPAT_VDSO
Other improves/fix
V5.3:
Merge Linux version 4.9.171
Merge CAF tag 'LA.UM.7.3.r1-07400-sdm845.0'
Merge some CAF / Google patches
Merge some LineageOS repo commits
techpack: audio: checkout dipper-p-oos
Update code drivers by sultanxda
Add KLAPSE
Many other improves/fix
V5.2:
Removed a lot of useless and harmful patches
Crypto upstream bump
dipper: fix gps
Update cpu boost driver by sultanxda
Some other fix/changes
V5.1:
Merge Linux version 4.9.166
Merge many CAF patch
Upstream Google Common 4.9
Compile with Clang 9.0.2
Fix deepsleep with 898000.qcom,qup_uart wakelock
Add API to mark IRQs and kthreads as performance critical
V5.0:
Full re-write kernel tree, cleaner tree, removed many patch (useless and unnecessary), many other changes (patch's)
Merge Linux version 4.9.164
Compile with Clang 9.0.1
Updated Boost Drivers by sultanxda
V4.9:
Fix last merge caf/als
Updated fs/f2fs (support F2FS_FS_VERITY)
Compile with Clang 8.0.9
V4.8:
Merge Linux version 4.9.161
Merge CAF tag 'LA.UM.7.3.r1-06900-sdm845.0'
V4.7:
Upstream Linux version 4.9.160
Update and clean cpu_input_boost / devfreq_boost drivers
Revert some tweaks
Some optimize in defconfig
Other tweaks/fix/etc..too lazy to write.
V4.6:
Merge Linux version 4.9.155
Merge some last LOS commits
Revert: 'Dynamic SchedTune Boost v3'
Update cpu_input_boost driver
Some merge fix in wlan driver
Update camera drivers (cleaned patch)
Other tweaks/fix/etc..too lazy to write.
V4.5:
Upstream Linux version 4.9.154
Merge last LOS commits
Add some tweaks/fix/etc..too lazy to write.
V4.4:
Merge tag 'LA.UM.7.3.r1-06700-sdm845.0'
Merge Linux version 4.9.152
tweaks tcp_westwood
Add Dynamic SchedTune Boost v3
merge some last los commits
revert gpu 180mhz
revert some sched tweaks
other changes/tweaks
V4.3:
Merge Linux Version 4.9.151
Compile with Clang 8.0.7 and GNU GCC 8.2.1, add optimize for sdm845
GPU UC 180Mhz (test)
Enable LZ4 compression
Some update dts to dipper-p-oos
Fix Kcal
DTS: Adjust Energy Model to be inline with Pixel 3 (test)
Tweak's sched
Other changes
Updated drivers camera (maybe full fix portret mode in miui camera)
Full re-write boot scripts
V4.2:
fix freeze (don`t work) potrait mode in miui camera
some change/tweaks
disabled some debug in defconfig
block kernel wakelock 898000.qcom,qup_uart by default
add sound control by flar2
V4.1:
Update Linux version 4.9.148
drivers camera: checkout dipper-p-oos (fix OIS)
Enable support xbox controller
Some changes in anykernel2 script
V4.0:
Rebase on pie source (based on Bruno Martins commits)
Merge CAF tag 'LA.UM.7.3.r1-06600-sdm845.o'
Upstream Linux version 4.9.147
Compiled with Clang 8.0.6
Optimize defconfig
Add Boeffla Wakelock Blocker
Enable support for NTFS r/w
Enable support for sdFAT filesystem
Backlight Minimum Brightness Control
Kcal Advances Color Control
Enable ttl target
Vibration Control
Add Maple I/O Scheduler
Add Wireguard Driver
Enable support Sony Dualshock PS3/PS4
Boost Drivers by sultanxda
Fix Source Code
Some tweaks for battery/performance
Work only on Android Pie
V3.7:
upstream linux version 4.9.141
update techpack/asoc/elliptic driver (use xiaomi pie source, fix proximity sensor on polaris pie)
revert some commits
revert updated hid_sony
tweaks tcp_westwood
add lshrti3 library function
V3.6:
upstream linux version 4.9.140
removed boost drivers by sultanxda and some others tweaks
enable support sony controller (usb)
compile with Linaro 7.3.1
V3.5:
compiled with GNU GCC 8.2
merge commits binder
merge commits sdcardfs
merge linux version 4.9.137
merged tag "LA.UM.6.3.r4-05800-sdm845.0"
boost drivers by sultanxda
merge los commits fs: sdfat
V3.4.2:
compiled with GNU GCC 8.2.1
add cortex-a75/a55 flags
some fix source code
merge latest los commits
V3.3.1:
update camera drivers
V3.3:
add i/o schedulers maple (by default)
Kcal Advances Color Control (experimental features)
Vibration Control (experimental features)
Backlight Minimum Brightness Control (experimental features)
schedutil tweaks
fix brightness led notification (polaris)
maybe something else...
V3.2:
re-base linux-stable tree
Merge CAF tag 'LA.UM.6.3.r4-05300-sdm845.o'
Linux version 4.9.135
optimize defconfig
use last google toolchain 4.9
add boeffla wakelock blocker
ttl target
ntfs r/w support
exfat support
something fix/tweaks and etc...
V3.1:
not public realised, first realised for mi8
V3.0:
los-source based
Google TC 4.9
TTL target
update Linux version 4.9.131
merge caf tag LA.UM.6.3.r4-05300-sdm845.o
ntfs r/w support
wireguard driver
v.2.0:
completely rewritten tree kernel
a lot of changes regarding previous versions
I hope to fully fix random reboots, dt2w
v.1.4:
closed version
v.1.3:
update linux 4.9.125
disable lmk and use lmkd
v.1.2:
compile with clang 7.0 + gcc 8.2
update wireguard driver
v.1.1.1:
some fix cpu-boost and fsync (maybe fix xiaomi.eu)
v.1.1:
update linux version: 4.9.124
add devfreq-boost driver by sultanxda
reconfigured cpu-boost
some optimize/tweaks source
optimize defconfig
add exfat support
revert zram tweaks
maybe something else
v.1.0:
first public version
Source code v1.0-1.4: https://github.com/palaych/mipa_polaris
Reserved
Thanks for your work!
What roms can we use it with?
GREAT
Flatric said:
Thanks for your work!
What roms can we use it with?
Click to expand...
Click to collapse
Miui 9/10 global/chine and etc.
on 8.8.3 xiaomi.eu had problems with random reboots. on other (miui 10 global, miuipro ) such problem is not present
Unfortunately I'm using Android P global beta, thanks a lot for your work.
Bryandu13 said:
Unfortunately I'm using Android P global beta, thanks a lot for your work.
Click to expand...
Click to collapse
it remains only to wait when xiaomi will lay out source code for pie,i think only with the release of stable version
I'm on xiaomi.eu 8.8.3, as expected, a couple minutes after installing the kernel, phone rebooted by itself. I have disabled fsync since then and it's been working for a couple of hours now without reboots. I will update tomorrow if it reboots through the night.
ArctiX said:
I'm on xiaomi.eu 8.8.3, as expected, a couple minutes after installing the kernel, phone rebooted by itself. I have disabled fsync since then and it's been working for a couple of hours now without reboots. I will update tomorrow if it reboots through the night.
Click to expand...
Click to collapse
fsync?? interesting... write then how will it be with disabled
palaych said:
fsync?? interesting... write then how will it be with disabled
Click to expand...
Click to collapse
isn´t fsync supposed to be always on? I remember disablling it on my nexus 5 always caused random reboots.
Can I ask if it works on XE model with MIUI 10 global when Magisk installed?
I recall if I did so with stock kernel (BL unlocked), I ended up with bootloop.
I can have a try as it doesn't take me too much time but I would say if any one could give me an answer that would be appreciated.
palaych said:
fsync?? interesting... write then how will it be with disabled
Click to expand...
Click to collapse
It didn't reboot through the whole night. I will try turning fsync back on to check if it will start crashing again.
EDIT: After turning fsync on the phone rebooted itself after ~5 minutes, I then turned fsync back off and it's been 3 hours without a reboot.
Saiger said:
isn´t fsync supposed to be always on? I remember disablling it on my nexus 5 always caused random reboots.
Click to expand...
Click to collapse
Fsync prevents from data loss on system crash as far as I know.
ArctiX said:
EDIT: After turning fsync on the phone rebooted itself after ~5 minutes, I then turned fsync back off and it's been 3 hours without a reboot.
Click to expand...
Click to collapse
Ok, tnx for help. I do not know why yet. Still test and then add to the first post this info.
Maybe they are logs turned off / on. Because I disabled many debug logs at kernel level.
It have feature quick charge 3000+ mAh? *Like custom kernel Radon kernel by Umang*
Sent from my Mi Mix 2S using XDA Labs
NOS_bzone said:
It have feature quick charge 3000+ mAh? *Like custom kernel Radon kernel by Umang*
Click to expand...
Click to collapse
fast charge (qc3.0) implemented by xiaomi, replace with another driver or remove restrictions, i will not.
Thanks for your work, I tried a little but after some hours try to changing governors with elemental x I had reboots and system isn't stable, so I revert to stock kernel trough dirty flash, I'm on miui Pro 8.8.2.
it seems that mipa can work on dotos,thanks for your work.
EraserKing said:
Can I ask if it works on XE model with MIUI 10 global when Magisk installed?
I recall if I did so with stock kernel (BL unlocked), I ended up with bootloop.
I can have a try as it doesn't take me too much time but I would say if any one could give me an answer that would be appreciated.
Click to expand...
Click to collapse
Confirmed working.
If on stock kernel with SuperSU, just flash everything back to stock, then this kernel and then Magisk. Everything works.
@palaych
Thanks for this great kernel running on xiaomi.eu 8.8.3 :good: - for me it seems reboots occure due to zRAM...system was laggy and stuttered while scrolling. Deactivated zRAM via EXKM (fsync switched back on) and it seems to run smooth w/o reboots until now.

Categories

Resources