[KERNEL] [SHARED] Neutrino kernel - Redmi 9 / Poco M2 Guides, News, & Discussion

Made by : ZycroerZ
Quick PSA :
Flashing kernels is very dangerous, and can brick your device with NO WAYS to recover it. I am not responsible for any damage done to your device, be careful
Download : download
Changelog:
Upstream to 4.14.163
based pizza+ kernels, renamed to Neutrino-Stock
kernel source code : https://github.com/ZyCromerZ/lancelot/commits/eleven-upstream

What are the features,a little bit mor info where great and a flashing instruction,without it this thread are nonsense,Thanx?Cheers.

Related

[KERNEL][DEV][3.4+] U8500 Linux kernel upgrading project

Hello!
This is a development thread for the project of upgrading of the Linux kernel for the U8500 platform.
Builds provided here (at the moment of writing this message) are not considered to be used as a daily driver, by any means, - these are rather a dev preview versions.
For now, there are a several LK builds (the highest currently supported kernel version is 3.10).
Because builds here are really not stable, I'll just leave a disclaimer here.
Code:
#include <std/disclaimer.h>
/*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/
Working features
RIL
Camera (front & rear) - only works in <3.8
Video (playback & recording)
Audio (playback & recording)
Wifi
Bluetooth (broken in >=3.8, needs a workaround to manually startup)
USB, ADB
Tethering (not tested)
GPS (not tested)
Sensors
Known bugs
IRQs are mishandled by some device drivers (abb_btemp, abb_fg)
proximity sensor might not work (not tested, cause it's broken on my device)
deep sleep might not work at a times
MMC driver works unreliably in >=3.8 (contiguous usage might lead in a data corruption)
networking is not fully-functional (no mobile data)*
camera is broken in 3.8
*some other features of the android kernel might not present - it's because these kernels lacks android-specific patches.
Sources
LK 3.5
LK 3.6
LK 3.7
LK 3.8
LK 3.9
LK 3.10
Downloads
http://xda.mister-freeze.eu/XDA-files/ChronoMonochrome/misc/upgrading
Installation
install chrono kernel r5.2 or higher (this is needed to pick up the necessary scripts, incl. bootscripts, etc)
reboot to recovery
install build linked in "Downloads" section
Credits
Linux kernel development community
Google
ST-Ericcson
Samsung
Team Canjica
XDA:DevDB Information
U8500 Linux kernel upgrading project, Kernel for the Samsung Galaxy Ace II
Contributors
ChronoMonochrome
Kernel Special Features:
Version Information
Status: Alpha
Created 2017-05-09
Last Updated 2017-05-10
Reserved
Porting
The porting a higher kernel version tehnique I'll describe here is not intended to be a guide for dummies. I'll assume you've already built a kernel for your device, familiar with git versioning control usage and with some porting / coding tehniques.
Firstly, you need a cleaned source for your device. By "cleaned" I mean, there are no Linux incremental patches, android changes applied, manufacture-specific patches are avoided when possible and so on - you need sources as closest to a "pure" Linux kernel as possible. Otherwise you'll have later need to deal with conflicts resolution, you'll most likely be unable to resolve and the kernel won't boot.
So, without a further forewords, the tehnique is below:
1) As was previously mentioned, a clean kernel source is required, I'll assume we are starting from LK-3.4 ( https://github.com/ChronoMonochrome/Chrono_Kernel-1/commits/ea228ee0f5e9935841aff25c62fa163cd78dc01d ) and porting a higher kernel versions. A kernel base needs to be tested for any bugs just to distinguish, which bugs were intruduced during porting from those ones that already present in a kernel base.
2) The following steps will mostly use git bisect and git merge commands in order to merge all the changes from a higher kernel versions and help to find / resolve the bugs that were introduced. I suggest copying a git kernel repo that you use for building to a somewhere else, so you can use it , e.g. for grepping a different versions source, bisecting the revisions and so on, so don't need to bother messing up in your main repo that you use for build.
3) Firstly, lets just try to merge a higher kernel version, e.g. LK 3.5 by issuing a command git merge lk-3.5. You'll likely have a lot of merge conflicts, most of which you can resolve with resetting the paths to a some revision (either a kernel base - lk 3.4, or the version you do port, or just another suitable conflict resolution). So I suggest to write those paths to a text file, like so:
Code:
arch/arm/boot
arch/arm/mach-ux500
arch/arm/plat-nomadik
drivers/mmc
include/linux/mmc
drivers/usb
include/linux/usb
drivers/mfd
include/linux/mfd
...
Write all the paths you intend to reset to the kernel base, you most likely need to re-use them later. To actually perform a resetting source, you can issue
Code:
for path in $(cat file_with_a_paths.txt | xargs)
do
git checkout COMMIT $path
done
Be sure not to put to this file anything not the device-specific! Resetting to the kernel base should be avoided when possible (never ever try resetting archictecture-specific paths, e.g. arch/arm/kernel, arch/arm/mm and so on - unless you really know that kernel will boot thereafter, instead, you have to manually resolve such conflicts). Resolve any other conflicts by resetting paths to the porting source (e.g. LK 3.5).
Note. While resetting with a paths is probably not the most accurate tehnique, but people don't live that long to use more accurate approach, e.g. performing git cherry-pick for every upstream commit and then manually resolving all the conflicts, you'll just sooner or later get bothered and will abandon it.
4) When you're done with the previous steps you can try building kernel. You'll likely have a build errors - because some part of a source got not updated (e.g. the device-specific drivers), you need manually implement the necessary by a higher kernel version changes. Firstly check if an upstream kernel contains the necessary fixes (example: https://github.com/ChronoMonochrome/Chrono_Kernel-1/commit/9fae8c449b710f502662da1cbcf26ece5a098af9 , https://github.com/ChronoMonochrome/Chrono_Kernel-1/commit/fe027c25d6db0d100937deb5248e249ec5b24ee7 ). If the driver you are porting doesn't exist in the upstream, you can also try to find a similar change and mimic it: https://github.com/ChronoMonochrome/Chrono_Kernel-1/commit/5f2e7afbf2ac3284dc62b3d96a0627c7f99ed4e9 ( ported similarly to https://github.com/ChronoMonochrome/Chrono_Kernel-1/commit/526c597 ). In the worst case scenario you will need to examine the upstream changes and apply the changes so that the drivers complies to the upstream changes: https://github.com/ChronoMonochrome/Chrono_Kernel-1/commit/ea6432d167 .
5) If everything is done properly and you're lucky enough, the compiled kernel might already bootup. If not, you'll need to find a culprint that doesn't let the device to boot up. Switch to a copy of your kernel sources, reset the source to the base kernel version (e.g. LK 3.4), issue git bisect good, then issue git bisect bad lk-3.5, git will reset to a somewhere in a middle between of LK 3.4 and LK 3.5.
6) Save your changes in the kernel repo, by assigning a some branch to it, switch to the source base, merge all the fixes you've already introduced, then merge the revision you have got in the previous step by bisecting the tree. Repeat these steps until you'll find a first bad commit.
7) If you are already on this step, the most trickiest part starts here - testing (hopefully) working kernel for bugs (if any). While logs can be useful sometimes (so you can google the failing messages and find something useful), there are also many bugs you can find only performing git bisect tehnique decribed above.
The decribed algorithm only possible thanks to having a clean kernel source. The usage of this guide is not limited only to the kernel porting, it can be used on other projects as well, this is just what I've come across to, when I've ever started porting Linux kernel versions higher than LK3.4.
Reserved
I wonder if any of this expertise couldn't look pretty cool here too.
Wooooowwwewe
Oooh
Look whose good boys have been trying to win the STE mastermind prize as of lately
https://github.com/novathor-mainline/linux
https://git.kernel.org/pub/scm/linu...inux-nomadik.git/log/?h=ux500-skomer-v5.5-rc1
mirhl said:
Oooh
Look whose good boys have been trying to win the STE mastermind prize as of lately
https://github.com/novathor-mainline/linux
https://git.kernel.org/pub/scm/linu...inux-nomadik.git/log/?h=ux500-skomer-v5.5-rc1
Click to expand...
Click to collapse
Seriously!
mirhl said:
Oooh
Look whose good boys have been trying to win the STE mastermind prize as of lately
https://github.com/novathor-mainline/linux
https://git.kernel.org/pub/scm/linu...inux-nomadik.git/log/?h=ux500-skomer-v5.5-rc1
Click to expand...
Click to collapse
Wow, that's incredible
Exynos4412 already got some mainline support, it would be very nice to have this one supported too.
Aaaaand it's done, kinda.
ST-Ericsson NovaThor U8500 - postmarketOS
wiki.postmarketos.org
device/testing/linux-postmarketos-stericsson · master · postmarketOS / pmaports · GitLab
postmarketOS package build recipes
gitlab.com

[NOT MANTAINED][ROM][UB][5.1.1] LineageOS 12.1 [NYPON]

LineageOS is a free, community built, aftermarket firmware distribution of Android 5.1.1 (Lollipop), which is designed to increase performance and reliability over stock Android for your device.
Code:
#include
/*
* Your warranty is now void.
*
* 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 ROM
* 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.
*/
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
Installation:
1. Download ROM and copy it onto device
2. Extract boot.img from ROM zip file onto your PC desktop.
3. Connect USB cable to PC.
4. Power off the device and hold Volume+ while connecting other end of USB cable to device. (This will boot device into fastboot mode).
5. Flash the extracted boot.img onto device.
6. Power on the device and start pressing Power Button to boot into Recovery.
7. Wipe System, Data, Cache, Dalvik cache. (DO NOT WIPE SD CARD THERE IS STORED THE ROM FILE).
8. Install the ROM.
9. Reboot and enjoy (First boot can take few minutes be patient please.).
10. (Optional) Download and flash GApps. (This will install Google Play and other Google Apps).
LINK:
Source Code:
CBNUKE: CBNUKE Github
Haxk20: Haxk20 Github
XperiaSTE: XperiaSTE Github
ROM: LineageOS NYPON Build
Feedback:
Feedback is always welcome.
Before posting bug please be sure that you did clean install of ROM and that you post log file with bug report and make the bug report full reported.
Thanks To:
frap129 for Spectrum
Not working List:
1. A2DP (Wont be fixed, Calls works OK)
2. Wifi direct.
3. Video Recording
4. NFC
5. HDMI
6. FM Radio
XDA:DevDB Information
LineageOS for Xperia P [Nypon], ROM for the Sony Xperia P
Contributors
Haxk20, AOSX , XperiaSTE, CBNUKE, munjeni, Agontuk And BlueZ Team
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.0.x
ROM Firmware Required: TWRP Recovery, Unlocked Bootloader
Based On: LineageOS
Version Information
Status: Beta
Current Beta Version: lineage-12.1-2017073
Beta Release Date: 2017-07-30
Created 2017-07-30
Last Updated 2019-10-27
Features and Issues
Code:
- Boot : Ok
- GApps : OpenGApps Micro recommended
- Partitions (Data, Cache) : Ext4 and F2FS supported
- Bluetooth : Ok
- WiFi : Ok
- WiFi Hotspot : Not tested but should work
- RIL - Phone - Data : Ok
- GPS : Ok
- Camera : Ok
- Camcorder : Not working
- Lights : Ok
- Accelerometer : Ok
- Compass : Ok
- Gyroscope : Ok
- Sensors : Ok
- Touchscreen : Ok
- FM Radio : (Probably)Not working
- Vibrator : Ok
- Microphone : Ok
- Audio & music : Ok
- Bluetooth audio : Not working
- NFC : Not working
- Kernel : Ok
- Graphics : Ok
- 3D Rendering : Ok
- Clock : Ok
- Offline Charging : Ok
- USB : Ok
- USB OTG : Ok
- Encryption : Not tested
- SEPolicies : Enforcing
Changelog
Code:
Date: 2017-07-30
- Initial Build
- If you are using English language you will see in settings LineageOS version instead of CyanogenMod. (This was added by me).
Date: 2017-07-31
-Added LineageOS boot animation
Date: 2017-08-01
Nothing just build a ROM in few days will not be a builds i will switch toolchain to linaro the will post daily again.
Date: 2017-08-05
Build with Linaro toolchain 4.9. My reaction to it when i was testing it WOOOOOW thats fast.
Date: 2017-08-08
Added new ADB icon (Lineage)
Added new CM easter egg (Lineage)
Updated kernel to Newer version
Date: 2017-08-11
Nothing just build a rom and tried to fix camera recording but without luck
Date: 2017-08-21
Nothing new just new build uploaded to new File Hosting
Thankyou for your efforts.
I'll try and post some screenshots
UmairSaifullah said:
Thankyou for your efforts.
I'll try and post some screenshots
Click to expand...
Click to collapse
Thanks i forgot screenshots it would be perfect if you post some Thanks.
ss.
looks almost same.
first time boot shows cyanogenmod welcome screen
and when you tap on lineageos version you get the cyanogenmod egg
UmairSaifullah said:
ss.
looks almost same.
first time boot shows cyanogenmod welcome screen
and when you tap on lineageos version you get the cyanogenmod egg
Click to expand...
Click to collapse
Yes i know i will try to do something about that but i cannot say for sure because lineage will not support cm12.1 and not even those ui changes.
How long is the boot time for you ?
well i cannot
UmairSaifullah said:
ss.
looks almost same.
first time boot shows cyanogenmod welcome screen
and when you tap on lineageos version you get the cyanogenmod egg
Click to expand...
Click to collapse
well its like this i cannot change that easter egg since 6.0 lineage have removed custom egg and well 7.1 have .xml files instead of .png
and the same applies to SetupWizard app i even tried to build using the .xml files and failed to build because its too modified Im sorry but well if anybody from LineageOS Developers can update the cm-12.1 branch and change it to lineageOS rebrand it would be great but without that we are stuck at CM logos. :crying::crying::crying::crying::crying:
And i think creating new logo for this rom with Lineage name in it is probably illegal yeah if i use it for my own use sure its ok but im publishing this ROM so i cannot do that too.
I'm trying to get linaro toolchain working on this device to take the lastl drop of performance out of this ROM so it will take maybe a week or less don't know but will be great if I make linaro usable cause as I heard it gives great performance. So hopefully I will include it in next build but I'm not 100% sure.
New build up please let me know if anybody found any bug this is build using linaro toolchain and i haent tested all thing on it so if you found anything please let me know and guys its FASTTTTTT.
Edit: If anybody can please test the ROM with some benchmarking tool and compare it to the 2017-08-01 build result i really want to know how much faster the ROM is Thanks.
Haxk20 said:
New build up please let me know if anybody found any bug this is build using linaro toolchain and i haent tested all thing on it so if you found anything please let me know and guys its FASTTTTTT.
Edit: If anybody can please test the ROM with some benchmarking tool and compare it to the 2017-08-01 build result i really want to know how much faster the ROM is Thanks.
Click to expand...
Click to collapse
antutu benchmark for your build 2017-08-05 : 8550
CBNUKE build 2016-10-02 : 10005
fafaremi said:
antutu benchmark for your build 2017-08-05 : 8550
CBNUKE build 2016-10-02 : 10005
Click to expand...
Click to collapse
Uuuu that's not so good can you test my build with normal toolchain ? That is 2017-08-01 and we're both test runner on clean flash of both ROMs ? Or you had some apps installed ?
But thanks for info at least I know that performance is number one
Build will not be coming out at sundays so next build at Monday with marshmallow kernel. Hopefully if not marshmallow then the latest I can find.
fafaremi said:
antutu benchmark for your build 2017-08-05 : 8550
CBNUKE build 2016-10-02 : 10005
Click to expand...
Click to collapse
Can you please test the 2017-08-01 build and post score here ? Wanna to see If linaro even had some good effect.
Haxk20 said:
Can you please test the 2017-08-01 build and post score here ? Wanna to see If linaro even had some good effect.
Click to expand...
Click to collapse
Link for download this build?
fafaremi said:
Link for download this build?
Click to expand...
Click to collapse
will post tomorrow
antutu benchmark for your build 2017-08-05: 10080 Clean flashed
antutu benchmark for your build 2017-08-01: 10021 Clean Flashed
antutu benchmark for your build 2017-08-05: 12061 Dirty flashed over 2017-08-01 build.
Note: Numbers are approximate because i dont remember the whole numbers ill post screenshots later.
Thats good score
UmairSaifullah said:
antutu benchmark for your build 2017-08-05: 10080 Clean flashed
antutu benchmark for your build 2017-08-01: 10021 Clean Flashed
antutu benchmark for your build 2017-08-05: 12061 Dirty flashed over 2017-08-01 build.
Note: Numbers are approximate because i dont remember the whole numbers ill post screenshots later.
Click to expand...
Click to collapse
Yeah i like that score a lot more then 8550 thank you for testing the builds i see that linaro did little improvment its small but its surely there Thank you.
fafaremi said:
Link for download this build?
Click to expand...
Click to collapse
here is link for 2017-08-01 build i want to see score that you get Thank you.
Build 2017-08-01
Result 10614 Build 2017-08-01
Result 12153 Build 2017-08-05 Dirty Flashed over previous build with gapps
Result 10705 Build 2017-08-05 Clean Flashed.
Result 12099 Build 2017-08-05 Dirty Flashed over previous build without gapps

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

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 August 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
Updates and info channel
Support group
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 Note 8 (2017 Phone)
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
Reserved
Changelog/Downloads
hadesKernel v1.4
hadesKernel v1.3
hadesKernel v1.2
hadesKernel v1.1
hadesKernel v1.0
initial release
Download - hadesKernel_v1.0 - AndroidFileHosthttps://www.androidfilehost.com/?fid=6006931924117882979
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.
One more
Long waited stock close kernel??
Thx again @corsicanu - God of Hades!
Thanks soooooo much
Great... delicius... thanks...
Sent from my SM-N950F using XDA-Developers Legacy app
Is this the same version as what is in the latest hades ROM or are there any differences?
hshah said:
Is this the same version as what is in the latest hades ROM or are there any differences?
Click to expand...
Click to collapse
As mentioned in Telegram, it's the same version as on Hades Rom v7.
Nice kernel. Running fine so far. Thank you.
Some issues.
Hi Dev.
I have tried to flash this kernel because it sounds nice, but after I have flashed it and installed Magisk v19.2 over it my Substratum is not loading themes and Xposed framework not working at all.
Thanks.
EdXposed framework working now
Working fine with dr.ketan room
Sent from my SM-N950F using XDA-Developers Legacy app
Up...
Up...
Sent from my SM-N950F using XDA-Developers Legacy app
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:
hadesKernel_v1.1 - AndroidFileHost
Telegram support
Updates and info channel
Support group
Misc links
Official TWRP for Note8
Official TWRP for S8/S8+
O/P Bootloaders and modems
Click to expand...
Click to collapse
Regards
corsicanu said:
hadesKernel v1.1:
Regards
Click to expand...
Click to collapse
Insane!!
Thank you!
Hi...
For battery life this kernel best or stock??
I cannot get xposed to work with this kernel, any1 could help?
hadesKernel v1.2:
Changelog:
- Merged G95*FXXU4DSE4 May source and N950FXXS6DSF2 June source
- Updated ramdisk to N950FXXS6DSF2 June
- Optimized Integer SQRT. for upto 3x faster operation
- Compiled with GCC 9.1
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:
hadesKernel_v1.2 - AndroidFileHost
Misc links
Telegram Updates and info channel
Telegram Support group
Official TWRP for Note8
Official TWRP for S8/S8+
O/P Bootloaders and modems
Click to expand...
Click to collapse
Regards
My only one problem is , my phone going to deep sleep wlan is going off after some time. But all other fine here.

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

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
Updates and info channel
Support group
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
Reserved
Changelog/Downloads
hadesKernel v1.4
hadesKernel v1.3
hadesKernel v1.2
hadesKernel v1.1
hadesKernel v1.0
initial release
Download - hadesKernel_v1.0 - AndroidFileHosthttps://www.androidfilehost.com/?fid=6006931924117882979
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.
One more
very nice :good:
RAM - 3.4gb
Its always nice to have a variety of kernels for our devices. Thanks dev.
On this kernel TitaniumBackup can not see its copies on the SD card (rom @aliwaris).
Everything OK on the NX kernel.
On my phone with this kernel Titanium Backup works fine and see copy on SD
Substratum
Substratum does not work with this kernel
no problems with Noxxx,any idea?
goatface2106 said:
Substratum does not work with this kernel
no problems with Noxxx,any idea?
Click to expand...
Click to collapse
It's working fine, just follow this workaround after flashing kernel.
https://forum.xda-developers.com/ga...-stock-v1-1-s8-s8-note8-t3891932/post79567893
AndrzejDwo said:
It's working fine, just follow this workaround after flashing kernel.
https://forum.xda-developers.com/ga...-stock-v1-1-s8-s8-note8-t3891932/post79567893
Click to expand...
Click to collapse
It worksThx! :good:
Is running... Thx ?
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:
hadesKernel_v1.1 - AndroidFileHost
Telegram support
Updates and info channel
Support group
Misc links
Official TWRP for Note8
Official TWRP for S8/S8+
O/P Bootloaders and modems
Click to expand...
Click to collapse
Regards
hadesKernel v1.2:
Changelog:
- Merged G95*FXXU4DSE4 May source and N950FXXS6DSF2 June source
- Updated ramdisk to N950FXXS6DSF2 June
- Optimized Integer SQRT. for upto 3x faster operation
- Compiled with GCC 9.1
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:
hadesKernel_v1.2 - AndroidFileHost
Misc links
Telegram Updates and info channel
Telegram Support group
Official TWRP for Note8
Official TWRP for S8/S8+
O/P Bootloaders and modems
Click to expand...
Click to collapse
Regards
Superb kernel fast smooth and better battery life thank you
Awsome ! Can we use NetHunter with his kernel ? (like rubber ducky)
Good Kernel, Tested On My Personal ROM... OK!
MegaloXDA said:
Good Kernel, Tested On My Personal ROM... OK!
Click to expand...
Click to collapse
could i ask u : why do u stop ? becuz some1 says sth stupid ?
Congrat to developer. You have done a great job with this v1.2 kernel. When I first used it was on ROM Hades v17. I had to go back to Hades v16 cause my battery didnt last a day. In the meantime I have updated to Hades v18, even though I was reluctant to do it. I big smile is on my face cause the kernel works nothing less than perfect. Thanks a million.

M3 note ported kernel source and twrp 3.3.0

Dear all,
I successes compiling a kernel (and combined with twrp) for M3 note. Please find the source git below.
Youtube show the new kernel boot with twrp is as below:
https://youtu.be/ps6ngeDPiHc
Code:
PLEASE BE WARNED CRACKING MIGHT MAL-FUNCTIONING YOUR DEVICE. I AM NOT RESPONSIBLE TO ANY DAMAGE MADE. ALSO I AM NOT LIABLE TO ANY OF CAUSE OR DAMAGE MADE.
First of all, kernel tree is available for developer:
https://github.com/99degree/android_kernel_m3note.git
branch: m3note_20190813
Its based on a v3.18.35 kernel from below, credit goes to this git user
https://github.com/mtkkkk/mt6755_wt6755_66_n_kernel.git
TWRP image is provided here, licensed GPL, freely redistribute accordingly to GPL:
http://s000.tinyupload.com/index.php?file_id=68522221679326215968
Short summary:
The branch contain changes to make the Image.gz-dtb kernel code base working with twrp 3.3.0 (ramdisk.gz from elephone P9000)
changes included:
(1)PMIC sm5414 sm5414.c/sm5414.h/charger_hw_sm5414.c
(2)various Makefile and adding missing include path
(3)DT overlay support ported from newer branch
(4)LCM ported from MEIZUOSC/m681/
(5)various other small changes.
The idea to add kernel dt-overlay support is due to it's hacky HW's fw nature, as the combination of (1)unlocked boot-loader, together with (2)Chinese version of lk, both caused dtb overwrite by internal copy, detailed below.
With fastboot boot feature enabled, there come a very development unfriendly feature, aka dt overlay, happened before booting into the kernel. Thus the kernel might not work with many LCM (the info passed down by kernel CMDLINE within DTB node) from other model varient (included but not limited to M681A, M681G, M681C). I have to mention that the m681-intl (at least three variant) version of update.zip DOES NOT have a fastboot boot enabled lk(.bin) provided.
The full list of M3 note variant is as below:
http://deviceinfohw.ru/devices/uplo...0&brand=brand598&filter=m3+note&submit=Search
The base tree is cloned from https://github.com/mtkkkk/mt6755_wt6755_66_n_kernel.git so i dont have any idea what happened in the code. So no garentee the security/feature completeness.
Finally I would conclude the current kernel tree branch with working feature.
(0)unlock bootloader
(1)LCD/LCM
(2)PMIC charger partly supported (sm5414, bq24196) so remove usb cable wont reboot
(3)touch (gt9xx, ft5x0x)
(4)RTC/TEMPRETURE/WDT
(5)MMC/SD (internal/external)
(6)Vibrator
(7)USB mtp/adb
The sm5414 code is port from the original m681 tree from meizuosc, thus not working very well with newer mtk battery driver. BQ24196 driver added but not tested. Other feature are not tested. it might work, or not at all.
Happy hacking.
Uleak
unlock bootloader manually
removed duplicated content, plz refer to below link for unlock bootloader
https://forum.xda-developers.com/m3-note/how-to/m3note-unlock-bootloader-manually-apply-t3957419
technical detail of unlock logic is as below
sec_unlock.c
fastboot_get_unlock_perm {
...
index = partition_get_index(FRP_NAME);
...
size = partition_get_size(index);
unlock_allowed_flag_offset = size - sizeof(unsigned int);
...
}
ok, sizeof(unsigned int) is dword. the offset is (size-1 * dword). so set to 1 means unlock.

Categories

Resources