Skip to content

[halium-16.0] snippets: ubports: track bootable/recovery and external/{gpg,lvm2}#105

Draft
JamiKettunen wants to merge 1 commit into
Halium:halium-16.0from
JamiKettunen:h16-recovery
Draft

[halium-16.0] snippets: ubports: track bootable/recovery and external/{gpg,lvm2}#105
JamiKettunen wants to merge 1 commit into
Halium:halium-16.0from
JamiKettunen:h16-recovery

Conversation

@JamiKettunen

@JamiKettunen JamiKettunen commented Jul 15, 2026

Copy link
Copy Markdown

Compiles with https://github.com/JamiKettunen/android_external_gpg/tree/halium-16.0 which perhaps should be imported/merged too depending on how the changes want to be done; took the liberty to at least bump it from v1.4.13 (late 2012) -> v1.4.23 (mid 2018) so it's at least on the latest legacy branch version

We could also check if the generated resources should be updated with something like:

for dpi in mdpi hdpi xhdpi xxhdpi xxxhdpi; do
  sed -i '/TARGET_RECOVERY_DENSITY/d' device/halium/halium_arm64/BoardConfig.mk
  echo "TARGET_RECOVERY_DENSITY := $dpi" >> device/halium/halium_arm64/BoardConfig.mk
  make recoveryramdisk -j$(nproc)
  diff -r bootable/recovery/res-$dpi/images/ out/target/product/halium_arm64/recovery/root/res/images/
done

Once building and booting https://github.com/JamiKettunen/halium_bootable_recovery/tree/halium-16.0 should be imported to https://github.com/ubports/halium_bootable_recovery before merging this

Use the ubports recovery instead of the straight lineage-23.2 fork
and add external/gpg to get a static gpg binary, which is used
by the recovery to verify system updates + lvm2 for super partition-less
rootfs enlargement.

Change-Id: I845a2f91d75581eeb55d4e956ee6ebf6873ac5ab

Signed-off-by: Alexander Martinz <alex@amartinz.at>
Co-authored-by: Alexander Martinz <alex@amartinz.at>
@JamiKettunen JamiKettunen marked this pull request as draft July 15, 2026 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant