简体   繁体   English

Windows 7上的adb Android Shell

[英]adb Android shell on Windows 7

I have just installed ADT on Windows 7, but know little to nothing of Linux and ash shell commands. 我刚刚在Windows 7上安装了ADT,但是对Linux和ash shell命令一无所知。

So how do you do this? 那你怎么做呢? (Preferably without rooting the device). (最好不要生根设备)。

There is usually no sudo on Android devices, if the device is rooted, you would find su to log as root. Android设备上通常没有sudo ,如果设备是root用户,则您会发现su以root用户身份登录。

A lot of it depends on what device you are trying to get access to. 这很大程度上取决于您要尝试访问的设备。

BTW, that has nothing to do with Windows 7 having shell commands or not, when you run adb , those are commands running on the device itself. 顺便说一句,这与Windows 7是否具有外壳程序命令无关,当您运行adb ,这些命令是在设备本身上运行的命令。

If the device is not rooted and access to /data is restricted, you won't be able to access it. 如果设备不是root用户,并且对/data访问受到限制,则将无法访问它。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM