May 2017
Beginner to intermediate
470 pages
10h 49m
English
As we discussed in the BCB section, bootloader decides the boot path according to the arguments stored in BCB. The recovery command stored in BCB is the same as the one in the /cache partition at /cache/recovery/command. We can actually move the same logic to the first stage boot in initrd.img. In this case, we can achieve the same result with the help of the first stage boot. The logic for factory data reset and OTA update will become the following steps:
Read now
Unlock full access