When I power my device (htc one m8) on and press the volume down key I get into recovery.
Now which part of the booting process checks if this key is pressed and uses the correct partiton (boot or recovery).
Is this the bootloader?
If yes, is this the 'same' bootloader as formerly found in the aosp tree?