Skip to content

[Feature Request] More comprehensive optimization improvements #25

@ghost

Description

Is your feature request related to a problem?/你的请求是否与某个问题相关?

Add command-c, --disable-acf Disable app component factory

loader.dex
(org/lsposed/lspatch/loader/LSPApplication)createLoadedApkWithContext()
Confuse all the strings in this method to prevent others from directly viewing my customized path from the unconfused characters.
Image

Constants.java
final static public String LOADER_DEX_ASSET_PATH
(If you change the path or the loader.dex name, running the Actions CI build will result in an error. I hope to be able to modify this path directly without an error.)

LSPApplication.java
Path originPath = Paths.get(appInfo.dataDir,
(However, Root can easily get origin.apk even if I create thousands of paths from ORIGINAL_APK_ASSET_PATH.
/data/data/[PACKAGE]/cache/lspatch/origin)

I modified the ORIGINAL_APK_ASSET_PATH in the source code 'Constants.java' to thousands of paths with different characters. The purpose is to hide my "origin.apk" from others.
Can we delete the Path originPath = Paths.get(appInfo.dataDir)? Or add protection to the .apk file of this path (even if others get it, they can't install it). Can we encrypt the extracted code and decrypt it when the code is running? 360's instruction extraction is to encrypt the protected method code again after extracting it.

Describe the solution you'd like/描述你想要的解决方案

Already explained in the post

Additional context/其他信息

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions