HuskyDG / magisk-files

1.89k stars 78 forks source link

Using NoxPlayer with Android 12 and Kitsune wont install #86

Open inaciopestana opened 5 months ago

inaciopestana commented 5 months ago

magisk_log_2024-01-16T18.41.05.log I'm using NoxPlayer with Android 12 and Kitsune wont install with version 26.4+ (both stable and canary) However, using the old 26.1 (Magisk Delta at the time) works. When I try to update inside the Kitsune manager to 26.4, i lost the magisk installation.

VisionR1 commented 5 months ago

Check here maybe help you https://github.com/HuskyDG/magisk-files/issues/8

inaciopestana commented 5 months ago

I read your linked thread and I did the following:

1) Installed Kitsune 2) Installed Kitsune directly on /system 3) Mounted system as RW 4) Created the folder sbin under /system/etc/init 5) Copied the magisk.rc that you linked in your post to that folder and renamed it to bootanim.rc 6) Reboot

It did not work. Under Kitsune, Magisk stills read as: Installed: N/A

Did I do something wrong?

VisionR1 commented 5 months ago

I read your linked thread and I did the following:

  1. Installed Kitsune
  2. Installed Kitsune directly on /system
  3. Mounted system as RW
  4. Created the folder sbin under /system/etc/init
  5. Copied the magisk.rc that you linked in your post to that folder and renamed it to bootanim.rc
  6. Reboot

It did not work. Under Kitsune, Magisk stills read as: Installed: N/A

Did I do something wrong?

First reinstall the Nox emulator to refresh the file under /system/etc/init, after enable the root from settings and keep it on

I think with latest Kitsune the bug with init file had fixed, install and before reboot, create manually the sbin folder under the main root /

inaciopestana commented 5 months ago

Thanks! That did the trick.

So, if anyone have the same problem, here it goes:

  1. Install Kitsune and granted root permissions (If already installed, uninstall the apk and install again)
  2. Install Kitsune directly on /system
  3. Mount system as RW (mount -o rw,remount /system)
  4. Create the folder sbin under root directory (/)
  5. Copy https://github.com/HuskyDG/magisk-files/files/13464588/bootanim.zip to /system/etc/init, replacing the original bootanim.rc that was already there.
  6. Reboot (close the emulator using the "X" in the window and, later, press reboot)
VisionR1 commented 5 months ago

Thanks! That did the trick.

So, if anyone have the same problem, here it goes:

  1. Installed Kitsune and granted root permissions
  2. Installed Kitsune directly on /system
  3. Mounted system as RW (mount -o rw,remount /system)
  4. Created the folder sbin under root directory (/)
  5. Copied https://github.com/HuskyDG/magisk-files/files/13464588/bootanim.zip to /system/etc/init, replacing the original bootanim.rc that was already there.
  6. Reboot

That good, i think with latest Kitsune the bug with init file has been fixed (I'm not sure 100%)

inaciopestana commented 5 months ago

I tried the latest and still doesnt work. But with your workaround, it did work!

VisionR1 commented 5 months ago

I tried the latest and still doesnt work. But with your workaround, it did work!

That's is good

HuskyDG commented 5 months ago

Please test this app-debug.zip

inaciopestana commented 5 months ago

When I ran it for the first time, the emulator restarted and, when Kitsune opened, Magisk appeared as installed, but asked to "repair the installation files" through a restart. Then, on the second restart, the emulator no longer booted. I tested on more than one clean image and got the same result.

VisionR1 commented 5 months ago

Please test this app-debug.zip

I test this with latest Nox Android 12, the same still not created auto the sbin folder, and now when i create the sbin folder manually, and install Kitsune after reboot the Nox stuck at 99%, in previous version, beyond the sbin folder bug, all other work great

HuskyDG commented 5 months ago

This is NoxPlayer bugs :))

VisionR1 commented 5 months ago

This is NoxPlayer bugs :))

Oh understand, so all working good with latest Kitsune, beyond this with sbin, we can create the sbin folder manually

inaciopestana commented 5 months ago

Can't the creation of the sbin folder be part of the install script? I don't really understand the programing language, just wondering...

VisionR1 commented 5 months ago

@HuskyDG about create sbin folder manually and after install Kitsune and reboot, can you pinned the solution for Nox Android 12 or write it in the readme in the section there you write Step-by-step for nox

HuskyDG commented 5 months ago

We will fix it by using /debug_ramdisk

VisionR1 commented 5 months ago

We will fix it by using /debug_ramdisk

That's good. I hope this work and with another emulator with same way, because the other until now work with latest Kitsune. Keep the good work

rahaaatul commented 2 months ago

Still not fixed?

@VisionR1 do you know why NOX keeps losing root after every reboot on android 12?

VisionR1 commented 2 months ago

Still not fixed?

@VisionR1 do you know why NOX keeps losing root after every reboot on android 12?

Mine works good Nox 7.0.5.9 Android 12, latest canary Kitsune Mask, you have still tick it the Root in nox settings ?

rahaaatul commented 2 months ago

Still not fixed? @VisionR1 do you know why NOX keeps losing root after every reboot on android 12?

Mine works good Nox 7.0.5.9 Android 12, latest canary Kitsune Mask, you have still tick it the Root in nox settings ?

yes, but everytime i restart the root goes away (not kitsune mask).

but i put up with it, and installed kitsune stable successfully.

VisionR1 commented 2 months ago

Still not fixed? @VisionR1 do you know why NOX keeps losing root after every reboot on android 12?

Mine works good Nox 7.0.5.9 Android 12, latest canary Kitsune Mask, you have still tick it the Root in nox settings ?

yes, but everytime i restart the root goes away (not kitsune mask).

but i put up with it, and installed kitsune stable successfully.

Yeah, the old Magisk Delta, Nox have some problems, but if you create the sbin folder in the root before install the Delta, is works after, you can search here for the Magisk Delta with the Nox and other emulator, I have in past open issue and success fixed

rahaaatul commented 2 months ago

Still not fixed? @VisionR1 do you know why NOX keeps losing root after every reboot on android 12?

Mine works good Nox 7.0.5.9 Android 12, latest canary Kitsune Mask, you have still tick it the Root in nox settings ?

yes, but everytime i restart the root goes away (not kitsune mask). but i put up with it, and installed kitsune stable successfully.

Yeah, the old Magisk Delta, Nox have some problems, but if you create the sbin folder in the root before install the Delta, is works after, you can search here for the Magisk Delta with the Nox and other emulator, I have in past open issue and success fixed

Yeah, thanks to that. I only created sbin folder and nothing else. It worked, and I didn't have copy any file in it. Although, I tried to, but the link in here is misleading, couldn't find the file.

VisionR1 commented 2 months ago

Still not fixed? @VisionR1 do you know why NOX keeps losing root after every reboot on android 12?

Mine works good Nox 7.0.5.9 Android 12, latest canary Kitsune Mask, you have still tick it the Root in nox settings ?

yes, but everytime i restart the root goes away (not kitsune mask). but i put up with it, and installed kitsune stable successfully.

Yeah, the old Magisk Delta, Nox have some problems, but if you create the sbin folder in the root before install the Delta, is works after, you can search here for the Magisk Delta with the Nox and other emulator, I have in past open issue and success fixed

Yeah, thanks to that. I only created sbin folder and nothing else. It worked, and I didn't have copy any file in it. Although, I tried to, but the link in here is misleading, couldn't find the file.

That is good, yeah mine is this, for a similar issue, if you want the file is here https://github.com/HuskyDG/magisk-files/issues/8