• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[MODULE] LKT - Insane Battery Life | Fast | Buttery Smooth ?

What are your LKT favorite profiles ?


  • Total voters
    1,206
Search This thread

Shayded

Senior Member
Apr 19, 2015
149
26
Seems I can't install.
Doesn't appear to be on magisk repo, regardless, tried installing via downloaded ZIP manually through magisk, all appears well until after the reboot where nothing happens. LKT manager says lkt is not installed or initialized, and it also shows busybox version as null (it also is installed via magisk and worked with previous modules that depended on it)

What am I missing?

Edit: LTK.prop DOES exist under data/
permissions are -rw-rw-rw- but this may not be correct?

Second edit: Strange enough it would not work until I granted full 777 permission access on LKT.prop.
That seems unnecessary but it's working...
 
Last edited:
  • Like
Reactions: cbynep and jmadiaga

ryhn_ardi

New member
Apr 18, 2020
1
0
my device cannot use battery life profile.

On my phone won't change to battery life mode, its says "your device can only balanced and performance"
How to fix this ?
 

DomiksPL

Member
Dec 27, 2015
11
0
Is there any option to support init.d without root? I'm asking because I would like to use LKT without Snapchat bans.
 

1ndrr99

Member
Mar 13, 2018
6
0
LKT v2.8 (legacy) bootloop xperia m4 aqua 6.0.1 stock kernel magisk canary debug lates
 

Attachments

  • legendary_kernel_tweaks-debug.log
    74.4 KB · Views: 23

Leon

Senior Member
Dec 31, 2012
2,603
1,165
29
Samsung Galaxy S9+
Redmi Note 9
From today I started using this module. My setup can be seen in my signature. I will share results here and in the ROM thread when I see how is going on. I selected the Battery option.
 

jaggy989

Senior Member
Why does is says requires reboot on memory tweaks?
 

Attachments

  • Screenshot_20200605-113956.jpg
    Screenshot_20200605-113956.jpg
    199.9 KB · Views: 1,579

Rob052018

Member
May 13, 2020
11
0
I'm on Miui 12 EU and having battery issues. installed custom kernels but it's breaking FOD. can i still use this instead?
my phone is not rooted and i'm using TWRP to flash.
 

64ashg

Senior Member
May 18, 2014
548
351
Redmi K20 Pro
I have the Pixel (sailfish) w/ snapdragon 820. Is this considered legacy or new? Not entirely sure on the exact list of devices that need "legacy" 2.8 & which need the new 3.0
Its a snapdragin 821 and its new. Legacy is just for people who want armv7 compatibility or who prefer project wipe v1 based profiles..
I'd say try it out, but the latest one feels less aggressive imo, coming from an ex sd821 user..
 

Chaprnks

Senior Member
Its a snapdragin 821 and its new. Legacy is just for people who want armv7 compatibility or who prefer project wipe v1 based profiles..
I'd say try it out, but the latest one feels less aggressive imo, coming from an ex sd821 user..
Oh, so basically sd821 is compatible with both legacy and 3.0? Also, what do you mean by less aggressive? Like does the latest have less powersaving & drain faster than the legacy?
 

64ashg

Senior Member
May 18, 2014
548
351
Redmi K20 Pro
Oh, so basically sd821 is compatible with both legacy and 3.0? Also, what do you mean by less aggressive? Like does the latest have less powersaving & drain faster than the legacy?
Latest, with Project wipe v2 feels more smoother, lesser lags in ui but i feel the battery savings were better, marginally, in legacy which used wipe v1, albeit with more stutters..
 

moontheto

Member
Sep 19, 2013
5
0
Hi, I just installed this module yesterday. But today I recognize that this module whenever I click on setting menu of ppsspp this module make the app crash, although I can play psp game without changing setting of ppsspp. My phone procie MT6737
 

Top Liked Posts

  • There are no posts matching your filters.
  • 187
    yY2rQjK.png

    High performance & power-saving tweaks for all devices (THAT ACTUALLY WORK)​

    Introduction
    LKT aims to achieve a fair balance between power consumption and performance. Instead of tuning the parameters manually, LKT adopts Project WIPE open-source interactive parameters for the mainstream SOCs that are generated by machine learning AI via simulation and heuristic optimization algorithms.

    How does it work?
    WIPE v2 focuses on meeting performance requirements when interacting with APP, while reducing non-interactive lag weights, pushing the trade-off between fluency and power-saving even further. QTI Boost Framework, which must be disabled before applying optimization, is able to dynamically override parameters based on perf hint. This project utilizes the QTI Boost Framework and extends the ability to override custom parameters. When launching APPs or scrolling the screen, applying more aggressive parameters to improve response at an acceptable power penalty. When there is no interaction, use conservative parameters, use small core clusters as much as possible, and run at a higher energy efficiency OPP under heavy load.

    Features
    • Multi-Profile
    • Improved smoothness & battery life
    • Advanced interactive governor tuning (Project WIPE)
    • EAS devices Support
    • RAM management enhancements
    • IO blocks enhancements
    • Enabled & configured wakelock blocking
    • Disabled excessive logging at kernel level (Improves battery life as well as performance)
    • Other miscellaneous adjustments to enhance power efficiency

    Profiles
    Battery: Can achieve ~2 hours or longer on-screen battery life, may lag in some scenarios where the load fluctuates dramatically

    Balanced: smoother than the stock config with lower power consumption(recommended)

    Performance: Same as balanced profile, with more responsiveness

    Turbo: Provides a stable performance utilizing the maximum capacities of the device without limitation .
    Requirements

    Installation
    • Flash in TWRP or Magisk manager
    • Follow the given instructions
    • Reboot
    ** Make sure to read FAQ from here or second post before asking anything. (regularly updated)

    Credits
    Code:
    Project WIPE contributors  [URL="https://github.com/yc9559/cpufreq-interactive-opt/tree/master/project/20180603-2"]Github[/URL]
    yc9559 - @CoolApk
    cjybyjk - @CoolApk
    
    [U]Special Thank[/U]
    Zackptg5 & ahrion - Unity template
    topjohnwu - Magisk
    @xLidz from falltorise - Banner design

    Contributors
    @korom42

    Sources
    Original XDA thread
    Github

    License
    Licensed under the GNU General Public License v3
    87
    FAQ(frequently asked question)

    Also check for FAQ here (More often updated)

    • How do I apply these tweaks?
    Simply flash LKT zip in recovery or Magisk app then reboot.
    • Do I have to be rooted?
    Yes, LKT needs either Magisk or SuperSU or init.d support.
    Beware that LKT is a collection of advanced tweaks that act on kernel level. If you don't know how it works, then please try this at your own risk. I won't be responsible for any damage or loss. Never forget to make backups.
    • What are the available profiles ?
    Battery: Can acheive ~2 hours or more longer on-screen battery life, may lag in some scenarios where the load fluctuates dramatically

    Balanced: smoother than the stock config with lower power consumption(recommended)

    Performance: Same as balanced profile, with more responsiveness

    Turbo: Provides a stable performance utilizing the maximum capacities of the device without limitation
    • How to switch between profiles?
    • Method 1
    To access the command controls screen using terminal type
    Code:
    su
    lkt
    Then follow the instructions
    • Method 2
    Now you can also you run these commands to directly switch profiles (must run with root permissions)
    Code:
        lkt 1 (for battery profile)
        lkt 2 (for balanced profile)
        lkt 3 (for performance profile)
        lkt 4 (for turbo profile)
    • Method 3
    You can also to re-flash the module twice to change the profile but you will have to reboot using this way.
    • Can I use LKT with another MOD ?

    ** Compatibility list** You can still these mods since they do not affect LKT parameters.
    • Universal XML Patcher
    • GMS Doze
    • ForceDoze, Naptime, Greenify, Amplify, Power Nap
    • MCS (Magic charging switch) & Charging control mods..etc
    • BlackenedMod (Pixel 2)
    ** Incompatibility list ** Do not use similar mods with LKT, here is a list of some known MODs that will interfere
    • AKT (Advanced Kernel Tweaks)
    • Spectrum
    • Helix Engine
    • L-Speed
    • GovTuner
    • Every bullsh*t placebo MOD like : CrossBreeder, NFS, KITANA, FeraDroid ..etc
    • Heavily tweaked ROM such as : xXx (OP6/6T)
    • Will this work on my ROM & Kernel ?
    It should work on almost every Stock, AOSP or Lineage based ROM & Kernel
    The only problem is with heavily tweaked ROMs, they can interfere with LKT.
    • Will this work on my device?
    This mod support a large list of devices you can check the compatibility list.
    • How to make sure that LKT is working ?
    Using a file explorer with root access check LKT logs in the location below ( share & upload yours in case of having troubles)
    Code:
    /data/LKT.prop
    •I cannot find or open LKT logs
    To properly open LKT.prop you need a file manager with root access your app may not be working correctly. Here's some apps I can recommend
    You can also access your alogs using terminal by running this code
    First type su then copy and past this line :
    Code:
    cat /data/LKT.prop
    • My logs are incomplete
    Make sure you are using the latest version of Magisk 18.0+
    Install busybox by @osm0sis
    • My device Lags or not longer smooth What do I do?
    This can happen and it's a normal thing. As I have stated before, all these tweaks have been done for fit certain usage which might not be the same as yours. Because this, your device may lag in some scenarios under heavy loads (If you are experimenting huge lags, you have done something wrong). And yes, this can be fixed. We have a couple of ways of fixing it. First of all if you are using battery profile try switching to another one, if this doesn't help you consider the following steps :
    • Do a factory reset
    • Get rid of unnecessary background apps
    • Try a different ROM or Kernel
    • Try another profile
    • These settings don't work & I'm not getting great screen on time
    Keep in mind these tweaks have been tested on certain scenario that might not the same as yours, read the introduction in OP to understand more about this. However if you are getting worse results than before you are probably doing something wrong and here are some recommendations for you
    • Do a factory reset
    • Get rid of unnecessary background apps
    • Try a different ROM or Kernel
    • Try another profile
    • How to update LKT?

    Dirty flash the new zip or install the update via Magisk manager and it will automatically upgrade.
    • How to uninstall LKT?

    Flashing the module for the second time will remove LKT. You can also remove it from Magisk app.
    Compatibility

    • Snapdragon 855
    • Snapdragon 845
    • Snapdragon 835
    • Snapdragon 820-821
      [*]Snapdragon 810-808
      [*]Snapdragon 801-800-805
    • Snapdragon 660
    • Snapdragon 652-650
    • Snapdragon 636
    • Snapdragon 625-626-630
      [*]Snapdragon 615-616
      [*]Snapdragon 450
      [*]Snapdragon 435
      [*]Snapdragon 430
      [*]Snapdragon 425
      [*]Snapdragon 410-412
      [*]Snapdragon 400
    • Exynos 9810 (Samsung)
    • Exynos 8895 (Samsung)
    • Exynos 8890 (Samsung)
    • Exynos 7420 (Samsung)
      [*]Kirin 970 (Huawei)
      [*]Kirin 960 (Huawei)
      [*]Kirin 950-955 (Huawei)
      [*]kirin 650-655-658-659 (Huawei)
      [*]Helio x20-x25 (MT6797-MT6797T)
      [*]Helio x10 (MT6795-MT6795T)
      [*]Helio P10 (MT6755)
      [*]Intel atom Z3560-3580
    **Please note that even if your device isn't listed here some parameters may still apply
    Changelog
    Code:
    v1.9 (15/08/2019)
    - New EAS & HMP interactive parameters ([URL="https://github.com/yc9559/wipe-v2/"]WIPE v2[/URL])
    - Better Support for EAS Custom kernels
    - RAM management and Multitasking improvement 
    - New terminal UI
    - Unity template update 4.3
    - Bug fixes 
    - Added support: 
    *SD675
    *SD730 
    *SD710
    - Extended EAS CPU optimisations further via QTI Boost Framework for 
    *SD855
    *SD845
    *SD710
    *SD730
    *SD675
    - Removed support for many SoCs for now, might add later if I have enough time
    Downloads
    • Google Drive
    You can also download LKT from Attachments or Magisk repo
    Beta testing & Support
    Donate to support future LKT development :fingers-crossed:
    44
    It has been a long time since I last posted here,
    For those who are asking and wondering: NO LKT IS NOT DEAD.
    I've just temporarily taken a break from developing due to lack of time, college exams and personal stuff.. However, I will continue to update LKT Module, improve it, fix any bugs, and add support to new/old devices in the future. But don't expect weekly or even monthly updates anymore since current LKT builds are a lot more stable now than before unless there's an urgent major Magisk Update compatibility issue to be fixed or something similar.

    Project WIPE v2 is already out and it promises better efficiency than the current one of LKT. I've been testing it partially for the last couple of weeks on my device, the next LKT v1.9 or v2.0 will bring a lot of changes and further improvements, I will also be testing totally new tweaking parameters for SD855 before next release.

    Last thing, I want to say that I spend a lot of precious time when to make sure that everything is safe and correct before releasing anything and I want to say thanks to everyone who reached out to me in my saythanks.io inbox, I literally received hundreds of messages in no time :good: and without forgetting everyone who is donating and supporting me to continue this project :D
    All the best,
    Omar K.
    27
    LKT v1.9 is finally here !!
    A quick idea about what the new project WIPE v2 offers ( it is used to generate interactive governor parameters )
    Beware technical details below
    Code:
    - Improved endurance and performance scoring function
    - Heuristic optimization algorithm using NSGA-III
    - Optimized execution efficiency by ~450% under the same task volume and hardware conditions
    LKT 1.9 changelog
    Code:
    - New HMP interactive parameters (WIPE V2)
    - Better Support for EAS custom kernels
    - New experimental tweaks for Oneplus 7 Pro and Snapdragon 855 devices! (less lag and more battery and smoothness)
    - Improved support for Snapdragon 625/626
    - RAM management and Multitasking improvement 
    - New terminal UI
    - Unity template update 4.3
    - Bug fixes from the previous version
    Compatibility
    Code:
    *SD 855
    *SD 845
    *SD 835
    *SD 820/821
    *SD 650/652/653
    *SD 660
    *SD 625/626
    *SD 636
    *EXYNOS 8895
    *EXYNOS 8890
    *EXYNOS 7420
    LKT 1.9 also supports all EAS devices like Pixel 1/2/3 and any other device running custom EAS ROM/KERNEL.
    17
    v1.9.1 (18/08/2019)

    • Fixed EAS tweaks not taking effect in previous version
    • Added EAS optimisations via QTI Boost Framework for
      *SD835
      *SD820/821
    • -Various bugs fixes
    v1.9 (15/08/2019)
    • If your device is not supported anymore after this update then downgrade to v1.8 (after uninstalling v1.9 + reboot)
    • Otherwise, try using an EAS ROM/Kernel if you have that option
    • More support for other SoCs will be added in the future when I have enough time
    Current compatibility list:
    • Snapdragon 855
    • Snapdragon 845
    • Snapdragon 835
    • Snapdragon 821
    • Snapdragon 820
    • Snapdragon 730
    • Snapdragon 710
    • Snapdragon 675
    • Snapdragon 660
    • Snapdragon 650
    • Snapdragon 652
    • Snapdragon 636
    • Snapdragon 626
    • Snapdragon 625
    • Exynos 9820
    • Exynos 9810
    • Exynos 8890
    • Exynos 8895
    • Exynos 7420
    Download link for current & older version: Google Drive