Commit Graph

19 Commits (b12c06568c46ce521fc89fdf1d6c26f42398e06b)

Author SHA1 Message Date
Casu Al Snek e0de64c047
Merge pull request from mkg20001/fdroidpriv
Add fdroidpriv for installing f-droid privleged extension
Casu Al Snek bc3efd48c2
Merge pull request from linyinfeng/fix-houdini
Fix binfmt_misc mounting for libhoudini
Casu Al Snek cd6239737a Downgrade magisk to Magisk_Delta_25210_canary_fdac22ba
Syuugo 76caf7e1d7
Fix filename
Syuugo 3527282950
Redirect user
Syuugo d2502086ed
Update MTG package
Maciej Krüger c5110830f7
Add fdroidpriv for installing f-droid privleged extension
Lin Yinfeng bd8d53906a
Fix binfmt_misc mounting for libhoudini
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/
Rikka 821c7c0bc2
Update prompt
Rikka 6d5af57ebc
fix: Fix simlink path issue
https://github.com/casualsnek/waydroid_script/issues/101
Relative path fails when using symlink. Replace it with absolute path.
Rikka a80ff8e855
update hidestatusbar link
Rikka 3e51f7f56e
update smartdock link
Rikka e1ee7f0b0c
Fix capitalization of MicroG and update nodataperm
SUFandom 9c2d8fcd83
[URGENT] Update nodataperm.py
Change the MD5Sum Because trying it spams error because its invalid

Suggestion: Just add the main.zip to the Releases tag and let The script grab the 'stable' version there an just change it alongside with the python script library for update to not add issues
Rikka 910291ceb9
libndk: match the correct version of libndk
Alessandro Astone 2e693d03db
Switch to a good verison of libndk_translation
The previous version targeted Android 12 if 64 bit, so native arm64 apks
are very likely to not work. Switch to a version targeting Android 11.
Rikka 4777296b34
smartdock: download from fdroid
Rikka cb9d2b4726
update: README.md