anchor.diff:  )
   
   :bootloader
  +ECHO Checking that this is the correct installer for your device...
  +(SET product=)
  +CALL :fastboot_get_product product
  +ECHO   Your device reports itself as "%product%"
  +FINDSTR "%product%" android-info.txt > NUL
  +IF /I "%ERRORLEVEL%" NEQ "0" (
  +    CALL :echo_installer_mismatch
  +    CALL :mexit %ERROR_INSTALLER_MISMATCH%
  +)
  +
   ECHO Checking bootloader lock state...
  -CALL :check_unlocked
  +CALL :check_unlocked %product%
   IF /I "%ERRORLEVEL%" EQU "0" (
       GOTO :flash
   )
   
   ECHO Unlocking bootloader, you will need to confirm this on your device...
   fastboot oem unlock > NUL 2>&1
  -CALL :check_unlocked
  +CALL :check_unlocked %product%
   IF /I "%ERRORLEVEL%" EQU "0" (
       CALL :echo_unlock_reboot
       fastboot reboot > NUL 2>&1
  
positive.code:     CALL :mexit %ERROR_INSTALLER%
  )
  
  ECHO Checking whether your device is in recovery mode...
  CALL :check_recovery
  IF /I "%ERRORLEVEL%" EQU "0" (
      GOTO :bootloader
  
negative.code:     CALL :mexit %ERROR_UNLOCK%
  )
  
  :flash
  :: ECHO BAIL!
  :: PAUSE
  :: EXIT /B 0
  
  ECHO.
  ECHO Installing Maru, please keep your device connected...
  fastboot format cache
  