Recompiled & Optimized Werewolf Kernel [SM-T211] - Galaxy Tab 3 7.0 Android Development

Hi!
I was looking through @laufersteppenwolf's kernel source and noticed it was compiled with -Os flag and an old toolchain. I decided to recompile it with graphite and -Ofast flags (the highest optimization level) and with a newer toolchain. Though the later failed (All builds with 4.9+ toolchains failed to boot on this device ) it still feels faster than the original build. I have also disabled some debugging options so that the kernel would fit in the boot partition in addition to some performance gain.
Features
Compiled with graphite and -Ofast flags (linaro 4.7.4)
Undervolted Wi-Fi, Vibration, LCD and Touch by 10% (Not sure if they're effective or not)
Disabled some debugging options
Added a lower charging current level (1700mA) to fast charge options (To reduce heating during charge but must be selected by user, Default is 1800)
Download
laufersteppenwolf said:
Hey guys
As you already might have read in either the CM11 dev thread or the Q&A section, I am working on a custom kernel for our T210(R) and T211. It's still in a pretty early stage, but the current build is fully stable, so I thought why not share it
As I'm pretty new to this community, a few words about myself: My (only) device I have been working on is the LG Optimus 4x HD, for which I also made a custom kernel (also named werewolf kernel, who would have thought of that ). Me and 2 other fellow RDs were able to "switch" many blobs with the ones from grouper, which fixed many, many issues we were facing in 4.4 with the stock 4.1 blobs. I am the official maintainer of namelessROM and vanir for the 4x HD, and am also compiling GummyROM, LegoROM, unofficial CM 11 (using grouper blobs) and SlimKat for the 4x HD on a nightly base. And as soon as we have a proper device tree for our tab, I'm sure I can port the Tab3 to all those ROMs
Now, enough chit chatting, let's talk about the kernel
It's based on @ketut.kumajaya's blackhawk kernel (thanks again, mate ) From v004 on we are based on official KitKat sources, with some additions such as:
Features:
Various network tweaks
Entropy tweaks
I/O speed improvements
cortex a9 and neon omtimizations
Added frandom
Tweaked vm dirty ratios
Dynamic read-ahead values
Added I/O schedulers: ROW, SIO, BFQ, FIOPS, V(R)
Optimized AES and SHA1 routines
Added CPU governors: Lionheart, Adaptive, Intellidemand, Hotplug, Hyper
Reduced RAM usage from logger
Updated lowmemkiller
Overclocked to 1.420 GHz by default
Disabled vsync for better 2D performance
Overclocked GPU up to 624MHz (default 416MHz)
Custom user voltage control (CPU)
Undervolted by default (-25mV)
S2W and DT2W (WIP)
Fast Charging
KSM
Bugs:
You tell me!
Installation:
Download the kernel from HERE
Reboot into recovery (recommended to make a nandroid)
Flash the kernel zip
Recommended to wipe /cache
Reboot and enjoy!
And remember to remove phservice if you want to change some CPU/GPU settings yourself
Notes:
See 2nd post
GPL:
Kernel sources
Kernel Modules (only for v001 - v003)
Used defconfig
Used build script
Thanks:
@ketut.kumajaya for the initial kernel base
@gr8nole for general help, info and testing
XDA:DevDB Information
Werewolf kernel SM-T210/T211, Kernel for the Samsung Galaxy Tab 3
Contributors
laufersteppenwolf
Kernel Special Features: Tuned for best possible performance
Version Information
Status: Stable
Created 2014-07-21
Last Updated 2015-05-25
Click to expand...
Click to collapse
XDA:DevDB Information
Recompiled Werewolf SM-T211, ROM for the Samsung Galaxy Tab 3 7.0
Contributors
mat1371
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.4.x
Version Information
Status: Testing
Created 2018-08-23
Last Updated 2018-08-23

Reserved
Tweaking Guide
laufersteppenwolf said:
Since v002, we have an updated lowmemorykiller. It behaves a bit snappier than the old one, also with the default minfree values. However, in case you like to tweak your device a bit to make it even more snappy (like me ), I tweaked the minfree values a bit to slightly increase the free RAM without really affecting the multitasking experience. The script can be found in the attachment. All you need to do is to extract the script and place it in your /system/etc/init.d/ folder and that's it. The values will be automatically set on boot.
UV interface
The min possible voltage is 1000mV for now, and the max one is 1400mV. If you want me to lower the min voltage, please let me know.
Also, please note, that the voltage has to be changed in 12.5mV steps. If you apply for example 1110mV, it will be rounded down to 1100mV.
Fast Charge interface
The main interface is inside /sys/kernel/fast_charge/*
/sys/kernel/fast_charge/force_fast_charge (rw)
0 - disabled (default)
1 - use custom mA configured through the sysfs interface (see below)
/sys/kernel/fast_charge/ac_charge_level (rw)
rate at which to charge when on AC (1.8A to 2.3A)
/sys/kernel/fast_charge/usb_charge_level (rw)
rate at which to charge when on USB (0.5A to 1.0A)
/sys/kernel/fast_charge/failsafe (rw)
0 - disabled - allow anything up to 2.3A to be used as AC / USB custom current (USE WITH CAUTION!)
1 - enabled - behaviour as described above (default)
/sys/kernel/fast_charge/version (ro)
display fast charge version information
New kmsg layout
From v008 onwards the kmsg looks a tiny bit different. Instead of displaying the time since boot, it logs the actual time and date.
Now, you may ask yourself: "does that any good?" Sure it does. When you encounter an issue and grab a log, you can send it my way saying "the issue happened at 15:35". It is way harder to find out the exact time (in seconds) since the device booted, right?
Click to expand...
Click to collapse

mat1371 said:
Hi!
I was looking through @laufersteppenwolf's kernel source and noticed it was compiled with -Os flag and an old toolchain. I decided to recompile it with graphite and -Ofast flags (the highest optimization level) and with a newer toolchain. Though the later failed (All builds with 4.9+ toolchains failed to boot on this device ) it still feels faster than the original build. I have also disabled some debugging options so that the kernel would fit in the boot partition in addition to some performance gain.
Features
Compiled with graphite and -Ofast flags (linaro 4.7.4)
Undervolted Wi-Fi, Vibration, LCD and Touch by 10% (Not sure if they're effective or not)
Disabled some debugging options
Added a lower charging current level (1700mA) to fast charge options (To reduce heating during charge but must be selected by user, Default is 1800)
Download
XDA:DevDB Information
Recompiled Werewolf SM-T211, ROM for the Samsung Galaxy Tab 3 7.0
Contributors
mat1371
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.4.x
Version Information
Status: Testing
Created 2018-08-23
Last Updated 2018-08-23
Click to expand...
Click to collapse
Great! Did you upload your source?
I had been working on it to compile with GCC 8, but haven't got enough time to complete the cherry picks

sscsps said:
Great! Did you upload your source?
I had been working on it to compile with GCC 8, but haven't got enough time to complete the cherry picks
Click to expand...
Click to collapse
It's on github but I didn't link to it cause it's messy. BTW There is no source code change aside from makefile and defconfig.

BTW, that link is blocked in India, can you upload it somewhere else? and also, cna you provide link to your source?

sscsps said:
BTW, that link is blocked in India, can you upload it somewhere else? and also, cna you provide link to your source?
Click to expand...
Click to collapse
Use https:// in download link.

adukale said:
Use https:// in download link.
Click to expand...
Click to collapse
Well, I've got it already, and https didn't quite help, her to use a VPN,
I'm suggesting the OP to upload somewhere else as well.

Thx alot, now it's time to download kitkat rom.
Keep it up sir ?

sscsps said:
BTW, that link is blocked in India, can you upload it somewhere else? and also, cna you provide link to your source?
Click to expand...
Click to collapse
Sorry for late reply, I'm busy with my thesis these days. I've attached the file to the post. Will send you a link to the source (GitHub) in your PV.

Great! Finally something new for T211/0. Love to see some movement here.

Tried installing on a T210 with TRWP but get an error message. Anyone any ideas?
Tried to attach the error but it won't let me... Error talks about asset failed getprop ro.product.device == lt023g etc

@Samw13
SM-T210 = lt02 wifi Tab
SM- T211 = lt02_3g Tab

So, i have deleted requirement in update-script file and kernel seems to work correctly on t210.
Here's link to edited kernel: https://www.upload.ee/files/10238882/kernel-SM-T210-werewolf-Ofast-UV.zip.html
{
"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"
}

Is it fully stable on SM-T211??. Is it the final version??

Hi,
@mat1371,
@lol28
Thank you for the kernel for T210R. Stable, overclocked to 1.42Ghz. I have an issue with the settings I make, they don't stick after reboot. I used kernel adiutor, EX kernel manager, Performance tweaker. I have busybox installed.
I've flashed Powerdaemon.disable.zip from Gr8nole, still the same.
Edit:
I've found Gr8nole's suggestion about deleting /system/bin/phservice. I deleted the file, rebooted, changed to governor to lionheart. It seemed to keep the settings.
Thanks!

Related

[KERNEL][I9195][Stock JB/KK] brisK v6

brisK Kernel​
brisK is a KitKat kernel for stock-based ROMs for the Samsung Galaxy S4 mini LTE (GT-I9195).
It aims to be faster and more a bit more battery-friendly than the stock kernel, while retaining its stability.
To prevent bloat I will only apply useful features like BLN. Adding 10 random governors and schedulers is not useful in my eyes, and is also not the goal of this kernel.
Goals
Stability: The original Samsung kernel is stable, so let's not go too far away from it. This kernel doesn't need bleeding edge code - it just works(TM).
Efficiency: Less power consumption by faster computation.
Battery: A battery drain patch is included, which is not in Samsungs original code.
Speed: Minor changes, for example: Trade some screen smoothness for less kernel overhead. Should not be noticeable, though. Also lowers power consumption slightly.
Changelog
v6 (brisk_kk-stock_2015-07-28_15-07-08_64d9234.zip)
Removed more KNOX stuff (--> This fixed some random reboots!)
Finally upgraded to new toolchain: Linaro GCC 4.9.4-2015.06 (Cortex-A15)
Thanks @impactor and @SilviuMik for providing help!
v5
Revert default IO scheduler back to CFQ
Apply changes from new released kernel source (GT-I9195_EUR_KK_Opensource.zip - I9195XXUCOA2)
Apply changes from new released kernel source (GT-I9195_EUR_KK_Opensource.zip - I9195XXUCOE4)
Older versions
v4
Fixed USB-to-PC problems by re-enabling some debugging code
v3
Users reported: USB-to-PC (MTP) doesn't work? (Logfiles appreciated)
Apply changes from Samsungs GT-I9195_EUR_KK_Opensource_Update1.zip
Replace stock Wlan module with kk_2.7_rb1.43
Various kernel config changes:
Disable various unused and debugging features
Re-enable heap randomization
Enable "Optimize very unlikely/likely branches"
Set default IO scheduler to noop
Reduce preemption from "Low-latency desktop" to "Desktop"
Disable Samsungs Rooting Restriction
Added init.d support
v2
Added OTG support (UNTESTED) - Edit: NOT WORKING YET
Removed TIMA
Change to XZ compression
Add BLN support (UNTESTED) - Edit: NOT WORKING YET
v1
Added battery drain patches
Optimize kernel for speed, not size
Preparation for init.d support
Permissive SELinux
Future plans
Add proper Prima WLAN driver - Done!
Add a few more optimizations - Done!
Add init.d - Done!
JellyBean Kernel
The old JellyBean kernel is no longer maintained, but it is stable and its uptime was above 2000 hours on my device. I published it here too, in case someone is happy with their JellyBean ROM and wants this.
Features: BLN, Battery drain patches, kernel config optimized, most debugging code deactivated
Source: https://github.com/TheBootloader/android_kernel_samsung_msm8930-common/tree/jb-stock
Awesome people
@SilviuMik for helping me getting started and providing useful tips - You rock!
@Christopher83 for his toolchains
@F4k for providing source code where I can snoop around
@junkyde for his kernel and his OTG and BLN patches
@arco68 for being another great resource
Downloads & Sources
Source code is on my GitHub.
Releases are at the bottom of this post and on GitHub.
See 2nd post if you need checksums.
PLEASE MAKE FULL BACKUP (/system TOO!) BEFORE FLASHING ANYTHING. The strangest things can happen if you don't have a backup - even if it *should* work.
Downloads are ordered from oldest to newest, so the newest release is at the bottom.
Checksums
brisK JB (brisk_jb_2014-05-16_16-40-39.zip)
MD5: 0f916929e85ae1f8d7b2d1aa8c4e5e1f
SHA256: 8cb1b01358eeb6bc7fb68bbb2fd641d5cda852b78d7e22605ffb28eba6da4156
brisK KK v1 (brisk_kk_2014-08-19_17-33-50_cd36751.zip)
MD5: 8edf28d8a2d1d89d40f8a8f1863d7b57
SHA256: aed1caf0d13ada04888e7c3a020fa6b679fc0fc36ad89678e617ae9a36d637e6
brisK KK v2 (brisk_kk-stock_2014-08-21_01-04-03_765f3f6.zip)
MD5: c004e49779f21f706e76a00233f8fb80
SHA256: df57729a66d425a970d8c8ef222edf6073e4cfc562d8dccea96f12ac0eac7aef
brisK KK v3 (brisk_kk-stock_2014-12-07_00-57-00_23da34c.zip)
MD5: d64b2c7049339eaed9d14bafdc8a9ee3
SHA256: 47741a492077d3e385e120c3596bf6df63426930fffcaa7aa84c924ff43fee91
brisK KK v4 (brisk_kk-stock_2014-12-07_15-31-03_1091455.zip)
MD5: d5fb48434fe9a206a9544968081ee654
SHA256: 122189fb11068be07e6d24cbe179ed57a9872944664e028d0d288fcf804ea4d2
brisK KK v5 (brisk_kk-stock_2015-07-23_23-57-24_518a15c.zip)
MD5: 2a5086c1354e6f475d73b77b41bcfe40
SHA256: 7dce6a173c9e6ddf6f573c802cc8aea7900239a2253ca31722e651e791bb6e6e
brisK KK v6 (brisk_kk-stock_2015-07-28_15-07-08_64d9234.zip)
MD5: 567d7e6ea8762559d218bb092c4cdac4
SHA256: b5b3b41fa7ed10210e4964fa2cd98d14d4572a30b68f7b939e945a3458063a43
Samsungs stock JellyBean Kernel (samsung_jb.zip)
Description: Reverts all changes made by brisK JB by overwriting it with Samsungs original JB kernel (extracted from I9195XXUBML4).
MD5: 388336cec2e9686e258985d0dded0dc9
SHA256: 35777926edee3558208175d5359ef1c466dc3d4dbb1276e233f6727d64b83aa3
Samsungs stock KitKat Kernel (samsung_kk2.zip)
Description: Reverts all changes made by brisK KK by overwriting it with Samsungs original KK kernel and files (extracted from I9195XXUCNE6).
MD5: c71112214620a50841731f4899dd2ca2
SHA256: d2d70f212ee898cf1cedef2d84b3e6345e2388a13579a7112181a254a2c2f3de
Installing
To flash any of these zip-files, you need to install a custom recovery on your phone. (For example: http://forum.xda-developers.com/showthread.php?t=2364980 )
Put zip file on your phone or on its microSD
Boot into recovery: Hold "Volume UP", "Home Button", and "Power Button" when it is off or rebooting
MAKE A FULL BACKUP BY USING THE BACKUP-MENU
Select "Install from zip" or something similar
Navigate to your zip file, select it, and flash it
Reboot your phone
Uninstalling
If you want to go back to Samsungs stock kernel or flash another kernel, you need to install "samsung_jb.zip" or "samsung_kk.zip" first.
brisK uses custom kernel modules. When you run on brisK and then directly install another custom kernel which has no custom modules, you will probably experience issues with WLAN and other stuff. To solve this, flash "samsung_jb.zip" or "samsung_kk.zip" (which flashes the stock modules), and THEN flash whatever custom kernel you want. - Of course you do NOT need to do this if you update to a newer version of brisK.
thank !
GREAT !!!
but for governors and schedulers , i agree with you in half ... but "few" of them are very useful !
what do you think about the recent "zen" ...or "row" ( by default in all customs like cyanogenmod ) ?
for you ,what are the "best" (more adapted ) for better compromise in performance/baterry save ?
why you don't add just 1 or 2 among the best of ones ?
Now running on brisK
{
"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"
}
Loulou-13 said:
but for governors and schedulers , i agree with you in half ... but "few" of them are very useful !
Click to expand...
Click to collapse
I agree that some governors might actually improve performance, but there isn't much information available, some people say governor A is better, some say B is best...
But also: Kernel goal nr. 1 is stability, and ondemand is well tested. That's why I probably won't add any new governor before testing them a lot.
Can you suggest any governors? And do you have proof or URLs why they are better? Thanks!
If you want more features, more governors, etc, f4k will probably release a stock kernel soon. So keep an eye out for that!
Loulou-13 said:
what do you think about the recent "zen" ...or "row" ( by default in all customs like cyanogenmod ) ?
for you ,what are the "best" (more adapted ) for better compromise in performance/baterry save ?
why you don't add just 1 or 2 among the best of ones ?
Click to expand...
Click to collapse
Zen: I don't know what this does different than other schedulers, I have to read about this first.
I considered "row" when I had an Evo 3D, but I didn't notice a difference between "noop" and "row" in normal daily usage, so I'm not sure yet if I will include it or not - needs more testing.
ladislav.heller said:
Now running on brisK
Click to expand...
Click to collapse
Awesome!
If you have any problems, please report them here. And if you don't have any problems at all, please report that here too!
TheBootloader said:
I agree that some governors might actually improve performance, but there isn't much information available, some people governor A is better, some say B is best...
But also: Kernel goal nr. 1 is stability, and ondemand is well tested. That's why I probably won't add any new governor before testing them a lot.
Can you suggest any governors? And do you have proof or URLs why they are better? Thank!
If you want more features, more governors, etc, f4k will probably release a stock kernel soon. So keep an eye out for that!
Zen: I don't know what this does different than other schedulers, I have to read about this first.
I considered "row" when I had an Evo 3D, but I didn't notice a difference between "noop" and "row" in normal daily usage, so I'm not sure yet if I will include it or not - needs more testing.
Click to expand...
Click to collapse
Same thinking as me ...
ondemand for CPU Gov / No-op for I/O sched , they work great and don`t cause problems
SilviuMik said:
Same thinking as me ...
ondemand for CPU Gov / No-op for I/O sched , they work great and don`t cause problems
Click to expand...
Click to collapse
Yes, my experience too!
Although, when I copy big files with "noop", android freezes for the duration of the copy process. That's the nature of "noop", but "row" might actually fix that. But then again: I rarely need to copy big files, so "noop" is okay for now.
TheBootloader said:
Awesome!
If you have any problems, please report them here. And if you don't have any problems at all, please report that here too!
Click to expand...
Click to collapse
No problems, everything works well.
Please add support for USB Host with additional power supply, is very necessary !!!!
killov1982 said:
Please add support for USB Host with additional power supply, is very necessary !!!!
Click to expand...
Click to collapse
+1 for USB OTG support.
Working good so far
Thanks
TheBootloader said:
Yes, my experience too!
Although, when I copy big files with "noop", android freezes for the duration of the copy process. That's the nature of "noop", but "row" might actually fix that. But then again: I rarely need to copy big files, so "noop" is okay for now.
Click to expand...
Click to collapse
NOOP hangs in general when the read/write task becomes too intensive. Consider CFQ if you're going to do a bit write operation, else ROW is better. That my two cent when I tried on my S3 with Boffela kernel.
PS. ZEN hangs even worse than NOOP.
ladislav.heller said:
+1 for USB OTG support.
Click to expand...
Click to collapse
I second that
thank for your work...
is your kernel working with old knox-free bootloaders like Silviumik's kernel?
thanks
battery life compared with carbon 4.4.4 ? PLEASE
s.goten said:
thank for your work...
is your kernel working with old knox-free bootloaders like Silviumik's kernel?
thanks
Click to expand...
Click to collapse
For now i think no, because he did not remove Knox reference from source, i could be wrong tho !
I just released a new version!
A lot people asked for OTG, so here you go! I added OTG and BLN (untested!!!), thanks to junkyDE!
The highest kernel goal is stability, but I don't have time to test these features right now - maybe I can do one quick emergency fix tomorrow if something breaks, but after that I will probably not respond for 2 weeks or more.
So, have fun and enjoy!
brisK v2
Added OTG support (UNTESTED)
Removed TIMA
Change to XZ compression
Add BLN support (UNTESTED)
-----
s.goten said:
thank for your work... is your kernel working with old knox-free bootloaders like Silviumik's kernel?
Click to expand...
Click to collapse
SilviuMik said:
For now i think no, because he did not remove Knox reference from source, i could be wrong tho !
Click to expand...
Click to collapse
I removed TIMA in brisK v2, so.... it -should- work now right?
If it doesn't boot, just restore your boot partition from a backup or re-flash your previous kernel if you had any.
-----
TNCS said:
NOOP hangs in general when the read/write task becomes too intensive. Consider CFQ if you're going to do a bit write operation, else ROW is better. That my two cent when I tried on my S3 with Boffela kernel. PS. ZEN hangs even worse than NOOP.
Click to expand...
Click to collapse
Thanks a lot for your input! Now I know I don't need to consider ZEN, and will stay with NOOP, and aim for ROW when I have time to add it.
I9192?
Sent from my GT-I9192 using XDA Premium 4 mobile app
SilviuMik made a 9192 kernel:
http://forum.xda-developers.com/showthread.php?t=2592308

[i9506] [Touchwiz] [Lollipop] FireWork Kernel v0.4.0 *DISCONTINUED*

This is my first i9506 Kernel. It is based off the original Samsung lollipop sourcedrop and has some modifications i consider wise compared to pure stock. The aim is set on maximizing the performance and battery life by introducing as few changes as possible to the codebase but as many as necessary. Features that enhance the user experience (e.g Faux Sound) are also included. If you want a specific feature to be included and you think more people would like it, please feel free to ask me to include it.
*THIS PROJECT HAS BEEN DISCONTINUED, feel free to clone the sources*
Supported Roms:
XXUDOA6, XXUDOB5, XXUDOC5, XXUDOD3, XXUDOF2
[ROM][i9506][LP][eXtremely Tweaked][De-bloated]
Darklord S6 Port v3 *needs DOF2 Baseband*
If you want a specific, non-AOSP-based ROM supported, please write it in this thread
If you are a ROM developer you are free to ship this kernel with your ROM, just leave proper credit
Features:
SELinux "Permissive"
SuperSU 2.46 by Chainfire included and automatically installed
Busybox
Init.d Support with Initscript stdout logging and adjustable logsize
KNOX Removal on Install
Arteractive CPU Governor
Snapdragon Optimized memutils
Based on Samsung I9506 XXUDOE2 Sourcedrop
Faux Sound 3.6
Intelli Plug 3.8
Touchboost
eMMC and SDCard read_ahead 2048 KB
Idle GPU Frequency 200 MHz for Battery
Fiops IO Scheduler
FSTRIM Init.d Script. This trims /system /data and /cache at boot.
Built with Linaro GCC 4.9.3/2014.11
Support for XBOX360 Controller with LED and Rumble
Regarding init.d:
The logfile is located at /data/initdlog. The logfile contains date and time, so you can relate the entries with the current boot. What is also logged is which scripts from /etc/init.d were executed and their stdout. If you want an initdscript to write extra stuff to this logfile just add "echo" to your scripts.
[*]You can also specify a maximum log size for /data/initdlog. For this, you need to edit /system/bin/sysinit. The default is 8KB. When the logfile gets too big, it gets deleted and is then recreated at boot.
Code:
[B]Changelog:[/B]
[LIST]
[*]18th of Sep, 2015 Information
[INDENT][I]As no issues have been reported within a week, Darklord S6 Kernel can be considered functional[/I][/INDENT]
[*]11th of Sep, 2015 Information
[INDENT][I]Added experimental Darklord S6 Port v3 ROM support[/I][/INDENT]
[*]10th of Sep, 2015 Information
[INDENT][I]Added XXUDOD3 Zip[/I][/INDENT]
[*]10th of Sep, 2015 Release 0.4.0
[INDENT][I]Rebase on latest Samsung XXUDOE2 Sourcedrop[/I][/INDENT]
[INDENT][I]FSTRIM is back once and for all[/I][/INDENT]
[INDENT][I]Installation does now wipe dalvik cache to prevent issues[/I][/INDENT]
[INDENT][I]Enabled Support for XBOX360 Controller LED and Rumble[/I][/INDENT]
[*]26th of Mar, 2015 Information
[INDENT][I]Made FSTRIM Optional. Please tell me if you are experiencing battery drain or not with this.[/I][/INDENT]
[*]25th of Mar, 2015 Bugfix Release 0.3.2
[INDENT][I]Now that Init.d is working the way it should, it turns out that fstrim at boot might be causing wifi battery drain issues.
Therefore, this version deletes /system/etc/init.d/01-fstrim as a workaround.[/I][/INDENT]
[*]25th of Mar, 2015 Bugfix Release 0.3.1
[INDENT][I]Wrote completely new script for Init.d support. Also, added some goodies to it. [/I][/INDENT]
[*]24th of Mar, 2015: Feature Update 0.3.0
[INDENT][I]Added Faux Sound 3.6[/I][/INDENT]
[INDENT][I]Added Intelli Plug 3.8[/I][/INDENT]
[INDENT][I]Enabled Touchboost to Prevent Lag in Energy Saving Mode[/I][/INDENT]
[INDENT][I]Set eMMC & SDCard read_ahead to 2048 KB[/I][/INDENT]
[INDENT][I]Add Fiops and set as the default IO Scheduler for eMMC and SDCard[/I][/INDENT]
[INDENT][I]Lowered Default GPU Frequency from 320mhz to 200mhz[/I][/INDENT]
[*]18th of Mar, 2015: Feature Update 0.2.0
[INDENT][I]Added FSTRIM at boot[/I][/INDENT]
[INDENT][I]Optimized SELinux audit[/I][/INDENT]
[INDENT][I]Added msm8974 specific memcpy and optimizations[/I][/INDENT]
[INDENT][I]Added arteractive CPU governor and set default[/I][/INDENT]
[INDENT][I]Rebase on Samsung LL Sources Update 1[/I][/INDENT]
[*]15th of Mar, 2015: Bugfix Release 0.1.3
[INDENT][I]Revert: Separate Initrd for XXUDOB5 --> this fixes the Camera[/I][/INDENT]
[INDENT][I]Kernel ZIP is now for both, XXUDOB5 and XXUODA6.[/I][/INDENT]
[*]15th of Mar, 2015: Minor Update/Bugfix Release 0.1.2
[INDENT][I]Built with "-O2" instead of "-Os" for a small performance boost[/I][/INDENT]
[INDENT][I]Fixed a typo in updater-script[/I][/INDENT]
[INDENT][I]Set permissions for the remaining kernel modules in updater-script[/I][/INDENT]
[*]15th of Mar, 2015: Bugfix Release 0.1.1
[INDENT][I]Fixed Init.d Support[/I][/INDENT]
[*]15th of Mar, 2015: Added version with XXUDOB5 initrd
[*]15th of Mar, 2015: Initial Release version 0.1
[/LIST]
How to Install:
Just flash the zip with CWM or TWRP. Currently this has only been tested with TWRP 2.8.5.0 and TWRP 2.8.7.0!
After install, SuperSU will ask you to update the su-binaries. Just hit "normal" install, reboot and you are good to go.
If you have WiFi-Issues, please make sure that your Baseband Version is the same as your ROM Version!
Download:
PLEASE CHECK THE DOWNLOADS TAB
Source Code:
See post no.2
Special Thanks:
Arter97 (SELinux Disable, Arteractive, SELinux Optimize, copy_template.S for memutils)
Faux123 (Faux Sound, Intelli Plug)
This kernel was built on a machine using Arch Linux
{
"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"
}
XDA:DevDB Information
[i9506] [Touchwiz] [Lollipop] FireWork Kernel, Kernel for the Samsung Galaxy S 4
Contributors
kiffmet
Kernel Special Features:
Version Information
Status: Stable
Created 2015-03-15
Last Updated 2015-09-10
Source Code:
This project is now hosted on GitHub
The whole toolchain used for building aswell as my zip packaging scripts are available there too
You will even find the latest unmodified stock samsung kernel source there as a branch of my kernel if you dont like dealing with the slow-as-hell samsung servers.
My GitHub Profile
For building the kernel and using the toolchain you need the following software installed:
On 64 bit Linux multilib is required:
lib32-glibc
lib32-gcc-libs
On 32 bit Linux:
glibc
gcc-libs
As prerequisites for The linaro toolchain:
arm-none-eabi-gcc
arm-none-eabi-binutils
General stuff:
gcc
lzop
ncurses
zip
cpio
Recommended:
meld
heimdall
Reserved #2
Wow!! Will try tomorrow ??
Great!!!
simple and fast, and finally I can use Viper4android on stock sammy rom.
Huge thanks bro!
kornelius1982 said:
Great!!!
simple and fast, and finally I can use Viper4android on stock sammy rom.
Huge thanks bro!
Click to expand...
Click to collapse
Why ? It wasn't possible with rooted stock rom ?
This kernel is fast and snappy. So far so good. Another kernel developer. Thanks :good:
Edited
Camera not working on XXUDOB5
yazsers said:
Why ? It wasn't possible with rooted stock rom ?
Click to expand...
Click to collapse
It wasn't possible because of SELinux. I made this kernel for Viper too xD
download link??
coroneta said:
download link??
Click to expand...
Click to collapse
Link is in download tab of the thread.
Kernel is fast but camera not working. ((
usatencu said:
Kernel is fast but camera not working. ((
Click to expand...
Click to collapse
Which ROM version are you using? Front and back camera is working for me on XXUDOA6
Is Xposed working with this kernel?
Napusmauno said:
Is Xposed working with this kernel?
Click to expand...
Click to collapse
Havent tried it out but if you find an xposed version for lollipop it might work.
Work great for me. Much faster than stock kernel. I like
No xposed for TW roms yet.
Amazing!!
Thank you very much for your time and effort.
It works perfect and Viper4 sounds again!!!!
Thank you.
Thanks! Fast and stable!!!
Feature list looks impressive! Will this work with the official Cyanogenmod rom for the i9506?

[KERNEL][4 TW roms]CivZ_P900_Rev2.0-Lollipop(22/okt/2015)

Based on Samsung Official source​
Thanks to UpInThAir for his work on the S tablet. Most of his stuff is ported from his git.
I changed some stuff to make it work on our Tablet and I added some stuff.
CivZ-P900 Lollipop Kernel Download Folder.​
Stock lollipop kernel
KERNEL FEATURES source.
Install with custom recovery
[*]KNOX removed (container service, SecureStorage)
[*]SELINUX protection included but set at Permissive = No problems wit apps like Paragon and Titainium. and Viper4Android.
When you want to use Viper4Android you must block/disable the Samsung default player and block/disable the SoundAlive app
[*]INIT.D Support
[*]ARCH controllable
[*]SPen BOOSTER CONTROL @ bonuzzz
[*]INTERNAL & MEMORY VOLTAGE CONTROL @ Andreilux & halaszk
[*]MEMORY Frequency up to 933MHz
[*]OVERCLOCKING & VOLTAGE CONTROL CPU & GPU @ Andreilux & halaszk (CPU:200MHz up to 21000MHz / GPU: up to 677MHz)
[*]BFQ SCHEDULER ADDED
[*]WOLFSON DAC SOUND CONTROL ( Speaker and Headphone equalizer) @ Andreilux & oloendithias
[*]DYNAMIC READ AHEAD
[*]SAMSUNG DYNAMIC HOTPLUG CONTROL @ oloendithias
[*]EXTRA TCP WIFI CONNECTION OPTIONS
[*]SCREEN mDnie control @ Andreilux & Xluco
[*]NTFS READ WRITE SUPPORT (with paragon)
[*]WQ_POWER_EFFICIENT
[*]COMPILED WITH GCC 4.8 Google
[*]Frandom
[*]GPU Qos control, added control in synapse @ UpInTheAir
Extra Driver (device) support compared to the default kernel
[*]HID_LOGITECH/LOGIRUMBLEPAD2/LOGIWHEELS/HID_WIIMOTE/HID_WIIMOTE_EXT/XBOX_PAD/............
[*]USB_DUN_SUPPORT
[*]USB_OTG
[*]CIFS
[*]FULL CONTROL WITH SYNAPSE APP (Thanks to Andreilux for the app and UpInTheAir for most of the layout)
Some screens of the Synapse:
{
"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"
}
[*]etc.........
Changelog KERNEL:
16/07/2015 Rev1.1 Released
16/07/2015 Rev1.2 Released
Update GPU mif /int
Rev1.5 Released 03/sept/2015
Frandom added
Crypto Neon support added
L2TP support activated in the kernel
Compiled on GCC 4.8 Linaro
Writeback support added for smoothness
etc.........
Rev1.6 Released 05/sept/2015
Not released as this was tester.
Rev1.7 Released 05/sept/2015
Clean start from Latest Samsung source
Aim is stability
Powersuspend, Dynamic Fsync and DynamicWriteback removed as they are experimental.
Switched back to the stable GCC 4.7.4 Linaro
VPN bug fixed (tested myself with different VPN providers in system settings of the rom and not a app from the Playstore)
etc.........
Rev1.8 Released 07/sept/2015
Changed some GPU settings for the flickering problem on High CPU load and low battery.
SWAP READAHEAD
ZSWAP WRITEBACK
WQ_POWER_EFFICIENT
COMPILED WITH GCC 4.8 Google
Extra Driver (device) support compared to the default kernel
BRIDGE_NETFILTER
L2TP_V3 & L2TP_IP & L2TP_ETH & PPPOL2TP
CAIF & CAIF_USB
USB_NET_DM9601
DVB_CORE & DVB_NET &DVB_CAPTURE_DRIVERS DVB_STB0899/DVB_STB6100/DVB_STV090x/DVB_STV6110x/..............
HID_PID & USB_HIDDEV
HID_LOGITECH/LOGIRUMBLEPAD2/LOGIWHEELS/HID_WIIMOTE/HID_WIIMOTE_EXT/XBOX_PAD/............
USB_ACM
USB_WDM
USB_STORAGE_REALTEK
USB_DUN_SUPPORT
USB_OTG
USB_MICROTEK
MEMSTICK_SONY
CIFS
HFS_FS
HFSPLUS_FS
BFS_FS
UFS_FS
etc.........
Rev2.0 Released 22/okt/2015
Updated to H4 source & ramdisk
Reverted memory control
XDA:DevDB Information
CivZ_P900_Lollipop Kernel, Kernel for the Samsung Galaxy Note Pro 12.2
Contributors
civato
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: Rev1.1
Stable Release Date: 2015-07-16
Current Beta Version: Rev1.0
Created 2015-07-16
Last Updated 2015-10-22
Thank you
Sent from my SM-G925T using Tapatalk
Yay viper works again thx again
Sent from my SM-G925T using Tapatalk
Love the rom... however I get a "No UCI support detected" message when synapse starts up
...
Thanks again for your hard work!!!
morpheousrx said:
Love the rom... however I get a "No UCI support detected" message when synapse starts up
...
Thanks again for your hard work!!!
Click to expand...
Click to collapse
The rom @civato made does not come with this kernel. You will not be able to use Synapse until you flash this kernel.
I guess this is only working for P900, not P905?
StigOE said:
I guess this is only working for P900, not P905?
Click to expand...
Click to collapse
It is stated that way in the OP.
Civato,
Thanks for this great kernel and hard work! Installed on my rooted P900 and works so far great. AND it fixes the BT issue with the Logitech keyboard.
Yes. Civato amazing work, logitech keyboard working great with this!
Yes this kernel fix the Bluetooth Problem.
Hi Guys,
Can someone help with a quick install steps list for newbie like me from stock tablet?
I've downloaded both the kernel and source file and put them in the SD card.
I've started under custom recovery mode and selected update from external storage in the menu, and run it for both file but I've got nothing different afterwards and still the famous Bluetooth issue.
Thanks in advance
Cheers
Rev1.7 Released 05/sept/2015
Clean start from Latest Samsung source
Aim is stability
Powersuspend, Dynamic Fsync and DynamicWriteback removed as they are experimental.
Switched back to the stable GCC 4.7.4 Linaro
VPN bug fixed (tested myself with different VPN providers in system settings of the rom)
etc.........
civato said:
Rev1.7 Released 05/sept/2015
* Clean start from Latest Samsung source
* Aim is stability
* Powersuspend, Dynamic Fsync and DynamicWriteback removed as they are experimental.
* Switched back to the stable GCC 4.7.4 Linaro
* VPN bug fixed (tested myself with different VPN providers in system settings of the rom)
* etc.........
Click to expand...
Click to collapse
When you say "Clean start from Latest Samsung source" do you mean the latest 5.0.2 rom P900UEU1COH2_P900XAR1COH2_XAR? Or is this something else entirely? Thank you.
FlyingHorseGA said:
When you say "Clean start from Latest Samsung source" do you mean the latest 5.0.2 rom P900UEU1COH2_P900XAR1COH2_XAR? Or is this something else entirely? Thank you.
Click to expand...
Click to collapse
No you are talking about a rom release, This is a kernel release, those sources you download from a other place.
With custom Kernel I had screen flickering under huge CPU load and low battery, so switched back to custom kernel.
Sry
sent from my NotePro via Tapatalk
Rev1.8 Released 07/sept/2015
Rev1.8 Released 07/sept/2015
Changed some GPU settings for the flickering problem on High CPU load and low battery.
SWAP READAHEAD
ZSWAP WRITEBACK
WQ_POWER_EFFICIENT
COMPILED WITH GCC 4.8 Google
Extra Driver (device) support compared to the default kernel
BRIDGE_NETFILTER
L2TP_V3 & L2TP_IP & L2TP_ETH & PPPOL2TP
CAIF & CAIF_USB
USB_NET_DM9601
DVB_CORE & DVB_NET &DVB_CAPTURE_DRIVERS DVB_STB0899/DVB_STB6100/DVB_STV090x/DVB_STV6110x/..............
HID_PID & USB_HIDDEV
HID_LOGITECH/LOGIRUMBLEPAD2/LOGIWHEELS/HID_WIIMOTE/HID_WIIMOTE_EXT/XBOX_PAD/............
USB_ACM
USB_WDM
USB_STORAGE_REALTEK
USB_DUN_SUPPORT
USB_OTG
USB_MICROTEK
MEMSTICK_SONY
CIFS
HFS_FS
HFSPLUS_FS
BFS_FS
UFS_FS
etc.........
civato said:
Rev1.8 Released 07/sept/2015
Changed some GPU settings for the flickering problem on High CPU load and low battery.
SWAP READAHEAD
ZSWAP WRITEBACK
WQ_POWER_EFFICIENT
COMPILED WITH GCC 4.8 Google
Extra Driver (device) support compared to the default kernel
BRIDGE_NETFILTER
L2TP_V3 & L2TP_IP & L2TP_ETH & PPPOL2TP
CAIF & CAIF_USB
USB_NET_DM9601
DVB_CORE & DVB_NET &DVB_CAPTURE_DRIVERS DVB_STB0899/DVB_STB6100/DVB_STV090x/DVB_STV6110x/..............
HID_PID & USB_HIDDEV
HID_LOGITECH/LOGIRUMBLEPAD2/LOGIWHEELS/HID_WIIMOTE/HID_WIIMOTE_EXT/XBOX_PAD/............
USB_ACM
USB_WDM
USB_STORAGE_REALTEK
USB_DUN_SUPPORT
USB_OTG
USB_MICROTEK
MEMSTICK_SONY
CIFS
HFS_FS
HFSPLUS_FS
BFS_FS
UFS_FS
etc.........
Click to expand...
Click to collapse
Civato can this be dirty flashed over 1.5
Now I'm on 1.8
Everything seems fine. No flickering so far, but with nearly 90% battery. [emoji106]
I will send more feedback this evening with less battery
Nice work! Special THX for fast fix!
sent from my NotePro via Tapatalk
Criminal23 said:
With custom Kernel I had screen flickering under huge CPU load and low battery, so switched back to custom kernel.
Sry
sent from my NotePro via Tapatalk
Click to expand...
Click to collapse
What do you mean by screen flickering? Does the screen actually shut down and (then) you have to (manually) switch it on?
Also since custom kernel created the issue to you, why did you "switch back to custom kernel"?
Stevethegreat said:
What do you mean by screen flickering? Does the screen actually shut down and (then) you have to (manually) switch it on?
Also since custom kernel created the issue to you, why did you "switch back to custom kernel"?
Click to expand...
Click to collapse
No, I don't must switch on manually.
The screen flickers an half second to black and comes back from self -> it flickers
With stock Kernel and also with 1.8 Kernel the problem is gone.
Tested yesterday with 15% Accu. Everything is fine now. [emoji106]
Edit: I mean "switching back to stiock Kernel" sry for irritations [emoji6]
sent from my amazing SGS5 via Tapatalk

[Kernel] AX7Kernel - STOCK B15 / B19

{
"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"
}
Hello!
I want to introduce my first custom kernel for the ZTE Axon 7. This is based of several sources, I cherry-picked commits to make improvements to the stock LOS kernel. I'm not a developer, but i really like to port stuff over .
We'll have two kernels one based off LOS sources and will try to have updated with each and every commit that is submitted and the other one will be Stock ZTE sources based. If you want to request for specific features, let me know and i'll do my best to bring them over.
Special Features:
BLX (Battery Longevity eXtender) added, check Post#2 for instructions.
Updated to lastest LOS Stock Kernel
Added a few governors like: lionfish / despair / darkness / blu_active / wheatley / ironactive and bioshock
added a few IO Schedulers: Tripndroid / Zen / SioPlus / VR
Kcal Color Control driver
USB Fast Charge
SafetyNet Patch (Bypass bootloader unlocked check)
Dynamic Fsync control
a little Overclock
Motorola Quickwake
Extended battery charge time from 30s to 100s
and manny other small fixes (you can check the commits in the sources)
Download
Disclaimer: I am not responsible if you use this and brick your device or if your device blows up, implodes, flames start shooting from it or it kills your neighbor's dog. Flash at your own risk. I am not responsible.... It was the other guy... I swear....
Latest STOCK Release: AX7Kernel-STOCK-R9
Known issues:
02.13.2017 - CPU Freq don't always stick, known issue caused by other drivers. Phone will eventually set your frequencies, dont' panic.
Special Thanks to:
jcadduono
franciscofranco
bedalus
lord_boeffla
flar2
sultanxda
...and many others from whom i cherry pick commits... Sorry if I forgot to mention anyone!
XDA:DevDB Information
AX7Kernel, Kernel for the ZTE Axon 7
Contributors
jimbo77
Source Code: https://github.com/Jimbo77
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: R9
Stable Release Date: 2017-03-16
Created 2017-03-17
Last Updated 2017-03-22
Reserved
How to Bypass SafetyNet bootloader and/or root checks
* If comming from a clean flash of ROM or GAPS only do the following:
Magisk Approach
Flash the UnSu file from HERE
Flash my latest Kernel
Flash the latest Magisk from this thread:
Donwload Magisk Manager from the Playstore
Enable Magisk Hide in Magisk Manager
Profit, SafetyNet Checks will pass, all green!
SuperSU Approach
Flash the UnSu file from HERE
Flash my latest Kernel
Flash the latest SuperSU from this thread:
Donwload RootSwitch APP from HERE
Unpack the zip and install the apk inside it
Open Root Switch and disable root
Profit! SafetyNet checks will all be green!
Battery Life Extender (BLX) feature
In order to configure the cap you'll have to navigate to:
Code:
/sys/class/misc/batterylifeextender/charging_cap_level
edit the file and put the cap you want the battery to charge to, i won't recommend setting a cap lower than 90% cause then the phone could abruptely stop a fast charging cycle and damage your battery. If you want to have your phone charging to 100% just put 100 in the file and close it. No need to reboot, just plug and unplug your charger.
On a side note, this value will be set at 97% after every boot. So you'll need to manually change it back to 100.
Reserved
AX7Kernel Changelogs:
AX7Kernel R9 - 03/22/2017
Updated Source with ZTE Changes in B19 source code.
AX7Kernel R8 - 03/17/2017
Fixed NFC issue with B19 builds.
Updated WLAN driver to LA.UM.5.5.r1-03800-8x96.0 github from CAF
Fixed the SDCard error shown in R8 version from 03.16
AX7Kernel R8 - 03/16/2017
Updated to newest B15 Source dropped by ZTE a few days ago. This is mainly a Maintenance Update. Keep in mind the Kernel works with 7.1.1 but it breaks NFC, will be fixes most likely until a new sources is dropped by ZTE.
AX7Kernel R7 - 03/16/2017
For both STOCK and LOS Based versions. Upstream Linux Kernel to 3.18.45 thanks to jcadduono patches.
AX7Kernel R6 - 03/03/2017
Cap for battery charging set back to 100% by deffault. BLX Settings, you want to change them, refer to this POST and to this POST. If you want to extend your battery's life think about adding the cap to a 95 or 97%
Fixed the issue where the phone won't go into deep sleep at all.
WQ_POWER_EFFICIENT MODE is enabled by default now.
AX7Kernel R5 - 03/01/2017
Cap for battery charging set to 97% by deffault. BLX Settings, you want to change them, refer to this POST and to this POST. Your battery won't charge beyond 97%.
Added options to manipulate thermal settings, now you can choose when the phone will throtle the CPU or when to start shutting down cores to prevent damage. My recommendation don't push it too high or your phone might get damaged due to the high temps. It's not set to 60 Celcius so i recommend lowering that to avoid damage.
Added WQ_POWER_EFFICIENT MODE ( you'll need EX Kernel manager to get this, it's paid app but it's totally worth it guys)
Enabled the option to 'disable' some wakelocks. Disable them on your own risk. Wakelocks that can be disabled are: Bluedroid, wlan_rx, wlan_ctrl, wlan, IPA_WS, wlan_extscan_wl_ws, qcom_rx_wakelock_ws - You'll also need EX Kernel manager to get this options.
AX7Kernel R4 - 02/24/2017
Renamed both the Folder and Kernel zip file to appoint to the version. Now we'll have 2 versions, LOS and Stock AX7Kernel, make sure to check the zip name correctly to avoid issues when cross flashing kernels. All LOS/RR/AOKP and other LOS Based kernels will have the word LOS in it.
Fixed BLX feature. It should now properly stop the charging process when the battery has reached the cap_level set by users. Charge will resume once the charge drops from the cap assigned.
AX7Kernel R3 - 02/21/2017
Added one more step of OC (pushed just a little bit further)
Added my own and really simple implementation of BLX (battery life extender) based on the work made by bedalus for the OP3 and OP3T
AX7Kernel R2.3 - 02/17/2017
Updated to latest LOS Stock Kernel
Disabled some debugging
fixes to ZEN ioScheduler - highly recommended now.
Disabled color inversion in Kcal - can't be used anyways.
Fixed USB Fast Charge - Should worl properly now.
GPU OverClock - 684MHZ max frequency now.
Adreno Boost added and enabled (should boost GPU a bit)
Updates to interactive governor (should work better when operation are in the background and screen is off - music streaming is an example.
Changes to the Sync
Changes to Random function for IO ops.
Updates to Zram.
AX7Kernel R1 - 02/13/2017:
Updated to latest LOS Stock Kernel
Added a few governors like: lionfish / despair / darkness / blu_active / wheatley / ironactive and bioshock
added a few IO Schedulers: Tripndroid / Zen / SioPlus / VR
Kcal Color Control driver
USB Fast Charge
SafetyNet Patch (Bypass bootloader unlocked check)
Dynamic Fsync control
a little Overclock
Motorola Quickwake
Extended battery charge time from 30s to 100s
Link will still redirect to R7 , androidfilehost is conducting a server maintenance. Once completed I'll upload R8 to the usual file location!
EDIT: STOCK R8 has been uploaded. Again, keep in mind this release is not fully compatible with 7.1.1 it breaks NFC, until we get an updated source it will remain as is.
Happy Flashing!
jimbo77 said:
Link will still redirect to R7 , androidfilehost is conducting a server maintenance. Once completed I'll upload R8 to the usual file location!
EDIT: STOCK R8 has been uploaded. Again, keep in mind this release is not fully compatible with 7.1.1 it breaks NFC, until we get an updated source it will remain as is.
Happy Flashing!
Click to expand...
Click to collapse
Sorry, no download file as of 4:49PDT
amphi66 said:
Sorry, no download file as of 4:49PDT
Click to expand...
Click to collapse
Yeah i'm sorry, i had to take it down. Forgot to add the exfat module and that breaks SDCard support. Will work on this tomorrow morning and will reupload then. For now R7 is there
So this is a kernel for the stock firmware?? I have b19 unfortunately so I can't test, 1 thing I surely want you to add on the b19 version if you make one, aside from all these cool features is f2fs support please make it happen.
Sebastian Fox said:
So this is a kernel for the stock firmware?? I have b19 unfortunately so I can't test, 1 thing I surely want you to add on the b19 version if you make one, aside from all these cool features is f2fs support please make it happen.
Click to expand...
Click to collapse
This works for the B19, only issue is that it breaks NFC. Other than that it works great
jimbo77 said:
This works for the B19, only issue is that it breaks NFC. Other than that it works great
Click to expand...
Click to collapse
I'll give it a try as well as freeza kernel, let's see about f2fs
Sebastian Fox said:
I'll give it a try as well as freeza kernel, let's see about f2fs
Click to expand...
Click to collapse
F2fs is not yet included. I'll see about it this weekend or next week
jimbo77 said:
F2fs is not yet included. I'll see about it this weekend or next week
Click to expand...
Click to collapse
Dang it >_> then freeza is my only solution for now
In case if you're interested about why I'm asking for f2fs, I am doing so to dualboot my stock b19 using @sbr method , unfortunately stock is ext4 and secondary can't be f2fs because it takes part in data, both either have to be f2fs or ext4
it's a bit complicated >_>
jimbo77 said:
F2fs is not yet included. I'll see about it this weekend or next week
Click to expand...
Click to collapse
Why is f2fs so important to people. Back in the day, yes, it was an improvement in speed. Now, with today's storage speeds, it's performance is negligible yet people still demand for it. Doesn't it just complaints things now?
Sent from my ZTE A2017U using Tapatalk
osmosizzz said:
Why is f2fs so important to people. Back in the day, yes, it was an improvement in speed. Now, with today's storage speeds, it's performance is negligible yet people still demand for it. Doesn't it just complaints things now?
Sent from my ZTE A2017U using Tapatalk
Click to expand...
Click to collapse
Exactly what I was thinking too.
Feeling the same. It won't hurt to have support tough. I'll try to add it but I'm afraid it could break the anykernel aprox ah since the support needs to be added Ramdisk wise and for that I'll need to move away from the current kernel approach.
I'll take a look at the lazy flasher scripts from jcadduono to check if I can patch whatever Ramdisk user has
Finished the R8 build... It was a PITA to fix find the fix for SDCARD issue (it was kinda silly what was breaking it lol). Also updated WLAN driver to CAF LA.UM.5.5.r1-03800-8x96.0 version published yesterday and fixed the damn NFC in 7.1.1 builds (this most likely break NFC in 7.0 builds). I'm sorry if you are still in 7.0 and need NFC, move on! ..
I'll push the update once android file host is out of maintenance (around 30 mins from now).
As to F2FS i have enabled the driver in the kernel and stock ramdisk supports data as F2FS so i'm assuming it should work. Although i don't use so if it doesn't i won't fix it
EDIT: LINK IS UP!
I'm not sure if I'm just blind, but I cannot find the link anywhere
EDIT: The file is there, found it in AFH over LOS version's thread. It's here: link removed
EDIT 2: Ok apparently it's in OP and I am blind...
Borias said:
I'm not sure if I'm just blind, but I cannot find the link anywhere
EDIT: The file is there, found it in AFH over LOS version's thread. It's here: link removed
EDIT 2: Ok apparently it's in OP and I am blind...
Click to expand...
Click to collapse
LOL. That's what I was gonna say haha I'm glad you find it
sorry if this is the wrong place to ask but, where can i find the stock kernel that comes with the phone?
pookachee said:
sorry if this is the wrong place to ask but, where can i find the stock kernel that comes with the phone?
Click to expand...
Click to collapse
Download the bootstack of the firmware you have and flash it.
https://forum.xda-developers.com/ax...de-updates-to-stock-files-via-t3469484/page53
So does the stock version suffer from video playback issue like freeza's kernal?

[KERNEL] Nebula OOS/AOSP: (OP 6 & 6T) Latest on TG, Or Official Latest on sourceforge

{
"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"
}
Changelogs​
18.0.3: Fixed HBM mode switch, a few other small fixes, and improvements.
Qcacld now uses a profile system ported from CAF's qcacld-3.0 msm8996.
18.0.0: Updated Touchscreen & FP, Changed name of Zip Name, Latest OP sources with 4.9.159:
17.1.0: Built 100% CLANG: Last official for the 4.9.158 series.
17.0.2: Rebased whole new kernel, Updated commits, Build Fully With Clang 9 'DragonTC'.
16.8.3: Reformated code style, For faster optimized code, Now built with POLLY Thanks to @xanaxdroid
Reworked FP. Removed some unneeded TCP CONGS and some debugging code.
16.8.0: Removed most debugging stuff, toned down FP, updated a few other areas.
16.7.0: Fixed the data corruption issue, reworked some things. Calmed down CPU, Pocket Protection works again.
16.6.0: Rebuilt from previous edition. Smoother and faster.
16.4.0: Rebuilt from scratch under fresh new source.
16.3.0: This kernel is being released as is, I made many many changes, I would take heed
when installing this kernel, keep an eye on it. Some things I am not very happy about.
(Then why release? Because I need to make sure its not just me.)
16.1.9: Re-based Kernel, made some cosmetic changes, also reworked defconfig,
Gesture Controls for AOSP based ROMs, will not work, But OOS it will.
WiFi has been tested to work on .10 but many have complained that it will
only work when they upgrade to .11 (Keep this in mind when you report problem)
16.5.0: Both Stock and Custom AOSP Gestures work, (depending on your ROM)
16.1.0: New Download Location added: Also, this is probably my best release yet.
qcacld-3.0 is now compiled inline with Kernel.
Attention​
This is strictly created for OOS, but it has been tested on Custom AOSP based ROMs,
on AOSP, everything works, But WiFi and Gestures, (WiFi uses stock WLAN module) (Gestures, need the API, I never added yet)
One day I will add that in the near future if people on AOSP based ROMs request so.
Compilers Used​
Clang Compiler: DragonTC 9.x Compiled by me w/Polly
GCC Compiler: Uber 9.x <-- We build w/100% CLANG.
Features​
Linux 4.9.159 (w/latest OP/Linux)
CAF: LA.UM.7.3.r1-06700-sdm845.0
Linker: CLANG_LD <-- Yeah thats right, 100% CLANG
Makefile: Optimized to use POLLY
SafeStack (Disabled for now)
qcacld-3.0: (Compiled inline with Kernel)
CPU (New Overclocked Freq Table) (Added: 838mhz and 767mhz) By @pappschlumpf of SmurfKernel (Doesnt work as expected)
GPU (w/Overclock Freqs 767, 838)
AUDIT (Disabled) <Better Performance>
PROC_STRIPPED (Enabled)
Memory Compaction (Disabled)
DEBUG_ALIGN_RODATA (Enabled) <Better Performance>
FRAME_POINTER (Disabled) <Better Performance>
OPTIMIZE_INLINING (Enabled) <Better Performance>
gcma Guaranteed Contiguous Memory Allocator (default)
Simple Low Memory Killer By @Sultan (seems to work) (Causes Camera Issues)
CPU Input Boost By @sultan (Updated)
DevFreq Boost By @Sultan (Updated)
KLapse V4.0 - A kernel level livedisplay module by @tanish2k09
HZ=1000 (This is for now)
Memory Optimizations
Frame Pointers Disabled
Adreno Booster 2.2 By @tbalden
KCAL Color Control
Sound Control (w/gain Controls)
Touch Boost (W/Dynamic SchedTune Boost)
Boeffla WakeLock Blocker (v1.10)
Backlight Minimun Brightness (int)
High Brightness Mode (On/Off)
Override System VIB Settings (On/Off)
OnePlus Gesture Vibration (On/Off)
USB Fast Charge (On/Off)
Notification LED Fade/Speed/Intensity (On/Off)
Notification Vibration
Call Vibration
Sweet2Sleep Vibration​
Available Gestures​
Double Tap To wake
Sweep To Wake
OnePlus Gesture Vibration
Sweep To Sleep
Available IO/Scheds​
noop
anxiety
deadline
cfq (default)
fiops
sio
zen
maple
bfq
Available TCP Congestion Algorithms​
agilesd
westwood (default)
cubic
vegas
sociopath
Downloads​
OnePlus 6-6T (Nebula)
Links to my other Nebula Kernel Threads​
Nebula Telegram Group
OnePlus 6T Nebula Kernel Thread
OnePlus 6 Nebula Kernel Thread
XDA:DevDB Information
OnePlus 6/6T Nebula Kernel, Kernel for the OnePlus 6T
Contributors
Eliminater74, theknux
Source Code: https://gitlab.com/devoneplus/android-linux-stable-op6t_20190222/tree/oneplus/SDM845_P_9.0_CAF_WIP_20190224
Kernel Special Features:
Version Information
Status: Stable
Created 2018-12-08
Last Updated 2019-02-27
Reserved......
reserved b
??
Patiently waiting for OC.
Hello, nice to see you here.
Man I love to see new development.. patiently waiting on this one.thank you
dennisbednarz said:
Patiently waiting for OC.
Click to expand...
Click to collapse
The chances of OverClocking CPU is 49%, I know I can do it.
but it overwrites the max top freq, rather then add a new freq step..
Code:
if (i >= 27) { // the overclocked freq 2956800
src = 1;
div = 0;
lval = 154;
core_count = 1;
}
<-- This is supposed to see last main freq setting, which in this case is 27 steps,
Code:
struct osm_entry perf_ex = {
.lval = 154,
.ccount = 1,
.frequency = 2956800000,
.virtual_corner = 28,
.open_loop_volt = 1098,
};
<-- This creates the new step, or at least supposed too....
But problem is this, we dont have 27 steps, we only have 24, and looking at the dts file for the sdm845-2.dtsi, it shows a hell of alot more freq's up to 3.4ghrz.......
But I dont see our freq steps anywhere.. as some know, the TrustZone handles all the VDD and Voltage restrictions.. But the Table should still be listed..
But its not the correct table that we use..........
But good news is, I know our CPU can handle 3.4ghrz.. its even written in the dts settings already by default.........
But give me time and ill figure something out, I sent Email to the Original Author of the CPU OC Hack above... waiting to see what he says, he removed it from all his kernels, and another person that tried it
also removed it.. so I wanted to find out why..
I honestly don't think we really need OC on this phone, just my opinion though. The phone is already blazing fast especially with the OnePlus Labratory Boost Mode. I'd rather have Nebula be a stable, balanced/performance based kernel like the OP's previous kernels rather than have it packed full of features that don't really do much.
Stoked. I knew our planets would align again. Haven't been able to use your work since the G3 days.
Eliminater74 said:
The chances of OverClocking CPU is 49%, I know I can do it.
but it overwrites the max top freq, rather then add a new freq step..
<-- This is supposed to see last main freq setting, which in this case is 27 steps,
<-- This creates the new step, or at least supposed too....
But problem is this, we dont have 27 steps, we only have 24, and looking at the dts file for the sdm845-2.dtsi, it shows a hell of alot more freq's up to 3.4ghrz.......
But I dont see our freq steps anywhere.. as some know, the TrustZone handles all the VDD and Voltage restrictions.. But the Table should still be listed..
But its not the correct table that we use..........
But good news is, I know our CPU can handle 3.4ghrz.. its even written in the dts settings already by default.........
But give me time and ill figure something out, I sent Email to the Original Author of the CPU OC Hack above... waiting to see what he says, he removed it from all his kernels, and another person that tried it
also removed it.. so I wanted to find out why..
Click to expand...
Click to collapse
Now, see, you used s lot of words I do not understand. I'm mostly into userland stuff
Wouldn't overwriting the max top freq just modify the highest step to use that as the maximum frequency available for the CPU? Sure, this would cause the system to randomly jump between the next highest step and possibly 3.4GHz but it's a good start.
@Eliminater74 Good to see you on this device been awhile since I used Nebula..
dennisbednarz said:
Now, see, you used s lot of words I do not understand. I'm mostly into userland stuff
Wouldn't overwriting the max top freq just modify the highest step to use that as the maximum frequency available for the CPU? Sure, this would cause the system to randomly jump between the next highest step and possibly 3.4GHz but it's a good start.
Click to expand...
Click to collapse
Yeah I can do it.. but between 2.6 and 2.9 is a huge step, just as 2.6 and 3.4 which is what your talking about...........
the freq that gets overwritten is the 2.8...........
I am working on trying to figure out the deal with it.. as I said, its supposed to add a step which would be the 2.9 above the 2.8, but it didnt.
what it did was take the 2.8 and changed it to 2.9...... I could change the 2.8 to anything really.. even 3.4 ....... but again....... its a dirty hack that I dont feel right with......
Eliminater74 said:
Yeah I can do it.. but between 2.6 and 2.9 is a huge step, just as 2.6 and 3.4 which is what your talking about...........
the freq that gets overwritten is the 2.8...........
I am working on trying to figure out the deal with it.. as I said, its supposed to add a step which would be the 2.9 above the 2.8, but it didnt.
what it did was take the 2.8 and changed it to 2.9...... I could change the 2.8 to anything really.. even 3.4 ....... but again....... its a dirty hack that I dont feel right with......
Click to expand...
Click to collapse
I'm personally just interested in 2.96 so RoG phone users can't bully me anymore
Trying to flash this and it said
unpacking ram disk failed aborting
Update process failed with error: 1
Error installing zip file
Tried uploading a screenshot but to wouldn't let me did I flash it wrong or something or is this a bug
DarkNeo253 said:
Trying to flash this and it said
unpacking ram disk failed aborting
Update process failed with error: 1
Error installing zip file
Tried uploading a screenshot but to wouldn't let me did I flash it wrong or something or is this a bug
Click to expand...
Click to collapse
Using twrp?
zplit said:
Using twrp?
Click to expand...
Click to collapse
ya
@Eliminater74 I don't know if this is a bad question in terms of ones work being separate from another, but have you talked to pappschlumpf about the OC?
Causical said:
@Eliminater74 I don't know if this is a bad question in terms of ones work being separate from another, but have you talked to pappschlumpf about the OC?
Click to expand...
Click to collapse
Yes, they have both talked already. Just have to sit back and wait...
hey @Eliminater74
great to see nebula rise again! I wish you the best of luck for this project!
Also replied in slack to you

Categories

Resources