platform_bootable_recovery/minadbd
Tianjie Xu f6158eb918 Support starting fuse from a block map
Factor out a new function from ApplyFromSdcard that installs a package
from a local path. Inside this function, we start the fuse and choose the
type of data provider depending on the path string. And similar to the
existing logic, we treat the package as a block map if the path starts
with a '@'.

This is part of the effort to install larger than 2GiB packages on ILP32
devices.

Bug: 127071893
Test: Build a 32 bit sailfish and create a 3GiB OTA package. Sideload
the package, uncrypt and install the package from sdcard.

Change-Id: I328ea34fa530731acbce7554bfc3059313ad6ece
2019-06-20 13:53:40 -07:00
..
Android.bp Implement FuseBlockDataProvider 2019-05-01 12:09:38 -07:00
AndroidTest.xml Add test config to minadbd_test 2017-03-28 22:13:38 -07:00
fuse_adb_provider.cpp minadbd: Support rescue install and getprop commands. 2019-04-19 12:53:55 -07:00
fuse_adb_provider.h Support starting fuse from a block map 2019-06-20 13:53:40 -07:00
fuse_adb_provider_test.cpp Create a FuseDataProvider base class 2019-03-19 11:11:58 -07:00
minadbd.cpp Allow entering rescue mode via recovery UI. 2019-04-17 14:07:23 -07:00
minadbd_services.cpp minadbd: adb rescue getprop returns newline-terminated result. 2019-06-10 13:08:03 -07:00
minadbd_services.h Add test for minadbd 2019-04-23 11:33:57 -07:00
minadbd_services_test.cpp Support wipe command in rescue mode 2019-04-26 10:36:48 -07:00
minadbd_types.h Support wipe command in rescue mode 2019-04-26 10:36:48 -07:00
README.md Address review comment. 2017-01-09 14:28:42 -08:00

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.