-
Notifications
You must be signed in to change notification settings - Fork 320
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 support #207
Comments
several guys requested the BTW, |
|
This is a quick setup (possible not elegant, try refine by yourself)
|
you can add |
I use locally build check
|
try with adb shell; |
|
you can create ( |
I'm not provide you the complete solution to integrate For
|
close since resolved. |
Can you come up with a method about the magisk. |
|
Thanks for your method. But when I ran the command: "~/download-frozen-image-v2.sh "$image_tar" redroid/redroid:9.0.0-arm64", it showed: "error: "jq" not found!". |
you can pull original image with docker pull
on backup use docker load
|
OK. Thank you very much! |
and do not just copy past , change what matter |
Thank you very much! |
请问是否有自带Magisk的镜像? |
Just a POC here, not fully get |
Full magisk support (including zygisk) is available if using magisk delta. I'm adapting waydroid_script(https://github.com/ayasa520/waydroid_script/blob/1.3/waydroid_extras.py#L447-L549) into a script for redroid |
If anyone is interested in installing magisk delta on redroid, please check out https://github.com/ayasa520/redroid-script. |
but
it's like If |
tried both with |
nvm i gived root access to my app in another way |
@federicocossetta can you share your method |
[9419311.477662] init: Unable to read config file '/system/etc/init/bootanim.rc': Skipping insecure file It's can't run due to chmod value current is 664, android init only allow chmod value 644, you can apply this patch to ayasa520 script diff --git a/stuffs/magisk.py b/stuffs/magisk.py
index 34a7d7c..073f818 100644
--- a/stuffs/magisk.py
+++ b/stuffs/magisk.py
@@ -32,7 +32,7 @@ on post-fs-data
mkdir /sbin/.magisk 700
mkdir /sbin/.magisk/mirror 700
mkdir /sbin/.magisk/block 700
- copy /system/etc/init/magisk/config /sbin/.magisk/config
+ touch /sbin/.magisk/config
rm /dev/.magisk_unblock
exec u:r:su:s0 root root -- /sbin/magisk --auto-selinux --post-fs-data
wait /dev/.magisk_unblock 40
@@ -86,8 +86,10 @@ on property:init.svc.zygote=stopped
gz_filename = os.path.join(bootanim_path)+".gz"
with gzip.open(gz_filename,'wb') as f_gz:
f_gz.write(self.oringinal_bootanim.encode('utf-8'))
+ run(["chmod", "644", gz_filename])
with open(bootanim_path, "w") as initfile:
initfile.write(self.oringinal_bootanim+self.bootanim_component)
+ run(["chmod", "644", bootanim_path]) |
this is my log, restarting can't to be end |
How can I build redroid with Magisk, when I Build redroid with docker? |
This may seem like the most correct answer, but I don't know how to use it |
Having tried MagiskOnRedroid, which depends on the solution above, on redroid:11.0.0-latest, I successfully get Magisk installed on amd64 device. However, the Magisk version is not the latest (so several modules cannot be installed). |
@IndigoRCS Can you show me your running command? I failed to add the magisk。 |
@abing7k I just follow this script. |
google ‘magisk delta 25206’ download it,put it on nginx server,create apk download url edit https://github.com/ayasa520/redroid-script/blob/568d9287b877e76e1a359beffe940bde586d395b/stuffs/magisk.py#L10 ,and just run script |
https://huskydg.github.io/magisk-files/app-release.apk has failed init issues |
Which version of zygisk and LSPosed did you use? |
|
I started successfully, but couldn't start the second one |
|
What do you mean by "the second one"? |
|
If you run on arm , you can see https://github.com/abing7k/redroid-script |
Hello, everyone, I try to do above works on Ubuntu(x86_64). The
But the Magisk Application says However, even more amazingly, when I type Did I miss some steps? |
see this
The text was updated successfully, but these errors were encountered: