Magisk/Riru/LSPosed安装

Magisk/Riru/LSPosed安装

1: Magisk安装下载

​ 首先附上Magisk地址: https://github.com/topjohnwu/Magisk/releases

  1. 下载应用apk.
  2. 安装后,根据应用内提示重新安装,重启手机

2: Riru安装

  1. https://github.com/RikkaApps/Riru
  2. https://github.com/RikkaApps/Riru/releases/tag/v26.1.7
  3. 下载riru-v26.1.7.r530.ab3086ec9f-release.zip
  4. push到手机
  5. magisk 本地安装.
  6. 重启手机

3: Lsposed安装

  1. https://github.com/LSPosed/LSPosed/releases下载最新版本 LSPosed-v1.9.2-7024-riru-release.zip
  2. push到手机
  3. magisk 本地安装. 此时提示riru not install
  4. 未找到原因, 修改magisk,开启zygisk
  5. 下载 LSPosed-v1.9.2-7024-zygisk-release.zip
  6. 重新本地安装,安装成功.
  7. 重启 发现桌面未有图标生成. (由于只是桌面的快捷方式启动,在应用列表中不会找到.) 另外导航栏中会有LSPosed的通知栏,点击可打开管理器.

4: Xposed相关

  1. 长时间没运行之前xposed的demo.

  2. compileOnly 'de.robv.android.xposed:api:82’依赖找不到404了.

    具体的错误如下:

    Could not determine the dependencies of task ‘:app:compileDebugJavaWithJavac’.

    Could not resolve all task dependencies for configuration ‘:app:debugCompileClasspath’.
    Could not find de.robv.android.xposed:api:82.
    Searched in the following locations:

    • https://dl.google.com/dl/android/maven2/de/robv/android/xposed/api/82/api-82.pom
      https://dl.google.com/dl/android/maven2/de/robv/android/xposed/api/82/api-82.jar
      • https://jcenter.bintray.com/de/robv/android/xposed/api/82/api-82.pom
        https://jcenter.bintray.com/de/robv/android/xposed/api/82/api-82.jar
        Required by:
        project :app

    Possible solution:

    • Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
  3. 解决办法:

    allprojects {
        repositories {
            google()
            jcenter()
    		// 添加此库
            maven { url "https://api.xposed.info/" }    }
    }
    
  4. 重新编译运行成功.

你可能感兴趣的:(逆向,android)