topjohnwu / Magisk

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

Magisk compatibility issues #1352

Closed xiaokanghub closed 5 years ago

xiaokanghub commented 5 years ago

Magisk Manager v7.1.1 Magisk v18.1 MI8 Android 8.1
I install the framework through the REC, but when I use JDB to attach some software, a connection reset error will occur with JDB,I already set debuggable value is 1, and forward the port.but if I uninstall the Magisk, JDB will work. did you have any way to solve this problem? Thank you for developer

topjohnwu commented 5 years ago

Disable MagiskHide to prevent modifying userdebug flags

xiaokanghub commented 5 years ago

Disable MagiskHide to prevent modifying userdebug flags

I never enable the MagiskHide mode, the problem when I install the framework ,JDB can't work well. error example: “java.net.SocketException:connection reset”, when I use "jdb -attach 127.0.0.1:port"

Didgeridoohan commented 5 years ago

MagiskHide is enabled by default. If things start working after disabling Hide, you could keep it off, or use MagiskHide Props Config to reset the necessary props that it Hide changes.

xiaokanghub commented 5 years ago

MagiskHide is enabled by default. If things start working after disabling Hide, you could keep it off, or use MagiskHide Props Config to reset the necessary props that it Hide changes.

ah, unfortunately, JDB can not working after disabling Hide, same error, what can I do for it? uninstall....