参考这两篇文章就可以修改成功。
地址2:利用 Magisk 模块永久修改 ro.debuggable & 获取 adb root
root@angler:/ # props
Loading... Please wait.
WARNING: linker: magisk: unsupported flags DT_FLAGS_1=0x8000001
MagiskHide Props Config v5.3.6
by Didgeridoohan @ XDA Developers
=====================================
Updating fingerprints list
=====================================
No connection.
MagiskHide Props Config v5.3.6
by Didgeridoohan @ XDA Developers
=====================================
Select an option below.
=====================================
1 - Edit device fingerprint
2 - Force BASIC key attestation
3 - Device simulation (disabled)
4 - Edit MagiskHide props
5 - Add/edit custom props
6 - Delete prop values
7 - Script settings
8 - Collect logs
u - Perform module update check
r - Reset all options/settings
b - Reboot device
e - Exit
See the module readme or the
support thread @ XDA for details.
Enter your desired option: 4
MagiskHide Props Config v5.3.6
by Didgeridoohan @ XDA Developers
=====================================
MagiskHide props
Select an option below:
=====================================
Change some of the sensitive props set by MagiskHide.
1 - ro.debuggable
2 - ro.secure
3 - ro.build.type
4 - ro.build.tags
5 - ro.bootmode
6 - ro.boot.mode
a - Change all props
b - Go back to main menu
e - Exit
Pick several options at once by
separating inputs with a comma.
Example: 1,3,4
See the module readme or the
support thread @ XDA for details.
Enter your desired option: 1
MagiskHide Props Config v5.3.6
by Didgeridoohan @ XDA Developers
=====================================
ro.debuggable
=====================================
Currently set to 0.
You currently have the safe value set.
Are you sure you want to change it to 1?
Enter y(es), n(o) or e(xit): y
Working. Please wait...
Working. Please wait...
Working. Please wait...
MagiskHide Props Config v5.3.6
by Didgeridoohan @ XDA Developers
=====================================
Reboot - ro.debuggable
=====================================
Reboot for changes to take effect.
Do you want to reboot now (y/n)?
Enter y(es), n(o) or e(xit): y
Rebooting...
C:\Users\Administrator>adb shell
shell@angler:/ $ su
WARNING: linker: su: unsupported flags DT_FLAGS_1=0x8000001
root@angler:/ # get
getenforce getevent getopts getprop
root@angler:/ # getprop ro.debuggable
1
root@angler:/ #