[PATCH] bfq and sio scheduler - Streak 5 Android Development

Hello,
after reading http://www.vincentkong.com/wiki/-/wiki/Main/Android+IO+Schedulers I got the impression,
that my streak deserves a try in other schedulers than the cfq.
So I took https://github.com/dsc-team/dsc-team-kernel-project and added the bfq and sio scheduler
(see attached file)
The sio scheduler I got from https://github.com/waninkoko/sio-iosched/blob/master/sio-iosched.c
The bfq scheduler came from http://algo.ing.unimo.it/people/paolo/disk_sched/sources.php (2.6.35 Version of it)
I compiled it once with arm-linux-androideabi-4.6 but stayed at gcc-linaro-arm-linux-gnueabihf-2012.09-20120921_linux, cause the zImage is about 7% smaller in bytes and 10% faster at starting init with the same .config.
Tested the schedulers with bsplayer playing a 720p video from /sdcard/
With cfq and sio I get just about 23 fps, with bfq straight 25 fps. Thats not much, but enough to stop bsplayer from dropping frames.
I kindly request you, considering at least the bfq to include in your next kernel release.
Thank you for your attention
hunderteins

Patch applies clean, but am i missing something?
Code:
block/blk-ioc.c: In function ‘put_io_context’:
block/blk-ioc.c:45:29: error: ‘struct io_context’ has no member named ‘bfq_cic_list’
block/blk-ioc.c: In function ‘exit_io_context’:
block/blk-ioc.c:80:29: error: ‘struct io_context’ has no member named ‘bfq_cic_list’
block/blk-ioc.c: In function ‘alloc_io_context’:
block/blk-ioc.c:94:36: error: ‘IOC_IOPRIO_CHANGED_BITS’ undeclared (first use in this function)
block/blk-ioc.c:94:36: note: each undeclared identifier is reported only once for each function it appears in
Never mind, applied BFQ patch from
http://algo.ing.unimo.it/people/paolo/disk_sched/sources.php
Works, thank you.
--
http://n0p.8bit.fm/streak/DSC_PhoenixU20.zip
Linaro, BFQ (cgroups+) added (CFQ default)
-O2 -mfpu=neon -march=armv7-a -funsafe-math-optimizations -mvectorize-with-neon-quad -fno-gcse -fprefetch-loop-arrays

_n0p_ said:
...
Never mind, applied BFQ patch from
http://algo.ing.unimo.it/people/paolo/disk_sched/sources.php
Works, thank you.
--
http://n0p.8bit.fm/streak/DSC_PhoenixU20.zip
Linaro, BFQ (cgroups+) added (CFQ default)
-O2 -mfpu=neon -march=armv7-a -funsafe-math-optimizations -mvectorize-with-neon-quad -fno-gcse -fprefetch-loop-arrays
Click to expand...
Click to collapse
hey _n0p_, would you mind throwing up a ICS compatible kernel with BFQ?

One for miui to, or i can use this?

_2bad4u_ said:
One for miui to, or i can use this?
Click to expand...
Click to collapse
+1 for Miui :thumbup:
Sent from my Dell Streak using xda premium

Would you guys like BFQ as default?

_n0p_ said:
Would you guys like BFQ as default?
Click to expand...
Click to collapse
It sounds like a winner to me, ...plus we can always fall back to the older kernel if we need.
:good:

For cm also please please
Sent from my ST25i using xda premium

No probs, if I don't have time today, i'll build them tomorrow morning (+3GMT, 20:30 now here)

Crinos512 said:
It sounds like a winner to me, ...plus we can always fall back to the older kernel if we need.
:good:
Click to expand...
Click to collapse
No need for older kernels. You can change schedulers with
echo "bfq" > /sys/block/mmcblk1/queue/scheduler
values are bfq, noop, deadline, cfq
Sadly it.sineo.android.noFrillsCPU is not working with schedulers on the Streak,
cause our /sdcard is mmcblk1 and noFrills expect it to be at mmcblk0. Patched,
it works.
Same goes to com.darekxan.voltagecontrol.
We should patch the kernel and symlink /sys/block/mmcblk1 to /sys/block/mmcblk0 to make these market apps
work on the streak.

No symlink in init so far.
http://n0p.8bit.fm/streak/DSC_PhoenixICS03.zip
http://n0p.8bit.fm/streak/DSC_Phoenix_CM-BFQ.zip
http://n0p.8bit.fm/streak/DSC_Phoenix_MIUI-BFQ.zip

Thank you my friend, i'm testing now, il be back with after testing.

Thanks n0p sir
One question. Is it dsc one or the longhorn kernel with lots of governors?!
Sent from my ST25i using xda premium

I have to say that hunderteins is right, it really makes a difference, i had 2 videos on the phone that lagg alot when playing but always forget to transform them, and now they are working better not laggin, only the sound lags now the video is smooth.

And better photo quality.

_n0p_ said:
No symlink in init so far.
http://n0p.8bit.fm/streak/DSC_PhoenixICS03.zip
http://n0p.8bit.fm/streak/DSC_Phoenix_CM-BFQ.zip
http://n0p.8bit.fm/streak/DSC_Phoenix_MIUI-BFQ.zip
Click to expand...
Click to collapse
on longHorn.
Flashed "DSC_Phoenix_CM-BFQ.zip" casued stucked on Dell Logo. waiting more than 10 minuted . cleared caches, dalvik.

jitin02 said:
on longHorn.
Flashed "DSC_Phoenix_CM-BFQ.zip" casued stucked on Dell Logo. waiting more than 10 minuted . cleared caches, dalvik.
Click to expand...
Click to collapse
it is stuck most probably because you are using the modded custom rom.. i think it will work for standard custom rom..

sinan33 said:
And better photo quality.
Click to expand...
Click to collapse
hi... you mean picture taken with camera are now better quality, or just looks better in gallery?
Sent from my Dell Streak using Tapatalk 2

Related

[KERNEL][4.2/4.2.1][1.6Ghz | Linaro | 3G | 13 Gov | 7 Sched] Omega 3 Kernel - r4

Omega 3 Kernel
Hello everyone! This is my first custom kernel, is based on source of motley with various features from franciscofranco, metallice, faux123, intersectRaven, stratosk and kasperh.
Works on Nexus 7 and Nexus 7 3G.
Features from motley:
Asus\Nvidia\Google Linux 3.1.10 base. All stock features are supported (camera, OTG, NFC etc.)
OC to 1.6GHz (optional)
Voltage control - be careful to not save the setting on boot until you are 100% sure!
GPU OC to 446Mhz
Dynamic EDP - allows EDP to remain enabled (safer), but with an added simple temperature throttle switch (based on Asus Prime)
ZRAM - must be enabled by a script
initramfs - insecure (your ROM must have busybox)
CIFS/UTF8, NFS, NTFS r/w, TUN - built-in, no need for any kernel modules
fsync sysfs enable/disable switch (defaults to fsync enabled)
kexec with hardboot (for supporting Linux/MultiROM)
New features:
Compiled with latest Linaro 12.12 - GCC 4.7.3
7 I/O schedulers - SIO, V(R), CFQ, NOOP, deadline, ROW(default), BFQ v5r1
13 Governors - Interactive(default), Performance, Ondemand, Userspace, PowerSave, Conservative, Lulzactive, SmartassV2, PegasusQ, Wheatley, InteractiveX, OndemandX, Lazy
TCP setting: cubic(default), reno, bic, westwood, highspeed, hybla, htcp, vegas, veno, scalable, lp, yeah, illinos
Optimized misc: SHA1, AES, lib string/memcpy, ARM RWSEM algorithm, OTG unplug and many many others
Update ZRAM (3.3), ZCACHE (3.3), Android Binder (3.3), Lowmemorykiller (3.4), Logger (3.4), Time GPIO (3.4)
Dynamic Sync Control
Support init.d scripts
Jay's Recipe for Buttery Goodness integrated (without init.d script)
Tweak to random entropy (just some more random data avaible)
Much more Ram avaible
GPU Overclock Interface
CPU LP Overclock Interface
2013/01/16 - r4
Removed Thalamus ARM Generic Hotplug (much more battery)
Revert Interactive governor to 3.1 (more balanced)
Revert Android staging drivers to 3.4 (fix lowmemorykiller bug)
Fix compaction for lowmemorykiller 3.4
Revert VM_MAX_READAHEAD to 128 (1024/2048 are useless for battery/performance)
Added GPU Overclock Interface
Added CPU LP Overclock Interface
Tweaked Ramdisk for much more Ram avaible (to see the differance type free on terminal before/after flash)
Compiled with -O2 (in testing)
2013/01/14 - r3
Added InteractiveX governor
Added OndemandX governor
Added Lazy governor
Tweak to random entropy (just some more random data avaible)
TCP setting: cubic, reno, bic, westwood, highspeed, hybla, htcp, vegas, veno, scalable, lp, yeah, illinos
2013/01/12 - r2
Interactive governor from 3.4
Tweaked ramdisk
Support init.d scripts
Jay's Recipe for Buttery Goodness integrated (without init.d script)
Kernel compressed with XY
2013/01/11 - r1
Initial release.
Thanks to all XDA developers
Brisma said:
Omega 3 Kernel
Hello everyone! This is my first custom kernel, is based on source of motley with various features from franciscofranco, metallice, faux123, intersectRaven, stratosk and kasperh.
Features from motley:
Asus\Nvidia\Google Linux 3.1.10 base. All stock features are supported (camera, OTG, NFC etc.)
OC to 1.6GHz (optional)
Voltage control - be careful to not save the setting on boot until you are 100% sure!
GPU OC from 446Mhz
Dynamic EDP - allows EDP to remain enabled (safer), but with an added simple temperature throttle switch (based on Asus Prime)
ZRAM - must be enabled by a script
initramfs - insecure (your ROM must have busybox)
CIFS/UTF8, NFS, NTFS r/w, TUN - built-in, no need for any kernel modules
fsync sysfs enable/disable switch (defaults to fsync enabled)
kexec with hardboot (for supporting Linux/MultiROM)
New features:
Compiled with latest Linaro 12.12 - GCC 4.7.3
Full -O3 optimization
7 I/O schedulers - SIO, V(R), CFQ, NOOP, deadline, ROW(default), BFQ v5r1
10 Governors - Interactive(default), Performance, Ondemand, Userspace, PowerSave, Conservative, Lulzactive, SmartassV2, PegasusQ, Wheatley
Optimized misc: SHA1, AES, lib string/memcpy, ARM RWSEM algorithm, OTG unplug and many many others
Update ZRAM (3.3), ZCACHE (3.3), Android Binder (3.3), Lowmemorykiller (3.8), Logger (3.8), Time GPIO (3.8)
Dynamic Sync Control
Thalamus ARM Generic Hotplug (auto-hotplug)
2013/01/11 - r1
Initial release.
Thanks to all XDA developers
Click to expand...
Click to collapse
Thanks for this, I'm going to try this and tell if everything is working well
Enviado desde mi Nexus 7 usando Tapatalk 2
espaciosalter20 said:
Thanks for this, I'm going to try this and tell if everything is working well
Enviado desde mi Nexus 7 usando Tapatalk 2
Click to expand...
Click to collapse
Please cut the quote man.
If everyone quote his post like that...
Thanks
Looks cool
I'll test this out on cm10.1 should work if you built from motley source
Sent from my Nexus 7 using Tapatalk HD
EDIT: Is it okay if i cook this in my ROM? Thanks.
I tested it out on sgt7 (cm10.1) and it was stuck at the max freq. Couldn't get it to scale down no matter what governor I chose or after rebooting. Went back to lean kernel and all is well again. Idk what happened?
Seems to be working so far for me....
Sent from my Nexus 7 using Tapatalk 2
OK, tested. But according to antutu is a little bit slower than motley one, but anyway I will keep testing for a couple days more.
Enviado desde mi Nexus 7 usando Tapatalk 2
You sure about OTG? I've tried this one latest beta of PA. Couldn't mount my USB though
Sent from my Nexus 7 using xda premium
azoller1 said:
I'll test this out on cm10.1 should work if you built from motley source
Sent from my Nexus 7 using Tapatalk HD
EDIT: Is it okay if i cook this in my ROM? Thanks.
Click to expand...
Click to collapse
Ok, no problem for me
shmega said:
I tested it out on sgt7 (cm10.1) and it was stuck at the max freq. Couldn't get it to scale down no matter what governor I chose or after rebooting. Went back to lean kernel and all is well again. Idk what happened?
Click to expand...
Click to collapse
Have you tried if with motley too there is the same problem?
espaciosalter20 said:
OK, tested. But according to antutu is a little bit slower than motley one, but anyway I will keep testing for a couple days more.
Enviado desde mi Nexus 7 usando Tapatalk 2
Click to expand...
Click to collapse
Try with performance gov because I've optimized interactive gov to be less aggressive scaling at 1Ghz (hispeed_freq) for save more battery
Remember that a difference of 400~ points is normal from one test to another and if you just rebooted, wait that media scanner finish its work.
Very smooth and works perfectly on latest cm10.1! Found my favourite kernel
Sent from my Nexus 7 using Tapatalk HD
vn00914361 said:
You sure about OTG? I've tried this one latest beta of PA. Couldn't mount my USB though
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
With stock rom, no problem with mouse/keyboard and usbdrives.
Works with other kernels?
Nice!!! I've been waiting for a full featured kernel like this.
Gonna try it real soon.
Thanks for the work!
ehi Brisma,good work man!tried the kernel,smooth and fast!benhmarks are a bit lower,but real-use is great!
Really like what you cherry-picked,i think i'll stay with that for now!
keep up the good work!
shmega said:
I tested it out on sgt7 (cm10.1) and it was stuck at the max freq. Couldn't get it to scale down no matter what governor I chose or after rebooting. Went back to lean kernel and all is well again. Idk what happened?
Click to expand...
Click to collapse
same here...back to franco for the moment...
i have tried different governors and parameters but always at max freq.
What governor do you recommend to use to hit the best battery life and performance balance?
DeFcOn said:
What governor do you recommend to use to hit the best battery life and performance balance?
Click to expand...
Click to collapse
ondemand or interactive performance and conservative are those you can play with.
Others are always giving you problems. Other governors are more buzzwords than anything else.
At least it's my opinion...
[email protected]_OC said:
ondemand or interactive performance and conservative are those you can play with.
Others are always giving you problems. Other governors are more buzzwords than anything else.
At least it's my opinion...
Click to expand...
Click to collapse
And what about SmartassV2? It gives great battery life and good performance not like ondemand(not so good performance) and interactive(not so good at battery life).
DeFcOn said:
And what about SmartassV2? It gives great battery life and good performance not like ondemand(not so good performance) and interactive(not so good at battery life).
Click to expand...
Click to collapse
Just my opinion, for me no need to them. I use interactive when gaming an conservative for other things.
And my battery is great and i always keep stability.
The only kernels i use are trinity and franco kernels because of that.
To much governors, schedulers, patch and mods always gives you stability problem.
I do not denigrate any kernel or kernel devs, i just love when it's clean lean and simple.
Brisma said:
With stock rom, no problem with mouse/keyboard and usbdrives.
Works with other kernels?
Click to expand...
Click to collapse
Oh stock Rom. I've tried many different kernels on latest beta of PA. So far no luck...
Sent from my Nexus 7 using xda premium

[WIP]Liberator....

Liberator is an OC/UC daemon similar to, and based on virtuous.
It's a native app, which runs via an init.d script on startup.
It has 4 profiles, which can be set up to change the governor, scheduler, and min/max freqs.
Profiles:
Normal - The default profile.
Sleep - Kicks in when the screen turns off.
Charging - Kicks in when the screen is on, and the phone is charging.
Low Battery - Kicks in while the screen is on, not charging, and the battery percentage falls below the defined level.
Source & Readme - https://github.com/chris41g/android_external_liberator
Download Link - http://chris41g.devphone.org/index.php?dir=Liberator/
I suggest uninstalling any utilities that set the CPU freqs or governor.
I wrote this to work with any ROM, or device.. but things don't always work out the way they are intended to.
If you have any problems, Iet me know so I can get this thing done!
My explanation from irc:
Code:
<chris41g> ok let me explain it
<chris41g> do you underclock or overclock? and do you change governors or scheduler?
<chris41g> its basically a C daemon that replace Setcpu, CPU tweaker, CPU Master etc
<chris41g> way faster since its written in native C, uses less resources and battery
<chris41g> it has 4 profiles.. Normal, Charging, Screen Off, Low Battery
<chris41g> and you can set min/max freq, sched, and governor for each profile...
<chris41g> by setting text files in /system/etc/Liberator
Deleted
Is this set up with default values so I can just flash and use?
NVM I viewed them , and they are. The default "normal" governor is set to ondemand and the scheduler is set to noop, are these the most battery efficient choices?
NVM Found this thread explaining governors http://forum.xda-developers.com/showthread.php?t=1369817
I normally use setcpu, but since you have a 3511 thanks and counting and you say this "uses less resources & battery" then Ill use this. Thx
So does phase support Liberator (from the Original development thread)? Has anybody used it.? For me, it caused a bootloop...
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
bmunday said:
So does phase support Liberator (from the Original development thread)? Has anybody used it.? For me, it caused a bootloop...
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
Click to expand...
Click to collapse
Be sure you uninstall all apps to overclock
$ø|\/|£ťhïñğ ¢ű$ț¤|\/| ⁴.².²
Working extremely well here so far. Thanks Chris!
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
bmunday said:
So does phase support Liberator (from the Original development thread)? Has anybody used it.? For me, it caused a bootloop...
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
Click to expand...
Click to collapse
Liberator v1.4 bootloops on Padawan JB
v1.3 boots fine
Sent from my SAMSUNG-SGH-I717 using xda premium
The download link isn't working for me, any mirrors ?
GPFerror said:
The download link isn't working for me, any mirrors ?
Click to expand...
Click to collapse
Ok, I guess no one had a copy. So I built it from source, did have a question on if I built it right.
I was getting missing cutils/socket.h, so I grabbed that folder from android_system_core-cm-10.1 github and copied into my android-ndk-r9\platforms\android-14\arch-arm\usr\include and had to add a define to the android.mk file
LOCAL_CFLAGS := -DHAVE_SYS_UIO_H or I got a error.
so I grabbed the binary copied it to my phone created all of the *_scheduler files, not sure how to do the init.d yet, is there a special script that was included that is not in the source?
Thanks.
GPFerror said:
Ok, I guess no one had a copy. So I built it from source, did have a question on if I built it right.
I was getting missing cutils/socket.h, so I grabbed that folder from android_system_core-cm-10.1 github and copied into my android-ndk-r9\platforms\android-14\arch-arm\usr\include and had to add a define to the android.mk file
LOCAL_CFLAGS := -DHAVE_SYS_UIO_H or I got a error.
so I grabbed the binary copied it to my phone created all of the *_scheduler files, not sure how to do the init.d yet, is there a special script that was included that is not in the source?
Thanks.
Click to expand...
Click to collapse
its built inside the CM10 tree... and you can either add a script to init.d or just run it from a terminal

[KERNEL] [STOCK LP 5.1.1] v4tk - O3 - uber - optimized

Just for fun, I compiled an optimized version of stock kernel.
It works with stock ROM for Moto X Pure, not tested with anything else.
Changes:
O3
Uber toolchain
strict-aliasing
misc gcc optimization flags
CPU Governors
IO Schedulers
CPU HotPlugins
KCAL
Based on stock source:
https://github.com/MotorolaMobilityLLC/kernel-msm/tree/MMI-LPH23.116-18.1/
Optimization ideas are taken from:
https://github.com/XileForce/Vindicator-S6
Some features are taken from:
https://github.com/kirananto/ONEPLUS2RAZOR/
Final source code:
https://github.com/vadimtk/moto-x-kernel
V6:
For XT1575:
https://www.androidfilehost.com/?fid=24052804347851016
Changes:
Dynamic Fsync (default: off, configurable via Kernel Adiutor)
TCP congestion plugins
V5:
For XT1575:
https://www.androidfilehost.com/?fid=24052804347842888
For XT1572:
https://www.androidfilehost.com/?fid=24052804347843672
Changes:
Added KCAL
Bunch of micro-optimizaitons, like disable CRC check on IO
removed CPU HotPlugins: ALUCARD, INTELLI_PLUG, Zen Decision, Mako. Most of them are not suitable for 6 cores anyway.
added CPU HotPlugins: MPM-HOTPLUG
Heavily modified Thunderplug hotplugin to work on Six-Cores Snapdragon
V3:
https://www.androidfilehost.com/?fid=24052804347841056
Changes:
added I/O Schedulers: Zen, FIOPS
added CPU HotPlugins: ALUCARD, INTELLI_PLUG, Zen Decision, Thunderplug, Mako
V2:
https://www.androidfilehost.com/?fid=24052804347840988
Changes: added bunch of Governors: ELEMENTALX, BIOSHOCK, SMARTMAX, DANCEDANCE, LIONHEART, NIGHTMARE, ADAPTIVE, WHEATLEY, ZZMOOVE, INTELLIACTIVE, BARRY_ALLEN, YANKACTIVE, IMPULSE, DARKNESS, ALUCARD, HYPER, PEGASUSQ, BLU_ACTIVE
V1 Image file:
https://www.androidfilehost.com/?fid=24052804347840172
How to use:
1. Download and unpack
2. Reboot to bootloader:
Code:
adb reboot bootloader
3. Boot temporary with new kernel (active till next reboot):
Code:
fastboot boot v4tk-kernel-uber-alias.img
or flash permanently:
Code:
fastboot flash boot v4tk-kernel-uber-alias.img
AWESOME!!!!! Was following you (pretty sure it was you) on GIThub. Been trying to compile my own for awhile now, with nothing but problems like the f2fs, etc..... Being this was my first try on kernels, I need some major help like your source, lol. Major thanks!!!!!
---------- Post added at 08:29 PM ---------- Previous post was at 08:25 PM ----------
Is adb active on boot? I need to debug a no boot issue, and after I tried modifying the init.rc to try to enable adbd at boot things.....it didn't work?
gokart2 said:
Is adb active on boot? I need to debug a no boot issue, and after I tried modifying the init.rc to try to enable adbd at boot things.....it didn't work?
Click to expand...
Click to collapse
Sorry, I do not know about abd...
Some boot issue is discussed here
https://github.com/MotorolaMobilityLLC/kernel-msm/issues/38
VadimTk said:
Sorry, I do not know about abd...
Some boot issue is discussed here
https://github.com/MotorolaMobilityLLC/kernel-msm/issues/38
Click to expand...
Click to collapse
Basically the kernel starts adb as soon as the device powers up, to help get a logcat to debug a no boot or boot loop. LINK
No WiFi on XT1572. Everything else seems fine.
Sent from my XT1572 using Tapatalk
WiFi works fine on xt1575. Have u tried clearing catche and dalvik?
Also benchmarks show no improvement, but overall feel seems more fluid IMO. Some of the best kernels I've use in the past have followed this trend.
sweet I need some stock rooted love for now! also is there any chance for flashable zip?
I was just wondering if you had any plans going further on this kernel? Such as custom governors, I/O schedulers, etc.? Just flashed this, to early to tell anything right now. Everything seems OK. Thank you.
countryfolk07 said:
I was just wondering if you had any plans going further on this kernel? Such as custom governors, I/O schedulers, etc.? Just flashed this, to early to tell anything right now. Everything seems OK. Thank you.
Click to expand...
Click to collapse
I may look into that. What should be worth to add?
the kernel runs nice it does feel little snappier I wonder if the sms keyboard lag will go away with this kernel.
I will report if it does go away with this kernel this was the only thing that was making me mad sometimes the keyboard would lag when typing (any keyboard)
patt2k said:
the kernel runs nice it does feel little snappier I wonder if the sms keyboard lag will go away with this kernel.
I will report if it does go away with this kernel this was the only thing that was making me mad sometimes the keyboard would lag when typing (any keyboard)
Click to expand...
Click to collapse
How does one reproduce this keyboard lag?
Sent from my XT1575 using Tapatalk
PiousInquisitor said:
How does one reproduce this keyboard lag?
Sent from my XT1575 using Tapatalk
Click to expand...
Click to collapse
Well I usually send about 4-5K messeges per month I text a lot so I would simply see slow response when typing and would make bunch of mistakes I think few people reported same in the "do you have lag thread" in general or questions,I forgot where it was though.
It didn't happen in things like browser or others just sms apps.
patt2k said:
Well I usually send about 4-5K messeges per month I text a lot so I would simply see slow response when typing and would make bunch of mistakes I think few people reported same in the "do you have lag thread" in general or questions,I forgot where it was though.
It didn't happen in things like browser or others just sms apps.
Click to expand...
Click to collapse
Do you have to type uber fast? I was under the impression that I did have fast fingers but maybe not. I only send 800 or so messages per month. I'm part of the generation that prefers to communicate verbally though.
Sent from my XT1575 using Tapatalk
PiousInquisitor said:
Do you have to type uber fast? I was under the impression that I did have fast fingers but maybe not. I only send 800 or so messages per month. I'm part of the generation that prefers to communicate verbally though.
Sent from my XT1575 using Tapatalk
Click to expand...
Click to collapse
Not really lol I do both calling and texts usually 500-600 min month/4-5K msgs.
VadimTk said:
I may look into that. What should be worth to add?
Click to expand...
Click to collapse
Smartass v2 governor, cpu/gpu underclock/overclock ability, cpu under-volt ability, kernel.org patches (lets get this up to version 4.0....lol), audio/visual improvements/drivers........:fingers-crossed::fingers-crossed:
THIS works well as a kernel flasher as long as your not doing ramdisk tweaks.
patt2k said:
Not really lol I do both calling and texts usually 500-600 min month/4-5K msgs.
Click to expand...
Click to collapse
That is my usage just on my personal phone. I don't pay the work phone bill but I'm sure it's scary.
Sent from my XT1575 using Tapatalk
Just wanted to add that using TWRP to flash the boot img works flawlessly. No need to use fastboot on your computer.
PiousInquisitor said:
How does one reproduce this keyboard lag?
Sent from my XT1575 using Tapatalk
Click to expand...
Click to collapse
Are you sure that's just not the app you're using? I don't think I've ever had keyboard lag. Try using textra?
juanacevedo said:
Are you sure that's just not the app you're using? I don't think I've ever had keyboard lag. Try using textra?
Click to expand...
Click to collapse
You should quote the other guy. I'm still trying to reproduce the lag myself.
Sent from my XT1575 using Tapatalk
juanacevedo said:
Are you sure that's just not the app you're using? I don't think I've ever had keyboard lag. Try using textra?
Click to expand...
Click to collapse
I used to use Chomp on my note4 so at first I was using it and I tried few sms-apps and keyboards the keyboard lag would always come back. But so far with this kernel so good, can't tell yet but so far I was no lag.
PiousInquisitor said:
You should quote the other guy. I'm still trying to reproduce the lag myself.
Sent from my XT1575 using Tapatalk
Click to expand...
Click to collapse
Right but that was on stock kernel for now it works good so I can't say yet 100% that it helps or not. But if the lag comes back I will let you guys know

[Kernel][OCN][05.08.2017] Kirisakura-OCEAN-0.4 Performance/Features/Batterylife

Hey guys,
Here is my second kernel project for you all to try. I did my first kernel project on the Google Pixel/XL.
Some may know me from my ghostpepper\butterfly Interactive governor Tweaks from the HTC 10. And later also the widely used Pnp Mod.
I hope to achieve great performance while maintaining stability with this kernel.
I did a few performance tweaks and audio tweaks.
Features are:
Included blu_active CPU governor (you have to rename system/etc/pnp.xml to system/etc/pnp.xml.bak and reboot in order to use blu_active)
Enabled MAPLE, SIO, SIOPLUS, FIOPS, ZEN, TRIPNDROID, FIFO and DEADLINE IO scheduler
Enabled advanced TCP Congestion Control
Included GPU Boost
S2S across navbar area
KCAL color calibration
Button Mapper Support
Fsync On/Off support
Green Pulsating Notification LED
Fingerprint Double Tap to sleep support
Interface to boost memory bandwith upon turning on the screen to achieve faster wake up time
Slimbus Enhancement may improve audio quality
Button Light Notification from @tbalden
IO Sched Switcher
Interface to boost UFS Storage Controller
Power Efficient Workqueues
Adreno Idler
Fast Charging
Reworked GPU Section
Before flashing don´t forget to backup your Boot partition in TWRP.
Download flashable/sideloadable ZIP for twrp:
https://www.androidfilehost.com/?w=files&flid=191735
Changelog:
0.2
https://forum.xda-developers.com/showpost.php?p=72750714&postcount=10
0.2_2
https://forum.xda-developers.com/showpost.php?p=72826947&postcount=13
0.2_6
https://forum.xda-developers.com/showpost.php?p=72894272&postcount=17
0.3_07
https://forum.xda-developers.com/showpost.php?p=73022574&postcount=36
0.4
https://forum.xda-developers.com/showpost.php?p=73293957&postcount=95
To fine tune the Kernel please use EXKM app from @flar2. Even if it´s paid this guy deserves it definitely!
Disclaimer for using blu_active!!!
you have to rename system/etc/pnp.xml to system/etc/pnp.xml.bak and reboot in order to use blu_active
I would like to thank:
@flar2 for his complete work
@tbalden for his led tricks, adreno boost etc
@Flinny for helping me with compiling the kernel!
@savoca for Kcal
@Eliminater74 for bringing me into the kernel game
@Sultanxda
@eng.stk
@osmosis
@frap129
and all others that helped me on my way
Donations:
Donations are not mandatory but very welcome.
If you like my work: http://paypal.me/freak07
Source: https://github.com/freak07/kernel_htc_msm8998
Nice to see you on board! This device deserves all the attention, happy that you joined as well.
tbalden said:
Nice to see you on board! This device deserves all the attention, happy that you joined as well.
Click to expand...
Click to collapse
Thank you for the nice welcoming
Next release will have some upstream commits
Also you all are welcome to give some feedback.
nice to see that development is kicking up this weekend
Best kernel on Pixel XL nice to see you here. Good luck with everything :good:
So it seems that CPU OC isn’t working quite well with my chip. Tried yesterday 2,5 ghz for the big cluster and it didn’t even make it through boot process.
New release will be this evening.
Please report back how the kernel works for you.
Also please state the model you are on. But it should work for dual and single sim I guess.
Freak07 said:
So it seems that CPU OC isn’t working quite well with my chip. Tried yesterday 2,5 ghz for the big cluster and it didn’t even make it through boot process.
New release will be this evening.
Please report back how the kernel works for you.
Also please state the model you are on. But it should work for dual and single sim I guess.
Click to expand...
Click to collapse
Bro I think overclocking is really not necessary with our SD 835
=dave= said:
Bro I think overclocking is really not necessary with our SD 835
Click to expand...
Click to collapse
Yeah that’s true but it’s nice to explore all possibilities. That’s what xda is about.
Update to 0.2
Hey guys and girls,
here is the update to 0.2
includes all previous features
Changelog:
- patches to loadavg
- Upstream: reimplement mb2cache
- mm: slub: Default slub_max_order to 0
The kernel runs really nice for me.
Download: https://www.androidfilehost.com/?fid=889764386195910663
Have fun with it and a nice day
P.S.: Next release will have some surprises. But I want to make sure it is stable.
Thanks for your work, i will give this a try
So how is everyones experience?
new kernel release will be soon :victory:
Update to 0.2_2
Hey guys and girls,
the promised update is here. It may not seem like much but I managed to put a few new things in the kernel.
I had a play with different IO schedulers. As you may have noticed the new storage of our device is already blazing fast but I tried to make it even faster.
So I managed to built in the maple Io scheduler from @frap129. It results in slightly better IO speeds than stock in my tests. But this is only the first part of the IO journey.
Next release will have another IO gov, but I try to optimize it first and test it extensively.
additionally this kernel now includes the IO sched switcher from @Sultanxda
Description is as follows:
"This driver changes the I/O scheduler for a specified request queue to
Noop when the screen turns off in order to improve power consumption while
the screen is off, as well as reduce resume latency when the screen is
turned back on. After the screen is turned back on, the driver will change
the I/O scheduler back to what it originally was after a 10000ms delay."
This means screen turns on faster and phone will drain less battery when in deep sleep. :good:
In addition to boosting DDR bandwidth we now also give a boost to our storage when the screen gets turned on.
Changelog 0.2_2:
- included maple IO scheduler from @frap129
- included IO switcher from @Sultanxda
- boost ufs storage controller when turning the screen on.
- included BLN from @tbalden ( give him a big thanks!)
Download: https://www.androidfilehost.com/?fid=817550096634782138
have fun with it and happy flashing!
Donations are not mandatory but always welcome
Donate: http://paypal.me/freak07
P.S.: there is more to come.
Freak07 said:
Hey guys and girls,
the promised update is here.
Click to expand...
Click to collapse
Just flashed today. Running very fast and smooth. I'll see about battery life tomorrow. Excellent job on this.
Good Job! Thanks for your work
Battery life seams better for my usage. Haven't experienced any lag. Everything is smooth. I'm not much of a gamer, but have played a couple an they are smooth as well.
Update to 2.2_6
Hey guys and girls,
Update time again.
New version 0.2_6. I ran this for a week and it is absolutely stable for me.
Changelog:
- some backport and upstream patches
- add backlight dimmer
- optimize for performance instead of size ( that is also why the download is ~1mb bigger)
- enable RCU boost to decrease latency even further
- set timer for interrupting the kernel to 300 (performance increase)
- random driver from linux 4.12
- add tripndroid IO scheduler
Download:
https://www.androidfilehost.com/?fid=673368273298968729
Have fun with it. The kernel flies for me now. Well even more than before!
Quite happy about the battery life.
Without power saver, medium usage I would say :good:
Fantastic! Just curious, do you run this on stock ROM or one of the customized ones?
doyou37 said:
Fantastic! Just curious, do you run this on stock ROM or one of the customized ones?
Click to expand...
Click to collapse
I am currently on viper rom because I had to test if the kernel runs on the new base.

[KERNEL]Savagezen's Angler Kernel[Dec 2018][Pie][Oreo][Linaro][Clang][3.10.108]

This is the first project I've shared on XDA, though I've maintained it for personal use for a while and posted some prior incarnations on Google+. Hope you enjoy it!
Features:
December 2018 security patch
open source: kernel, anykernel
forked from Franco Kernel
merged Linux Stable 3.10.108
Compiled with Linaro 4.9 and CopperheadOS's Hardened Clang
I/O Schedulers: noop (default), cfq, deadline, fiops, row, zen, maple, sioplus
TCP algorithms: Bic, Cubic, Htcp, Hybla, Vegas, veno, Westwood (default), Reno
FK Features: disabled verified boot flag for Android Pay (root still breaks), support for FKUpdater performance profiles, support for FKUpdater App (not verified as I don't use the app myself), KCAL tweaks in init script.
Reduced wifi wakelocks and wakelock period
Removed possible bluetooth memory leak
KCAL color control support
KCAL brought to Linux guidelines
Spectrum Profile Support: dozens of profiles from around the web included in source code
Touchboost disabled in spectrum profile
Filesystem Support: F2FS, vFAT, EXT4, NTFS
MSM hotplug driver (disabled by default, but toggle included in source code)
Fingerprint boost from Electron Kernel
Wireguard support
Power Efficient Workqueues
State Notifier
Tickless System / Idle
Gentle Fair Sleepers
Hima hotplug driver (see 2018-09 release notes)
Wake Gestures (partial, see 2018-09 release notes)
Many security / hardening features from CopperheadOS (see 2018-12 release notes)
Downloads:
Oreo, 8.1 (Stable / Final): angler-kernel-20181221.zip
Pie, 9.0 (Testing Builds): pie-testing-aosip-20190130.zip, pie-testing-statixos-20190130.zip
Installation:
Boot to TWRP, backup (boot, system, data)
Wipe Dalvik / ART Cache and Cache
Flash the kernel.zip
Wipe Dalvik / ART Cache and Cache
Reboot and enjoy
Note: Sometimes rebooting directly from TWRP results in a boot freeze at the Google splash screen. Just power off and boot up again.
Battery Life / Performance Tests:
Spectrum: Battery: Total Drain: 6.8%/h, Sleep Drain: 4.96%/h, 11% SOT, 17.8 Hour Test (tested version - kernel 20180728, battery v1.3 profile)
Spectrum: Balance: Total Drain: 9.7%/h, Sleep Drain: 6.6%/h, 12% SOT, 19 Hour Test (tested version - kernel 20180728, balance v1.2 profile)
Older Version: June 2018
Thanks:
@osm0sis / AnyKernel2
@nathanchance / Flash Kernel and many guides
@franciscofranco / Franco Kernel
@frap129 / Electron Kernel
@flar2 / ElementalX Kernel
@Adi Shakthi / God's Kernel
@zx2c4 / Wireguard
@phantom146
PS: I'm on Telegram now too!
Profile: @savagezen
Discussion for this kernel: @sz_kernel_angler
Want to stay even more up to date?
Install the IFTTT app
Get notifications for testing releases - Applet Link
Get notifications for source code releases - Applet Link
Changelog:
v20181221 Release Notes
v20181124 Release Notes
v20180910 Release Notes
v20180808 Release Notes
v20180728b - fixed spaces in localversion resulting in kernel name not showing in Settings app.
v20180728 Release Notes
Bugs:
Boot Loop / Freeze on Android 9.0 Oreo.
FAQ:
Need Help / Want to Help? Join the my Telegram Channel: @sz_kernel_angler
Is this kernel compatible with Android Pie (9.0)? It should work out of the box, however several users have reported boot freezes / loops on Pie. I haven't had a chance to test it fully in Pie and am still on Oreo myself. If you run into issues, try running with SELinux as permissive or reach out on Telegram.
Nice, gonna give this a run. Kudos for adding detailed instructions on your site.
Nice, was hoping for new kernel a long time
I would like to suggest the "Hima Hotplug" for your kernel, it is so fluid and great on battery life (experience from sphinx kernel for bullhead)
Pump Ac7i0n said:
Nice, gonna give this a run. Kudos for adding detailed instructions on your site.
Click to expand...
Click to collapse
You're welcome. It is as much for me to remember how to do stuff in the future with other devices as anything else. Glad others can benefit from it as well.
eurochild said:
Nice, was hoping for new kernel a long time
I would like to suggest the "Hima Hotplug" for your kernel, it is so fluid and great on battery life (experience from sphinx kernel for bullhead)
Click to expand...
Click to collapse
Thanks for the suggestion. Browsing source code now...
savagezen said:
You're welcome. It is as much for me to remember how to do stuff in the future with other devices as anything else. Glad others can benefit from it as well.
Thanks for the suggestion. Browsing source code now...
Click to expand...
Click to collapse
just wanted to say solid first public kernel. super smooth
Thank you for the new kernel,so far so good
Smooth so far, great job.
though is it just me or does the Settings app display "Unavailable" under Kernel version? EX Kernel Manager displays the kernel version just fine.
Maybe it has something to do with the presence of spaces in the kernel version name?
aureljared said:
Smooth so far, great job.
though is it just me or does the Settings app display "Unavailable" under Kernel version? EX Kernel Manager displays the kernel version just fine.
Maybe it has something to do with the presence of spaces in the kernel version name?
Click to expand...
Click to collapse
I see the same under about phone.
aureljared said:
Smooth so far, great job.
though is it just me or does the Settings app display "Unavailable" under Kernel version? EX Kernel Manager displays the kernel version just fine.
Maybe it has something to do with the presence of spaces in the kernel version name?
Click to expand...
Click to collapse
Lawlrus said:
I see the same under about phone.
Click to expand...
Click to collapse
same here, nothing so important. if you click on it it shows the kernel info (atleast that is what happens on aosip rom)
eurochild said:
same here, nothing so important. if you click on it it shows the kernel info (atleast that is what happens on aosip rom)
Click to expand...
Click to collapse
Yeah I agree, it is, by no means, a deal-breaker. I just wanted to point it out for newcomers because I sure had a grand time panicking over whether or not the installation went through.
Currently using this kernel with ABC rom, so far the best kernel ever, very smooth and good heat output
aureljared said:
Yeah I agree, it is, by no means, a deal-breaker. I just wanted to point it out for newcomers because I sure had a grand time panicking over whether or not the installation went through.
Click to expand...
Click to collapse
eurochild said:
same here, nothing so important. if you click on it it shows the kernel info (atleast that is what happens on aosip rom)
Click to expand...
Click to collapse
This does work on AOSiP. Stock ROM (and maybe others) it does not appear after tapping on "Kernel Version" in settings. As noted, third party apps like EX Kernel Manager and Kernel Auditor seem to display the kernel version correctly.
There are, in fact, spaces in LOCALVERSION in the config file. I'll add this under bugs in the second post and update when it's fixed.
PS: Glad you guys are enjoying it and to hear it runs smooth and cool! Usage stats for the 'battery' spectrum profile are in the updated OP. Testing the 'balance' profile now.
UPDATE 8/1: The 'kernel version' issues has been fixed. Notation is in second post and download link has been updated in OP.
This kernel kicks ass! Seriously, great work. One of my major complaints with the 6P was its over heating and then thermal throttling. I just didn't play certain games because of it. Now, after flashing this kernel it runs smooth and cool and games work again. Unreal. Truly love the way the phone works now. Not bad for battery life either but it's not my primary any more.
galakanokis said:
This kernel kicks ass! Seriously, great work. One of my major complaints with the 6P was its over heating and then thermal throttling. I just didn't play certain games because of it. Now, after flashing this kernel it runs smooth and cool and games work again. Unreal. Truly love the way the phone works now. Not bad for battery life either but it's not my primary any more.
Click to expand...
Click to collapse
Good to hear! Did you use the Gaming spectrum profile? I'm don't use my phone for games so I didn't test that outside of synthetic benchmarks. Also, the Battery spectrum profile should give pretty good battery life as it's very conservative.
Spoiler: I'm working on maybe adding the chill or relaxed governors to test as well.
No profiles, just default settings. I usually run a week or two on default before I mess around just so I can tell the difference in the tweaks.
I might play around but this phone is just for messing about now, picked up the Essential on the Prime deal and quite like it so the 6P is not a daily driver.
Gotcha. FYI the balanced profile is enabled by default.
savagezen said:
Gotcha. FYI the balanced profile is enabled by default.
Click to expand...
Click to collapse
Do you happen to have the link somewhere?
dirtyreturn said:
Do you happen to have the link somewhere?
Click to expand...
Click to collapse
All the profiles are in my AnyKernel repo on GitHub. There are a total of 30 profiles from around the web even though the Spectrum App only uses those numbered 0, 1, 2, and 3. I include my built kernel zImage-dtb in the AnyKernel repo so that you can clone it yourself and apply a different profile "manually" if you like. Just change the number in ramdisk/init.spectrum.sh, zip it up, and flash it.
Code:
if [ ! -f /data/property/persist.spectrum.profile ]; then
setprop persist.spectrum.profile 0 # change this number
fi
Note, if you use this method, and later select a profile from the Spectrum App, the Spectrum App choice will override the initial one, including after reboot -- because it applies the settings once the user space is reached.
@savagezen thanks! Also, kernel link?? I must be missing it.. Is it in the OP?
Sent from my PH-1 using Tapatalk

Categories

Resources