Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let's document: adb #13997

Open
7 of 70 tasks
Managor opened this issue Oct 5, 2024 · 4 comments
Open
7 of 70 tasks

Let's document: adb #13997

Managor opened this issue Oct 5, 2024 · 4 comments
Labels
help wanted You can help make tldr-pages better! let's document Tracker issue to document multiple subcommands/commands of a tool or utility or category. new command Issues requesting creation of a new page.

Comments

@Managor
Copy link
Collaborator

Managor commented Oct 5, 2024

Command description

Prune and add to this list as needed. I've only taken a compilation from the internet and the official documentation and made it into a list here
Some shell commands like ps, ls, pwd most likely overlap with the PC versions of those commands so I didn't include them. Edit the post if you feel the need to include them.

Documentation

https://manned.org/adb
https://developer.android.com/tools/adb

Platform

Common

VCS repository link (e.g. GitHub, GitLab)

No response

Additional information

No response

Commands

  • adb 5bbc71e
    • adb shell adb-shell: add page #4287
      • adb shell am
        • adb shell am start
        • adb shell am startservice
        • adb shell am force-stop
        • adb shell am kill
        • adb shell am kill-all
        • adb shell am broadcast
        • adb shell am instrument
        • adb shell am profile
        • adb shell am dumphead
        • adb shell am set-debug-app
        • adb shell am clear-debug-app
        • adb shell am monitor
        • adb shell am screen-compat
        • adb shell am display-size
        • adb shell am display-density
        • adb shell am to-uri
        • adb shell am to-intent-uri
      • adb shell dpm
        • adb shell dpm set-active-admin
        • ....
      • adb shell pm
        • adb shell pm list
          • adb shell pm list packages
          • adb shell pm list permission-groups
          • adb shell pm list permissions
          • adb shell pm list instrumentation
          • adb shell pm list features
          • adb shell pm list libraries
          • adb shell pm list users
        • adb shell pm path
        • adb shell pm install
        • adb shell pm uninstall
        • adb shell pm clear
        • adb shell pm enable
        • adb shell pm disable
        • adb shell pm disable-user
        • .....
      • adb shell cmd
        • adb shell cmd package list packages
      • adb shell dump
      • adb shell dumpsys
      • adb shell getprop
      • adb shell input
      • adb shell monkey
      • adb shell path
      • adb shell screencap
      • adb shell screenrecord
      • adb shell wm
  • adb backup (to be deprecated)
  • adb bugreport
  • adb connect
  • adb devices adb-device: add page #14072
  • adb forward
  • adb get-serialno
  • adb get-state
  • adb install adb-install: add page #4286
  • adb kill-server
  • adb logcat adb-logcat: add page #8424
  • adb pull
  • adb push
  • adb reboot adb reboot: add page #14002
  • adb restore
  • adb reverse adb-reverse: add page #4288
  • adb sideload
  • adb start-server
  • adb tcpip
  • adb uninstall
@Managor Managor added help wanted You can help make tldr-pages better! let's document Tracker issue to document multiple subcommands/commands of a tool or utility or category. new command Issues requesting creation of a new page. labels Oct 5, 2024
@Managor
Copy link
Collaborator Author

Managor commented Oct 5, 2024

The safest way of testing these would probably be by installing waydroid

@Managor
Copy link
Collaborator Author

Managor commented Oct 5, 2024

Now here would be a funny hardcoded exception to the client: Make tldr adb shell command alias to tldr -p android command. This would reduce replicated pages.

@kbdharun
Copy link
Member

kbdharun commented Oct 6, 2024

Now here would be a funny hardcoded exception to the client: Make tldr adb shell command alias to tldr -p android command. This would reduce replicated pages.

Not sure what you mean here, since ADB commands are indeed correctly present in common directly and regardless of the platform the same page will be present (thus not requiring replication).

If you are suggesting aliasing tldr adb shell command to tldr -p android command that wouldn't be ideal since the platform documents a lot of termux-specific commands too which aren't accessible to ADB afaik.

@Managor
Copy link
Collaborator Author

Managor commented Oct 6, 2024

Understood. Since the android folder contained am and pm I thought it would reduce the copies of same data. Instead for keeping pages on those in both pages/android and in pages/common in the form of command.md and adb-shell-command.md respectively.

@Managor Managor mentioned this issue Oct 8, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted You can help make tldr-pages better! let's document Tracker issue to document multiple subcommands/commands of a tool or utility or category. new command Issues requesting creation of a new page.
Projects
None yet
Development

No branches or pull requests

2 participants