• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[EOL][KERNEL][STABLE][TW][N][7.0][CRC7][23.04.18][SM-G95XF/FD/N] BatKernel V2.1.1

Status
Not open for further replies.
Search This thread

Tkkg1994

Inactive Recognized Developer / Contributor
Jun 10, 2014
10,138
29,150
Coding City
BatKernel for SM-G95XF/FD/N models

screen_shot_2017-03-29_at_17.35.22.png


Supports Touchwiz Roms with AQG5 and higher, for bases below AQGX, use 1.2.x release version!

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 6.4.1 GNU GCC toolchain by @djb77
- Build with CRC7 kernel source code
- Latest Linux version 4.4.128, is always up to date
- Performance and Batterylife improved
- Choose between different CPU governors: performance, powersave, userspace, ondemand, interactiv (default), conservative, schedutil
- Includes latest CRC7 ramdisk
- I/O schedulers: CFQ (Default), No-op, Deadline, BFQ
- F2FS enabled for /data and /cache disabled on 1.2.2 for testing
- NTFS enabled
- TCP (Network) control: Bic (default), Reno, cdg, cubic, dctcp, Westwood, Highspeed, Hybla, HTCP, Vegas, Veno, Scalable, LP, Yeah, Illinois, Lia, Olia, Wvegas, balia
- SeLinux is set to permissive
- All samsung security related configs disabled (as knox, tima, restrict rooting)

Download:
V2.1.1 on AndroidFilehost (Oreo)
V1.8.0 on AndroidFilehost (Nougat)
Via Grifo Development Thread

Bugs/Problems:
- None

Instructions:
0. Have a working recovery and encryption removed!
1. Download kernel
2. Boot into twrp recovery mode
3. Flash kernel
4. Flash any other file which affects ramdisk (Magisk or SuperSU)
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! :D :good:

PayPal

Credits/Thanks:
- Samsung for sources
- the great linus for his amazing kernel source
- Jesec for his workaround, without him custom kernels won't be possible on the s8!

XDA:DevDB Information
BatKernel SM-G95XF, Kernel for the Samsung Galaxy S8

Contributors
Tkkg1994
Source Code: https://github.com/Tkkg1994/BatKernel

Kernel Special Features: Close to Stock Kernel

Version Information
Status: Stable
Current Stable Version: V2.1.1
Stable Release Date: 2018-04-23

Created 2017-07-14
Last Updated 2018-04-23
 

Tkkg1994

Inactive Recognized Developer / Contributor
Jun 10, 2014
10,138
29,150
Coding City
Changelog:

Nougat:
BatStock-Kernel V1.0:
- Initial testing release (not on XDA)

BatStock-Kernel V1.0.1:
- Fixed slow read speed
- enabled f2fs
- enabled ntfs
- enabled all included govs/tcp/ioscheds
- random driver updates

BatStock-Kernel V1.1.0:
- Based on latest AQE5 source code
- Updated ramdisk to AQEB
- Added init.d support
- Hopefully fixed some issues with shealth
- Updated linux to most recent 4.4.69
- Changes made by samsung in source code: led cover support, some other battery updates, display updates (mainly for red tint), other small fixes

BatStock-Kernel V1.2.0:
- Based on latest AQF7 release
- Updated ramdisk to AQF7
- Updated Linux to 4.4.74
- ext4: fix data exposure after a crash (which should maybe fix the random reboots)
- Updated included camera binaries

BatStock-Kernel V1.2.2:
- Reverted an alarmtimer update which could have broken some deepsleep things
- Added support for private mode
- Updated linux to 4.4.76
- Added stock init file (without being patched for f2fs, means f2fs won't work right now) to see if that has something to do with continous bootloops

BatStock-Kernel V1.3.2:
- Remember, this kernel won't boot on AQF7 or lower bases, only on AQG5 or highter!!
- Added BFQ ioscheduler
- Updated resetprop from latest magisk release
- Updated Linux version to 4.4.82
- Added Spectrum support (right now it will only change cpugovs, this will be extended in future releases)
- Updated ramdisk to AQGB
- Updated source code to AQGB

BatStock-Kernel V1.4.0:
- Kernel base updated to AQH3
- Ramdisk updated to AQH3
- Linux updated to most recent 4.4.83
- Switched back to an older version of the toolchain

BatStock-Kernel V1.4.1:
- Linux updated to 4.4.87
- Toolchain switched to GNU GCC 6.4.0 build by @djb77
- Small adjustments to make your experience even greater!

BatStock-Kernel V1.5.0:
- Updated base of the kernel to AQI7
- Updated ramdisk to AQI7
- Linux updated to 4.4.92
- Toolchain switched to GNU GCC 6.4.1 build by @djb77
- Updated camera binaries to AQI7 thanks to @geiti94
- Enabled dex on all hdmi adapters thanks to @kbarni

BatStock-Kernel V1.6.0:
- Updated source of the kernel to AQJ1
- Updated ramdisk to AQJ1
- Updated linux to latest 4.4.95
- Updated patched firmware binaries to AQJ1

BatStock-Kernel V1.7.0:
- Source code update to AQK7
- Ramdisk update to AQK7
- Linux update to latest 4.4.102

BatStock-Kernel V1.8.0:
- Source code update to AQL5
- Ramdisk update to AQL5
- Linux update to latest 4.4.111
- Toolchain updated
- AIK updated to latest v3.1

Oreo:
BatKernel V2.0.0:
- Rebased on latest CRB7 source code (Oreo)
- Ramdisk update to CRB7 (Oreo)
- DON'T use this on Nougat
- Linux update to latest 4.4.124
- Toolchain updated
- Camera bins updated to CRB7 @Noxxxious
- Updated AIK to latest 3.2 release
- If you got issues with your wifi, you were previously using a "dirty" hack to get wifi working. I can confirm that wifi works fine on a full stock rom. If wifi doesn't work, please tell your rom developer to fix it :good:

BatKernel V2.1.0:
- Based on latest CRC7 source code
- Ramdisk updated to CRC7
- Linux updated to 4.4.125

BatKernel V2.1.1 Final:
- Fixed issues with deodexed roms not creating dalvik-cache files (thanks @mwilky )
- Linux updated to 4.4.128
 
Last edited:

v-b-n

Senior Member
Feb 17, 2010
2,614
963
Singapore
Suddenly I started getting failed Safetynet .. Magisk Core Only or Magisk Hide both enabled but fails ... any clue ... i tried fresh install of Batstock Rom and new kernel version with Magisk, but no use ...

I know it has been a long ongoing issue but just wanted to check if anybody found a working solution on this combo
 

goRt

Senior Member
Mar 19, 2007
775
154
Nexus 7 (2013)
OnePlus 8
Suddenly I started getting failed Safetynet .. Magisk Core Only or Magisk Hide both enabled but fails ... any clue ... i tried fresh install of Batstock Rom and new kernel version with Magisk, but no use ...

I know it has been a long ongoing issue but just wanted to check if anybody found a working solution on this combo
Which version of magisk and the kernel?

PS magisk broke 36 hours ago and 13.3 fixed it overnight.

Sent from my Nexus 7 using Tapatalk
 

avri.altman

Member
Jun 9, 2017
7
0
time keeping module shows wrong boot epoch time

Hi,
This issue was observed on V1.1.0, but stil exist in V1.2.2.
A sympthom of the problem can be seen in:
dreamlte:/ # cat /proc/stat
btime 1485100236

The kernel functions that suppose to return the boot epoch time (wall time since 1970), e.g. ktime_get_real_seconds, getboottime etc,
returns an erronouse value.

commit e1d7ba8 (time: Always make sure wall_to_monotonic isn't positive), which is included in kernel V4.3-rc1,
observe the same issue and proposed a fix, but still it is not working for the exynos platform.

Does anyone has noticed this, and maybe have an idea for a fix?

Thanks a lot,
Avri
 

Tkkg1994

Inactive Recognized Developer / Contributor
Jun 10, 2014
10,138
29,150
Coding City
Hey guys and girls

I'm back from holidays and should be able to answer the most questions from now on!

Just in case you want to have quicker support you should be thinking about registering yourself on our website, as there are most of the time other team members online and here on XDA it's just me supporting all of those threads.

BTW, there is already a test version available for AQG5 or higher roms, check it out here!

Have a nice day and see you in the forums :)
 

azamet90

Senior Member
May 16, 2017
89
1
im using aqg5 firmware does this kernel work with that and what about battery life and overheating? pekaka kernel was very bad with good performance but u can only use 5 minutes after 5 minutes it was overheating is this kernel good for gamers who want long battery life without lag and overheat?
 

Tkkg1994

Inactive Recognized Developer / Contributor
Jun 10, 2014
10,138
29,150
Coding City
im using aqg5 firmware does this kernel work with that and what about battery life and overheating? pekaka kernel was very bad with good performance but u can only use 5 minutes after 5 minutes it was overheating is this kernel good for gamers who want long battery life without lag and overheat?
The kernel base of 1.2.2 is AQF7. Means it won't boot on AQG5. I am currently waiting for AQGB kernel source to update the kernel

Sent from my BatMan powered SM-G955F
 

azamet90

Senior Member
May 16, 2017
89
1
The kernel base of 1.2.2 is AQF7. Means it won't boot on AQG5. I am currently waiting for AQGB kernel source to update the kernel

Sent from my BatMan powered SM-G955F

wow great! u answer so quick im coming from pekaka kernel it was very very bad with overheating problem i want a good kernel with antutu point lowest 175000 without overheating in 10 minutes to 38-40 celcius.. i dont know if it is because of kernel or the renovate rom 3.0 but on lock screen i loose only 1% in 10 hours! but if i only use chrome in 5 minutes it is 28-40 celcius!!!

i did removed the kernel installed renovate 148 i like your quick answer very much thank u for that i dont believe to youtube videos about roms kernels etc i want to have ideal kernel im a gamer can u suggest me your kernel as a gamer? if yes i will wait for your kernel
 

seraphyz

Senior Member
Nov 18, 2015
566
258
The kernel base of 1.2.2 is AQF7. Means it won't boot on AQG5. I am currently waiting for AQGB kernel source to update the kernel

Constant reboots on 1.3.1 beta, no issues with noto kernel, yes I am on aqg5 rom and latest twrp for that base
 
Last edited:

Tkkg1994

Inactive Recognized Developer / Contributor
Jun 10, 2014
10,138
29,150
Coding City
wow great! u answer so quick im coming from pekaka kernel it was very very bad with overheating problem i want a good kernel with antutu point lowest 175000 without overheating in 10 minutes to 38-40 celcius.. i dont know if it is because of kernel or the renovate rom 3.0 but on lock screen i loose only 1% in 10 hours! but if i only use chrome in 5 minutes it is 28-40 celcius!!!

i did removed the kernel installed renovate 148 i like your quick answer very much thank u for that i dont believe to youtube videos about roms kernels etc i want to have ideal kernel im a gamer can u suggest me your kernel as a gamer? if yes i will wait for your kernel
About the kernel and if it is for gaming, this kernel is mainly very close to stock and not heavily modded. So if you didn't had any issues with stock kernel this one will be good for you as well!

As said waiting for AQGB kernel source code!
Constant reboots on 1.3.1 beta, no issues with noto kernel, yes I am on aqg5 rom and latest twrp for that base
That only happens if you are NOT on AQG5, reason: camera libs need to be updated otherwise the camera will constantly loop your device (some seconds after successfully boot process)
 
  • Like
Reactions: azamet90
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 24
    BatKernel for SM-G95XF/FD/N models

    screen_shot_2017-03-29_at_17.35.22.png


    Supports Touchwiz Roms with AQG5 and higher, for bases below AQGX, use 1.2.x release version!

    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 6.4.1 GNU GCC toolchain by @djb77
    - Build with CRC7 kernel source code
    - Latest Linux version 4.4.128, is always up to date
    - Performance and Batterylife improved
    - Choose between different CPU governors: performance, powersave, userspace, ondemand, interactiv (default), conservative, schedutil
    - Includes latest CRC7 ramdisk
    - I/O schedulers: CFQ (Default), No-op, Deadline, BFQ
    - F2FS enabled for /data and /cache disabled on 1.2.2 for testing
    - NTFS enabled
    - TCP (Network) control: Bic (default), Reno, cdg, cubic, dctcp, Westwood, Highspeed, Hybla, HTCP, Vegas, Veno, Scalable, LP, Yeah, Illinois, Lia, Olia, Wvegas, balia
    - SeLinux is set to permissive
    - All samsung security related configs disabled (as knox, tima, restrict rooting)

    Download:
    V2.1.1 on AndroidFilehost (Oreo)
    V1.8.0 on AndroidFilehost (Nougat)
    Via Grifo Development Thread

    Bugs/Problems:
    - None

    Instructions:
    0. Have a working recovery and encryption removed!
    1. Download kernel
    2. Boot into twrp recovery mode
    3. Flash kernel
    4. Flash any other file which affects ramdisk (Magisk or SuperSU)
    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! :D :good:

    PayPal

    Credits/Thanks:
    - Samsung for sources
    - the great linus for his amazing kernel source
    - Jesec for his workaround, without him custom kernels won't be possible on the s8!

    XDA:DevDB Information
    BatKernel SM-G95XF, Kernel for the Samsung Galaxy S8

    Contributors
    Tkkg1994
    Source Code: https://github.com/Tkkg1994/BatKernel

    Kernel Special Features: Close to Stock Kernel

    Version Information
    Status: Stable
    Current Stable Version: V2.1.1
    Stable Release Date: 2018-04-23

    Created 2017-07-14
    Last Updated 2018-04-23
    21
    Oreo arrives

    BatKernel V2.0.0:
    - Rebased on latest CRB7 source code (Oreo)
    - Ramdisk update to CRB7 (Oreo)
    - DON'T use this on Nougat
    - Linux update to latest 4.4.124
    - Toolchain updated
    - Camera bins updated to CRB7 @Noxxxious
    - Updated AIK to latest 3.2 release
    - If you got issues with your wifi, you were previously using a "dirty" hack to get wifi working. I can confirm that wifi works fine on a full stock rom. If wifi doesn't work, please tell your rom developer to fix it :fingers-crossed:

    I know, I might not be the fastest here to update the kernels. But I can assure you that everything works fine on this Oreo kernel (as long as the rom+kernel combination matches of course). Also as you may have noticed, I changed the name to BatKernel (instead of BatStock-Kernel), I initially planned to do 2 versions (1 batstock kernel and 1 batkernel), but I simply don't have the time for that, so let's use the BatKernel as main name :)

    I'm sorry about the delay and wish you all happy flashing time now! Have fun :fingers-crossed:

    I'd appreciate it if you hit the thanks button (of course only if you enjoy it :D ) :good:

    Download:
    Via GrifoDev
    Via AFH
    20
    BatStock-Kernel V1.6.0

    BatStock-Kernel V1.6.0:
    - Updated source of the kernel to AQJ1
    - Updated ramdisk to AQJ1
    - Updated linux to latest 4.4.95
    - Updated patched firmware binaries to AQJ1

    Wish all (who celebrate) a happy halloween :)

    Download links:
    Download via GrifoDev
    Download via AFH

    For support I'd highly appreciate hitting the thanks button, thank you guys! :good:
    19
    Changelog:

    Nougat:
    BatStock-Kernel V1.0:
    - Initial testing release (not on XDA)

    BatStock-Kernel V1.0.1:
    - Fixed slow read speed
    - enabled f2fs
    - enabled ntfs
    - enabled all included govs/tcp/ioscheds
    - random driver updates

    BatStock-Kernel V1.1.0:
    - Based on latest AQE5 source code
    - Updated ramdisk to AQEB
    - Added init.d support
    - Hopefully fixed some issues with shealth
    - Updated linux to most recent 4.4.69
    - Changes made by samsung in source code: led cover support, some other battery updates, display updates (mainly for red tint), other small fixes

    BatStock-Kernel V1.2.0:
    - Based on latest AQF7 release
    - Updated ramdisk to AQF7
    - Updated Linux to 4.4.74
    - ext4: fix data exposure after a crash (which should maybe fix the random reboots)
    - Updated included camera binaries

    BatStock-Kernel V1.2.2:
    - Reverted an alarmtimer update which could have broken some deepsleep things
    - Added support for private mode
    - Updated linux to 4.4.76
    - Added stock init file (without being patched for f2fs, means f2fs won't work right now) to see if that has something to do with continous bootloops

    BatStock-Kernel V1.3.2:
    - Remember, this kernel won't boot on AQF7 or lower bases, only on AQG5 or highter!!
    - Added BFQ ioscheduler
    - Updated resetprop from latest magisk release
    - Updated Linux version to 4.4.82
    - Added Spectrum support (right now it will only change cpugovs, this will be extended in future releases)
    - Updated ramdisk to AQGB
    - Updated source code to AQGB

    BatStock-Kernel V1.4.0:
    - Kernel base updated to AQH3
    - Ramdisk updated to AQH3
    - Linux updated to most recent 4.4.83
    - Switched back to an older version of the toolchain

    BatStock-Kernel V1.4.1:
    - Linux updated to 4.4.87
    - Toolchain switched to GNU GCC 6.4.0 build by @djb77
    - Small adjustments to make your experience even greater!

    BatStock-Kernel V1.5.0:
    - Updated base of the kernel to AQI7
    - Updated ramdisk to AQI7
    - Linux updated to 4.4.92
    - Toolchain switched to GNU GCC 6.4.1 build by @djb77
    - Updated camera binaries to AQI7 thanks to @geiti94
    - Enabled dex on all hdmi adapters thanks to @kbarni

    BatStock-Kernel V1.6.0:
    - Updated source of the kernel to AQJ1
    - Updated ramdisk to AQJ1
    - Updated linux to latest 4.4.95
    - Updated patched firmware binaries to AQJ1

    BatStock-Kernel V1.7.0:
    - Source code update to AQK7
    - Ramdisk update to AQK7
    - Linux update to latest 4.4.102

    BatStock-Kernel V1.8.0:
    - Source code update to AQL5
    - Ramdisk update to AQL5
    - Linux update to latest 4.4.111
    - Toolchain updated
    - AIK updated to latest v3.1

    Oreo:
    BatKernel V2.0.0:
    - Rebased on latest CRB7 source code (Oreo)
    - Ramdisk update to CRB7 (Oreo)
    - DON'T use this on Nougat
    - Linux update to latest 4.4.124
    - Toolchain updated
    - Camera bins updated to CRB7 @Noxxxious
    - Updated AIK to latest 3.2 release
    - If you got issues with your wifi, you were previously using a "dirty" hack to get wifi working. I can confirm that wifi works fine on a full stock rom. If wifi doesn't work, please tell your rom developer to fix it :good:

    BatKernel V2.1.0:
    - Based on latest CRC7 source code
    - Ramdisk updated to CRC7
    - Linux updated to 4.4.125

    BatKernel V2.1.1 Final:
    - Fixed issues with deodexed roms not creating dalvik-cache files (thanks @mwilky )
    - Linux updated to 4.4.128
    18
    New kernel arrives

    BatStock-Kernel V1.8.0:
    - Source code update to AQL5
    - Ramdisk update to AQL5
    - Linux update to latest 4.4.111
    - Toolchain updated
    - AIK updated to latest v3.1

    Download:
    Via GrifoDev
    Via AFH

    If you appreciate the update, I'll really love if you hit the thanks button :victory: