android-build-team Robot
f11d99decc
Snap for 5235151 from fec7ff6300 to qt-release
...
Change-Id: I721ed7b6c4613c4f80931b5be4c15af82080c1d2
2019-01-16 04:09:45 +00:00
Yifan Hong
fec7ff6300
Merge "updater: add functions to modify dynamic partition metadata" am: 27aa9404fc am: 4def1e8a54
...
am: dc97097fc0
Change-Id: Ie39a637a7f0c17374435118eec211b08f63dc3e6
2019-01-15 16:50:12 -08:00
Yifan Hong
dc97097fc0
Merge "updater: add functions to modify dynamic partition metadata" am: 27aa9404fc
...
am: 4def1e8a54
Change-Id: I6d9d00e94329b69ab13a526a83fe9ffb47b46978
2019-01-15 16:42:36 -08:00
Yifan Hong
4def1e8a54
Merge "updater: add functions to modify dynamic partition metadata"
...
am: 27aa9404fc
Change-Id: I0b432e53aba06129b01b34b56e169f05a564b77c
2019-01-15 16:26:47 -08:00
Yifan Hong
27aa9404fc
Merge "updater: add functions to modify dynamic partition metadata"
2019-01-16 00:10:58 +00:00
android-build-team Robot
ce83dc1594
Snap for 5231632 from fed4ded442 to qt-release
...
Change-Id: I5f78339c974f76a61b06ded6a257c7cd093bddfc
2019-01-15 07:25:11 +00:00
Yifan Hong
fed4ded442
Merge "Create stash dir recursively." am: 7a0b65472b am: 32932a48f9
...
am: 6f366ee4dd
Change-Id: I49e75d8ac06bf80447b205e9cd2e040c191ee106
2019-01-14 14:20:09 -08:00
Yifan Hong
6f366ee4dd
Merge "Create stash dir recursively." am: 7a0b65472b
...
am: 32932a48f9
Change-Id: Id2b155a768e5cec4486bd778fa26a7cc4fe32602
2019-01-14 14:11:09 -08:00
Yifan Hong
8ff84d7cfb
updater: add functions to modify dynamic partition metadata
...
Test: sideload full OTA on cuttlefish
Test: sideload incremental OTA on cuttlefish (that grows
system, shrinks vendor, and move vendor to group foo)
Test: verify that /cache/recovery/cc46ebfd04058569d0c6c1431c6af6c1328458e4
exists (sha1sum of "system")
Bug: 111801737
Change-Id: Ibdf6565bc1b60f3665c01739b4c95a85f0261ae5
2019-01-14 14:01:13 -08:00
Yifan Hong
32932a48f9
Merge "Create stash dir recursively."
...
am: 7a0b65472b
Change-Id: I6f47807075044e6e71078db99988190ced32e157
2019-01-14 13:40:35 -08:00
Yifan Hong
7a0b65472b
Merge "Create stash dir recursively."
2019-01-14 20:56:57 +00:00
Yifan Hong
63f5260c6c
Create stash dir recursively.
...
When applying an OTA package onto the device in OTA mode,
if the recovery logs haven't been viewed, there is a chance
that /cache/recovery does not exist. Then, stash creation will
fail. Create stash directories recursively to avoid this error.
Test: without /cache/recovery, sideload the OTA on cuttlefish
Change-Id: I5cc01a067d866476a3594e795dcb5b15649e817b
2019-01-11 15:13:22 -08:00
android-build-team Robot
b1486f80b4
Snap for 5217728 from 0c92531f58 to qt-release
...
Change-Id: I48c7c27f799417b48dea76f470750a2e5615ab9c
2019-01-09 04:19:40 +00:00
Tao Bao
0c92531f58
Merge "Use dynamically linked f2fs executables." am: 22a27f9965 am: ad4ce79b4d
...
am: e8270a8e98
Change-Id: If041789192af362b2683a076763f044bfb9b0c2b
2019-01-08 12:13:48 -08:00
Tao Bao
e8270a8e98
Merge "Use dynamically linked f2fs executables." am: 22a27f9965
...
am: ad4ce79b4d
Change-Id: I0fc7309dc6ab5a87d26677a0ed9f0d5c6f288b7a
2019-01-08 12:09:43 -08:00
Tao Bao
ad4ce79b4d
Merge "Use dynamically linked f2fs executables."
...
am: 22a27f9965
Change-Id: If4ed2288a513510569ce9411a20cdc4c962d9803
2019-01-08 12:05:29 -08:00
Tao Bao
22a27f9965
Merge "Use dynamically linked f2fs executables."
2019-01-08 19:49:20 +00:00
Yifan Hong
2f3a0ba775
Merge "updater: erase ignores EOPNOTSUPP for BLKDISCARD" am: 08a8b40c91 am: 159d267cc6
...
am: d2e801fb93
Change-Id: I8626208127ccdb245823a5db40e9fe6583c63ea0
2019-01-07 17:28:52 -08:00
Yifan Hong
d2e801fb93
Merge "updater: erase ignores EOPNOTSUPP for BLKDISCARD" am: 08a8b40c91
...
am: 159d267cc6
Change-Id: I7dd0df6adbe7315326064e5b660432dc60be6495
2019-01-07 17:17:40 -08:00
Yifan Hong
159d267cc6
Merge "updater: erase ignores EOPNOTSUPP for BLKDISCARD"
...
am: 08a8b40c91
Change-Id: Iee6860b0dbeaafc06ca881148ca4ea99abaf4b3a
2019-01-07 17:11:37 -08:00
Yifan Hong
08a8b40c91
Merge "updater: erase ignores EOPNOTSUPP for BLKDISCARD"
2019-01-08 00:06:40 +00:00
Yifan Hong
363d624d53
updater: erase ignores EOPNOTSUPP for BLKDISCARD
...
Test: sideload on cuttlefish
Bug: 111801737
Change-Id: I784a2142049054f38d6b70c7af7e88a451996d83
2019-01-04 15:24:52 -08:00
android-build-team Robot
ac309cf8c8
Snap for 5206983 from d7c1801f8d to qt-release
...
Change-Id: I08f14af467df5dde046e1fd2b0d54d2d668145b7
2019-01-03 04:02:38 +00:00
Tao Bao
d7c1801f8d
Merge "minadbd: daemon_service_to_fd takes std::string_view." am: 72aa58dcf7 am: 29578b1117
...
am: ae8c2ca3ea
Change-Id: Id1850d341ef601914a67b9740d80e737857d2a80
2019-01-02 13:40:20 -08:00
Tao Bao
ae8c2ca3ea
Merge "minadbd: daemon_service_to_fd takes std::string_view." am: 72aa58dcf7
...
am: 29578b1117
Change-Id: I038edb2337aceaaa8586426d14a159c2806d9350
2019-01-02 13:33:13 -08:00
Tao Bao
29578b1117
Merge "minadbd: daemon_service_to_fd takes std::string_view."
...
am: 72aa58dcf7
Change-Id: I9a7d20d476e0be703657e7c332f393703a982b1a
2019-01-02 13:28:12 -08:00
Tao Bao
72aa58dcf7
Merge "minadbd: daemon_service_to_fd takes std::string_view."
2019-01-02 21:13:14 +00:00
Tao Bao
5de19e2e02
minadbd: daemon_service_to_fd takes std::string_view.
...
The caller of daemon_service_to_fd() in core adb has switched to
std::string_view in [1]. The mismatch breaks the sideload service, as it
picks up the wrong daemon_service_to_fd() when serving sideload.
[1] https://android-review.googlesource.com/c/platform/system/core/+/850392
Bug: 122171762
Test: `adb sideload` on taimen.
Change-Id: Ie828400768523c35c5576e2c029e38fc0ad0aff9
2019-01-02 09:40:46 -08:00
android-build-team Robot
62227b5445
Snap for 5198681 from 81d8e2e4dd to qt-release
...
Change-Id: I6f0b5db58eae904d4be1426f97f9611f3cc123cf
2018-12-23 04:05:33 +00:00
Tianjie Xu
81d8e2e4dd
Merge "Add a horizontal line at the end of the graphic menu" am: fc0665c701 am: 095b6858dd
...
am: 2c08607e2b
Change-Id: Ifb475bfea51936e08a1f9629ad03772ec04f06ad
2018-12-21 11:24:01 -08:00
Tianjie Xu
2c08607e2b
Merge "Add a horizontal line at the end of the graphic menu" am: fc0665c701
...
am: 095b6858dd
Change-Id: I7719a231cf36730e3a2998c9142cdf002c6e5dda
2018-12-21 11:15:58 -08:00
Tianjie Xu
095b6858dd
Merge "Add a horizontal line at the end of the graphic menu"
...
am: fc0665c701
Change-Id: Idba56caeb2f002864ca2325fb5f130d3e25c2acc
2018-12-21 11:10:52 -08:00
Tianjie Xu
fc0665c701
Merge "Add a horizontal line at the end of the graphic menu"
2018-12-21 19:00:47 +00:00
Tao Bao
955cf2404d
Merge "Clean up the arg setup for exec(3)." am: f0c03e62a2 am: 1b94d3a35b
...
am: 96e1f45c5d
Change-Id: I757b93896adb730e5b4c44c976142cdd6de29c42
2018-12-20 14:57:27 -08:00
Tao Bao
96e1f45c5d
Merge "Clean up the arg setup for exec(3)." am: f0c03e62a2
...
am: 1b94d3a35b
Change-Id: I0423c5476723a6d7e8687ae62d01dca24e256d41
2018-12-20 14:53:19 -08:00
Tao Bao
c674dfb584
Use dynamically linked f2fs executables.
...
It also reduces the space cost for devices using f2fs (e.g. crosshatch).
/sbin/mkfs.f2fs 722560 => /system/bin/make_f2fs 49568
/sbin/sload.f2fs 1182456 => /system/bin/sload_f2fs 150032
Test: Build and boot recovery on crosshatch. Factory reset.
Test: Install a non-A/B OTA package that formats a f2fs partition.
Change-Id: Ibe70c8d91a1d07e1c78ff9eac19b1f7955800161
2018-12-20 14:47:11 -08:00
Tao Bao
1b94d3a35b
Merge "Clean up the arg setup for exec(3)."
...
am: f0c03e62a2
Change-Id: I402eae7a950f10e3ceb99291db07e68dd91861e1
2018-12-20 14:36:02 -08:00
Tao Bao
f0c03e62a2
Merge "Clean up the arg setup for exec(3)."
2018-12-20 22:10:07 +00:00
xunchang
c7dbc735d2
Add a horizontal line at the end of the graphic menu
...
This is in line with the old behavior and the UI of TextMenu.
Bug: 121280655
Test: check the menu
Change-Id: I4b82b93187b2d02cfe5b31a9a8fb621d10dd5d8a
2018-12-20 11:36:55 -08:00
Tao Bao
3d69f0df96
Clean up the arg setup for exec(3).
...
Test: Build and boot into recovery on marlin. Factory reset.
Test: Build and install a non-A/B OTA that calls format.
Change-Id: I72416e775e237fc15ca5eff1036175a9eef43b76
2018-12-20 10:46:06 -08:00
Yifan Hong
26fee0f796
Merge changes from topic "vintf_object_recovery_mount" am: 82fc6ae5b8 am: cc6eb0ee44
...
am: 081c05f395
Change-Id: Ia3de886ae5a7eb7a0549b224bc0c031501f688dc
2018-12-19 15:26:20 -08:00
Yifan Hong
a256631c4d
Move parts of roots.cpp to libfs_mgr am: 0f339e27bb am: 6e232ed3ce
...
am: a15b8d368d
Change-Id: I829c7d19393c181a37923620c05561e46f089060
2018-12-19 15:26:05 -08:00
Yifan Hong
081c05f395
Merge changes from topic "vintf_object_recovery_mount" am: 82fc6ae5b8
...
am: cc6eb0ee44
Change-Id: I8cf4a096c15d6ec8fc9239807c1b0fa698c25d36
2018-12-19 14:34:41 -08:00
Yifan Hong
a15b8d368d
Move parts of roots.cpp to libfs_mgr am: 0f339e27bb
...
am: 6e232ed3ce
Change-Id: I0bee9493d0fe53fe4fd5150b9e81b295eefb4f70
2018-12-19 14:34:21 -08:00
Yifan Hong
cc6eb0ee44
Merge changes from topic "vintf_object_recovery_mount"
...
am: 82fc6ae5b8
Change-Id: I68751cdd1601bac85f4d76de18fb6d2896cb6fa9
2018-12-19 14:27:38 -08:00
Yifan Hong
6e232ed3ce
Move parts of roots.cpp to libfs_mgr
...
am: 0f339e27bb
Change-Id: I8e933cf6fb5361735d51a387102417c2885ee816
2018-12-19 14:27:21 -08:00
Yifan Hong
82fc6ae5b8
Merge changes from topic "vintf_object_recovery_mount"
...
* changes:
roots.cpp: convert to C++ Fstab
Move parts of roots.cpp to libfs_mgr
2018-12-19 22:19:52 +00:00
android-build-team Robot
11085265d1
Snap for 5189750 from faf656f3a7 to qt-release
...
Change-Id: I8ec265b6b4b575a376b52cdf365174da1c696dd0
2018-12-19 04:04:45 +00:00
Yifan Hong
0f339e27bb
Move parts of roots.cpp to libfs_mgr
...
Move some mounting functionalities to libfs_mgr.
Test: run recovery tests
Bug: 118634720
Bug: 113182233
Change-Id: Ie59376664a744992429f0262ec96d13a1aed30f9
2018-12-18 15:57:29 -08:00
Yifan Hong
d81b8e3d77
roots.cpp: convert to C++ Fstab
...
Convert code to use C++ Fstab struct and C++ std::strings.
Bug: 62292478
Bug: 118634720
Test: boots
Change-Id: Ibdc1df5831bc885d7c1574419f41af026e49a137
2018-12-18 15:57:29 -08:00