No description
Find a file
Daniel Zheng 5cbcdfae4e is_retrofit_device to work in bootloader
Changing is_retrofit_device() to work in bootloader. Previously flashall
flow was to boot into fastbootd and then  make a call to get
"super-image-name", however this does not work in bootloader. Since all
tasks are generated ahead of time, this old check will now fail and we
will fail to add the correct delete tasks in collectTasks(). This change
does make it so that is_retrofit check only works during fastboot
flashall + fastboot update (since this function is only used here,
nothing is currently affected).

To determine if a device is retrofit, it must satisfy two conditions -> Has
dynamic partitions && does not contain a super partition. The check for
if source has super_empty.img is sufficient for determining if a device
has dynamic partitions and if any single partition has
LP_PARTITION_ATTR_SLOT_SUFFIXED it is determined to be retrofit

Test: logs from fastboot update on sargo device confirms this check
returns true. Fastboot update on sargo
Bug: 300287332

Change-Id: Iadf5c56de51993a79307c60e45d6cc4988436f23
2023-09-22 13:22:57 -07:00
bootstat Remove references to the pdk product variable 2023-08-03 10:54:59 -07:00
cli-test
code_coverage Disable code_coverage.other for riscv64 2022-10-13 13:49:10 -07:00
debuggerd Disable warning which is not detecting problems. 2023-09-12 13:01:10 -07:00
diagnose_usb
fastboot is_retrofit_device to work in bootloader 2023-09-22 13:22:57 -07:00
fs_mgr Merge changes I7790dde8,I065907a5,Id2e82024 into main 2023-09-22 19:42:45 +00:00
gatekeeperd Check AServiceManager_isDeclared before AServiceManager_getService 2023-06-14 02:43:54 +00:00
healthd Don't depend on String8 cast to C string 2023-09-20 15:11:54 +00:00
include
init Merge "Delete unused DATA_MNT_POINT macro" into main 2023-09-21 17:33:28 +00:00
janitors Add myself to janitor owners. 2022-12-02 12:50:43 -08:00
libappfuse
libasyncio
libcrypto_utils
libcutils Merge "Remove unused files." into main 2023-09-22 18:01:48 +00:00
libgrallocusage
libkeyutils
libmodprobe Merge "libmodprobe: LPM: Cleanup of redundant check" 2023-06-29 17:21:18 +00:00
libnetutils add 'nodad' support to ifc_add_address() 2023-06-30 16:36:21 +00:00
libpackagelistparser
libprocessgroup libprocessgroup: optimize SetAttributeAction::ExecuteForProcess performance 2023-07-27 21:55:48 +00:00
libsparse Make simg2img host-only 2023-08-28 09:53:30 -07:00
libstats Add safety comments. 2023-07-21 19:13:48 +01:00
libsuspend
libsync Declare the headers of the ndk_library 2022-09-08 21:59:20 +00:00
libsystem Add COLOR_MODE_DISPLAY_BT2020 to graphics header. 2022-12-01 22:25:40 -08:00
libsysutils NetlinkEvent: trivial simplification. 2023-07-10 22:46:12 +00:00
libusbhost
libutils Merge changes I7790dde8,I065907a5,Id2e82024 into main 2023-09-22 19:42:45 +00:00
libvndksupport Replace #apex with #systemapi 2022-07-17 17:43:24 +09:00
llkd
mini_keyctl
mkbootfs mkbootfs: consistency. 2023-01-12 04:34:15 +00:00
property_service Remove dalvik.vm.usejitprofiles system property. 2022-11-25 12:27:37 +00:00
reboot
rootdir Only restart media.tuner when it's running 2023-09-08 04:19:34 +00:00
run-as
sdcard
shell_and_utilities Update shell_and_utilities docs for U. 2023-03-01 22:05:37 +00:00
storaged Added defaults for storaged fuzzers 2023-05-05 23:55:27 +00:00
toolbox Remove stray newline from err() call. 2023-09-07 19:30:31 +00:00
trusty Merge changes I7790dde8,I065907a5,Id2e82024 into main 2023-09-22 19:42:45 +00:00
usbd usb: migration to USB gadget AIDL 2023-01-10 11:24:36 +08:00
watchdogd
.clang-format
.clang-format-2
.clang-format-4
.gitignore
CleanSpec.mk
METADATA
MODULE_LICENSE_APACHE2
OWNERS Add bug component to system/core 2023-07-26 07:57:58 -07:00
PREUPLOAD.cfg
rustfmt.toml