[kernel][OneUI] hadesKernel v1.4 for S8/S8+/Note8 Exynos [10.10.2019]

Search This thread

ReggaHyko

Member
Mar 15, 2018
29
6
I already took a look and tried it on a s8+ with hades rom. I ended up having crashes at boot having to hard reset the device with the power buttons :< ill post in your thread instead of here regarding that.

clean all everything and try to install again . I have same trouble after v3 to v10 and stuck on bootscreen but after i clean everything and try again and update the kernel, its completly faster and smooth .
 

Attachments

  • Screenshot_20191024-141818_Settings.jpg
    Screenshot_20191024-141818_Settings.jpg
    172.3 KB · Views: 1,266

ReggaHyko

Member
Mar 15, 2018
29
6
Check A2N Kernel Thread, there's exactly what u need, adjustable charging Current and Fast Charging even with screen ON. ;)

I hope @ corsicanu bro will not kill me :eek:

Not all different kernel support with hadesrom . So why hadesrom have hades kernel itself, its have been tested . Maybe its safety than take more risk if using other kernel .??

Regards
"Sorry if bad english"
 

SirSoviet

Senior Member
Sep 1, 2015
573
286
Toronto
Hey there, would enabling KVM on 8895 be feasible at all? It would be really cool if we could run Windows 10 ARM or various Linux distros at native speed via QEMU/Limbo. Here is a GitHub issue that may contain lots of valuable information to help you.

It's worth mentioning that they don't seem to have done any further testing with 8895 other than adding CONFIG_VIRTUALIZATION=y, CONFIG_KVM=y, CONFIG_KVM_MMIO=y, and CONFIG_KVM_ARM_HOST=y in the defconfig of the stock kernel, and compiling it. The kernel successfully boots, but there is no /dev/kvm.

I'm wondering if you may be able to bring any Exynos-specific expertise to this issue, so that you can help determine whether it is possible, and bring KVM to our Galaxy S8 :fingers-crossed:
 
When using hasesKernel v 1.4 with riru Edxposed, the boot time is very long (about 90 seconds), after changed to another kernel with same setting (NX), the boot time is normal (about 30 seconds).
When removed riru Edxposed and using hadesKernel, the boot time is also going back to normal.
 

Solace50

Senior Member
Jul 17, 2011
534
72
clean all everything and try to install again . I have same trouble after v3 to v10 and stuck on bootscreen but after i clean everything and try again and update the kernel, its completly faster and smooth .

That was related to someone else kernel which was a terrible experience. Not Hades kernel. Since 1.3 it has been quite stable without any random reboots.
 

maxi65

Senior Member
Dec 28, 2014
392
149
27
Faisalabad
Any link for hkttweaks?

---------- Post added at 04:50 PM ---------- Previous post was at 04:47 PM ----------

Alright thanks.. i got the file.. ?
 

SameerAhmed

Senior Member
Jul 26, 2012
90
52
Islamabad
any solution?

$ aarch64-linux-gnu-gcc-9 -v -mcpu=exynos-m1.cortex-a53+crc+crypto ../kernel/bounds.c
Using built-in specs.
COLLECT_GCC=aarch64-linux-gnu-gcc-9
COLLECT_LTO_WRAPPER=/usr/lib/gcc-cross/aarch64-linux-gnu/9/lto-wrapper
Target: aarch64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.1.0-2ubuntu2~19.04' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-multiarch --enable-fix-cortex-a53-843419 --disable-werror --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=aarch64-linux-gnu --program-prefix=aarch64-linux-gnu- --includedir=/usr/aarch64-linux-gnu/include
Thread model: posix
gcc version 9.1.0 (Ubuntu 9.1.0-2ubuntu2~19.04)
COLLECT_GCC_OPTIONS='-v' '-mcpu=exynos-m1.cortex-a53+crc+crypto' '-mlittle-endian' '-mabi=lp64'
/usr/lib/gcc-cross/aarch64-linux-gnu/9/cc1 -quiet -v -imultiarch aarch64-linux-gnu ../kernel/bounds.c -quiet -dumpbase bounds.c -mcpu=exynos-m1.cortex-a53+crc+crypto -mlittle-endian -mabi=lp64 -auxbase bounds -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccrjpgg3.s
GNU C17 (Ubuntu 9.1.0-2ubuntu2~19.04) version 9.1.0 (aarch64-linux-gnu)
compiled by GNU C version 9.1.0, GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.20-GMP

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/usr/local/include/aarch64-linux-gnu"
ignoring nonexistent directory "/usr/include/aarch64-linux-gnu"
#include "..." search starts here:
#include <...> search starts here:
/usr/lib/gcc-cross/aarch64-linux-gnu/9/include
/usr/lib/gcc-cross/aarch64-linux-gnu/9/include-fixed
/usr/lib/gcc-cross/aarch64-linux-gnu/9/../../../../aarch64-linux-gnu/include
/usr/include
End of search list.
cc1: error: unknown value ‘exynos-m1.cortex-a53+crc+crypto’ for ‘-mcpu’
cc1: note: valid arguments are: cortex-a35 cortex-a53 cortex-a57 cortex-a72 cortex-a73 thunderx thunderxt88p1 thunderxt88 octeontx octeontx81 octeontx83 thunderxt81 thunderxt83 emag xgene1 falkor qdf24xx exynos-m1 phecda thunderx2t99p1 vulcan thunderx2t99 cortex-a55 cortex-a75 cortex-a76 ares neoverse-n1 neoverse-e1 tsv110 saphira cortex-a57.cortex-a53 cortex-a72.cortex-a53 cortex-a73.cortex-a35 cortex-a73.cortex-a53 cortex-a75.cortex-a55 cortex-a76.cortex-a55 generic
GNU C17 (Ubuntu 9.1.0-2ubuntu2~19.04) version 9.1.0 (aarch64-linux-gnu)
compiled by GNU C version 9.1.0, GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.20-GMP

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072

Were you able to solve this issue, or identify a custom toolchain to compile with the "cc1: error: unknown value ‘exynos-m1.cortex-a53+crc+crypto’ for ‘-mcpu’" option?
 
  • Like
Reactions: nosiobadx

Top Liked Posts

  • There are no posts matching your filters.
  • 52
    Code:
    Disclaimer
    #include 
    *
    * [B]Your warranty is now void.[/B]
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this kernel
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */
    Welcome to hadesKernel

    Some personal thoughts:
    - this kernel works only on exynos variants of S8(+) and Note8, only Pie and OneUI based roms (stock and stock based roms) I'm not responsable for what can happen if you flash on other devices/roms/android versions.
    - if you take any of my work without my permission i'll report you, and you'll probably get banned.
    - you should read at least install instructions stated in this post - i won't offer support for any issues regarding installation;
    - for more info about features included and bug reports make sure you read post #3;
    - press 'Thanks' button instead of saying it - it will keep the thread clean and keep me motivated to do more;
    - feel free to send me some coffee (which btw, runs out pretty quick) via paypal, if you want to support my work.


    Supported devices:
    - G950F / G950FD / G950N / G955F / G955FD / G955N / N950F / N950FD / N950N

    Features
    • G95*FXXS5DSI1 September and N950FXXS7DSH6 June security patch source
    • compiled with gcc 9.1
    • RMM/KG prepatched (more info about RMM here)
    • fully enforcing with the ability to change to permissive
    • disabled tima/knox/rkp/defex/dm_verity/fips/knox
    • enabled mass_storage for DriveDroid (download here latest beta app)
    • disabled zswap and added zram
    • Led fade
    • Moro Sound control
    • Boeffla Wakelock blocker
    • Wireguard support
    • blu_active CPU governor
    • other compiler optimizations
    • init.d support
    • dex with any hdmi adapter
    • crc/fsync toggle
    • ramdisk scripts for on boot optimizations
    • disabled excessive samsung logging/tracing

    Bugs:
    • none encountered (see FAQ on #3 post for workarounds)

    Instructions:
    • make sure you have a compatible rom installed (any OneUI pie rom including stock and stock based roms)
    • make sure you have TWRP 3.3.x installed (download latest official for Note8 or S8/S8+, install instructions here)
    • download zip and put it into phone's storage
    • enter TWRP recovery
    • flash zip
    • optional - flash root
    • reboot and enjoy
    • optional - download and install hKtweaks or MTweaks to be able to change some settings.

    Telegram support

    Downloads
    • on #2 post

    Credits:
    *Noxxx
    *djb77
    *MoroGoku
    *farovitus
    *6h0st
    *remilia15
    *frap129
    *ananjaser1211
    *BlackMesa123
    *Lord Boeffla
    *Faux123
    *kernel testers
    *if i missed someone PM me and i'll add

    XDA:DevDB Information
    hadesKernel , Kernel for the Samsung Galaxy S8

    Contributors
    corsicanu
    Source Code: https://github.com/corsicanu/android_kernel_samsung_universal8895

    Kernel Special Features:

    Version Information
    Status: Stable
    Current Stable Version: v1.4
    Stable Release Date: 2019-10-10

    Created 2019-05-27
    Last Updated 2019-10-10
    32
    hadesKernel v1.1:
    Changelog:
    - fixed moro sound issues
    - enabled dex with any hdmi adapter
    - added crc toggle
    - added fsync toggle
    - disabled zipalign at boot to avoid substratum issues
    - touchscreen ops improvements to avoid some stutters or unneeded wakeups
    - made it semi-systemless kernel (more info on FAQ)
    - ramdisk improvements from S9 June release
    - better zip extracting/patching scripts


    Install instructions:
    - flash as normal zip in TWRP, no wipe needed
    *if coming from stock kernel you probably need to format data in TWRP - this will cause losing all data including internal storage


    Personal notes:
    • If coming from stock kernel you probably need to format data in TWRP - this will cause losing all data including internal storage
    • Kernel zip doesn't contain any root, flash root of choice after flashing the kernel.
    Download:
    Telegram support
    Misc links
    Regards
    30
    hadesKernel v1.4
    Changelog:
    - G95*FXXS5DSI1 september patch sourcecode with wifi and charger improvements (hopefully)
    - included stock config inside the kernel to trick some services that we running stock kernel
    - adjusted a bit the default blocked wakelocks list
    - ramdisk updates
    - scripts cleanup


    Install instructions:
    - flash as normal zip in TWRP, no wipe needed
    *if coming from stock kernel you probably need to format data in TWRP - this will cause losing all data including internal storage


    Personal notes:
    - If coming from stock kernel you probably need to format data in TWRP - this will cause losing all data including internal storage.
    - Kernel zip doesn't contain any root, flash root of choice after flashing the kernel.
    - Treble kernel can be found here.

    Download:
    - hadesKernel_v1.4 - AndroidFileHost

    Misc links
    - Telegram Support group
    - Telegram Updates and info channel
    - Latest Magisk stable or test/beta
    Regards
    25
    Reserved

    FAQ:
    Q: How to report bugs?
    A: If you want to report a bug make sure you include:
    -device variant / modem version / bootloader version / region
    -detailed info about the encountered issue
    -steps to reproduce the bug
    -logs

    Q: How to take logs?
    A: Download Logcat Extreme and take a look at this.

    Q: Does it work with stock rom?
    A: Only if you format data on TWRP before installing, if you had stock kernel before - please do note this will erase all your data and internal storage

    Q: How to revert to stock kernel?
    A: That's not a choice at this moment, you either reflash your current custom rom (if that had stock kernel included), or install stock firmware via Odin which will probably cause damage to all your data including internal storage.

    Q: What semi-systemless kernel means?
    A: I changed the way of patching camera drivers and secure storage libs in a way to avoid altering original files, so if you are on stock rom and stock kernel, you can simply backup your boot.img and if you don't like hades you can restore that boot.img without any futher issues.

    Q: Saved wifi/bluetooth connections don't work anymore, what to do?
    A: Simply forget and reconnect wifi networks and/or re-pair bluetooth devices.

    Q: Why is this kernel better than *&% kernel?
    A: I never said it is and i also don't like to compare. You are the only that can decide if it is or not for your use.

    Q: Why this kernel?
    A: I made this kernel to disable samsung security and add few things for myself, since it went pretty well for me i decided to include it in the rom and release as separate too.

    Q: Why samsung security disabled?
    A: Samsung firmware and kernels are signed and made to get along eachother untampered. The second you change something (even only with rooting stock rom), that very moment security starts to spam in logs/operations which can result in lags/heats/freezes etc. Since we can't sign our roms/kernels as samsung, it`s better to disable security to avoid conflicts and ulterior issues.

    Q: What's Moro Sound and how does that work?
    A: It's an advanced sound control implemented first in S7 by @morogoku, which can be found in hKtweaks / MTweaks - sound section.
    You can change the output gain for speaker(s) and headphones, and also the equalizer to one of the profiles inside, or to your very own profile according to your taste.
    *I'm not responsable for any damage made by yourself on your phone/headphones/ears using too high values on this mod. If you are in doubt just leave it disabled or switch to other kernel.

    Q: Why a separate tweaks app?
    A: I made this app to properly maintain and adapt A5/A7 2017, your choice what app you want to use.