Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MD5 Mismatch still happening.... #178

Open
hawari21 opened this issue Jul 9, 2024 · 4 comments
Open

MD5 Mismatch still happening.... #178

hawari21 opened this issue Jul 9, 2024 · 4 comments

Comments

@hawari21
Copy link

hawari21 commented Jul 9, 2024

$ sudo venv/bin/python3 main.py install smartdock
INFO: Downloading smartdock.apk now to /home/atirut/.cache/waydroid-script/downloads/smartdock.apk .....
14.7kiB [00:00, 21.6MiB/s]
WARN: md5 mismatches, redownloading now ....
14.7kiB [00:00, 23.3MiB/s]
WARN: md5 mismatches, redownloading now ....

@The-MAZZTer
Copy link

Duplicate of #163

@hawari21
Copy link
Author

I got error 128 after i applied that fix, any advice?

@Mikesco3
Copy link

Mikesco3 commented Sep 8, 2024

I was able to fix it by

  1. going to:
    https://f-droid.org/en/packages/cu.axel.smartdock/

  2. Then downloading the current cu.axel.smartdock_1121.apk

  3. then I ran in the terminal an md5sum cu.axel.smartdock_1121.apk to get an md5 hash of the file, and armed with that info,

  4. I edited ./stuff/smartdock.py the lines where it had the download link to:

    dl_link = "https://f-droid.org/repo/cu.axel.smartdock_1121.apk"

and the line where it had hte md5 hash to:

    act_md5 = "dde94e2babc5f78bf7279e60a98eef05"

and ran the script again and this time it worked...

@yodog
Copy link

yodog commented Sep 23, 2024

I was able to fix it by

  1. going to:
    f-droid.org/en/packages/cu.axel.smartdock
  2. Then downloading the current cu.axel.smartdock_1121.apk
  3. then I ran in the terminal an md5sum cu.axel.smartdock_1121.apk to get an md5 hash of the file, and armed with that info,
  4. I edited ./stuff/smartdock.py the lines where it had the download link to:
    dl_link = "https://f-droid.org/repo/cu.axel.smartdock_1121.apk"

and the line where it had hte md5 hash to:

    act_md5 = "dde94e2babc5f78bf7279e60a98eef05"

and ran the script again and this time it worked...

perfect!

i also had to add the permissions below:

        <permission name="android.permission.WRITE_SECURE_SETTINGS" />
        <permission name="android.permission.WRITE_SETTINGS" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants