[Magisk] SalmiakDragon:
Enabling "Magisk Hide" causes sudden reboots

Hi,

I have a problem with Magisk v12, specifically the Magisk Hide feature. I'd appreciate any help I can get.

I'm a bit of a noob, so first off: Is using Magisk and Magisk Hide even possible on my setup?

I mainly want root for Link2SD, and I mainly want to hide root for Pokémon GO (to pass Safety Net).

Device: Samsung Galaxy S4 GT-I9505 (jfltexx)

ROM: Stock, I9505XXUPOJ2 (Android 5.0.1)

I passed Safety Net before installing Magisk, as well as after uninstalling it.

Second, the issue with Magisk Hide. When enabled, within 1 minute the phone gets sluggish and unresponsive, the screen goes black (well, horizontal black stripes, then black) and the phone reboots. After rebooting these sudden reboots continue to happen, seemingly at random - though opening Magisk Manager or running Safety Net attest is a sure way to trigger it (rarely takes more than 10 seconds). The system never keeps running long enough for me to actually test Safety Net. Toggling Magisk Hide off stops the reboots. MagiskSU seems to be working fine.

Things I have tried (unsuccessfully):

Multiple reboots after installing Magisk

Toggling Magisk Hide on/off

Enabling Magisk Core Only Mode and rebooting

Un- and re-installing Magisk

Installing Magisk v11.6 (couldn't allow root)

Flashing newer stock ROM (PDA:PPI1, CSC:PPH2) (couldn't detect/unlock SIM-card)

Logs:

I may have messed with Magisk Core Only Mode as well while making these. Sorry about that.

Magisk Hide disabled:

** Magisk post-fs mode running...

** Magisk post-fs-data mode running...

* Running post-fs-data.d

* Loading core props

* Preparing modules

* Stage 1: Mount system and vendor mirrors

* Stage 2: Mount dummy skeletons

* Stage 3: Mount module items

* Stage 4: Execute module scripts

* Stage 5: Mount mirrored items back to dummy

** Magisk late_start service mode running...

* Linking binaries to /sbin

* Starting MagiskSU

* Running service.d

Magisk Hide enabled:

** Magisk post-fs mode running...

** Magisk post-fs-data mode running...

* Running post-fs-data.d

* Loading core props

* Preparing modules

* Stage 1: Mount system and vendor mirrors

* Stage 2: Mount dummy skeletons

* Stage 3: Mount module items

* Stage 4: Execute module scripts

* Stage 5: Mount mirrored items back to dummy

** Magisk late_start service mode running...

* Linking binaries to /sbin

* Starting MagiskSU

* Running service.d

MagiskHide: Moving and re-linking /sbin binaries

MagiskHide: Removing dangerous read-only system props

MagiskHide: resetprop by nkk71 & topjohnwu

Initializing...

Modify data structure: 'ro.boot.warranty_bit'='0'

Existing property: 'ro.boot.warranty_bit'='1'

Recheck property: 'ro.boot.warranty_bit'='0'

Done!

MagiskHide: resetprop by nkk71 & topjohnwu

Initializing...

Modify data structure: 'ro.warranty_bit'='0'

Existing property: 'ro.warranty_bit'='1'

Recheck property: 'ro.warranty_bit'='0'

Done!

MagiskHide: Killing com.google.android.gms.unstable

MagiskHide: Starting MagiskHide daemon

MagiskHide: Update process/package list:

MagiskHide: [com.google.android.gms.unstable]

Zygote(0) ns=<;

After sudden reboot:

NOTE: Parts of log identical to number 2 hidden

** Magisk post-fs mode running...

** Magisk post-fs-data mode running...

* Running post-fs-data.d

* Loading core props

* Preparing modules

* Stage 1: Mount system and vendor mirrors

* Stage 2: Mount dummy skeletons

* Stage 3: Mount module items

* Stage 4: Execute module scripts

* Stage 5: Mount mirrored items back to dummy

** Magisk late_start service mode running...

* Linking binaries to /sbin

* Starting MagiskSU

* Running service.d

* Starting MagiskHide

MagiskHide: Moving and re-linking /sbin binaries

MagiskHide: Removing dangerous read-only system props

MagiskHide: resetprop by nkk71 & topjohnwu

Initializing...

Modify data structure: 'ro.boot.warranty_bit'='0'

Existing property: 'ro.boot.warranty_bit'='1'

Recheck property: 'ro.boot.warranty_bit'='0'

Done!

MagiskHide: resetprop by nkk71 & topjohnwu

Initializing...

Modify data structure: 'ro.warranty_bit'='0'

Existing property: 'ro.warranty_bit'='1'

Recheck property: 'ro.warranty_bit'='0'

Done!

MagiskHide: Killing com.google.android.gms.unstable

MagiskHide: Starting MagiskHide daemon

MagiskHide: Update process/package list:

MagiskHide: [com.google.android.gms.unstable]

Zygote(0) ns=G

MagiskHide: com.google.android.gms.unstable(PID=3947 ns=[0 3947 10013 com.google.android.gms.unstable service com.google.android.gms/.droidguard.DroidGuardService]

)

MagiskHide: Stopping MagiskHide daemon

MagiskHide: Killing com.google.android.gms.unstable

After disabling Magisk Hide again:

Identical to number 1

After (normal) reboot

** Magisk post-fs mode running...

** Magisk post-fs-data mode running...

* Running post-fs-data.d

* Loading core props

** Magisk late_start service mode running...

* Linking binaries to /sbin

* Starting MagiskSU

* Running service.d

After enabling Magisk Hide again:

An empty log file was produced. I have tried capturing one after reboot, but the system shuts down before I get a chance to.