Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

OneB1ank/zygisk-Tweaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tweaker

C Language C++ Language Bash Shell Android Support arm64-v8a Support 加入电报频道

English | 简体中文

Reads a JSON configuration to disguise the device model and unlock high frame rates for specified applications. Automatically detects the device refresh rate to match suitable device models. Customizes the FPS and resolution for Unity games by calling functions. Difficult to detect with zygisk implementation.

✨Key Features

  • Disguises device model to achieve high frame rates
  • Customizes FPS and resolution for Unity games

💡Instructions

  • Enabling zygisk is required to use this module
  • This module supports Android 8 ~ 14, with platform support for arm64-v8a and armeabi-v7a
  • Magisk version should be 20.4+ and ksu is mostly compatible
  • This module has minimal conflicts with device model modules

📝Custom Configuration

  • JThe JSON configuration file is located at/sdcard/Android/HChai/HC_tweaker/tweaker.json
  • After modifying the configuration, it is recommended to use a JSON syntax checking tool to ensure there are no syntax errors. If there is no effect, execute `logcat | grep "ZygiskTweaker"`` in the terminal to view the error reason. Note that after executing this command, you need to open the application to output logs.

JSON configuration example:

{
    "project": {
        "author": "火機@coolapk",
        "name": "Official Configuration [23.11.02]"
    },
    "modules": {
        "settings": {
            "fps_unlock": true, // Enable unlocking high frame rates. If set to false, the game will not have its frame rate unlocked, but device model disguising will still work for Game mode and Unity mode.
            "refresh_rate": "144" // Refresh rate. The module will automatically detect the device refresh rate upon installation, but you can also manually modify it.
        },
        "game": [
            {
                "package": ["com.riotgames.league.teamfighttactics", "com.tencent.jkchess"], // Game package name(s) in an array format. You can specify multiple packages.
                "tweaker" : [
                    {
                        "rate": 144, // Frame rate as a number
                        "brand": "Lenovo", // Brand
                        "model": "Lenovo TB320FC", // Device model
                        "device": "" // Device name (optional). Brand and model must be specified.
                    },
                    {
                        "rate": [90,120], // Frame rate as an array. You can specify multiple frame rates.
                        "brand": "Xiaomi", // Brand
                        "model": "23046RP50C", // Device model
                        "device": "" // Device name (optional). Brand and model must be specified.
                    }
                ]
            },
            {
                "package": "com.tencent.tmgp.sgame", // Game package name as a string. You can only specify one package.
                "tweaker" : [
                    {
                        "rate": 120, // Frame rate as a number
                        "brand": "Nubia", // Brand
                        "model": "NX729J", // Device model
                        "device": "" // Device name (optional). Brand and model must be specified.
                    }
                ]
            }
        ],
        "unity": [
            {
                "package": ["com.riotgames.league.teamfighttactics", "com.tencent.jkchess"], // Game package name(s) in an array format. You can specify multiple packages, or use a string format like in the 'game' section.
                "settings": {
                    "fps": 144, // Frame rate as a number
                    "time": 15, // Delay time in seconds
                    "width": 0, // Width of resolution. 0 means no modification.
                    "height": 0, // Height of resolution. 0 means no modification.
                    "lock_fps": false // Whether to lock the frame rate. Set to true for forced lock, false for no lock.
                }
            }
        ]
    }
}
  • In the game and unity settings, you can enter multiple or single values for package. Please be aware that replacing lock_fps with an empty implementation using Dobby may result in an account ban.

🔍Frequently Asked Questions

Unity FPS unlock is not working or causing crashes

  • If it causes crashes, it means that the game has detected it. If it doesn't work, it means that the game does not support it. You can try setting lock_fps to true. If it still doesn't work, it means that the game does not support it.

What is the difference between game and unity?

  • game disguises the device model for games to unlock high frame rates, while unity forces FPS and resolution modifications for Unity games.

If refresh_rate is set to 144, but the disguised device models do not support 144, what happens?

  • It will automatically lower the frame rate to the closest supported value. For example, if there are two device models, one supports 120 and the other supports 90, then 144 will be lowered to 120. If there is no support for 120, then it will be lowered to 90.

🏷️Supported games

  • 金铲铲之战(com.tencent.jkchess) [disguise] Supports 165,144,120,90
  • TFT(com.riotgames.league.teamfighttactics) [disguise] Supports 165,144,120,90
  • 王者荣耀(com.tencent.tmgp.sgame) [disguise] Supports 120,90
  • 和平精英(com.tencent.tmgp.pubgmhd) [disguise] Supports 90
  • Call of Duty: Mobile(com.activision.callofduty.shooter) [disguise] Supports 120,90
  • 決勝時刻(com.tencent.tmgp.codm) [disguise] Supports 120,90
  • 使命召唤手游(com.tencent.tmgp.cod) [disguise] Supports 120,90
  • Call of Duty: Mobile - VNG(com.vng.codmvn) [disguise] Supports 120,90
  • Call of Duty: Mobile - Garena(com.garena.game.codm) [disguise] Supports 120,90
  • Call of Duty: Mobile - Tencent(com.tencent.tmgp.kr.codm) [disguise] Supports 120,90
  • 英雄联盟手游(com.tencent.lolm) [disguise] Supports 120,90
  • League of Legends: Wild Rift(com.riotgames.league.wildrift) [disguise] Supports 120,90
  • 火影忍者(com.tencent.KiHan) [disguise] Supports 120,90
  • 穿越火线手游(com.tencent.tmgp.cf) [disguise] Supports 120,90
  • 高能英雄(com.tencent.tmgp.gnyx) [disguise] Supports 90
  • PUBGm(com.tencent.ig) [disguise] Supports 90
  • 暗区突围(com.tencent.mf.uam) [disguise] Supports 120,90
  • QQ飞车(com.tencent.tmgp.speedmobile) [disguise] Supports 144,120,90
  • Shadowgun Legends(com.madfingergames.legends) [disguise] Supports 120,90
  • Black Desert Mobile(com.pearlabyss.blackdesertm,com.pearlabyss.blackdesertm.gl) [disguise] Supports 120,90
  • Battlegrounds Mobile India(com.pubg.imobile) [disguise] Supports 90
  • Free Fire MAX(com.dts.freefiremax) [disguise] Supports high frame rate
  • Garena Free Fire(com.dts.freefireth) [disguise] Supports high frame rate
  • FIFA Mobile Soccer(com.ea.gp.fifamobile) [disguise] Supports high frame rate
  • Asphalt 9: Legends(com.gameloft.android.ANMP.GloftA9HM) [disguise] Supports high frame rate
  • Apex Legends Mobile(com.ea.gp.apexlegendsmobilefps) [disguise] Supports high frame rate
  • Tower of Fantasy(com.levelinfinite.hotta.gp) [disguise] Supports high frame rate
  • Mobile Legends: Bang Bang(com.mobile.legends,com.mobilelegends.mi,com.vng.mlbbvn) [disguise] Supports high frame rate
  • Cyber Hunter(com.netease.lztgglobal) [disguise] Supports high frame rate
  • PUBG MOBILE(com.pubg.krmobile,com.rekoo.pubgm,com.vng.pubgmobile) [disguise] Supports 90
  • League of Legends: Wild Rift(com.riotgames.league.wildrift,com.riotgames.league.wildrifttws,com.riotgames.league.wildriftvn) [disguise] Supports high frame rate
  • Clash of Clans(com.supercell.clashofclans) [disguise] Supports high frame rate
  • Fortnite(com.epicgames.fortnite,com.epicgames.portal) [disguise] Supports high frame rate
  • 香肠派对(com.sofunny.Sausage) [FpsUnlock] Default 120
  • 金铲铲之战(com.tencent.jkchess) [FpsUnlock] Default 120
  • TFT(com.riotgames.league.teamfighttactics) [FpsUnlock] Default 120

🚀Download

🌟Star History

Star History Chart

Thanks to the following users for their testing feedback and bug identification:

  • @火機(coolapk)

🎉Support Donations

If you find this module useful, you can make a donation to support me.

  • 爱发电
  • USDT(TRC20)

    Address: TSqTqn2NcyUAbEwsdGgsrYoU5pokno5PnQ

About

zygisk实现的机型伪装和fps解锁模块

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages