android逆向-DDMS logcat 包名显示问号--坎坷解决
Posted dahaiChang
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了android逆向-DDMS logcat 包名显示问号--坎坷解决相关的知识,希望对你有一定的参考价值。
自己总是没有养成记录博客的习惯,还是懒,哈哈!
网上说的都是检查Tools >> android >> Enable ADB Integration是否勾上。
但是Android Studio3.0版本后在Tools里取消了Android选项。
终极解决办法是修改Android ro.debuggable的值为1.
Android修改ro.debuggable有以下几种方法:
方法一、使用mprop工具(重启会失效)
https://github.com/wpvsyou/mprop
./mprop ro.debuggable 1
方法二、Magisk 重置ro.deguggable(重启会失效)
方法三、MagiskHiden props Config模块修改(永久有效)
- 1.先刷入magisk
- 2.安装MagiskHiden props Config
- 3.安装Busybox For android ndk
安装MagiskHiden props ConfigV2.4.1后,面具又提示需要Magiskv20.4+,大写的尴尬
于是 又重新刷入Magisk-v20.4.zip。
使用步骤:情况一 情况二
1、确保拥有第三方recovery 1、安装apk
2、刷Magisk-v20.4.zip就完了2、在页面导入Magisk-v20.4.zip
下载链接:https://dahai0711.lanzous.com/b00u4whrg 密码:dahai
开搞:
Microsoft Windows [版本 10.0.17134.1184]
(c) 2018 Microsoft Corporation。保留所有权利。
C:\\Users\\cyh>adb shell getprop ro.debuggable
0
C:\\Users\\cyh>adb shell
dipper:/ $ su
su
dipper:/ # props
props
Loading... Please wait.
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
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
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
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
y
Rebooting...
C:\\Users\\cyh>
重启后验证下
搞定!
以上是关于android逆向-DDMS logcat 包名显示问号--坎坷解决的主要内容,如果未能解决你的问题,请参考以下文章
如何从 DDMS 中的 Android 可穿戴设备获取 logcat 消息/堆栈跟踪