【Android 逆向】Android 系统文件分析 ( Android 系统 root 环境准备 | 查看 Android 根目录信息 )





一、Android 系统 root 环境准备



需要一部 root 过的手机 , 或者直接使用带有 root 权限的模拟器 , 如雷电模拟器 , Android Studio 自带的模拟器 ( 6.0 以下的系统 ) ;

Android Studio 中自带的模拟器在 7.0 之后 , 不给 root 权限了 ;

本篇博客中 , 我使用的是 Pixel2 , 运行 Android 9.0 9.0 9.0 系统 , root 完毕 ;

参考 【Android】Pixel 2 Android 9 系统 ROOT 操作 ( TWRP 下载 | Magisk Manager 下载 | 线刷包下载 | 线刷 9.0 系统 | ROOT 操作 ) ;





二、查看 Android 根目录信息



使用 adb shell 进入手机的命令行 , 执行 su 获取 root 权限 , 进入 / 根目录 , 查看根目录下的内容 ;

acct       charger default.prop firmware        init.usb.configfs.rc lost+found persist     res     sys
bin        config  dev          init            init.usb.rc          mnt        postinstall sbin    system
bugreports d       dsp          init.environ.rc init.zygote32.rc     odm        proc        sdcard  ueventd.rc
cache      data    etc          init.rc         init.zygote64_32.rc  oem        product     storage vendor

在这里插入图片描述

完整命令 :

Microsoft Windows [版本 10.0.19041.1237]
(c) Microsoft Corporation。保留所有权利。

D:\>adb shell
walleye:/ $ su
walleye:/ # cd /
walleye:/ # ls
acct       charger default.prop firmware        init.usb.configfs.rc lost+found persist     res     sys
bin        config  dev          init            init.usb.rc          mnt        postinstall sbin    system
bugreports d       dsp          init.environ.rc init.zygote32.rc     odm        proc        sdcard  ueventd.rc
cache      data    etc          init.rc         init.zygote64_32.rc  oem        product     storage vendor
walleye:/ #
  • 4
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值