[KERNEL] [4.4] GraKernel - Desire 816 Original Android Development

GraKernel
This kernel only supports CM Based Roms!
Welcome to GraKernel! I am horrible in naming things, so I just take the first 3 letters of my name and combine it with kernel.
I am pretty new to HTC, MSM8226 and DTB. That means it quite hard for me to add more features! But anyway I proudly present you the first custom kernel for the Desire 816
The kernel comes with Synapse. You will find all advanced settings in it.
Sources
Kernel: https://github.com/Grarak/grakernel-msm8226
Ramdisk: https://github.com/Grarak/grakernel-msm8226/tree/grakernel-caf/ramdisk/boot.img-ramdisk
Features
CAF Based
3.4.0
Build with Google Toolchain 4.7
CPU Governors:
interactive
ondemand (default)
userspace
powersave
performance
GPU Governors:
msm_cpufreq
msm-adreno-tz (default)
userspace
powersave
performance
simple_ondemand
I/O Schedulers:
noop
deadline
row
cfq
bfq (default)
fiops
sio
LZ4
CSnappy compression/decompression:
exfat
f2fs
Battery Control
Intelliplug (intelligent hotplug)
Frandom Support
Vibration Control
MSM Kcal
zRam
ZCache
Sound Control
Multicore Power Saving
Write Protection has been removed
Support for Synapse
Download
GraKernel
Credits
faux123
flar2
savoca
AndreiLux
Codeaurora
CyanogenMod
XDA:DevDB Information
GraKernel A5, Kernel for the HTC Desire 816
Contributors
Grarak
Kernel Special Features:
Version Information
Status: Beta
Created 2014-08-25
Last Updated 2014-09-04

Changelog
0.3.1
swtich to CAF Kernel (supports only CM based ROMs for now on)
Click to expand...
Click to collapse
0.3
add support for a5ul
disable zram by default
Click to expand...
Click to collapse
0.2
add Sound Control
switch to Google Toolchain 4.7
Pronto version 3.2.3.172
Click to expand...
Click to collapse
0.1
Initial Release
Click to expand...
Click to collapse

How to use kernel features
This kernel comes with Synapse. Synapse has been written by @AndreiLux. The App works with JSON which will generate from UCI (Universal Configuration Interface). So it is possbile to add an interface for a specific kernel. After installing the kernel you will find Synapse in your App Drawer.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

reserved

Can i use in stock rom?

Epic thanks!
I assume stock settings are already topping MSM8226, so its overclocked by default, right?
trying it now on 1.56.401.1 without backup :silly:
Garakernel sounds cool

ajeshmanu said:
Can i use in stock rom?
Click to expand...
Click to collapse
I highly recommend you to read the OP
tpr0 said:
Epic thanks!
I assume stock settings are already topping MSM8226, so its overclocked by default, right?
trying it now on 1.56.401.1 without backup :silly:
Garakernel sounds cool
Click to expand...
Click to collapse
it's not overclocked

Grarak said:
I highly recommend you to read the OP
it's not overclocked
Click to expand...
Click to collapse
nice, gpu is worth a OC :good:
How can I disable zram? gpu gov simple_ondemand is crashing the phone after apply...
Thanks!
EDIT: wow it fixed my slow charging problem. what does 9vac means?
Undervolting options and oc would be great to have.. thanks

tpr0 said:
nice, gpu is worth a OC :good:
How can I disable zram? gpu gov simple_ondemand is crashing the phone after apply...
Thanks!
EDIT: wow it fixed my slow charging problem. what does 9vac means?
Undervolting options and oc would be great to have.. thanks
Click to expand...
Click to collapse
set swappiness to 0 for disabling zram
just don't use simple_ondemand I don't know why it's crashing
9vac is a special charger just google about it
I'm working on voltage table

Grarak said:
set swappiness to 0 for disabling zram
just don't use simple_ondemand I don't know why it's crashing
9vac is a special charger just google about it
I'm working on voltage table
Click to expand...
Click to collapse
Wow Nice work but i have three immediate questions...
1. how to install kernel? i m new to htc ...
2. can i use it with stock rom??
3. is it come with built in write access? means i have not to do anything and i can delete system files and/ or move app data to external sd card out of the box?????

n70shan said:
Wow Nice work but i have three immediate questions...
1. how to install kernel? i m new to htc ...
2. can i use it with stock rom??
3. is it come with built in write access? means i have not to do anything and i can delete system files and/ or move app data to external sd card out of the box?????
Click to expand...
Click to collapse
1. Install it normally? Through recovery?
2. Did you read the OP?
3. See 2
Sent from my HTC D816w using XDA Free mobile app

Grarak said:
set swappiness to 0 for disabling zram
just don't use simple_ondemand I don't know why it's crashing
9vac is a special charger just google about it
I'm working on voltage table
Click to expand...
Click to collapse
Thank you! btw, do you mean that the phone can be charged with 9v? regular ac/dc charger?
Guess that comes from a raspberry pi module by mistake or something

tpr0 said:
Thank you! btw, do you mean that the phone can be charged with 9v? regular ac/dc charger?
Guess that comes from a raspberry pi module by mistake or something
Click to expand...
Click to collapse
If you get the right adapter it should be possbile I guess

Grarak said:
If you get the right adapter it should be possbile I guess
Click to expand...
Click to collapse
Found it, its added by mistake in synapse, made for Chinese tablets that can also be run from 9v source.

I tried installing the kernel but my 816 will not start HTC state that I have the single sim I apologize for my bad english
Sent from my HTC Desire 816 using XDA Free mobile app

tarattata said:
I tried installing the kernel but my 816 will not start HTC state that I have the single sim I apologize for my bad english
Sent from my HTC Desire 816 using XDA Free mobile app
Click to expand...
Click to collapse
If you are not able to provide any logs then don't use this kernel
And use google how to get logs
Sent from my HTC D816w using XDA Free mobile app

can i gain s-off with this kernel?

cksamurai said:
can i gain s-off with this kernel?
Click to expand...
Click to collapse
I hope this is a joke
Sent from my HTC D816w using XDA Free mobile app

Grarak said:
I hope this is a joke
Sent from my HTC D816w using XDA Free mobile app
Click to expand...
Click to collapse
it wasn't a joke, i have already unlocked my bootloader and rooted my device with cwm installed and tried to gain s-off using firewater and rumrunner, but firewater said try a different kernel so that's why i asked as write protection is disabled in this rom. sunshine is a last resort...
---------- Post added at 07:08 AM ---------- Previous post was at 07:06 AM ----------
so what i meant was if i ran firewater would i have any luck with this kernel, that's all

cksamurai said:
it wasn't a joke, i have already unlocked my bootloader and rooted my device with cwm installed and tried to gain s-off using firewater and rumrunner, but firewater said try a different kernel so that's why i asked as write protection is disabled in this rom. sunshine is a last resort...
---------- Post added at 07:08 AM ---------- Previous post was at 07:06 AM ----------
so what i meant was if i ran firewater would i have any luck with this kernel, that's all
Click to expand...
Click to collapse
Those tools don't even support our phone
If you want to brick your device go for it

Related

[Kernel]PX-Kernel For Stock & CyanogenMod7 ROM [Update: April 20, 2012]

I AM NOT RESPONSIBLE FOR ANY DAMAGE TO YOUR PHONE BY FLASHING THIS KERNEL
From version 3.0 i'll provide kernel both for stock based rom & Cyanogenmod based rom
This kernel is still on heavy development & maybe can make instabillity on your system.
Do with your own risk!!​
Feature:
Overclockable to 1Ghz, but stable in 883Mhz for me
Added 672Mhz clock speed.
Support Ext 3 and Ext 4
Swap support
Cifs & Tun Module (u can found it on /system/lib/modules)
added scaling governor for battery life (interactifve, smartass, smartassV2, savagedzen, scary, minmax, interactiveX, lagfree, lulzactive)
added 4 i/o schedulling for better i/o (cfq,bfq,vr,sio)
prerooted (after install this kernel, your rom automatically rooted)
Unsecure Mode (adb shell aways as root)
better memmory management
init.d support
custom bootanimation
preinstalled busybox 1.19.3-cm7 bionic
BLN (Backlight notification) support *
more tweak on kernel
known bug:
-
what kernel should i choose??
its depand on your rom.
if you use rom based on stock rom (modified/unmodified) [ex: stockrom from samsung, giopro, particle rom] you can try this kernel for stockrom.
if you use rom based on cyanogenmod7, u should use kernel for cyanogenmod7.
here's some screenshoot
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
do backup first before try this kernel update
this kernel update is include no-frills application. it's used for change maximum & minimum cpu speed, governor, and i/o schedule
if get error when set maximum & minimum cpu clock, please use setcpu to set it
Download link:
you can download it from My Mirror or Goo-inside.me
Special thx to:
Hyriand for his kernel source at github
Indonesian Gio Community for help me to fix bug
if u have problem with this kernel or found a bug, please report to me
Do With Your Own RIsk
Changelog & Download Link
Changelog
Version 3.0 Release
Based on newest experimental kernel for my cm7
Add more tweak & better stability
kernel & ramdisk compressed using xz
small size than other kernel
using 800Mhz as default, instead 787Mhz
BLN should 100% working without any patch
Fix issue with usb tether (on stockrom)
More, u can see on my github
Version 2.1 Release
alot feature added
based on my cm7 latest kernel, with some modification to work on stock rom
based on perf-CL783107
fix compatibility, now this kernel should work on most stock rom
added BLN support
added init.d support
prerooted
added custom bootanimation support
many more
Version 2.0
this version is not pusblished
Version 1.3 Release
Add support to mount ext4 partition on internal memory (system, data & cache)
Version 1.2 Release
Fix charge when phone turn off
Fix bootanimation issue, now u can use bootanimation
Added 2 new scaling governor (smartass, interactive)
Version 1.1 relase to public
Overclockable to 1Ghz, but stable in 883Mhz for me
Support Ext 3 and Ext 4
Swap support
Cifs & Tun support
added 5 new scaling governor for battery life (smartassV2, savagedzen, scary, minmax, interactiveX)
added 4 i/o schedulling for better i/o (cfq,bfq,vr,sio)
What's scaling governor & i/o schedulers?
If u want know about governor & i/o schedulers
go to this thread:
Code:
http://forum.xda-developers.com/showthread.php?t=1242323
*reserverd*
Will this work with S5660M?
lypang said:
Will this work with S5660M?
Click to expand...
Click to collapse
wow, i dont know about that
maybe u can try it, but do nandroid backup first before apply this kernel
phiexz said:
I've compiiling kernel with 2.6.35.7-Perf-CL561540
Click to expand...
Click to collapse
May I distribute it with my custom ROM?
ZimniY said:
May I distribute it with my custom ROM?
Click to expand...
Click to collapse
yes u can
but, u should check 1st. is it work on ur rom or not
phiexz said:
but, u should check 1st. is it work on ur rom or not
Click to expand...
Click to collapse
R u trolling me?! sure I check it BEFORE I put it into my ROM)) I'm not a kamikaze
now we have enough reason to ask for our own sub forum right?
great work bro, downloading first testing while i've free time
I've rebuild initrd for my needs... Will test now...
ZimniY said:
R u trolling me?! sure I check it BEFORE I put it into my ROM)) I'm not a kamikaze
Click to expand...
Click to collapse
hahahaha.. justkiddd bro
klebengan said:
now we have enough reason to ask for our own sub forum right?
Click to expand...
Click to collapse
yup, can u ask admin or moderator for our sub forum??
oh, i just received report that wifi is not working.
please report, is it working or not.
i've test this kernel with particle beta 2 & simpligio 1.3
wifi module work. but i'm not check is it can connect to wifi or not.
phiexz said:
hahahaha.. justkiddd bro
yup, can u ask admin or moderator for our sub forum??
oh, i just received report that wifi is not working.
please report, is it working or not.
i've test this kernel with particle beta 2 & simpligio 1.3
wifi module work. but i'm not check is it can connect to wifi or not.
Click to expand...
Click to collapse
for gio sub forum maybe we should ask waqas to do that. cos he's ts for the first gio thread
btw wifi work great with me
klebengan said:
for gio sub forum maybe we should ask waqas to do that. cos he's ts for the first gio thread
btw wifi work great with me
Click to expand...
Click to collapse
can u pm him to ask the admin?
some one report his wifi cant connect. stuck in obtaining address
recently i also test wifi. i created adhoc from linux + dhcpd module
then i try to connect my gio to this adhoc with dynamic ip
its work on me, only take about 2 seconds and connected. i also try to ping & browsing, it's worked
i think the problem isn't from this module wifi, maybe his access point
Wifi works for me)
But gio reboots sometimes... I apologise - I've set up too hight frequency...
ZimniY said:
Wifi works for me)
But gio reboots sometimes... I apologise - I've set up too hight frequency...
Click to expand...
Click to collapse
hahahaha stable in 883Mhz for me
but i usually use 122 to 806Mhz
i only use high frequency if need, like play hd game, and benchmark too
Gooddddd Jooobbb 2 Thumbs up
phiexz said:
can u pm him to ask the admin?
some one report his wifi cant connect. stuck in obtaining address
recently i also test wifi. i created adhoc from linux + dhcpd module
then i try to connect my gio to this adhoc with dynamic ip
its work on me, only take about 2 seconds and connected. i also try to ping & browsing, it's worked
i think the problem isn't from this module wifi, maybe his access point
Click to expand...
Click to collapse
i'll pm him this night
squadzone said:
Gooddddd Jooobbb 2 Thumbs up
Click to expand...
Click to collapse
: sungkem
klebengan said:
i'll pm him this night
: sungkem
Click to expand...
Click to collapse
maybe the way is posting request thread here and we need to tell all gio thread in there

[KERNEL][I9295][TW - 4.2][02/24/2014] KT-SGS4 - MF5/MK3 - KTweaker

Ktoonsez presents:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
KT-SGS4 kernel features
•Must have a Touchwiz Rooted ROM
•Must have CWM or other custom recovery installed
•Linux kernel 3.4.77
•Samsung open source
•Optimized kernel configuration
•Updated USB driver
•unsecure root adb
•Voltage interface
•CPU Overclocking
•CPU Underclocking
•Boots on stock table (USE KTweaker app to enable OC steps all the way to 2322 Mhz. BE AWARE THAT I WAS VERY CONSERVATIVE ON THE LOW SIDE OF THE OC STEPS, SO THEY WILL NEED SOME TWEAKING!)
•KTweaker app for kernel control
•KTweaker Widget
•Schedulers (CFQ, BFQ, VR, SIO, NOOP, DEADLINE, ROW, FIFO, FIOPS)
•GOVERNORS (ktoonservativeq, intellidemand, msm-dcvs, wheatley, userspace, smartassh3, slp, powersave, pegasuq, nightmare, interactive, dancedance, conservative, badass, asswax, adaptive, abyssplug, performance, ondemand
•exFAT support[/B][/COLOR]
Click to expand...
Click to collapse
Touchwiz JELLYBEAN 4.2.2 VERSION:
http://goo.gl/qbBt5L
Click to expand...
Click to collapse
KTweaker Shop and kernel tweak discussion. DO NOT DOWNLOAD ANY KERNELS FROM THERE, IT IS FOR THE S4 NON-ACTIVE VERSION!!!!!!!!!! (thanks to LuigiBull23):
http://forum.xda-developers.com/showthread.php?t=2393708
Always do the following AFTER installing the kernel:
1. Clear cache
2. Clear dalvik
3. Fix Permissions
If you get this message after booting up the kernel:
"The device has detected an application attempting ..."
Go to the "/system/app/" folder and delete the files that begin with "knox"
Post #2 will be reserved for change logs
Post #3 will be reserved for MY Settings, Extras and FAQ's
Sources can be found here:
https://github.com/ktoonsez/KT-SGS4
Go to my original thread to view Change logs:
http://forum.xda-developers.com/showpost.php?p=41756864&postcount=2
Go to my original thread for My Settings, Extras and faq's:
http://forum.xda-developers.com/showpost.php?p=41756874&postcount=3
Looking for testers!!!!!!!!!!! Post up if you want to test
HAHAHAHAHAHAHA, We got a kernel i am soooooo happy :laugh::laugh::laugh::laugh: , will test soon !!
edit i will test if you want !
mythi said:
HAHAHAHAHAHAHA, We got a kernel i am soooooo happy :laugh::laugh::laugh::laugh: , will test soon !!
edit i will test if you want !
Click to expand...
Click to collapse
This is stock to test I got the right code going since they haent updated source in 8 months:
ALSO NEED A DMESG DUMP SO I CAN START KILLING ALL THE LOG SPAM!
http://ktoonsez.jonathanjsimon.com/sgs4/TW/KT-SGS4-JB4.2-TW-INTLJA-01.29.2014.zip
ktoonsez said:
This is stock to test I got the right code going since they haent updated source in 8 months:
ALSO NEED A DMESG DUMP SO I CAN START KILLING ALL THE LOG SPAM!
http://ktoonsez.jonathanjsimon.com/sgs4/TW/KT-SGS4-JB4.2-TW-INTLJA-01.29.2014.zip
Click to expand...
Click to collapse
is there a risk of bricking or something bad ?
mythi said:
is there a risk of bricking or something bad ?
Click to expand...
Click to collapse
No, @smaylek is the one that asked me to start making one and he has already been using for a day.
ktoonsez said:
No, smaylek is the one that asked me to start making one and he has already been using for a day.
Click to expand...
Click to collapse
will test now
edit :booting in samsung glooing screen
edit2; Booted
mythi said:
will test now
Click to expand...
Click to collapse
Coool, dont forget to grab a dmesg after about 20 minutes of run time.
ktoonsez said:
Coool, dont forget to grab a dmesg after about 20 minutes of run time.
Click to expand...
Click to collapse
booted
mythi said:
booted
Click to expand...
Click to collapse
Excellent, anybody else give it a try? Are the following working?
Wifi
Data
Bluetooth
Things like that
ktoonsez said:
Excellent, anybody else give it a try? Are the following working?
Wifi
Data
Bluetooth
Things like that
Click to expand...
Click to collapse
Downloading, will test on stock MK3 Sammy and report back!
Edit
All good, WiFi, Data, Bluetooth are working. Will pop in with more Info later,
thanks for your Effort man!!
Sent from my GT-I9295 using xda app-developers app
---------- Post added at 08:39 PM ---------- Previous post was at 08:21 PM ----------
Wow, many Settings in KTweaker lol
One thing, it's set to Max 1500 MHz but shouldn't that be somewhere around 1900?
ELM Agent is force closing all the time, not important as I have no idea what it does, just reporting.
Will use this with standard settings for now.
Greetings
Thomas
Sent from my GT-I9295 using xda app-developers app
ktoonsez said:
Excellent, anybody else give it a try? Are the following working?
Wifi
Data
Bluetooth
Things like that
Click to expand...
Click to collapse
After 3 hours of testing;
1.wifi , bt ,nfc work
2.the tweaks app is misbehaving alot
When I choose any option is soft reboots
3.kernel cant be set to maximum like describe in oo
4.governors dont stick
5.after 15 minutes if streaming videos I lost 26 percentage of battery
6.it is very smooth , when I mean smooth I mean smooth
Sorry it isnt so stable for me sincr I need a daily driver for my phone it is awesome kernel indeed .
Sent from my GT-I9295 using Tapatalk
Several Functions in KTweak are not working, like i.e. Thermal Control, also, there are only a few Govs/Schedulers.
Added logs for you, hope that will help.
Once again, thanks for this!
Sent from my GT-I9295 using xda app-developers app
Stupid question ... Is this kernel compatible with the CM 10.2 ?
woodyby said:
Stupid question ... Is this kernel compatible with the CM 10.2 ?
Click to expand...
Click to collapse
No.
I restored the stock Kernel, System became very unresponsive and started stuttering. Only things running where XDA and Root Browser.
Sorry, I need the phone as a phone for now, so no more testing for now
Sent from my GT-I9295 using xda app-developers app
ohwarumbloss said:
Several Functions in KTweak are not working, like i.e. Thermal Control, also, there are only a few Govs/Schedulers.
Added logs for you, hope that will help.
Once again, thanks for this!
Sent from my GT-I9295 using xda app-developers app
Click to expand...
Click to collapse
Nothing in KTweaker will work, this was a test to make sure source code from Samsung was accurate. I will have a release very soon with 95% of KT stuff in it then you can use the app
OP Updated
Touchwiz JELLYBEAN 4.2.2 VERSION:
http://goo.gl/1N30qi
Click to expand...
Click to collapse
Be sure to keep a copy of stock kernel of my one from earlier just in case. I literally added 100,000+ lines of code
Change Log 1.30.2014
1. All schedulers added
2. All Governors added
3. Voltage control for CPU and GPU
4. Overclocking/Underclocking for CPU
5. Overclocking for GPU
6. All battery savings screen OFF stuff added
7. KTweaker updated to see I9295 as an S4
8. About 200 others things, IT IS A MONSTER UPDATE THATS FOR SURE!!!
9. A huuuuuuge amount of log spam removed for more speed
10. Be sure to check Post #3 for my settings
11. Be sure to check this thread for millions amount of tweaks, pre-built settings and just general help/chatting: http://forum.xda-developers.com/showthread.php?t=2393708
ENJOY GUYS!!!!!!!!!!!!!!!
My donation for paypal is [email protected]
Wow, all I hear is crickets in here, lol

[KERNEL][920P/R4] UniKernel v9 120615

Features
Interactive governor as default
CFQ I/O scheduler as default
bic TCP congestion scheduler
Full init.d scripting support
SE Linux set to permissive (will prevent private mode from working)
Fully working Auto-Root for all 5.1.1 roms
Thanks to the S6 Overload, @g.lewarne, we have a unified dtb for 920/925 P and R4 devices...since he's such a busy person, I will be maintaining on this side....and update as appropriate on the changes @g.lewarne makes...
v9 initial - 120615
No longer beta! Yay!...
Disabled selinux and auditd...
Ramdisk being compressed using lzma from gzip...
Reverted to UniKernel v8 Interactive and VM settings...helpfully this fixes the lockscreen issue...testers have not seen this issue...
v9 beta - 112915
Removed "Add lz4 compressor and crypto modules" commit and added "Compressor: Add lz4 modules, Speedup lz0" commit
v9 beta - 1110815
Based on COI6
Added ROW scheduler
lz4/lz4hc fixes
block: Make CFQ default to IOPS mode on SSDs
v9 beta - 100815
Implementation of /system/unikernel.prop (more about this, below, in the second post)
selinux: Do not allow mode changes [HACK]
sd: Avoid sending medium write commands if device is write protected
binfmt_elf.c: use get_random_int() to fix entropy depleting
arm64: kconfig: select HAVE_EFFICIENT_UNALIGNED_ACCESS
Revert "staging: binder: Change binder mutex to rtmutex."
Usb: Gadget: Add DriveDroid support
Add lz4 compressor and crypto modules
GPU: Mali: Rework Throttling and DVFS control
Block: Add BFQ and FIOPS Schedulers, Optimize Deadline
cpufreq: exynos-mp-cpufreq: Add calibrated power coefficients
Squash of AndreiLux's power efficiency patch set
cfq-iosched: fix the setting of IOPS mode on SSDs
writeback: Fix occasional slow sync(1)
fs/sync: Make sync() satisfy many requests with one invocation.
block: Reserve only one queue tag for sync IO if only 3 tags are available
block_dev: implement readpages() to optimize sequential read
jiffies conversions: Use compile time constants when possible
readahead: make context readahead more conservative
sync: don't block the flusher thread waiting on IO
writeback: fix writeback cache thrashing
Make sure you have OEM Unlocking enabled in Developer Options before flashing kernel...
No, seriously...go to Settings > Developer Options > OEM Unlocking...On? Good...continue...
Downloads
920P - https://www.androidfilehost.com/?w=files&flid=44922
920R4 - https://www.androidfilehost.com/?w=files&flid=44923 Not sure if it boots...please confirm...
Source
https://github.com/djvoleur/G92XP-R4_COI9
/system/unikernel.prop
Below are the lines added to unikernel.prop and their default settings...
kernel.turbo=false (default) or true
kernel.interactive=battery (default) performance
kernel.scheduler=cfq (default) noop deadline fiops bfq
kernel.vm=tuned (default) or stock
kernel.gapps=true (default) or false
kernel.initd=true (default) or false
If you want to what they exactly do, click here
For now, you will need a file explorer (with root access) to make changes to the file...just make sure that it keeps the permssions rw-r--r-- (or 644) and you will have to reboot for the changes to take effect...
Project
Here is what I have so far with the app...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It will be able to apply the settings dynamically without having to reboot the phone and save the settings to the unikernel.prop file...I'll let everyone know once this has been completed...
Thanks a bunch for this. For those of us keeping track of the main thread, can you confirm which version 5 this is? The latest release was .0004, but I think .0003 and .0004 were test versions, weren't they? Thanks again for bringing unikernel to the 920p, my phone just isn't the same without it.
fachadick said:
Thanks a bunch for this. For those of us keeping track of the main thread, can you confirm which version 5 this is? The latest release was .0004, but I think .0003 and .0004 were test versions, weren't they? Thanks again for bringing unikernel to the 920p, my phone just isn't the same without it.
Click to expand...
Click to collapse
Ours is probably gonna be a tad but different than the main thread...if there is an important change, I will build/update as needed...
Thank you for the hard work
@djvoleur what's the difference between Unikernel v5 from 7/23 and Unikernel v5 from 7/27 (today), also why is there 2 download folders/links?? Thanks!
JoeFCaputo113 said:
@djvoleur what's the difference between Unikernel v5 from 7/23 and Unikernel v5 from 7/27 (today), also why is there 2 download folders/links?? Thanks!
Click to expand...
Click to collapse
Unified dtb...interactive changes...that's it...
I would say read what's infront of the download links...
djvoleur said:
Unified dtb...interactive changes...that's it...
I would say read what's infront of the download links...
Click to expand...
Click to collapse
I'm confused though lol.. So can us 920P users not use the 920R4 version, or....??
JoeFCaputo113 said:
I'm confused though lol.. So can us 920P users not use the 920R4 version, or....??
Click to expand...
Click to collapse
No, if I remember correctly, the R4 is the US Cellular model.
Updated to v6
JoeFCaputo113 said:
I'm confused though lol.. So can us 920P users not use the 920R4 version, or....??
Click to expand...
Click to collapse
Oh you can use it...but the u won't have any data
@djvoleur do you happen to use Unikernel in conjunction with Kernel Adiutor? If so, what settings do you recommend/use? Like Max/min freq, Governor, Tunables, etc. Thanks
Experiencing random screen sensitivity issues after switching over from v kernel
Sent from my SM-G920P using Tapatalk
OP updated to v6-0001 along with changes made...
Also updated for a stock modified kernel...mostly stock with a commit to help with the lag...
JoeFCaputo113 said:
@djvoleur do you happen to use Unikernel in conjunction with Kernel Adiutor? If so, what settings do you recommend/use? Like Max/min freq, Governor, Tunables, etc. Thanks
Click to expand...
Click to collapse
I don't make any custom changes besides what's set in the kernel/ramdisk
Toonlinkmaster25 said:
Experiencing random screen sensitivity issues after switching over from v kernel
Click to expand...
Click to collapse
What exactly happens?
djvoleur said:
OP updated to v6-0001 along with changes made...
I don't make any custom changes besides what's set in the kernel/ramdisk
What exactly happens?
Click to expand...
Click to collapse
Swipes and clicks aren't registered sometimes especially when pulling down the notification drawer
Sent from my SM-G920P using Tapatalk
**Update: I manged to find a fix online by typing in *#2663# then clicking the top left icon. It probably had to do with the phone itself rather than the kernel.
Do you know if this kernel still roots after updating to the stagefright fix (OGA)?
fachadick said:
Do you know if this kernel still roots after updating to the stagefright fix (OGA)?
Click to expand...
Click to collapse
It worked for me. Updated from stock then flashed unikernel v6-0001 full root no issues so far. Been 24 hours.
sent from rooted G920P on OGA
vinny8030 said:
It worked for me. Updated from stock then flashed unikernel v6-0001 full root no issues so far. Been 24 hours.
sent from rooted G920P on OGA
Click to expand...
Click to collapse
How did you get your settings to look like that in the screenshot?
Yes theme store. There is alot of cool themes
sent from rooted G920P on OGA
So even though this is a custom kernel, we can't change CPU values and different things like when the screen is off can we?
Sent from my SM-G920P using XDA Free mobile app
Rocklee99 said:
So even though this is a custom kernel, we can't change CPU values and different things like when the screen is off can we?
Sent from my SM-G920P using XDA Free mobile app
Click to expand...
Click to collapse
No, ive tried several ways and several apps you can make minor changes but no overclock undervolt or anything like that atleast not i have discovered. someone else may have figured out a way though.

[KERNEL][8.X ARM64][ATHENE] Waver Kernel v4.1

IMPORTANT:
Only flash over 8.x 64bit roms
Always backup your essentials before flashing, and take a nandroid backup if necessary.
Attach proper logcat, dmesg before posting "x doesn't work"
Flashing Instructions
- Download kernel and flash in recovery.
- Requires 64bit recovery. Download 64bit TWRP recovery here: https://forum.xda-developers.com/mo...recovery-twrp-3-2-1-unofficial-touch-t3722206
Features
Overclock and underclock support for CPU and GPU
CPU boost
Core control
Latest linux upstream version 3.10.108
Fingerprint sensor as power or home button by Flar2
Sound control by flar2
Boeffla wakelock blocker driver
Sweep2sleep by flar2
Zram with lz4 compression
Additional I/O schedulers - Maple, zen, fiops, sio
Fsync toggle on/off
Advance tcp congestion avoidance controls
Wireguard support
Enabled kernel samepage merging (KSM)
Anykernel2 by osm0sis
...and many more
Changelog:
- Added boost HBM by flar2
- Enabled WQ_Power_Efficient_default
- Prevent speaker gain reset
- Command line overclock option
- FIXED FREQUENCIES ISSUE (Special thanks to - @lCrD512)
- Here and there minor changes.
Note- There will be two versions from now, as RR and AIM roms got some different commits
Waver kernel updated and support for new ROMs like AIM and Ressurection Remix added
New version - v4.1
Changelog -
Enabled Arch_Power with toggle on/off
Enabled Adreno_Idler with toggle on/off
Some efforts towards fixing CPU frequencies
DOWNLOAD HERE (RR, AIM etc supported)​
Waver Kernel updated for old Rom's like DU, LOS etc
New Version - v4.1
Changelog - - Same as above
DOWNLOAD HERE (OLD Roms DU, LOS supported)
No need to flash magisk again if rooted, root shall be regained​
Special Thanks - @lCrD512 @Jleeblanch
Telegram Channel - t.me/waverkernel
Credits - lCrD512, Nikit, rahulsnair, vache, Frostbite, flar2, franco, Boeffla, om0sis, nathan, Team Butter ... and many more devs
Source Code - https://github.com/waver18/waver-kernel
XDA: DevDB Information
Waver Kernel, Kernel for Moto G4 Plus, 64bit Kernel
Information
Status: Stable
DT2W?
Sent from my [device_name] using XDA-Developers Legacy app
Possible kernel is arm?
Joel Oliveira said:
DT2W?
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
Didn't merge right now. Maybe in future.
Jadson168 said:
Possible kernel is arm?
Click to expand...
Click to collapse
"ARM64"
waverxD18 said:
Didn't merge right now. Maybe in future.
Click to expand...
Click to collapse
Okay, this function is very useful.
Sent from my [device_name] using XDA-Developers Legacy app
Joel Oliveira said:
Okay, this function is very useful.
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
Got to know it isn't possible.
Installed it. Lets see how it goes. Until now the kernel is working good. Good work dev.
Hey dev, can you add more frequency for cpu underclocking if possible ? It saves More battery for me. Thanks in advance.
pratieq11 said:
Installed it. Lets see how it goes. Until now the kernel is working good. Good work dev.
Click to expand...
Click to collapse
Thanks!
pratieq11 said:
Hey dev, can you add more frequency for cpu underclocking if possible ? It saves More battery for me. Thanks in advance.
Click to expand...
Click to collapse
It already has least frequencies i.e 249mhz for little cluster and 345mhz for big cluster
waverxD18 said:
It already has least frequencies i.e 249mhz for little cluster and 345mhz for big cluster
Click to expand...
Click to collapse
I will promptly check bro. Thanks for the reply
---------- Post added at 06:02 AM ---------- Previous post was at 05:51 AM ----------
waverxD18 said:
It already has least frequencies i.e 249mhz for little cluster and 345mhz for big cluster
Click to expand...
Click to collapse
Got it. Thank you
Which max freq?" (OC)
Darkmixx said:
Which max freq?" (OC)
Click to expand...
Click to collapse
Max frequency for little cluster is 1209 and for big cluster is 1651. Max gpu frequency is 550
pratieq11 said:
Installed it. Lets see how it goes. Until now the kernel is working good. Good work dev.
Click to expand...
Click to collapse
Your rom is...?
And about memory usage, stable? 1.0GB of 2.0 in use?
I wonder why without this kernel in a 64 bit rom 8.x was being used almost all memory of the mobile ...
shadauer said:
Your rom is...?
And about memory usage, stable? 1.0GB of 2.0 in use?
I wonder why without this kernel in a 64 bit rom 8.x was being used almost all memory of the mobile ...
Click to expand...
Click to collapse
I am using ressurection remix rom and this kernel. I am getting about 1.8 gb free out 3 gb ram variant. It is quite stable rom. I just modified the kernel settings by rooting and using EXKM. I am now getting decent battery life and battery drain is very low.
For your 2nd question i can say that as per my knowledge i think that kernel is not properly intergrated with the rom. This might be the reason. If the reason is wrong please do correct me.
pratieq11 said:
I am using ressurection remix rom and this kernel. I am getting about 1.8 gb free out 3 gb ram variant. It is quite stable rom. I just modified the kernel settings by rooting and using EXKM. I am now getting decent battery life and battery drain is very low.
For your 2nd question i can say that as per my knowledge i think that kernel is not properly intergrated with the rom. This might be the reason. If the reason is wrong please do correct me.
Click to expand...
Click to collapse
It's a 2gb variant issue.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'm using waver kernel v.2 (really good kernel, btw) but i cannot underclock this kernel using EX Kernel Manager... I'm using PixelExperience_athene-8.1.0-20180404-0457-UNOFFICIAL.zip from https://forum.xda-developers.com/mo...4-bit-pixelexperience-unofficial-rom-t3772744.
Thank you for your really awesome kernel, the best for Moto G4 in my opinion <3
Didn't know there was v2 of this kernel. Downloaded and flashed it. Will see is it as efficient as v1. Anyway good work dev.
pratieq11 said:
Didn't know there was v2 of this kernel. Downloaded and flashed it. Will see is it as efficient as v1. Anyway good work dev.
Click to expand...
Click to collapse
Working like a charm till now. Will post again after one or two days of usage with resurrection remix rom..
---------- Post added at 11:13 AM ---------- Previous post was at 11:11 AM ----------
pedroclobo said:
I'm using waver kernel v.2 (really good kernel, btw) but i cannot underclock this kernel using EX Kernel Manager... I'm using PixelExperience_athene-8.1.0-20180404-0457-UNOFFICIAL.zip from https://forum.xda-developers.com/mo...-bit-pixelexperience-unofficial-rom-t3772744.
Thank you for your really awesome kernel, the best for Moto G4 in my opinion <3
Click to expand...
Click to collapse
I underclocked all of my little and big cores using ex kernel manager only and infact i have disabled two big cores using that... Can you post your ex kernel manager setting images ?? I might help you then

{Magisk}{Tweak} Senreo Kernel Tweaks v3.0 | OREO/BATTERY | 7.15.2018

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Senreo Kernel Tweaks For HTC 10 OREO | Battery Friendly​Hello Guys. How Are You ? I am HTC 10 User and I use Android 8.0 OREO version. But Oreo have heating and battery drain problem with HTC 10 and all Devs left HTC. So I decided that make my own script. I've been working on this for 2 months and İ done finally. Please Read the installation carefully !!!!!
İnstallation ( My configuration ) {Magisk modules with compability v16.0}
1. İnstall ElementalX+FİOPS scheduler+FSYNC or Stock and Cleanslate Kernel. All of them working with script.
2. Delete Perf folder and powerhint.xml / pnp.xml file .PnP.xml deleting is important for applying values.
Perf > System/Vendor/etc.
PnP.xml > System/Vendor/etc
Powerhint.xml > System/Vendor/etc.
3.Tweaks have two type: No Input Boost and with Input Boost.
No Input Boost force the Little cluster to min frequency. So more battery but maybe some lags.
With Input Boost increase Little Cluster frequency to 422 MHZ when touch screen. So more smoother experience.
4. Use Stock Thermal Engine for best Battery life.
5. Open EX kernel manager and Block This Wakelocks:
ipa.ws
netlink.ws
netmng.wl
timerfd
Script Features
Disabled TouchBoost.
Enabled Workqueue Power Efficient.
GPU Governor: Simple Ondemand
CPU Governor: Interactive
Disabled Input Boost ( only No Input Boost version )
Stune/Cpuset Tweaks Added.
Added TCP Tweaks for internet connection.
Zram Tweaks.
PnP tweaks.
Vibration level deacreased. Use Ex Kernel manager for increasing level.
Added Memory tweaks.
Low Power Mode added.
Loop tweaks.
Disabled BCL Hotplug and hotplug mask for battery save.
@RogerF81 Thanks for Permission. I used some stuff Soilwork script.
I'm not a Dev and I made script for me. But I want to share you
This is normally not the correct way, to use code of others in own work without asking beforehand. I just wanted to mention this. But, no, no worries, I'm not mad. I don't have this device anymore, so, well, do what you want to do, but just for the future, you know this now.
RogerF81 said:
This is normally not the correct way, to use code of others in own work without asking beforehand. I just wanted to mention this. But, no, no worries, I'm not mad. I don't have this device anymore, so, well, do what you want to do, but just for the future, you know this now.
Click to expand...
Click to collapse
Thanks But I only used your some codes I tried others' values for max battery
The zips are not installing.
Tried with Magisk manager and TWRP same result.
Sent from my HTC_M10h using Tapatalk
cyrusct82 said:
The zips are not installing.
Tried with Magisk manager and TWRP same result.
Sent from my HTC_M10h using Tapatalk
Click to expand...
Click to collapse
Tweak with compability magisk v16. No upper version
frostnicko said:
Tweak with compability magisk v16. No upper version
Click to expand...
Click to collapse
I'm on 16.6
Sent from my HTC_M10h using Tapatalk
---------- Post added at 22:30 ---------- Previous post was at 22:21 ----------
Downgraded to 16.0
Installed ok
Now testing
Sent from my HTC_M10h using Tapatalk
cyrusct82 said:
I'm on 16.6
Sent from my HTC_M10h using Tapatalk
---------- Post added at 22:30 ---------- Previous post was at 22:21 ----------
Downgraded to 16.0
Installed ok
Now testing
Sent from my HTC_M10h using Tapatalk
Click to expand...
Click to collapse
Okay if you want max battery and more performance, try my combination (elementalx+ fiops+fsync+thermal engine+stok pnp)
How much SOT u get... Fiops ,fsync where I will get these
nitishkrp said:
How much SOT u get... Fiops ,fsync where I will get these
Click to expand...
Click to collapse
Heavy usage with 3.30-4 hour SoT gave me. Fiops, FSYCN is aroma options in elementalX kernel.Fiops is default i/o scheduler for Ex Kernel.
frostnicko said:
Okay if you want max battery and more performance, try my combination (elementalx+ fiops+fsync+thermal engine+stok pnp)
Click to expand...
Click to collapse
I have EX+fiops+thermal engine+stok pnp and FSYNC enabled
cyrusct82 said:
I have EX+fiops+thermal engine+stok pnp and FSYNC enabled
Click to expand...
Click to collapse
Block the wakelock with ex kernel manager. i wrote the names in OP
Just flashed ex , now which zip file should I flashed
nitishkrp said:
Just flashed ex , now which zip file should I flashed
Click to expand...
Click to collapse
Now you have 2 choose: No Input Boost version and with Input Boost version. This 2 file is flashable with twrp and this files are magisk module. Choose one of them.
If you flashed script, download thermal engine file and copy system/vendor/etc. Done.
frostnicko said:
Now you have 2 choose: No Input Boost version and with Input Boost version. This 2 file is flashable with twrp and this files are magisk module. Choose one of them.
If you flashed script, download thermal engine file and copy system/vendor/etc. Done.
Click to expand...
Click to collapse
Zip file to placed there or .conf file (sorry for this poor me?)
nitishkrp said:
Zip file to placed there or .conf file (sorry for this poor me)
Click to expand...
Click to collapse
Config file. Zip file must be flashed with twrp. If you flashed zip,download config file and copy to system/vendor/etc
RogerF81 said:
This is normally not the correct way, to use code of others in own work without asking beforehand. I just wanted to mention this. But, no, no worries, I'm not mad. I don't have this device anymore, so, well, do what you want to do, but just for the future, you know this now.
Click to expand...
Click to collapse
Correct terminology is called kanging correct?
Can I use this with aosip Oreo+ Elite kernel?
mattie_49 said:
Correct terminology is called kanging correct?
Click to expand...
Click to collapse
Yes, correct.
romixer said:
Can I use this with aosip Oreo+ Elite kernel?
Click to expand...
Click to collapse
Nnly sense Oreo roms
RogerF81 said:
Yes, correct.
Click to expand...
Click to collapse
You want delete this thread ? No problem for me.I crate script for me and i wrote many devs for help.I spend many time this script but i am not bruglar. You said not havent htc 10 anymore. You want to change the name script soilwork ?

Categories

Resources