Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
001d879
omamobile-settings 0.1.0: add a native device information foundation
marselnenaj Nov 8, 2026
7832cc9
device/husky: say what slot B reads on Lef's phone, and the DEVICES B…
Somnius Nov 8, 2026
4dcff11
docs/review: round 44's lessons (L-531 to L-561) (#527)
derekross Nov 8, 2026
e738021
omamobile.config: swap on zram, and the 9a's zram notes (#515)
den-kloot Nov 8, 2026
e65f4dd
omamobile-remote 0.1.1: the follow-ups from #463 (#513)
Somnius Nov 8, 2026
e11b15e
omamobile-device-akita 0.1.1: the Trusty partitions for tools/nv-back…
aninmucek Nov 8, 2026
25611e9
bin/omamobile: pack header-v0 boot images for android-v0 (#507)
matthewjaybarr-png Nov 8, 2026
26402f3
MODEM-PLAN, RADIOS-CAMERA-PLAN: find partitions by PARTNAME in M0 (#519)
only21mil Nov 8, 2026
749b8c8
FINGERPRINT-PLAN: F3 stops after storageproxyd and rolls back only it…
only21mil Nov 8, 2026
88c691d
omamobile-settings: trim the foundation API and derive its version
marselnenaj Nov 8, 2026
37087a7
omamobile-settings: follow native Omarchy theme tokens
marselnenaj Nov 8, 2026
8237df5
extract-vendor-firmware: build each run in a new generation (#491)
only21mil Nov 8, 2026
2fa55ca
omamobile-audio 0.5.17, device-panther 0.1.13: the Pixel 7's speakers…
angelrenefm Nov 8, 2026
a997209
libcamera 0.7.2-4.23, kernel config: the Pixel 9a's main camera autof…
den-kloot Nov 8, 2026
5fc7ef5
omamobile-device-dodge 0.1.1: reboot-to prints usage on an option ins…
angelrenefm Nov 8, 2026
1e85e30
phone-ssh: OMAMOBILE_SSH_CONNECT_TIMEOUT for phones with a slow first…
quatrixone Nov 8, 2026
0f14a00
omamobile-shell 0.2.104: show the battery's reported state (#421)
Gr-linkk Nov 8, 2026
12b60ed
omamobile-shell 0.2.105: recents keep the user's card when a window c…
den-kloot Nov 8, 2026
804c5a0
omamobile-shell 0.2.106: depend on dnsmasq for the Hotspot tile (#525)
den-kloot Nov 8, 2026
38e3bb0
omamobile-device-cheetah 0.1.47: load nvmem_max77759 for the reboot r…
derekross Nov 9, 2026
d76d1c6
build-packages: sign the index as the container's root on a host with…
derekross Nov 9, 2026
29a6df0
omamobile-shell: nodejs as a check dependency (#545)
derekross Nov 9, 2026
c8098b9
device/cheetah: NOTES, the release kernel for 2026.11.08 and the day'…
derekross Nov 9, 2026
71b47a6
omamobile-omarchy 0.1.37, omamobile-shell 0.2.107: double tap to wake…
angelrenefm Nov 9, 2026
eaa0e15
omamobile-waydroid 0.1.1: allow Android's character devices, keep blo…
azazelpy Nov 9, 2026
1ef208b
FINGERPRINT-PLAN: F3's laptop mfg_data copy is private from creation …
only21mil Nov 9, 2026
760ed3d
tools/kernel-pr-check: work the --help range out from the file (#529)
only21mil Nov 9, 2026
01f0853
device/husky: MODEM-PLAN.md, S1 to S5e with results (#514)
Somnius Nov 9, 2026
278abad
bin/omamobile, tools/dodge-chain: stop when alpine-fetch.py fails (#535)
only21mil Nov 9, 2026
05a8b66
device/husky: NOTES, a third phone (Samsung 128 GB, UFS 3.1, locked) …
gitColinX Nov 9, 2026
54a316e
alpine-fetch: fail when a package or dependency isn't in the index (#…
only21mil Nov 9, 2026
7494b8d
omamobile-shell 0.2.108: Grok Bot fits the phone's screen (#542)
jkjoplin Nov 9, 2026
9e9ae70
omamobile-telephony-tegu 0.1.0: Phone and Messages on the Pixel 9a th…
W4HO-ham Nov 9, 2026
7642603
release: the identifier scan reads /var/lib/omamobile, and skips dnsm…
derekross Nov 9, 2026
b8f84ca
release notes 2026.11.08 (#549)
derekross Nov 9, 2026
8a059a7
device/cheetah: NOTES, the 2026.11.08 test install, and an update run…
derekross Nov 9, 2026
09b7eb2
omamobile-omarchy 0.1.38: omamobile-update refuses to run as root, an…
derekross Nov 9, 2026
edb2a6b
alarm.sh: fetch Omarchy's keyring, signature-checked and re-verified …
derekross Nov 9, 2026
1ce4c3b
docs/review: round 45's lessons (L-562 to L-597) (#551)
derekross Nov 9, 2026
3f110bd
docs/review: round 46's lessons (L-598 to L-657) (#570)
derekross Nov 9, 2026
5ce6b19
omamobile-remote 0.1.2: read the lock state once more before the firs…
Somnius Nov 9, 2026
02b9fdb
initramfs: guard UFS_RW partitions on a second LUN (UFS_RW_LUNS) (#530)
matthewjaybarr-png Nov 9, 2026
3b3c8bb
device/enchilada, DEVICES: the LUN-aware guard is in; the opt-in come…
derekross Nov 9, 2026
472f368
omamobile-modem-sit 0.3.33: fail the status probe on incomplete repli…
marselnenaj Nov 9, 2026
c5bf06d
tests: read the whole pipe instead of grep -q under pipefail (#575)
only21mil Nov 9, 2026
b5207b8
omamobile-shell: the touch tests find qmltestrunner in /usr/lib64/qt6…
angelrenefm Nov 9, 2026
4484f17
omamobile-device-husky 0.1.9, omamobile-audio 0.5.18: the 8 Pro's AoC…
Somnius Nov 9, 2026
0beb824
tools: print every tool's --help from its header with one helper (#559)
only21mil Nov 9, 2026
a0535af
AGENTS.md, MODEM-PLAN: stop the modem before a push or a reboot-to; t…
only21mil Nov 9, 2026
e20b212
omamobile-shell 0.2.109: keep the shade viewport stable while sliding…
marselnenaj Nov 9, 2026
e5ba01e
omamobile-shell 0.2.110: stagger Quick Settings status refreshes (#518)
marselnenaj Nov 10, 2026
f7c3e6e
omamobile-shell 0.2.111: tick once when the Back gesture arms (#521)
marselnenaj Nov 10, 2026
3734c82
omamobile-shell 0.2.112: serialize overlapping power-key actions (#508)
Gr-linkk Nov 10, 2026
67adcb9
omamobile-shell 0.2.113: the home strip under the keyboard on the hom…
den-kloot Nov 10, 2026
d47c90b
omamobile-gnss 0.2.8: keep the hang marker through shutdown (#462)
W4HO-ham Nov 10, 2026
8c7bf83
omamobile-modem 0.1.17: a device-provided, data-only ordered link sta…
marselnenaj Nov 10, 2026
38fbef2
omamobile-waydroid 0.1.2: allow binder by path, check the render node…
azazelpy Nov 10, 2026
5385ee7
device/kodiak: note OrangeFox install method, partition mapping and v…
nosmokinghere Nov 10, 2026
0050c11
tools: --help finds its header by a relative path from another direct…
only21mil Nov 10, 2026
1d53a9b
extract-camera-data: enable SVE access in the HAL emulator (#589)
marselnenaj Nov 10, 2026
da85b52
device/enchilada: name the 11-08 boot's kernel build (#588)
matthewjaybarr-png Nov 10, 2026
10c48cc
omamobile-modem-sit: explain the SMSC probe failure policy (#583)
marselnenaj Nov 10, 2026
64fdd41
CONTRIBUTING: the Xiaomi Mi 8's single-slot entry (boot only) (#499)
quatrixone Nov 10, 2026
58863fa
omamobile-omarchy 0.1.39: select 4.0.6 and 4.5 patch families (#471)
marselnenaj Nov 10, 2026
ce7a1a3
install-phone: append the owner's key to slot B's initramfs, as the b…
only21mil Nov 10, 2026
0c2c737
bin/omamobile, tools, rootfs: no pipe into grep -q under pipefail (#587)
only21mil Nov 10, 2026
773fbff
Merge branch 'review/t-526' into t526
derekross Nov 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ jobs:
steps:
- name: Packages the tests use
run: |
pacman -Syu --noconfirm --needed git base-devel e2fsprogs zstd openssl \
pacman -Syu --noconfirm --needed git base-devel e2fsprogs zstd lz4 openssl \
python python-dbus python-gobject dbus nodejs dtc cpio file jq busybox \
xz gzip qt6-declarative shellcheck rsync
xz gzip qt6-declarative qt6-svg shellcheck rsync android-tools
# Arch's nodejs can lag a simdjson soname bump: on 2026-10-29
# simdjson 5.0.8 dropped the libsimdjson.so.34 that nodejs still
# linked, and node no longer started. Only while node can't start,
Expand Down
12 changes: 7 additions & 5 deletions AGENTS.md

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ Keeping stock on slot A is how we avoid bricking phones during development, not
- **The initramfs's no-USB-host panic needs a review for the phone.** On an A/B phone it hands over to stock on slot A; on a single-slot phone it would restart into the same image. The device's descriptor and plan say what happens instead (stay up with the screen lit, or reboot into fastboot) before the first boot.
- **Everything else in this section still applies:** never relock with a non-stock image, never flash an older factory image, the backup rules, the hang safety nets.

Phones with an entry:

| Device | Boot partition the installer may write | Fastboot by buttons | Forced restart |
| --- | --- | --- | --- |
| Xiaomi Mi 8 (`dipper`) | `boot` only; stock `dtbo` stays untouched | Power off, then hold Volume Down + Power until FASTBOOT appears. | Hold Power alone for 10 seconds; confirmed to restart into Android under the Omarchy Mobile kernel. |

### 3.2 The read-only storage guard

UFS holds the per-device calibration. The initramfs ([`initramfs/init`](initramfs/init)) guards it before anything else runs:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The kernel and boot images come from `bin/omamobile kernel`, `modules`, `initram
| `tools/build-packages`, `tools/build-rootfs`, `tools/install-phone`, `tools/phone-provision`, `tools/make-bundle` | The installer: aarch64 packages and the root image built on the laptop, the narrow fastboot installer, per-phone provisioning, release bundles (`rootfs/` holds the image's package lists; `tests/` their tests) |
| `tools/` | Staged bring-up and capture tools, on-phone probes, firmware extraction from the user's factory image, package and repository helpers |
| `packages/` | pacman packages: `omamobile-shell` (the phone profile for Omarchy's shell), `omamobile-apps` (the mobile apps desktop Omarchy lacks: Camera, Maps, NFC), `omacam` (the camera app, built from its own repository), `omamobile-device-cheetah` (Pixel 7 Pro support), `omamobile-device-felix` (Pixel Fold), `omamobile-sensors` (sensors and auto-rotate through the AoC), `omamobile-gnss` (location on demand), `omamobile-mirror` (the phone's screen and input on a computer over USB, VNC), `omamobile-remote` and a click-patched `wlrctl` (use the phone over ssh from a script or an agent; opt-in, [docs/REMOTE-TESTING.md](docs/REMOTE-TESTING.md)), `omamobile-audio` (PipeWire and speaker protection), `omamobile-speaker-tuning` (stock's speaker tuning, off by default), `omamobile-fingerprint` with a patched `libfprint`, `omamobile-modem` (the modem's vendor chroot profile), `omamobile-modem-sit` (the SIT client daemon; talks to the modem, registration untested), `omamobile-mmd` (ModemManager's D-Bus API in front of it, for GNOME Calls, Chatty and NetworkManager), `neard`, `omamobile-keyring` (the `[omamobile]` repository's signing key), patched `mesa` and `hyprland`. `tools/phone-install-package` builds one on the phone and installs it |
| `patches/omarchy/` | Changes to Omarchy for touch devices, to send upstream (`bridge-*` ones are stopgaps for the phone's older Omarchy); a link to `packages/omamobile-omarchy/patches`, whose pacman hook re-applies them after every Omarchy upgrade |
| `patches/omarchy/` | Changes to Omarchy for touch devices, to send upstream (`bridge-*` stopgaps are retained only in the legacy 4.0.6 family); a link to the 4.5 family in `packages/omamobile-omarchy/patches/`. The installed Omarchy version selects the family: today's 4.0.6 phones use `legacy-4.0.6/`, so fixes go there and also in `patches/` when applicable to 4.5; the pacman hook re-applies the selected family after upgrades |
| `bin/lineage-ref` | Builds LineageOS for the phone. Used as a rooted reference Android (M0) and, later, for Waydroid images |
| `kernel/configs/` | Our kernel config fragment, merged on top of arm64 `defconfig` |
| `device/cheetah/` | Pixel 7 Pro bring-up notes, one plan per subsystem, overlays, the initramfs and the device descriptor (`device.conf`) |
Expand Down
85 changes: 75 additions & 10 deletions bin/omamobile
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ load_device() {
fi
done < "$file"
case $DEV_BOOT_METHOD in
android-v4|qcom-abl) ;;
*) die "$file: unsupported BOOT_METHOD=$DEV_BOOT_METHOD; this command supports android-v4 and qcom-abl" ;;
android-v4|android-v0|qcom-abl) ;;
*) die "$file: unsupported BOOT_METHOD=$DEV_BOOT_METHOD; this command supports android-v4, android-v0 and qcom-abl" ;;
esac
[[ $DEV_CODENAME == "$DEVICE" ]] || die "$file: CODENAME=$DEV_CODENAME, expected $DEVICE"
# Safety: the guard's allowlist may name slot B's boot images and userdata
Expand All @@ -142,8 +142,31 @@ load_device() {
seen_rw+="$p "
done
[[ $seen_rw == *" userdata "* ]] || die "$file: UFS_RW must include userdata"
# Optional: LUNs besides sda that hold UFS_RW partitions; the init guards
# each as it guards sda (whole-disk node removed, partitions one by one)
if [[ -n ${DEV_UFS_RW_LUNS:-} && ! $DEV_UFS_RW_LUNS =~ ^sd[b-z]( sd[b-z])*$ ]]; then
die "$file: UFS_RW_LUNS may hold only disk names sdb to sdz separated by spaces"
fi

if [[ $DEV_BOOT_METHOD == qcom-abl ]]; then
if [[ $DEV_BOOT_METHOD == android-v0 ]]; then
# One header-v0 boot.img: a gzip kernel with the board DTB appended, the
# shared initramfs and CMDLINE, at the load offsets the descriptor gives
# (enchilada). No dtbo, no vendor_boot, no device package needed yet:
# images makes it for `fastboot boot`; flash, push, fastboot and the
# installer refuse it until a slot-B install has a CONTRIBUTING.md §3.1
# entry.
for key in CODENAME SOC DTB BOOT_IMAGES UFS_RW INITRAMFS_INIT PANEL_SIZE; do
p="DEV_$key"
[[ -n ${!p:-} ]] || die "$file: $key is missing"
done
for key in PAGESIZE BASE KERNEL_OFFSET RAMDISK_OFFSET SECOND_OFFSET TAGS_OFFSET; do
p="DEV_$key"
[[ ${!p:-} =~ ^(0x[0-9a-f]+|[0-9]+)$ ]] || die "$file: $key is missing or not a number"
done
[[ $DEV_PAGESIZE =~ ^(2048|4096|8192|16384)$ ]] || die "$file: PAGESIZE must be 2048, 4096, 8192 or 16384"
[[ $DEV_BOOT_IMAGES == boot ]] || die "$file: android-v0 BOOT_IMAGES may hold only boot"
slot_b_allowed boot || die "$file: boot_b is not in UFS_RW"
elif [[ $DEV_BOOT_METHOD == qcom-abl ]]; then
for key in CODENAME SOC PACKAGE DTB BOOT_IMAGES UFS_RW INITRAMFS_INIT PANEL_SIZE; do
p="DEV_$key"
[[ -n ${!p:-} ]] || die "$file: $key is missing"
Expand Down Expand Up @@ -540,6 +563,9 @@ initramfs_config() {
# The storage guard's allowlist. Without this file the init leaves every
# partition read-only.
printf '%s\n' "${rw[*]}" > "$etc/omamobile-ufs-rw"
if [[ -n ${DEV_UFS_RW_LUNS:-} ]]; then
printf '%s\n' "$DEV_UFS_RW_LUNS" > "$etc/omamobile-ufs-rw-luns"
fi
if [[ -n $product ]]; then
printf '%s\n' "$product" > "$etc/omamobile-usb-product"
fi
Expand Down Expand Up @@ -611,10 +637,14 @@ cmd_initramfs() {
say "Staging initramfs in $stage"
rm -rf "$stage" && mkdir -p "$stage"
tar -xzf "$dl/$tarball" -C "$stage"
local apk
# Each package list is read whole before it is used: `for apk in $(…)`
# loses alpine-fetch.py's exit status and unpacks what it printed
local apk apks
# e2fsprogs-extra: resize2fs and dumpe2fs, to grow a freshly flashed root
# to the whole userdata partition on its first boot (init, boot_arch)
for apk in $(python3 -I "$ROOT/tools/alpine-fetch.py" "$ver" "$dl/apks" dropbear kexec-tools e2fsprogs e2fsprogs-extra); do
apks=$(python3 -I "$ROOT/tools/alpine-fetch.py" "$ver" "$dl/apks" dropbear kexec-tools e2fsprogs e2fsprogs-extra) ||
die "tools/alpine-fetch.py failed for the initramfs's packages"
for apk in $apks; do
tar -xzf "$apk" -C "$stage" --exclude='.PKGINFO' --exclude='.SIGN.*' --exclude='.*.sh' 2>/dev/null || true
done
# INITRAMFS_I2C_TOOLS=1: i2cget and i2cset (and their libi2c) for a device
Expand All @@ -623,7 +653,9 @@ cmd_initramfs() {
if [[ ${DEV_INITRAMFS_I2C_TOOLS:-} == 1 ]]; then
local i2c f
i2c=$(mktemp -d)
for apk in $(python3 -I "$ROOT/tools/alpine-fetch.py" "$ver" "$dl/apks" i2c-tools); do
apks=$(python3 -I "$ROOT/tools/alpine-fetch.py" "$ver" "$dl/apks" i2c-tools) ||
{ rm -rf "$i2c"; die "INITRAMFS_I2C_TOOLS: tools/alpine-fetch.py failed for i2c-tools"; }
for apk in $apks; do
tar -xzf "$apk" -C "$i2c" --exclude='.PKGINFO' --exclude='.SIGN.*' --exclude='.*.sh' 2>/dev/null || true
done
for f in usr/sbin/i2cget usr/sbin/i2cset; do
Expand Down Expand Up @@ -686,11 +718,13 @@ cmd_initramfs() {
# sysroot is already in use, otherwise the host clang against the same
# musl sysroot. A first-light device has no bootctl.
alpine_sysroot() {
local sysroot="$WORK/downloads/alpine/sysroot" apk
local sysroot="$WORK/downloads/alpine/sysroot" apk apks
if [[ ! -f $sysroot/usr/lib/crt1.o ]]; then
mkdir -p "$sysroot"
tar -xzf "$dl/$tarball" -C "$sysroot"
for apk in $(python3 -I "$ROOT/tools/alpine-fetch.py" "$ver" "$dl/apks" musl-dev); do
apks=$(python3 -I "$ROOT/tools/alpine-fetch.py" "$ver" "$dl/apks" musl-dev) ||
die "tools/alpine-fetch.py failed for the musl sysroot's musl-dev"
for apk in $apks; do
tar -xzf "$apk" -C "$sysroot" 2>/dev/null || true
done
fi
Expand Down Expand Up @@ -781,6 +815,8 @@ cmd_images() {
if [[ $DEV_BOOT_METHOD != qcom-abl ]]; then
[[ -f $tools/mkbootimg.py ]] ||
die "no mkbootimg.py in $tools: run tools/fetch-toolchain, or set SRC_DIR to an Android checkout (or MKBOOTIMG_DIR)"
fi
if [[ $DEV_BOOT_METHOD == android-v4 ]]; then
[[ -f $MKDTBOIMG ]] ||
die "no mkdtboimg.py at $MKDTBOIMG: run tools/fetch-toolchain, or set SRC_DIR to an Android checkout (or MKDTBOIMG)"
fi
Expand All @@ -803,6 +839,26 @@ cmd_images() {
dtb="$img/$DEV_CODENAME-overlaid.dtb"
fi

if [[ $DEV_BOOT_METHOD == android-v0 ]]; then
# This ABL gunzips the kernel and takes the DTB appended to it; the
# ramdisk is the shared initramfs. gzip -n keeps no name or time, so
# the bytes depend only on the inputs.
say "Boot image (header v0, DTB appended to the gzip kernel): $DEV_DTB"
gzip -9 -n -c "$boot/Image" > "$img/Image.gz"
cat "$img/Image.gz" "$dtb" > "$img/Image.gz-dtb"
python3 "$tools/mkbootimg.py" --header_version 0 \
--kernel "$img/Image.gz-dtb" --ramdisk "$KERNEL_OUT/initramfs.cpio.lz4" \
--cmdline "${DEV_CMDLINE:-}" --pagesize "$DEV_PAGESIZE" --base "$DEV_BASE" \
--kernel_offset "$DEV_KERNEL_OFFSET" --ramdisk_offset "$DEV_RAMDISK_OFFSET" \
--second_offset "$DEV_SECOND_OFFSET" --tags_offset "$DEV_TAGS_OFFSET" \
--output "$img/boot.img" || die "mkbootimg failed"
rm -f "$img/Image.gz"
printf '%s\n' "$DEV_CODENAME" > "$img/DEVICE"
ls -lh "$img"/*.img
sha256sum "$img/boot.img"
return 0
fi

say "Kernel: Image.lz4"
lz4 -l -9 -f -q "$boot/Image" "$img/Image.lz4"

Expand Down Expand Up @@ -1058,11 +1114,15 @@ cmd_fastboot() {
# Qualcomm ABL panic path is uncharacterized on dodge (sysrq-c fallthrough
# when reboot-to bootloader is ignored). Refuse before any phone I/O; use
# the buttons instead (see device/$DEVICE/BRINGUP-M1.md).
# android-v0 (enchilada): no slot-B install yet, so a crash here would
# land on whatever the phone's other slot holds; use the buttons.
[[ $DEV_BOOT_METHOD != android-v0 ]] ||
die "fastboot refuses BOOT_METHOD=android-v0 (RAM-only: reach fastboot by the buttons, see device/$DEVICE/NOTES.md)"
[[ $DEV_BOOT_METHOD != qcom-abl ]] ||
die "fastboot refuses BOOT_METHOD=qcom-abl (panic path uncharacterized on this ABL; use the buttons — see device/$DEVICE/BRINGUP-M1.md)"
in_fastboot && { say "Already in fastboot"; return 0; }
for i in $(seq 1 12); do
if adb get-state 2>/dev/null | grep -q device; then
if adb get-state 2>/dev/null | grep -c device >/dev/null; then
say "Stock Android: adb reboot bootloader"
adb reboot bootloader
elif "$ssh" true 2>/dev/null; then
Expand All @@ -1078,7 +1138,7 @@ cmd_fastboot() {
local t
for t in $(seq 1 40); do
in_fastboot && { say "In fastboot"; return 0; }
adb get-state 2>/dev/null | grep -q device && break
adb get-state 2>/dev/null | grep -c device >/dev/null && break
"$ssh" true 2>/dev/null && break
sleep 2
done
Expand All @@ -1093,6 +1153,9 @@ cmd_flash() {
# successful and refill retries; the bit-54 mark has no §3.1 entry yet.
# Refuse here; day-2 updates use push once that path is viable, and the
# installer PR can reopen flash with the rest.
# android-v0: RAM-only until a slot-B install has its §3.1 entry
[[ $DEV_BOOT_METHOD != android-v0 ]] ||
die "flash refuses BOOT_METHOD=android-v0 (RAM-only: fastboot boot \$KERNEL_OUT/images/boot.img)"
[[ $DEV_BOOT_METHOD != qcom-abl ]] ||
die "flash refuses BOOT_METHOD=qcom-abl (no in-tree day-2 update path yet; see device/$DEVICE/BRINGUP-M1.md)"
images_for_device "$img"
Expand Down Expand Up @@ -1130,6 +1193,8 @@ cmd_push() {
# Same class of refusal as flash: boot_b is on sde here, and there is no
# in-tree day-2 rewrite path for qcom-abl yet. Refuse before any phone I/O
# (modules-push would otherwise rewrite the running root's modules).
[[ $DEV_BOOT_METHOD != android-v0 ]] ||
die "push refuses BOOT_METHOD=android-v0 (RAM-only: fastboot boot \$KERNEL_OUT/images/boot.img)"
[[ $DEV_BOOT_METHOD != qcom-abl ]] ||
die "push refuses BOOT_METHOD=qcom-abl (no in-tree day-2 update path yet; see device/$DEVICE/BRINGUP-M1.md)"
images_for_device "$img"
Expand Down
Loading