The Q20 runs on a Snapdragon S4 Plus (MSM8960) with an Adreno 225 GPU. While technically an ARMv7 chip, BlackBerry’s secure bootloader is locked tighter than Fort Knox. There is no public method to unlock the bootloader on the Q20 to flash a mainline Linux kernel.
There is ongoing community effort to bring true Linux to BlackBerry devices, but it remains in an experimental or "unsupported" state. : The Go to product viewer dialog for this item. has a page on the postmarketOS Wiki