HuskyDG / magisk-files

1.95k stars 84 forks source link

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

Closed QINYUUi closed 7 months ago

HuskyDG commented 7 months ago

does /sbin exist?

QINYUUi commented 7 months ago

does /sbin exist?

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

HuskyDG commented 7 months ago

What is emulator/virtual machine?

QINYUUi commented 7 months ago

What is emulator/virtual machine?

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

HuskyDG commented 7 months 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 7 months ago

Does magisk binaries exist in /sbin

HuskyDG commented 7 months 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 7 months ago

Why not using Direct Install?

QINYUUi commented 7 months ago

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

HuskyDG commented 7 months 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 7 months ago

Does /data/lxc_volumns/system exist?

HuskyDG commented 7 months ago

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

HuskyDG commented 7 months ago

Execute with root access

HuskyDG commented 7 months ago

Type getenforce, what does it say

HuskyDG commented 7 months ago

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

HuskyDG commented 7 months ago

We will add support for no selinux back

HuskyDG commented 7 months ago

Fixed

initguru commented 3 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.