|
|
|
This page contains links to things that I have found helpful in my attempt to survive with Android.
adb is the Android Debug Bridge, which enables communication between an Android device and a Real Computer. I haven't got round to looking at all its capabilities, but it does allow access to the Android device via USB, and it provides a relatively normal shell environment.
The good news: it works well and presents a relatively sane interface to the Android system, including files that are inaccessible to most apps. The not-so-good news: setup is non-trivial. I'm still learning, and some of what follows may be incorrect or suboptimal, but it works. I welcome constructive feedback.
Install adb, which is in the android-tools package.
Become a “developer” on the phone, which involves going to Settings/About Phone in the setup menu and then tapping 7 times on the “Build number” information. A corresponding message will appear.
Go to Settings/System/Developer Options in the setup menu and enable USB debugging. This is essential to enable access, but the phone protests:
Turn the phone on and connect it to the computer with a USB cable.
As root run:
# adb devices
* daemon not running; starting now at tcp:5037
* daemon started successfully
List of devices attached
4lzlrwtwei55cacu device
A message will appear on the phone:
|
Then continue:
# adb shell
And then you're in! Simple, isn't it? Points to note:
# adb devices
* daemon not running; starting now at tcp:5037
* daemon started successfully
List of devices attached
4lzlrwtwei55cacu unauthorized
This should go away when you accept “Allow USB debugging?” on the phone.
How to Disable Randomized MAC Addresses on Android |
Greg's home page | Greg's diary | Greg's photos | Copyright |