Basically the title contains everything. I have an old smartphone lying around and I would like to change its bootloader.
How can I know in which partition does it lie? How can I compile grub on my main machine and install it to my device?
My device implements the Armv7 instruction set.
Note: I do not wish to unlock the stock bootloader, I wish to replace it completely.