Coder Social home page Coder Social logo

Comments (15)

casualsnek avatar casualsnek commented on May 28, 2024

What is the version of your installed magisk manager ?

from waydroid_script.

levone1 avatar levone1 commented on May 28, 2024

v. 23.0 (23000). It started as a different version, but then I got update notification, so figured I'd rry it to see if it changed anything.

Also, when the app first opens, there's a message, "Abnormal State... not supposes to be system app..."

from waydroid_script.

levone1 avatar levone1 commented on May 28, 2024

So, I went through init-magisk.sh script to try manually, and I was able to make folders and symlinks by changing permissions etc., but then I get error "/sbin/magisk not executable 32-bit elf" so seems like script installed wrong version on my phone
.. Any way to specify arch?

from waydroid_script.

casualsnek avatar casualsnek commented on May 28, 2024

So, I went through init-magisk.sh script to try manually, and I was able to make folders and symlinks by changing permissions etc., but then I get error "/sbin/magisk not executable 32-bit elf" so seems like script installed wrong version on my phone .. Any way to specify arch?

shutil.copyfile(os.path.join(extract_to, arch_dir, "magiskinit{arch}".format(arch=arch)),

Replace arch_dir, with 'arm' if on arm based system else 'x86' then replace set arch="" (blank) if on 32bit system if on 64bit system set arch="64", This way you can force specific binary to be copied !

For the abnormal state message, i will update script to install this app as user and will also be updating default magisk version !

from waydroid_script.

levone1 avatar levone1 commented on May 28, 2024

Thanks
Script ran successfully with edits, and the result is the same, except that now there is no Magisk binary... /sbin folder contains only magiskinit and magiskboot files

from waydroid_script.

casualsnek avatar casualsnek commented on May 28, 2024

Thanks Script ran successfully with edits, and the result is the same, except that now there is no Magisk binary... /sbin folder contains only magiskinit and magiskboot files

what does platform.machine() on python shell return on your device ?

For no magisk binary issue, as i have seen on system magisk manager says magisk is not installed ( this may be due to missing binary ), for now you can run this script every time before stating waydroid if you plan to use su within android, while i try to figure out how to fix it !

from waydroid_script.

Kabouik avatar Kabouik commented on May 28, 2024

I have observed the same issue as @levone1, albeit on Droidian (I didn't try on my SFOS devices yet because none of them is up to date, and kernel modules are not there in my version). The script's -m option works well and does add a Magisk icon in Waydroid, but then when I open it I can't make Magisk work. If I install it as a system app, then on later launches it will complain that there was an error with it and I should set it as a user application again. I also observed what @levone1 said about patching being the only option available. I'm sorry I don't remember the details as I don't have my Droidian phone with me at the moment.

from waydroid_script.

dariox86 avatar dariox86 commented on May 28, 2024

Same issue on PinePhone.

from waydroid_script.

ShapeShifter499 avatar ShapeShifter499 commented on May 28, 2024

@casualsnek I've been playing around with magisk before. You need to put in a check for aarch64. If we are on a aarch64 device, like the pinephone, copy over 'magiskinit64' to the system as 'magiskinit' otherwise it's not going to work.

from waydroid_script.

casualsnek avatar casualsnek commented on May 28, 2024

@casualsnek I've been playing around with magisk before. You need to put in a check for aarch64. If we are on a aarch64 device, like the pinephone, copy over 'magiskinit64' to the system as 'magiskinit' otherwise it's not going to work.

can you send what does python -c "import platform;print(platform.machine())" return on your device ?

from waydroid_script.

ShapeShifter499 avatar ShapeShifter499 commented on May 28, 2024

can you send what does python -c "import platform;print(platform.machine())" return on your device ?

PinePhone running Arch Linux ARM from: https://github.com/dreemurrs-embedded/Pine64-Arch Below is what I have.

uname -a outputs Linux danctnix 5.14.13-1-danctnix #1 SMP PREMPT Mon Oct 18 14:34:41 UTC 2021 aarch64 GNU/Linux

python -c "import platform;print(platform.machine())" outputs aarch64

from waydroid_script.

rizzini avatar rizzini commented on May 28, 2024

Same issue here. I'm on Arch x86_64.

from waydroid_script.

casualsnek avatar casualsnek commented on May 28, 2024

Thanks Script ran successfully with edits, and the result is the same, except that now there is no Magisk binary... /sbin folder contains only magiskinit and magiskboot files

Can you please try again to see if magisk works ? I just pushed a small change that should make it fix this issue !

from waydroid_script.

casualsnek avatar casualsnek commented on May 28, 2024

can you send what does python -c "import platform;print(platform.machine())" return on your device ?

PinePhone running Arch Linux ARM from: https://github.com/dreemurrs-embedded/Pine64-Arch Below is what I have.

uname -a outputs Linux danctnix 5.14.13-1-danctnix #1 SMP PREMPT Mon Oct 18 14:34:41 UTC 2021 aarch64 GNU/Linux

python -c "import platform;print(platform.machine())" outputs aarch64

can you check if the correct magiskinit is copied after the latest commit ?

from waydroid_script.

levone1 avatar levone1 commented on May 28, 2024

Thanks Script ran successfully with edits, and the result is the same, except that now there is no Magisk binary... /sbin folder contains only magiskinit and magiskboot files

Can you please try again to see if magisk works ? I just pushed a small change that should make it fix this issue !

working now, thanks. Magisk app initially opens with message "additional setup required..." and if I press "ok" it reboots, and then still shows the same message after reboot. But if I just ignore it, it works fine, and grants root.

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.