mirror of
https://github.com/ayasa520/redroid-script.git
synced 2026-11-25 06:14:32 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ee12b0683e |
No files matched your search
@@ -147,6 +147,6 @@ docker run -itd --rm --privileged \
|
|||||||
## Credits
|
## Credits
|
||||||
1. [remote-android](https://github.com/remote-android)
|
1. [remote-android](https://github.com/remote-android)
|
||||||
2. [waydroid_script](https://github.com/casualsnek/waydroid_script)
|
2. [waydroid_script](https://github.com/casualsnek/waydroid_script)
|
||||||
3. ~~[Magisk Delta](https://huskydg.github.io/magisk-files/)~~
|
3. [Magisk Delta](https://huskydg.github.io/magisk-files/)
|
||||||
4. [vendor_intel_proprietary_houdini](https://github.com/supremegamers/vendor_intel_proprietary_houdini)
|
4. [vendor_intel_proprietary_houdini](https://github.com/supremegamers/vendor_intel_proprietary_houdini)
|
||||||
5. [Magisk](https://github.com/topjohnwu/Magisk)
|
|
||||||
+1
-1
@@ -22,7 +22,7 @@ def main():
|
|||||||
dest='android',
|
dest='android',
|
||||||
help='Specify the Android version to build',
|
help='Specify the Android version to build',
|
||||||
default='11.0.0',
|
default='11.0.0',
|
||||||
choices=['14.0.0', '13.0.0', '12.0.0', '12.0.0_64only', '11.0.0', '10.0.0', '9.0.0', '8.1.0'])
|
choices=['13.0.0', '12.0.0', '12.0.0_64only', '11.0.0', '10.0.0', '9.0.0', '8.1.0'])
|
||||||
parser.add_argument('-g', '--install-gapps',
|
parser.add_argument('-g', '--install-gapps',
|
||||||
dest='gapps',
|
dest='gapps',
|
||||||
help='Install OpenGapps to ReDroid',
|
help='Install OpenGapps to ReDroid',
|
||||||
|
|||||||
+4
-4
@@ -7,9 +7,9 @@ from tools.helper import bcolors, download_file, host, print_color, run, get_dow
|
|||||||
|
|
||||||
class Magisk(General):
|
class Magisk(General):
|
||||||
download_loc = get_download_dir()
|
download_loc = get_download_dir()
|
||||||
dl_link = "https://github.com/ayasa520/Magisk/releases/download/v30.6/app-debug.apk"
|
dl_link = "https://github.com/ayasa520/KitsuneMagisk/releases/download/ea3f64a/app-debug.apk"
|
||||||
dl_file_name = os.path.join(download_loc, "magisk.apk")
|
dl_file_name = os.path.join(download_loc, "magisk.apk")
|
||||||
act_md5 = "77ef9f3538c0767ea45ee5c946f84bc6"
|
act_md5 = "36a906be869ff6e877aff8bdc5a405d6"
|
||||||
extract_to = "/tmp/magisk_unpack"
|
extract_to = "/tmp/magisk_unpack"
|
||||||
copy_dir = "./magisk"
|
copy_dir = "./magisk"
|
||||||
magisk_dir = os.path.join(copy_dir, "system", "etc", "init", "magisk")
|
magisk_dir = os.path.join(copy_dir, "system", "etc", "init", "magisk")
|
||||||
@@ -47,10 +47,10 @@ on property:init.svc.zygote=restarting
|
|||||||
|
|
||||||
on property:init.svc.zygote=stopped
|
on property:init.svc.zygote=stopped
|
||||||
exec u:r:su:s0 root root -- {MAGISKTMP}/magisk --auto-selinux --zygote-restart
|
exec u:r:su:s0 root root -- {MAGISKTMP}/magisk --auto-selinux --zygote-restart
|
||||||
""".format(MAGISKSYSTEMDIR="/system/etc/init/magisk", MAGISKTMP="/sbin", magisk_name="magisk")
|
""".format(MAGISKSYSTEMDIR="/system/etc/init/magisk", MAGISKTMP="/sbin", magisk_name=f"magisk{machine[1]}")
|
||||||
|
|
||||||
def download(self):
|
def download(self):
|
||||||
print_color("Downloading latest Magisk now .....", bcolors.GREEN)
|
print_color("Downloading latest Magisk-Delta now .....", bcolors.GREEN)
|
||||||
super().download()
|
super().download()
|
||||||
|
|
||||||
def copy(self):
|
def copy(self):
|
||||||
|
|||||||
Reference in new issue
Block a user