Note: Must have an work profile already setup, So that we can modify fw.sys.max_profiles to allow more work profiles
su # to gain root access
resetprop ro.debuggable 1
am restart
| # Linux recipe: | |
| # python3 -m venv proton-vpn-wireguard-downloader | |
| # pushd proton-vpn-wireguard-downloader | |
| # wget {{ zip url for this gist }} -O proton-vpn-wireguard-downloader.zip | |
| # wget "https://github.com/ProtonVPN/python-proton-core/archive/refs/tags/v0.2.0.zip" -O python-proton-core-0.2.0.zip | |
| # wget "https://github.com/ProtonVPN/python-proton-vpn-logger/archive/refs/tags/v0.2.1.zip" -O python-proton-vpn-logger.0.2.1.zip | |
| # wget "https://github.com/ProtonVPN/python-proton-vpn-api-core/archive/refs/tags/v0.32.2.zip" -O python-proton-vpn-api-core.0.32.2.zip | |
| # unzip -j proton-vpn-wireguard-downloader.zip | |
| # unzip python-proton-core-0.2.0.zip | |
| # unzip python-proton-vpn-logger.0.2.1.zip |
| // This userscript redirects you to the English version of a website if it's denoted in the source code. | |
| // Insert any URLs of websites below (after @match), for example https://developer.mozilla.org/* or https://www.php.net/* | |
| // Use multiple @match clauses to enable the script on several domains. | |
| // ==UserScript== | |
| // @name Redirect to English | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.0 | |
| // @description Redirect websites to their English version | |
| // @author Florian Reuschel <florian@loilo.de> |
| #!/bin/bash | |
| ANDROMEDA_BASE="$(adb shell pm path projekt.andromeda | cut -d : -f 2 | sed s/\\r//g)" | |
| ANDROMOEDA_PID="$(adb shell pidof andromeda)" | |
| if [ -z "${ANDROMEDA_BASE}" ]; then | |
| echo "Could not find projekt.andromeda apk path" | |
| exit 1 | |
| fi |
I found that the "best" way is to use HTML, as it works both in Readme/.md files and also in comments (within Issues, Gist...)
E.g. when adding/editing a comment (within Issues, Gist...) :
 with <img src="https://your-image-url.type" width="100" height="100">As mentioned by @cbestow (thanks!), it's not mandatory to set both width and height. If only one is set, the other will be adjusted accordingly to preserve the aspect ratio of the image.
Migrated with additional information to my blog: https://msfjarvis.dev/posts/understanding-and-resolving-selinux-denials-on-android/
Denial in question
avc: denied { read write } for pid=29059 comm="i.tetherservice" name="ipa" dev="tmpfs" ino=11991 scontext=u:r:system_app:s0 tcontext=u:object_r:ipa_dev:s0 tclass=chr_file permissive=0
sepolicy fix