Upload files to "/"
This commit is contained in:
parent
7c65c871d6
commit
832bb02e5c
5 changed files with 26 additions and 11 deletions
16
README.md
16
README.md
|
@ -1,15 +1,16 @@
|
||||||
What is this project?
|
What is this project?
|
||||||
|
|
||||||
A Magisk module, that changes your WebView Implementation.
|
A Magisk module, that changes your WebView Implementation.
|
||||||
|
|
||||||
What is a WebView?
|
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:
|
Prerequisite:
|
||||||
|
|
||||||
Android phone with at least 28 API (Android 9)
|
Android phone with at least 28 API (Android 9)
|
||||||
Magisk installed
|
Magisk or KernelSU installed
|
||||||
Internet Connection
|
Internet Connection
|
||||||
|
|
||||||
Choosable WebViews:
|
Choosable WebViews:
|
||||||
|
@ -20,13 +21,16 @@ Choosable WebViews:
|
||||||
|
|
||||||
How to install:
|
How to install:
|
||||||
|
|
||||||
Download a release with the desired/compatible WebView.
|
Download the desired WebView implementation from release page.
|
||||||
Flash in Magisk.
|
If you are on KernelSU, then you must flash magic_overlayfs module first (Reboot is needed!).
|
||||||
Run action button in Magisk app to update the installed WebView.
|
Flash the downloaded release and reboot.
|
||||||
|
Use the action button in Magisk/KernelSU app to update the actual WebView.
|
||||||
|
|
||||||
Credits:
|
Credits:
|
||||||
|
|
||||||
topjonwhu for Magisk
|
topjonwhu for Magisk
|
||||||
|
Tiann for KernelSU
|
||||||
Zackptg5 for MMT-Extended
|
Zackptg5 for MMT-Extended
|
||||||
F3FFO for Open WebView module
|
F3FFO for Open WebView module
|
||||||
|
HuskyDG for magic_overlayfs module
|
||||||
RavePriest1 Community (mainly Nippy) for the private Forgejo
|
RavePriest1 Community (mainly Nippy) for the private Forgejo
|
|
@ -1,7 +1,7 @@
|
||||||
#!/system/bin/sh
|
#!/system/bin/sh
|
||||||
|
|
||||||
echo "Downloading Update..."
|
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
|
sleep 1
|
||||||
echo "Installing Update..."
|
echo "Installing Update..."
|
||||||
su -c pm install --install-location 1 /data/local/tmp/CromiteWebView.apk
|
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
|
SKIPUNZIP=1
|
||||||
unzip -qjo "$ZIPFILE" 'common/functions.sh' -d $TMPDIR >&2
|
unzip -qjo "$ZIPFILE" 'common/functions.sh' -d $TMPDIR >&2
|
||||||
. $TMPDIR/functions.sh
|
. $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
|
# Updater
|
||||||
if [[ "$ARCH" = "armeabi-v7a" ]]; then
|
if [[ "$ARCH" = "armeabi-v7a" ]]; then
|
||||||
echo "Downloading Update..."
|
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
|
sleep 1
|
||||||
echo "Installing Update..."
|
echo "Installing Update..."
|
||||||
su -c pm install --install-location 1 /data/local/tmp/MulchWebView.apk
|
su -c pm install --install-location 1 /data/local/tmp/MulchWebView.apk
|
||||||
|
@ -17,7 +17,7 @@ if [[ "$ARCH" = "armeabi-v7a" ]]; then
|
||||||
echo "Update Done!"
|
echo "Update Done!"
|
||||||
else
|
else
|
||||||
echo "Downloading Update..."
|
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
|
sleep 1
|
||||||
echo "Installing Update..."
|
echo "Installing Update..."
|
||||||
su -c pm install --install-location 1 /data/local/tmp/MulchWebView.apk
|
su -c pm install --install-location 1 /data/local/tmp/MulchWebView.apk
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
#!/system/bin/sh
|
#!/system/bin/sh
|
||||||
|
|
||||||
echo "Downloading Update..."
|
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
|
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
|
sleep 1
|
||||||
echo "Installing Update..."
|
echo "Installing Update..."
|
||||||
su -c pm install --install-location 1 /data/local/tmp/VanadiumTrichromeLibrary.apk
|
su -c pm install --install-location 1 /data/local/tmp/VanadiumTrichromeLibrary.apk
|
||||||
|
|
Loading…
Reference in a new issue