No description
.forgejo/workflows | ||
MulchWebview | ||
product/overlay/MulchWebviewOverlay | ||
updater | ||
LICENSE | ||
mulch.mk | ||
README.md |
Mulch System Webview
This is a repositery hosting the make files and apk to successfully implement DivestOS's Mulch System Webview in an ARM64/ARMv8 android device ROM. It uses an overlay, adds the app to the system and removes AOSP's webview to do so.
I recommend using lineageos4microg/docker-lineage-cicd to build it.
Implementation
To do this, add a repo manifest file to include this repository like so :
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="gitea" fetch="https://git.nelim.org/" />
<project name="matt1432/android_vendor_mulchwebview" path="vendor/mulch" remote="gitea" revision="main" />
</manifest>
With lineageos4microg/docker-lineage-cicd
#1
Simply add MulchWebview MulchWebviewOverlay
in the CUSTOM_PACKAGES
environment variable in your docker-compose.yml file.
#2
If you don't want to make your CUSTOM_PACKAGES
variable too long, you can make a before.sh
script in the /srv/userscripts
folder and add this line in it :
sed -i "1s;^;\$(call inherit-product-if-exists, vendor/mulch/mulch.mk)\n\n;" "/srv/src/LINEAGE_19_1/vendor/lineage/config/common.mk"
Without lineageos4microg/docker-lineage-cicd
You need to edit the "vendor/lineage/config/common.mk" file by adding :
$(call inherit-product-if-exists, vendor/mulch/mulch.mk)
Credits
- Mulch
- Bromite for older builds
- Magisk-Module/open_webview for overlay's AndroidManifest.xml
- arovlad/bromite-webview-overlay for inspiration and examples I used