PLEASE READ THE FULL POST BEFORE FLASHING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I present to you a kernel that I have been working on to give us J7 owners a better experience, which I have named Afterburner.
Before I begin, this will void your warranty, as with any other ROMs/kernels/etc. I will NOT be held responsible for anything that goes wrong from flashing this kernel such as your phone breaking or catching fire/ etc etc.
Anyways, this is ONLY FOR J7 2015 devices!!!!!!!!
Download to your sdcard or external sd card then reboot to recovery.
Go to "Install" in TWRP and then browse to the location you downloaded it to. Once there, click on the zip file you downloaded and swipe to flash (v1.0 only)--To make the permissive, download the afterburner-permissive.zip file and flash AFTER flashing any of the afterburner kernels. You should only have to flash it once--(v1.0 only - end). (Aroma versions) You will be greeted with a screen that tells you the kernel version and date, touch Next. Now you will come to the install options. Select the options you wish to install. VERY IMPORTANT: YOUR DEVICE WILL BE UNROOTED IF YOU UNCHECK THE ROOT OPTION!! ALSO, IF YOU HAVE A J700H MODEL PHONE (3G version) THEN SELECT THE J700H OPTION, OTHERWISE YOU WILL HAVE BUGS!! Select Install, then set back and wait. Once it's done select next. Finally, if you want to return to TWRP(Recovery) then uncheck the reboot option and touch Finish, otherwise just touch Finish to reboot. Your device will bootloop once or so then will boot. The first boot after installation will take a while. Enjoy!!!!!
I will be updating as I add features.
Downloads are in second post!!
-Random reboots truly fixed, was an issue with the compiler. Installed on my device on 4/16/17 and haven't faced a single reboot. I have a way to check it in the Android file system, so I know 100 percent this bug is gone. Sorry for any trouble the reboots may have caused.
-Random reboots fixed by removing all CPU hotplugs
-Stock hotplug driver edited to enable unplugging more cores. The phone can now run with 2 cores at idle. Also, added ability to run with 6 cores so the phone can either do 2,4,6, or all 8 cores depending on CPU load and frequency
-Linux kernel updated to 3.10.105
-ramdisk optimization and version with old ramdisk added for greater compatibility
-undervolted 300MHz freq for a little better battery life
-tweaked zzmoove governor to use default 'ybat' profile. This should improve battery life while using zzmoove
-added alucard, thunderplug, autosmp, and zen decision CPU hotplugs. Using these can improve battery life and performance. They can be enabled by using an app such as kernel auditor.
-added lionfish governor
-This version kills off all remaining bugs!!!
-Rewrote the installer to fix some bugs (Main one being the Overclock issue, now everyone should see 1.7GHz!!!!!!!!!!!!!!).
-Threw out UberTC for good, as v6.0 still gave us all MTP and ADB bugs
-Root bug smashed for good by using my own ramdisk and only using one file from user's previously installed kernel (The one that makes it work on all roms)
-This is mainly a bug fix release. Fixes the last of the root issues.
-compiled using UberTC 6.0, this seems to add performance.
-CPU scaling in other governors should be fixed now, if not then let me know.
-The issue with some of you only being able to use the CPU to 1.6 instead of 1.7 may or may not be fixed, please test and let me know
-Undervolted the CPU. This, in theory, should give roughly the same battery life as any of the afterburner kernels overclocked at 1.6GHz, but running at 1.7GHz.
-Added true support for J700H models (This fixes the MTP bug on J700H devices by installing the proper device tree binary image for the J700H since it's a 3G model). There is an option in the installer now for J700H devices, ONLY SELECT THIS OPTION IF YOUR MODEL NUMBER IS J700H!!!
-A tiny bit more optimization, by tweaking the config file for the build to disable more kernel logging.
-Clarified root install option in the installer to make sure users understand that is they deselect the root option that THE DEVICE WILL BE UNROOTED!!
-FIXED MTP/ADB BUG FFINALLY!!! Had to revert to the android compiler, as UberTC caused this bug.
-Added kernel hotplug support. This will allow for the install of externel kernel drivers in the system/lib/modules folder. I haven't added any, but it should work, this might be used for future development.
-DM-verity removed. Supersu disables this anyways when it installs
-Other config optimizations
-Last, but definitely not least......OVERCLOCKED to 1.7GHz!!!!!!!!!!!! Enjoy.
-First truly "one install file for all" roms zip, only one download is required now, even for permissive and non permissive
-New Aroma installer, with options to customize Afterburner to your needs:
-Install permissive or non permissive
-Install init.d support
-Install busybox (required for init.d support)
-Install insecure adb
-If you don't need one or more of the above then simply leave it unchecked
-New install method of init.d, making it better for future updates
-New install method of permissive. Now uses an init.permissive.rc file within the kernel itself!!
-Completely cleans up traces of old installs and root, so that it can be installed on top of any ROM without losing root or (hopefully) any other bugs (I haven't found any yet)
-Nothing has changed in the actual kernel build except the build number, all of the changes have been in the ramdisk and installation method to make it more stable, easier to install, and more customizeable in the future. If you find any bugs, let me know
-Underclocked gpu, while gpu has no load for better battery performance
-Compiled with UberTC 4.9, seems to give a touch better performance than gcc
-Added zzmoove governor
-Some code optimization in CPU drivers
-New installation method means you can download the same kernel zip file and flash it on ANY MM J7 2015 Rom EXCEPT CM based roms like Resurrection remix/LineageOS/Cyanogenmod. When you flash the zip file, it pulls the currently installed boot image, patches it with Afterburner kernel and ramdisk files required by Afterburner, then flashes the patched image onto the device... Pretty neat right? Took hours of research and testing to get this to work properly.
-Overclocked to 1.6GHz
-Underclocked to 300MHz (This is for when you are not using your phone, will save on battery life)
-Init.d support....the kernel will create the init.d folder in /system/etc upon boot if it isn't present and run all scripts within using busybox (built-in!!)
-ADB insecure binary added so you don't need to confirm on your phone for a computer wanting to connect
-KNOX removed, including all of the folders that are created on the root of the phone upon boot
-Extra governors added
Donations are welcome here
-Samsung for the kernel source
-XDA for the tutorials
-Pavan l for the hyper and smartassV2 governors
-The author of Android Image Kitchen
-Shreesh for giving me 7 kernels from different roms to mod to work with Afterburner
-Abrar Faiyad for testing kernels for me
-Amulya Bhardwaj for helping fix a problem with 1.2
[email protected] for helping test
-Everyone in the J7 telegram group....you guys are a lot of help and great testers!!
Afterburner MM, Kernel for the Samsung Galaxy J7
Source Code: https://github.com/daishi4u/J7_Afterburner
Kernel Special Features:
Current Stable Version: 2.1.2
Stable Release Date: 2017-04-16
Last Updated 2017-09-18