Compare commits

..
1 Commits
Author SHA1 Message Date
rikka ab1b796f6c Update Magisk 2025-12-03 17:35:26 +08:00
6 changed files with 22 additions and 33 deletions

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
Copyright © 2023 Rikka
Copyright © 2023 <copyright holders>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+1 -1
View File
@@ -73,7 +73,7 @@ def main():
tags.append("litegapps")
if args.mindthegapps:
MindTheGapps(args.android).install()
dockerfile = dockerfile + "COPY mindthegapps /\nENTRYPOINT [\"/init\", \"androidboot.hardware=redroid\", \"ro.setupwizard.mode=DISABLED\"]\n"
dockerfile = dockerfile + "COPY mindthegapps /\n"
tags.append("mindthegapps")
if args.ndk:
if args.android in ["11.0.0", "12.0.0", "12.0.0_64only"]:
+14 -10
View File
@@ -38,20 +38,24 @@ on property:sys.boot_completed=1
"https://github.com/rote66/vendor_intel_proprietary_houdini/archive/46682f423b8497db3f96222f2669d770eff764c3.zip",
"cd4dd2891aa18e7699d33dcc3fe3ffd4"],
"11.0.0": [
"https://github.com/rote66/vendor_intel_proprietary_houdini/archive/0c149b1e14d7bfd4b2af261afc6f2e80517dbd98.zip",
"d9703a9b1e674bb41c34e40823774e9f"],
"https://github.com/supremegamers/vendor_intel_proprietary_houdini/archive/81f2a51ef539a35aead396ab7fce2adf89f46e88.zip",
"fbff756612b4144797fbc99eadcb6653"],
"12.0.0": [
"https://github.com/rote66/vendor_intel_proprietary_houdini/archive/0c149b1e14d7bfd4b2af261afc6f2e80517dbd98.zip",
"d9703a9b1e674bb41c34e40823774e9f"],
"https://github.com/supremegamers/vendor_intel_proprietary_houdini/archive/0e0164611d5fe5595229854759c30a9b5c1199a5.zip",
"9709701b44b6ab7fc311c7dc95945bd0"],
# 13.0.0 from wsa-13 not working
# "13.0.0": [
# "https://github.com/supremegamers/vendor_intel_proprietary_houdini/archive/5460519aa63a23201ba0f3d45cfc382b2e9b30a0.zip",
# "08d8d8ed9c4b00eba3fa21ecd527eb87"],
"13.0.0": [
"https://github.com/rote66/vendor_intel_proprietary_houdini/archive/0c149b1e14d7bfd4b2af261afc6f2e80517dbd98.zip",
"d9703a9b1e674bb41c34e40823774e9f"],
"https://github.com/rote66/vendor_intel_proprietary_houdini/archive/740353bf4391969902bc80ee2a9258db18481b45.zip",
"d4824c0c00e8fa9611e1db5124ec61f9"],
"14.0.0": [
"https://github.com/rote66/vendor_intel_proprietary_houdini/archive/0c149b1e14d7bfd4b2af261afc6f2e80517dbd98.zip",
"d9703a9b1e674bb41c34e40823774e9f"],
"https://github.com/rote66/vendor_intel_proprietary_houdini/archive/740353bf4391969902bc80ee2a9258db18481b45.zip",
"d4824c0c00e8fa9611e1db5124ec61f9"]
# "15.0.0": [
# "https://github.com/rote66/vendor_intel_proprietary_houdini/archive/0c149b1e14d7bfd4b2af261afc6f2e80517dbd98.zip",
# "d9703a9b1e674bb41c34e40823774e9f"]
# "https://github.com/rote66/vendor_intel_proprietary_houdini/archive/740353bf4391969902bc80ee2a9258db18481b45.zip",
# "d4824c0c00e8fa9611e1db5124ec61f9"]
}
dl_file_name = os.path.join(download_loc, "libhoudini.zip")
extract_to = "/tmp/houdiniunpack"
+3 -4
View File
@@ -36,8 +36,8 @@ class LiteGapps(General):
},
"14.0.0": {
"x86_64": [
"https://sourceforge.net/projects/litegapps/files/litegapps/x86_64/34/lite/2024-10-29/LiteGapps-x86_64-14.0-20241029-official.zip",
"c897c8fe8a37474ed386e1bd73a7995b",
"https://sourceforge.net/projects/litegapps/files/litegapps/x86_64/34/lite/v3.0/AUTO_LiteGapps_x86_64_14.0_v3.0_official.zip",
"51cbdb561f9c9162e4fdcbffe691c4bc",
],
"x86": [
"https://sourceforge.net/projects/litegapps/files/litegapps/x86/35/lite/2024-10-27/LiteGapps-x86-15.0-20241027-official.zip",
@@ -212,5 +212,4 @@ class LiteGapps(General):
# extract extract_to/files/files.tar.xz file to extract_to/appunpack
run( [ "tar", "-xvf", os.path.join(self.extract_to, "files", "files.tar.xz"), "-C", os.path.join(self.extract_to, "appunpack"), ])
base_version = self.version.replace("_64only", "").replace("__64only", "")
shutil.copytree( os.path.join( self.extract_to, "appunpack", self.arch[0], self.api_level_map[base_version], "system",), os.path.join(self.copy_dir, "system"), dirs_exist_ok=True,)
shutil.copytree( os.path.join( self.extract_to, "appunpack", self.arch[0], self.api_level_map[self.version], "system",), os.path.join(self.copy_dir, "system"), dirs_exist_ok=True,)
+3 -3
View File
@@ -7,9 +7,9 @@ from tools.helper import bcolors, download_file, host, print_color, run, get_dow
class Magisk(General):
download_loc = get_download_dir()
dl_link = "https://github.com/ayasa520/Magisk/releases/download/v30.7/Magisk-v30.7.apk"
dl_link = "https://github.com/ayasa520/Magisk/releases/download/v30.6/app-debug.apk"
dl_file_name = os.path.join(download_loc, "magisk.apk")
act_md5 = "0a31050fdcfaa15f47c9dd1eb8d04fc8"
act_md5 = "77ef9f3538c0767ea45ee5c946f84bc6"
extract_to = "/tmp/magisk_unpack"
copy_dir = "./magisk"
magisk_dir = os.path.join(copy_dir, "system", "etc", "init", "magisk")
@@ -74,7 +74,7 @@ on property:init.svc.zygote=stopped
for parent, dirnames, filenames in os.walk(lib_dir):
for filename in filenames:
o_path = os.path.join(lib_dir, filename)
filename = re.search(r'lib(.*)\.so', filename)
filename = re.search('lib(.*)\.so', filename)
n_path = os.path.join(self.magisk_dir, filename.group(1))
shutil.copyfile(o_path, n_path)
run(["chmod", "+x", n_path])
-14
View File
@@ -6,20 +6,6 @@ from tools.helper import get_download_dir, host, print_color, run, bcolors
class MindTheGapps(General):
dl_links = {
"15.0.0": {
"x86_64": [
"https://github.com/s1204IT/MindTheGappsBuilder/releases/download/20250330/MindTheGapps-15.0.0-x86_64-20250330.zip",
"e54694828bd74e9066b2534a9675c31e",
],
"arm64": [
"https://github.com/s1204IT/MindTheGappsBuilder/releases/download/20250330/MindTheGapps-15.0.0-arm64-20250330.zip",
"79acb62f0f7c66b0f0bcadae5624f3d1",
],
"arm": [
"https://github.com/s1204IT/MindTheGappsBuilder/releases/download/20250330/MindTheGapps-15.0.0-arm-20250330.zip",
"4ced6a404a714e61831e16068c3642b3",
],
},
"14.0.0": {
"x86_64": [
"https://github.com/s1204IT/MindTheGappsBuilder/releases/download/20240226/MindTheGapps-14.0.0-x86_64-20240226.zip",