FORUMS
Remove All Ads from XDA

[KERNEL][ALL VARIANTS][Oreo][1.0] ArtxLite Kernel for Lineage and AOSP ROMs + Extra

284 posts
Thanks Meter: 1,013
 
Post Reply Email Thread
Announcement from Stayn: First Oreo Custom Kernel up!





Quote:

Welcome again! This is a Re-work of the Artx Kernel now working on Oreo! G3X Ultimate Kernel will be released replaced with ArtxUltra AnyKernel Installer. Like I said this is a Re-Work of the Original Kernel so, it's compiled with a more optimized Toolchain (GCC) and works better than before, just give it a try and you'll know of what I'm talking about...




CPU Input Boost
Multicore Power Saving
GPU: simple_ondemand fixed
kcal v2 color control
Sound control
Arch Power and Gentle Fair Sleepers
Krait C-States settings
Fsync control
init.d Support
Synapse support
Cpufreq.c Optimizations
Speed up boot
Exposed PVS Level via Sysfs
2-Way Stereo Call Recording
A lot of optimizations
Battery optimizations
State Notifier
Per-CPU Core boost
Hotplug Boost
Fastcharge Support
Powersuspend, Adreno idler
3x faster integer sqrp
cpufreq optimizations
Upstramed patches from 3.10.y kernel
Simple thermal driver
Frandom Support
GPU 27Mhz
Backlight min and max tweaked

----------
I highly recommend to flash my kernel with the lastest TWRP by @Hardstyl3r
----------



ArtxLite for Oreo only:

AnyKernel Installer:
MEGA

Extras:

ArtxUltra for Nougat Only:

AnyKernel Installer:
MEGA

KernelAdiutor:

Kernel Adiutor
Please change the theme to dark! (White its bugged )

LineageStock Kernel for Oreo (And Nougat soon):

Did you installed my Kernel or other Kernel and you just want to go
back to the stock Kernel your ROM had before? This is for you, flash
this and you'll get rid of your custom kernel

LineageStock Kernel

All my work:

My Development Folder



Wanna join a LG G3 Development Telegram group? Any User or Developer is welcome!!
If you have any question or you need help, get in! (let me know if the link is broken )





- Oreo ROM's (ArtxLite & LineageStock)
- Nougat ROM's (ArtxUltra)



@cesarandres_8911, @savoca, @faux123, LineageOS Team, @osm0sis, @frap129
@Feinzer, LG, @matthewdalex, @Andrei F, @yarpiin, @Robshr, @amarullz,
@Hardstyl3r, @ZjemCiKolege and me
Thanks @Francois Amom for his amazing logo design
If anyone is missing here PM me

I'll be updating these kernels until I've pulished every feature and code
If you like the kernel and want to do a small donation it for sure gonna help me a lot and keep me motivated!
Thank you and enjoy it!



XDA:DevDB Information
ArtxKernel for Oreo, Kernel for the LG G3

Contributors
Stayn
Source Code: https://github.com/Artx-II/ultra_kernel_lge_g3

Kernel Special Features:

Version Information
Status: Stable
Current Stable Version: v1.0
Stable Release Date: 2018-07-31

Created 2017-10-24
Last Updated 2018-07-31
The Following 29 Users Say Thank You to Stayn For This Useful Post: [ View ] Gift Stayn Ad-Free
24th October 2017, 07:50 PM |#2  
Stayn's Avatar
OP Senior Member
Flag Barquisimeto
Thanks Meter: 1,013
 
Donate to Me
More
Changelog!

Artx Kernel:

Code:
* 6.0
- Based on LineageOS Oreo
- Fixed all perfomance related issues
- Cleaned source
- Replaced Thermal control with Simple Thermal Driver
- Fixed Fastcharge
- Added Voltage Control
- Added Custom Kernel Adiutor Solution with FastCharge Controls

* Also available for Nougat *

v5.0
- Added MSM_Limiter
- Gentle fair sleepers and Arch power added
- Overload of Governors!
- Added Artx Governor
- Lots of optimizations
- Battery optimizations

v4.0
- Reverted some v3.0 changes
- Disabled a lot of useless Debug options 
- General optimizations

v3.1
- Fixed huge battery drain
- Removed fastcharge till the next release

v3.0
- Added MSM, Alucard, Bricked, Intelli and AutpSMP Hotplugs
- Backlight min and max tweaked
- 27Mhz GPU
- Boosted GPU Freq a bit
- Frandom support
- Simplified thermal driver
- Upstramed kernel 3.10.y patches to cpufreq
- fsync changes
- 3x faster integer sqrt
- other optimizations for battery life and perfomance

v2.1
- Fixed random freezes (Updated RAM Management)
- Stability fixes
- Spectrum Support + App is now optional

v2.0
- Add State notifier
- Added Schedulers: Tripndroid, Fiops, Sio, VR, Maple, Zen, Fifo
- Added Simple GPU Algorithm + Adreno Idler
- Added Powersuspend
- Fastcharge Support   
- Per-Core CPU Boost
- Hotplug Boost

v1.0
- Initial Stable release
G3X Ultimate Kernel R.I.P.

Code:
v1.0
- Initial stable release
Kernel goals:

- Re add all governors, schedulers and TPC algorithms!
- Add intellithermal
- Add Per-CPU Boost, hotplug boost and wakeup boost
- FastCharge
- MSM_Limiter
- Look again into Voltage control feature and try to re-add it!
- Adreno Idler and Simple GPU Algorithm
- All the hotplugs
- State Notifier
- Frandom
- Brightness control
- And a lot of optimizations!

Features Guide:

CPU:

- Governors: Read this
- CPU Booost: Boost your CPU Frequency on screen touch event, my kernel has per-core touch boost frequency so you can configure how many CPU's will be boosted at your preferred frequency.
- Hotplug Boost: When a Core is plugged, it gets boosted a little

Thermal:

- Core control: Enable and disable throttling, this enables the thermal engine and enable VDD restriction and core throttle. Be careful with this because an excesive overheat can reduce the device life time (and battery)
- VDD Restriction: Limits CPU voltage, limiting it will decrease temperature
- Core Throttle: Throttles CPU when enabled, this decrease CPU frequency to a lower step when it reaches a specified temperature

GPU:

- Gaming mode: The GPU will be always at maximun avalible frequency (Not always at 578Mhz because thermal engine can throttle the frequency)
- Simple GPU Algorithm: Like the name say, is a simple GPU Governor that works like simple_ondemand, I recommend more Adreno Idler
- Adreno Idler: Please read this

Don't enable Simple GPU and Adreno Idler together, this can result in a bad GPU Managament and it can generates overheat, also, those two algorithms only works on the "msm-adreno-tz" GPU governor

Screen:

- You should know how to config it at your liking

Sound:

- My kernel uses Faux123 sound control, you can set independent headphone gain that's a kernel level sound gain, so, this will not distortion your audio until you put a very high value.

Battery:

- Fastcharge: Forces Fast charging (This can reduce your battery life)
- Arch Power: Enable or disable some Arch especific power funcions for battery saving
- PowerSuspend Mode: I didn't found information about this but I know that the best option is "Hybrid"
- State Notifier: This driver notifies screen events (when you touch it). It works with Maple scheduler (You need to enable this if you're going to use Maple) and other kernel things.
- Krait C-States: Power saving settings, I recommend to disable only "C1 (Retention)" because if can cause screen flickering and slow the phone wakeup.

I/O Scheduler:

- Scheduler: Read this
- Read-ahead: The Re-ahead value on the phone memory, because the device memory is very fast, it should be at 128kB, for SDCards that are a lot more slow a good value is 1024kB or 2048kB
- Rotational storage: Treat device as rotational storage, like HDD Hard drivers, just leave it disabled, we don't need it
- Add Random: In some cases, the overhead of I/O events contributing to the entropy pool for /dev/random is measurable. In such cases, it may be desirable to set this value to 0
- I/O Stats: Like the name says, it maintains I/O statistics, if you disable it, memory monitoring apps will not work. (I don't need this so I disabled it)
- RQ Affinity: Try to have scheduler request complete on the CPU core they were made from. This can be a power saving feature

Kernel Samepage Merging:

Don't touch this if you don't know what you're doing

Low Memory Killer:

- Adaptive Low Memory Killer: Keep this feature enabled because it'll save you from random freezes (It makes Low Memory Killer aggresive dynamically when a thrashing scenario is detected)
- Low Memory Killer profile: "Agressive" is recommended, if you think that it'll close all your apps you're wrong, we've 3GB of RAM and these are the settings:
* Foreground Applications: 4MB
* Visible Applications: 8MB
* Secondary Server: 16MB
* Hidden Applications: 32MB
* Content Providers: 48MB
* Empty Applications: 64MB

Virtual Memory:

Every detail about this settings are well explained in Kernel Adiutor, but in general there's no need to touch this

Misc:

- Android logging: Disabling this can improve your phone a bit (It's not noticeable)
- Software CRC Control: Is a driver that prevents data corruptions but data blocks can lose up to 30% of perfomance, you can safely turn it off
- FSync: The kernel provides system calls for syncing single files and filesystems which flush the corresponding file buffers to storage. Disabling FSync reduces the number of I/O Opetaions which can improve the responsiveness of the device and reduce battery drain. However, disabling it increases the risk of data loss on a crash/freeze.

If your ROM with my kernel is very stable, you can safely turn off FSync and if you're on f2fs filesystem NEVER turn it off because you gonna have to format EVERYTHING if the data gets corrupt by a crash/freeze

You can always recover your phone in case of data corrupt if you're on ext4 filesystem with TWRP, in wiping section -> select which partitions to wipe -> select one and press on partition settings or more settings.


This is all for now! I'll explain each new feature that I introduce in my kernel here, thanks for reading and I happy twaking!


Spectrum Guide:

Spectrum Kernel Manager!! Thanks to @frap129!!

This amazing app let you select between 4 profiles, Battery, Balanced, Perfomance and Gaming,
all of these configured by me:

Battery: I've set various battery savings configs here, it's designed for the best battery savings and if you don't care about UI lags then this is for you

Balanced: As its name says, a very good balanced profile that evit UI Lags and the battery keeps still awesome, you can use this profile to run games without getting your phone overheating

Perfomance: This is not a pure Perfomance profile like others that simply puts your governor in "Perfomance" and things like that, this profile keeps all the UI Smoothness anytime and it doesn't drains the battery, if you're very UI Lag sensitive then this is your profile. Recommended

Gaming: Pure perfomance, play any game with this profile at maximum power, this profile keeps the FPS constants with blu_active governor, if you don't care about battery life or overheating and just want to play games then this is for you

Also, All this profiles are customizable, look at your internal storage ~/Spectrum/profiles/ folder, there's 4 files for each profile. If you don't wanna mess with all the kernel features then I highly recommend to you Spectrum!
The Following 15 Users Say Thank You to Stayn For This Useful Post: [ View ] Gift Stayn Ad-Free
24th October 2017, 07:50 PM |#3  
Stayn's Avatar
OP Senior Member
Flag Barquisimeto
Thanks Meter: 1,013
 
Donate to Me
More
Finally guys! We're updating our G3's!

All of my progress from the begginning to now and the future ones, has been made with my Virtual Machine in the cloud, but I'm running out of credit and I can't develop on my computer.

I'll apreciate a lot if someone can donate to me to keep this project for all our G3's alive, thanks you
The Following 11 Users Say Thank You to Stayn For This Useful Post: [ View ] Gift Stayn Ad-Free
24th October 2017, 07:59 PM |#4  
HardStyl3r's Avatar
Senior Member
Flag Łódź
Thanks Meter: 2,872
 
Donate to Me
More
Thanks for updating the kernel so I could include it in my LineageOS builds!
The Following User Says Thank You to HardStyl3r For This Useful Post: [ View ] Gift HardStyl3r Ad-Free
24th October 2017, 08:05 PM |#5  
Senior Member
Thanks Meter: 103
 
More
flashed over 10.23 oreo's build from HardStyl3r on d855, and yes you need to flash mr.bump (got a black screen after aroma setup)

edit: damn, its faaassstt!!!

Thanks!
The Following 2 Users Say Thank You to odjinan For This Useful Post: [ View ] Gift odjinan Ad-Free
24th October 2017, 09:18 PM |#6  
Stayn's Avatar
OP Senior Member
Flag Barquisimeto
Thanks Meter: 1,013
 
Donate to Me
More
Quote:
Originally Posted by odjinan

flashed over 10.23 oreo's build from HardStyl3r on d855, and yes you need to flash mr.bump (got a black screen after aroma setup)

edit: damn, its faaassstt!!!

Thanks!

I'm glad to hear that
The Following 3 Users Say Thank You to Stayn For This Useful Post: [ View ] Gift Stayn Ad-Free
24th October 2017, 10:21 PM |#7  
Member
Flag Vienna
Thanks Meter: 36
 
More
First: Thank you for this fast Kernel.

But I encountered a Problem with the external SD card. After installing this new ArtX Kernel, a Notification about a defect SD appeared, it was rendered unusable, unless formatted. That's not true as other Kernels (stock AEX, stock crDroid, stock RRmx) have no Problem with it.

As I don't want to backup all my data (about 90 gigs, as it is a 128gb card), format and recover it, it's a deal-breaker for me.

My suspicion is that the exFAT filesystem isn't implemented, as an old 64gb card formatted as vfat was accepted without problems.

Is there a solution on the horizon?

PS I don't remember the "old" ArtX Kernel having a Problem with this card, but the G3X having one, if that's any help at all.

Thanks in advance.

Addendum: As reverting back to stock AEX Kernel solved the problem, it is definitely Kernel related.
The Following User Says Thank You to grushnickij For This Useful Post: [ View ] Gift grushnickij Ad-Free
24th October 2017, 10:25 PM |#8  
Stayn's Avatar
OP Senior Member
Flag Barquisimeto
Thanks Meter: 1,013
 
Donate to Me
More
Quote:
Originally Posted by grushnickij

First: Thank you for this fast Kernel.

But I encountered a Problem with the external SD card. After installing this new ArtX Kernel, a Notification about a defect SD appeared, it was rendered unusable, unless formatted. That's not true as other Kernels (stock AEX, stock crDroid, stock RRmx) have no Problem with it.

As I don't want to backup all my data (about 90 gigs, as it is a 128gb card), format and recover it, it's a deal-breaker for me.

My suspicion is that the exFAT filesystem isn't implemented, as an old 64gb card formatted as vfat was accepted without problems.

Is there a solution on the horizon?

PS I don't remember the "old" ArtX Kernel having a Problem with this card, but the G3X having one, if that's any help at all.

Thanks in advance.

Addendum: As reverting back to stock AEX Kernel solved the problem, it is definitely Kernel related.

I'll look into that and fix it for the next build
The Following 2 Users Say Thank You to Stayn For This Useful Post: [ View ] Gift Stayn Ad-Free
24th October 2017, 11:27 PM |#9  
Member
Flag Vienna
Thanks Meter: 36
 
More
Thank you for the prompt answer/promise😀! Looking forward to using (i.e. enjoying😉) ArtX again!
25th October 2017, 01:45 AM |#10  
Senior Member
Thanks Meter: 135
 
More
Tried flashing D850 with straight lineage OS, got a blinking red/blue light.

ROM, Kernel, Magisk 14.
25th October 2017, 02:20 AM |#11  
Senior Member
Thanks Meter: 63
 
More
Quote:
Originally Posted by eric93se

Tried flashing D850 with straight lineage OS, got a blinking red/blue light.

ROM, Kernel, Magisk 14.

and (mr) Bump.
The Following User Says Thank You to fOxunO For This Useful Post: [ View ] Gift fOxunO Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes