casualsnek / waydroid_script

Python Script to add OpenGapps, Magisk, libhoudini translation library and libndk translation library to waydroid !
GNU General Public License v3.0
1.5k stars 144 forks source link

MD5 error on Gapps.zip download #126

Open NotANewNick opened 9 months ago

NotANewNick commented 9 months ago

I am unable to install Gapps.zip via the script. Every download attempt fails with an MD5 error.

INFO: Downloading gapps.zip now to /home/phablet/.cache/waydroid_script/downloads/gapps.zip ..... WARN_ md5 mismatches, redownloading now ..... 100%| | 126/126M [01:39<00:00, 1.27MiB/s WARN_ md5 mismatches, redownloading now ..... 100%| | 126/126M [01:31<00:00, 1.38MiB/s WARN_ md5 mismatches, redownloading now .....

And so on indefinitely.

I-Want-ToBelieve commented 2 months ago
waydroid_script on  main via 🐍 v3.11.8 
❯ sudo venv/bin/python3 main.py install smartdock
[sudo] password for i.want.to.believe: 
INFO: Downloading smartdock.apk now to /home/i.want.to.believe/.cache/waydroid-script/downloads/smartdock.apk .....
14.6kiB [00:00, 27.7MiB/s]
WARN: md5 mismatches, redownloading now ....
14.6kiB [00:00, 23.1MiB/s]
WARN: md5 mismatches, redownloading now ....
14.6kiB [00:00, 23.3MiB/s]
WARN: md5 mismatches, redownloading now ....
DaGamerFiles commented 2 months ago

Tried installing Android 13 and confirmed to have MD5 mismatch but only for smartdock, meanwhile GAPPS, libndk, and magisk are not affected.

? Select Android version Android 13
? Please select an action Install
? Select apps ['gapps', 'libndk', 'magisk', 'smartdock']
INFO: Downloading gapps.zip now to /home/dagamerfiles/.cache/waydroid-script/downloads/gapps.zip .....
100%|█████████████████████████████████████████████████████████████████████████| 198M/198M [00:32<00:00, 6.06MiB/s]
INFO: Extracting /home/dagamerfiles/.cache/waydroid-script/downloads/gapps.zip to /tmp/gapps/extract
INFO: MindTheGapps installation finished
INFO: Downloading libndktranslation.zip now to /home/dagamerfiles/.cache/waydroid-script/downloads/libndktranslation.zip .....
16.2MiB [00:02, 5.88MiB/s]
INFO: Extracting /home/dagamerfiles/.cache/waydroid-script/downloads/libndktranslation.zip to /tmp/libndkunpack
INFO: Copying libndk library files ...
INFO: libndk installation finished
INFO: Downloading latest Magisk-Delta to /home/dagamerfiles/.cache/waydroid-script/downloads/magisk.apk now ...
100%|███████████████████████████████████████████████████████████████████████| 12.7M/12.7M [00:01<00:00, 9.19MiB/s]
INFO: Extracting /home/dagamerfiles/.cache/waydroid-script/downloads/magisk.apk to /tmp/magisk_unpack
INFO: Copying magisk libs now ...
INFO: Additional setup
INFO: magisk delta installation finished
INFO: Downloading smartdock.apk now to /home/dagamerfiles/.cache/waydroid-script/downloads/smartdock.apk .....
14.5kiB [00:00, 63.8MiB/s]
WARN: md5 mismatches, redownloading now ....
adil192 commented 2 months ago

The md5 mismatch for smartdock is because the version linked in the project is no longer hosted by F-Droid. Bumping the smartdock version fixes the download but gives me a bootloop (Android 11)

class Smartdock(General):
    dl_link = "https://f-droid.org/repo/cu.axel.smartdock_1121.apk"
    act_md5 = "dde94e2babc5f78bf7279e60a98eef05"