HuskyDG / magisk-files

2.79k stars 118 forks source link

Installation problem on Redfinger cloud phone because of no selinux supported #14

Closed QINYUUi closed 12 months ago

HuskyDG commented 1 year ago

does /sbin exist?

QINYUUi commented 1 year ago

does /sbin exist?

It exists, but it is empty and contains no files.

HuskyDG commented 1 year ago

What is emulator/virtual machine?

QINYUUi commented 1 year ago

What is emulator/virtual machine?

cloud virtual machine,Relevant:(UgPhone、LDCloud、LT Cloud Phone)

HuskyDG commented 1 year ago

For rootfs, magiskinit will live patch because /sepolicy is stored on ramdisk, if it can't, there is no way to launch magisk

HuskyDG commented 1 year ago

Does magisk binaries exist in /sbin

HuskyDG commented 1 year ago
3318 3287 0:65 / /system ro,relatime master:194 - overlay overlay_system_0 rw,lowerdir=/data/lxc_volumns/system,upperdir=/data/lxc_volumns/system_upper_0/overlay,workdir=/data/lxc_volumns/system_upper_0/overlay-workdir
HuskyDG commented 1 year ago

Why not using Direct Install?

QINYUUi commented 1 year ago

@HuskyDG Thank you very much for your patience in solving problems and guidance for me, and for your enthusiastic replies.

HuskyDG commented 1 year ago
  1. Try to dump /dev/block/sde11 by this command:
    dd if=/dev/block/sde11 of=/sdcard/boot.img
  2. Patch boot image /sdcard/boot.img in Magisk app
  3. Flash patched boot image
    dd if=(path/to/patched/boot/image) of=/dev/block/sde11
HuskyDG commented 1 year ago

Does /data/lxc_volumns/system exist?

HuskyDG commented 1 year ago

Execute /system/etc/init/magisk/magiskpolicy --live --magisk with root access, does it work?

HuskyDG commented 1 year ago

Execute with root access

HuskyDG commented 1 year ago

Type getenforce, what does it say

HuskyDG commented 1 year ago

Device with no selinux (Selinux disabled) is not supported by Magisk

HuskyDG commented 12 months ago

We will add support for no selinux back

HuskyDG commented 12 months ago

Fixed

initguru commented 8 months ago

I have another issue with Redfinger cloud one. Using the latest stable or canary, Kitsune seems installed well but after rebooting it shows Not Installed. Strange thing is builtin su is actually under /acct/.mci and filename is 'mciu' (just name changed from su to mciu?) Any help would be very appreciated.