Created
February 20, 2022 00:00
-
-
Save yukihane/25d7a829612a70e3c1aca3a18181eace to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://docs.mitmproxy.org/stable/howto-install-system-trusted-ca-android/ | |
作業はWindows10, Git-for-Windows インストールしたときの Git Bash 上で行っている。 | |
mitmproxyをインストールして1度起動しておく | |
scoop install mitmproxy | |
起動すると、証明書が ~/.mitmproxy/ に生成される | |
Android Studio をインストールする | |
元々 JetBrain Toolbox を利用していたのでそこからインストールした | |
https://www.jetbrains.com/ja-jp/toolbox-app/ | |
証明書生成 | |
https://docs.mitmproxy.org/stable/howto-install-system-trusted-ca-android/#instructions | |
にある通り実行 | |
$ cat .bashrc | |
export PATH=$PATH:'/d/Program Files/Nox/bin' | |
# export PATH=$PATH:$HOME/AppData/Local/Android/Sdk/platform-tools | |
# export PATH=$PATH:$HOME/AppData/Local/Android/Sdk/emulator | |
nox player を root起動する設定 | |
(Android内ではなく)Noxの設定画面で、 | |
基本 > Root 起動 | |
起動 | |
nox_adb devices | |
https://kokufu.blogspot.com/2016/10/android-read-only-file-system.html | |
adb connect 127.0.0.1:62026 | |
adb shell | |
mount | |
mount -o rw,remount /system | |
exit | |
MSYS_NO_PATHCONV=1 adb push c8750f0d.0 /system/etc/security/cacerts | |
MSYS_NO_PATHCONV=1 adb shell chmod 664 /system/etc/security/cacerts/c8750f0d.0 | |
再起動 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment