简体   繁体   English

如何在不扎根Android设备的情况下访问文件

[英]How to access files without rooting on an Android device

I try to read the file using adb. 我尝试使用adb读取文件。 However, "Permission Denied" is printed and Permission is "lrwxrwxrwx". 但是,打印“权限被拒绝”,并且权限是“ lrwxrwxrwx”。

Question 1: How can I read this file without rooting? 问题1:如何在不生根的情况下读取此文件?

Question 2: What does "l" mean in "lrwxrwxrwx"? 问题2:“ lrwxrwxrwx”中的“ l”是什么意思?

  1. You can do a cat : adb shell cat /sdcard/D_Permission/foo.txt 你可以做一个catadb shell cat /sdcard/D_Permission/foo.txt

  2. lrwxrwxrwx can be read as, L ink ( R ead, W rite, E xecute)*3. lrwxrwxrwx可以读取为L墨水( R ead, W rite, E xecute)* 3。

The first letter is simply the type of file. 第一个字母只是文件的类型。 This letter will be one of following three. 这封信将是以下三个信之一。

  l for a link to another file, 
  d for a directory 
  - for a file and is set by the linux operating system

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在没有root设备的情况下隐藏Android设备中的任何应用程序? - How to hide any application in android device without rooting my device? 如何在不生根的情况下禁用Android设备的hdmi端口? - How do i disable hdmi port of a android device without rooting it? 如何在没有root设备的情况下捕获其他Android应用程序的屏幕截图? - How to capture a screenshot of other Android application without rooting device? 如何在不root设备的情况下将应用转换为android +5.0中的系统应用? - How to convert an app to be a system app in android +5.0 without rooting the device? 如何在不支持已支持SmartCard API的设备的情况下访问Secure Element - How to Access Secure Element without rooting a device which already supports SmartCard API 无需生根即可访问数据库 - Access database without rooting 无需生根设备即可访问 /System/bin/sh - GAINING ACCESS TO /System/bin/sh WITHOUT Rooting device [Android]无需root手机即可确定wifi绑定设备的发射功率 - [Android]Determine the transmit power of a wifi tethered device without rooting the phone Android:可以直接访问内核模块而无需扎根手机吗? - Android: possible to access kernel modules directly without rooting the phone? 通过植根设备可访问Android权限? - Android Permissions accessible by rooting the device?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM