Commit Graph
29 Commits
Author SHA1 Message Date
huakim 14355e97ff Merge pull request #5 from arjun-234/main
Fixes and Code Refactoring
2024-10-08 06:28:29 +03:00
huakim 817fedd34b Make InquirerPy module optional 2024-07-10 09:34:31 +03:00
Arjun D 11207a08d9 Fixes and Code Refactoring
1. Refactored function names for better readability and adherence to PEP 8 naming conventions. 2. Addressed several syntax and logical errors in the provided code. 3. Improved code structure and removed redundant code blocks. 4. Ensured consistent use of f-strings for string formatting. 5. Updated imports for better organization and clarity. 6. Resolved issues related to variable usage and scope. 7. Checked and fixed potential runtime errors. 8. Enhanced code comments to improve code documentation. Overall, the changes aim to improve the code's maintainability, readability, and correctness.
2024-03-10 09:54:11 +05:30
Maciej Krüger c5110830f7 Add fdroidpriv for installing f-droid privleged extension 2023-11-20 03:35:08 +01: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
Rikka e1ee7f0b0c Fix capitalization of MicroG and update nodataperm 2023-08-24 23:21:53 +08:00
ayasa520 337d066eeb fix(microg): typos 2023-08-24 23:17:14 +08:00
Rikka cb206cc8c0 libndk: fix libndk parameter 2023-05-27 16:55:31 +08:00
Rikka 910291ceb9 libndk: match the correct version of libndk 2023-05-27 16:55:31 +08:00
Rikka 4777296b34 smartdock: download from fdroid 2023-05-27 16:55:31 +08:00
Rikka cb9d2b4726 update: README.md 2023-05-27 16:55:30 +08:00
Rikka 0ab4b1c0f7 fix: ndk translation prop 2023-05-27 16:55:30 +08:00
Rikka 7fcfe62e66 Fix typing errors 2023-05-27 16:55:29 +08:00
Rikka 3900328b83 Add interactive command line interface 2023-05-27 16:55:29 +08:00
Rikka 48ea54fc3e refactor 2023-05-27 16:55:29 +08:00
Rikka 6922bdba0d microg: use MinMicroG 2023-05-27 16:55:29 +08:00
Rikka c48b1df5cd support a13 image 2023-05-27 16:55:28 +08:00
Rikka d72bf018d1 Execute commands on waydroid shell with pipes 2023-05-27 16:55:27 +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 dbf630ba7e update smartdock 2023-05-27 16:52:26 +08:00
Rikka 59ad317684 install smart dock 2023-05-27 16:46:13 +08:00
Casu Al Snek 4f6410c3bb Merge pull request #84 from tutacat/patch-5
Allow CLI help without root
2023-04-26 12:49:21 +05:45
cobalt2727 545e733566 fix widevine typo 2023-04-25 21:16:59 -04:00
tutacat 771b8d7224 Allow CLI help without root
Move helper.check_root to after argparse runs, so it can display the help without needing root.
2023-04-24 23:13:41 +01:00
Rikka 62749bbb8e Refuse to install arm translation on x86 2023-01-20 12:05:43 +08:00
Rikka df46ba8fed Refactor: Split into multiple small scripts 2023-01-19 13:14:45 +08:00