yashsingh1/xdaforums huggingface dataset:
[Magisk] audiovicious:
I flashed through Magisk and TWRP and don't have the LKT.prop file.

I've seen the device supports the OP6, so not sure what the issue is.

EDIT: After a reboot or two, I see it now. I'm using xXx for the OP6, but I have all of its system/kernel tweaks disabled, and I'm using EX for the OP6 and have settings that apply on boot, will any of this conflict with LKT? I assume xXx won't, because it's kernel tweaks are disabled (and made for a bad time with the kernel tweaks I have in EXKM), but my EXKM settings may interfere with it.
[Magisk] WarriorMax:
Awesome... New update works great so far... Thanks for adding terminal profile changing option...
[Magisk] Az719:
Is this mod better than helix engine...? Since both use AI inside...?
[Magisk] nfsmw_gr:
does lkt mess with frequencies?

for some reason I can't see time spent in each frequency on exkm.
[Magisk] WarriorMax:
Ok i tried the battery mode and for some reason:

1. I find that battery usage is more as compared to balanced mode while using phone. But idle drain is good in battery mode.

2. Also i wanted to ask a is it possible to add option like GMS doze module, to apply doze on google play services.

Thanks
[Magisk] MpS005:
Now in the latest version, you can change profile without reflashing again and again....:laugh::good:
[Magisk] piotrenx:
How?

Mate 10 Pro Tapatalk
[Magisk] Pandemic:
Terminal -__-

See the changelog of v1.3.9 it stands over there.
[Magisk] denisalexandru03:
Hi , im currently running on a htc u ultra with lineageos 16 and i have magisk 18 installed ,after i install it and i try to find that lkt.prop with mixplorer , it freezes my phone and i need to reboot, any advices?
[Magisk] Jeff.angkasa:
if I already use this module. can I use another kernel?

example i use this module then I install the caf kernel. will it clash later?

or do i must choose 1?
[Magisk] immi803:
You can use another kernel, after flashing kernel, lkt will apply as you reboot, no issue
[Magisk] CityHunter004:
can we get something exclusive for PUBG in turbo profile?

And for performance!!
[Magisk] afthab120:
Im on poco(crdroid/fk kernel)

When i flash latest lkt(performance),it goes into bootloop

Please help.
[Magisk] Sebi673:
Latest version causing random reboots. Interval varies between 10 minutes of usage and hours between reboots.
[Magisk] Rostzwiebel:
VNS-L31 / P9 Lite

Kirin 650

Linage 14.1 Unofficial from CoH Team

Magisk 18

Everything Work :) thanks
[Magisk] JayAbbhi:
Yo I'm using a Nextbit Robin, and I just want to know what's actually being tuned specifically for the snapdragon 808 chip, specifically in the battery profile.
[Magisk] nfsmw_gr:
Easiest way would be with either exkm or kernel adiutor, check the default values without lkt and the values with lkt enabled.
[Magisk] jhobc:
Flashed latest version on my Zuk Z2 Plus and the terminal command don't work...
[Magisk] kryshnakishore:
Great module
[Magisk] pakudaboy:
Seems cpu min for both small big core are off? Mines Snapdragon 636
[Magisk] Devilsho:
###### LKT™ v1.3.9

###### PROFILE : Battery

# START : 31-12-2018 07:43:57 PM

# =================================

# VENDOR : SAMSUNG

# DEVICE : SM-G900FD

# CPU : msm8974pro-ac @ 1.57 GHz (4 x cores)

# RAM : 2 GB

# =================================

# ANDROID : 9

# KERNEL : 3.4.113~Venom~

# BUSYBOX : v1.29.3-topjohnwu

# =================================

# [✓] SOC CHECK OKAY

# [INFO] THIS DEVICE IS SUPPORTED BY LKT

# [INFO] SNAPDRAGON SOC DETECTED

# [INFO] HMP KERNEL DETECTED

# [INFO] TUNING interactive

# [WARNING] YOUR KERNEL DOES NOT SUPPORT TOUCH BOOST

# [WARNING] YOUR KERNEL DOES NOT SUPPORT POWER EFFICIENT WORKQUEUE MODE

# [WARNING] YOUR KERNEL DOES NOT SUPPORT ADRENO IDLER

# [INFO] TUNING VIRTUAL MEMORY

# [INFO] TUNING STORAGE I/O SCHEDULER

# [INFO] ENABLING WESTWOOD TCP ALGORITHM

# [WARNING] YOUR KERNEL DOES NOT ALLOW WAKELOCK BLOCKING

# [INFO] EXECUTING FS-TRIM

# =================================

# BATTERY LEVEL: 75 %

# BATTERY TECHNOLOGY: Li-ion

# BATTERY HEALTH: Good

# BATTERY TEMP: 37.4 °C

# BATTERY VOLTAGE: 4.1 VOLTS

# =================================

# FINISHED : 31-12-2018 07:44:12 PM

# NOTE: WARNINGS ARE NORMAL

# LKT WORK ON ANY KERNEL

Is it gonna work to with the kernel or should i change it shows warnings
[Magisk] gordonpn:
In the log you just posted, the two last lines say that warnings are normal and that the module works on any kernel. It's up to you if you want to change kernel.
[Magisk] Haffoc:
Get the following error when trying to run lkt from terminal

/system/bin/lkt[188]: syntax error: unexpected '('
[Magisk] Weedy0104:
Me too
[Magisk] markyc25:
Type su press enter

Type lkt press enter

Works fine here
[Magisk] Devilsho:
Same error

It worked first changed profile then its start giving these errors

---------- Post added at 08:54 PM ---------- Previous post was at 08:52 PM ----------

Thanks man just making sure

Perfect module keep up the work dev . :svetius:
[Magisk] MpS005:
Which is the best way to decrease the standby drain in pie custom roms? I'm getting 25-45% drain every night.
[Magisk] AceMONKEY:
using the beta build，it works
[Magisk] nabildanial:
Lol. Every profile makes my Pocophone lags, even with Turbo. Buttery smooth with stock settings. I wonder what went wrong with this "tweak".
[Magisk] IceHotKilla:
Why do you even need this tweak? Your phone is rocking SD845 ?
[Magisk] nabildanial:
Because I wanted to? And there's always room for improvement for everything.

Anyways, I think I know what's going on. So far this tweak causes lags on every kernels I tried, but only when schedutil is being used. With ondemand, the phone runs buttery smooth. I suspect some schedutil tweaks are not compatible with this phone.

EDIT: Holy ****, ondemand + turbo really does fly on this phone. At this point, I don't care if the battery sucks after this, it runs fast and smooth af.
[Magisk] WarriorMax:
Woha 3 updates in a day... Whats going on on 1st.. Perfecting the perfect.. :o
[Magisk] Devilsho:
Thanks for update info . :svetius: i didn't see it before .
[Magisk] nfsmw_gr:
My Mi 8 using 90% the same hardware works fine with this mod.

Check your root solution, busybox, available space, rom.

Something else is interfering with lkt, not your phone.
[Magisk] akiwiz:
Only 1.4.0 installs from magisk manager and not 1.4.2 why is that?
[Magisk] noidelextreme:
Axon 7 with mokee rom 7.1.2

Latest version here.

Is the best mod I've ever had on my android phone since 2009.

Simply a perfect job.

Thank you
[Magisk] ogaj:
Is it possible to run a command from Tasker to activate a specific profile?

I tried, but it doesn't seem to work for me... (Run Shell 'lkt 2')

Any suggestions?
[Magisk] habylab:
Installed for me fine from Magisk?
[Magisk] tasinkhan:
I am using Zram in my redmi note 3 aka kenzo. do I have to disable zram while using LKT?
[Magisk] mahmmoud1231:
Thank you very much for this module can you please support Samsung exynos 7570??
[Magisk] gverma1:
Have a Pixel XL. When I apply LKT, it changes the governor to Interactive. There is terrible lag in that. When I change the governor back to Sched, it becomes okay.
[Magisk] KingJK:
Installed the latest ver (LKT 1.4.2) from Magisk (18) downloads section:

1- Changing profile (from Balanced to Performance) from lkt command line tool (using Termux) caused my Telegram (Unofficial client named Mobogram) data season get deleted and it required me to login again; however the options customization I made ( like changing the default theme to dark) were not affect and ONLY the account login was wiped.

2- Right after I switched profile, I checked the LTK.prop and it said the selected Profile is Performance; however after a reboot it was reverted to Balanced.

3- The LKT command line tool ( which I access via typing su and then lkt) is telling me it's version is 1.4.0

4- At module's installation time, I selected Balanced profile and it was working fine (the only problem was that sometimes after a long off-screen time; when I tried to unlock the phone it would take up to a minute to unlock) ; but now that I switched profile to Performance (but as I stated in 2; it says Balanced in lkt.prop) the battery is running out by the minute (I mean 2% in 7 minutes off-screen).

5- When I installed the LKT 1.4.2 from Magisk (18) downloads section I hadn't have installed the Busybox for Android NDK 1.29.3 module; but when tried to run the lkt command line tool it suggested me to do so and I did it and the tried the lkt command line tool.

6- LTK.prop file contents as now:

###### LKT™ v1.4.2

###### PROFILE : Balanced

# START : 03-01-2019 01:07:57 PM

# =================================

# VENDOR : HONOR

# DEVICE : KIW-L21

# CPU : msm8916 @ 1.21 GHz (8 x cores)

# RAM : 2 GB

# =================================

# ANDROID : 8.1.0

# KERNEL : 3.10.108-RebornKernel-Arrow-g41368cad

# BUSYBOX : v1.29.3-topjohnwu

# =================================

# [✓] SOC CHECK OKAY

# [INFO] THIS DEVICE IS SUPPORTED BY LKT

# [INFO] SNAPDRAGON SOC DETECTED

# [INFO] ENABLING POWER EFFICIENT WORKQUEUE MODE

# [WARNING] YOUR KERNEL DOES NOT SUPPORT ADRENO IDLER

# [INFO] TUNING VIRTUAL MEMORY

# [INFO] TUNING STORAGE I/O SCHEDULER

# [INFO] ENABLING WESTWOOD TCP ALGORITHM

# [INFO] EXECUTING FS-TRIM

# =================================

# BATTERY LEVEL: 49 %

# BATTERY TECHNOLOGY: Li-poly

# BATTERY HEALTH: Good

# BATTERY TEMP: 34.3 °C

# BATTERY VOLTAGE: 3.7 VOLTS

# =================================

# FINISHED : 03-01-2019 01:08:18 PM

# NOTE: WARNINGS ARE NORMAL

# LKT WORK ON ANY KERNEL
[Magisk] Bintang Krisna:
This Tweak definitely not for gaming.I have seen complain of few users on why their phone get slowed down after using LKT.

So here we go,It locks your Frequency about to 60% of its max performance for the sake of "battery life"but even worse,you cant change its max freq

Anyone can do this manually to save battery.Even more set the fw bg apps to 20,turn on adaptive LMK,set LMK value higher than stock etc...
[Magisk] Bintang Krisna:
Reply me with" Maybe they have other mods that conflict with LKT" lol
[Magisk] audiovicious:
I've installed this through Magisk a few times, I flashed it through TWRP, no matter how I install, u install, and reinstall, there is no LKT.prop file and no settings change. Any tips?
[Magisk] NGOwner:
Shouldn't a Nexus 6 be supported?

Nexus 6 from Google

Featuring a Snapdragon 805 Processor

Source

I also don't have a soc.prop to modify....

###### LKT™ v1.4.2

###### PROFILE : Balanced

# START : 03-01-2019 09:24:43 AM

# =================================

# VENDOR : GOOGLE

# DEVICE : Nexus 6

# CPU : tree) @ 2.65 GHz (4 x cores)

# RAM : 4 GB

# =================================

# ANDROID : 8.1.0

# KERNEL : 3.10.108-ElementalX-N6-5.22

# BUSYBOX : v1.29.3-topjohnwu

# =================================

# [×] SOC CHECK FAILED

# [INFO] THIS DEVICE IS UNSUPPORTED BY LKT

# [WARNING] YOUR KERNEL DOES NOT SUPPORT ADRENO IDLER

# [WARNING] ADAPTIVE LMK IS NOT SUPPORTED BY YOUR KERNEL

# [INFO] TUNING VIRTUAL MEMORY

# [INFO] TUNING STORAGE I/O SCHEDULER

# [INFO] ENABLING WESTWOOD TCP ALGORITHM

# [INFO] EXECUTING FS-TRIM

# =================================

# BATTERY LEVEL: 94 %

# BATTERY TECHNOLOGY: Li-ion

# BATTERY HEALTH: Good

# BATTERY TEMP: 34 °C

# BATTERY VOLTAGE: 4.0 VOLTS

# =================================

# FINISHED : 03-01-2019 09:25:48 AM

# NOTE: WARNINGS ARE NORMAL

# LKT WORK ON ANY KERNEL
[Magisk] MaCianz:
"Maybe their phone is powerful/optimized enough"
[Magisk] LNQ:
First of all, thank you!

I like the new cli! But can we have something ready for scripting?

I'd like to use Tasker with your fine module.
[Magisk] Bintang Krisna:
hahahaha
[Magisk] Hemuli:
Seems like your device runs on a tree instead of the more common potato.
[Magisk] NGOwner:
At face value, that's really funny. A phone that runs on a potato... A phone that runs on a tree... Like some wacky science experiment....

After checking, I'm running NitrogenOS Oreo which is based off of Camcory's AOSP tree. Does that somehow make a difference?

[NG]Owner
[Magisk] Hemuli:
If I'm not mistaken, this is the line in the source code that parses your cpu info:

SOC=$(awk '/^Hardware/{print tolower($NF)}' /proc/cpuinfo | tr -d '\n') 2>/dev/null

What does it say in your /proc/cpuinfo file?
[Magisk] NGOwner:
processor	: 0

model name	: ARMv7 Processor rev 1 (v7l)

BogoMIPS	: 38.00

Features	: swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt

CPU implementer	: 0x51

CPU architecture: 7

CPU variant	: 0x3

CPU part	: 0x06f

CPU revision	: 1

processor	: 1

model name	: ARMv7 Processor rev 1 (v7l)

BogoMIPS	: 38.00

Features	: swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt

CPU implementer	: 0x51

CPU architecture: 7

CPU variant	: 0x3

CPU part	: 0x06f

CPU revision	: 1

processor	: 2

model name	: ARMv7 Processor rev 1 (v7l)

BogoMIPS	: 38.00

Features	: swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt

CPU implementer	: 0x51

CPU architecture: 7

CPU variant	: 0x3

CPU part	: 0x06f

CPU revision	: 1

processor	: 3

model name	: ARMv7 Processor rev 1 (v7l)

BogoMIPS	: 38.00

Features	: swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt

CPU implementer	: 0x51

CPU architecture: 7

CPU variant	: 0x3

CPU part	: 0x06f

CPU revision	: 1

Hardware	: Qualcomm APQ 8084 (Flattened Device Tree)

Revision	: 83a0

Serial	: ac64c00011000000

Device	: shamu

Radio	: 6

MSM Hardware	: APQ8084 ES1.1
[Magisk] Laughitplz:
Hey, OP. I'm on Galaxy note 4 on MM and I'm also having this problem. Wifi works ok, but it often times out on many applications, su ch as animal crossing, or reddit is fun, etc... 4g was constantly giving me a DNS error that I couldn't fix with a regular factory reset, so I had to Odin back.

Could you make a build that doesn't make changes to the network settings? Otherwise it's a flawless module. ??
[Magisk] gverma1:
Try by creating a file soc.txt in /data folder. The content of that file should be just one line: CPU=apq8084
[Magisk] Bogdans29:
Can you add Cpu guvernor LIONFISH its like i interactive but save more power....
[Magisk] NGOwner:
The /data location is the same location as where the lkt.prop file is housed, correct? If so, I tried. No change. Still get the same:

# [×] SOC CHECK FAILED

# [INFO] THIS DEVICE IS UNSUPPORTED BY LKT

I also tried to change the hardware string in the cpuinfo file in the /proc directory. But no matter how I try (both with ES File Manager (root enabled), and while in TWRP's recovery file manager), the write operation fails. So it seems I can't change the contents of that file at all. :(

I'm still stuck.

[NG]Owner
[Magisk] gverma1:
Yes same location as lkt.prop file. Don't mess with cpuinfo file...that's not required and may mess up your phone.

In soc.txt, pl put the appropriate string after "CPU=" - had mentioned what I guessed would be for nexus 6 but it may be different.
[Magisk] NGOwner:
You are correct; APQ8084 is the right code for a Snapdragon 805. And the cpuinfo file also references an APQ8084 (in two places even!), but not alone, by itself on a line (see my post here).

The module seems to be ignoring the soc.txt file that I have placed in /data. It's still there with the single line CPU=apq8084. I even tried using CPU=APQ8084 to see if maybe capitalization made a difference. And nothing. Still not recognized.

Any other suggestions?

[NG]Owner
[Magisk] Ronny182:
Thx broo,,very usefull for my device with android 9 GSI. And this module work great.
[Magisk] ramihtp:
Thanks for the amazing mod! I've never had this sort of battery life before. Especially on a day where I was playing games for most of the day! 7hrs SoT!!

Using a OnePlus 6T running Oxygen OS 9.0.11, xXx No Limits mod, and Elemental X Kernel with LKT
[Magisk] Cablespider:
One word - overkill.
[Magisk] rible:
I get 8 hours SOT with my OnePlus 6t without any single tweak, 4 + hours of gaming, lots of Netflix and browsing too.
[Magisk] ramihtp:
Yeah wow... Maybe I should start removing some other mods then haha
[Magisk] audiovicious:
Question: Are you just layering kernel tweaks on top of kernel tweaks? There's a bug in xXx where it ignores whether you selected kernel tweaks or not and just applies them anyway (not in the telegram group 4.3c), EX does some things on its own, and then lastly LKT.

I did this once and had a bad time and I don't recommend it. As mentioned, all of that is overkill, and some may even conflict with others, especially just flashing kernel and system tweaks all over the top of each other. Lastly, if you are, you'd prob get better SOT just using one or the other and not all.
[Magisk] CityHunter004:
That's ur experience...
[Magisk] ramihtp:
I unchecked kernel tweaks in xXx, so I don't think it's installing?

But I haven't gone and done 4.3c
[Magisk] Cablespider:
Deleted
[Magisk] audiovicious:
LOL, OK. It is, I never told him what to do, but the SOT he's excited about could easily be better. It is my experience, and I was just sharing it. However, once I started calling out some of these things, other people spoke out about having the same issue in the threads I mentioned it in, shortly after the xXx kernel tweaks issue was worked on. Am I responsible for it? No, but my find gs were in line with others and it helped them. I contributed something other than just "That's ur experience".

Unless you have 4.3c from the telegram group, it is installing the kernel tweaks. Like I said, I had my own settings in EXKM and xXx kernel tweaks going and the drain was terrible (for me). It was made better by disabling the xXx kernel tweaks. That's not to say it won't work for some, but it did not for me, my settings, or my use. If you're unsure what you're doing or the tweaks are doing, layering them on top of each other isn't always beneficial. Ice cream, shrimp, and sushi are all great, but that doesn't mean you'd eat them all on top of each other.

I'm not telling you what to do, but giving you a heads up you may have been unaware of. In my experience.

EDIT: For reference, what I mean is, unchecking or disabling the kernel tweaks in xXx doesn't matter, it changes them either way. The settings I had in EXKM and the kernel tweaks in xXx caused a MASSIVE drain and was locking some frequencies in odd places. The phone barely lasted a day, now I get 2+. A bunch of good things don't always make a great thing. I prefer my own settings, but for someone unfamiliar with what to change, a script may be more beneficial.
[Magisk] ramihtp:
Oh I had no idea!

Thanks heaps for that. I'll get onto 4.3c now and see if that makes a difference!
[Magisk] audiovicious:
I just went through sorting a bunch of issues I had from flashing a few different mods, if you need help or have any questions, feel free to PM me. Do you have anything set inside of EXKM or do you just flash EX and not set your own parameters? I can tell you that xXx and LKT are doubling down on your kernel tweaks and may or may not have an adverse effect. I'd recommend sticking to just one or the other and seeing how your battery life is. Additionally, if you're interested in my EXKM settings, I can provide those for you as well, though I don't recommend using those with xXx kernel tweaks or LKT.

Glad I could help, try out some of my suggestions and let me know how it works out for you.
[Magisk] raptorddd:
i just flashed latest version. but i want to use schedutil governor how? it select interactive
[Magisk] ramihtp:
PM'd
[Magisk] NGOwner:
Does soc.txt override what's in the cpuprop file? Or is it only parsed if the the cpuprop isn't there?

Still trying to get this module to work for me .....

[NG]Owner
[Magisk] Shirosuki:
Why this tweak turn off swap which really reduce my phone performance, it's become lag. I'm installing LKT on 2 gb ram phone
[Magisk] akiwiz:
Anyone using this on a Nexus 5x?
[Magisk] NGOwner:
[MENTION=5033594]korom42[/MENTION]

Any suggestions? The SOC.txt file isn't having an effect. The module isn't activating fully for my Nexus6.

[NG]Owner
[Magisk] afthab120:
Hey poco users which is the best profile for lkt?
[Magisk] XAL2:
Can anyone tell me what's going on here? I am on OP6 with BusyBox installed and xXx Magisk rom. I don't see the logs anywhere. Ran LKT in andoird emulator and it says that it's installed correctly but doesn't know what profile I am running and that the logs are no where to be found.
[Magisk] XAL2:
Sorry for the double post forgot to add this screenshot.
[Magisk] shamsul007:
Installed the module but I'm unable to access the terminal.

Lkt.prop isn't in /data either.
[Magisk] scaschera:
Hi just one question, i'm on A5 2017 on Pixel Experience 9. Apparently Soc is not supprted, Is there still a utility to keep the module or not?

Thanks
[Magisk] สุรินทร์ พลโธา:
Go to the root data.You will see it there.
[Magisk] shamsul007:
It's not there.
[Magisk] digdeep:
Why this doesn't support snapdragon 415?
[Magisk] scloss84:
Hello, question for the experts, after uninstalling the LKT module from magisk, the lkt.prop file remained. Is it safe to be deleted? Is it just there to provide information or does it actually do something? Thanks.
[Magisk] สุรินทร์ พลโธา:
You can delete it now. Not a problem
[Magisk] scloss84:
Thanks, i actually wasn't going to delete it, i was trying to do a clean installation because i wasn't sure if it was working or not. i seem to get a bit more screen on time but it's totally in the margin of error, coz i get anywhere between 6 to 9 hours depending on if im on 4g playing games or just wifi browsing.

Is there an app or somewhere i can look at where CPU frequency is capped or some figures i can try to see to know that this mod is actually running? Thanks.
[Magisk] สุรินทร์ พลโธา:
You can choose Thanks to developer
[Magisk] cutesniper22:
Hi [MENTION=5033594]korom42[/MENTION],

May I know does the profile take effect immediately after running shell command "lkt" in terminal or tasker? Should I reboot the device to take effect? I monitored the cpu usage, and it seem like not functioning..
[Magisk] MechaNarutoSucks:
Useful Automation Script For App Specific Profile Change

I wrote the script for making it easy to change profiles so i don't have to change them every time. this script should increase your battery life by a lot because of how it uses the hardware. Only ever ramps up the speed of the kernel when you need more speed.

If you liked my work and want to show your appreciation you could say thanks. That's all i need to hear.

Search for: LKT Automation V2 ( magisk module )

in the tools section.

You'll need AutoMate app from the playstore to run the script.

if you want me to make an explanation video just let me know and i'll make a video about it.

By the way thanks lot for making the module [MENTION=5033594]korom42[/MENTION]. Keep Up The Good Work.

p.s: it's really easy you just have to take a look at it and try to understand the logic of the flowchart.
[Magisk] otonieru:
[MENTION=5033594]korom42[/MENTION] latest version failed to detect my SOC correctly (Kirin 970 - P20 Pro)

on previous version it was fine
[Magisk] otonieru:
well, in fact my issue happen after i installed that version, LoL

on 1.4.2 am fine. but 1.4.3 failed to detect my SOC :silly:

am reverting to 1.4.2 at the moment. and it works fine again. :D
[Magisk] korom42:
Then at least attach your logs or a screenshot of it (using 1.4.3) here or in telegram group to fix it for next update.