Commit graph

47 commits

Author SHA1 Message Date
Casu Al Snek
acbb764ac5
Merge pull request #94 from mak448a/patch-1
Various grammar fixes
2023-09-26 19:06:34 +05:45
mak448a
6706f4b9d7
Merge branch 'main' into patch-1 2023-09-24 20:50:18 -05:00
Claudia
b1c88db1ce
Feature: install self-signed cacert to trust store
For analysis and reverse engineering, it can be helpful to insert a
custom CA certificate into Waydroid’s system-wide trust store.
Users used to be able to do that via Android’s settings but not anymore.

The `install mitm` command accepts a path to a file that contains a
– typically self-signed – CA certificate in PEM format.
It then renames [1] and copies the file into the overlay file system,
placing it into Waydroid’s trust store.

As a usage example, the following command lines enable your host to use
mitmproxy [2] to act as a proxy and to intercept [3] HTTP(S) connections
that come from the Waydroid container:

```sh
$ timeout --preserve-status 2 mitmdump -n                           # creates a CA cert in ~/.mitmproxy
$ sudo venv/bin/python3 main.py install mitm --ca-cert ~/.mitmproxy/mitmproxy-ca-cert.pem
INFO: Creating directory: /system/etc/security/cacerts
INFO: Copying /home/yourname/.mitmproxy/mitmproxy-ca-cert.pem to system trust store
INFO: Target file: /system/etc/security/cacerts/6320a7db.0
INFO: mitm installation finished
$ sudo waydroid shell -- ls -l /system/etc/security/cacerts         # double-check that it worked
[…]
-rw-r--r-- 1 root root 1191 2024-01-01 00:00 6320a7db.0
[…]
$ adb shell settings put global http_proxy ${YOUR_IP_HERE?}:3128    # tell Waydroid to use the proxy
                                                                    #     for all connections
$ mitmproxy -p 3128                                                 # start proxy and display a TUI
                                                                    #     with HTTP(S) connections
                                                                    #     coming from Waydroid
```

[1]: https://docs.mitmproxy.org/stable/howto-install-system-trusted-ca-android/#2-rename-certificate

[2]: https://mitmproxy.org/

[3]: https://docs.mitmproxy.org/stable/mitmproxytutorial-interceptrequests/
2023-09-23 18:34:14 +02:00
Benjamin Loison
367697d59e
Add bash syntax highlighting to README.md 2023-09-17 02:26:48 +02:00
Rikka
854b4b0a6c
Use venv to avoid breaking Python installation or OS 2023-08-24 23:33:04 +08:00
axolotlek
098036cca9 fixed mistakes in readme 2023-07-25 14:46:43 +03:00
axolotlek
212135d3c8 fixed mistakes in readme 2023-07-25 13:59:51 +03:00
mak448a
7b5c7f64c0
Update README.md 2023-06-15 13:53:47 -05:00
mak448a
b80dcf171f
Update README.md 2023-06-15 13:38:56 -05:00
ayasa520
ddcc581a9c
Update README.md 2023-05-27 17:43:07 +08:00
Rikka
6db853e8d1
Update README.md 2023-05-27 17:35:47 +08:00
Rikka
cb9d2b4726
update: README.md 2023-05-27 16:55:30 +08:00
Rikka
3900328b83
Add interactive command line interface 2023-05-27 16:55:29 +08:00
ayasa520
00714a5c0e
Update README.md 2023-05-27 16:55:28 +08:00
Rikka
c48b1df5cd
support a13 image 2023-05-27 16:55:28 +08:00
Rikka
8c66e7cf34
Update README 2023-05-27 16:55:27 +08:00
Rikka
553f48fa27
arm widevine
arm widevine
2023-05-27 16:55:26 +08:00
Rikka
53a4bad536
Add: hide status bar 2023-05-27 16:55:26 +08:00
Rikka
0d7681bccb
add uninstall function 2023-05-27 16:55:24 +08:00
Rikka
0bc2cedc2d
add microG 2023-05-27 16:52:55 +08:00
Rikka
fa9e89e868
HACK: granting full permission for apps data 2023-05-27 16:52:55 +08:00
Rikka
72e34c4a38
update README.md 2023-05-27 16:52:53 +08:00
Casu Al Snek
97020f99c1
Merge branch 'main' into 1.4 2023-01-23 11:25:14 +05:45
Rikka
da15751629
Update: README.md 2023-01-19 13:19:06 +08:00
Rikka
4681bb48fe
Update README 2023-01-12 14:53:24 +08:00
Rikka
d27de7d4b5
Fix CPU architecture detection for Magisk installation 2023-01-08 13:57:36 +08:00
LegacyGamerHD
e77cd523a0
add Widevine to the readme 2023-01-02 13:15:11 +01:00
ayasa520
8f1b6a2712 Merge remote-tracking branch 'waydroid_script/OverlayFS' into OverlayFS2 2023-01-02 17:55:03 +08:00
Rikka
cbcd5365c8
Fix bootanim.rc being incorrectly patched after updating magisk 2023-01-02 01:02:57 +08:00
LegacyGamerHD
c207028677
Update README.md 2022-11-06 18:19:10 +01:00
LegacyGamerHD
be97f33bcd
Test 2022-11-03 08:21:24 +01:00
Casu Al Snek ( Sabin )
4bdb95aee0
Update README.md 2022-07-22 11:48:11 +05:45
LegacyGamerHD
8ad6bb8283
Update README.md 2022-06-26 12:16:14 +02:00
Casu Al Snek
e496d2ece8
Archive the repo 2022-05-01 12:54:04 +05:45
Casu Al Snek
1c6e6456e6
Update README.md 2022-05-01 12:53:29 +05:45
Bruno Cabral
02811ad01d
Update README with umount instructions
this solves issue #33
2022-04-14 10:11:26 -07:00
SoftwareRat
989945827a
changed-deps-install
Changed design and more Distros added
2022-03-07 22:07:16 +01:00
Casu Al Snek
f4f4cf380b
Update README.md 2022-01-02 10:37:57 +05:45
Casu Al Snek
5f1d9a80e9 Merge branch 'main' of https://github.com/casualsnek/waydroid_script 2021-11-15 17:24:54 +05:45
Casu Al Snek
f1dfe50076 Add option to install libhoudini arm translation 2021-11-15 17:24:45 +05:45
Casu Al Snek
74ddf6f467
Add view counter to README.md 2021-11-09 00:07:49 +05:45
小亨
6c8d627a76
Update README.md
Typo
2021-10-30 19:02:13 +08:00
Casu Al Snek
c784d42cf9
Corrected requirement installation instructions 2021-10-10 22:11:17 +05:45
Casu Al Snek
e2f3984140
Update note for magisk installation ! 2021-10-07 22:53:33 +05:45
Casu Al Snek
66bc64cf55
Add instructions for magisk installation. 2021-10-05 21:09:21 +05:45
Casu Al Snek
8955fe7b28
Update README.md 2021-10-03 02:30:59 +05:45
Casu Al Snek
964eeb702b
Initial commit 2021-10-03 01:58:50 +05:45