• 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
Do you have any plans on adding cpu voltage control? I miss this feature so much on my S8+. :( Had it on every other device before. It can save a lot of battery and heat.
Hey :)
This kernel will always be as close to stock as possible without any other mods such as voltage control. You need to go for another kernel I'm sorry
They released it fast this time! Now we just need to update everything else to oreo (mods and modded files to make a custom kernel fully working)
 

farmer's breakfast

New member
Dec 6, 2017
3
1
Hello. I have a problem with building this kernel myself. My device is G950FD.
I performed the following steps:
1. git clone github.com/djb77/aarch64-cortex_a53-linux-gnueabi
2. git clone github.com/GrifoDev/BatKernel/tree/TW70-stock
3. in build.sh i set:
Code:
export MODEL=dreamlte
export VARIANT=eur
export ARCH=arm64
export BUILD_CROSS_COMPILE=/mnt/c/s8/aarch64-cortex_a53-linux-gnueabi/bin/aarch64-cortex_a53-linux-gnueabi-
4. also in the line 119 i've changed CROSS_COMPILE to BUILD_CROSS_COMPILE, because it was unable to find 'cpp':
Code:
${BUILD_CROSS_COMPILE}cpp -nostdinc -undef -x assembler-with-cpp -I "$INCDIR" "$DTSDIR/${dts}.dts" > "${dts}.dts"
5. run ./build.sh
6. zipping everything in build folder

Everything is built okay, but after flashing the kernel from TWRP, it got stuck on 'SAMSUNG GALAXY S8' startup logo. At the same time, after flashing prebuilt v1.8.0 kernel everything is loaded well.
Am I missing something? Hope that someone can help.
 
Last edited:

Tkkg1994

Inactive Recognized Developer / Contributor
Jun 10, 2014
10,138
29,150
Coding City
Hello. I have a problem with building this kernel myself. My device is G950FD.
I performed the following steps:
1. git clone github.com/djb77/aarch64-cortex_a53-linux-gnueabi
2. git clone github.com/GrifoDev/BatKernel/tree/TW70-stock
3. in build.sh i set:
Code:
export MODEL=dreamlte
export VARIANT=eur
export ARCH=arm64
export BUILD_CROSS_COMPILE=/mnt/c/s8/aarch64-cortex_a53-linux-gnueabi/bin/aarch64-cortex_a53-linux-gnueabi-
4. also in the line 119 i've changed CROSS_COMPILE to BUILD_CROSS_COMPILE, because it was unable to find 'cpp':
Code:
${BUILD_CROSS_COMPILE}cpp -nostdinc -undef -x assembler-with-cpp -I "$INCDIR" "$DTSDIR/${dts}.dts" > "${dts}.dts"
5. run ./build.sh
6. zipping everything in build folder

Everything is built okay, but after flashing the kernel from TWRP, it got stuck on 'SAMSUNG GALAXY S8' startup logo. At the same time, after flashing prebuilt v1.8.0 kernel everything is loaded well.
Am I missing something? Hope that someone can help.
Try to repack the img manually with the AIK found here.

I had two other peoples having the exact same issue due to the new AIK (which somehow doesn't get synced properly with github).

So redownload the AIK and try it manually. Should work out :good:
 

luly

Senior Member
Nov 5, 2016
244
71
Can this ble flashed on Batman Rom 1.5.0?
Or is the version of Batstock that comes with the rom in aroma recommended?
 
Last edited:

Tkkg1994

Inactive Recognized Developer / Contributor
Jun 10, 2014
10,138
29,150
Coding City
Rock solid kernel, best kernel for me after all, most balanced(nice RAM management, performance and battery life!
And my battery refuse to die :)
Thank you @Tkkg1994
Thanks for your feedback, appreciate it a lot! :good:
Can this ble flashed on Batman Rom 1.5.0?
Or is the version of Batstock that comes with the rom in aroma recommended?
Yes it can be flashed on BatMan, but since the rom is based on AQK7 I'd stick to the one included in aroma
 
  • Like
Reactions: GeyerA

dohaeris

New member
Feb 6, 2016
4
0
Hi guys I have run in a bit of a problem... I was using renovate ice 7.1 but recently I tried updating my android ton8.0 but even if wipe the decide it still boots up with 7.1 android even though the ROM for Oreo gets flashed successfully. I don't know what else I can do. Need help
 

Tkkg1994

Inactive Recognized Developer / Contributor
Jun 10, 2014
10,138
29,150
Coding City
Hi guys I have run in a bit of a problem... I was using renovate ice 7.1 but recently I tried updating my android ton8.0 but even if wipe the decide it still boots up with 7.1 android even though the ROM for Oreo gets flashed successfully. I don't know what else I can do. Need help
I don't understand... you talk about renovate ice (this is a kernel thread about batstock). Then you ask about android 8.0 (this kernel is based on 7.0). Then you say your phone boots up with android 7.1

I'm sorry but I have no idea how this is related in any kind to this kernel?
Thanks!
I did it anyway! I am baaaad boy! :angel:
Working prefect, better battery than the stock kernel included in aroma.
Hehehe you bad boy :D

Have fun :good:
 

farmer's breakfast

New member
Dec 6, 2017
3
1
Try to repack the img manually with the AIK found here.

I had two other peoples having the exact same issue due to the new AIK (which somehow doesn't get synced properly with github).

So redownload the AIK and try it manually. Should work out :good:

I was able to make it work with AIK 2.9 (just replaced the files in ramdisk/SM-G950F directory). Neither 3.0 nor 3.1 did not work. But thanks for the hint.
 

Tkkg1994

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

burner07

Senior Member
Dec 31, 2010
480
40
Guys, can I access my storage from recovery mode with this kernel?
I cant unlock my phone and need to get data from storage.

Is there a mass storage option, like old times?
Thx
 

Tkkg1994

Inactive Recognized Developer / Contributor
Jun 10, 2014
10,138
29,150
Coding City
Guys, can I access my storage from recovery mode with this kernel?
I cant unlock my phone and need to get data from storage.

Is there a mass storage option, like old times?
Thx
That means your phone is encrypted. You won't be able to access the storage without wiping your device, that has nothing to do with this kernel but with the TWRP :good:
 
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: