From 7157956d440e956ccc635b651f0d15c2e1324f16 Mon Sep 17 00:00:00 2001 From: Lef Date: Fri, 6 Nov 2026 06:47:31 +0200 Subject: [PATCH] omamobile-device-husky 0.1.8: the radio partitions for tools/nv-backup The Pixel 8 Pro's descriptor had no NV_PARTS, so tools/nv-backup refused it. Now NV_PARTS is efs, efs_backup, modem_userdata, persist, modem_a and modem_b (each found once by PARTNAME) in both copies of the descriptor, and NV_BACKUP_EXTRA is devinfo plus trusty_persist and trusty_userdata: Trusty's storage, which only Android's storageproxyd writes, so a --check that reports them different says Android's storage proxy ran. Ran `tools/nv-backup -d husky --check` on my 8 Pro against my backup of 2026-11-03: the six NV partitions, trusty_persist and trusty_userdata are the same (devinfo differs, as expected). That backup was taken after the phone had last booted GrapheneOS; nothing since then, the AoC and Trusty work on slot B included, changed them. --- device/husky/device.conf | 10 ++++++++++ packages/omamobile-device-husky/device.conf | 10 ++++++++++ packages/omamobile-device-husky/version | 2 +- 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/device/husky/device.conf b/device/husky/device.conf index eb8b5936f..05ef5bf91 100644 --- a/device/husky/device.conf +++ b/device/husky/device.conf @@ -76,3 +76,13 @@ INITRAMFS_INIT=/initramfs/init SIMPLEFB_TRIG_CON="0x19470030 0x3061" # Native panel mode (dumpsys display); Android's default is 1008x2244. PANEL_SIZE=1344x2992 + +# --- Radio backup --- +# The radio's NV and calibration partitions, each found once by PARTNAME, so +# tools/nv-backup and --check work on this phone. Nothing on Linux writes them +# (the storage guard keeps them read-only). devinfo holds the bootloader's slot +# flags, which change after a flash or the boot-success mark; trusty_persist and +# trusty_userdata are Trusty's storage, which only Android's storageproxyd +# writes, so a --check that reports them different says Android ran. +NV_PARTS="efs efs_backup modem_userdata persist modem_a modem_b" +NV_BACKUP_EXTRA="devinfo trusty_persist trusty_userdata" diff --git a/packages/omamobile-device-husky/device.conf b/packages/omamobile-device-husky/device.conf index eb8b5936f..05ef5bf91 100644 --- a/packages/omamobile-device-husky/device.conf +++ b/packages/omamobile-device-husky/device.conf @@ -76,3 +76,13 @@ INITRAMFS_INIT=/initramfs/init SIMPLEFB_TRIG_CON="0x19470030 0x3061" # Native panel mode (dumpsys display); Android's default is 1008x2244. PANEL_SIZE=1344x2992 + +# --- Radio backup --- +# The radio's NV and calibration partitions, each found once by PARTNAME, so +# tools/nv-backup and --check work on this phone. Nothing on Linux writes them +# (the storage guard keeps them read-only). devinfo holds the bootloader's slot +# flags, which change after a flash or the boot-success mark; trusty_persist and +# trusty_userdata are Trusty's storage, which only Android's storageproxyd +# writes, so a --check that reports them different says Android ran. +NV_PARTS="efs efs_backup modem_userdata persist modem_a modem_b" +NV_BACKUP_EXTRA="devinfo trusty_persist trusty_userdata" diff --git a/packages/omamobile-device-husky/version b/packages/omamobile-device-husky/version index 11808190d..699c6c6d4 100644 --- a/packages/omamobile-device-husky/version +++ b/packages/omamobile-device-husky/version @@ -1 +1 @@ -0.1.7 +0.1.8