FORUMS
Remove All Ads from XDA

[KERNEL][G93xx][TW7.0][2017-05-27] ** TGPKERNEL **[v4.72][XXU1DQE7-3.18.55]

2,672 posts
Thanks Meter: 4,324
 
Post Reply Email Thread
TGPKernel


The main purpose of this Kernel is to have a stock-like Kernel that runs on G930F (S7) variants, but capable of running the G935F (S7 Edge) Firmware and S8 Ports.

List of Supported ROMS

MARSHMALLOW RELEASE
  • S7 Stock ROMs - G930F / G930FD / G930W8 / G935F / G935FD / G935W8
  • S7 Hybrid ROMs (G930F/G935F) - The Galaxy Project (TGP), SuperMan-ROM, Nougat Ambasadii etc.

NOUGAT RELEASE
  • S7 Stock ROMs - G930F / G930FD / G930W8 / G935F / G935FD / G935W8
  • S7 Hybrid ROMs (G930F/G935F) - The Galaxy Project (TGP), SuperMan-ROM, Nougat Ambasadii etc.
  • S8 Ported ROMs - Renovate S8, KHONGLOI etc.

You can use Kernel Adiutor to change your Governors and Schedulers.

For an alternative, you can also use MTweaks made by @morogoku.
This app is more custom designed for the S7 and is definitely worth looking at.
It can be used to enable the PWM Flicker-Free Fix on and off in the PWMFix version of the kernel.

VARIANTS SUPPORTED
  • G930F
  • G930FD
  • G930W8
  • G935F
  • G935FD
  • G935W8

KERNEL INFORMATION
  • Built with: UBER 6.3.1 Toolchain, optimized for aarch64-cortex_a53-linux-gnueabi (My custom build v1.03.20170526) - LINK
  • Kernel Base: G935FDXXU1BPLB (S7 Marshmallow Release)
  • Kernel Base: G935FDXXU1DQE7 (S7 Nougat + Renovate S8 Release)
  • Ramdisk Base: G935FXXU1DQE7 (S7 Nougat Release)
  • Ramdisk Base: G935FXXU1DQE7 / G955FXXU1AQDD (S8 Port Release)
  • Linux Version: 3.18.55

FEATURES
  • Activated powersave Governor
  • Activated joystick_xpad Support
  • Added CPU Governors
  • Added Fake Knox 0x0 (@lyapota)
  • Added Frandom Support
  • Added HID Gadget Keyboard / Mouse Patch
  • Added IO Schedulers
  • Added Insecure ADB
  • Added regmap_bulk_read fix (@arter97)
  • Added SELinux forced enforcing/permissive
  • Added UKSM
  • Disabled DM_VERITY
  • Disabled Forced File Encryption
  • Disabled KNOX
  • Disabled TIMA
  • Disabled RKP
  • Disabled KAP
  • Disabled RPMB
  • Disabled Secure Storage
  • Enabled 4 Cores can reach highest CPU frequency
  • Enabled CIFS Filesystem Support
  • Enabled F2FS Support
  • Enabled ISO9660 Filesystem Support
  • Enabled JOLIET Filesystem Support
  • Enabled Lockup Detector
  • Enabled NFS Filesystem Support
  • Enabled NTFS Support
  • Enabled RW for /system
  • Enabled UDF Filesystem Support
  • Enabled ZISOFS Filesystem Support
  • SELinux fix (Restrict access to /sys/fs/selinux/enforce)

list of included CPU Governors
alucard, barry_allen, bioshock, blu_active, conservative_x, darkness, despair, electrodemand, hyper, impulse, intellicative, intellidemand, intellimm,
interactive_pro, interactive_x, ironactive, lionheart, nightmare, ondemand_x, ondemandplus, pegasusq, smartass2, smartmax, smartmax_eps, yankactive, zzmoove

list of included IO Schedulers
bfq, fifo, fiops, row, sio, sioplus, tripndroid, vr, zen


TGPKernel Lite
This is a minial version of this kernel, with no extra governors, IO Schedulers, and no F2FS.

TGPKernel S8 Port
This is a version specifically deisnged for S8 Ports on S7.

TGPKernel PWMFix
This is a version with the PWM Flicker-Free Fix built in, as been requested by several users.
It will be enabled by default, but can be toggled on and off via MTweaks.

DOWNLOADS
DOWNLOAD VIA ANDROIDFILEHOST for Marshmallow
DOWNLOAD VIA ANDROIDFILEHOST for Nougat
DOWNLOAD VIA ANDROIDFILEHOST for Nougat w/ PWM Flicker-Free Fix
DOWNLOAD VIA ANDROIDFILEHOST for S8 Port


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
  • @jesec for Fingerprint Fix
  • @arter97 for various fixes
  • @lyapota] for some Governors and Schedulers, and Fake KNOX 0x0 patch
  • Other devs that I have taken commits from which are credited in Github

XDA:DevDB Information
TGPKernel , Kernel for the Samsung Galaxy S7

Contributors
djb77
Source Code: https://github.com/TheGalaxyProject

Kernel Special Features:

Version Information
Status: Stable
Current Stable Version: v4.72
Stable Release Date: 2017-05-27

Created 2016-09-16
Last Updated 2017-05-26
The Following 33 Users Say Thank You to djb77 For This Useful Post: [ View ] Gift djb77 Ad-Free
 
 
16th September 2016, 01:58 PM |#2  
djb77's Avatar
OP Recognized Contributor
Flag NSW
Thanks Meter: 4,324
 
Donate to Me
More
CHANGELOG


v4.72 - 2017-05-27
  • Updated Toolchain (UBER 6.3.1 v1.03.20170526)
  • Updated Linux to 3.18.55
  • Updated Samsung Kernel Source to G930FXXU1DQE7
  • Updated Samsung Ramdisk to G935FXXU1DQE7

v4.71 - 2017-05-17
  • New updated Toolchain used to build the Kernel, UBER 6.3.1 (My custom build v1.01.20170516)
  • Updated Linux to 3.18.53
  • Updated Samsung Ramdisk to G935FXXU1DQD9 (S8 Port)
  • Added new version with PWM Flicker-Free

v4.70 - 2017-05-08
  • Updated Android Image Kitchen to 2.7
  • Updated Toolchain to build Kernel (Built 2017-05-08)
  • Updated Samsung Kernel Source to G930FXXU1DQD7 (waste of time lol)
  • Updated Samsung Ramdisk to G935FXXU1DQD9
  • Updated Linux to 3.18.52

v4.63 - 2017-04-29
  • Re-applied Linux patches 3.18.47 - 3.18.50
  • Re-appliced Samsung DPLT, DQB7, and DQD1 Kernels

v4.62 - 2017-04-27 (NOT RELEASED)

v4.61 - 2017-04-26
  • Updated Linux to 3.18.50

v4.60 - 2017-04-23 (Renovate S8)
  • Updated Samsung Ramdisk (S8 Portion) to G955FXXU1AQDD
  • Added Bixby patch to Ramdisk (@kylothow)

v4.60 - 2017-04-21
  • Updated Samsung Kernel Source to G930FXXU1DQD1
  • Updated Samsung Ramdisk to G935FXXU1DQD2


v4.54 - 2017-04-15
  • Implemented Zen-Tune (info here)
  • Fixes on the Flashable Zip installers

v4.53 - 2017-03-31
  • Removed AMOLED PWM flicker-free fix, causing issues with Gear VR

v4.52 - 2017-03-29
  • Updated Samsung Kernel Source to G930FXXU1DQCG

v4.51 - 2017-03-28
  • Updated Ramdisk to G935FXXU1DQCG
  • Added HID gadget Keyboard / Mouse Patch
  • Fixed some governors (smartass2 / yankactive)
  • Some minor patches

v4.50 - 2017-03-24
  • Updated Samsung Kernel Source to G930FXXU1DQC5
  • Updated Samsung Ramdisk to G930FXXU1DQC5
  • Properly re-added AMOLED PWM flicker-free fix

v4.42 - 2017-03-17
  • Rebased kernel from scratch (new Git)
  • Removed AMOLED PWM flicker-free fix

v4.41 - 2017-03-15
  • Updated AMOLED PWM flicker-free fix
  • Fixed issues with TGPKernel Lite

v4.40 - 2017-03-09
  • Updated Samsung Kernel Source to G930FXXU1DQBO
  • Added more props to help with Safetynet (@mwilky)
  • Set Android version in the source code (@lyapota)
  • Updated Zen IO Scheduler
  • Ramdisk mods reworked
  • Flashable zip reworked and updated

v4.33 - 2017-03-03
  • SELinux fix (Restrict access to /sys/fs/selinux/enforce)
  • Fixed some compiler warnings
  • TGPKernel Lite: Cleaned up Ramdisk of unwanted files

v4.32 - 2017-03-02
  • Updated Ramdisk to G935FXXU1DQBO
  • TGPKernel Lite: Fixed SELinux to Enforcing to support Safetynet check with Magisk

v4.31 - 2017-02-20
  • Reverted back to previous Toolchain (there were errors with Linaro 6.3.1)
  • Added AMOLED PWM flicker-free fix

v4.30 - 2017-02-18
  • Updated Samsung Kernel Source to G930FXXU1DQB7

v4.21 - 2017-02-17
  • Updated Ramdisk to G935FXXU1DQB7
  • Properly fixed 4 core patch
  • Added UKSM 0.1.2.3
  • Added Fake KNOX 0x0 Patch

v4.20 - 2017-02-10
  • Updated Samsung Kernel Source to G930FXXU1DQB3
  • Updated Ramdisk to G935FXXU1DQB3
  • Updated Linux source to 3.18.48

v4.11 - 2017-02-06
  • Updated Ramdisk to G935FXXU1DQAZ

v4.10 - 2017-02-03
  • Updated Samsung Kernel Source to G930FXXU1DQAS

v4.05 - 2017-02-02
  • Fixed 4 core patch

v4.04 - 2017-02-01
  • Updated Ramdisk to G935FXXU1DQAS
  • Allow 4 cores to reach highest frequency

v4.03 - 2017-01-23
  • Fixed Bluetooth issues
  • More fixes on Wavelock

v4.02 - 2017-01-22
  • Removed broken init.d
  • Fixed Wavelock

v4.01 - 2017-01-21
  • Changed Toolchain
  • Enabled F2FS Support
  • DVFS resetter (fixes CPU core from getting stuck)
  • Updated Flashale Zip by adding modified PersonalPageService APK

v4.00 - 2017-01-20
  • Rebuilt kernel from scratch
  • Updated Samsung Kernel Source to G930FXXU1DPLT (Official Nougat 7.0)
  • Updated Ramdisk to G935FXXU1DPLT (Official Nougat 7.0)
  • Updated Linux source to 3.18.47


MARSHMALLOW CHANGELOG

v3.82 - 2017-05-27
  • Updated Toolchain (UBER 6.3.1 v1.03.20170526)
  • Updated Linux to 3.18.55

v3.81 - 2017-05-17
  • New updated Toolchain used to build the Kernel, UBER 6.3.1 (My custom build v1.01.20170516)
  • Updated Linux to 3.18.53

v3.80 - 2017-05-08
  • Updated Android Image Kitchen to 2.7
  • Updated Toolchain to build Kernel (Built 2017-05-08)
  • Updated Linux to 3.18.52

v3.72 - 2017-04-29
  • Re-applied Linux patches 3.18.47 - 3.18.50


v3.71 - 2017-04-26
  • Updated Linux to 3.18.50
  • Added new version of PWM Flicker-Free Fix

v3.70 - 2017-03-31
  • Updated Linux source to 3.18.48
  • Added UKSM 0.1.2.3
  • Removed AMOLED PWM flicker-free fix, causing issues with Gear VR
  • Allow 4 cores to reach highest frequency
  • Added HID gadget Keyboard / Mouse Patch
  • Fixed some governors (smartass2 / yankactive)

v3.52 - 2017-01-12
  • Update F2FS to latest backport (3.18.y branch)

v3.51 - 2016-12-30
  • Fixed some minor config issues

v3.50 - 2016-12-28
  • Rebuilt from scratch
  • Updated Samsung Kernel Source to G930FXXU1BPLB
  • Updated Linux source to 3.18.46

v3.42 - 2016-12-24
  • Updated Ramdisk to G935FXXU1BPLB

v3.41 - 2016-12-17
  • Added recommended kernel patch (from Android/Google)

v3.40 - 2016-12-16
  • Updated Samsung Kernel Source to G930FXXU1BPL3

v3.32 - 2016-12-09
  • Updated Ramdisk to G935FXXU1BPL3

v3.31 - 2016-12-01
  • Updated Ramdisk to G935FXXU1BPKA

v3.30 - 2016-11-30
  • Updated Linux source to 3.18.45

v3.21 - 2016-11-18
  • Fixed Ramdisk issue

v3.20 - 2016-11-14
  • Updated Samsung Kernel Source to G930FXXU1BPJG

v3.11 - 2016-11-11
  • Fixed bug with missing CPU Governors

v3.10 - 2016-11-11
  • Updated Samsung Kernel Source to G935FXXU1BPJE
  • Updated Ramdisk to G935FXXU1BPJG

v3.02 - 2016-11-05
  • Reverted Insecure ADB Patch
  • Enabled TCP Algorithms

v3.01 - 2016-11-02
  • Properly fixed Insecure ADB

v3.00 - 2016-10-27
  • Updated Samsung Kernel Source to G930FDXXU1BPJ7

v2.60 - 2016-10-25
  • Updated Linux source to 3.18.44
  • Fixed up defconfig files

v2.50 - 2016-10-21
  • Updated Ramdisk to G935FXXU1BPJ7

v2.41 - 2016-10-14
  • Added SELinux forced enforcing/permissive

v2.40 - 2016-10-12
  • Updated Linux source to 3.18.43

v2.30 - 2016-10-06
  • Disabled CIFS/NFS/ISO9660/Joilet/UDF Filesystems (Revert)
  • Fixed bug in include/linux/cpufreq.h
  • Enabled conservative in CPU Governors
  • A-Z Sorted IO Schedulers in block/makefile
  • Text fix for Lionheart CPU Governor
  • Added more CPU Governors (@Tkkg1994)
  • Added more IO Schedulers (@Tkkg1994)

v2.21 - 2016-10-03
  • Fixed init file in Ramdisk to support F2FS

v2.20 - 2016-10-02[/size]
  • Added Frandom Support
  • Activated powersave Governor
  • Activated joystick_xpad Support
  • Disabled Forced Encryption
  • ISO9660 / Joilet UDF Support
  • NTFS Support
  • F2FS Support
  • NFS Support
  • CFIS Support

v2.10 - 2016-09-29
  • Added CPU Governors
  • Added IO Schedulers

v2.01 - 2016-09-26
  • Fixed installer (Fingerprint Fix not applied properly)
  • Combined both G930x and G935x Kernels into one flashable zip file

v2.00 - 2016-09-25
  • Updated Samsung Kernel Source to G930FXXU1BPHJ
  • Updated Linux source to 3.18.42
  • Updated Ramdisk to G935FXXU1BPIF

v1.00 - 2016-09-15
  • Initial Relase
  • Kernel Source: G930FXXU1BPH6 / G935FXXU1BPH6
  • Ramdisk: G930FXXU1BPHJ / G935FXXU1BPHJ
  • Linux Version: 3.18.14
  • Added init.d
  • Added Insecure ADB
  • Disabled DM_VERITY
  • Disabled Forced File Encryption
  • Disabled KNOX
  • Disabled TIMA
  • Disabled RKP
  • Disabled KAP
  • Disabled RPMB
  • Disabled Secure Storage
  • Enabled Lockup Detector
  • Enabled rw for /system
The Following 7 Users Say Thank You to djb77 For This Useful Post: [ View ] Gift djb77 Ad-Free
16th September 2016, 01:58 PM |#3  
djb77's Avatar
OP Recognized Contributor
Flag NSW
Thanks Meter: 4,324
 
Donate to Me
More
HOW TO PASS SAFETYNET WITH MAGISK v12


Open Magisk Manager, go to Settings, and enable MagiskHide and Systemless Hosts.


BENCHMARKS

TGP v12.00 running TGPKernel 4.63 (default settings), with all normal apps restored via Titanium


The Following 2 Users Say Thank You to djb77 For This Useful Post: [ View ] Gift djb77 Ad-Free
16th September 2016, 02:23 PM |#4  
scholz123's Avatar
Senior Member
Flag Straubing-Bavaria
Thanks Meter: 867
 
Donate to Me
More
Are Note 7 Full Ports compatible?

Sent from my SM-N930F using XDA-Developers mobile app
16th September 2016, 02:43 PM |#5  
Senior Member
Flag Bucharest
Thanks Meter: 22
 
More
I will test on extreme debloated rom
https://drive.google.com/open?id=0B5...0R0SUpmdng2WHM
https://drive.google.com/open?id=0B5...2pXdG4yelBYME0

I tested with Geekbench 4
The Following User Says Thank You to king118 For This Useful Post: [ View ] Gift king118 Ad-Free
16th September 2016, 03:20 PM |#6  
djb77's Avatar
OP Recognized Contributor
Flag NSW
Thanks Meter: 4,324
 
Donate to Me
More
Quote:
Originally Posted by scholz123

Are Note 7 Full Ports compatible?

Sent from my SM-N930F using XDA-Developers mobile app

Not that I'm aware of, I've only put the sources in for S7 / S7 Edge. I'm assuming that the Note 7 requires extra.
I can ofcourse try and look into it down the track though.
The Following 2 Users Say Thank You to djb77 For This Useful Post: [ View ] Gift djb77 Ad-Free
16th September 2016, 04:45 PM |#7  
scholz123's Avatar
Senior Member
Flag Straubing-Bavaria
Thanks Meter: 867
 
Donate to Me
More
Quote:
Originally Posted by djb77

Not that I'm aware of, I've only put the sources in for S7 / S7 Edge. I'm assuming that the Note 7 requires extra.
I can ofcourse try and look into it down the track though.

Thanks man

Sent from my SM-N930F using XDA-Developers mobile app
16th September 2016, 05:01 PM |#8  
djb77's Avatar
OP Recognized Contributor
Flag NSW
Thanks Meter: 4,324
 
Donate to Me
More
Quote:
Originally Posted by king118

I will test on extreme debloated rom
https://drive.google.com/open?id=0B5...0R0SUpmdng2WHM
https://drive.google.com/open?id=0B5...2pXdG4yelBYME0

I tested with Geekbench 4

Nice to see it works on a stock G930F ROM also, not like TGP where its a G930F / G935F Hybrid.
16th September 2016, 06:02 PM |#9  
Senior Member
Flag Bucharest
Thanks Meter: 22
 
More
Quote:
Originally Posted by djb77

Nice to see it works on a stock G930F ROM also, not like TGP where its a G930F / G935F Hybrid.

So far it seems faster than the stock kernel and the battery drain the same.
18th September 2016, 03:54 AM |#10  
djb77's Avatar
OP Recognized Contributor
Flag NSW
Thanks Meter: 4,324
 
Donate to Me
More
Currently in the process of updating the Linux code in the kernel. Up to 3.18.20 at the moment.
Once I reach 3.18.41 I'll release a new version.
The Following User Says Thank You to djb77 For This Useful Post: [ View ] Gift djb77 Ad-Free
18th September 2016, 10:12 AM |#11  
Senior Member
Flag Bucharest
Thanks Meter: 22
 
More
Snapdragon variant has 3.4 linux version ,right?
Quote:
Originally Posted by djb77

Currently in the process of updating the Linux code in the kernel. Up to 3.18.20 at the moment.
Once I reach 3.18.41 I'll release a new version.

Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes