Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
Signed-off-by: Joel Fernandes <joel@linuxinternals.org>
  • Loading branch information
Joel Fernandes committed Apr 6, 2018
1 parent 9d767b4 commit 1d032fc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ sudo ln -s ./androdeb /usr/bin/androdeb
* Fastest way of installing androdeb onto your device:
```
# First make sure device is connected to system
sudo androdeb prepare --download
androdeb prepare --download
```

* Now run androdeb shell to enter your new environment!:
Expand All @@ -66,6 +66,11 @@ androdeb remove
If you have multiple devices connected, please add `-s <serialnumber>`.
Serial numbers of all devices connected can be obtained by `adb devices`.

* To update the androdeb you cloned on your host, run:
```
androdeb pull
```

More advanced usage instructions
--------------------------------
### Install kernel headers in addition to preparing androdeb device:
Expand Down
6 changes: 4 additions & 2 deletions utils/banners
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ print_prepare_banner() {
usage() {
echo "androdeb"
echo " shell Enter the androdeb shell environment and get to work!"
echo " remove Remove androdeb from the device"
echo " pull Git pull androdeb to update it on your host"
echo ""
echo " prepare Prepare the device (when running for the first time)"
echo " --tracers Enable tracing packages (perf and trace-cmd)"
Expand All @@ -27,8 +29,8 @@ usage() {
echo " --tempdir Use a specific temporary directory for build operation"
echo " --buildtar Local directory to store tarball of androdeb env from device"
echo " --distro Debian distro to base on (default is buster)"
echo " --device Serial number of adb device."
echo " -s Serial number of adb device."
echo " --device Serial number of adb device."
echo " -s Serial number of adb device."
echo ""
echo " --debug"
exit 1
Expand Down

0 comments on commit 1d032fc

Please sign in to comment.