Upload files to "/"
This commit is contained in:
parent
7c65c871d6
commit
832bb02e5c
5 changed files with 26 additions and 11 deletions
14
README.md
14
README.md
|
@ -4,12 +4,13 @@ A Magisk module, that changes your WebView Implementation.
|
|||
|
||||
What is a WebView?
|
||||
|
||||
An APK that responsible for displaying Web based content. Usually most of the Android phone comes with Chrome (+ TrichromeLibrary) or Google's Android System WebView.
|
||||
An APK that responsible for displaying Web based content.
|
||||
Usually most of the Android phone comes with Chrome (+ TrichromeLibrary) or Google's Android System WebView.
|
||||
|
||||
Prerequisite:
|
||||
|
||||
Android phone with at least 28 API (Android 9)
|
||||
Magisk installed
|
||||
Magisk or KernelSU installed
|
||||
Internet Connection
|
||||
|
||||
Choosable WebViews:
|
||||
|
@ -20,13 +21,16 @@ Choosable WebViews:
|
|||
|
||||
How to install:
|
||||
|
||||
Download a release with the desired/compatible WebView.
|
||||
Flash in Magisk.
|
||||
Run action button in Magisk app to update the installed WebView.
|
||||
Download the desired WebView implementation from release page.
|
||||
If you are on KernelSU, then you must flash magic_overlayfs module first (Reboot is needed!).
|
||||
Flash the downloaded release and reboot.
|
||||
Use the action button in Magisk/KernelSU app to update the actual WebView.
|
||||
|
||||
Credits:
|
||||
|
||||
topjonwhu for Magisk
|
||||
Tiann for KernelSU
|
||||
Zackptg5 for MMT-Extended
|
||||
F3FFO for Open WebView module
|
||||
HuskyDG for magic_overlayfs module
|
||||
RavePriest1 Community (mainly Nippy) for the private Forgejo
|
|
@ -1,7 +1,7 @@
|
|||
#!/system/bin/sh
|
||||
|
||||
echo "Downloading Update..."
|
||||
curl -L -o /data/local/tmp/CromiteWebView.apk https://github.com/uazo/cromite/releases/latest/download/arm64_SystemWebView64.apk
|
||||
curl --dns-servers 1.1.1.1,1.0.0.1 -L -o /data/local/tmp/CromiteWebView.apk https://github.com/uazo/cromite/releases/latest/download/arm64_SystemWebView64.apk
|
||||
sleep 1
|
||||
echo "Installing Update..."
|
||||
su -c pm install --install-location 1 /data/local/tmp/CromiteWebView.apk
|
||||
|
|
11
customize.sh
11
customize.sh
|
@ -25,3 +25,14 @@ MINAPI=28
|
|||
SKIPUNZIP=1
|
||||
unzip -qjo "$ZIPFILE" 'common/functions.sh' -d $TMPDIR >&2
|
||||
. $TMPDIR/functions.sh
|
||||
|
||||
OVERLAY_IMAGE_EXTRA=0 # number of kb need to be added to overlay.img
|
||||
OVERLAY_IMAGE_SHRINK=true # shrink overlay.img or not?
|
||||
|
||||
# Only use OverlayFS if Magisk_OverlayFS is installed
|
||||
if [ -f "/data/adb/modules/magisk_overlayfs/util_functions.sh" ] && \
|
||||
/data/adb/modules/magisk_overlayfs/overlayfs_system --test; then
|
||||
ui_print "- Add support for overlayfs"
|
||||
. /data/adb/modules/magisk_overlayfs/util_functions.sh
|
||||
support_overlayfs && rm -rf "$MODPATH"/system
|
||||
fi
|
|
@ -6,7 +6,7 @@ ARCH=$(getprop ro.product.cpu.abi)
|
|||
# Updater
|
||||
if [[ "$ARCH" = "armeabi-v7a" ]]; then
|
||||
echo "Downloading Update..."
|
||||
curl -o /data/local/tmp/MulchWebView.apk https://gitlab.com/divested-mobile/mulch/-/raw/master/prebuilt/arm/webview.apk
|
||||
curl --dns-servers 1.1.1.1,1.0.0.1 -o /data/local/tmp/MulchWebView.apk https://gitlab.com/divested-mobile/mulch/-/raw/master/prebuilt/arm/webview.apk
|
||||
sleep 1
|
||||
echo "Installing Update..."
|
||||
su -c pm install --install-location 1 /data/local/tmp/MulchWebView.apk
|
||||
|
@ -17,7 +17,7 @@ if [[ "$ARCH" = "armeabi-v7a" ]]; then
|
|||
echo "Update Done!"
|
||||
else
|
||||
echo "Downloading Update..."
|
||||
curl -o /data/local/tmp/MulchWebView.apk https://gitlab.com/divested-mobile/mulch/-/raw/master/prebuilt/arm64/webview.apk
|
||||
curl --dns-servers 1.1.1.1,1.0.0.1 -o /data/local/tmp/MulchWebView.apk https://gitlab.com/divested-mobile/mulch/-/raw/master/prebuilt/arm64/webview.apk
|
||||
sleep 1
|
||||
echo "Installing Update..."
|
||||
su -c pm install --install-location 1 /data/local/tmp/MulchWebView.apk
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#!/system/bin/sh
|
||||
|
||||
echo "Downloading Update..."
|
||||
curl -o /data/local/tmp/VanadiumTrichromeLibrary.apk https://gitlab.com/grapheneos/platform_external_vanadium/-/raw/14/prebuilt/arm64/TrichromeLibrary.apk
|
||||
curl --dns-servers 1.1.1.1,1.0.0.1 -o /data/local/tmp/VanadiumTrichromeLibrary.apk https://gitlab.com/grapheneos/platform_external_vanadium/-/raw/15/prebuilt/arm64/TrichromeLibrary.apk
|
||||
sleep 1
|
||||
curl -o /data/local/tmp/VanadiumWebView.apk https://gitlab.com/grapheneos/platform_external_vanadium/-/raw/14/prebuilt/arm64/TrichromeWebView.apk
|
||||
curl --dns-servers 1.1.1.1,1.0.0.1 -o /data/local/tmp/VanadiumWebView.apk https://gitlab.com/grapheneos/platform_external_vanadium/-/raw/15/prebuilt/arm64/TrichromeWebView.apk
|
||||
sleep 1
|
||||
echo "Installing Update..."
|
||||
su -c pm install --install-location 1 /data/local/tmp/VanadiumTrichromeLibrary.apk
|
||||
|
|
Loading…
Reference in a new issue