Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

dearlancer/repack

Repository files navigation

Apk签名hook服务

通过插入代码到 Application 入口,hook 了程序中 PackageManager 的 getPackageInfo 方法,改变签名信息达到绕过签名校验的方式。 对其他校验方式无效。

使用

  1. 安装java,配置安卓环境变量和aapt工具
    export ANDROID_HOME="$HOME/Library/Android/sdk"
    export ANDROID_TOOLS="$ANDROID_HOME/tools/bin"
    export ANDROID_PLATFORM_TOOLS="$ANDROID_HOME/platform-tools"
    export ANDROID_BUILD_TOOLS="$ANDROID_HOME/build-tools/28.0.3/"
    export NDK_ROOT="$HOME/Library/Android/sdk/ndk-bundle/"
    export PATH="$HOME/node_modules/.bin:$ANDROID_BUILD_TOOLS:$ANDROID_PLATFORM_TOOLS:$ANDROID_TOOLS:$NDK_ROOT:$PATH"
    alias appt="$ANDROID_HOME/build-tools/28.0.3//aapt"
  2. 安装smali
    brew install smali
  3. 修改config.txt配置文件
  4. 运行Repack

About

安卓重签名工具

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /