-
-
Notifications
You must be signed in to change notification settings - Fork 1
Helpful Android Snippets
azazelm3dj3d edited this page Jun 16, 2023
·
3 revisions
These are snippets provided by the community around the Android operating system to help with utilizing Droid.
How to add a snippet
Adding a snippet is easy. All you need to do is copy an existing snippet, starting from the heading ("##") to the line that reads "Author:" and then add your information in between and that's it!
The directories seen on the Android device are not the actual file structure. For example, if you try to upload to '/LL-Android-011/Internal storage/Download', it will not work. To find out the actual directory, run 'adb shell' while connected to the Android device. Now you can traverse the Android file system. Your objective now is to find the 'Download' folder (or wherever you want to upload to).
This is how I found it on my device:
- Run
ls
. A list of folders will appear, one of them is "storage". - Run
cd storage
, thenls
again. Inside is a folder called "self". - Run
cd self
, thenls
. Inside is a folder called "primary". Inside this folder is "Download".
The directory you need to enter in your command is "/storage/self/primary/Download".
The full command to upload your APK is:
droid -f (name of apk).apk -loc /storage/self/primary/Download
Author: @paul86400