Git Product home page Git Product logo

Comments (10)

EsmailELBoBDev2 avatar EsmailELBoBDev2 commented on May 28, 2024

Ok, I'm unsure if it's related to my issue or not, but maybe this helps?:

10-20 11:00:05.884   158   171 E Magisk  : su: cannot find manager
10-20 11:00:05.886   158   171 I Magisk  : * Mounting mirrors
10-20 11:00:05.886   158   171 E Magisk  : stat /dev/loop1 failed with 2: No such file or directory
10-20 11:00:05.886   158   171 E Magisk  : mount /sbin/.magisk/block/vendor->/sbin/.magisk/mirror/vendor failed with 15: Block device required
10-20 11:00:05.886   158   171 I Magisk  : mount: /sbin/.magisk/mirror/vendor
10-20 11:00:05.888   158   171 E Magisk  : stat /dev/sdb1 failed with 2: No such file or directory
10-20 11:00:05.888   158   171 E Magisk  : mount /sbin/.magisk/block/data->/sbin/.magisk/mirror/data failed with 15: Block device required
10-20 11:00:05.888   158   171 I Magisk  : mount: /sbin/.magisk/mirror/data
10-20 11:00:05.888   158   171 I Magisk  : link: /sbin/.magisk/mirror/product

from waydroid_script.

HuskyDG avatar HuskyDG commented on May 28, 2024

Because setup script is wrong

from waydroid_script.

EsmailELBoBDev2 avatar EsmailELBoBDev2 commented on May 28, 2024

Because setup script is wrong

Can you explain more? Wrong in what aspect and how to fix it?

from waydroid_script.

HuskyDG avatar HuskyDG commented on May 28, 2024

It doesn't setup the correct Magisk environment:

magisk_init = """#!/system/bin/sh
mount -o remount,rw /
rm /sbin/magisk /sbin/magiskpolicy /sbin/magiskinit
cp /magiskinit /sbin/magiskinit
ln -s /sbin/magiskinit /sbin/magisk
ln -s /sbin/magiskinit /sbin/magiskpolicy
mkdir -p /data/adb/magisk
cp /busybox /data/adb/magisk/busybox
cp /util_functions.sh /data/adb/magisk/util_functions.sh
cp /boot_patch.sh /data/adb/magisk/boot_patch.sh
cp /addon.d.sh /data/adb/magisk/addon.d.sh
magisk -c >&2
ln -sf /data /sbin/.magisk/mirror/data
ln -sf /vendor /sbin/.magisk/mirror/vendor
magisk --post-fs-data
sleep 1
magisk --service
magisk --boot-complete
mount -o remount,ro /
"""
init_rc_component = """on property:dev.bootcomplete=1
start magisk
service magisk /system/bin/init-magisk.sh
class main
user root
group root
oneshot
"""

Please see:
https://github.com/HuskyDG/Magisk/blob/4d8109affaca8ad8e44ef3f2b8d793abb3f42c62/scripts/util_functions.sh#L859-L899

from waydroid_script.

EsmailELBoBDev2 avatar EsmailELBoBDev2 commented on May 28, 2024

It doesn't setup the correct Magisk environment:

magisk_init = """#!/system/bin/sh
mount -o remount,rw /
rm /sbin/magisk /sbin/magiskpolicy /sbin/magiskinit
cp /magiskinit /sbin/magiskinit
ln -s /sbin/magiskinit /sbin/magisk
ln -s /sbin/magiskinit /sbin/magiskpolicy
mkdir -p /data/adb/magisk
cp /busybox /data/adb/magisk/busybox
cp /util_functions.sh /data/adb/magisk/util_functions.sh
cp /boot_patch.sh /data/adb/magisk/boot_patch.sh
cp /addon.d.sh /data/adb/magisk/addon.d.sh
magisk -c >&2
ln -sf /data /sbin/.magisk/mirror/data
ln -sf /vendor /sbin/.magisk/mirror/vendor
magisk --post-fs-data
sleep 1
magisk --service
magisk --boot-complete
mount -o remount,ro /
"""
init_rc_component = """on property:dev.bootcomplete=1
start magisk
service magisk /system/bin/init-magisk.sh
class main
user root
group root
oneshot
"""

Please see: https://github.com/HuskyDG/Magisk/blob/4d8109affaca8ad8e44ef3f2b8d793abb3f42c62/scripts/util_functions.sh#L859-L899

Thats sad but ok, is there a way to reverse it? I want to use waydroid again...

from waydroid_script.

HuskyDG avatar HuskyDG commented on May 28, 2024

I think it is fixed

from waydroid_script.

PhilDevProg avatar PhilDevProg commented on May 28, 2024

It's not fixed for me. I installed Magisk today and my Waydroid installation is now broken and I can't use it anymore. Even after reinstall it still has no window to interact with...

from waydroid_script.

HuskyDG avatar HuskyDG commented on May 28, 2024

It's not fixed. I installed Magisk today and my Waydroid installation is now broken and I can't use it anymore. Even after reinstall it still has no window to interact with...

How do I help you with those non-sense words?

from waydroid_script.

PhilDevProg avatar PhilDevProg commented on May 28, 2024

Sorry if I wasn't clear enough. So I installed Magisk via this Script today (on Fedora) but after that Waydroid didn't have a window to interact with or show the UI. I also reinstalled Waydroid but still there's not UI.
Edit: It now works again after the 3rd reinstall. 🤷

from waydroid_script.

lordmemed avatar lordmemed commented on May 28, 2024

Sorry if I wasn't clear enough. So I installed Magisk via this Script today (on Fedora) but after that Waydroid didn't have a window to interact with or show the UI. I also reinstalled Waydroid but still there's not UI. Edit: It now works again after the 3rd reinstall. shrug

first of all, i'm sorry if i kinda "spam" myself everywhere.

the new waydroid_script Magisk installation is broken for me, too.

it causing my Waydroid installation to hang, it show up but with nothing i can interact to and crash of Trebuchet, etc.
after looking the debug with sudo waydroid logcat, it shows the error of EACCES Permission denied with almost all applications.

the solution for me is editing bootanim.rc to my own Magisk environment setup, like in this irrelevant and spam comment : Here

hope this helps if you still have this issue.

goodbye.

EDIT:
sorry @HuskyDG , it actually is my fault for issuing on wrong repo, and yeah, i actually using the latest
canary/debug build. Magisk-2520-delta-3 -> update to 25206 -> update to latest canary/debug channel via Direct install to system partition -> and boom, error.

like you said above,

It doesn't setup the correct Magisk environment:

thanks,
goodbye.

from waydroid_script.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.