From boot, is there a way to know which
.img is going to be run?
Can I write a script / program that would run from
init.rc (e.g. from pre-init), and print the
Where is the earliest place I can know this? Where is this written?
Edit: I want to know (automatically detect) whether I'm in recovery mode.