Skip to content

Commit

Permalink
fix: Add missing permissions and correct MD5 to smartdock (#6)
Browse files Browse the repository at this point in the history
* Update values for dl_link with smartdock_1130 and act_md5

This updates the download link to the newest version of smartdock & fixes/updates the previously incorrect act_md5 value

* Add WRITE_SECURE_SETTINGS and WRITE_SETTINGS permission

Needed to successfully boot into the home screen
  • Loading branch information
askpng authored Feb 28, 2025
1 parent 9212a13 commit ba9b5a8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions stuff/smartdock.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

class Smartdock(General):
id = "smartdock"
dl_link = "https://f-droid.org/repo/cu.axel.smartdock_1100.apk"
dl_link = "https://f-droid.org/repo/cu.axel.smartdock_1130.apk"
partition = "system"
dl_file_name = "smartdock.apk"
act_md5 = "f4087d34218eac902a5cca98ee03d215"
act_md5 = "6bfedb959ef5855c3782e8001cb67f86"
apply_props = { "qemu.hw.mainkeys" : "1" }
skip_extract = True
permissions = """<?xml version="1.0" encoding="utf-8"?>
Expand All @@ -30,6 +30,8 @@ class Smartdock(General):
<permission name="android.permission.ACCESS_SUPERUSER"/>
<permission name="android.permission.PACKAGE_USAGE_STATS" />
<permission name="android.permission.QUERY_ALL_PACKAGES" />
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
<permission name="android.permission.WRITE_SETTINGS"/>
</privapp-permissions>
</permissions>
"""
Expand Down

0 comments on commit ba9b5a8

Please sign in to comment.