Backup other contents

#2 · open · 0 comments

View on GitHub ↗

chen3feng

# APK ```console # 获取包的列表 adb shell pm list packages -3 # 获取 com.shopee.sg 的所有 apk 路径 adb shell pm path com.shopee.sg ``` -s 只显示系统应用 -3 只显示第三方应用(用户安装的) -u 也列出已卸载但未完全移除的包(残留) 获得路径后用 adb pull 下载所有的 apk。一个包可能有多个 apk,仅下载 apk 即可,其余文件比如 digests oat 等可能会因权限而失败。以后可以用工具如 [SAI](https://github.com/Aefyr/SAI) 或 [bundletool ](https://github.com/google/bundletool) 还原安装。 # 短信和通话记录 ```console adb shell content query --uri content://sms adb shell content query --uri content://call_log/calls ``` 所有短信 content://sms/ 收件箱 content://sms/inbox 发件箱 content://sms/sent 草稿 content://sms/draft 彩信 content://mms/ 彩信短信整合 content://mms-sms/conversations/ # 日历账户 content://com.android.calendar/calendars content://com.android.calendar/events content://com.android.calendar/reminders # 系统设置 全局设置 content://settings/global 系统设置 content://settings/system Secure 设置 content://settings/secure

Comments