Bass boot options
On Aaropa installs, GRUB only ships BlissOS / Recovery / Advanced entries by default. With this package enabled, a Bass boot options submenu is added on first boot by writing a separate config and linking it through GRUB's custom.cfg (already sourced by 41_custom in Aaropa's grub.cfg).
Enable at build time
./build.sh --bass-boot-options ...
# USE_BASS_BOOT_OPTIONS=true
./build.sh --cxbbo ...
# USE_CX_BASS_BOOT_OPTIONS=true; selects the customer catalog
Catalog selection:
Behavior
- Runs at
sys.boot_completedviainit.bass_boot_options.rc. - Parses the default
BlissOSmenuentry in/boot/grub/grub.cfg. - Generates
/boot/grub/bass_boot_options.cfgfrom/vendor/etc/bass_boot/entries.list. - Ensures
/boot/grub/custom.cfgcontains a managedsource $prefix/bass_boot_options.cfgblock. - Backs up
grub.cfg/custom.cfgas*.bak.bass-<timestamp>(keeps last 3) before edits; restores on failure.
Runtime disable
adb shell setprop persist.bass.boot_options 0
# or boot with: androidboot.bass.boot_options=0
Force reinstall
adb shell rm -f /data/misc/bass_boot_options/installed
# or: BASS_FORCE=1 /vendor/etc/bass_boot/bass_boot_options.sh
Catalog version bumps also regenerate on next boot when the marker/version no longer matches. Status is written to /data/misc/bass_boot_options/status.