No description
.github/workflows | ||
BromiteWebview | ||
product/overlay/BromiteWebviewOverlay | ||
updater | ||
bromite.mk | ||
LICENSE | ||
README.md |
Bromite System Webview
This is a repositery hosting the make files and apk to successfully implement Bromite's 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>
<project name="matt1432/android_vendor_bromitewebview" path="vendor/bromite" remote="github" revision="master" />
</manifest>
With lineageos4microg/docker-lineage-cicd
#1
Simply add BromiteWebview BromiteWebviewOverlay
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/bromite/bromite.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/bromite/bromite.mk)
Credits
- Bromite themselves
- Magisk-Module/open_webview for overlay's AndroidManifest.xml
- arovlad/bromite-webview-overlay for inspiration and examples I used