From c14650010ebc758f54ff5eb26b67f9756e980826 Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Mon, 24 Mar 2025 18:31:58 +0100 Subject: [PATCH 1/9] A13 houdini --- main.py | 4 ++-- stuff/houdini.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 600ff8d..d76f415 100755 --- a/main.py +++ b/main.py @@ -229,10 +229,10 @@ def interact(): if not action: exit() - install_choices = ["gapps", "microg", "libndk", "magisk", "smartdock", "fdroidpriv",] + install_choices = ["gapps", "microg", "libndk", "libhoudini", "magisk", "smartdock", "fdroidpriv",] hack_choices = [] if android_version=="11": - install_choices.extend(["libhoudini", "widevine"]) + install_choices.extend(["widevine"]) hack_choices.extend(["nodataperm", "hidestatusbar"]) if action == "Install": diff --git a/stuff/houdini.py b/stuff/houdini.py index da29f9c..b3f5814 100644 --- a/stuff/houdini.py +++ b/stuff/houdini.py @@ -10,7 +10,7 @@ class Houdini(General): partition = "system" dl_links = { "11": ["https://github.com/supremegamers/vendor_intel_proprietary_houdini/archive/81f2a51ef539a35aead396ab7fce2adf89f46e88.zip", "fbff756612b4144797fbc99eadcb6653"], - # "13": ["https://github.com/supremegamers/vendor_intel_proprietary_houdini/archive/978d8cba061a08837b7e520cd03b635af643ba08.zip", "1e139054c05034648fae58a1810573b4"] + "13": ["https://github.com/supremegamers/vendor_intel_proprietary_houdini/archive/5643480a2c504bd0ee4739a6354fefc70d032ad4.zip", "9085a6ec5d0ec5b7b715981676ffee18"] } act_md5 = ... dl_link = ... From 48186df8affc1d08be69e3961ef6757968de38a7 Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Mon, 24 Mar 2025 18:57:32 +0100 Subject: [PATCH 2/9] A13 ndk_translation --- stuff/ndk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stuff/ndk.py b/stuff/ndk.py index 727b351..f0cbd63 100644 --- a/stuff/ndk.py +++ b/stuff/ndk.py @@ -9,7 +9,7 @@ class Ndk(General): partition = "system" dl_links = { "11": ["https://github.com/supremegamers/vendor_google_proprietary_ndk_translation-prebuilt/archive/9324a8914b649b885dad6f2bfd14a67e5d1520bf.zip", "c9572672d1045594448068079b34c350"], - "13": ["https://github.com/supremegamers/vendor_google_proprietary_ndk_translation-prebuilt/archive/a090003c60df53a9eadb2df09bd4fd2fa86ea629.zip", "e6f0d9fc28ebc427b59a3942a9a4ffc0"] + "13": ["https://github.com/supremegamers/vendor_google_proprietary_ndk_translation-prebuilt/archive/faece8cc787a520193545116501cad40534063fc.zip", "f7605b31e51eaa69f13b508b20e74d10"] } dl_file_name = "libndktranslation.zip" extract_to = "/tmp/libndkunpack" From eb337a13517082624dc2c5a96741719654b414cf Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Wed, 21 May 2025 21:40:08 +0200 Subject: [PATCH 3/9] Change houdini for A13 Even though this is extracted from an Android 14 image, it works better including on AMD CPUs Closes: #224 --- stuff/houdini.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stuff/houdini.py b/stuff/houdini.py index b3f5814..829fdae 100644 --- a/stuff/houdini.py +++ b/stuff/houdini.py @@ -10,7 +10,7 @@ class Houdini(General): partition = "system" dl_links = { "11": ["https://github.com/supremegamers/vendor_intel_proprietary_houdini/archive/81f2a51ef539a35aead396ab7fce2adf89f46e88.zip", "fbff756612b4144797fbc99eadcb6653"], - "13": ["https://github.com/supremegamers/vendor_intel_proprietary_houdini/archive/5643480a2c504bd0ee4739a6354fefc70d032ad4.zip", "9085a6ec5d0ec5b7b715981676ffee18"] + "13": ["https://github.com/supremegamers/vendor_intel_proprietary_houdini/archive/7e21ea3f63bd89e9e8af54e32da41bd8b65c93a1.zip", "f8cf5db10e5fdb9b77e98e515a9b08c9"] } act_md5 = ... dl_link = ... From 32d21c8074c17bfbab70f7158b80464227821424 Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Fri, 30 May 2025 18:36:01 +0200 Subject: [PATCH 4/9] Change ndk_translation for A13 --- stuff/ndk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stuff/ndk.py b/stuff/ndk.py index f0cbd63..d07623f 100644 --- a/stuff/ndk.py +++ b/stuff/ndk.py @@ -9,7 +9,7 @@ class Ndk(General): partition = "system" dl_links = { "11": ["https://github.com/supremegamers/vendor_google_proprietary_ndk_translation-prebuilt/archive/9324a8914b649b885dad6f2bfd14a67e5d1520bf.zip", "c9572672d1045594448068079b34c350"], - "13": ["https://github.com/supremegamers/vendor_google_proprietary_ndk_translation-prebuilt/archive/faece8cc787a520193545116501cad40534063fc.zip", "f7605b31e51eaa69f13b508b20e74d10"] + "13": ["https://github.com/supremegamers/vendor_google_proprietary_ndk_translation-prebuilt/archive/68734c52556d3d7a6db34c603dd9276915c29f2f.zip", "0b2207c490fcb400aa5c87fcf0d52d38"] } dl_file_name = "libndktranslation.zip" extract_to = "/tmp/libndkunpack" From 6f44d95070cd8a767f528ef3e2ed73a34ccb2a6a Mon Sep 17 00:00:00 2001 From: MasterKia Date: Fri, 4 Jul 2025 10:25:26 +0330 Subject: [PATCH 5/9] Fix microg installation guide The previous command returns an error ("ModuleNotFoundError: No module named 'InquirerPy'") even after installing the InquirerPy module using pip. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 98efc48..ed03881 100644 --- a/README.md +++ b/README.md @@ -166,7 +166,7 @@ chmod 777 -R /mnt/*/*/*/*/Android/obb ![](assets/7.png) ``` -sudo python main.py install microg +sudo venv/bin/python3 main.py install microg ``` ## Hide Status Bar From 5527d390ebf313f10c2600635708d21846620ac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=91=E9=9B=84=E9=95=95?= Date: Fri, 11 Jul 2025 14:11:33 +0800 Subject: [PATCH 6/9] Reorder ro.product.cpu.abilist to prioritize 64-bit ABIs --- stuff/ndk.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stuff/ndk.py b/stuff/ndk.py index d07623f..f513cf4 100644 --- a/stuff/ndk.py +++ b/stuff/ndk.py @@ -14,7 +14,7 @@ class Ndk(General): dl_file_name = "libndktranslation.zip" extract_to = "/tmp/libndkunpack" apply_props = { - "ro.product.cpu.abilist": "x86_64,x86,armeabi-v7a,armeabi,arm64-v8a", + "ro.product.cpu.abilist": "x86_64,x86,arm64-v8a,armeabi-v7a,armeabi", "ro.product.cpu.abilist32": "x86,armeabi-v7a,armeabi", "ro.product.cpu.abilist64": "x86_64,arm64-v8a", "ro.dalvik.vm.native.bridge": "libndk_translation.so", @@ -49,4 +49,4 @@ class Ndk(General): Logger.info("Copying libndk library files ...") name = re.findall("([a-zA-Z0-9]+)\.zip", self.dl_link)[0] shutil.copytree(os.path.join(self.extract_to, "vendor_google_proprietary_ndk_translation-prebuilt-" + name, - "prebuilts"), os.path.join(self.copy_dir, self.partition), dirs_exist_ok=True) \ No newline at end of file + "prebuilts"), os.path.join(self.copy_dir, self.partition), dirs_exist_ok=True) From 3e344b360f64f4a417c4f5e9a3b1aae3da9fdfb9 Mon Sep 17 00:00:00 2001 From: Mio Date: Sun, 13 Jul 2025 12:16:31 +1200 Subject: [PATCH 7/9] fix https://github.com/casualsnek/waydroid_script/issues/229 --- stuff/fdroidpriv.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stuff/fdroidpriv.py b/stuff/fdroidpriv.py index 1258738..d545017 100644 --- a/stuff/fdroidpriv.py +++ b/stuff/fdroidpriv.py @@ -6,6 +6,8 @@ from stuff.general import General class FDroidPriv(General): id = "fdroid priv" dl_links = {"11": ["https://f-droid.org/repo/org.fdroid.fdroid.privileged.ota_2130.zip", + "6242cab56d197d80c598593a46da62e4"], + "13": ["https://f-droid.org/repo/org.fdroid.fdroid.privileged.ota_2130.zip", "6242cab56d197d80c598593a46da62e4"]} partition = "system" dl_file_name = "org.fdroid.fdroid.privileged.ota_2130.zip" From db43c7c9cf98a869a4614389c4674ffadbcfdd9c Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Mon, 18 Aug 2025 12:41:04 +0200 Subject: [PATCH 8/9] main: Default to A13 Following Waydroid which now defaults to A13 --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index d76f415..9918e43 100755 --- a/main.py +++ b/main.py @@ -210,7 +210,7 @@ def interact(): Choice(name="Android 13", value="13"), Choice(name="Exit", value=None) ], - default="11", + default="13", ).execute() if not android_version: exit() @@ -288,7 +288,7 @@ def main(): parser.add_argument('-a', '--android-version', dest='android_version', help='Specify the Android version', - default="11", + default="13", choices=["11", "13"]) # android command From fcb15624db0811615ea9800837a836c4777674bf Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Sun, 31 Aug 2025 22:55:40 +0200 Subject: [PATCH 9/9] Fix A13 widevine Closes: https://github.com/casualsnek/waydroid_script/issues/236 --- main.py | 3 +-- stuff/widevine.py | 15 +++++++++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index 9918e43..35bc1fc 100755 --- a/main.py +++ b/main.py @@ -229,10 +229,9 @@ def interact(): if not action: exit() - install_choices = ["gapps", "microg", "libndk", "libhoudini", "magisk", "smartdock", "fdroidpriv",] + install_choices = ["gapps", "microg", "libndk", "libhoudini", "magisk", "smartdock", "fdroidpriv", "widevine",] hack_choices = [] if android_version=="11": - install_choices.extend(["widevine"]) hack_choices.extend(["nodataperm", "hidestatusbar"]) if action == "Install": diff --git a/stuff/widevine.py b/stuff/widevine.py index 316a4a5..ca6d557 100644 --- a/stuff/widevine.py +++ b/stuff/widevine.py @@ -13,8 +13,8 @@ class Widevine(General): "x86_64": { "11": ["https://github.com/supremegamers/vendor_google_proprietary_widevine-prebuilt/archive/48d1076a570837be6cdce8252d5d143363e37cc1.zip", "f587b8859f9071da4bca6cea1b9bed6a"], - "13": ["https://github.com/supremegamers/vendor_google_proprietary_widevine-prebuilt/archive/a8524d608431573ef1c9313822d271f78728f9a6.zip", - "5c55df61da5c012b4e43746547ab730f"] + "13": ["https://github.com/WayDroid-ATV/vendor_google_proprietary_widevine-prebuilt/archive/679552343d8b2e8d7a19b6df61c7a03963d0c75b.zip", + "80ab79ea85c7b2556baedb371a54e01c"] }, # "armeabi-v7a": ["https://github.com/supremegamers/vendor_google_proprietary_widevine-prebuilt/archive/a1a19361d36311bee042da8cf4ced798d2c76d98.zip", "fed6898b5cfd2a908cb134df97802554"], "arm64-v8a": { @@ -30,7 +30,10 @@ class Widevine(General): "etc/init/*widevine.rc", "etc/vintf/manifest/*widevine.xml", "lib/libwvhidl.so", + "lib/libwvaidl.so", "lib/mediadrm", + "lib64/libwvhidl.so", + "lib64/libwvaidl.so", "lib64/mediadrm" ] @@ -38,9 +41,17 @@ class Widevine(General): super().__init__() self.dl_link = self.dl_links[self.arch[0]][android_version][0] self.act_md5 = self.dl_links[self.arch[0]][android_version][1] + self.android_version = android_version + self.libdir = "lib64" if self.arch[1] == 64 else "lib" def copy(self): name = re.findall("([a-zA-Z0-9]+)\.zip", self.dl_link)[0] Logger.info("Copying widevine library files ...") shutil.copytree(os.path.join(self.extract_to, "vendor_google_proprietary_widevine-prebuilt-"+name, "prebuilts"), os.path.join(self.copy_dir, self.partition), dirs_exist_ok=True) + if self.android_version == "13": + try: + os.symlink("libprotobuf-cpp-lite-3.9.1.so", + os.path.join(self.copy_dir, self.partition, self.libdir, "libprotobuf-cpp-lite.so")) + except FileExistsError: + pass