0%

永久修改Ro.Debuggable

  1. 手机 root 安装 magisk

  2. 下载安装 MagiskHide Props Config 模块,并重启

  3. 进入 adb shell

  4. 执行 props

  5. 选择 3 - Edit MagiskHide props

  6. 修改

    ro.debuggable=1
    ro.secure=0
➜  temp adb shell
beyond2q:/ $ props

Loading... Please wait.


MagiskHide Props Config v5.4.0
by Didgeridoohan @ XDA Developers

=====================================
Updating fingerprints list
=====================================

No connection.

MagiskHide Props Config v5.4.0
by Didgeridoohan @ XDA Developers

=====================================
Select an option below.
=====================================

1 - Edit device fingerprint
2 - Device simulation (disabled)
3 - Edit MagiskHide props
4 - Add/edit custom props
5 - Delete prop values
6 - Script settings
7 - 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: 3

MagiskHide Props Config v5.4.0
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
7 - ro.build.selinux
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.4.0
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.4.0
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...
➜ temp adb shell
beyond2q:/ $ props

Loading... Please wait.

➜ temp adb shell
beyond2q:/ $ props

Loading... Please wait.


MagiskHide Props Config v5.4.0
by Didgeridoohan @ XDA Developers

=====================================
Updating fingerprints list
=====================================

No connection.
➜ temp adb shell
beyond2q:/ $ props

Loading... Please wait.

MagiskHide Props Config v5.4.0
by Didgeridoohan @ XDA Developers

=====================================
Select an option below.
=====================================

1 - Edit device fingerprint
2 - Device simulation (disabled)
3 - Edit MagiskHide props (active)
4 - Add/edit custom props
5 - Delete prop values
6 - Script settings
7 - 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: 3

MagiskHide Props Config v5.4.0
by Didgeridoohan @ XDA Developers

=====================================
MagiskHide props (active)
Select an option below:
=====================================

Change some of the sensitive props set by MagiskHide.

1 - ro.debuggable (active)
2 - ro.secure
3 - ro.build.type
4 - ro.build.tags
5 - ro.bootmode
6 - ro.boot.mode
7 - ro.build.selinux
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: 2

MagiskHide Props Config v5.4.0
by Didgeridoohan @ XDA Developers

=====================================
ro.secure
=====================================

Currently set to 1.

You currently have the safe value set.
Are you sure you want to change it to 0?

Enter y(es), n(o) or e(xit): y

Working. Please wait...

Working. Please wait...

Working. Please wait...

MagiskHide Props Config v5.4.0
by Didgeridoohan @ XDA Developers

=====================================
Reboot - ro.secure
=====================================

Reboot for changes to take effect.

Do you want to reboot now (y/n)?

Enter y(es), n(o) or e(xit): y

Rebooting...