-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magisk install fails #12
Comments
what android version system image are you using ? |
android 11 |
the magisk used in this script does not work with android 11 images, this is a known issue and i am trying to get it work without any success :( |
@casualsnek you can study wsa install magisk method. https://github.com/LSPosed/MagiskOnWSA/blob/main/.github/workflows/magisk.yml#L162 |
my init.rc for waydroid android 11. on post-fs-data service FAhW7H9G5sf /dev/waydroid-magisk/magisk --post-fs-data service HLiFsR1HtIXVN6 /dev/waydroid-magisk/magisk --service on property:sys.boot_completed=1 service YqCTLTppv3ML /dev/waydroid-magisk/magisk --boot-complete |
extract Magisk-v23.0.apk as zip, lib/x86/libbusybox.so libmagisk32.so libmagisk64.so libmagiskboot libmagiskinit.so is binary, rename them. |
Thanks, i will check it out :) |
i have a few questions about your magisk instructions, if you are on matrix can you reach out to me ? ( @casualsnek:matrix.org ) |
Hey, can I ask for some clarification on these instructions and what parts of the python script I'm meant to modify for this? Trying to get a controller overlay working and rooting has become an absolute necessity (and I'm stumped on how to do it) @youling257 thanks! |
same problem even i umount all the /dev/loopxxx ❯ sudo python3 waydroid_extras.py -m
/home/megamu/.cache/waydroid_script/downloads
==> Found system image: /var/lib/waydroid/images/system.img
==> Resizing system image....
==> Failed to resize image '/var/lib/waydroid/images/system.img' .. ! e2fsck 1.46.5 (30-Dec-2021)
/var/lib/waydroid/images/system.img is mounted.
e2fsck: Cannot continue, aborting.
==> You can exit and retry with sudo or force continue (May fail installation !), Continue ? [y/N]: y
==> Unmounting ..
==> Extracting archive...
==> Installing magisk now ...
Traceback (most recent call last):
File "/home/megamu/waydroid_script/waydroid_extras.py", line 594, in <module>
main()
File "/home/megamu/waydroid_script/waydroid_extras.py", line 589, in main
install_magisk()
File "/home/megamu/waydroid_script/waydroid_extras.py", line 506, in install_magisk
shutil.copyfile(os.path.join(extract_to, arch_dir, "magiskinit{arch}".format(arch=arch)),
File "/usr/lib/python3.10/shutil.py", line 256, in copyfile
with open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/waydroidimage/sbin/magiskinit'
|
I don't understand why it happens, the same case for me. Why this script is seeking for /tmp/waydroidimage/sbin/magiskinit? |
well IDK if its late to reply or not but I found a solution, I copied the init.rc posted by @youling257 as then I downloaded the magisk v23 apk file and extrated it as zip and copied the and that is all, hope it helps anyone looking for it :) @bitstuffing |
Please add this to the readme too |
It got updated |
Traceback (most recent call last):
File "/home/arun/waydroid_script/waydroid_extras.py", line 566, in
main()
File "/home/arun/waydroid_script/waydroid_extras.py", line 561, in main
install_magisk()
File "/home/arun/waydroid_script/waydroid_extras.py", line 478, in install_magisk
shutil.copyfile(os.path.join(extract_to, arch_dir, "magiskinit{arch}".format(arch=arch)),
File "/usr/lib/python3.9/shutil.py", line 265, in copyfile
with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/waydroidimage/sbin/magiskinit'
The text was updated successfully, but these errors were encountered: