Functions§
- get_
bootloader_ file_ bootreason - Reads the bootloader’s
androidboot.bootreasonfrom itsZBI_TYPE_BOOTLOADER_FILEboot item. - get_
console_ ramoops - Get contents for the pstore/console-ramoops* file.
- get_
or_ init_ android_ bootreason - Get an Android-compatible boot reason suitable to add to the cmdline or bootconfig.
- update_
android_ bootreason - Update the Android bootreason. Use get_or_init_android_bootreason to get the cached Android boot reason instead of this.