Skip to content
This repository has been archived by the owner on Aug 7, 2018. It is now read-only.

Custom Kernel for Samsung Galaxy S7 / S7 Edge running Samsung Firmware (MarshMallow) [EOL]

License

Notifications You must be signed in to change notification settings

TheGalaxyProject/tgpkernel-s7-mm

Repository files navigation

TGPKernel S7

TGPKernel Logo

A Custom Kernel for Samsung Galaxy S7 / S7 Edge.

The main purpose of this Kernel is to have a stock-like Kernel that runs on S7 and S7E variants, but capable of running S7E and S8 Port Firmwares.

Compiled using my own built custom toolchain

How to use

Adjust the toolchain path in build.sh and Makefile to match the path on your system.

Run build.sh and follow the prompts, alternatively you can use a command line:

  • ./build.sh 0 will perform Clean Workspace
  • ./build.sh 00 will perform Clean CCACHE
  • ./build.sh 1 will perform Build TGPKernel boot.img for S7
  • ./build.sh 2 will perform Build TGPKernel boot.img for S7 Edge
  • ./build.sh 3 will perform Build TGPKernel boot.img for S7 + S7 Edge
  • ./build.sh 4 will perform Build TGPKernel boot.img and .zip for S7
  • ./build.sh 5 will perform Build TGPKernel boot.img and .zip for S7 Edge
  • ./build.sh 6 will perform Build TGPKernel boot.img and .zip for S7 + S7 Edge (Seperate)
  • ./build.sh 7 will perform Build TGPKernel boot.img and .zip for S7 + S7 Edge (All-In-One)

When finished, the new .img and / or .zip file will be created in the output directory.

If Java is installed, the .zip files will be automatically signed.

Credit and Thanks to the following:

  • Samsung Open Source Release Center for the Source code (http:https://opensource.samsung.com)
  • The Linux Kernel Archive for the Linux Patches (https://www.kernel.org)
  • @Tkkg1994 for all his help and numerous code samples from his source
  • @osm0sis for Android Image Kitchen
  • @jesec for the Fingerprint Fix for MM
  • @Wootever for the PWM Fix
  • @Chainfire for the Deep Sleep Fix from SuperSU
  • @morogoku for MTweaks and lots of help and commits
  • @farovitus for lots of help and Spectrum Profiles
  • @arter97, @lyapota, @kylothow and others for their commits