57a27890ce
This change addresses the comment in [1], which makes the results of `adb shell getprop foo` and `adb rescue getprop foo` more consistent. That is, both will return newline-terminated results now. [1] https://r.android.com/c/platform/bootable/recovery/+/976340/3/minadbd/minadbd_services.cpp#188 Test: Run the following commands on taimen (under rescue mode): `adb rescue getprop ro.build.fingerprint` `adb rescue getprop ro.nonexistent` `adb rescue getprop` Change-Id: I5af47f8ea4d569b8507e259daef87749c0945f47 |
||
---|---|---|
.. | ||
Android.bp | ||
AndroidTest.xml | ||
fuse_adb_provider.cpp | ||
fuse_adb_provider.h | ||
fuse_adb_provider_test.cpp | ||
minadbd.cpp | ||
minadbd_services.cpp | ||
minadbd_services.h | ||
minadbd_services_test.cpp | ||
minadbd_types.h | ||
README.md |
minadbd is now mostly built from libadbd. The fuse features are unique to minadbd, and services.c has been modified as follows:
- all services removed
- all host mode support removed
sideload_service()
added; this is the only service supported. It receives a single blob of data, writes it to a fixed filename, and makes the process exit.