Skip to content

main/postmarketos-mkinitfs-hook-apx: new aport

jenneron requested to merge jenneron/pmaports:apx into master

Nvidia Tegra devices have APX mode which allows to flash/debrick a device even with broken bootloader. It also allows to sideload bootloader which is useful when porting a new bootloader.

Some devices have a key combination to enter this mode, some devices don't have one. This hook alters two Tegra PMC registers which causes device to enter APX mode. It works on the most devices including some of those that don't have a key combination for APX.

Usage:

pmbootstrap initfs hook_add apx
pmbootstrap flasher boot

Merge request reports