Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ba51ccaee4 |
@@ -166,7 +166,7 @@ chmod 777 -R /mnt/*/*/*/*/Android/obb
|
|||||||

|

|
||||||
|
|
||||||
```
|
```
|
||||||
sudo venv/bin/python3 main.py install microg
|
sudo python main.py install microg
|
||||||
```
|
```
|
||||||
|
|
||||||
## Hide Status Bar
|
## Hide Status Bar
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, python3 }:
|
with (import <nixpkgs> {});
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "waydroid_script";
|
name = "waydroid_script";
|
||||||
|
|||||||
@@ -229,10 +229,10 @@ def interact():
|
|||||||
if not action:
|
if not action:
|
||||||
exit()
|
exit()
|
||||||
|
|
||||||
install_choices = ["gapps", "microg", "libndk", "libhoudini", "magisk", "smartdock", "fdroidpriv",]
|
install_choices = ["gapps", "microg", "libndk", "magisk", "smartdock", "fdroidpriv",]
|
||||||
hack_choices = []
|
hack_choices = []
|
||||||
if android_version=="11":
|
if android_version=="11":
|
||||||
install_choices.extend(["widevine"])
|
install_choices.extend(["libhoudini", "widevine"])
|
||||||
hack_choices.extend(["nodataperm", "hidestatusbar"])
|
hack_choices.extend(["nodataperm", "hidestatusbar"])
|
||||||
|
|
||||||
if action == "Install":
|
if action == "Install":
|
||||||
|
|||||||
@@ -6,8 +6,6 @@ from stuff.general import General
|
|||||||
class FDroidPriv(General):
|
class FDroidPriv(General):
|
||||||
id = "fdroid priv"
|
id = "fdroid priv"
|
||||||
dl_links = {"11": ["https://f-droid.org/repo/org.fdroid.fdroid.privileged.ota_2130.zip",
|
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"]}
|
"6242cab56d197d80c598593a46da62e4"]}
|
||||||
partition = "system"
|
partition = "system"
|
||||||
dl_file_name = "org.fdroid.fdroid.privileged.ota_2130.zip"
|
dl_file_name = "org.fdroid.fdroid.privileged.ota_2130.zip"
|
||||||
|
|||||||
+1
-1
@@ -10,7 +10,7 @@ class Houdini(General):
|
|||||||
partition = "system"
|
partition = "system"
|
||||||
dl_links = {
|
dl_links = {
|
||||||
"11": ["https://github.com/supremegamers/vendor_intel_proprietary_houdini/archive/81f2a51ef539a35aead396ab7fce2adf89f46e88.zip", "fbff756612b4144797fbc99eadcb6653"],
|
"11": ["https://github.com/supremegamers/vendor_intel_proprietary_houdini/archive/81f2a51ef539a35aead396ab7fce2adf89f46e88.zip", "fbff756612b4144797fbc99eadcb6653"],
|
||||||
"13": ["https://github.com/supremegamers/vendor_intel_proprietary_houdini/archive/7e21ea3f63bd89e9e8af54e32da41bd8b65c93a1.zip", "f8cf5db10e5fdb9b77e98e515a9b08c9"]
|
# "13": ["https://github.com/supremegamers/vendor_intel_proprietary_houdini/archive/978d8cba061a08837b7e520cd03b635af643ba08.zip", "1e139054c05034648fae58a1810573b4"]
|
||||||
}
|
}
|
||||||
act_md5 = ...
|
act_md5 = ...
|
||||||
dl_link = ...
|
dl_link = ...
|
||||||
|
|||||||
+2
-2
@@ -9,12 +9,12 @@ class Ndk(General):
|
|||||||
partition = "system"
|
partition = "system"
|
||||||
dl_links = {
|
dl_links = {
|
||||||
"11": ["https://github.com/supremegamers/vendor_google_proprietary_ndk_translation-prebuilt/archive/9324a8914b649b885dad6f2bfd14a67e5d1520bf.zip", "c9572672d1045594448068079b34c350"],
|
"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/68734c52556d3d7a6db34c603dd9276915c29f2f.zip", "0b2207c490fcb400aa5c87fcf0d52d38"]
|
"13": ["https://github.com/supremegamers/vendor_google_proprietary_ndk_translation-prebuilt/archive/a090003c60df53a9eadb2df09bd4fd2fa86ea629.zip", "e6f0d9fc28ebc427b59a3942a9a4ffc0"]
|
||||||
}
|
}
|
||||||
dl_file_name = "libndktranslation.zip"
|
dl_file_name = "libndktranslation.zip"
|
||||||
extract_to = "/tmp/libndkunpack"
|
extract_to = "/tmp/libndkunpack"
|
||||||
apply_props = {
|
apply_props = {
|
||||||
"ro.product.cpu.abilist": "x86_64,x86,arm64-v8a,armeabi-v7a,armeabi",
|
"ro.product.cpu.abilist": "x86_64,x86,armeabi-v7a,armeabi,arm64-v8a",
|
||||||
"ro.product.cpu.abilist32": "x86,armeabi-v7a,armeabi",
|
"ro.product.cpu.abilist32": "x86,armeabi-v7a,armeabi",
|
||||||
"ro.product.cpu.abilist64": "x86_64,arm64-v8a",
|
"ro.product.cpu.abilist64": "x86_64,arm64-v8a",
|
||||||
"ro.dalvik.vm.native.bridge": "libndk_translation.so",
|
"ro.dalvik.vm.native.bridge": "libndk_translation.so",
|
||||||
|
|||||||
+1
-1
@@ -22,7 +22,7 @@ def use_overlayfs():
|
|||||||
cfg = configparser.ConfigParser()
|
cfg = configparser.ConfigParser()
|
||||||
cfg_file = os.environ.get("WAYDROID_CONFIG", "/var/lib/waydroid/waydroid.cfg")
|
cfg_file = os.environ.get("WAYDROID_CONFIG", "/var/lib/waydroid/waydroid.cfg")
|
||||||
if not os.path.isfile(cfg_file):
|
if not os.path.isfile(cfg_file):
|
||||||
Logger.error("Cannot locate waydroid config file, reinit wayland and try again!")
|
Logger.error("Cannot locate waydroid config file, reinit waydroid and try again!")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
cfg.read(cfg_file)
|
cfg.read(cfg_file)
|
||||||
if "waydroid" not in cfg:
|
if "waydroid" not in cfg:
|
||||||
|
|||||||
+1
-1
@@ -32,7 +32,7 @@ def get_image_dir():
|
|||||||
cfg = configparser.ConfigParser()
|
cfg = configparser.ConfigParser()
|
||||||
cfg_file = os.environ.get("WAYDROID_CONFIG", "/var/lib/waydroid/waydroid.cfg")
|
cfg_file = os.environ.get("WAYDROID_CONFIG", "/var/lib/waydroid/waydroid.cfg")
|
||||||
if not os.path.isfile(cfg_file):
|
if not os.path.isfile(cfg_file):
|
||||||
Logger.error("Cannot locate waydroid config file, reinit wayland and try again!")
|
Logger.error("Cannot locate waydroid config file, reinit waydroid and try again!")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
cfg.read(cfg_file)
|
cfg.read(cfg_file)
|
||||||
if "waydroid" not in cfg:
|
if "waydroid" not in cfg:
|
||||||
|
|||||||
Reference in New Issue
Block a user