Skip to content

Commit 2eb1522

Browse files
author
isayan
committed
Readme修正
1 parent f786802 commit 2eb1522

2 files changed

Lines changed: 74 additions & 19 deletions

File tree

Readme-ja.md

Lines changed: 37 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ Language/[English](Readme.md)
55

66
## 概要
77

8-
Android 14 以降では信頼されたRoot証明書へのインストールが困難になっている
8+
Android 14 以降では信頼されたRoot証明書をシステムにインストールすることが困難になっている
99

1010
- https://httptoolkit.com/blog/android-14-breaks-system-certificate-installation/
1111

12-
本制限をバイパスするための方法を示す
12+
バイパスの手順を説明する
1313

1414
## バイパスポイント
1515

16-
API-34 よりシステムの証明書を読み込む処理にて、「/apex/com.android.conscrypt/cacerts」より証明書読み込むようになっているが
16+
API-34 よりシステムの証明書を読み込む処理にて、「/apex/com.android.conscrypt/cacerts」から証明書読み込む処理になっているが
1717
システムプロパティが「system.certs.enabled」となっている場合は、以前の「/system/etc/security/cacerts/」より証明書を取得するコードになっている。
1818

1919
- https://android-review.googlesource.com/c/platform/prebuilts/fullsdk/sources/+/2704396/1/android-34/android/security/net/config/SystemCertificateSource.java
@@ -49,8 +49,9 @@ setImmediate(function () {
4949
})
5050
````
5151

52-
In this case, the Frida script must be specified at startup.
53-
Android XposedModule has created an always available application.
52+
この場合、起動時にFridaスクリプトを指定する必要があります。また複数のアプリに適用するには不便です。
53+
54+
常に利用できる方法として Android の XposedModule を作成しました。
5455

5556
「OverrideSysPropModule/app/release」フォルダに作成した XposedModule のアプリを置いています。
5657

@@ -87,16 +88,43 @@ rootAVD.bat system-images\android-34\google_apis_playstore\x86_64\ramdisk.img In
8788
rootAVD.bat system-images\android-34\google_apis_playstore\x86_64\ramdisk.img InstallPrebuiltKernelModules GetUSBHPmodZ PATCHFSTAB DEBUG
8889
```
8990

90-
4. 最新の Magsisk をダウンロード
91+
4. APIに対応したADVを実行
92+
93+
```sh
94+
.\rootAVD.bat system-images\android-34\google_apis_playstore\x86_64\ramdisk.img FAKEBOOTIMG
95+
```
96+
97+
60秒のウェイトが行われるのでエンターキーで終了する。
98+
99+
```sh
100+
[!] Temporarily installing Magisk
101+
[*] Detecting current user
102+
[-] Current user 0
103+
[-] Starting Magisk
104+
[*] Install/Patch /sdcard/Download/fakeboot.img and hit Enter when done(max. 60s)
105+
```
106+
107+
5. Magisk をダウンロードする
91108

92109
- https://github.com/topjohnwu/Magisk/releases
93110

94-
5. 「rootAVD/Apps」のフォルダにダウンロードしたMagiskアプリをコピーする。
95-
6. 最新の Magisk を含めてインストール
111+
6. 最新の Magisk をインストール
112+
113+
```sh
114+
adb install Magisk.v2x.x.apk
115+
```
116+
117+
7. Magiskの Install の Select and Patch a File から "/sdcard/Download/fakeboot.img" を選択してパッチの作成。
118+
119+
120+
8. 再度APIに対応したADVを実行
96121

97122
```sh
98-
.\rootAVD.bat system-images\android-34\google_apis_playstore\x86_64\ramdisk.img
123+
.\rootAVD.bat system-images\android-34\google_apis_playstore\x86_64\ramdisk.img FAKEBOOTIMG
99124
```
125+
9. 「Zygisk」および「Enforce DenyList」を有効にする。
126+
127+
10. 再起動する。
100128

101129
### Magisk Module をインストール
102130

Readme.md

Lines changed: 37 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ Language/[日本語](Readme-ja.md)
55

66
## Overview
77

8-
Android 14 or later has difficulty installing to trusted Root certificates.
8+
Android 14 and later make it difficult to install a trusted Root certificate on the system.
99

1010
- https://httptoolkit.com/blog/android-14-breaks-system-certificate-installation/
1111

12-
Show how to bypass restrictions.
12+
Describe the steps to bypass.
1313

14-
## bypass point
14+
## Bypass point
1515

1616
API-34 has been reading certificates from "/apex/com.android.conscrypt/cacerts" in the process of reading system certificates.
1717
However, when the system property is set to "system.certs.enabled", the code is to retrieve certificates from "/system/etc/security/cacerts/".
@@ -50,6 +50,8 @@ setImmediate(function () {
5050
````
5151

5252
In this case, the Frida script must be specified at startup.
53+
It is also inconvenient for use with multiple applications.
54+
5355
Android XposedModule has created an always available application.
5456

5557
The created XposedModule app is placed in the "OverrideSysPropModule/app/release" folder.
@@ -60,14 +62,13 @@ The created XposedModule app is placed in the "OverrideSysPropModule/app/release
6062

6163
For emulators, install Magisk according to the following procedure.
6264

63-
1. https://github.com/newbit1/rootAVD Perform git clone from
65+
1. Do a git clone from https://github.com/newbit1/rootAVD
6466

6567
```
6668
git clone https://github.com/newbit1/rootAVD.git
6769
```
6870

6971
2. Start the emulator.
70-
7172
3. Execute the following command from PowerShell on the administration screen to confirm the ADV to be installed.
7273

7374
```sh
@@ -89,19 +90,45 @@ rootAVD.bat system-images\android-34\google_apis_playstore\x86_64\ramdisk.img In
8990
rootAVD.bat system-images\android-34\google_apis_playstore\x86_64\ramdisk.img InstallPrebuiltKernelModules GetUSBHPmodZ PATCHFSTAB DEBUG
9091
```
9192

92-
4. Download the latest Magsisk
93+
4. run ADV corresponding to API
94+
95+
```sh
96+
.\rootAVD.bat system-images\android-34\google_apis_playstore\x86_64\ramdisk.img FAKEBOOTIMG
97+
```
98+
99+
A 60-second wait is performed, which is terminated by pressing the Enter key.
100+
101+
```sh
102+
[!] Temporarily installing Magisk
103+
[*] Detecting current user
104+
[-] Current user 0
105+
[-] Starting Magisk
106+
[*] Install/Patch /sdcard/Download/fakeboot.img and hit Enter when done(max. 60s)
107+
108+
5. Download Magisk
93109

94110
- https://github.com/topjohnwu/Magisk/releases
95111

96-
5. copy the downloaded Magisk application to the folder "rootAVD/Apps"
97-
6. install Magisk including the latest
112+
6. Install the latest Magisk
98113

99114
```sh
100-
.\rootAVD.bat system-images\android-34\google_apis_playstore\x86_64\ramdisk.img
115+
adb install Magisk.v2x.x.apk
101116
```
102117

103-
### Install Magisk Module
118+
7. Select "/sdcard/Download/fakeboot.img" from Select and Patch a File in Magisk Install to create the patch.
119+
120+
8. re-run ADV corresponding to API
121+
122+
```sh
123+
.\rootAVD.bat system-images\android-34\google_apis_playstore\x86_64\ramdisk.img FAKEBOOTIMG
124+
125+
9. Enable "Zygisk" and "Enforce DenyList".
126+
127+
10. Reboot the system.
104128
129+
### Install Magisk Module
130+
131+
```
105132
1. Install Magisk Module.
106133

107134
- https://github.com/NVISOsecurity/MagiskTrustUserCerts/releases

0 commit comments

Comments
 (0)