topjohnwu / Magisk

The Magic Mask for Android
GNU General Public License v3.0
47.59k stars 12.08k forks source link

MagiskHide doesn't work on Xiaomi My Note Pro #219

Closed lvitti closed 7 years ago

lvitti commented 7 years ago

I compiled a version with more log messages to determine why the MagiskHide was not working properly. I could see that this line is always executed: https://github.com/topjohnwu/Magisk/blob/master/jni/magiskhide/hide_daemon.c#L77

Why can this happen?

lvitti commented 7 years ago

Forget it, now xxread(sv[1], &pid, sizeof(pid)); it generates problems. I'll keep investigating