Related
The first time I made AdaMax was for the Chinese Galaxy S4 Duos GT-I9502. I ported Adam kernel and added more tweaks from other kernels like Persus, halaszk (5420). After several releases, I decidec to spread this kernel to more models. So I built the v8 for both Chinese and international GT-I9500. This thread it for hosting it.
This week, i successed compiling for the s4 with 5410 cpu. As we know GT-I9500, GT-I9502 and SCH-I959. They share almost same compiling configure and their own ramdisk. So I compile them together with almost same features.
At last, I have to make following declarations, AGAIN:
Take your own risk and responsibility on flashing this kernel. I am not responsibale for any loss of your hardware, software, data or warranty.
Read this OP from start to finish before flashing the packages or asking any questions. There is a Q&A section. Any questions already answered will be ignored by me and may be insulted by other members. So save your your keyboard, your time and your data traffic.
No ETAs.
Don't ask me to make this kernel for a specific rom. There are basically only two kinds of roms, AOSP and TouchWiz. So I compile for these two kinds with differnet SDK levels. If it dose not work on some rom, don't blame me and ask me to adapt the rom for it.
If you found a new version, but its download link is not directly showed in this OP, that means it is a version I don't think good enough to be a release. So take your own risk to use it. I will remember your feedback, try to make changes, but not respond with posts.
Thanks to a lot of people, I will add their names here... @wanam, [email protected], @Dees_Troy and Team Win, @AndreiLux
As my habit, I always put the download link first:
v15: https://github.com/maxfu/android_kernel_samsung_exynos5410/releases/tag/v15-9500
File name instruction:
touchwiz: for most used international GT-I9500 with exynos5410 cpu.
aosp: for AOSP KitKat 4.4 roms like CM, ramdisk comes from CM 11
kk442: kernel for KitKat 4.4.2
jb43: kernel for Jelly Bean 4.3
jb442: kernel for Jelly Bean 4.2.2
lite: live version is built with stock zImage and maxfour initrd. It has limited maxfour features. And sometimes selinux f**ks up the STweaks.
boot: system kernel package
recovery: recovery kernel package
kernel: system + recovery combined kernel package
*.tar/*.tar.md5: Odin package
*.zip: CWM/TWRP recovery package
example.1: boot-i9500-aosp kk442-v10f1tc.zip means a system kernel image CWM/TWRP flashable package for international I9500 with TouchWiz KitKat 4.4.2 roms.
example.2: kernel-i9500-aosp-kk442-v10f1tc.tar.md5 means a system recovery combined odin package for international I9500 with AOSP roms like CM.
Old versions:
v14: https://sourceforge.net/projects/maxfuacm/files/Kernel/MaxFour/v14/GT-I9500/
v13: https://sourceforge.net/projects/maxfuacm/files/Kernel/MaxFour/v13/GT-I9500/
v12: https://sourceforge.net/projects/maxfuacm/files/Kernel/MaxFour/v12/GT-I9500/
v11: https://sourceforge.net/projects/maxfuacm/files/Kernel/MaxFour/v11/GT-I9500/
v10f1: https://sourceforge.net/projects/maxfuacm/files/Kernel/MaxFour/v10f1/GT-I9500/
You can always go to the following addresses to see whether there is a new version:
https://github.com/maxfu/android_kernel_samsung_exynos5410/wiki
https://github.com/maxfu/android_kernel_samsung_exynos5410/releases
I open the issue section for the source code, you can report problems here. Please provide at least version aosp/touchwiz jb/kk.
https://github.com/maxfu/android_kernel_samsung_exynos5410/issues/new
The source code:
You can
git clone https://github.com/maxfu/android_kernel_samsung_exynos5410.git
git clone https://github.com/maxfu/initramfs_samsung_galaxy_s4.git
git clone https://github.com/maxfu/toolchains.git
use the build.sh for exynos in toolchains/script ro build the kernel.
you need to su before build the kernel cause the ramdisk belongs to root.
Since this is a side product of my kernel for GT-I9502 which is the phone I am currently using. I don't actually test this build for GT-I9500, so I really need feedback. And please backup your rom before using this.
Features:
Built with OSRC KK 4.4 source and ramdisk, now it should work on many 4.4 roms.
Contains most features from Adam kernel including Wolfson Audio Control. For I9502 which uses yamaha sound chip, Wolfson Audio Control will be hidden automatically since it does not work.
From v10, the kernel is renamed to MaxFour due to wamam's request.
Kernel + Recovery release at one time, recovery based on TWRP with EFS_GSM (for Chinese Duos devices) support.
Compiled with GCC 4.8 toolchain from Google NDK r9c.
Packed in LZMA format to make smaller images.
Native exfat support based on OSRC exfat source code.
UCI script for STweaks and may be others.
Unlocked some hidden CPU frequency: 2.0GHz, 1.9GHz, 1.8GHz, 1.7GHz, 800MHz, 700MHz for big cores; 1.3GHz, 1.2GHz, 400MHz,
300MHz, 200MHz for little cores. Frequencies over stock like 1.7GHz for big cores and 1.3G for little cores are implemented in tc*/overclock version.
Added more STweaks settings which are not included in Adam kernel, including CPU power management, Tools with reboot options, GPU settings, CPU governor.
Android logger is compiled as standanlone module, so user can disable it completely to save power.
Tc/overclock version contains Persus dvfs for GPU with 700MHz overclock, thanks to AndreaLux.
Built-in Seeder entropy generator to provide lag reduction although it is not significant as it was on Gingerbread.
Built-in busybox with auto-installation.
Optimize on ram.
Added several I/O Schedulers including ZEN and ROW.
Built-in dynamic eMMC read ahead
Built-in Asynchronous Fsync
Compiled with compile flag for Cortex-A15 and NEON
Disable KNOX and SELinux when booting, selinux will be set to permissive with the boot command line.
init.d support.
A lot of changes and fixes.
Disabled a lot of rarely used devices support.
PS:
*1. TC means turbocharged, so it is overclock
Change Log:
v15:
Rebuild with GT-I9502 CHN KK Opensource from OSRC.
Upgrade KSM (Kernel Samepage Merging) to uksm (Ultra KSM) which has Super quiet CPU usage, Ultra scan speed and High CPU efficiency.
Support init.d.
Lower CPU frequencies presented in previous versions, voltage options coming soon.
GPU tweak presented in previous versions.
STweaks cueerntly unsupported, coming soon.
mDNIe and Sound Control coming soon.
AOSP support coming soon.
v14:
Upgrade kernel to 3.4.10
Implement AES-ARM and SHA1-ARM crypto algorithm
Rollback selinux related script to v11
v13:
Rebuilt source tree from HNC6 source.
Most features kept
INT, MIF, MEMIO settings removed, these should not be touched
Should be much better than v12
Fixed video bug for AOSP, I think it is fixed
Upgraded AOSP initramfs, may fix the modem/signal problem
Set ro.secure and ro.adb.secure to 0
Camera lag? Less.
Upgraded busybox
v12:
I don't want to talk about it, this version is totally a rubbish
v11:
STweaks: Added Chinese UI, works on Chinese system, when the language is set to other ones, English UI will show. An templete is provided for more translations.
STweaks: Added boost mode in the Misc tab. The boost mode is found when the news of Samsung cheating on benchmark softwares came out. When a benchmark software is detacted running, the boost mode will be on to allow higher temprature and faster CPU scaling. Simply turn on this mode will not provide any visable change, it should be used with CPU, GPU, INT, MIF clock operations.
STweaks: Added control for Internal, Memory Interface and Memory I/O.
STweaks: Added a button to switch the USB mode to Mass Storage Mode, which is classical mode before GingerBread got out dated.
STweaks: Added a CPU wake lock switch.
STweaks: Added instructiuon of Sound Control being not available on models other than I9500.
STweaks: Added instruction of GPU voltage control being not available on non-tc versions.
Kernel: Added a odin mode. Now we can reboot to download mode with "adb reboot odin". The original commands still work.
v10f1:
initial build for XDA users.
Q&A:
I did not reserve a post for this section, so I will put the Q&A here in the OP.
Q: Which package should I use? A: boot is what you need. recovery is just a side product.
Q: Which version I should use? A: Please the "File name instruction" section in the OP, you will find the answer.
Q: Do I need to wipe the data after I flash? A: Well I don't think you need, but due to some report, wiping data can solve certain problems after flashing this kernel. So whatever you like, please backup data before you flash or wipe.
Q: Which rom does this kernel support? A: I can't tell, please refer to the File name instruction section, if you rom is not mentioned there, it is not supported?
Q: Does this support MIUI? A: Official MIUI is based on touchwiz 4.2.2. So please refer to Q2,3,4.
Q: There is no OC in tc version. A: In the init.rc there is a script limiting the CPU frequency to 1.6GHz, so you should use STweaks to unlock it. Please open /sys/devices/system/cpu/cpu0/cpufreq/UV_uV_table, if there is 2000 1900 1800 and 1700, then there is OC, just unlock it.
Q: Some app FC? A: Usually FCs are not due to the kernel, check the rom first, and settings etc, the kernel should be the last reason, cause it just provide the bridge between the system hal and hardware. Report the fc, I will take a look, but I can not say I can fix it.
Q: Battery life? A: It is due to your habit, just like driving a car, a Toyota Prius can use 10L gas if driven by somebody like Michael Schumacher. As my test, due to my habit with non tc version, it is better than stock.
Q: Do I need STweaks to run the kernel? A: The kernel can run without it, but with it you can have more options.
Q: STweaks shows "unextected error"? A: This situation usually happens at the first time STweaks starts, it is OK. Just go on using STweaks.
Q: STweaks FCs. A: Well this sometimes is due to the kernel, sometimes. Here is something you can do: Wipe the STweaks' data, remove /data/.maxfour and /data/.adamax, check the superuser software and give STweaks root access. And yes you need root access. At last, use normal version.
Q: Auto root? A: Use the CWM zip package. And I would take it out soon. Sometimes it breaks root.
Q: Not actually auto-root with v13? A: Yes, v13 will put a wizard like app which will lead you download SuperSU, only when your rom is not rooted.
Q: Conservative governor stock at certain frequency? A: Don't use it, only ondemand governor is optimized for 5410 with big.little cores.
Q: Can you add something? You must do something? Please do something? A: I take advice, but not demand. The reason is simple: I make this kernel due to my interests, not purchase orders. I am not funded for doing this. If the advice is good, I'd take it. If it is just a personal preference, I have to consider it.
Q: Got very low volume of sound? A: Use stweaks, I9500 has wolfson sound control.
Q: Video color is not correct, got blur faces. A: v13 should have this issue fixed.
Q: No internal storage access permission. A: I will make a workaroung later. For now, remount it with rw option through adb.
Q: Random reboot. A: Well, it exists, I admit. I don't know why. I will look for the reason.
Q: After flashing, the phone won't boot. A: Well, I can't guarantee that this kernel works everywhere. And please check if you are using the correct version.
Q: When is your next release? A: I don't know either.
Q: I flashed, it doesn't work. A: Well, it does not work. I don't know why cause it just don't work. I only answer information-rich questions. Questions like this is only a waster of your keyboard, your time and your data traffic. Please at least tell me which version and what rom you are using.
Q: Anything asked above. A: I will keep silence. Other people may insult for this.
Q: Why don't you answer/respond our questions? A: I am a employee, husband, father and son of someone other than XDA and you.
maxfu said:
The first time I make AdaMax is for the Chinese Galaxy S4 Duos GT-I9502. I ported Adam kernel and added more tweaks from other kernels like Persus, halaszk (5420). After several releases, I decidec to spread this kernel to more models. So I built the v8 for both Chinese and international GT-I9500. This thread it for hosting it.
Thanks to a lot of people, I will add their names here...
As my habit, I always put the download link first:
https://github.com/maxfu/android_kernel_samsung_galaxy_s4/releases/tag/9500v8
The uploading is still on going...
Features:
Based on OSRC GT-I9500 JB Opensource Update4 source tree.
Contains most features from Adam kernel, so this kernel is called Adam + Max.
Kernel + Recovery release at one time, recovery based on TWRP with EFS_GSM (for Chinese Duos devices) support.
Compiled with GCC 4.8 toolchain from Google NDK r9c.
Packed in LZMA format, smaller images.
Native exfat supportbased on OSRC exfat source code.
UCI script for STweaks and may be others.
Unlocked some hidden CPU frequency: 2.0GHz, 1.9GHz, 1.8GHz, 1.7GHz, 800MHz, 700MHz for big cores; 1.3GHz, 1.2GHz, 400MHz,
300MHz, 200MHz for little cores.
Frequencies over stock are implemented in overclock (tc/turbocharged) version.
Added more STweaks settings from Adam kernel, including CPU power management, Tools, CPU settings, CPU governor.
Logger module is compiled as standanlone module, so user can disable it completely to save powew.
Overclock (tc/turbocharged) version contains Persus dvfs for GPU with 700MHz overclock, thanks to AndreaLux.
Disabled a lot of rarely used devices support.
Built-in Seeder.
Built-in busybox with auto-installation.
Optimize on ram.
Added several I/O Schedulers including ZEN and ROW.
Built-in dynamic eMMC read ahead
Compiled with compile flag for Cortex-A15 and NEON
Disable KNOX and SELinux when booting
init.d support.
A lot of changes and fixes.
Click to expand...
Click to collapse
Most features of Adam & Perseus Kernel. Does this include the Wolfson Audio Control?
Paolonicus said:
Most features of Adam & Perseus Kernel. Does this include the Wolfson Audio Control?
Click to expand...
Click to collapse
I kept the feature, so it should show up in STweaks on I9500. I am using 9502 which does not have the feature so I can not test it. When I compile for 9500, sound control is enabled.
@maxfu Is this kernel for the 4.3 or 4.4.2?
a2441918 said:
@maxfu Is this kernel for the 4.3 or 4.4.2?
Click to expand...
Click to collapse
Sorry I did not directly mention. It is for 4.3 JellyBean.
maxfu said:
Sorry I did not directly mention. It is for 4.3 JellyBean.
Click to expand...
Click to collapse
Can you please mention it in the op please it's very confusing.
Thanks.
Sent from my GT-I9500 using Tapatalk
Will there be version for Kitkat?
This is something that prevents me from flashing the newer version of Android.
Paolonicus said:
This is something that prevents me from flashing the newer version of Android.
Click to expand...
Click to collapse
If Samsung releases the source code for 4.4, I will.
Paolonicus said:
This is something that prevents me from flashing the newer version of Android.
Click to expand...
Click to collapse
I have a good news for you. I found I9500XXUFNB1: GT-I9500_KK_Opensource.zip, so I will push it up in several days.
How about battery life and performance compared to stock kernel?
Sent from my GT-I9500 using XDA Premium 4 mobile app
snxxxxx said:
How about battery life and performance compared to stock kernel?
Sent from my GT-I9500 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Well it is hard to say. If you use the normal version, it should be battery friendly. The tc version is overclocked. Due to my 3DMark result, the overclock version maxied out the First and Second stage tests.
maxfu said:
Well it is hard to say. If you use the normal version, it should be battery friendly. The tc version is overclocked. Due to my 3DMark result, the overclock version maxied out the First and Second stage tests.
Click to expand...
Click to collapse
If you can Make it AOSP support also
Thanks maxfu for the contribution...will try soon. You didn't mention about the screen color option from perseus kernel. Is it there?
Yesss at last some hope for 4.4 custom kernel!! Thank you Maxfu for continuing Wanam's legacy.
Wow!
maxfu said:
I have a good news for you. I found I9500XXUFNB1: GT-I9500_KK_Opensource.zip, so I will push it up in several days.
Click to expand...
Click to collapse
Sweet! Can't wait to try you kernel! Thanks a bunch!
For AOSP, I will try.
Sent from my GT-I9502 using xda app-developers app
great to see another addition to kennels for gt -9500. please also add support fir miui.
Sent from my GT-I9500 using Tapatalk
Some Proposals
1. Auto Install Stweaks
2. Clearly describe CPU Options which one for big cores and which for little cores
3. Don't lock GPU Frequency at 532MHz as i see by default ... maybe more relaxed 177-532 settings?
4. SELinux is set to Permissive by default ... maybe set as Disabled?
and maybe some very useful Insecure version please?
ro.secure=0
ro.adb.secure=0
(computer translation)
Hi, I already flashed Adam Kernel on my S4. Can I simply flash this Kernel on recovery or do I need to do something else?
Dnssuffix said:
Thanks maxfu for the contribution...will try soon. You didn't mention about the screen color option from perseus kernel. Is it there?
Click to expand...
Click to collapse
If it is in Adam kernel, then it is here. There is a screen tab in STweaks.
Hi oneplus2 people!
This is my modified kernel with some kernel optimizations and some compiler optimizations.
The goal of abyss is to achieve improved performance/battery without the cost of stability.
I will not be overhauling this project with changes that are not logical to add.
This kernel should work on the latest 7.x.x roms like CyanogenMod.
It might work on other roms, but there will be little support for them.
How does one achieve this?
- build kernel with an optimized toolchain
- use compiler optimization flags (experimental)
- remove redundant code
- improve existing code with more efficient code
- etc. (most are not so easy to explain)
This kernel is built with mdalexca's latest UBER GCC 4.9.
Is there actually a performance improvement?
With all the changes added up, there should be. Whether or not one notices the difference is another thing.
For those interested in how the kernel optimizations will benefit/work, please look at my github source and read the commit messages.
For those interested in how the compiler optimizations/hacks will benefit/work, please look at this article.
Downloads:
Latest release
BasketBuild
Source:
GitHub
This was made by request from dsst22 who also tested this bad boi like crazy.
XDA:DevDB Information
abyss kernel for the OnePlus 2, Kernel for the OnePlus 2
Contributors
kwoktopus, dsst22, OnePlus, grarak, The Flash, arter97, Lord Boeffla, frap129, Linux, Google, CAF, a bunch of other major OEMs
Source Code: https://github.com/abyss-kernels/oneplus2
Kernel Special Features:
Version Information
Status: Nightly
Current Stable Version: 1.20
Stable Release Date: 2016-12-05
Created 2016-12-05
Last Updated 2016-12-13
Key Changes:
- upstream interactive governor (with Flash 1.0 profile by The Flash) (Google and CAF)
- upstream cpufreq driver (Google and CAF)
- upstream cpu-boost driver (Google and CAF)
- upstream random driver from Linux 4.1.31 (performance..!)
- slub/slab/slob/vmalloc patches
- flar2's slightly modified thermal driver
- using Linaro's power efficient workqueues throughout kernel
- using Adreno idler by arter97 to reduce frequency scaling without performance cost
- using power efficient "relaxed" macros throughout kernel (assembler)
- KCAL Control Driver by Savoca
- Android-Keyboard patch, use your device as an external keyboard!
- too many to list here, check out my source
How to install:
Place zip in to your internal storage
Place current ROM zip on to your storage
Boot into TWRP recovery
(If you're coming from a different kernel, dirty flash current ROM)
Flash kernel zip
Reboot
Don't like the defaults?
Use Kernel Adiutor to change the settings!
Frequently Asked Questions:
Is this a custom kernel?
I was asked this question once, and it posed as a real good question. I do not consider abyss to be a "custom kernel" per se, but more so as a modified kernel. The patches and features that go into this kernel do not make it customizable. What they do is improve what has already been implemented. It is like swapping a car's engine for a better one rather than just adding LED flooring lights and fancy car mats.
Can you add [this] and [that] feature?
Something I pride myself with this kernel is that it does not have a bunch of random, useless features or patches mashed into it. Everything put into this kernel is thought out and tested. I see a lot of works being made popular because it has [this] and [that] feature when really, it's nothing revolutionary. As a matter of fact, most things added to any kernel will not make it 5x better than any other kernel. Most of the time, simple is better; and in this case it definitely is!
For me
Thanks! I'll give it a go.
Giving it a go
Yess! Been waiting for this ever since i saw your OP2 repo!
Does this kernel install on a f2fs formatted system?
suraj.das said:
Yess! Been waiting for this ever since i saw your OP2 repo!
Click to expand...
Click to collapse
You can thank @dsst22 for helping with testing, or else you would have waited a very long time :silly:
socialdistortion said:
Does this kernel install on a f2fs formatted system?
Click to expand...
Click to collapse
I have not made any file system changes to the kernel. If the stock CM kernel supports, then this one will too.
Is kcal support present..??
chl1810 said:
Is kcal support present..??
Click to expand...
Click to collapse
unfortunately no.
good to see new kernel for our device, thanks and good luck
suraj.das said:
unfortunately no.
Click to expand...
Click to collapse
I wish it had
chl1810 said:
I wish it had
Click to expand...
Click to collapse
I can remember the YoshiShaPow falcon kernel
chl1810 said:
I wish it had
Click to expand...
Click to collapse
In the future
PeterImmel said:
I can remember the YoshiShaPow falcon kernel
Click to expand...
Click to collapse
You can probably see how much I've grown as a developer since then too :angel:
Works on a f2fs filesystem based rom. Testing it now...
Edit: No obvious bugs at the moment. Is it possible to implement some sort of charging control. The USB charging speed is super slow (on both this kernel and stock CM kernel).
kwoktopus said:
In the future
Click to expand...
Click to collapse
Nice!! thank you!!
Pretty smooth haven't found any bugs. Love the simplicity.
I can't imagine what it would be like with a little over clock.
adame09 said:
Pretty smooth haven't found any bugs. Love the simplicity.
I can't imagine what it would be like with a little over clock.
Click to expand...
Click to collapse
I trust the engineers that designed the chip to choose a safe maximum clock speed. Here's a pretty good article on the risks vs benefits, which outline some strong points.
But, if I were to add it, I would set the max value at boot to stay as stock values; so I'll leave it up to @dsst22 to decide.
I'll try this out for you dude. Impressive what you've done.
Hi all, now I'm going to present my own custom kernel for Oneplus One!
Feature list:
Compiled with Linaro GCC 6.2 ARM toolchain
kexec patch (Multirom support)
UV support
Working button longpress on wired headset
KCAL display control by savoca
Kernel Samepage Merging (KSM)
Simple Thermal driver by franciscofranco
Qualcomm's MPDecision hotplugging driver is replaced by Nvidia's CPUQuiet for better UX (backported 3.10 version)
CAF's CPU boost driver is replaced by sultanxda's cpu_input_boost driver
Tuned Interactive governor with franciscofranco patches (better freq scaling)
Custom camera blobs from OOS 3.x on any (almost) ROM!
Optimized Low Memory Killer (LMK)
Charging current control by boeffla
QoS patches from Linux 3.10 kernel
Optimized FSync algorithm and ability to disable it <-- Use with caution!
Many many other little adjustments (Over 660 changes have been made to the kernel source!)
Anykernel installation
Very smooth UI
Almost full KA support (WiP)
I've forgotten much, you can check my source on Github
Installation:
Download latest kernel and camera blobs zips (you have to flash blobs only once or after ROM reflash)
Reboot recovery
Flash them
Reboot
Contact me:
If you found any bugs/something doesn't work or you have feature request, contact me in Telegram group
Downloads:
Bacon (OOS 3.x blobs): link
Credits:
franciscofranco, flar2, eng.stk, arter97, sultanxda, lord boeffla and many other people: for contributing to Android kernel development
jcadduono for lazyflasher
@KalilDev for making template for this post because I'm lazy ass very busy
XDA:DevDB Information
ab123321 kernel, Kernel for the OnePlus One
Contributors
ab123321
Source Code: [url]https://github.com/ab123321/android_kernel_oneplus_one/[/URL]
FAQ:
Q: What should I flash first: blobs or kernel?
A: It doesn't matter
Q: Which ROMs are supported?
A: Nougat ROMs with CM kernel are supported. It's most of ROMs for Oneplus One (LOS, AICP, RR etc).
Q: I have issues!
A: Flash ROM => flash SuperSU/Magisk (optionally) => flash needed kernel and blobs
Q: I sill have issues!
A: Take logcat and kmsg and send me in PM (Telegram preferred)
Q: I flashed my favorite Boeffla kernel and camera stopped working! Help!
A: If you want properly working device with custom blobs, flash this kernel, not any other (except it is mentioned by kernel author).
Changelog:
4_2 (09.03.2017) - Simple GPU Algorithm is replaced by Adreno idler, switched from Anykernel to lazyflasher, performance improved much (battery may drain). Now you can flash kernel on ROM with sultanxda camera HAL
3 (17.02.2017) - sultanxda version of blobs is dropped, added lionheart governor, fully reworked default performance profile (better performance and battery life), default read ahead size is 512KB by default
2_1 (06.02.2017) - Little adjustments to sultanxda version (both kernel and blobs zips updated), no need to update if you're currently on beta2. Alpha2_1 version of OOS blobs
beta2 (01.02.2017) - SELinux is set to Permissive mode by default to fix most of camera problems; updates from LineageOS; some charging fixes
beta1 (26.01.2017) - Initial Release
Finally the magic begins.
The magic is out!
Good job
Interesting. So you're saying you can flash this kernel on any ROM and have SultanXDA's camera HAL?
Claudiosvs said:
Interesting. So you're saying you can flash this kernel on any ROM and have SultanXDA's camera HAL?
Click to expand...
Click to collapse
You are right
Do I need to flash sultan blobs separately on lineageos??
Thanks for this mileage.
Installed both zips over the latest resurrection remix 7.1.1 and unfortunately the camera keeps crashing when trying to take photos and videos. Tried with the main and secondary camera and also with flash on and off.
Also saw that 1080p and 2.5k video recording of the secondary camera is not present, so i guess is still a WIP
Logcat after the issues: https://drive.google.com/file/d/0B25zhqsy3xaYSHNQOGd1T1dkaEE/view?usp=drivesdk
Kernek log: https://drive.google.com/file/d/0B25zhqsy3xaYZjFhbEhnQ01CdFU/view?usp=drivesdk
Does this kernel have uv support?
mustang_ssc said:
Thanks for this mileage.
Installed both zips over the latest resurrection remix 7.1.1 and unfortunately the camera keeps crashing when trying to take photos and videos. Tried with the main and secondary camera and also with flash on and off.
Also saw that 1080p and 2.5k video recording of the secondary camera is not present, so i guess is still a WIP
Logcat after the issues: https://drive.google.com/file/d/0B25zhqsy3xaYSHNQOGd1T1dkaEE/view?usp=drivesdk
Kernek log: https://drive.google.com/file/d/0B25zhqsy3xaYZjFhbEhnQ01CdFU/view?usp=drivesdk
Click to expand...
Click to collapse
Thanks! Until I fix this, try to use ut with SELinux Permssive. 1080p and 2.5k formats support is on ROM side
Anyone with official LineageOS? Results? Haha
Gawd said:
Anyone with official LineageOS? Results? Haha
Click to expand...
Click to collapse
It works fine.
Fatsodonkey said:
Does this kernel have uv support?
Click to expand...
Click to collapse
No.
Btw, turn on permissive so that it can save pictures/not crash.
f41lbl0g said:
It works fine.
Click to expand...
Click to collapse
Including the camera? Like literally sultanxda's?
Gawd said:
Including the camera? Like literally sultanxda's?
Click to expand...
Click to collapse
Yes, its literally magical but it works. Try it for yourself.
Awesome kernel, great battery and slick performance.
So this is it. A prophetic hero who would arise to port Sultan's kernel works to Nougat.
Guess I'm keeping my OPO for another year.
flashed the kernel
also flashed the sultan camera libs, no camera crash experienced, so far great, i cant tell the difference though
Hey! Is this a caf kernel?
cudi90 said:
Hey! Is this a caf kernel?
Click to expand...
Click to collapse
It's CM kernel
Introduction
Hello everyone, this is my personal continuation of the famous Flash Kernel by Nathan Chancellor for the OnePlus 5/T.
This kernel is made with a focus on performance, battery life and stability.
You got the choice between a HMP version and a EAS version of the kernel.
Hopefully you will enjoy it!
Important thread information!
If you got issues please provide a log.
If you got feature requests, just ask.
OT is allowed.
Flash instruction
On OOS stock kernel:
- Flash kernel zip
On custom kernel:
- Dirty flash stock rom
- Flash kernel zip
Features
Major features of both (HMP and EAS) kernels
- Up to date with OOS (Stable and Beta)
- Up to date with the latest stable Linux version
- Up to date with the latest CAF tag
- Mainline patches from Linux, focusing on bug fixes/security
- Mainline CFQ scheduler improvements
- Kernel hardening from CopperheadOS
- Disables dm-verity
- Several subsystems converted to use power efficient workqueues
- Accidental touch protection on hardware keys
- Backlight dimmer
- KCAL color control
- Sweep2sleep
- Sound control
- Wakelock blocker
- Latest WireGuard snapshot
- Westwood as the default TCP algorithm
- Built with a self compiled Clang 7.0.3 toolchain
- USB fast charge
- CPU Boost improvements
- Pixel2Oreo WiFi MOD v5 Stable included
- Wake Gestures
- Notification LED Control
EAS specific features:
- Schedutil governor
- Dynamic stune boost
HMP specific features:
- CPU input boost
- Devfreq boost
- Simple LMK
Downloads
Primary
Archive
Sources:
Kernel: https://github.com/crian/kernel_oneplus5
AnyKernel: https://github.com/crian/AnyKernel2
Credits and Thanks:
- @nathanchance for Flash and inspiration
- @osm0sis for AnyKernel2
- @Sultanxda for being a Dev
- @franciscofranco for having some nice stuff
- @RogerF81 for WiFi MOD
- @joshuous and @RenderBroken for EAS
- @azaidi for Adaptive Stune app
- and all the other amazing Devs out there
XDA:DevDB Information
[KERNEL][OOS 8.1.0 TREBLE][CLANG] Reverse Flash, Kernel for the OnePlus 5
Contributors
crian
Source Code: https://github.com/crian/kernel_oneplus5/tree/reflash
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v2.1
Stable Release Date: 2018-10-25
Created 2018-09-13
Last Updated 2019-01-05
Misc
Adaptive Stune app
This app calculates the Dynamic stune boost on the EAS kernel for each activity you are running.
It optimizes battery drain while aiming for 60 FPS.
This a slightly modified version of @azaidi's work.
Instruction
- Install the apk
- Give access and su permission
- Settings are available via long-press shortcut
Download
AdaptiveStune.apk
Source
https://github.com/crian/AdaptiveStune
Great.. Will try out soon.. Hopefully will be as good as what Nathan put out.. Really sad he sold his oneplus 5.
Edit: does this include latest CAF updates?
Sent from my OnePlus 5 using XDA Labs
Is this unified by any chance?
persieghini said:
Is this unified by any chance?
Click to expand...
Click to collapse
Yes it's unified.
Custom support?
evanxyj said:
Custom support?
Click to expand...
Click to collapse
Nope. Currently only for OOS.
crian said:
Nope. Currently only for OOS.
Click to expand...
Click to collapse
Hi! Do you know whether this kernel exposes battery life / capacity information ? I recall when I had a 1+3t some kernels did that.
Added to the OnePlus 5 Index Thread here.
crian said:
Yes it's unified.
Click to expand...
Click to collapse
Sorry for the noob question but does unified mean 5 and 5T or single kernel could be flashed on both Stable and beta OOS for OP 5?
Sy1ar said:
Sorry for the noob question but does unified mean 5 and 5T or single kernel could be flashed on both Stable and beta OOS for OP 5?
Click to expand...
Click to collapse
It supports 5/T and stable/beta.
shadowstep said:
Added to the OnePlus 5 Index Thread here.
Click to expand...
Click to collapse
Thanks!
Nice to see a new kernel here. Wish you good luck
The kernel is running perfectly on Open Beta 18! Thank you very much for continuing the Flash kernel for OxygenOS ROMS.
@franciscofranco @nathanchance It would be awesome if users will download this kernel using FK Kernel...
crian said:
It supports 5/T and stable/beta.
Click to expand...
Click to collapse
Is this hmp or EAS? Gonna give it a try
@crian Seems promising.. Your kernel is actually on par with what @nathanchance put out..
Anyway do you include latest CAF updates as well?
Sent from my OnePlus 5 using XDA Labs
infatality said:
@crian Seems promising.. Your kernel is actually on par with what @nathanchance put out..
Anyway do you include latest CAF updates as well?
Click to expand...
Click to collapse
Latest CAF kernel.lnx.4.4.r27-rel and wlan driver are merged in.
Update to v1.1
Changelog
- Upstreamed to Linux 4.4.156
- CPU Boost improvement (Apps start faster on a cold launch)
- USB fast charge
- Upstreamed Android Binder
- Removed Dynamic SchedTune Boost (it is not very effective on a HMP kernel)
Download
Primary: https://raw.githubusercontent.com/crian/rf-zips/master/stable/ReverseFlash-OP5-v1.1.zip
Archive: https://github.com/crian/rf-zips/tree/master/stable
Commits: https://github.com/crian/kernel_oneplus5/commits/reflash
Thanks @crian! I've been waiting for something like this! Great to see someone's continuing Nathan's great work
Hi everyone,
I use a Wireguard always-on VPN on my OnePlus 7T.
I'm rooted with magisk.
I would like to get better performance and less battery drain with my VPN, so I heard it could run using a kernel module, instead of a user-land code.
When I go in Wireguard app, I get the error "No modules are available for your device".
I would like to know what is necessary to get such module ? Who is in charge of making it ? (Wireguard developers ? OnePlus developers ? Magisk developers ?) And how can we help to get this module done ?
Thank you.
Florent
Yeah you'd need to bake it into the kernel. Find a kernel for a snapdragon 855 device that has wireguard support and ask them. I'm sure someone has made a guide.
Why do we need a *new* kernel ? We can't build kernel modules on Android ?
OnePlus has published 7T kernel sources : https://github.com/OnePlusOSS/android_kernel_oneplus_sm8150/tree/oneplus/SM8150_Q_10.0
Use Blu spark kernel it says wireguard support