1. Preliminary preparation
The mobile device needs to meet the following conditions:
1.手机adb 拥有root权限,可以通过执行adb root命令
2.手机系统版本>=8.0
3.本文讨论的riru不是最新版本的,是基于替换libmemtrack.so完成zygote注入的版本
Preparation of riru and Edxposed related documents:
可以微信搜索"QDROID88888"或者扫描二维码加入公众号,发送消息"adbEdxposed"获取下载地址
After downloading riru and Edxposed related files, the directory is as follows:
2. Description of related documents
After riru and Edxposed are downloaded, there are two directories and an apk file.
1.EdxposedManager
The apk file is installed on the phone to check whether the framework is installed successfully
2.data directory
The files under the data directory are generated when Magisk is used to brush riru-core. "/data/misc/riru/modules" stores riru module information.
3.system directory
This directory stores the modified libmemtrack.so file, riru library file, and the jar and so files released by Edxposed installation.
Three, adb command to install Edxposed
1. adb riru
Execute the following commands:
C:\Users\Qiang>adb root
adbd is already running as root
C:\Users\Qiang>adb remount
[libfs_mgr]dt_fstab: Skip disabled entry for partition vendor
[libfs_mgr]dt_fstab: Skip disabled entry for partition vendor
[libfs_mgr]dt_fstab: Skip disabled entry for partition vendor
remount succeeded
C:\Users\Qiang>adb push E:\studyspace\Android10\magisk\test\data /
E:\studyspace\Android10\magisk\test\data\: 5 files pushed, 0 skipped. 0.0 MB/s (329 bytes in 0.030s)
2.adb install Edxposed
C:\Users\Qiang>adb root
adbd is already running as root
C:\Users\Qiang>adb remount
[libfs_mgr]dt_fstab: Skip disabled entry for partition vendor
[libfs_mgr]dt_fstab: Skip disabled entry for partition vendor
[libfs_mgr]dt_fstab: Skip disabled entry for partition vendor
remount succeeded
C:\Users\Qiang>adb push E:\studyspace\Android10\magisk\test\system /
E:\studyspace\Android10\magisk\test\system\: 12 files pushed, 0 skipped. 19.4 MB/s (4418316 bytes in 0.218s)
3. Install EdXposedManager
C:\Users\Qiang>adb install E:\studyspace\Android10\magisk\mogai\test\EdXposedManager-4.5.7-45700-org.meowcat.edxposed.manager-release.apk
Performing Streamed Install
Success
4. Restart the phone
After the above installation is complete, restart the phone and open Edxposed Manager to check whether the installation is successful.
After success, it looks like this:
Edxposed learning research related articles:
Teach you how to install Edxposed
Compile the source code of Riru and Edxposed project by hand
Follow-up wonderful articles continue, so that you can receive the latest articles as soon as possible. Pick up your mobile phone and scan the WeChat QR code to follow the official account and join the group to exchange security-related technologies with the big guys.