Android root环境下设置ro.debuggable = 1

参考这两篇文章就可以修改成功。

地址1:Magisk安装教程 - Magisk中文网

地址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:/ #

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值