Tizen OS Recovery Progress interface

From Tizen Wiki
Jump to: navigation, search

※ When you develop Recovery UI app, you can read the current progress with these interfaces

Recovery progress

  1. Current progress(%)
    • File path : /tmp/recovery_progress
void print_ro_progress(void)
{
    int progress = -1;
    FILE *fp = NULL;

    fp = fopen("/tmp/recovery_progress", "r");
    if (fp) {
        if (fscanf(fp, "%d", &progress) < 1)
            LOG("Failed to read Recovery progress");
    }

    LOG("Recovery progress : %d percent", progress);
}

Reference UI

  • ※ Caution : Manufacturer is required to make own update system ui
  • Binary : /usr/bin/system-recovery_gui
  • Git : profile/common/apps/native/firmware-update-system-ui