1. 24 Jun, 2016 2 commits
  2. 19 Jun, 2016 1 commit
  3. 15 Jun, 2016 1 commit
    • Tianjie Xu's avatar
      Check the results from applypatch · 31f8cc84
      Tianjie Xu authored
      Check the results from applypatch in PerformCommandDiff; and abort the
      update on failure.
      
      Bug:29339536
      Change-Id: I5087d79ba532b54250f4c17560524255c8a4fabc
      31f8cc84
  4. 14 Jun, 2016 1 commit
  5. 13 Jun, 2016 1 commit
  6. 12 Jun, 2016 1 commit
  7. 10 Jun, 2016 1 commit
    • Tianjie Xu's avatar
      Log source/target build version to last_install · b0ddae55
      Tianjie Xu authored
      Parse the build.version.incremental from the metadata of the update
      package; and log it to last_install.
      Example:
      In metadata we read:
      post-build-incremental=2951741
      pre-build-incremental=2943039
      
      In last install we log:
      source_build: 2943039
      target_build: 2951741
      
      Bug: 28658632
      Change-Id: I0a9cc2d01644846e18bda31f4193ff40e8924486
      b0ddae55
  8. 09 Jun, 2016 1 commit
  9. 08 Jun, 2016 2 commits
  10. 07 Jun, 2016 1 commit
  11. 05 Jun, 2016 1 commit
  12. 03 Jun, 2016 1 commit
    • Tianjie Xu's avatar
      Call ioctl before each write on retry · 7ce287d4
      Tianjie Xu authored
      If the update is a retry, ioctl(BLKDISCARD) the destination blocks before
      writing to these blocks.
      
      Bug: 28990135
      Change-Id: I1e703808e68ebb1292cd66afd76be8fd6946ee59
      7ce287d4
  13. 24 May, 2016 1 commit
  14. 23 May, 2016 1 commit
  15. 20 May, 2016 1 commit
    • Tianjie Xu's avatar
      Allow recovery to return error codes · 16255838
      Tianjie Xu authored
      Write error code, cause code, and retry count into last_install. So we
      can have more information about the reason of a failed OTA.
      
      Example of new last_install:
      @/cache/recovery/block.map     package name
      0                              install result
      retry: 1                       retry count (new)
      error: 30                      error code (new)
      cause: 12                      error cause (new)
      
      Details in:
      go/android-ota-errorcode
      
      Bug: 28471955
      Change-Id: I00e7153c821e7355c1be81a86c7f228108f3dc37
      16255838
  16. 19 May, 2016 12 commits
  17. 17 May, 2016 1 commit
  18. 16 May, 2016 1 commit
    • Tianjie Xu's avatar
      Add time and I/O info to last_install · dd874b1c
      Tianjie Xu authored
      One example of last_install is:
      
      /sideload/package.zip
      1
      time_total: 101
      bytes_written_system: 14574000
      bytes_stashed_system: 100
      bytes_written_vendor: 5107400
      bytes_stashed_vendor: 0
      
      Bug: 28658632
      Change-Id: I4bf79ea71a609068d38fbce6b41bcb892524aa7a
      dd874b1c
  19. 03 May, 2016 1 commit
  20. 02 May, 2016 2 commits
  21. 29 Apr, 2016 2 commits
    • Tao Bao's avatar
      recovery: Always log the update attempt. · 56870018
      Tao Bao authored
      An OTA may be skipped due to low battery. But we should always log it to
      understand why an update _fails_ to apply.
      
      Bug: 27893175
      Change-Id: I50a3fbbb3e51035e0ac5f1cca150e283852825c3
      56870018
    • Tianjie Xu's avatar
      Add ability to show "installing security update" · 35926c4b
      Tianjie Xu authored
      Add a new command "--security" to boot commands. If this command is
      observed as part of BCB, choose a different background text picture
      for installing stage in recovery UI. As a result, users will see
      "installing security update" instead of "installing system update"
      when applying a security update package.
      
      Bug: 27837319
      Change-Id: I2e2253a124993ecc24804fa1ee0b918ac96837c5
      35926c4b
  22. 28 Apr, 2016 4 commits