[KERNEL][5.1.1/6.0.0][GCC 5.3] Omni kernel (06/03/2016) - Galaxy S I9000 Android Development

Overview: ​
This is a custom kernel based on Omni sources for our legendary i9000. This is only for 5.1.1/6.0.1 roms and no other version of android will be suppported
It works on any Omni based 5.1.1/6.0.1 rom.
>The zip you will download is flashable via recovery.
>> Use devil kernel manager or NStools to edit the kernel settings.
Features : ​- Multiple CPU governors (lulzactive, smartassV2, wheatley, lagfree, ondemandX)
- Tweaked smartassV2
- BFQ, Zen, VR & SIOPLUS I/O schedulers added
- Tweaked VR
- New TCP algorithms (westwood is default)
- Bigmem, up to 430mb
- CMA (MM only for now)
- Kernel compressed with XZ
- Compressed initramfs
- Dynamic page writeback
- Dynamic Fsync
- Custom ARM & INT voltages
- Voltages fixed for more stable OC
- Selectable GPU OC (not working properly for now)
- Fast charge
- BLX
- Live OC
- FULL O3 optimisations
- Call volume hack
- Touchwake
- BLN
- Zram
- Swap / Zram optimisations
- LMK tweaks
- SLQB memory allocator
- NEON optimized crypto routines
- Voodoo color
- SquashFS support (module)
- EXfat support (module)
- 720p patched bigmem libs
- Built from the latest Omni source
- Built using custom Cortex-A8 optimized UBERTC 5.3 toolchain of @Cl3Kener
Todo:​- Backport more things from higher linux versions and fix remaining conflicts ...
- Fix GPU OC ... Well we have live OC, not worth the time i guess.
- Make CGROUP_TIMER_SLACK work
- GPU driver to DDK [email protected]
- Make a better (and more fancy) updater script
- Fixing the remaining issues [...]
What I wont do : ​- Enable TV out
- Upgrade linux version
- Add useless CPU governors or I/O schedulers
- make your phone as fast as a i9500
Please use it at your own risk! I am not responsible for any damage that may occur to your device.
Download :
Latest android 5.1.1 kernel :
Kernel_ION.zip MD5 : 2060f96fbffc98a1f2fae9108066b69a
http://www50.zippyshare.com/v/zVr8YvZ4/file.html
Latest android 6.0.1 kernel :
Kernel_CMAEXP.zip MD5 : 236f89a961b559c666a1c064aaccd728
http://www43.zippyshare.com/v/Yxm6WDuA/file.html
Old versions :
https://mega.nz/#F!3x5VTbiQ!87aMOGoDBuQZmiELhKlUkQ
Thanks:
@humberos
@DerTeufel1980
@kasper_h
@Alberto96
@Ezekeel
@xc-racer99, for his help on setting up my Github
@(°_o)
Anyone else who helped me
Source Code:
https://github.com/Coldwindofnowhere/android_kernel_samsung_aries
Custom built UBERTC with A8 optimisations : https://bitbucket.org/Coldwindofnowhere/
XDA:DevDB Information
Omni kernel, Kernel for the Samsung Galaxy S I9000
Contributors
Coldwindofnowhere, xc-racer99
Version Information
Status: Beta
Created 2015-10-02
Last Updated 2016-03-06
>If you like my work, hitting the thanks button won't hurt you<​

good luck

Thanks for sharing ! I really want to check this kernel out, can someone tell me what is the recommended Omni LP release to be used with this kernel? A link in PM or a reply would be great.
Sent from my Nexus 7 using Tapatalk

idCyber said:
Thanks for sharing ! I really want to check this kernel out, can someone tell me what is the recommended Omni LP release to be used with this kernel? A link in PM or a reply would be great.
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=61937705
Gesendet von meinem SM-G900F mit Tapatalk

idCyber said:
Thanks for sharing ! I really want to check this kernel out, can someone tell me what is the recommended Omni LP release to be used with this kernel? A link in PM or a reply would be great.
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
If you can , that would be great if you test if on different 5.1.1 roms and tell me if it works or not

Coldwindofnowhere said:
If you can , that would be great if you test if on different 5.1.1 roms and tell me if it works or not
Click to expand...
Click to collapse
This kernel works with Code rom 5.1.1 the latest build and mostly everything work perfectly. However, to test this i ported it to my good old vibrant. The only issue is since Im guessing devil kernel manager doesnt support vibrant cant seem to change any values in devil. Thanks for building this kernel

falconscrest123 said:
This kernel works with Code rom 5.1.1 the latest build and mostly everything work perfectly. However, to test this i ported it to my good old vibrant. The only issue is since Im guessing devil kernel manager doesnt support vibrant cant seem to change any values in devil. Thanks for building this kernel
Click to expand...
Click to collapse
Assuming you used the kernel source (github.com/omni) to port to the vibrant, you won't have any options other than bigmem. The source code linked there doesn't have things such as Fast Charge, etc.
However, you can see if support for them is there by manually putting a "1" in the file /sys/kernel/fast_charge/force_fast_charge
(ie echo 1 > /sys/kernel/fast_charge/force_fast_charge from a terminal/adb shell).
Also, look out for selinux issues. If selinux is in enforcing mode, the Devil Manager may or may not be able to access the sysfs paths. Run "setenforce 0" to put it to permissive mode.
Speaking of source code, @Coldwindofnowhere have you uploaded the complete kernel source you used somewhere? I'd be curious to see it. Thanks for taking this project on!

xc-racer99 said:
Assuming you used the kernel source (github.com/omni) to port to the vibrant, you won't have any options other than bigmem. The source code linked there doesn't have things such as Fast Charge, etc.
However, you can see if support for them is there by manually putting a "1" in the file /sys/kernel/fast_charge/force_fast_charge
(ie echo 1 > /sys/kernel/fast_charge/force_fast_charge from a terminal/adb shell).
Also, look out for selinux issues. If selinux is in enforcing mode, the Devil Manager may or may not be able to access the sysfs paths. Run "setenforce 0" to put it to permissive mode.
Speaking of source code, @Coldwindofnowhere have you uploaded the complete kernel source you used somewhere? I'd be curious to see it. Thanks for taking this project on!
Click to expand...
Click to collapse
I didnt use the source code to do anything just replaced the boot image with that of vibrant and it seemed to boot up just fine and i could switch between smartass v2, and other addition. the only thing cant change the bigmem option over xl. It was just random since i have no clue how to build stuff.

falconscrest123 said:
I didnt use the source code to do anything just replaced the boot image with that of vibrant and it seemed to boot up just fine and i could switch between smartass v2, and other addition. the only thing cant change the bigmem option over xl. It was just random since i have no clue how to build stuff.
Click to expand...
Click to collapse
Ah, ok. I could be wrong, but I think if you replaced the boot.img with one from the Vibrant, then you're not even using the kernel from here. Weird that you still had the smartassv2 option...
If I'm wrong, someone please correct me

431mb ram possible??

xc-racer99 said:
Ah, ok. I could be wrong, but I think if you replaced the boot.img with one from the Vibrant, then you're not even using the kernel from here. Weird that you still had the smartassv2 option...
If I'm wrong, someone please correct me
Click to expand...
Click to collapse
Im not sure either because i have all govenors mentioned above while i can tweak everyone of them using kernel aditor apk and plus i can also toggle fast charge which wasnt present in omni rom for the vibrant. I have uploaded some screenshots and it is from code rom.

xc-racer99 said:
Assuming you used the kernel source (github.com/omni) to port to the vibrant, you won't have any options other than bigmem. The source code linked there doesn't have things such as Fast Charge, etc.
However, you can see if support for them is there by manually putting a "1" in the file /sys/kernel/fast_charge/force_fast_charge
(ie echo 1 > /sys/kernel/fast_charge/force_fast_charge from a terminal/adb shell).
Also, look out for selinux issues. If selinux is in enforcing mode, the Devil Manager may or may not be able to access the sysfs paths. Run "setenforce 0" to put it to permissive mode.
Speaking of source code, @Coldwindofnowhere have you uploaded the complete kernel source you used somewhere? I'd be curious to see it. Thanks for taking this project on!
Click to expand...
Click to collapse
Sure, i'll set a github soon, but trust me there are only minimal changes to the origianl code (even if adding liveOC seems harder since i only got build errors xD).
Btw i won't build anything this week, i'm busy with exams.

Github is up !

Coldwindofnowhere said:
Could someone help me to setup my github please ? (PM me)
Click to expand...
Click to collapse
Check your PM, let me know if you need more help.

Hey.
I tested it on 5.0.2 . stuck on bootanimation. Better mention that its for 5.1.1 .
Can you add support or please tweak it for 5.0.2
Now iam using RR lp 5.0.2
I removed some apps. And it have the same apps like omni. Its works faster than ever. Working theme engine. Only removed music and added apollo.

Has anyone have a bug where when you call someone the speaker mode work fine but the audio stops working when you turn off speaker mode
I had no problem with original omni kernel any fix because this is an awesome kernel

falconscrest123 said:
Has anyone have a bug where when you call someone the speaker mode work fine but the audio stops working when you turn off speaker mode
I had no problem with original omni kernel any fix because this is an awesome kernel
Click to expand...
Click to collapse
That's weird, i haven't changed anything concerning the audio in the kernel. You're using it on a vibrant right ? This might be the problem. I'm gonna try to reproduce this bug on my i9000 and see ....
Edit: try this http://www42.zippyshare.com/v/aZ6XgBlE/file.html
DO NOT FLASH, IT DOESN'T WORK (except if you want to give me a log or if you're really curious)

Any feedback on the vibrant version ?

Coldwindofnowhere said:
Any feedback on the vibrant version ?
Click to expand...
Click to collapse
The kernel didnt even flash no errors nothing whenever i flashed via twrp it would instantaneously reboot to recovery. Thanks again for atleast trying to fix the issue.

Coldwindofnowhere said:
Any feedback on the vibrant version ?
Click to expand...
Click to collapse
Bro. Can you add fast charge and the governers in omni kernal 5.0.2. Please
Thanks

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] [LG ROMS ONLY] [D802 Only] StockMOD Kernel v3.00 [3rd Dec 13]

StockMOD Kernel for D802 international phones
Suitable for Official LG and LG-based roms ONLY
Only for D802 International models​
Features:
- ExFAT support for USB OTG / Card readers with large drives
- CIFS network share mounting supported
- Voltage control support (no built in UV, but configurable via apps like SetCPU)
- Optimised kernel libraries
- MSM SoC + Kernel "always-on" logging and debugging disabled to save CPU cycles
- Simple GPU governor
- Ondemand governor tweaked for lower latency speed shift changes
- Internal kernel function fixes (ie, memory leaks, scheduler fixes)
- SIO scheduler (default, noop, cfq and ROW are available)
- high performance, low latency kernel
- compiled with Os flags and neon-vfpv4 FPU enabled
- Westwood+ TCP congestion control
- Built from official LG v10a kernel source
- Lokified during flash
Installation:
- Download .zip and copy to phone
- Reboot to recovery
- Recommended to take full system backup, including EFS partition
- Flash .zip
- Reboot
- 1st reboot may take a little longer than usual
Please do not:
Do not ask for other models to be supported, at this time is D802 only. Other models may follow in the future
Do not ask for extra features. This is to be a stock-compatible replacement kernel only. If LG didn't add it, I probably wont either.
Do not ask for support of other roms, such as CM / AOSP. Im a LG based rom user, if you want a kernel for another type of rom either use one of the available ones we already have or learn to compile your own.
Download
Download the kernels from my FTP here > FTP Directory
Archive of older versions https://app.box.com/s/k8prx3pyxgd866aidd9x
Changelog:
v3.00
- Carefully rebased, some previously used commits removed
- Back to O2 compression
- (most of) Viking's Ondemand governor settings preapplied
- Added init.d script support
- Fixed battery drain and temperature issue some had
- Reverted to a more stock-like config for less issues
v2.60
- Reverted all VM and ramdisk changes, back to kernel defaults
- Reverts most ramdisk changes, rebuilt from fresh stock ramdisk dump
- Should fix android and network logging
- Decreased Ondemand CPU frequency shift latency to 8ms
- Removed some GPU logging functions
- Stock GPU governor is default
- Full neon-vfpv4 FPU optimisations
- Fixed 3d game problems some had with 2.20+beta 2.50
v2.20
- Some configuration changes
- Some minor system tweaks
- Firewall logging re-enabled
v2.06
- Cleaned up ramdisk
- Sensible, well tested VM and Ondemand values set during boot
- CIFS network mount support added
- Increased vibrator strength
- CPU Sync (idle before rampdown) frequency increased to 1190mhz (default is 960mhz, battery life / heat seem virtually unaffected)
- Simple GPU governor set as default (no longer needs manual activation)
- 99% kernel debugging and logging now disabled. (Android logger still available)
- Ondemand governor is recommended
v2.03
- Once again a complete rebuild
- Fixed CPU utilisation issue with v2.00
v2.00
- Rebuilt from scratch (code cleanup)
- Switched to full neon-vfpv4 compiler flags for fpu
- Switched to Google GCC 4.8 toolchain
- Switched to O2 optimisation level
v1.03
- Fixed audio interference on headset
- Improved UI smoothness
- Faster boot
v1.02
- Added Westwood+ TCP congestion control
- Disabled more debugging and logging for adreno and krait cpu
- More internal fixes
v1.01
- More internal kernel fixes
- Reduced minimum CPU voltage than is user configurable to 700mv (default voltages are unchanged)
- Disabled some ramdisk controlled LG specific logging and debugging (more CPU cycles saved)
v1.00
- First release
Sources:
Kernel sources github > Kernel Github
Ramdisk + Build script > Ramdisk Github
Credits and thanks:
- LG
- Wootever (for loki flash scripts and binaries, and some elements of the build script)
- Faux123, Gokhanmoral, franciscofranco and the CM team for some commits
If you want to return to the original D802 10b International kernel please download and flash the zip attached to this post
reserved2
Hi,
Yeah!
Glad to to have been a tester
Thanks for your kernel! This one looks great
viking37 said:
Hi,
Yeah!
Glad to to have been a tester
Thanks for your kernel! This one looks great
Click to expand...
Click to collapse
thank you for being a patient tester! your feedback was appreciated, as well as the time you have been testing it for me. :good:
g.lewarne said:
thank you for being a patient tester! your feedback was appreciated, as well as the time you have been testing it for me. :good:
Click to expand...
Click to collapse
Re,
You're welcome
I just saw that you had added SIO i/o scheduler, thanks for this... It has always worked well for me, I mean for my devices
viking37 said:
Re,
You're welcome
I just saw that you had added SIO i/o scheduler, thanks for this... It has always worked well for me, I mean for my devices
Click to expand...
Click to collapse
ah yes, thanks for the reminder, will add that to OP
I have flashed this kernel combined with your ROM and so far so good.
Love the rom. Trying the kernel!.
Sent from my LG-D802 using Tapatalk
Bootloop after installing kernel.
Sent from my LG-D802 using Tapatalk
gentlemandroid17 said:
Bootloop after installing kernel.
Click to expand...
Click to collapse
Hi,
Weird, no issue here. You are the first
Maybe a bad download?
EDIT: you are on LG based rom, right?
Agreed. Flashed on Rayglobe 2.6 about 2 hours ago and have been running fine since.
Sent from my LG-D802 using Tapatalk
I also have Bootloop after installing kernel.
installed on the : [ROM][Stock][LG-G2 D802 international] StockMOD rom, Fast, Fluid, Lagfree - v1.06
I am on g.lewarne's rom. First boot went fine. Got bootloop on reboot.
Sent from my LG-D802 using Tapatalk
gentlemandroid17 said:
I am on g.lewarne's rom. First boot went fine. Got bootloop on reboot.
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
Are you guys running any "set xxx parameter on reboot" type of apps ?
I've been flashing these kernels, as have my esters for nearly a week and have not had any issues with them. The only thing I can think is you have an app which is trying to do something on boot up....
My phone was stock fresh, full wiped, installed my rom, then all the test kernels and 0 issues
gentlemandroid17 said:
I am on g.lewarne's rom. First boot went fine. Got bootloop on reboot.
Click to expand...
Click to collapse
I just tested, no bootloop after reboot...
You have not flash something else (a tweak or a mod) or modifying something? Undervolt (too much and set on boot)?
I don't know, maybe wait g.lewarne...
viking37 said:
I just tested, no bootloop after reboot...
You have not flash something else? A tweak/mod? Undervolt (too much and set on boot)?
I don't know, maybe wait g.lewarne...
Click to expand...
Click to collapse
im starting to wonder if there are some subtle phone hardware variations that we are not aware of... ? (and im not talking 16/32gb since kernel is the same according to LGs sources)
either that or its is some app installed trying to do something funky....
@ g.lewarne, exept the CPU binning, I don't know
viking37 said:
@ g.lewarne, exept the CPU binning, I don't know
Click to expand...
Click to collapse
IKR
I mean, in Wootevers kernel thread there have been similar reports of sporadic non-compatability and although our kernels are quite different, the basic hardware controlling bits are the same. Even if the SoC had different variations, why would the stock LG kernel work for everyone when one built from their own source wont ?
Its either an app, or the sources LG share are not the "real" ones they use, which I have some suspicions about for other reasons
gentlemandroid17 said:
I am on g.lewarne's rom. First boot went fine. Got bootloop on reboot.
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
is your phone a branded phone ?

MoshKernel-amami[aosp-based + stock]

This is a kernel you can flash on any rom for amami, which uses the caf-based libraries and stock rom.
The most work on this was not done by me, this is more a package of work done by other people.
See the next post for installation instructions.
Features
- f2fs support
- cpuquiet cpu hotplug driver(disabled mpdecision automatically)
- lz4 support and lz4 kernel compression
- optional underclocking to 268 Mhz
- fiops i/o scheduler
- lcd color calibration support
- cpu undervolting support
- enabled zram
- faux123's sound control
- fastcharge support
- dynamic sync control by faux123
- '-Ofast'-optimizations
- 'proc/last-kmsg'
- vibration density sysfs interface
- TWRP recovery with f2fs support(stock-based only)
- [WIP] f2fs-compatible ramdisk(stock-rom only, for aosp-based check this
- init.d support(stock romonly, but already included in the most aosp-based roms)
- disabled ric service(stock only, not needed with aosp-based roms)
- prima wifi module​
Issues
- exfat sdcards and usb storage can't get mounted​
XDA:DevDB Information
MoshKernel-amami[aosp-based + stock], Kernel for the Sony Xperia Z1 Compact
Contributors
CoolDevelopment, faux123, DooMLoRD, FreeXperia, every android kernel developer
Kernel Special Features:
Version Information
Status: Testing
Current Beta Version: 0.3
Beta Release Date: 2014-09-08
Created 2014-07-16
Last Updated 2014-09-08
Reserved
How to configure cpuquiet
You can configure cpuquiet to the pefect use with your phone. You need root permissions and any shell, i. e. Terminal Emulator.
First run 'su' to get root permissions.
Change the minimum and maximum amount of online cpu cores:
Code:
file for max. amount of online cpus: /sys/devices/system/cpu/cpuquiet/cpuquiet_driver/max_cpus
file for min. amount of online cpus: /sys/devices/system/cpu/cpuquiet/cpuquiet_driver/min_cpus
Example:
echo 3 > /sys/devices/system/cpu/cpuquiet/cpuquiet_driver/max_cpus
echo 2 > /sys/devices/system/cpu/cpuquiet/cpuquiet_driver/min_cpus
The cpuquiet driver supports different governors, a bit like cpufreq governors. The governors which are currently present are: "runnable", "rq_stats", "load_stats", "balanced"
Find the best one for you by yourself
Code:
sysfs file: /sys/devices/system/cpu/cpuquiet/current_governor
Example: echo balanced > /sys/devices/system/cpu/cpuquiet/current_governor
Change the max screen-off cpu frequency and online cpus:
Code:
sysfs file for max. screen-off-freq: /sys/devices/system/cpu/cpuquiet/cpuquiet_driver/screen_off_cap
syfs file for max. screen-off online cpus: /sys/devices/system/cpu/cpuquiet/cpuquiet_driver/screen_off_max_cpus
Example:
echo 960000 > /sys/devices/system/cpu/cpuquiet/cpuquiet_driver/screen_off_cap
echo 1 > /sys/devices/system/cpu/cpuquiet/cpuquiet_driver/screen_off_max_cpus
Disable cpuquiet(and enable mpdecision):
Code:
sysfs file: /sys/devices/system/cpu/cpuquiet/cpuquiet_driver/enabled
Example:
echo 0 > /sys/devices/system/cpu/cpuquiet/cpuquiet_driver/enabled
start mpdecision #enable mpdecision
These settings only stick until you reboot. So better setup an init.d script, which applies your settings every boot.
If you aren't sure, what init.d scripts are, ask google.
Reserved
AOSP-based roms
The kernel for asop-based roms gets flashed using a special .zip, which only flashes zImage and dt. That means, there are no ramdisk-problems, which you didn't got before. The scripts inside the script are also modifying the ramdisk to don't have mpdecision enabled by default.
Installation
1. Flash the zip file through a recovery
Download
https://s.basketbuild.com/devs/CoolDevelopment/MoshKernel-amami/aosp-based/
Source: https://github.com/CoolDevelopment/MoshKernel-amami/tree/caf
Stock rom/Stock-based roms
Installation
1. Be sure you have an unlocked bootloader
2. Be sure you have installed busybox
3. Flash the zip file through a recovery
Download
https://s.basketbuild.com/devs/CoolDevelopment/MoshKernel-amami/stock-based/
Source: https://github.com/CoolDevelopment/MoshKernel-amami/tree/14.4.A.0.xxx
https://github.com/CoolDevelopment/MoshKernel-amami-stock-based-initramfs
Changelog
0.1
- initial commit
0.1.1
- revert back to row as default i/o scheduler
0.1.2
- update f2fs to current upstream
- replace Cyanogenmod branding with mine
- strip kernel modules, you don't need to download 30mb+ anymore
0.2
- removed intelliplug
- added cpuquiet cpu hotplug driver
- automatically disabled mpdecision(the scripts are modifying the ramdisk)
- fastcharge support
- '-O3'-optimizations
- lz4 support and kernel compression
- remove overclocking
0.3
- stock-rom support
. dynamic fsync control by faux123
- changed default configuration for cpuquiet
- prima wifi module for stock rom
- upstreamed f2fs commits from linux 3.17rc4
Any roms, Also cm11?
Inviato dal mio Xperia Z1 Compact
cicci0 said:
Any roms, Also cm11?
Inviato dal mio Xperia Z1 Compact
Click to expand...
Click to collapse
Yes
Whaa!! for CM based ROMs and Sony based ROMs!! that would be interesting,
also I like the idea of not having a ramdisk inside the zip, I'll probably use it for next releases of Pimped kernel,
And did you strip the kernel modules before putting them inside the zip??
the wlan.ko module is 43.5MB!! the kernel's zip is around 35MB!!!! that is alot.
BTW, great work, thanks for contributing again and again for our beloved device,
hope you the best:angel:
OmarEinea said:
Whaa!! for CM based ROMs and Sony based ROMs!! that would be interesting,
also I like the idea of not having a ramdisk inside the zip, I'll probably use it for next releases of Pimped kernel,
And did you strip the kernel modules before putting them inside the zip??
the wlan.ko module is 43.5MB!! the kernel's zip is around 35MB!!!! that is alot.
BTW, great work, thanks for contributing again and again for our beloved device,
hope you the best:angel:
Click to expand...
Click to collapse
I am sorry but it may not work on sony roms, you can try if you want. I didn't test it.
I did not even know that kernel modules can be stripped
Sent from my Xperia Z1 Compact using XDA Premium 4 mobile app
CoolDevelopment said:
I am sorry but it may not work on sony roms, you can try if you want. I didn't test it.
I did not even know that kernel modules can be stripped
Sent from my Xperia Z1 Compact using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Well yeah that is the problem, I'm kinda sure that you can't use the same kernel for Sony and AOSP based ROMs in the same time!!
so you should mention in OP or in title that this kernel is for AOSP based ROMs so that users don't get confused...
Also if you haven't searched and found out about the stripping, you can do it by executing this:
<dir-to-toolchain>/bin/arm-eabi-strip --strip-unneeded <dir-to-modules-folder>/*
of course the arm-eabi-strip part depends on what toolchain you're using.
Hopefully that would help.
Works on unofficial slimkat
Sent from my Xperia Z1 Compact using XDA Premium 4 mobile app
It also works great with this : http://download.mokeedev.com/?device=amami
ps: Always love to use the FauxSound Audio/Sound Control and FauxClock apps
Thank You !!!!
:good:
Version 0.1.2:
- update f2fs to current upstream
- replace Cyanogenmod branding with mine
- strip kernel modules, you don't need to download 30mb+ anymore
If you want to use f2fs, I really suggest you to install this, the fixed bugs are really important. Else it is almost unneccessary
@CoolDevelopment
Very nice job! Finally we get a dedicated custom kernel for Amami
Oh and I saw the commits on CM gerrit. Nice job man :good:
I'll try flashing this on PAC. If what you say is true, that it doesn't modify the ramdisk, then it should boot. Otherwise I'll get stuck in a bootloop because PAC has custom jar files.
Finally some exciting development on Amami, testing now
EDIT: just a tip, you should ask a mod to move this thread to original development, because it really belongs there
EDIT2: it works perfectly
Yes it doesnt work on pa aslo :/
ygecesefa said:
Yes it doesnt work on pa aslo :/
Click to expand...
Click to collapse
Please give me details else i can't help
Sent from my Xperia Z1 Compact using XDA Premium 4 mobile app
it work on candykat rom
@cooldevekopment Is it possible to include TWRP instead of CWM in your kernel. I know there is a patch for f2fs that has TWRP buid-in, but anyway.
da900 said:
@cooldevekopment Is it possible to include TWRP instead of CWM in your kernel. I know there is a patch for f2fs that has TWRP buid-in, but anyway.
Click to expand...
Click to collapse
this kernel has no ramdisk, meaning it doesn't contain nether CWM nor TWRP,
whatever recovery you'll flash the kernel through, it won't be replaced with any other recovery
OmarEinea said:
this kernel has no ramdisk, meaning it doesn't contain nether CWM nor TWRP,
whatever recovery you'll flash the kernel through, it won't be replaced with any other recovery
Click to expand...
Click to collapse
Does this mean I can flash it even on a rooted stockrom?? 4.4.4 108 for example
djdana said:
Does this mean I can flash it even on a rooted stockrom?? 4.4.4 108 for example
Click to expand...
Click to collapse
Nope, because it is based on AOSP kernel source, which won't work on Sony based ROMs,
this kernel will only work on AOSP-based (CM-based) ROM..
To bad haha thanks for the quick reply

[KERNEL]Sandy Kernel v1.4 [25/02/2016] [ Sandy charger control ] | [More]

My kernel would have only what's needed. However users can request a feature and if i find it worthy i would test it and add.
I am keeping short and writing the features i have added so far !
FEATURES:
V 1.4 : [ As of now only CM based ]
Switched to latest CM13 source base
Voltage control
More refined sandy charger control
Tuned elementalx governor
Darkness governor
Kcal tweaks
FIOPS & SIO added
Compiled with latest uber toolchain
Other tweaks from my end
V 1.3 :
FIOPS scheduler added
Tuneups to interactive governor
Changes to elementalx and it's tunables.
Solves potential MTP mode USB issues and sound issues.
Full synapse support added ( Doesn't directly come inside from my kernel. You will have to flash separately ). Thanks to @yarpiin
More thermal changes
Lot more in store
To download synapse flashable zip refer third post
Please install CM camera next mod which is also available under downloads section. Just install it as normal apk. Hotplug has video rec freeze on stock OP camera. Blame Oneplus for it.
V 1.2 :
Sandy charger control. Now charge your op2 much faster than stock ( Use synapse or updated kernel adiutor app [available in my downloads,not playstore of kernel adiutor] to enable it and control )
Intelliplug. Use it wisely and according to ur usage
Initial support to synapse ( The bulk needs to be still controlled via Kernel Adiutor )
Initial attempt at porting Faux Sound control ( It's not working completely yet. Will be fixed soon )
Merged with latest Oxygen 2.1 source
Plenty of other features hidden.
Initial release :
Compiled with Sabermod gcc 4.9 toolchain
Powersuspend with different modes
USB Fast charge
Intelligent cpuquiet hotplug framework ( Based on NVDIA and tuned to msm )
ElementalX governor from flar ( with latest patches )
Kcal control ( colour control driver by savoca )
Fsync on/off support
BFQ I/O scheduler added
Thermal code tweaked heavily ( device should stay at it's coolest )
Optimized for best performance and battery ( you can get some of the best results )
Smoothness guaranteed
Rcu,sched,mm and other various enhancements
There are plenty more hidden ! Just use and experience the kernel. Don't forget to post your reviews
I can only say that you can get one of the best experiences with probably no real bugs !
Recommended app :
Kernel Adiutor by grarak
Downloads :
Sandy kernel for One Plus two
Installation guide :
Download the zip
Reboot to recovery ( custom recovery )
Flash the zip
Enjoy sandy kernel on one plus two
Credits :
@grarak - For the code base and for his time. Nice guy to speak with
And to everyone else, whose code i have used.
Tester credits :
@Skybark - For testing. Nice guy to speak with as well. Thanks mate !
XDA:DevDB Information
Sandy Kernel for One plus two, Kernel for the OnePlus 2
Contributors
Santhosh M
Source Code: https://github.com/sandymanu/sandy_oneplus2_msm8994
Kernel Special Features: [Fast Charge] | [ Elementalx] | [Darkness ] | [ Ice cool thermal]
Version Information
Status: Stable
Current Stable Version: 1.4
Stable Release Date: 2016-02-25
Created 2015-09-04
Last Updated 2016-04-28
FAQ's
Q : Will this work on all ROM's ?
A : It will work bugless in Oxygen OS, but could give you bugs in CM or CM based ROM's ( as they are under alpha stage )
Q: OMG ! Baettaryyy SUCKZ ! STAPH putting lame kernels
A : My kernel is intended for battery and performance. I have no intention to build a kernel for battery draining. Your drain comes from your location apps,wake locks,etc. Use App ops or servicely app and check damn wakelocks & keep awake of your apps ( Play services, Maps, facebook,etc )
Q: What governor do you suggest ?
A : I have included only one governor ( elementalx ) other than stock and hence i would suggest you switch to it if it's not pre-switched after flashing.
Synapse link
Synapse flashable zip
Tested and all I can say is to flash that s#it!!Smoothness overloaded.Awesome power management!
5* rating
Tapped from my ①+②=❸
Well looks good but you havent stated is it for CM12.1 or Oxygen ?
Will it work with CM12(BETA) and Oxygen OS 2.0.2?
yarpiin said:
Well looks good but you havent stated is it for CM12.1 or Oxygen ?
Click to expand...
Click to collapse
Works great on OOS 2.0.2!
ebanreb37 said:
Will it work with CM12(BETA) and Oxygen OS 2.0.2?
Click to expand...
Click to collapse
Tapped from my ①+②=❸
Great !!! will try
Reserved for my tweaks.. Thanks for the kernel.
From lettuce with LiquidSmooth ROM and Sandy Kernel
vaisakh7 said:
Works great on OOS 2.0.2!
Tapped from my ①+②=❸
Click to expand...
Click to collapse
camera force close, mp3 error, all big cores always on?
Luigi_2 said:
camera force close, mp3 error, all big cores always on?
Click to expand...
Click to collapse
No issues!Camera works fine,MP3 works fine,cores are shut down on light usage(thanks to CpuQuiet hotplug).
Tapped from my ①+②=❸
Works great~~ still testing the fast charge~ tho is it possible to have westwood tcp congestion or others perhaps?
Luigi_2 said:
camera force close, mp3 error, all big cores always on?
Click to expand...
Click to collapse
You mean you face this ?
Luigi_2 said:
camera force close, mp3 error, all big cores always on?
Click to expand...
Click to collapse
Seems like a recurring theme with these early OP2 kernel attempts..
return.of.octobot said:
Seems like a recurring theme with these early OP2 kernel attempts..
Click to expand...
Click to collapse
These are not there in this kernel ! [ He was just questioning if it is there ]
Santhosh M said:
These are not there in this kernel ! [ He was just questioning if it is there ]
Click to expand...
Click to collapse
Gotcha, definitely appears to be the most competently developed one we've seen thus far.
Am I to assume that the lack of included governor list indicates that it's the same as stock? I could really dig me some smartmax..
return.of.octobot said:
Gotcha, definitely appears to be the most competently developed one we've seen thus far.
Am I to assume that the lack of included governor list indicates that it's the same as stock? I could really dig me some smartmax..
Click to expand...
Click to collapse
Heavily tweaked elementalx should satify your needs
Tapped from my ①+②=❸
Luigi_2 said:
camera force close, mp3 error, all big cores always on?
Click to expand...
Click to collapse
Can you verify if this is true?
ebanreb37 said:
Can you verify if this is true?
Click to expand...
Click to collapse
This isn't true.I've been a tester and I can assure that these issues doesn't exist!
Tapped from my ①+②=❸
vaisakh7 said:
Heavily tweaked elementalx should satify your needs
Tapped from my ①+②=❸
Click to expand...
Click to collapse
does elementalx efficient in terms of battery?

[KERNEL][LineageOS 13/14.1] Steel 6/7 Kernel

-STEEL 6/7 KERNEL-
This is my kernel based on the LineageOS stock kernel! I try to keep it as optimized as possible while adding a few features here and there. Suggest or request features, I don't care as long as it's logical. I hope you like it! Everyone has a different taste though.
-CREDITS-
ZaneZam, Lord Boeffla, Yarpiin, anupritaisno1, Pranay Narang, FranciscoFranco, the XOS team, LineageOS, osm0sis, aviraxp and maybe a couple others, i'm sorry if I forgot someone!
-FEATURES-
• CPU underclock to 302mhz on big and little clusters.
• GPU underclock to 27mhz.
• GPU default governor is simple_ondemand.
• Zram disabled.
• CPU Governors: interactive, ondemand and performance.
• Franco wakelock blocker.
• SLIMbus overclock.
• Fingerprint boost.
• Kcal control.
• Spectrum support with 4 preconfigured profiles.
• Headphone audio boost.
-DOWNLOADS-
Google Drive
-COMPATIBILITY-
It is most compatible with LineageOS 14.1/13 and most ROMs based on it. It should work on AOSP/CAF ROMs but not all features are guaranteed.
-BUILD INFO-
I use UBERTC 4.9.4 and Kubuntu Linux 17.
XDA:DevDB Information
Steel 6/7, Kernel for the OnePlus 2
Contributors
Nick80835
Source Code: https://github.com/Nick80835/Steel-Kernel-OP2-Lineage
Kernel Special Features: It boots!
Version Information
Status: Stable
Current Stable Version: 2017-08-01:16
Current Beta Version: ---
Created 2017-06-22
Last Updated 2017-08-01
Known Issues: Tell me please! Seriously.. tell me.
Nick80835 said:
Known Issues:
• DT2W can only be enabled and disabled using a kernel settings app for LOS14.1 based ROMs, for AOSP and CAF based ROMs the switch in the settings app should work if it is there.
• Incompatible with Boeffla Config app.
Click to expand...
Click to collapse
why isnt Boeflla config app compatible?
suraj.das said:
why isnt Boeflla config app compatible?
Click to expand...
Click to collapse
I believe it's an issue with the kernel version or a value I need to fix back to default.
Nick80835 said:
I believe it's an issue with the kernel version or a value I need to fix back to default.
Click to expand...
Click to collapse
Hmm.. It worked for me when I was modifying boeffla kernel for personal use. Ill take a look into your source once its up ?
suraj.das said:
Hmm.. It worked for me when I was modifying boeffla kernel for personal use. Ill take a look into your source once its up ?
Click to expand...
Click to collapse
I think I accidentally modified a few things I should have left in place, before I finish putting the source up I'll look and see if I can fix it.
Nick80835 said:
I think I accidentally modified a few things I should have left in place, before I finish putting the source up I'll look and see if I can fix it.
Click to expand...
Click to collapse
So now it's Boeffla app compatible?
CounterC said:
So now it's Boeffla app compatible?
Click to expand...
Click to collapse
No, and won't be because this kernel has too many changes to work properly with the app. I apologize if this is inconvenient. It has been working fine with Kernel Adiutor all day for me though. :fingers-crossed:
Just uploaded an update, I added touchboost back, I removed Boeffla sound and Boeffla controls altogether. I basically refreshed the audio system, still based on PDesireAudio 10.0 due to issues with 10.1. The default IO readahead is now 128kb.
Edit: This kernel works with SuperSU and MagiskSU just fine. I've tested MagiskSU and it passes safetynet. SuperSU doesn't pass safetynet.
I'm working on adding LZ4 Fast compression/decompression to my kernel and I was wondering if anybody who may see this could help? Any tips or info are welcome, I'm trying to learn as much as possible.
Nick80835 said:
No, and won't be because this kernel has too many changes to work properly with the app. I apologize if this is inconvenient. It has been working fine with Kernel Adiutor all day for me though. :fingers-crossed:
Click to expand...
Click to collapse
You need to recover almost every part of Boeffla ramdisk.
aviraxp said:
You need to recover almost every part of Boeffla ramdisk.
Click to expand...
Click to collapse
I don't plan on doing that so I just removed it. The boeffla config app doesn't provide all the options and functionality that my kernel has so it's really bottlenecking it's array of options. The kernel works fine, flashes fine and builds fine as it is and I see no reason to hold it back in such a way. I based this kernel on Boeffla kernel for a good reason, compatibility with ROMs and his great AnyKernel implementation.
Nick80835 said:
I don't plan on doing that so I just removed it. The boeffla config app doesn't provide all the options and functionality that my kernel has so it's really bottlenecking it's array of options. The kernel works fine, flashes fine and builds fine as it is and I see no reason to hold it back in such a way. I based this kernel on Boeffla kernel for a good reason, compatibility with ROMs and his great AnyKernel implementation.
Click to expand...
Click to collapse
Then I assume things like swipe2awake are broken now?
aviraxp said:
Then I assume things like swipe2awake are broken now?
Click to expand...
Click to collapse
Sadly, yes.
Nick80835 said:
Sadly, yes.
Click to expand...
Click to collapse
Then remove Boeffla swipe2wake helper. I think it can be simply removed through reverts, or build your own kernel auditor with Boeffla implentations.
aviraxp said:
Then remove Boeffla swipe2wake helper. I think it can be simply removed through reverts, or build your own kernel auditor with Boeffla implentations.
Click to expand...
Click to collapse
I thought I did remove it, where is it exactly?
Edit: You, and anyone else, can message me on telegram, my username is @Nick80835
Just uploaded a small update after a long testing period. It's safe to say it's stable for use! I fixed a couple bugs, removed zram compression (not used, a waste of space), removed a little bit of bloat and set some settings to their proper values.
Nick80835 said:
Just uploaded a small update after a long testing period. It's safe to say it's stable for use! I fixed a couple bugs, removed zram compression (not used, a waste of space), removed a little bit of bloat and set some settings to their proper values.
Click to expand...
Click to collapse
would be helpful if you state update date in the title of thread
Uploaded a very tiny update, only change is the default GPU governor is now simple_ondemand
Hey at least implement pdesireaudio correctly
Well I don't feel like publicly saying **** about other's work (since the kernel is really good, awesome job man) but if you really want pdesireaudio working maybe you should pm me
Again nice work man, good kernel

Categories

Resources