Skip to content
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

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

Open
DaRandomCube opened this issue Oct 14, 2023 · 8 comments
Open
Labels
enhancement New feature or request

Comments

@DaRandomCube
Copy link
Contributor

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.

@DaRandomCube DaRandomCube added the enhancement New feature or request label Oct 14, 2023
@nitanmarcel
Copy link
Owner

Any PR regarding this would be helpful

@Genxster1998
Copy link

Genxster1998 commented Jan 14, 2024

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
Copy link

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

@Genxster1998
Copy link

Genxster1998 commented Jan 14, 2024

@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
Copy link

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
Copy link
Owner

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
Copy link

Genxster1998 commented Jan 14, 2024

@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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants