yashsingh1/xdaforums huggingface dataset:
[G3 Android Development] souler456:
Ok... As promised, here's my re-tweaked setup from this setup...

CPU Tab Setup

Max Frequency: 2256mhz

Min Frequency: 300mhz

Suspend Max Frequency: 1497mhz

CPU Governor: Slim

Mulitcore Power Saving: Disabled

Scheduled Workqueues: Toggled ON

Interval: 0ms

Sync Threshold: Disabled

Interval: 40ms

Input Boost Frequency: 1036mhz

CPU Governor Tunables

down_differential: 5

gboost: 1

(make "gboost: 0" if you're not playing games or not always on graphic-intensive situations)

input_event_min_freq: 1497600,1190400,1190400,1190400

input_event_timeout: 250

optimal_freq: 1497600

sampling_rate: 30000

sync_freq: 1267200

two_phase_freq: 1497600,1497600,1497600,1497600

ui_sampling_rate: 30000

up_threshold: 80

up_threshold_any_cpu_load: 90

up_threshold_multi_core: 90

CPU Voltage

Make it -50 for the Global Offset. Reduce voltage offset if you experience reboots. Safe side is -25.

CPU Hotplug

Alucard: Enabled

Min CPU Online: 1

Max Cores Screen Off: 2

Thermal

Intellithermal: Enabled

Frequency Throttle Temperature: 75C

GPU

Max Frequency: 578mhz

Laziness: 6

Ramp Threshold: 3

Adreno Idler: Enabled

Down Differential: 60

Idle Wait: 10

Workload: 5

Screen (optional)

R - 242

G - 247

B - 256

Min RGB Value - 35

Saturation: 48

Screen Hue - 24

Screen Value - 128

Screen Contrast - 132

I/O Scheduler

Internal Storage

Scheduler: sio

Read-ahead Value: 1024kB

SIO Tuneables

async_read_expire: 400

async_write_expire: 4000

fifo_batch: 32

sync_read_expire: 200

sync_write_expire: 2000

writes_starved: 2

External Storage

Scheduler: tripndroid

Read-ahead Value: 512kB

Rotational Storage: OFF

Add Random: OFF

I/O Stats: ON

RQ Affinity: 1

It's still on testing phase, so critisizing it are always welcome. :D

I am using Intellithermal, so you have to disable your ROM's thermal engine, and to do it, just type:

su<enter>stop thermal-engine

And re-toggle intellithermal on KA, and screen-off the phone for a couple of seconds, maybe 5 or so. You have to do it everytime you reboot since it won't stick after reboot.

I also made some Slim tunables more responsive, also added my I/O scheduler setup, and since Alucard Hotplug is quite used here on this kernel, I started using it as well, with some hotplugging modifications on it's tuneables to only use single core on minimal tasks as possible via my alucard hotplug mod script... ( Thus, naming the script ahms, for short. I know. I suck at naming games. :eek: )

Download the zip below, extract it, put it on the root of your sdcard, run it as root via terminal emulator, then run sh /sdcard/ahms. I also added a function where you can save my custom alucard setup as boot, so no more asking me for boot script if you want to save the setup at boot. If something's wrong with the script just tell me, and I'll fix it. :good:

:D :) ;) :good:
[G3 Android Development] Alukrad:
I'll share my settings in a few days. Tweaking some stuff for better scrolling with the least power cutdown and still making 4.5-5 hours. I'm so close lol

EDIT: Also getting a smartwatch soon so I'm making it Bluetooth friendly settings as much as possible. The excitement continues to build up o.o
[G3 Android Development] souler456:
Sharing is caring. As kids say... :D

:D :) ;) :good:
[G3 Android Development] foxtaur:
So I finally got acc kernel 1.5 to run properly, used latest Xenon rom + latest banks gapps. The truth is I went back to EXT4 for /data and /cache and discovered lagginess is gone. I mean what gives? Is this the sorta scenario where if I opt in for F2FS I trade sequential write speeds for better random writes?!!!

My main scheduler is FIOPS and ZEN for the micro sd card(sand disk ultra)

Running TRIMMER app in background

All I can say is definetly noticed improved UI speeds, especially since I love running my pixel fleet and space battle live wallpapers. No slow down either.

Tell me guys whats your configuration for the scheduler and whether or not you use EXT4 or F2FS for your cache and data partitions
[G3 Android Development] Emu:
hi! :D

1. Since Android 4.3, Android has a built-in trim program that will run whenever the phone has been on idle for a longer period of time. So you don't need an trim programs.

2. I don't touch F2FS or EXT4. I go with whatever the ROM comes with. Running Bliss Pop which often already has the bleeding edge settings and my own only make things slower.

3. I run the Alcuard setting that aCC comes with. Me and alukrad have been lobbying to make it the standard and for a good reason. I have tried anything else and this is by far the smoothest governor I could find. Especially since this recent update. Disabled Multicore power saving but enabled scheduling workqueres on awake CPUs. Enabled fast charging. Also running only one hotplug: Alucard. Now here is where thing get interesting. Under Hotplug I set the min CPU online to 2 and Max CPU online to 2. So I always have two CPUs on at all times. Only have 1 CPU on when screen is off. No GPU messing. It gives me a lot of conflicts and thus lag.

Regarding I/O schedulers:

Internal storage

Scheduler: tripndroid

Read ahead: 128 kb

External storage

Scheduler: zen

Read ahead: 2048 kb

After running benchmarks and reading a lot of stuff on I/O schedulers on the internet that's the best setting I have found for my phone (D-851).
[G3 Android Development] foxytaur:
Fair point, I really dont want to part with msm limiter and by far nebula was king with that hotplug. Heres the dealio, that kernel ran without any issues on higher PVS revision mainboard #'s.

Cranking up the clockspeed and lowering the voltage has been the holy grail on higher PVS mobos.

I really miss CYAN governor with my games and would often set it for CPU0 and rest of CPU's on alucard.

I do emphasize the GPU to be cranked to 700Mhz but limit the CPU to slower clock speeds. Most of the g3's issues seem to stem from the CPU getting too hot.(Don't believe me?, Slap on some arctic silver ^v^) and I have high hopes for this kernel, dont get me wrong, its no slouch but I really do miss nebula and await what future nebula2e builds hold for our devices.

I like acc kernel, dont get me wrong, it tries to be a jack of all trades(at least thats how I feel about it) and thats not a bad vision for it either.

NB = If I said anything ill about this kernel please I meant no harm. Im trying to be as unbiased as I can. I understand every dev has a vision in mind for what there kernels will and wont be able to do. And regarding TRIM app, I find on android it doesnt run nearly as much as I'd like it to so hence why I have it enabled
[G3 Android Development] Emu:
I came here from Nebula too. It's been downhill since the switch to caf. This will do. You know more about this than me though. I've never messed with voltages before not to mention assigning different governors to different cores.
[G3 Android Development] Meneldur:
I'll try this kernel again when flashing new CM13 nightlies, with tweaks from latest posts. My first 4 days with Acc were disappointing on the battery dept, with 10-13%/h and less than 2 h SOT using many governors and settings.

Mnldr/D855/16G/CM13
[G3 Android Development] foxtaur:
Give it some time, Eliminator said he never gave up on The g3, he's just has it on idle cuz he's focused on lg v10. He'll come back soonish I hope. It doesn't help one bit the babies at the v10 camp whined to the point of the dev retreating into his batcave (haha that was a funny). Hell be back. Just don't whine guys. He'll make a come back.

I have a speed step 3 PVS 6 device. WISH my device were a PVS 9 but that's luck of the draw. I'm afraid of jumping onto the v10 this soon. Those kiddies are out there in full demand for custom everything. Geesh guys, are we forgetting we don't have pay these devs for their contributions? Give it a rest
[G3 Android Development] foxtaur:
wanted to add another weird thing, I have a slimport nano console for the g3 and somehow after installing acc kernel 1.5 with latest turborom the slimport conection works when I first boot it up, but afterwards it stops working after a second reboot. What gives?

I've had nothing but slimport issues on this device(d852)
[G3 Android Development] Alukrad:
Not sure, never used nano console since I've not had a need for it...I've so far had zero issues with the kernel as a daily driver since day one. Which is what this is meant for. Stable everyday use
[G3 Android Development] foxtaur:
Well I finally found a rom that very decent. Good old Vanir, you work really well with gapps,xposed ,slimport and I may be onto something regarding the lagging issues. I think wakelocks play a big part with both rom and kernel interaction
[G3 Android Development] Alukrad:
Try Dirty Unicorns bro.
[G3 Android Development] foxtaur:
Umm one little problem with that, they don't make one for the d852 units so i'm **** outta luck bro
[G3 Android Development] EternalFlame:
CandySix works also very good with this kernel, CS has almost the same features as DU too except pulse and layers instead of CMTE, oh and for those who had the GPU thermal problem, i think i found the cultprit, at least that fixed it for me, i disabled "Core Control" and just enabled "Intellithermal".
[G3 Android Development] Meneldur:
Sadly, this config brings random reboots for me [emoji22]

Mnldr/D855/16G/CM13
[G3 Android Development] Andrewoidd:
Same. I came from Nebula as well. Kept crashing my phone. Believe it was an issue with the GPU overclocking. This one has had no issues. And the settings stick when booting.
[G3 Android Development] lasset:
Thanks for a great Kernel!

Is it possible to get a HIgh Brightness Mode Widget/ function (flare is the developer) into your Kernel?

From my point of view G3 has to low screen brightness as standard and sorry to say that your Kernel do not help and in sunlight it's a really a big problem.
[G3 Android Development] Reli4nth:
Try with a bit more voltage, like only -30 global instead of 50-60.
[G3 Android Development] souler456:
Never really had issues with my setup, but you can try what [MENTION=5253937]Reli4nth[/MENTION] says. I have no issues with -60, even -70, but maybe it depends on the device.

:D :) ;) :good:
[G3 Android Development] Meneldur:
Yes, undervolting tends to bring instability and that might be my case, since keeping offset at 0 eliminated random reboots.

I'll try smaller amounts.

Mnldr/D855/16G/CM13
[G3 Android Development] EternalFlame:
-25 works solid with my D855, test your undervolt values with Antutu guys, if it crashes it´s definitely not stable.
[G3 Android Development] foxtaur:
D852 speedstep 3 PVS v6 , -25V undervolt works very well. Lucky are those candidates with a PVS v9
[G3 Android Development] EternalFlame:
Noice to hear man, yeh, i got a PVS v8 device lol, well.. still get 5h+ SOT with my daily usage so i´m quite satisfied :cool:
[G3 Android Development] levider:
[MENTION=5075251]souler456[/MENTION]

How much time you spend compiling this setting? :)

And this script doesn't work for me ;x

I have KA mod v6 and acc kernel 1.5
[G3 Android Development] souler456:
didn't took me an hour to compile these settings, but took me a couple of days to research for every settings. learning these stuffs is surprisingly interesting, though I'm not really into them, and just learned them from a whim :p

What does the script says? Can I get a screenie? Or does the boot script won't work? :eek:

:D :) ;) :good:
[G3 Android Development] trueiceman:
thanks. love this with bliss rom mm. amazing!
[G3 Android Development] Emu:
So you are really knowledgeable. I know this for a fact. I wonder if you have found a solution to this. When I use my phone for more than one day, it tends to become slightly laggy after a while. I notice this the most when I swipe down the notification bar. The only cure seems to be to do a soft boot after 24 hours. But I was wondering what do you do?
[G3 Android Development] foxtaur:
The lagginess is a combination of things. Thermal throttling due to heat,wakelocks and optimization issues across multiple ROMs. I recall nebula even saying that you need the right combination of kernel and ROM to really feel the speed. I'm running that very ROM that works best with my device currently. Yoshi's turboROM. Currently having a problem with build 4.0 due to dimming issues when running xposed but enough about that, that is a topic best suited for the turboROM thread

I'm flattered you think im knowledgeable but I'm no more knowledgeable than you, I just trial and error a lot and can spot things. If only I can put better use of my motivation into coding with some guidance I'll be able to build some ROMs.

Soon as I finish college I'll get into learning how to problem solve and interpret better. My biggest weakness is my poor ability to self teach myself
[G3 Android Development] Emu:
What's your usual screen on time with this setup? I just use the regular ol Alucard and Alucard hotplug. But anything that beats my battery life is more than welcome. I am currently struggling to find the balance between smoothness and battery life. So far I did it by reducing the number of max cores to 2. But I'm not sure anymore if I get that much out of it anyway.
[G3 Android Development] banjaminicc:
So no f2fs support port?
[G3 Android Development] Alukrad:
What governor are you using?
[G3 Android Development] Emu:
C'mon you know me. ;)
[G3 Android Development] Alukrad:
I'll post my settings soon. Am too lazy to type on my phone lol
[G3 Android Development] Tempete:
I am using this Kernel with the Mokee Rom. Stunning fast, no laggs, good battery life. Apps / Webpages are starting fast.

No problems encountered so far, no fc or strange behavior due to xposed and tons of mods.

Using the standard configuration, didnt touch anything.

Great combination, I really can recommend this combination.

Big thanks to the dev!
[G3 Android Development] shekinahsmoke:
Bruh. Haaaaaallllpp
[G3 Android Development] zoman7663:
Turned on the old T Mo D851 G3 after many months of being dormant and decided to update. RR-0524, This kernel v1.5 and a plethora of other fun stuff I've been running on my G4. Have to say this is quite a surprise. Very good kernel work my friend, smooth, fast and as of yet no random weirdness! Can't comment on battery life as I just set up the device today but looking forward to running this phone for a couple days just to check it out... Thanks!! :D
[G3 Android Development] Alukrad:
What's happening?! O.o need my setup?
[G3 Android Development] shekinahsmoke:
Battery is horrible and I need your setup
[G3 Android Development] trueiceman:
GPU frequency keeps changing by itself.

Is anyone else having the problem with the GPU max frequency not sticking? I'm using Bliss MM rom (with kernel adiutor) and this kernel and the number i set keeps changing. Is that normal? Anyone know a sure way to make it stick? Thanks.
[G3 Android Development] Alukrad:
Ok, i'll get on typing...so much stuff to create o.o
[G3 Android Development] djdeeles:
Thermal throttling. It's normal check your device temp.
[G3 Android Development] trueiceman:
makes sense, thanks. two more questions if you don't mind. 1) is qualcomms Thermald the same as Core Control? 2) is Intellithermal better than Core Control?
[G3 Android Development] djdeeles:
1) No

2) Core Control is in kernel protection. But inkernel protection merged with intellithermal so now its part of intellithermal. If you disable intellithermal Core Control not used.

Not: If roms thermal manager running and you enable intellithermal it's problem. You need to disable roms thermal manager.

You can check with

ps | grep thermal

if it's thermal-engine you can disable with

su
stop thermal-engine
[G3 Android Development] :
Thanks for posting the command to stop the thermal engine.
[G3 Android Development] djdeeles:
But dont forget to enable intellithermal or thermal-engine again. You could fry your phone if you'r gaming
[G3 Android Development] trueiceman:
thanks for the info. how can i see if my rom has a thermal manager (running) ?
[G3 Android Development] good223:
What exactly happens if you have intellithermal on and you forget to turn off the rom's thermal-engine?

What are the advantages of intellithermal vs thermal-engine?
[G3 Android Development] :
For me, my ROM's thermal engine was overriding my GPU frequency setting in KA(with or without having any thermal settings applied in KA). By disabling/stopping the ROMs thermal engine(I actually made a copy of the file if I needed it later & deleted /system/bin/thermal-engine) & turning intellithermal on my GPU frequency now sticks.

Seems strange though, since for other users it seemed like intellithermal was the culprit for GPU freqs not sticking, but for me it was the opposite.
[G3 Android Development] shekinahsmoke:
switching roms ... take your time.
[G3 Android Development] souler456:
Will this command sticks after reboot? I cannot test it since I also deleted the ROM's thermal engine command for your kernel's Intellithermal to kick-in... I may do this when I will perform a clean flash in the future... Thanks man :good:

Kernel's intellithermal process will probably be nulled, and the ROM's thermal engine process will be prioritized. That's about it, I guess. Correct me if I'm wron [MENTION=3585838]djdeeles[/MENTION]

:D :) ;) :good:

---------- Post added at 12:21 AM ---------- Previous post was at 12:15 AM ----------

Mostly 5 to 6 hours SoT, but I'll say this first before you react: It depends on how you use the phone. I usually use my G3 just for some "common" phone usage, common like calling, texting, 3G surfing, and music, and it always lasts a day or two. But there are also times I want to play games with it or download heavy stuffs, so there are times that it only has 4 hours of SoT. Try it yourself, and if it gives you reboots, then adjust the CPU Voltage to a lower off-set.

Edit: Upload screenshots

:D :) ;) :good:
[G3 Android Development] good223:
Mostly 5 to 6 hours SoT, but I'll say this first before you react: It depends on how you use the phone. I usually use my G3 just for some "common" phone usage, common like calling, texting, 3G surfing, and music, and it always lasts a day or two. But there are also times I want to play games with it or download heavy stuffs, so there are times that it only has 4 hours of SoT. Try it yourself, and if it gives you reboots, then adjust the CPU Voltage to a lower off-set.

Edit: Upload screenshots

:D :) ;) :good:[/QUOTE]

Are you using all the kernel settings on default?

I'm currently on lollipop and i get horrible battery life using my phone like you do. I was thinking about switching to mm to see if i can get better battery life.

Also what ROM are you using?
[G3 Android Development] good223:
Nvm i found his setup.

http://xdaforums.com/showpost.php?p=66659439&postcount=343
[G3 Android Development] souler456:
That's my old setup. Here's my new one... :good:

:D :) ;) :good:
[G3 Android Development] good223:
Thanks!
[G3 Android Development] EternalFlame:
lol noice, that worked for me too, thanks dude! :highfive:
[G3 Android Development] djdeeles:
V1.6 is up

v1.6-- 10.06.2016

- No major changes, this is maintenance release see github for all changelog

- Added controls for sched features

- Disabled some debug

- Disabled software crc check and make this user controllable

- Merges from CM
[G3 Android Development] trueiceman:
beautiful, it works and my phone feels cooler, lol.

---------- Post added at 06:15 PM ---------- Previous post was at 06:12 PM ----------
[G3 Android Development] phc001012:
Have any some comment for the v1.6 ? Any Battery Drop?

Could i use it in the Fulmics ROM 5.3
[G3 Android Development] levider:
Its's for aosp/cm!!
[G3 Android Development] phc001012:
But I have found some comment was used in Fulmics ROM 4.0

So I think can use it at Fulmics rom???
[G3 Android Development] levider:
No you can't..

You can if you want to brick your G3 :)
[G3 Android Development] Tunghur:
Thanks for sharing, this setup is for better battery life? Right?

______________

LG G3 (D851)

- CM 13.0

- aCC Kernel (v1.5)

- Xposed (v84)
[G3 Android Development] souler456:
Hopefully yes. I wanted the setup to save battery when doing minimal task (by using only a single core as much as possible) and ramps up it's performance when playing games or similar heavy task, since I am, for one, play games on my phone as well. ;)

Long-story-short, I made it "balanced". If you really want a better battery life, I can re-tweak my setup, but it'll cost you micro-lags and stuff, which I don't want to, since dude... We have a LG G3... We are supposed to enjoy smoothness on it... :D

:D :) ;) :good:
[G3 Android Development] Krystalmyth:
This kernel still getting the "not charging" issue in 1.6? It's been plaguing me for aeons.
[G3 Android Development] Windforce0511:
Guys, which settings for smooth UI? I have better smoothness with stock CM kernel. Thanks!

---------- Post added at 18:49 ---------- Previous post was at 18:18 ----------

Seems like pegasusq gives me best UI performance. What about hotplugs and performance?
[G3 Android Development] Tunghur:
Totally agree, I don't find sense get a better battery life and a poor performance in a high end phone. But I can't find a good setup for get a balanced performance. [emoji20]

So... it's time to give a chance to your setup. [emoji106] Thanks!!

______________

LG G3 (D851)

- CM 13.0

- aCC Kernel (v1.5)

- Xposed (v84)
[G3 Android Development] Emu:
Hmmm updated. First time ever that my phone froze. :/

If it happens again I will go back to 1.5 just in case.
[G3 Android Development] eric93se:
Did you wipe both cache's before flashing?

I wish we could get some gpu governor fixes, the only one that throttles it down to 27MHz with no input is 'powersave'.
[G3 Android Development] Emu:
Wiped both. Crashed again. Now I'm curious if it's really the kernel or an app. Went back to 1.5. Eh if it ain't broke...
[G3 Android Development] Reli4nth:
I'm having some random reboots too since the update. I'm reverting to 1.5.

I was outdoor and I couldn't pull logs... but they all happened while using GPS.
[G3 Android Development] :
Msm adreno tz throttles down to 27... turn on the adreno idler and lower the down differential in KA to make it drop faster.
[G3 Android Development] yazilimcionline:
Good, i like this kernel :)
[G3 Android Development] eric93se:
djdeeles, had a bad crash when starting spotify. I'm sending you a link to pastebin with a logcat. Reverting to 1.5 for now.
[G3 Android Development] good223:
I finally got around to trying your setup and i can say it's really good. It's definitely slower than alucard gov with stock tunables but it's close enough. The battery life is also really good.

Where did you find what each of the parameters for the slim governor do?

I'd like to try tuning it myself.
[G3 Android Development] Tunghur:
It's true, I don't have lags in general, but when I do scroll in apps that have lists (eg: YouTube, Google +, etc.) the lag is notorious. But whit alucard gov and interactive, had the same result.

This it's a problem whit the UI? Or something else?

______________

LG G3 (D851)

- CM 13.0

- aCC Kernel (v1.5)

- Xposed (v84)
[G3 Android Development] souler456:
Basic tuneable informations (like down_differential and stuff) is from here, and other tuneables that's not there is just... Well... Skillfully googled. :p

Can't deny this, though. I am browsing through my UC Browser and scrolling lags when a page is kinda long. I am using XenonHD, prolly the smoothest ROM i've ever used (and still using), and still these lags exists. Can't seem to eliminate this, even on my Stock days, so I just lived with it... :eek:

[MENTION=3585838]djdeeles[/MENTION] Latest version gave me serious hiccups (screen pauses for about 5-10 seconds and then resumes) and some random systemui fc's (no logs, since, well, it's random and hard to catch). Reverted to default settings and still hiccup-ing~y... Can somebody confirm as well? :confused:

For a meantime, reverted to v1.5...

:D :) ;) :good: