Android反编译odex

0.下载 baksmali.jar 、smali.jar 下载地址 https://bitbucket.org/JesusFreke/smali/downloads/ Github 地址 https://github.com/JesusFreke/smali 1. odex -> smali files 把手机系统 /system/framework 下的内容拷贝到工作目录,和需要转换的 .odex、.vdex 文件也拷贝至目录,目录结构如下 -system -a.odex -a.vdex -baksmali-2.5.2.jar -smali-2.5.2.jar 然后执行以下命令 java -jar baksmali-2.5.2.jar deodex a.odex -b ./system/framework/arm64/boot.oat -o out -deodex : 指定 odex 文件 -b : 指定 bootclasspath 文件 -o : 指定 smali 输出目录 2. smali files -> dex java -jar smali-2.5.2.jar assemble out -o a.dex -assemble : 指定 smali files 文件夹 -o : 指定输出文件名 3. 更多 https://www.cnblogs.com/ysk-china/p/7162203.html?utm_source=itdadao&utm_medium=referral ...

五月 24, 2022 · su

Android 8.0 以上开启全局可调式

Android 8.0 以上开启全局可调式 1.安装好 Magisk 2.终端执行 adb shell su magisk resetprop ro.debuggable 1 3.重启 system server stop;start 4.重启手机会失效

四月 12, 2022 · su

使用MagiskHidePropsConf开启全局可调试

1.安装好 Magisk 此处略过 2.安装 MagiskHidePropsConf 下载地址 https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf/releases 安装完成后重启 3.按流程操作 重启进入终端 按流程一步一步操作就行了 adb shell props MagiskHide Props Config v6.1.2 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 (active) 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: 5 MagiskHide Props Config v6.1.2 by Didgeridoohan @ XDA Developers ===================================== Custom props Select an option below: ===================================== Set or edit custom prop values for your device. Currently no custom props set. Please add one by selecting "New custom prop" below. n - New custom prop b - Go back to main menu e - Exit See the module readme or the support thread @ XDA for details. Enter your desired option: n MagiskHide Props Config v6.1.2 by Didgeridoohan @ XDA Developers ===================================== New custom prop ===================================== Enter the prop to set. Example: ro.sf.lcd_density b - Go back e - Exit Enter your desired option: ro.debuggable MagiskHide Props Config v6.1.2 by Didgeridoohan @ XDA Developers ===================================== ro.debuggable ===================================== ro.debuggable is one of the sensitive props that can be set by the MagiskHide props option. Are you sure you want to proceed? y - Yes n - No e - Exit Enter your desired option: y MagiskHide Props Config v6.1.2 by Didgeridoohan @ XDA Developers ===================================== ro.debuggable ===================================== Enter the value you want to set ro.debuggable to, or select from the options below. The currently set value is: 0 Please enter the new value. b - Go back e - Exit Enter your desired option: 1 MagiskHide Props Config v6.1.2 by Didgeridoohan @ XDA Developers ===================================== ro.debuggable ===================================== This will set ro.debuggable to: 1 Pick an option below to change what boot stage the prop will be set in, or set/reset a delay: 1 - Default (current) 2 - post-fs-data 3 - late_start service 4 - Both boot stages d - Delay Do you want to continue? Enter y(es), n(o), e(xit) or an option from above: y Working. Please wait... Working. Please wait... Working. Please wait... Working. Please wait... Working. Please wait... MagiskHide Props Config v6.1.2 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...

一月 12, 2022 · su

adb常用命令

1.查看最上层 Activity 名字 Linux adb shell dumpsys activity | grep "mResumedActivity" Windows adb shell dumpsys activity activities | findstr mResumedActivity 2.启动组件 启动 Activity adb shell am start -n com.google.android.network2/com.my.MainActivity 启动 Service adb shell am startservice -n com.google.android.network2/com.my.MainActivity 发送 Broadcast adb shell am broadcast -a android.intent.action.BOOT_COMPLETED 3.重启设备 重启到 Recovery 界面 adb reboot recovery 重启到 bootloader 界面 adb reboot bootloader 4.其他 强制结束应用 adb shell am force-stop <PACKAGE> 5.以调试模式启动应用 adb shell am set-debug-app -w {package_name} 清除调试模式 ...

七月 14, 2021 · su

Android微信数据库密码计算

0.省流助手 密码就是 md5(imei + uin) 取前七位,最新使用 8.0.28 验证还是可以的 1.获取相关参数 查找主数据文件路径(当然是需要 root 权限了) ls -l /data/user/0/com.tencent.mm/MicroMsg/*/EnMicroMsg.db 如果出现多个文件的话,说明登录过多个微信号,看日期最新的就是当前登录的号了 查看 _auth_uin 值 cat /data/data/com.tencent.mm/shared_prefs/auth_info_key_prefs.xml 正常的话应该是下面这样 <?xml version='1.0' encoding='utf-8' standalone='yes' ?> <map> <boolean name="auth_info_prefs_use_new_ecdh" value="true" /> <int name="_auth_uin" value="1054025641" /> <boolean name="key_auth_info_prefs_created" value="true" /> <int name="key_auth_update_version" value="671094359" /> <string name="server_id">4f031802000000000d385cc7c40600</string> <string name="_auth_key">0a2408201220b9be5667ec69984f48ba4923c4e045eef3837d61871b7da350accb7b8a56405212b90108b30112b30108994e12a70186e1f98b9239ec3db321b36332fcc097ab11f7c173f6eb1b1411fd2afad5ce00e2b1e1e1b9588b0377bd47cb2db230d17fa9178a05791bb2725ff01c4df06a578a23b192a4e19f4c794e67dda2813522faa97dba324e0ef6b14c8b3e07dc0c11a5ca551f398832212aa9591a66b3be97c24f46b5dfd2299e4392f038da3f8f7e4bc602c3d2927232b30303664c5f00f624142231bc084ae8e04efe643481a23edc12091d8ceaf318bfa6ddb40a</string> 查看设备 imei 值 getprop | grep imei [persist.radio.imei1]: [868619036811436] [persist.radio.imei2]: [868619036811444] [ro.ril.miui.imei0]: [868619036811436] [ro.ril.miui.imei1]: [868619036811444] 2.计算数据库密码 计算 imei + uin 的 md5 echo -n "8686190368114361054025641"|md5sum 密码取前七位(小写) 如果有多个 imei 那就都试一下 echo -n "8686190368114441054025641"|md5sum 如果都不对的话,那可能是微信拿不到 imei ,使用的默认值 1234567890ABCDEF ...

一月 4, 2021 · su