Magisk: [Feature Request] Please resume 64-bit support

Created on 11 Dec 2018  路  8Comments  路  Source: topjohnwu/Magisk

I run Linux on my phone inside chroot and namespaces (which obviously requires root access). I need 64 bit so that my login and hence subsequent processes run as aarch64. If the architecture is 32-bit (e.g. uanme -m shows armv8l), building/compiling environment is disturbed resulting in errors or 32-bit libraries/binaries.

Most helpful comment

I rebuilt 64 bit versions again a few days ago as a test, but arm64 magiskinit segfaults on boot now and I haven't been able to trace the fault. This means I can't simply re-include 64 bit binaries in my unofficial builds.

The right place to offer 64 bit binaries is here in the official builds, if John recognises and agrees with the motivation for them.

All 8 comments

Check @ianmacd builds.

As far as I remember his builds do have what you ask

@DenyDarko he stopped support for arm64 builds soon after @topjohnwu
https://forum.xda-developers.com/showpost.php?p=78361047&postcount=2619

I rebuilt 64 bit versions again a few days ago as a test, but arm64 magiskinit segfaults on boot now and I haven't been able to trace the fault. This means I can't simply re-include 64 bit binaries in my unofficial builds.

The right place to offer 64 bit binaries is here in the official builds, if John recognises and agrees with the motivation for them.

@topjohnwu appreciated. Thanks.
@ianmacd can you please build with latest commits to test aarch64 support? Can't wait for official build :)

@mirfatif please wait for a few days before the official canary drops :)

I need 64 bit so that my login and hence subsequent processes run as aarch64.

You don't, you just need to run setarch linux64 after su

@m132 and what if even I didn't know that any such thing existed? :D
Thanks, it's a good thing to play with.

Despite Magisk now offers a magiskinit64 setup elf, this problem still exists, since the busybox binary used is 32 bit. A solution to this would be to use a busybox 32 bit only for 32 bit devices.

Was this page helpful?
0 / 5 - 0 ratings