platform_system_core/adb/client
Mark Salyzyn 6f908cefe7 adb: fix adb remount -R
A regression from commit 8c2198c809
("adb: use shell for remount to forward return codes.") where the
optional argv[1] got missed for the remount command.  This change
hands off _all_ the arguments if to a shell and activates some of
the extra features in the remount command.

$ adb remount --help
remount [-h] [-R] [-T fstab_file] [partition]...
	-h --help	this help
	-R --reboot	disable verity & reboot to facilitate remount
	-T --fstab	custom fstab file location
	partition	specific partition(s) (empty does all)

Remount specified partition(s) read-write, by name or mount point.
-R notwithstanding, verity must be disabled on partition(s).
$

SideEffects: adb remount [-h] [-R] [-T fstab_file] [partition]...
Test: adb-remount-test.sh
Bug: 138577868
Bug: 139283818
Bug: 139226412
Change-Id: I8223d4000ab20857e9b634e4d4a326eed530d7be
2019-09-18 09:40:50 -07:00
..
adb_client.cpp Merge "[adb] Cache features set inside the client process" 2019-08-09 00:40:51 +00:00
adb_client.h adb: don't manually construct device selection prefix in forward. 2019-08-06 16:43:34 -07:00
adb_install.cpp Using the correct feature name for abb_exec. 2019-09-16 10:36:52 -07:00
adb_install.h Adds atomic install support to adb 2019-01-11 18:13:36 +00:00
auth.cpp adb: restore generation of public key in `adb keygen`. 2019-04-29 12:36:32 -07:00
bugreport.cpp adb: don't use <error.h>. 2018-10-22 17:04:32 -07:00
bugreport.h adb: switch over to Android.bp. 2018-02-28 15:29:50 -08:00
commandline.cpp adb: fix adb remount -R 2019-09-18 09:40:50 -07:00
commandline.h [adb] Speed up the streaming install 2019-08-08 12:55:51 -07:00
console.cpp NFC: Fix potentially uninitialized 'port' variable. 2019-05-09 12:55:41 -07:00
fastdeploy.cpp Fastdeploy converted to c++ and bin2c on the jar. 2019-07-29 12:00:09 -07:00
fastdeploy.h Change --fastdeploy behaviour 2018-12-14 15:25:15 +00:00
fastdeploycallbacks.cpp Fix adb not correctly reading return code from DeployAgent 2018-12-06 15:46:38 +00:00
fastdeploycallbacks.h Fix adb not correctly reading return code from DeployAgent 2018-12-06 15:46:38 +00:00
file_sync_client.cpp adb: Avoid extra std::string copies 2019-03-26 12:00:19 -07:00
file_sync_client.h adb: split file_sync_service.h into client and daemon parts. 2018-07-25 18:08:32 -07:00
line_printer.cpp adb: win32: LinePrinter Unicode support 2018-09-02 16:27:12 -07:00
line_printer.h adb: don't spew push/pull progress to dumb terminals. 2018-08-22 17:28:33 -07:00
main.cpp adb: attempt to exec newer adb servers on Linux. 2019-03-14 15:41:41 -07:00
transport_mdns.cpp adb: move fdevent to its own folder. 2019-07-08 14:37:27 -07:00
usb_dispatch.cpp adb: make `adb reconnect` perform a USB reset. 2019-03-28 15:47:44 -07:00
usb_libusb.cpp adb: make `adb reconnect` perform a USB reset. 2019-03-28 15:47:44 -07:00
usb_linux.cpp adb: switch from system_clock to steady_clock. 2019-07-22 16:18:25 -07:00
usb_osx.cpp adb: fix mac build breakage. 2019-04-02 16:31:32 -07:00
usb_windows.cpp adb: make `adb reconnect` perform a USB reset. 2019-03-28 15:47:44 -07:00