Welcome to Firefly
Switch language
Firefly Docsss
Last Updated: 2026-08-25 09:48:18

FireflyApi installation

3.4 Installation upgrade

  1. Local ota package upgrade
    Function:public void installPackage(String path) 
    Description:Restart the ota package upgrade. Currently, it only supports to put in the built-in storage root directory, i.e./sdcard/
    Parameters:Absolute path to the ota package
    Example:  
    
  2. Reboot into recovery
    Function:public void rebootRecovery() 
    Description:Reboot into recovery
    Example:  

On this page