[KERNEL][G96xx][OREO][2019-02-16] ** TGPKERNEL **[v1.4.2][4.9.158][BRL3] - Samsung Galaxy S9 & S9+ Cross Device Development

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The kernel uses an AROMA installer to help guide you through the installation.
You will be given the options to install MTweaks, Busybox, and also a choice of Magisk.
WIREGUARD INFO: XDA THREAD
VARIANTS SUPPORTED
G960F
G960FD
G960N
G965F
G965FD
G965N
KERNEL INFORMATION
Built with: Google GCC 4.9 Toolchain
Kernel Base: G965FXXS2BRL3
Ramdisk Base: G965FXXU2BRL2
AROMA INSTALLER OPTIONS
Install Magisk
Install ADB
Install Busybox
Install WireGuard
Ihstall Custom Splash Screen
Set Kernel to SELinux Enforcing
FEATURES
SELinux Permissive / Enforcing option in AROMA
WireGuard Support
Enabled hidden CPU Frequency Governors
Enabled hidden IO Schedulers
Disabled Exynos Kernel Protection
Disabled KNOX
Disabled Root Restriction
Disabled TIMA
Disabled Use Signed Binary
Enable Dex with any HDMI adapter
Enabled CIFS Filesystem
Enabled IP_NF_TARGET_TTL and IP6_NF_TARGET_TTL
Enabled ISO9660/UDF Filesystem
Enabled NFS Filesystem
Enabled NTFS Support
Enabled init.d support
Enabled Google Play Services Wakelock Fix
Set Knox / Safetynet / Samsung flag
RMM Fix
FIOPS, SIO, ZEN, BFQ, and MAPLE IO Schedulers
Boeffla Wakelock Blocker
Fsync on/off
wake_gestures: sweep2wake, doubletap2wake, sweep2sleep
Enabled Private Mode
Enabled GPU Volage Controls
Enabled CPU Overclocking
Fixed USB Mass Storage
Added RGB Colour Control
Custom TGPKernel Splash Screen
DOWNLOAD
DOWNLOAD VIA ANDROIDFILEHOST for Oreo 8.0
DOWNLOAD VIA MEGA for Oreo 8.0
TELEGRAM CHAT ROOM
CREDITS + THANKS
Samsung Open Source Release Center for the Source code
@Tkkg1994 for all his help and numerous code samples from his source
@osm0sis for Android Image Kitchen
@morogoku for MTweaks, and lots of help
@Noxxxious and @mwilky for help with the required Oreo firmware files.
Other devs that I have taken commits from which are credited in Github
My team of testers and the TGP Community on Telegram
XDA:DevDB Information
TGPKernel for Samsung Galaxy S9 / S9+, Kernel for the Samsung Galaxy S9
Contributors
djb77
Source Code: https://github.com/TheGalaxyProject
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.4.2
Stable Release Date: 2019-02-16
Created 2018-08-24
Last Updated 2019-02-16

CHANGELOG​
v1.4.2 - 2019-02-16
Updated Linux to 4.9.158
Fixed issues with TIMA (S Health)
v1.4.1 - 2019-02-08
Updated Linux to 4.9.155
Updated Magisk to 18.1 STABLE
v1.4.0 - 2019-01-19
Updated Samsung Kernel source to BRL3
Updated Linux to 4.9.151
v1.3.11 - 2019-01-14
Updated Linux to 4.9.150
Regenerated config files
Updated Magisk to 18.1-1df65940 (18005) CANARY
v1.3.10 - 2018-12-31
Updated Linux to 4.9.168
v1.3.9 - 2018-12-28
Updated Ramdisk and Sepolicy fix to BRL2
v1.3.8 - 2018-12-23
Updated Linux to 4.9.147
Updated Magisk Manager to 6.1.0 (165)
Updated WireGuard
v1.3.7 - 2018-12-18
Updated Linux to 4.9.146
Updated WireGuard
v1.3.6 - 2018-12-14
Updated Linux to 4.9.145
Updated Ramdisk to BRK3
Downgraded Magisk back to 17.3
v1.3.5 - 2018-12-09
Updated Linux to 4.9.144
Updated Ramdisk to BRK2
Updated Magisk to 18.0
Updated WireGuard
v1.3.4 - 2018-12-01
Updated Linux to 4.9.142
Updated MTweaks to 2.12.1
Adjusted Overclocking
v1.3.3 - 2018-11-28
Updated Linux to 4.9.141
v1.3.2 - 2018-11-25
Cleaned up source code
Fixed some installer bugs
v1.3.1 - 2018-11-24
Updated Linux to 4.9.140
Updated Ramdisk to BRJ8
Removed PowerSuspend
v1.3.0 - 2018-11-23
Updated Samsung Kernel Source to BRJ6
Updated Linux to 4.9.139
Updated MTweaks to 2.11.0
Fixed issues with CPU stock at 2002MHz
v1.2.6 - 2018-11-21
Updated Linux to 4.9.138
Added BLU_SCHEDUTIL Governor
Added PowerSuspend
Enabled Dex with any HDMI adapter
v1.2.5 - 2018-11-14
Updated Linux to 4.9.137
Updated Ramdisk to BRJ6
v1.2.4 - 2018-11-11
Updated Linux to 4.9.136
Updated MTweaks to 2.10.0
Updated AIK to 3.4
v1.2.3 - 2018-10-24
Updated Magisk to 17.3 (17302)
Updated Magisk Uninstaller to 20181022
Updated BusyBox to 1.29.3
Updated Anykernel
v1.2.2 - 2018-10-20
Updated Linux to 4.9.135
v1.2.1 - 2018-10-20
Updated Google Toolchain
Ramdisk fixes
v1.2.0 - 2018-10-18
Updated Samsung Kernel to BRJ3
Updated Ramdisk to BRJ3
Updated Linux to 4.9.134
v1.1.4 - 2018-10-10
Clenaed up unwatned commits
Updated Linux to 4.9.132
Updated Wireguard Control App
v1.1.3 - 2018-10-07
Updated Linux to 4.9.131
v1.1.2 - 2018-10-01
Updated Linux to 4.9.130
v1.1.1 - 2018-09-27
Updated Linux to 4.9.129
v1.1.0 - 2018-09-23
Updated Samsung Source to BRH7
Updated Ramdisk to BRI3
Updated Magisk to 17.2
Deodexed ROM Fixes
v1.0.6 - 2018-09-20
Updated Ramdisk to BRI1
Updated Linux to 4.9.128
Properly enabled Wake Gestures
Now optimized for Performance not size
v1.0.5 - 2018-09-16
Updated Ramdisk to BRH7
Updated Linux to 4.9.127
Overclock is now set at Level 2 as default
v1.0.4 - 2018-09-11
Updated Google 4.9 Toolchain
Updated Linux to 4.9.126
Fixed issues with Deodexed ROMs
Enabled RGB Colour Control
Added UKSM Support
Overclock / Underclock AROMA options
v1.0.3 - 2018-09-07
Updated Linux to 4.9.125
v1.0.2 - 2018-09-04
Updated Ramdisk to BRH4
Updated Magisk to 17.1
SELinux Permissive / Enforcing option in AROMA
Fixed Safetynet related stuff
Enabled CIFS Filesystem
Enabled IP_NF_TARGET_TTL and IP6_NF_TARGET_TTL
Enabled ISO9660/UDF Filesystem
Enabled NFS Filesystem
Enabled Private Mode
Enabled GPU / GPU Volage Controls
Fixed USB Mass Storage
v1.0.1 - 2018-08-25
Updated Linux to 4.9.124
Removed CONSERVATIVE, INTERACTIVE, and ONDEMAND CPU Governors
v1.0.0 - 2018-08-24
Initial Relase

Reserved

Great to see another kernel being released! A few things I'd like to note. The S9 source code is not pinned to the GitHub link attached (at least on my S9). **EDIT** Just checked this on my PC, appears to only be visible while on a non-mobile device as the repository is not pinned.
The patch to enable DEX with any HDMI adapter seems to be broken on all other kernels if you are using the same commit on GitHub. **EDIT** Again just checked this on my PC and you have enabled an option in the defconfig that was disabled in APGK. Will test later today in a build if this fixes Dex for me.
Other CPU governors have reportedly caused crashes on the latest base if not immediately then shortly after.
I haven't personally tested your kernel yet but it seems to be the case across the other kernels.
Thanks for your work and congratulations on release!

Thanks for the kernel?

Eamo5 said:
Great to see another kernel being released! A few things I'd like to note. The S9 source code is not pinned to the GitHub link attached (at least on my S9). **EDIT** Just checked this on my PC, appears to only be visible while on a non-mobile device as the repository is not pinned.
The patch to enable DEX with any HDMI adapter seems to be broken on all other kernels if you are using the same commit on GitHub. **EDIT** Again just checked this on my PC and you have enabled an option in the deconfig that was disabled in APGK. Will test later today in a build if this fixes Dex for me.
Other CPU governors have reportedly caused crashes on the latest base if not immediately then shortly after.
I haven't personally tested your kernel yet but it seems to be the case across the other kernels.
Thanks for your work and congratulations on release!
Click to expand...
Click to collapse
I have received reports that Interactive and Conservative CPU Freq controls are broken, I'll look into that for the next release.

I don't know why but I'm not able to boot with this kernel ?

kar5ten said:
I don't know why but I'm not able to boot with this kernel ?
Click to expand...
Click to collapse
The same here if i select anything with SuperSU in Aroma.
And it looks like that Magisk aren't installed.
I installed Magisk after flashing the Kernel manually

thanks for the kernel [emoji41][emoji41][emoji41]
Inviato dal mio SM-G965F utilizzando Tapatalk

MasterofSamsung said:
The same here if i select anything with SuperSU in Aroma.
And it looks like that Magisk aren't installed.
I installed Magisk after flashing the Kernel manually
Click to expand...
Click to collapse
All good here on my S9.
I'm on latest Soldier rom.
Magisk is installed, all runs fine and speedy.
Boots normal.
Thanks for the great kernel with so much things to adjust.

after installation it does not start [emoji848][emoji848][emoji848][emoji848]
Inviato dal mio SM-G965F utilizzando Tapatalk

@cignoo0
hm, that's strange.
have you selected any root method?
if yes, try to flash without any root methods.
then it must be work

cignoo0 said:
after installation it does not start [emoji848][emoji848][emoji848][emoji848]
Inviato dal mio SM-G965F utilizzando Tapatalk
Click to expand...
Click to collapse
Maybe it doesn't work on the 965 version?
I have the 960F version, i can install, with magisk, and it works perfect.

I have 965F mono sim.
I tried to select all the methods in aroma but it does not work anyway.
I currently use flash kernel 1.4
Inviato dal mio SM-G965F utilizzando Tapatalk

I have the duos variant of the s9 plus
i come from the els kernel from @SoLdieR9312

Kernel works great on my G965FD expect the crash and device restart once I choose a different cpu gov. That happens in the other kernels too I hope you find a fix.
Guys who cannot boot after flashing this kernel are apparently using Flash kernel, if so you need to reflash the whole rom "dirty" and then flash the kernel then it will boot normally.

cignoo0 said:
after installation it does not start [emoji848][emoji848][emoji848][emoji848]
Inviato dal mio SM-G965F utilizzando Tapatalk
Click to expand...
Click to collapse
That is because of the flash kernel. It has happened to me that when I used Flash kernel any other one used after that fails to boot. Flash kernel must mess with some files that cause other kernels to fail to boot. Might try flashing the vendor.img then a different kernel. I tend to stay away from Flash kernel because of this.

I've just tried to install other kernels.
same problem.
you're right flashkernel causes something to boot up
Inviato dal mio SM-G965F utilizzando Tapatalk

in the end I solved by formatting.
the problem was flash kernel.
tgpkernel as beautiful as the s7 edge versions
Inviato dal mio SM-G965F utilizzando Tapatalk

Oel said:
All good here on my S9.
I'm on latest Soldier rom.
Magisk is installed, all runs fine and speedy.
Boots normal.
Thanks for the great kernel with so much things to adjust.
Click to expand...
Click to collapse
Same here.

Related

[KERNEL][STABLE][TW][O][8.0][ERH1][31.08.18][SM-G935F/FD] SuperStock-Kernel V3.1.0

SuperStock-Kernel for SM-G935F/FD/K/L/S/W8 models
{
"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"
}
Supports Touchwiz (S7 Version) 6.0.1 from BPH6 and higher
IF YOU FOLLOW MY STEPS BELOW, YOU WILL LOSE YOUR WARRANTY, KNOX WILL DISPLAY 0x1! I'M NOT RESPONSIBLE FOR ANY DAMAGED DEVICE!
If you want to take my work and need it somewhere, or do other things with it, ask me first for the permission. Otherwise you are not allowed to take it! Thank you !
Features of this Kernel:
- Build with latest google toolchain 4.9
- Build with ERH1 kernel source!
- Latest Linux version 3.18.120, is always up to date
- Performance and Batterylife improved
- Choose between different CPU governors: performance, powersave, userspace, ondemand, interactiv (default), conservative
- Built with latest ramdisk sources from samsung (ERG2)
- I/O schedulers: CFQ (Default), No-op, Deadline, BFQ, ROW, fifo, fiops, sio, sioplus, tripndroid, zen, vr
- Fixed power efficient wq permission
- Critical TCP bug fixed
- Zram LZ4 enabled
- Allow ADB-Insecure
- TCP (Network) control: Bic (default), Reno, cubic, Westwood, Highspeed, Hybla, HTCP, Vegas, Veno, Scalable, LP, Yeah and Illinois
- Selinux is set to permissive
- All samsung related configs disabled (as knox, tima, restrict rooting)
Download:
Marshmallow V1.X:
V1.6.5 on AndroidFilehost
Nougat V2.X:
V2.11.0 on AndroidFilehost
Oreo V3.X:
V3.1.0 on AndroidFilehost
Download via GrifoDev
All releases on AndroidFilehost
Bugs/Problems:
- None
Instructions:
1. Download kernel
2. Boot into recovery mode
3. Flash kernel
4. Flash any other file which affects ramdisk (such as supersu, xposed, magisk etc.)
5. Reboot
If you wanna join the beta tester group, download yourself telegram and click on the chat link: Telegram Group
Support:
If you like my work, feel free to hit thanks and/or give me a small donation by clicking the link right below. Thank you very much in any way! :good:
PayPal​
Credits/Thanks:
- Samsung for sources
- the great linus for his amazing kernel source
- arter97
- Jesec for his great fingerprint fix
- dorimanx
- AndreiLux
- halaskz
- neobuddy83
XDA:DevDB Information
SuperStock for hero2lte, Kernel for the Samsung Galaxy S7 Edge
Contributors
Tkkg1994
Source Code: https://github.com/SuperMan-Rom/SuperKernel/tree/TW70-stock
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: V3.1.0
Stable Release Date: 2018-08-31
Created 2016-09-02
Last Updated 2018-09-25
Changelogs
Old Changelogs:
SuperStock V1.3.5:
- Initial release on XDA
SuperStock V1.4:
- Ramdisk update to BPHJ
- Source update to BPHJ (including new HMP opimizations)
- Linux version updated to 3.18.42
SuperStock V1.4.5:
- Ramdisk update to BPIF
- Linux updated to latest 3.18.43
- added following ioscheds: BFQ, ROW, fifo, fiops, sio, sioplus, tripndroid, zen, vr
SuperStock V1.5:
- updated base to BPJ7
- updated ramdisk to BPJ7
- updated linux to 3.18.44
- patched CVE-2016-5195
SuperStock V1.5.5:
- Updated to BPJG latest source drop
- Updated to BPJG ramdisk
SuperStock V1.5.6:
- Samsung seems quite busy on nougat, no big changes in kernel since a while, however here's latest update
- Used lates BPL3 ramdisk (source code is still the same)
- Updated linux to 3.18.45 version
SuperStock V1.6:
- Small update to latest BPL3 source drop (mainly driver changes)
SuperStock V1.6.5:
- Rebased on latest BPLB Kernel source drop
- Updated ramdisk to latest BPLB
- Updated Linux version to 3.18.46
SuperStock V2.0:
- This is ONLY FOR NOUGAT, NOT FOR MM!!
- Based on latest DPLT source drop
- Including all previous features of SuperStock kernel
- Updated f2fs to latest backport available from jaegeuk
- Updated all mcRegistry files
- Updated ramdisk to DPLT
- Changed toolchain to my own cortex a53 optimized 6.3.0 (selfmade)
SuperStock V2.0.1:
- Possibly fixed wifi problem
- Some other small adjustments
SuperStock V2.0.2:
- Updated ramdisk to DQAS
- Updated linux to 3.18.47
- Added K/L/S variants separately (that's why the zip file is so big)
- No more variant choose, 1 file to support them all (exynos variants)
SuperStock V2.1.5:
- Ramdisk update to DQB3
- Source drop update to DQB3
- Linux update to 3.18.48
- mcRegistry updated to DQB3
- Use only F/FD kernels for all models (since K/L/S use F/FD roms too)
SuperStock V2.2.0:
- Based on latest DQB7 source drop release
- Updated to latest DQB7 ramdisk
- Fake knox 0x0 (as in superman-rom 2.2 or superstock-rom 2.5)
- Fixed init.d not working correctly sometimes
SuperStock V2.3.0:
- Updated to latest DQBO source drop
- DQBO ramdisk
- DQBO mcRegistry files
- Updated included kernel scripts
- Moved wakelock script into kernel ramdisk for better compatibility
- Fixed some more safetynet flags
- Added a deep sleep fix so let me know if your phone is consuming more or less battery over night
- Updated to latest GNU selfmade toolchain (since linaro always gave problems like VoLTE..)
SuperStock V2.4.2:
- Based on latest DQCG release
- Updated ramdisk to DQCG release
- DQGC mcRegistry files updated
- Added and reworked scripts to fake knox (should also work with supersu now)
- Added PWM flicker free patch
SuperStock V2.4.3:
- killed PWM flicker free (Reason; contrast is ugly, gear vr is broken, possibly some other unknown issues)
- fake encryption added (this may help for samsung pass to work, you have to test)
- resetprop has been updated
SuperStock V2.5.0:
- Source updgraded to DQD1 (same as DQD2)
- Ramdisk updated to DQD2
- mcRegistry updated to DQD2
- Disabled fake encryption (broke OTG on SuperStock-Kernel)
SuperStock V2.5.2:
- Ramdisk updated to DQD3
- mcRegistry files updated to DQD3
- Linux version updated to 3.18.51
SuperStock V2.6.1:
- Updated to DQEF source code
- Updated ramdisk to DQEF
- Added more flags to resetprop (secret mode in browser should work again, at least it did on the s8)
- Updated to most recent f2fs branch from official google supporter
- Updated Linux to 3.18.56
- Updated mcRegistry to DQEF
SuperStock V2.7.0:
- Based on latest DQFM source code
- Ramdisk updated to latest DQFM
- Updated linux to 3.18.60
- Reverted a patch in one of those linux updates which broke deepsleep in some cases
- Changed code for mcRegistries: they won't get replaced anymore, it just deletes the "bad" file
SuperStock V2.7.2:
- Based on latest DQG1 source code
- Ramdisk updated to latest DQG1
- Updated linux to 3.18.66
- Includes GPU libs, so there is no chance after another kernel this will bootloop!
- Since samsung is not updating their kernels very frequently on the s7, I thought I better push out some small updates
SuperStock V2.8.0:
- DQH8 source drop update
- DQHY ramdisk update
- Linux update to 3.18.70
- Toolchain update to GNU GCC 6.4.0 @djb77
SuperStock-Kernel V2.9.0:
- Finally an awesome update to DQIC with a much higher changelist!
- DQIC ramdisk update
- Linux update to 3.18.72
- Updated AIK to V2.9
SuperStock-Kernel V2.10.0:
- DQJ1 source drop update
- DQJ1 ramdisk update
- Linux update to 3.18.77
- 6.4.1 toolchain update to @djb77
SuperStock-Kernel V2.10.1:
- DQK1 source code shares the same source as DQJ1, that's why it's only a small change
- DQK1 ramdisk update
- Linux update to 3.18.83
- Toolchain updated thanks to @djb77
SuperStock-Kernel V2.10.5:
- DQLF still has the same kernel source code as DQK1
- DQLF ramdisk update
- Linux updated to latest 3.18.91
- Updated toolchain
- F2fs update to latest release
- AIK updated to v3.1
SuperStock-Kernel V2.11.0:
- DRAG source code update
- DRAG ramdisk update
- Linux update to 3.18.94
- Toolchain updated thanks to @djb77
SuperStock-Kernel V3.0.2:
- This kernel can only be used on OREO stock based roms (No ports!)
- Updated kernel source to most recent ERG2 code (rebuild from scratch)
- Updated ramdisk to ERG2
- Changed toolchain to google 4.9 for better compatibility
- Updated AIK to 3.3
- Updated f2fs to most recent available
- Updated linux to 3.18.118
SuperStock-Kernel V3.1.0:
- Source code based on ERH1
- Updated linux to 3.18.120
- Fixed samsungs mismatch in kernel compilation
Reserved
hi @Tkkg1994
Thank you for great kernel plz next release add support N7 rom
jojobans said:
hi @Tkkg1994
Thank you for great kernel plz next release add support N7 rom
Click to expand...
Click to collapse
Why? I can build you a full note 7 kernel with adaption to work on s7. This kernel = not adding support for n7, rom makers doing this (for example gayos)
Tkkg1994 said:
Why? I can build you a full note 7 kernel with adaption to work on s7. This kernel = not adding support for n7, rom makers doing this (for example gayos)
Click to expand...
Click to collapse
because i liked rom and your kernel DEV
Tkkg1994 said:
- Zram LZ4 enabled
Click to expand...
Click to collapse
hello, if you don't mind, how can we disable Zram. ( we have plenty of ram and I would to save some cpu and battery )
thanks in advance
Richard_10 said:
hello, if you don't mind, how can we disable Zram. ( we have plenty of ram and I would to save some cpu and battery )
thanks in advance
Click to expand...
Click to collapse
Zram is enabled by default on all kernels (including stock) lz4 just changes default compression mode.
And I don't see any negative points of using zram
Sent from my SuperMan powered SM-G930F
Tkkg1994 said:
Zram is enabled by default on all kernels (including stock) lz4 just changes default compression mode.
And I don't see any negative points of using zram
Sent from my SuperMan powered SM-G930F
Click to expand...
Click to collapse
alright. thanks for the info
Nice kernel battery and performance very good. Thanks.
I use kernel very good and performance hard work. Tanks.
Work with encrypted phone? Thanks!
efx7n said:
I use kernel very good and performance hard work. Tanks.
Click to expand...
Click to collapse
Perfect
sergiumihalache said:
Work with encrypted phone? Thanks!
Click to expand...
Click to collapse
Not tested that. In worst case just restore boot.img backup
Sent from my SuperMan powered SM-G930F
I only have 3 cpu governors
Verstuurd vanaf mijn SM-G935F met Tapatalk
How chose cpu governor???
Enviado desde mi SM-G935F mediante Tapatalk
hello
change log from SuperStock V1.3 to SuperStock V1.3.5 ?
betto_tm said:
How chose cpu governor???
Enviado desde mi SM-G935F mediante Tapatalk
Click to expand...
Click to collapse
Use an app like kernel adiutor
Verstuurd vanaf mijn SM-G935F met Tapatalk
sealava said:
hello
change log from SuperStock V1.3 to SuperStock V1.3.5 ?
Click to expand...
Click to collapse
Only linux update.
Hakem said:
I only have 3 cpu governors
Verstuurd vanaf mijn SM-G935F met Tapatalk
Click to expand...
Click to collapse
Will enable the others in next update
Sent from my SuperMan powered SM-G930F
F/C on facebook app
re-installed and wiped cache and dalvik
still FC
micnerd1 said:
F/C on facebook app
re-installed and wiped cache and dalvik
still FC
Click to expand...
Click to collapse
Revert back to older Fb app. New version cause this problem
Sent from my SuperMan powered SM-G930F

[KERNEL][AOSP][SM-G935F/FD/W8/S/L/K] Fire Opal Kernel 3.1.0 [Nougat]

/* This project is currently in hiatus at least until the new device and kernel trees are available and sufficiently stable. Thanks for your patience and your support. */
{
"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"
}
Welcome to the official thread for the Fire Opal Kernel project for the Galaxy S7 edge (SM-G935F/FD/W8/S/L/K) running AOSP-based ROMs.
The aim of this project is to provide a good alternative option to the limited stock AOSP kernel.​
Thanks and Credits
> Samsung for their kernel source
> @jesec and @Fevax, 8890dev project developers and hero devices maintaners, for the device tree
> @Tkkg1994 for his clear and vast source code and scripts
> @lyapota for a few ideas
> @flar2, @UpInTheAir, @franciscofranco, @osm0sis and others for their great contributions to the community and Android
Note: the feature list refers to version 2.4.2. The new beta 3.1.0 is closer to stock, but with the new device trees things will change
Features
* based on latest 8890dev kernel sources
* updated with latest Samsung kernel base (DQCG)
* custom built ramdisk based on N2G47E with Resurrection Remix tweaks
* built with Linaro Toolchain 6.3.1 (aarch64-linux-android-6.3)
* updated with Linux patches up to the latest 3.18.48
* init.d support and init tweaks
* added a few CPU governors (elementalx, hyper, alucard, barry_allen, bioshock, bluactive, conservative_x, darkness, despair, electrodemand, impulse, intellicative, intellidemand, intellimm, interactive_pro, interactive_x, ironactive, lionheart, nightmare, ondemand_x, ondemandplus, pegasusq, smartass2, smartmax, smartmax_eps, yankactive and zzmoove) and enabled all the stock ones.
default: interactive
* added a few I/O schedulers (bfq, cfq, fifo, fiops, row, sio, sioplus, tripndroid, vr, zen)
default: cfq
* added a few TCP congestion algorythms (bic, cubic, westwood, htcp, hybla, vegas, scalable, lp, veno, yeah, illinois, dctcp, lia, olia, wvegas, balia)
default: westwood
* full f2fs support, ported from official OnePlus 3/3T kernel source
* fixed some misbehaving drivers
* complete implementation of Synapse, to have everything at your fingertip
* overclock and underclock support for both CPU and GPU
* full voltage control (CPU, GPU, BUS and so on...)
* notification LED fading control
* numerous performance and stability tweaks (defconfig, fstab and Makefile)
* SELinux set to Permissive by default (can be changed by the user if he wants to)
* enable extra compression algorithm and cryptography
* sqlite3, busybox and other binaries are integrated!
* Knox 0x0 and SafetyNet spoofed to pass
* ondemand and conservative governors updated for big.LITTLE architecture
* improved default voltage/thermal management
* enabled Swap (510MB, lz4, 4 compression streams)
* and more...
Notes
So good everything is working now :laugh:
In the near future I'll have fun improving Synapse (as soon as I have free time).
Download:
hero2lte > Android File Host
Support:
If you want to receive support, find and share settings, report bugs and try Beta versions, join our Telegram group:
Fire Opal Kernel | Official Group
XDA:DevDB Information
Fire Opal Kernel, Kernel for the Samsung Galaxy S7 Edge
Contributors
kylothow
Source Code: http://github.com/kylothow/android_kernel_samsung_universal8890
Kernel Special Features: Synapse support, stable f2fs porting, full voltage control, various governors, schedulers, tweaks and patches are just some of the awesome features.
Version Information
Status: Stable
Current Stable Version: 2.4.2
Current Beta Version: 3.1.0
Created 2017-02-26
Last Updated 2017-07-26
Changelogs
While searching the Internet you might also find versions which aren't listed here: these are Beta versions and their changelog isn't available (but included in the one of the next stable version, so you don't miss anything).
All the changes I made are listed on GitHub.
Version 2.4.2
Code:
- update sdcardfs
- updated build scripts and recovery scripts
- changed toolchain to a better version (Linaro Android gcc 6.3.1)
- widely improved ramdisk scripts
- updated ramdisk to latest version from RR with 7.1.2 support
Changelogs for previous versions:
Version 2.4.0
Code:
- updated with latest Linux patches
- various fixes (including thermal management and network communication)
Version 2.3.0
Code:
I'm constantly working to provide a better kernel. This implies a lot of research, testing and stressing my eyes staring at code. I'm adding a lot of small fixes.
So, try to understand me if I don't always have time to report a changelog.
As always, you can check GitHub for a detailed changelog.
Version 2.2.1
Code:
Sorry if I didn't write down a changelog for the last releases, I've been quite busy.
Anyway: since version 2.1.6b there are a LOT of changes, performance, battery, stability... Just check it out (and check GitHub for a full changelog).
Version 2.1.6b
Code:
- updated busybox and sqlite3 binaries with more convenient versions
- changed optimizations, enabled safety features and possibly fixed f2fs cryptography
- getting ready for the Synapse restyling
- build the kernel uncompressed
The latter fix solves most lagging issues and noticeably improve performance over compressed version; I'll look into the kernel size issue soon!
Version 2.1.5
Code:
- ramdisk rebased over RR's one
- kernel size reduced
Version 2.1.4
Code:
- updated interactive governor with Samsung optimized version
- implemented the AMOLED flicker free patch
- updated ramdisk for both herolte and hero2lte to the one from latest LineageOS builds
- updated ramdisk to be compatible with SlimROM (untested)
- removed a few redundant tweaks
- fireactive it's on its way to debut, but still disabled because incomplete, sorry :(
Version 2.1.2
Code:
- init: added a few tweaks
- ramdisk: changes in sepolicy
- ramdisk: try to fool safetynet and fix wakelocks
- updated to DQBO kernel source
- fstab: reworked mount options
- fs: add exfat support
- fs: implement optimised and stable f2fs (from oneplus/QC8996_N)
- enabled Swap (I had the idea while looking into the OP3 sources)
Version 2.1.0
Code:
Many beta versions came before this one, and all of them had their list of fixes... I'll try to summarize:
- some configs were tweaked
- enabled init.d support
- Synapse support
- implemented elementalx
- various fixes
- faked Knox 0x0 and try to hide from SafetyNet
- switched back to cfq as default scheduler
- probably other stuff I can't remember now... I need to sleep ahahah
Version 1.2.4
Code:
- temporarily reverted to Linux 3.18.14 (and so fixed the video playback issue)
- updated mount options to reduce I/O overhead
- tweaked the kernel configuration to have better performance
- enabled additional compression algorithms and cryptography utilities
Version 1.2.3
Code:
- updated zen sched driver to version 1.1
- SELinux is now set to Permissive by default
Version 1.2.2
Code:
- now using zen as default I/O scheduler
- changed the default frequency range for the CPU
- updated to Linux 3.18.17 (still working to bring the latest patches)
- switched to a custom Makefile optimised for our architecture
Version 1.2.0
Code:
- overclock and underclock support for both CPU and GPU
- voltage control (see notes in the OP [B][**][/B])
- moved to Uber Toolchain 7.x (aarch64-linux-android-7.x)
- improved recovery installation script
Version 1.1.0
Code:
- First public release
[TUTORIAL] How to set up your phone with f2fs
1) First you have to install a compatible recovery. Recent TWRP releases can format and mount f2fs, but they don't handle a few installation scripts correcty. I recommend TWRP 3.0.2-4 by @lyapota which has the correct patches. You can find it here.
2) Then you have to backup all your data (internal storage will be wiped too, so make sure to copy ALL your files in the INTERNAL storage). So, any TWRP backup should be taken on external SD card.
3) After this, reboot into TWRP. From Wipe / Advanced Wipe check only /data, then select Change Filesystem and check f2fs. Do the same for /cache. At the moment I don't think there are ROMs that support f2fs on /system too (LineageOS, for example, forces ext4 and formats despite settings).
4) Reboot into recovery once again, so we're sure that it can mount everything.
5) At this point you're done. Flash your ROM of choice, this kernel, any GApps and whatever you want.
Reboot and profit!
ROMs supporting f2fs formatted /system will be listed here when available.
Awesome. Will this make oasp run better as there based on proper drivers etc? Can this improve the camera? Sorry for questions I have really messed with aosp on s7e yet
Reuben_skelz92 said:
Awesome. Will this make oasp run better as there based on proper drivers etc? Can this improve the camera? Sorry for questions I have really messed with aosp on s7e yet
Click to expand...
Click to collapse
The idea is to have more customizations, features and overall a better user experience than the kernel the maintainers of our device provide. The changes I made are listed under features.
Sent from my SM-G935F using Tapatalk
Dosent work with slimrom
Thanks man. Runs fine on RR and it feels smoother right away.
rafik25 said:
Dosent work with slimrom
Click to expand...
Click to collapse
I'll have to look into the sources to see if they did specific changes to the kernel.
Sent from my SM-G935F using Tapatalk
Thx bro. Ur kernel works with RR i'ill install
Running very well on lineage thanks for the great kernel
Sent from my SM-G935W8 using XDA-Developers Legacy app
Am I right in saying kernels are the main things that help battery life
Sent from my SM-G930F using Tapatalk
Do I just Flash the .zip in TWRP to install kernel?
jacobw15 said:
Am I right in saying kernels are the main things that help battery life
Sent from my SM-G930F using Tapatalk
Click to expand...
Click to collapse
They have an important impact for sure.
Sent from my SM-G935F using Tapatalk
dylanneve1 said:
Do I just Flash the .zip in TWRP to install kernel?
Click to expand...
Click to collapse
Yes. It's a simple .zip that just flashes the kernel (not rooting or anything, but maybe in a future I can upgrade to an aroma installer).
Sent from my SM-G935F using Tapatalk
I just posted in another thread regarding use of your kernel
https://forum.xda-developers.com/s7...extended-rom-v3-1-t3559696/page4#post71203867
I had hoped that using your kernel would allow for full functionality of Magisk -- unfortunately it did not
I really think that since Magisk works well with Stock ROMs it has to do with repacking of the boot img
Hopefully you would be willing to touch base with @topjohnwu to work on obtaining full Magisk compatibility with AOSP Galaxy S7 Edge ROMs
Thanks for you work
wow! thanks so much was hoping for a custom kernel for AOSP! i hope you will consider adding undervolting and synapse support. Thanks for your efforts!
kylothow said:
They have an important impact for sure.
Sent from my SM-G935F using Tapatalk
Click to expand...
Click to collapse
Okay thanks also can this be used on g930f
Sent from my SM-G930F using Tapatalk
jacobw15 said:
Okay thanks also can this be used on g930f
Sent from my SM-G930F using Tapatalk
Click to expand...
Click to collapse
Yes there is a link for both S7 and S7 edge.
EDIT: there is a separate thread for the S7 (flat) here
Sage said:
wow! thanks so much was hoping for a custom kernel for AOSP! i hope you will consider adding undervolting and synapse support. Thanks for your efforts!
Click to expand...
Click to collapse
The next in my to-do list are underclock and overclock, followed by voltage control.
I flashed it right now on RR . and im impressed as its smooth af. Im not too sure about battery life , but i fully admit its improvement on performence . good job dev . keep it going

[KERNEL][TW & AOSP] PRIME-Kernel v2.1.2

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
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.

[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