Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Commandline wrapper for Android's serivce utility
# Commandline wrapper for Android's service utility

## About
`android-svc` aims at making it easier to call service methods over ADB or using a terminal emulator on your Android device directly.
Expand Down Expand Up @@ -35,7 +35,7 @@ which would have required you to understand how to get values like `65` or `s16`
- Requires root
- I need help decoding/encoding all complex datatypes like arrays, Lists, ParceledListSlice etc.
- String are decoded ignoring the first 8 bits of every char. This works fine as long as only UTF-8 characters are being used. When a string contains a UTF-16 character the decoded output will be incorrect. Any help properly decoding utf-16 hex code in bash would be appreciated.
- String decoding is slow. Any help improving the performance would be apperciated.
- String decoding is slow. Any help improving the performance would be appreciated.

## Disclaimer
**Use at own risk!**
Expand All @@ -44,7 +44,7 @@ which would have required you to understand how to get values like `65` or `s16`

## How to install (in Termux)
- Download the deb package from the [latest release](https://github.com/T-vK/android-svc/releases).
- Install it using `apt install path/to/android-svc_x.x.x_all.deb` (replaceing x.x.x with the actual version)
- Install it using `apt install path/to/android-svc_x.x.x_all.deb` (replacing x.x.x with the actual version)

## How to install (in Linux)
- Download the standalone executable from the [latest release](https://github.com/T-vK/android-svc/releases). (It's the `android-svc` file.)
Expand Down Expand Up @@ -256,7 +256,7 @@ g++ -DXP_UNIX -Wall -Werror -o service ./frameworks/native/cmds/service/service.

(I'm not sure on how to cross compile yet.)

### Interesting code to further inspect in order to find the aidl files for packages that have missing data in `serivce list`
### Interesting code to further inspect in order to find the aidl files for packages that have missing data in `service list`
(This is just a note for me)

- https://github.com/aosp-mirror/platform_frameworks_base/blob/a4ddee215e41ea232340c14ef92d6e9f290e5174/core/java/android/content/Context.java#L4056
Expand Down