I recently employed the use of
adb get-state and decided to know further about it. Running
adb inter alia shows:
adb get-state - prints: offline | bootloader | device
I intend to know under what circumstance(s) would that command return bootloader.
As of now I'm aware of these outputs:
- device: booted into Android OS, debugging enabled and authorized
- recovery: booted into recovery environment
- sideload: during side-loading
- unauthorized: booted into Android OS, debugging enabled but not authorized yet
- offline: wireless device not in reach. (There may be other reasons.)
- unknown: When adbd not detected at other side. At least that's what I understand of it. Occurs in case of debugging being disabled or device not plugged in.
I'm yet to know about the following two outputs:
I found all those outputs here with no added explanation.
Before you ask,
- yes, I've already ran that command when my Nexus 6 was booted into bootloader mode and I received unknown as output;
- it is mere curiosity with nothing that it would solve in particular as of now.