[KERNEL] [EOL] [OnePlus3T] [OOS 5, 4, 3] Boeffla-Kernel (16-01-2019) - OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve

*** This kernel is now end-of-life, not supported and developed anymore !!! ***
Hi all,
some of you know me from the other OnePlus or Samsung devices areas, where I provide my kernels already for more than three years to OnePlus 3, 2, one and X, Galaxy S5, S3 and Note 10.1 users for all sort of platforms (Samsung, Cyanogenmod, Omnirom etc.)
Please note:
I am not heading to have as many features as possible implemented, this is not my design goal. If you are more into that, move on to other, good existing kernels. If you are searching for a good mix of improvements and new functions while not sacrificing stability, you are welcome here (see below the history section for more info).
Compatibility
Important: This kernel is only meant to be compatible with official OnePlus OOS and nothing else.
So when the kernel does not run on custom rom XYZ, do not even bother me with it or ask hundred times in the thread for compatibility.
I could not care less about it !!
To add: An open beta (aka community build) is NOT an official build supported here. If you use a community build and have issues, don't complain or even report. I am not merging any kernel changes from open betas into my kernels !!
Important notes
When using new anykernel concept Boeffla-Kernel: Flash stock kernel of rom first !
This kernel is ONLY compatible to OxygenOs stock, nothing else !!!
If you are using a custom rom that bases on OxygenOs, it might work. However, if it does not work, do not expect me to do tweak to make the kernel running with your favorite rom. I would not do it - my one and only reference is OxygenOs stock.
It is not supposed to be compatible to CM, HydrogenOS etc.
Also note: You have to use Boeffla-Config app which I provide on my homepage to tweak the kernel. 3rd party apps will not be able to unleash the full power of the kernel.
Installation
Read the install instructions in the support section on the Boeffla Site.
Support
First read the FAQ section on the Homepage !!!
Click here to learn about all possible kernel settings in the config app (outdated at the moment).
Click here to learn about using the config app (outdated at the moment).
I will refuse to give support if you do any undervolting/overclocking and experience freezes or hot reboots.
I will also not provide any support if you do not use Boeffla-Config app to tweak the kernel, other 3rd party tweaking apps are known (and intended) to cause issues.
I will refuse to give support if you have xposed framework installed and reporting any kind of weird issues. My opinion to xposed it quite clear: too powerful for >90% of the users that just mess up their system with it.
Otherwise, you can get in touch with me via the support e-mail address: [email protected]
Please provide kernel version, rom version, a detailed issue description and ideally supporting screenshots or log files.
Change logs
(you can also access them directly in Boeffla-Config V2 by pressing menu and selecting "change log...")
Change log for OxygenOS 4.x.x kernel - Click here
Change log for OxygenOS 3.x.x kernel - Click here
Known issues
none
Features
Note: This kernel only runs on OOS 3.x.x for the OnePlus 3T - nothing else !!!
Support of anykernel concept (only latest kernels) - flash stock kernel before flashing Boeffla
Full integration with Boeffla-Config V2 (you need at least version 2.4.21 or higher !!!) configuration app (get it from http://www.boeffla.de) to configure all kernel settings
Dash charging fully supported
The two CPU clusters (big and little cpu) can be configured completely separate in terms of min/max frequencies, governors and CPU core profiles
Additional governors: Impulse, zzmoove, elementalx, conservative, ondemand, blu_active
Additional schedulers: fiops, bfq, sio, sioplus, fifo, vr, tripndroid, zen, maple
No CPU overclocking and voltage interface, no GPU overclocking and voltage interface
USB charge rate bumped up to 900 mA
Boeffla charge analysis (display of charger type and charge current in Boeffla-Config app in real time)
Boeffla touchkey LED control (LEDs fully off, LED on screen touch, configurable duration)
CPU core profiles to restrict number of CPU cores being used (the OP3 does not hotplug based on load)
Notification LED control (effect + speed for blinking/fading, brightness for continuous notification like battery charging etc.)
Boeffla-Sound engine: Headphone volume and speaker volume (only lowering volumes for speaker)
Dynamic FSync (activated if screen on, deactived if screen off), configurable
Input boost frequencies and duration configurable per CPU cluster, input boost switch
Show CPU frequency usage per CPU and frequency in Boeffla-Config
Show GPU frequency usage per frequency in Boeffla-Config
KCal V2 Color control
Display backlight limits configurable (to avoid display brightness gets too low in some situations)
Display backlight dimmer
Swipe2wake gestures
Control haptic feedback of gestures (except fingerprint)
Haptic feedback intensity control
Swipe2sleep gestures
Boeffla generic wakelock blocker V1.1.0 (documentation)
SD card read ahead buffer configurable (default increased to 1024 kB)
Ext4 File system tweaks (only when data volume is formated with ext4, stock default is f2fs)
Kernel logger (dmesg) configurable
CIFS support (module, do not mount inside /data, if you rooted with Chainfire SuperSu, make sure you uncheck the namespace separation in SuperSu app)
NFS support (module)
NTFS support (module)
XBox support (module)
OTG-Ethernet support (module)
TCP Congestion changed to Westwood
Many additional TCP congestion algorithms available
Entropy values configurable
Hardware touch keys are locked as long as screen is in use (touched) for better usability
Swap supported
Doze mode switchable
Verifiedbootstage flag remove to avoid triggering safetynet
Various minor kernel tweaks
Doze mode configurable in Boeffla-Config
Full selinux strict support (switchable to permissive on demand)
Show speedbin information (PVS level) in Boeffla-Config app
init.d support (in /system/etc/init.d - set correct permissions!)
Entropies configurable
Automatic EFS backup
Integrated full busybox 1.27.2 (own compilation)
Kernel initialisation log file (with history of 3 log files)
Emergency reset script automatically placed into /boeffla-kernel-data folder of your internal memory
Security patches included, which are not in the official repo
Google gcc 4.9 toolchain (64 bit) used for best stability
Always based on latest OOS kernel sources (https://github.com/OnePlusOSS/androi...neplus_msm8996)
Download
For all information and downloads (stable AND testing versions), visit the Boeffla-Kernel homepage:
www.boeffla.de
History and design targets
Basically I created my first Boeffla-Kernel in 2012 as there was no kernel for the Samsung Galaxy S3 around that had exactly the mix of functionalities that I wanted. I wanted to have full flexibility in undervolting and charge rates for instance, but did not like the sharpness and/or brightness tweaks many kernels have implemented as per default.
Hence, I began to create my own kernel after a while, adding all the features I like. This is the result of my work, which in the end I decided to share with you. I hope you like it as much as I do.
The objective of this kernel is to have a kernel for daily use. It does not aim for best battery life, or best smoothness or best benchmark scores. Also it does not aim to have the broadest feature set available everywhere.
It aims more for a good mix of all, not sacrificing stability and functionality in the end.
And - most important: It aims to stay quite close to stock !!!
These design targets are also valid for the OnePlus kernel here!!!
This said, I will definitely NEVER implement:
things I do personally not need
things I do not like
things that are in any way dangerous
anything which is highly experimental
a CAF based kernel
anything that requires upstreaming of kernel parts to a higher kernel major version
So do not even ask for it if it falls into the listed categories. Everything else I am happy to check and decide.
And: I do not really care about benchmark numbers, they say almost nothing as long as something is not completely wrong. Important for me is the feel-good factor.
I am also not interested in gaming at all, so never expect a gamer kernel. It will just not happen...
Compatibility
To reiterate it again: Flash the kernel only if you are running a compatible rom !!!
Configuration of the kernel
To tweak and configure the kernel, manually load and install the app "Boeffla-Config V2" from the downloads section on www.boeffla.de.
You need at least version 2.4.21 or higher for the OnePlus 3T Boeffla Kernels.
Donation
If you like my work, feel free to donate: Donation-Link
If you donate at least 2,49 EUR (to be in line with the donation app prices on Google Play store), you will receive a personal donation code which unlocks some nice little comfort functions in Boeffla-Config V2 on top.
Source code
All sources can be found in my Github repository: http://github.com/andip71
Credits to developers
Of course, I had never been able to create all that by my own. So I want to give credits to the really good developers around, that have given me all the inspiration and from which I cherry picked lots of the implemented functionalities:
* ZaneZam
* Grarak
* Yank555
* Hardcore
* Chainfire
* AndreiLux
* Netarchy
* Gokhanmoral
* Simone201
* Mialwe
* Entropy512
* Faux
* Harunjo
* FranciscoFranco
* Ak
* Osm0sis
... I just hope I did not forget someone. If so, please let me know and I will add you of course.
Thanks to all of you for your great work !!!
Disclaimer
*** As always - Flash on our own risk! ***
Make sure you flash the correct version depending on your firmware version!
I can and will not take any responsibility for bricked phones or lost data.
It is generally recommended to run a complete Nandroid backup in your custom recovery and safely store your personal data before you flash a new kernel.
Cheers and enjoy
Andi

Latest change log:
OOS4
http://kernel.boeffla.de/oneplus3t/boeffla-kernel-oos/oos4xx/changelog.htm
OOS3
http://kernel.boeffla.de/oneplus3t/boeffla-kernel-oos/oos3xx/changelog.htm

--- Reserved 2 ---

Here we go!
First beta is online for you guys.
As always, find everything on www.boeffla.de
And just to stress it again: It is the VERY FIRST beta, so expect bugs!
Have fund
Andi

nice! downloading right now!
so happy to see you again andi! your kernel was simply the best on my galaxy S5 and I missed your affords in my S7!
so happy flashing to everyone!
Sent from my ONEPLUS A3003 using XDA-Developers mobile app

After jumping from kernel to kernel (since there are many more kernel devs here than on the OP2) with various minor niggles, finally back to the one I feel fits my needs best. This release brings me relief, as now I don't have to go kernel hopping again, and I think Boeffla provides the best support of all. No bugs so far, multirom boot menu works, everything runs great.
Out of curiosity, is the kernel systemless? (Can I revert to stock by just flashing stock boot.img from latest ROM zip?) I ask because flashing the entire stock ROM takes a long time, and the TWRP loading time is also long.
Also, ext4 tweaks is not hidden for me and is enabled when a profile is reset to default settings. I'm on the default filesystems. (f2fs data, ext4 everything else)
Should I leave ext4 tweaks on or off?
PS: I was probably the first person to like and subscribe to this thread. (within 5 minutes of thread creation)
Edit: Flashable stock kernels? Perfect, thank you @Lord Boeffla ! Does it revert any custom kernel to stock kernel?

Been with Boeffla since S3 and via OPO this will be my third phone with the kernel.
Thanks!
Skickat från min ONEPLUS A3003 via Tapatalk

knpk13 said:
After jumping from kernel to kernel (since there are many more kernel devs here than on the OP2) with various minor niggles, finally back to the one I feel fits my needs best. This release brings me relief, as now I don't have to go kernel hopping again. No bugs so far, multirom boot menu works, everything runs great.
Out of curiosity, is the kernel systemless? (Can I revert to stock by just flashing stock boot.img from latest ROM zip?) I ask because flashing the entire stock ROM takes a long time, and the TWRP loading time is also long.
Click to expand...
Click to collapse
This is not possible on OOS in a clean way.
The kernel comes with modules which are placed in /system/lib/modules too.
So only flashing stock boot.img would not replace the kernel modules by stock ones. So it is only a "half-good" solution.
But, as most of the time, I have a solution for you
Look here: http://boeffla.de/index.php/downloads/downloads-general
Flashable stock kernels for the 3T, which also include the modules.
Guess this is what you need.
Andi

knpk13 said:
Also, ext4 tweaks is not hidden for me and is enabled when a profile is reset to default settings. I'm on the default filesystems. (f2fs data, ext4 everything else)
Should I leave ext4 tweaks on or off?
Click to expand...
Click to collapse
This is something I might need to correct in the app then. Leave them off, there is no ext4 anymore on /data volue with stock OOS (but the f**inkg f2fs).
I will look into that over the next days then.
EDIT: Just tried it - cannot replicate that. Maybe your /data partition is indeed formatted in ext4???
(you can check by firing the following command in a terminal: mount | grep data)
Andi

Lord Boeffla said:
This is something I might need to correct in the app then. Leave them off, there is no ext4 anymore on /data volue with stock OOS (but the f**inkg f2fs).
I will look into that over the next days then.
Andi
Click to expand...
Click to collapse
I reopened the app, and ext4 tweaks was off. But when I click on reset profile settings, it turns on. But on reopening again, it turns off automatically every time, so I guess it's working fine. Yes I'm sure I'm on f2fs.

knpk13 said:
I reopened the app, and ext4 tweaks was off. But when I click on reset profile settings, it turns on. But on reopening again, it turns off, so I guess it's working fine.
Click to expand...
Click to collapse
Yep, and also means, your data partition is not formatted with f2fs (my op3t came with /data on f2fs)... lucky you. I love ext4 much more, I even consider reformatting /data with ext4 soon, hehe.
Andi

Ok guys, evening hours here in Germany.
I am off for today. If you have any questions, you can also move over and read in the OP3 thread. The devices are - concerning my kernel - 99,99% the same.
So you would most probably find all answers to your questions already there.
Tomorrow I will catch up again.
Andi

Lord Boeffla said:
Yep, and also means, your data partition is not formatted with f2fs (my op3t came with /data on f2fs)... lucky you. I live ext4 much more, I even consider reformatting /data with ext4 soon, hehe.
Andi
Click to expand...
Click to collapse
I'm sure I'm on f2fs. Even TWRP says I'm on f2fs. 3T comes stock with f2fs. This is the output of mount | grep data, but since I'm using magisk I think the output has many partitions and I can't make sense of it.
I think the ext4 tweaks toggle is working fine since it reverts to off automatically when the app is restarted. Thanks!
Here is the output: https://hastebin.com/iwokiramek.hs

Welcome to the 3t Lord Boeffla.. Enjoyed having your kernels and support on the s5 when I was running that phone.. Look forward to the same here..
Sent from my ONEPLUS A3000 using Tapatalk

Lord Boeffla said:
But, as most of the time, I have a solution for you
Look here: http://boeffla.de/index.php/downloads/downloads-general
Flashable stock kernels for the 3T, which also include the modules.
Guess this is what you need.
Andi
Click to expand...
Click to collapse
nice, been waiting for this since day one. :good:

So it is not oos 4.0.0 compatible
Gesendet von meinem ONEPLUS A3003 mit Tapatalk

inzaghi75 said:
So it is not oos 4.0.0 compatible
Gesendet von meinem ONEPLUS A3003 mit Tapatalk
Click to expand...
Click to collapse
No. OOS 4 has not yet been officially released and no kernel source has been released.

christmas is here since andi is our santa.
welcome to the 3T world.
loyalists like me have been waiting for you perhaps since the device was launched.
glad OnePlus and XDA did such an awesome thing to distribute devices to devs.
been following your work for a while now.
your kernel turned my OpO into a beast.
just flashed onto my 3T.
will report issues as and when(and if) I can find them.
cheers

Glad to see you here Andy!
finally you will develope on 3T:good:

Glad to see you here Andi:victory:
I use your kernel since Galaxy S3, also flashed it on my opo and my wife's opt.
:good: Now the kernel it's running very well on my new op3t.

Related

[KERNEL] [GCC4.8] ThunderKat Kernel | Android 4.4.4 | Nexus 10 | 2014/08/24

Donning a new name in favour of the new delicious version of Android... Welcome to the ThunderKat Project!!
Heavily based of my Flaming Monkey kernel configurations and the stock AOSP kernel source, here's my standalone kernel for the Nexus 10. I will maintain this independently.
It will always remain close to the AOSP exynos kernel for manta (Nexus 10) with a few useful tweaks and additions, but will not have any OC/UV, colour controls and any advanced customisation options. It is a stable kernel and will not have frequent updates.
This kernel uses the AnyKernel method and is ROM independent. I have tested this on 4.4 (Stock & AOSP) based ROMs.
Features:
1. Linux Kernel 3.4.39.
2. Based on AOSP KitKat MR1 kernel source for exynos/manta.
3. Built using the Google ARM GCC 4.8 toolchain with -O3 CFLAGS & AFLAGS optimisations & ARM Cortex A15 build optimisations.
4. Enabled Conservative & Powersave CPU frequency governors (in addition to Interactive, Performance & Userspace). Interactive set as default.
5. Preserve correct sysfs permissions on governor change.
6. KSM (Kernel Samepage Merging) support.
7. NTFS, F2FS, EXT4 xattr (extended attributes) support.
8. Networked file systems support (NFS V3, NFS V4 & CIFS).
9. HIDRAW support (supports non-conformant HID devices).
10. Support for more input devices (keyboards, mice & joysticks) including Logitech Unifying devices.
11. Support for USB serial modems (PPPOE).
12. Support for multi-card readers (multi-lun devices). This allows you to mount multiple cards using a multi-card reader. May need an app like StickMount. (Credit @nvertigo67)
13. Removed SWAP support.
14. Removed some un-needed debugging.
15. Increased thermal throttle limits
16. Scalable CPU frequencies
Changelog [2014/08/24]:
1. Built using Graphite optimized GCC4.8 toolchain
2. Added ROW & SIO I/O schedulers
3. Set ROW as default I/O scheduler
4. Upstream F2FS changes
5. Miscellaneous I/O improvements
Changelog [2014/06/05]:
1. Update to AOSP 4.4.3 kernel source (kitkat-mr2)
2. Added F2FS filesystem support
Changelog [2013/12/15]:
1. Update to AOSP 4.4.1/4.4.2 kernel source (kitkat-mr1)
Changelog [2013/11/21]:
1. Initial release
Information:
1. Flash using a custom recovery (TWRP/CWM).
2. This kernel is ROM independent and uses the AnyKernel method. Hence it uses the current ramdisk. You may have issues if this is flashed after a kernel with a custom ramdisk. If so, reflash your ROM and then flash this kernel.
3. Needs an unlocked bootloader.
4. Make sure you have at least 50% battery charge before flashing this.
Download:
ThunderKatKernel-4.4.4-20140824 (AndroidFileHost)
ThunderKatKernel-4.4.4-20140824 (Goo.im)
Archive (4.4.x) - (AndroidFileHost)
Archive (4.4.x) - (Goo.im)
Archive (4.3.x) - Unsupported
Archive (4.2.x) - Unsupported
Source:
GitHub
Disclaimer:
While I have extensively tested this and even though it is heavily based on the AOSP kernel, you may encounter issues. I will try to help you, but I will not take any responsibility if anything goes wrong. Please exercise caution.
Credits:
Google, Samsung, CM, AOKP, PA, ktoonsez, morfic, franciscofranco, Goo.im, AndroidFileHost
Reserved. Just in case
craigacgomez said:
Reserved. Just in case
Click to expand...
Click to collapse
Very cool! I will be trying this tomorrow, will have time to play with it. Nice to see KSM in it.
Nicely done. I'm running your kernel as we speak--snappy, snappy! No issues so far. :good:
Only thing left to do now is give it a catchy name like: "The CRAIGINATOR"
Wow, great news, thanks craig!
brGabriel said:
Nicely done. I'm running your kernel as we speak--snappy, snappy! No issues so far. :good:
Only thing left to do now is give it a catchy name like: "The CRAIGINATOR"
Click to expand...
Click to collapse
Thanks...and yes, I will be renaming my ROM and kernel to something more... well, appealing... when I restart the ROM project...
Once I'm at 50% I'll be all over this like a rash
Sent from my Nexus 10 using xda premium
Great job, runs great! Only issue is it defaults to cfq scheduler on boot even when I have it set to run deadline.
More of a preference than an issue.
This kernel is really good, I was very impressed by your previous Rom and look forward to the new Rom you said will be released later in the year (hopefully!). Your hard work is much appreciated. Using your kernel with Carbon Rom right now and it seems very stable.
Sent from my Nexus 10 using XDA Premium HD app
Yep, snappy, snappy!
Sent from my Nexus 10 using Tapatalk HD
this kernel works best on my N10. no reboot, no SOD and no battery drain.
my tablet is 10 days up without a single problem or recharge! :good:
i hope it will be continued in the future!
Yes, I will continue supporting this kernel... though there will not be many updates... the aim to to remain close to AOSP, yet provide some useful tweaks and additions... I will be building a newer version soon (having problems with the cross compiler on my work laptop, else I would have done it today)...
Hi!
Can I flash this kernel to the stock ROM?
And revert back when new android version comes out to OTA update?
Thank you
teodor_ch said:
Hi!
Can I flash this kernel to the stock ROM?
And revert back when new android version comes out to OTA update?
Thank you
Click to expand...
Click to collapse
Yes, this will work fine on stock...and you can easily revert back using the boot.img from the factory images provided by Google...
Updated release in OP...
Does this have the latest wifi and or gpu drivers? I know wifi drivers are kernel level, not sure about the gpu though. Anyways, its a very nice and smooth kernel. It's been a baron wasteland in mantaland. I guess Google didn't sell many of these.
I just installed the kernel, very smooth, I was having shutdowns on Trinity latest and RootBox. Hopefully is not a ROM problem and this kernel fixes it, I really like RootBox.
Thanks for the awesome work and support.
Erik
situman said:
Does this have the latest wifi and or gpu drivers? I know wifi drivers are kernel level, not sure about the gpu though. Anyways, its a very nice and smooth kernel. It's been a baron wasteland in mantaland. I guess Google didn't sell many of these.
Click to expand...
Click to collapse
I have yet to incorporate the updated wifi and gpu kernel level drivers... I will be working on these soon...
Anyone here with sufficient kernel knowledge to merge the updated mali graphics drivers (http://malideveloper.arm.com/develo...n-source-mali-t6xx-gpu-kernel-device-drivers/)... There are a few updates that are beyond my kernel & C/C++ capabilities... like osk has been replaced by kbase... Please PM me if you can help!! Thanks!
Great work on this kernel! First time reaching 9 hours on screen time. Paired with Mr Robinson AOKP.

[Kernel][TW][AOSP][KK][JB]MaxFour GT-I9500 (5410)[v14]

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.

[Kernel][14/01/15][AOSP][D851]Rin Kernel 1.6.5[LOLLIPOP]

AOSP RIN Kernel for D851
Close to stock with some sugar added ... delicous!
Hey guys and girls,
here is my attempt to build up on the cm source for an modified AOSP kernel, hope you like it, have fun
First of, DISCLAIMER, I'm not responsible for bricked devices, dead unicorns, rainbows with missing colors, world war, nose bleed, void warranty (you know that already, don't you? your warranty is void now and it's your fault ) or any other harm happening to your device, you or people around you!
What does it serve? (Features)
AnyKernel
Kexec Hardboot patch
FauxSound support
OC to 2.7GHz and UC support
Voltage control
Intelliplug
Cpu limiter
GPU Overclocking to 675Mhz
Simple GPU Algorithm
Simple_ondemand GPU Governor fixed
fsync on/off support (on by default)
Power efficient workqueues
Dynamic management of dirty page writebacks
Dynamic Read Ahead
IO Schedulers
CFQ
DEADLINE
FIFO
FIOPS
NOOP
ROW (default)
SIO
TRIPNDROID
VR
ZEN
Governors
Adaptive
Conservative
DanceDance
Intelliminmax
Interactive (default)
Lagfree
Lionheart
OnDemand
Performance
Powersave
SmartassV2
Userspace
Wheatley
Smartmax
TCP Congestion Algorithms
BIC
Westwood+
Vegas
Veno
Yeah
HTCP
Cubic (default)
Reno
LiveSharpening
2-Way Call Recording support
exFat support
DriveDroid support
KSM
android logger sysfs toggle (disabled by default)
Many under the hood fixes
Stability
More to come
How to apply it? (Installation)
IMPORTANT: Read through all the requirements, steps and warnings before you do anything, if any requirement doesn't match or you don't know what one or more of the steps below mean or do, ask before you do any of them, if you don't know how all the steps can be done, let it be, I warned you, if you don't do and something bad happens, I'll just laugh at you!!
Requirements? Yes!
D851
Custom Recovery
AOSP based lollipop ROM (Mainly cm12 based)
How to flash the kernel?
BEWARE to be on the default kernel of the given ROM (NO custom, except at updates of this one!!) when flashing this kernel, the ramdisk is taken from the currently flashed kernel!!!
Download zip
Place on internal or external SD
Reboot to recovery
Choose install zip
Search for the downloaded zip
Confirm flashing
Wipe cache
Reboot
Have fun
Changes? (Changelog)
14.01.2015/1.6.5
FauxSound support added
Dynamic read ahead
13.01.2015/1.6
Initial AOSP release
Full list of commits can be found here
Where to get it from? (Download)
google drive | AndroidFileHost | dev host
Let me test!! (Beta Testing Community)
Google+ LG G3 Beta Testing Community
Show me the so(u)rce(ry)! (Source Code)
https://github.com/tectas/android_kernel_lge_msm8974ac/tree/rin-cm-12.0
Donators (huge thanks, you're simply great )
@Toneman07
@Helloworld294
@shaarky
@Dreamxtreme
@guyd
@mosincredible
@tobitege
@AndroidUzer
Credits
XDA for the great community
Google for their great operating system
LG for the great device
CyanogenMod for the base this is built up from
@invisiblek for his marvelous job on the bring up of the device and the many patches
@HolyAngel for some commits I used
@faux123 for his great work with intelli* and beyond
@KAsp3rd for some commits I used
@myfluxi for some commits I used
@trialsrider1 for some commits I used
@Skin1980 for his breakthroughs at our device, his support and for being such a nice guy
@Lord Boeffla for some commits I used
@GuneetAtwal for some commits I used
@DooMLoRD for some commits I used
@Fechinator for some commits I used
@savoca for AnyKernel, Livesharpening and some other stuff
@Christopher83 for his implementation of Dynamic management of dirty page writebacks and some additional stuff
If you like my work, please show your appreciation by pressing the thanks button, if you want to do more, i've nothing against a little donation, but I'm as happy when you just thank me by pressing the button
XDA:DevDB Information
Rin Kernel AOSP, Kernel for the T-Mobile LG G3
Contributors
Tectas
Source Code: https://github.com/tectas/android_kernel_lge_msm8974ac/tree/rin-cm-12.0
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 1.6.5
Beta Release Date: 2015-01-14
Created 2015-01-14
Last Updated 2015-01-14
Reserved
Awesome thanks. Heard good things about your STK LG kernel. Downloading
razrlover said:
Awesome thanks. Heard good things about your STK LG kernel. Downloading
Click to expand...
Click to collapse
Super addition to the D851 arsenal.
Thanks
P.S: Can't seem to find it in the downloads!
arifqur said:
Super addition to the D851 arsenal.
Thanks
P.S: Can't seem to find it in the downloads!
Click to expand...
Click to collapse
Sorry, link fixed.
Tectas said:
Sorry, link fixed.
Click to expand...
Click to collapse
Thanks for the link and especially thanks for being the first Dev to include kexec hard boot patch for D851 in his kernel
Heh, I managed to screw up my MultiROM setup.
Fusion LP was a tertiary ROM. I decided to flash this kernel against it. Almost 10 minutes and it never finished flashing. TWRP was also frozen.
On restart none of the ROMs would boot. Trying to reselect Fusion in MultiROM would fail and freeze/lock TWRP. Seems the partition with Fusion got corrupted.
Got tired of pulling the battery so wound up restoring primary ROM and will start over with MultiROM.
Just one of those things probably unrelated to the kernel itself.
I should have at least backed up the secondary ROM. Oh well. ?
Small update to 1.6.5:
14.01.2015/1.6.5
FauxSound support added
Dynamic read ahead
Download within the OP, have fun
Tectas said:
Small update to 1.6.5:
14.01.2015/1.6.5
FauxSound support added
Dynamic read ahead
Download within the OP, have fun
Click to expand...
Click to collapse
Thanks
Working well so far, thanks :good:
marcdw said:
Heh, I managed to screw up my MultiROM setup.
Fusion LP was a tertiary ROM. I decided to flash this kernel against it. Almost 10 minutes and it never finished flashing. TWRP was also frozen.
On restart none of the ROMs would boot. Trying to reselect Fusion in MultiROM would fail and freeze/lock TWRP. Seems the partition with Fusion got corrupted.
Got tired of pulling the battery so wound up restoring primary ROM and will start over with MultiROM.
Just one of those things probably unrelated to the kernel itself.
I should have at least backed up the secondary ROM. Oh well. ?
Click to expand...
Click to collapse
I'm using it with Fusion as primary ROM with no problems. But flashing fusion itself takes close to ten minutes to flash, and the progress bar shows nothing until it's done. I was already on fusion, then flashed RIN and Multirom.
Never mind.
Working well with Euphoria.
Thanks for a great AOSP kernel
joshuajones said:
I'm using it with Fusion as primary ROM with no problems. But flashing fusion itself takes close to ten minutes to flash, and the progress bar shows nothing until it's done. I was already on fusion, then flashed RIN and Multirom.
Click to expand...
Click to collapse
I changed my primary SkyDragon ROM then reflashed kexec kernel and multirom. Discovered my CM11 was still there (cool) then reflashed Fusion.
Flashed RIN kernel but this time I waited. It took much longer than the ROM install.
But all is good. Fusion seems to be running great with RIN.
Thanks.
Sent from my LG-D851 using Tapatalk
Kernel is working great
I've used this Kernel on about 3 different LP ROM's (clean flash) and on each of them, the pull down menu appears and freezes after ending calls whether its being made or receiving them. If you are able to get out of the menu, the pull down no longer works. You must reboot for everything to return to normal...
Nothing says great batterylife except when it tells me 1 day 19 hours and hasnt been on a charger since 8 am
Nice kernel exelent battery and no complains for now ?
Been off charger all day with light use and its still going strong
scribbles92 said:
I've used this Kernel on about 3 different LP ROM's (clean flash) and on each of them, the pull down menu appears and freezes after ending calls whether its being made or receiving them. If you are able to get out of the menu, the pull down no longer works. You must reboot for everything to return to normal...
Click to expand...
Click to collapse
Done a few clean flashes since I started using this kernel but I'm not having this problem...

[KERNEL] Lucid - b3 [STOCK-LP][D802]

Introduction:
Presenting Lucid Kernel, built from LGE v30d sources. This project started as my personal builds and used daily on my device. Although the project status is beta, it is stable to be used as a daily driver. This is my first time sharing my kernel here at XDA. My main goal for this kernel is to improve what the stock kernel provides and more. I currently don't have any plans to add CPU and GPU overclocking, and tons of cpu governors. The kernel is still base on 3.4.0, but with useful patches from the mainline kernel.
Kernel Main Features:
rev_hotplug custom cpu hotplug driver - online cores based on system load and turn cores off when it is idle
Mpdecision off by default, but can still be activated
User voltage control - by @faux123
boeffla_sound by @Lord Boeffla - speaker and headphone volume control.
Tweaked Ondemand Governor with patches from @stratosk
Stock LG ondemand renamed to lg_ondemand
Motorola's Quickwakeup driver - drop the system back into suspend without fully resuming if the wake reason was a special quick wakeup event.
A lot of under the hood improvements
Advanced TCP congestion control
Loads of I/O Schedulers
Init.d support
Lucid Settings - Script to change hotplug, boeffla_sound, and selinux mode. -inspired by @imoseyon 's lkconfig
*This kernel is compatible only on stock LG lollipop rom(30a, 30b, etc.) with BUMPED recovery and KK Bootloader
Installation:
Backup rom or just boot partition if coming from stock
Download and flash via recovery
Reboot :good:
Downloads:
androidfilehost
**Use your favorite kernel apps to control some kernel settings, but I personally use Kernel Adiutor.
For the hotplug and boeffla sound control, run lucid from terminal emulator app.
Code:
1. Type "su"
2. Type "lucid"
3. Enter a number to select options.
eg. Type "2" if you want to change boeffla_sound settings.
4. All settings changed will be applied immediately and will stick on boot
[HIDE][URL=http://s1103.photobucket.com/user/ibrawnz/media/Screenshot_2015-06-13-21-27-37.resized_1.png.html][IMG]http://i1103.photobucket.com/albums/g465/ibrawnz/Screenshot_2015-06-13-21-27-37.resized_1.png[/IMG][/URL][/HIDE]
XDA:DevDB Information
Lucid Kernel, Kernel for the LG G2
Contributors
irevhard
Source Code: https://github.com/revjunkie/lge-g2-d802
Kernel Special Features: rev_hotplug, boeffla sound, user voltage control
Version Information
Status: Beta
Beta Release Date: 2015-05-05
Created 2015-05-06
Last Updated 2015-06-14
Reserved
thanks for kernel I will try and reports
flashed and i will give a report soon.
How I can change sound settings? I tried to use Boeffla sound from Play Store but I have FC;(
kondzio66 said:
How I can change sound settings? I tried to use Boeffla sound from Play Store but I have FC;(
Click to expand...
Click to collapse
I haven't tried the boeffla sound app. But to change the values you may use a terminal emulator and type this;
echo "value left value right" > /sys/class/misc/boeffla_sound/speaker_volume
echo "value left value right" > /sys/class/misc/boeffla_sound/headphone_volume
If you want the settings to stick on boot, edit the 07rev script located at /etc/init.d
first tnx...I love stratosk and his work on n4, so I must try your kernel.
You said in op
"Init.d support - creates init.d script upon installation" where is it?
And how to manage the sound and hotplug... I really have no idea.
tnx again
---------- Post added at 01:44 PM ---------- Previous post was at 01:42 PM ----------
irevhard said:
I haven't tried the boeffla sound app. But to change the values you may use a terminal emulator and type this;
echo "value" > /sys/class/misc/boeffla_sound/speaker_volume
echo "value left value right" > /sys/class/misc/boeffla_sound/headphone_volume
If you want the settings to stick on boot, edit the 07rev script located at /etc/init.d
Click to expand...
Click to collapse
ok i found it...
Hi thx for very good kernel! But I have random reeboot with zram availible in trickster. This just for feedback.
Il you need beta tester i'm here.
Best regard
deraiz12 said:
Hi thx for very good kernel! But I have random reeboot with zram availible in trickster. This just for feedback.
Il you need beta tester i'm here.
Best regard
Click to expand...
Click to collapse
Thanks for the report. Don't use zram, it causes freezes.
Welcome new dev:good: Thanks for support
Tools?
Thank You,:good:
I'm testing the Kernel.
How can change the voltage? Any tool recommended?
Thank You,
E
eBENdre said:
Thank You,:good:
I'm testing the Kernel.
How can change the voltage? Any tool recommended?
Thank You,
E
Click to expand...
Click to collapse
Use Kernel Adiutor to change voltage settings.
any relevant bugs we should know. I'm gonna give it a try asap
None so far, just don't enable zram.
I had a nexus 4 and I very love kernel by stratosk . Nice to know that you have a "Tweaked Ondemand Governor with patches from @stratosk" , i will test it now :good::good::good:
so far so good. charging is at 1610 with stock charger.
edit: it messed up my true stereo mod. channels are now unbalanced and no matter what I edit in mixer_paths it stays the same. also tried using the kernel script and lower speaker to balance stereo channels with no sucess.
maybe you can add a value for left/right channel speaker like you can with headphones
edit2: what I found so far. if I use default mixer_path with no mods the kernel scripts works to lower speaker volume. But when using stereo mod mixer_path it ignores kernel script and cant control speaker volume. wouldnt be such a pain if manually editing mixer_path worked like before I installed your kernel. wich also doesnt.
that beeing said Im left with two options. either use a completely unbalanced stereo mod and cant use boeffla settings. or forget about the mod and use boeffla. thing is I realy like this mod
edit3: multicore geelbench is way low, also notice mortal kombat x a bit slow compared to stock kernel.
@remorema could you try this https://www.androidfilehost.com/?fid=23991606952599326
I added back the control for dual channel speaker volume. Test it. If is still doesn't work, could you link me to this stereo mod you're using?
As for the low multi-core geekbench score, I think it may have something to do with how I allocate processes to each core. The tweak I made should give more power savings, but that could be the effect of it. Delete the 07rev script on your init.d before flashing.
I want to give a try to your kernel but first I want to ask you something if its possible, could be possible to add Samsung patch to wifi, etc like Bckernel explained here: https://github.com/simex31/BC_Kernel_LP_STOCK_D802/commit/bcc698ba11d3d55326d853bbc7abc36c4fcac47e and no audio mod?
I get the best wifi @5ghz and [email protected] with that driver, impossible to get with stock.
Thanks!
I will see what I can do about the wifi, but I personally don't have any problems with it. No sound mod is a no go. You can always disable it if you don't wanna use it.
irevhard said:
I will see what I can do about the wifi, but I personally don't have any problems with it. No sound mod is a no go. You can always disable it if you don't wanna use it.
Click to expand...
Click to collapse
With Wifi is night and day (some people has the same issues like me, maybe is SEA variant the problem), I discovered it with BCkernel and finally I'm not planning to come back to KK because in KK I had problems at 5Ghz only with [email protected], now in LP my phone is ever connected at 433mhz without a single drop, amazing that driver, the only problem I have with BCkernel is the battery drain, now I'm monitoring it with battery widget pro to compare it with stock.
Last note, the issue with wifi is only at 5ghz, on 2.4 it works fine
Another nice plugin to have is screen calibration (kcal).

[kernel][custom][P905] permiisive with init.d support 06/02/2016

hi guys
i finally was able to make a custom kernel with permissive selinux
it seems that my previous roms were having some missing files thats why the kernel did not function well with them
anyway, now it is working properly and so far no problems
i already included the V1 in my rom
so i made a different thread so that it will not be confusing
changelog:
V1: initial release
permissive selinux
V2: 06/02/2016
added init.d support
links to the kernel
mediafire
http://www.mediafire.com/download/l6cuhlevy799l8g/Teflanzy_Kernel_P905XXUABOL2_V2.zip
google drive
https://drive.google.com/file/d/0B_-JMtGLOAd3LU9pRS1iUXhKdGc/view?usp=sharing
MD5 checksum: E958AAD584A25FFB395249CDF8A7D116
kernel source on github
https://github.com/Teflanzy/viennalte_p905_kernel_source
kernel ramdisk with init.d support on github
https://github.com/Teflanzy/viennalte_p905_kernel_ramdisk
use this program from @osm0sis for create boot.img from ramdisk and zimage
http://forum.xda-developers.com/showthread.php?t=2073775
please report back with any problems you are facing
Glad to be the first to thank you for your great job @Teflanzy ?
Really happy to see the P905 getting the attention it deserves!
ADM!RAL said:
Glad to be the first to thank you for your great job @Teflanzy
Really happy to see the P905 getting the attention it deserves!
Click to expand...
Click to collapse
thanks for your reply
but do not expect much from me
I am just a beginner and wanted a permissive kernel for my device
I will try to add more features but it might take a long time for me to apply them
Teflanzy said:
thanks for your reply
but do not expect much from me [emoji14]
I am just a beginner and wanted a permissive kernel for my device
I will try to add more features but it might take a long time for me to apply them
Click to expand...
Click to collapse
Great things don't have to be big and bulky bro [emoji4]
I made a post when i first bought the device asked how to make rom deodexed so xposed could be installed and how hard is the process!!
What I'm trying to say is we just wanted the simplest of things [ofc i don't mean it's easy but things that are straight to the point]
Your kernel is just doing that [emoji111]
Opens the door to further mods!
Best of luck bro [emoji106]
Thank you very much for your work, I'll try.
Hello. First, I wanted to thank you for a job well done!
I am using the kernel for something like one and half a month with KOKO ROM and it is *stable*. And I mean stable as hell! - I don't remember even a single random reboot so far! Of course, switching selinux mode with setenforce command is working like a charm, as well as init.d support. Great, great job!
I personally find P905 (and probably other qcom-based variants) *still* the best tablet on the market so far (in my opinion, ofc ).
I am also really *not* interested in custom CM13 developement as stock ROMs has far more Sammy's specific features like *stable* MultiWindow support or S-Pen stuff and even if it is a good experience, I still find using it a waste of device's potential...
That is why I was personally thinking about adding some most popular custom features, like smartmax governor (which I personally find the best option for Snapdragon 800 devices, but opinions may vary ofc...), some custom hotplug driver (MPDecision sucks...) and first of all - enabling CPU overclock/undervolt (I find default maximum horsepower a little too short for handling more advanced tasks on this awesome but resource-hungry QHD screen; also battery-life is not as awesome as it was two years ago...).
So, I wanted to ask you if you are considering further developement of this stock-based kernel?
Also, if you don't have time/will/attitude to continue this great job, I wanted to ask if you have released any sources on github or something which one may sync and continue the developement?
Thank you in advance for the answer.
Best regards.
esgie said:
Hello. First, I wanted to thank you for a job well done!
I am using the kernel for something like one and half a month with KOKO ROM and it is *stable*. And I mean stable as hell! - I don't remember even a single random reboot so far! Of course, switching selinux mode with setenforce command is working like a charm, as well as init.d support. Great, great job!
I personally find P905 (and probably other qcom-based variants) *still* the best tablet on the market so far (in my opinion, ofc ).
I am also really *not* interested in custom CM13 developement as stock ROMs has far more Sammy's specific features like *stable* MultiWindow support or S-Pen stuff and even if it is a good experience, I still find using it a waste of device's potential...
That is why I was personally thinking about adding some most popular custom features, like smartmax governor (which I personally find the best option for Snapdragon 800 devices, but opinions may vary ofc...), some custom hotplug driver (MPDecision sucks...) and first of all - enabling CPU overclock/undervolt (I find default maximum horsepower a little too short for handling more advanced tasks on this awesome but resource-hungry QHD screen; also battery-life is not as awesome as it was two years ago...).
So, I wanted to ask you if you are considering further developement of this stock-based kernel?
Also, if you don't have time/will/attitude to continue this great job, I wanted to ask if you have released any sources on github or something which one may sync and continue the developement?
Thank you in advance for the answer.
Best regards.
Click to expand...
Click to collapse
Thanks for your words
As i said before
I am a beginner so i do not know how to add the features like other governors or enabling volt control
Furthermore i deleted my source but i can remake it because there are small changes that i made and i remember them
I am currently trying to port features from other snapdragon 800 devices kernels like note 3 and note 10.1 2014 edition
But i still get error on compiling
I will prepare the github source then post a link for it
@esgie
i just uploaded the kernel source with ramdisk each in seperate link
hope it is useful to you
i need help with adding synapse support to the kernel
if you know how to do let me know
Thank you.
I have just configured my developement environment.
I will try to proceed with compilation this weekend. I will also check how to implement synapse support
Hear you soon.
Hi.
I want you to know that I am absolute kernel-beginner, too.
Anyway, I have managed to add some basic features to the kernel.
Here you can download img file and test:
https://drive.google.com/folderview?id=0B2TnsPjj6dl4dHNZN3dBb3o1Zlk&usp=sharing
(as of TWRP 3 img files can be flashed directly to boot partition from recovery; P905 only!!!).
Features:
- setenforce working + init.d support (by Teflanzy)
- some custom schedulers (bfq, fiops, sio)
- custom governor (zzmoove with hotplugging support - I recommend to tune it with Kernel Adiutor using profile_number = 5, disable_hotplug = 0 and disabling mpdecision).
So not much at the moment.
It looks like it's hard to automatically cherry-pick a lot of interesting CM12-compatibile commits, as the samsung kernel source differs a lot from the CM one... I failed to add synapse support as for now but I am looking into the issue. Also, I will post and sync my sources not later than tomorrow.
Sorry, my time is limited and experience is not very big.
I am posting a test version here and if there will be enough feedback we may think about creating a separate topic and try to start some constant developement
Sources:
https://github.com/esgie/viennalte_p905_kernel_source
esgie said:
Hi.
I want you to know that I am absolute kernel-beginner, too.
Anyway, I have managed to add some basic features to the kernel.
Here you can download img file and test:
https://drive.google.com/folderview?id=0B2TnsPjj6dl4dHNZN3dBb3o1Zlk&usp=sharing
(as of TWRP 3 img files can be flashed directly to boot partition from recovery; P905 only!!!).
Features:
- setenforce working + init.d support (by Teflanzy)
- some custom schedulers (bfq, fiops, sio)
- custom governor (zzmoove with hotplugging support - I recommend to tune it with Kernel Adiutor using profile_number = 5, disable_hotplug = 0 and disabling mpdecision).
So not much at the moment.
It looks like it's hard to automatically cherry-pick a lot of interesting CM12-compatibile commits, as the samsung kernel source differs a lot from the CM one... I failed to add synapse support as for now but I am looking into the issue. Also, I will post and sync my sources not later than tomorrow.
Sorry, my time is limited and experience is not very big.
I am posting a test version here and if there will be enough feedback we may think about creating a separate topic and try to start some constant developement
Sources:
https://github.com/esgie/viennalte_p905_kernel_source
Click to expand...
Click to collapse
nice work
now I can check your commits and understand how to add extra governors
gonna download your version and test and report back after usage for a couple of days

Categories

Resources