platform_bootable_recovery/minadbd
katao 77d6173714 Allow OTA package size larger than 2GiB(2147483647 bytes) on sideload.
At present, multiple partitions such as vendor have been added,
which reduces the coupling between mobile phone manufacturers
and Android systems. However, it may increase the generated
package size substantially (e.g. from ~200MB to ~800MB).
Causes the package size to exceed the int limit (2147483647 bytes).
Change the int length parameters to long.

Bug: http://b/112003354
Test: adb sideload ota.zip (ota.zip bigger than 2147483647 bytes)
Change-Id: Ifb656431f7b961ac0e91754107578dc8b89ff14e
Signed-off-by: katao <katao@xiaomi.com>
2018-09-27 16:34:01 +00:00
..
Android.bp Reland "Build and use minadbd as a shared library." 2018-08-13 14:09:58 -07:00
AndroidTest.xml Add test config to minadbd_test 2017-03-28 22:13:38 -07:00
fuse_adb_provider.cpp Clean up fuse_sideload and add a testcase. 2017-11-03 18:30:41 -07:00
fuse_adb_provider.h Clean up fuse_sideload and add a testcase. 2017-11-03 18:30:41 -07:00
fuse_adb_provider_test.cpp Clean up fuse_sideload and add a testcase. 2017-11-03 18:30:41 -07:00
minadbd.cpp minadbd: rename adb_server_main to minadbd_main. 2016-08-30 13:15:12 -07:00
minadbd.h minadbd: rename adb_server_main to minadbd_main. 2016-08-30 13:15:12 -07:00
minadbd_services.cpp Allow OTA package size larger than 2GiB(2147483647 bytes) on sideload. 2018-09-27 16:34:01 +00: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.