Skip to content

Bootloop Protector v1.6

Latest

Choose a tag to compare

@nikakvo nikakvo released this 28 Nov 21:31
  • When a file cannot be written (a full /data), Never disable, set-conf and trust-now report it and keep the allow list, the config and the trusted setup as they were; before, an allow list or the trusted setup could be emptied and the change shown as done. module.prop is kept the same way
  • The log says "Setup trusted" only when the trusted setup was really recorded
  • A rescue counts what it switched off also when the log cannot be written; before, it counted nothing and gave up instead of rebooting. An item it could not switch off is not counted
  • Level 1 rescue with an empty trusted setup treats every module and script as new
  • Numbers with a leading zero (08, 09) in the config and the state files are read as decimal; a damaged state value falls back to its default instead of stopping the boot script
  • The boot counter is synced to storage right after it is written, so a hard reset right after cannot lose it
  • Never disable entries match the way the lists are read (spaces, CR and comments do not count), names that start with a dash work, and a script name the list cannot hold is refused
  • Appends to hand-edited config and allow-list files start a line of their own; the YABP allow-list migration keeps every entry
  • Enable all reports how many modules it enabled; before, it said "Enabled 0 module(s)"
  • With a rescue waiting for Restore, a SystemUI that is down is no longer failed at once (it was reported as down for years): it gets the normal 30 seconds
  • bp.sh works when started by its bare name from the module folder
  • A reboot started with adb reboot is no longer logged as "SystemUI is not running", and a slow shutdown can no longer be taken for a SystemUI failure
  • Help and README: a rescue waiting for Restore is not undone by uninstalling; restore first

Thanks to @ivangotoy for the fixes in #2.