nitanmarcel / waydroid-magisk

Kitsune Mask (magisk) manager for Waydroid.
GNU General Public License v3.0
132 stars 5 forks source link

linux-xanmod-anbox and it's header got remove from chaotic aur #19

Open DaRandomCube opened 9 months ago

DaRandomCube commented 9 months ago

Is your feature request related to a problem? Please describe. the linux-xanmod-anbox & linux-xanmod-anbox-headers got removed from chaotic aur

Describe the solution you'd like update the readme.md to provide alternative ways to get magisk working on waydroid like providing another repo to download from

Describe alternatives you've considered only thing i could find is installing the packages from chinese aur but i didn't do that yet

Additional context Add any other context or screenshots about the feature request here.

nitanmarcel commented 9 months ago

Any PR regarding this would be helpful

Genxster1998 commented 6 months ago

It never worked . I have tried on multiple distributions, the magisk x86_64 platform is flawed on latest Linux 6.x kernels. Magisk daemon just keep crashing on executing, I tried manually setting up magisk with lxc-attach shell, it crashes or killed or not responding .

  1. I tried multiple kernels on arch distribution, stock on other distros
  2. I tried with both ashmem_linux and binder_linux modules, psi config, use memfd or not
  3. I tried automatically mounting system.img and vendor.img rw instead of ro even with resizing to enlarge img size .
  4. I tried mounting rw cgroups from lxc container config. So, whoever get it working on x86_64 platform with lxc_container is either blatantly lying or uses heavily modified kernel/magisk without disclosing actual process. I have yet to see a proper video where someone can show they are using latest kernel 6.4+ and magisk at all.
mistrmochov commented 6 months ago

Magisk 26.3 works perfectly fine for me, but not with this script

Genxster1998 commented 6 months ago

@mistrmochov I have seen your repo , so it does not work on even latest 6.6.x xanmod-anbox kernel on archlinux. Screenshot_20240114_112124 Screenshot_20240114_112448 upon manually copying magisk setup files and launching daemon from lxc-attach shell , it just hangs and break lxc-attach itself. On which distro, it actually works for you with which kernel, can you specify ? PS: According to me, it would be better to create an external host shim/wrapper for magisk modules using overlayfs binding and superuser access using other root solution in guest container. Do you have any idea on other traditional superuser system working or kernelsu . Anyway the system.img is not sealed rootfs on waydroid so direct modification to android rootfs should not nuke anything. Thanks

mistrmochov commented 6 months ago

I do have Archlinux with latest linux-xanmod-anbox, which is 6.6.x... I do have psi=1 in kernel cmdline. My script works for this setup. It installs Magisk Delta 26.3 I tested also on many different distros and worked fine

nitanmarcel commented 6 months ago

waydroid_magisk is currently on hold until Kitsune is fixed on Waydroid. I also don't look into providing an older version at this moment or any unofficial ones so you must wait until I get this problem fixed from Kitsune side

Genxster1998 commented 6 months ago

@mistrmochov ~okay , can you help me debugging , I am going to create an issue on your repo .I am using linux-xanmod-anbox 6.6.x from archlinuxcn repo. I will reinit waydroid /var files~ P:S: Thanks a lot , your script worked for second time, i redid clean installation

mistrmochov commented 6 months ago

I'm glad, that It worked for you :)