Code Monkey home page Code Monkey logo

magiskwaydroid's Introduction

magiskWaydroid


Changelog:

(V - 0.7): Added support for runit init system, but on voidlinux magisk doesn't work, because of some incompatibility with magisk busybox, I'm working on some solution!

(V - 0.8): Added arm64 support, but I don't have any arm device, So I was not able to test It. So If you anyone will be using arm version, please let me know, If it works :)

(V - 0.8.4): Added option to install Magisk together with lsposed and magisk builtinbusybox modules. And also in magiskremove script, added feature to restore Magisk to its original state and remove all modules.


Small and quick script, that puts finished magisk files to waydroid directory. Fully working Magisk Delta!! Please kindly read everything here and follow insctructions, or It might not work properly!

installedmagisk

Purpose of this script.

Use this script if the script from nitanmarcel doesn't work. This script copies "preinstalled" magisk to your waydroid directory. These files are generated from the script, that I mentioned before and I made script based on this so others can benefit. Note: With this script you get only one version of Magisk, which is Magisk Delta 26.3 (Not Kitsune Mask). Magisk Delta fully works and you can install all the sweet stuff and modules you want.

Please, If you have an idea, how to make scripts better and accessible to more people, feel free to pull requests, I will be happy to make the script better.

Requirements

waydroid, git, tar, gzip, wget

Install instructions

First please make sure, that your Waydroid is installed and initialized! If you have fresh waydroid install and your Waydroid has never started, please start up the waydroid. (data folder has to exist!)

If you have been installing magisk from nitanmarcel script, make sure you run: "sudo waydroid_magisk remove", before installing this script! Althought, now this script should remove all conflicting files.

git clone https://github.com/mistrmochov/magiskWaydroid
chmod +x magiskinstall.sh
./magiskinstall.sh ("DO NOT RUN AS ROOT OR SUDO, or it wont work, but when you are prompted for sudo password put it there of course!")

Option 1 is for normal Magisk Delta install.

Option 2 is for installing Magisk together with mentioned modules.

IMPORTANT: After script installation start up the Waydroid and after It boots up, check If Magisk was installed, If yes then please restart your Waydroid to complete the installation proccess or you can also proceed with direct install to system through Magisk app.

For removal use magiskreset.sh

Option 1 removes Magisk.

Option 2 resets Magisk to its original state.

With magisk installed, Waydroid usually boots longer and in first boot after you install magisk, It can take few seconds untill Magisk manager pops up, So if it's not in the applications, just wait. Also please do not update Magisk to Kitsune Mask or you will lose root.

Compatibility

Now this script supports x86_64 and arm64 archs.

If you're using Archlinux based distros you need linux-xanmod-anbox kernel and its header and also you need to put 'psi=1' (without quotes) to your kernel cmdline or Magisk won't work at all! You can compile and install this kernel from AUR: https://aur.archlinux.org/packages/linux-xanmod-anbox , https://aur.archlinux.org/packages/linux-xanmod-anbox-headers . Or you can install compiled kernel from chaotic aur chinese repository: https://archlinux.pkgs.org/rolling/archlinuxcn-x86_64/linux-xanmod-anbox-6.7.10-1-x86_64.pkg.tar.zst.html , https://archlinux.pkgs.org/rolling/archlinuxcn-x86_64/linux-xanmod-anbox-headers-6.7.10-1-x86_64.pkg.tar.zst.html .

magiskwaydroid's People

Contributors

mistrmochov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

justin99b

magiskwaydroid's Issues

Does not appear to work

I don't seem to be able to get it to work. I previously used this script to no avail but undid the magisk changes it made. Is it supposed to install the app? Installing magisk 26.3 manually only gives me the option to patch a file.

2023-12-22.15-58-27.mp4

SELinux Problem

I have paid attention to that New Magisk-Delta has dropped the devices which doesn't have SELinux support.But I don't want to use SELinux on my Host System because which will cause a lot of bugs.What I should do,thanks!😂

Unable to update magisk once installed.

Hi your script works as far as rooting waydroid on my system but for some reason i can't install the update magisk says is available. It gives me the option "direct install" but magisk app just exits after the "Flashing" window appears.. the other option is "Direct install (modify /system directly) which will error out on "Flashing" saying kernel doesn't support SElinux policy and something else and says install failed..
My distro is Bazzite 39 ( fork of universal blue Fedora 39)

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.