1. 20 Jul, 2015 1 commit
  2. 17 Jul, 2015 2 commits
  3. 14 Jul, 2015 2 commits
  4. 11 Jul, 2015 2 commits
  5. 07 Jul, 2015 1 commit
  6. 06 Jul, 2015 1 commit
  7. 26 Jun, 2015 2 commits
  8. 24 Jun, 2015 3 commits
  9. 23 Jun, 2015 3 commits
  10. 10 Jun, 2015 10 commits
  11. 09 Jun, 2015 4 commits
    • Tao Bao's avatar
      uncrypt: Write status when it reboots to factory reset · ac6aa7ed
      Tao Bao authored
      When it reboots into recovery for a factory reset, it still needs to
      write the uncrypt status (-1) to the pipe.
      
      Bug: 21511893
      (cherry picked from commit 2c2cae8a)
      Change-Id: Ia5a75c5edf3afbd916153da1b4de4db2f00d0209
      ac6aa7ed
    • Tao Bao's avatar
      Separate uncrypt into two modes · 383b00d0
      Tao Bao authored
      uncrypt needs to be triggered to prepare the OTA package before
      rebooting into the recovery. Separate uncrypt into two modes. In
      mode 1, it uncrypts the OTA package, but will not reboot the
      device. In mode 2, it wipes the /misc partition and reboots.
      
      Needs matching changes in frameworks/base, system/core and
      external/sepolicy to work properly.
      
      Bug: 20012567
      Bug: 20949086
      (cherry picked from commit 158e11d6)
      Change-Id: I349f6d368a0d6f6ee4332831c4cd4075a47426ff
      383b00d0
    • Sami Tolvanen's avatar
      Merge "Zero blocks before BLKDISCARD" · 69608fe7
      Sami Tolvanen authored
      69608fe7
    • Sami Tolvanen's avatar
      Zero blocks before BLKDISCARD · 96392b97
      Sami Tolvanen authored
      Due to observed BLKDISCARD flakiness, overwrite blocks that we want
      to discard with zeros first to avoid later issues with dm-verity if
      BLKDISCARD is not successful.
      
      Bug: 20614277
      Bug: 20881595
      Change-Id: I0280fe115b020dcab35f49041fb55b7f8e793da3
      96392b97
  12. 03 Jun, 2015 6 commits
    • Tao Bao's avatar
      Merge "recovery: Switch to clang" · 3f9db6af
      Tao Bao authored
      3f9db6af
    • Tao Bao's avatar
      recovery: Switch to clang · 80e46e08
      Tao Bao authored
      And a few trival fixes to suppress warnings.
      
      Change-Id: I38734b5f4434643e85feab25f4807b46a45d8d65
      80e46e08
    • Tao Bao's avatar
      Merge "Fix build: fprintf without modifier" · 227069d7
      Tao Bao authored
      227069d7
    • Tao Bao's avatar
      Fix build: fprintf without modifier · 1eb9003b
      Tao Bao authored
      Change-Id: I66ae21a25a25fa3c70837bc54a7d406182d4cf37
      1eb9003b
    • Tao Bao's avatar
      Merge "Log update outputs in order" · a69e608a
      Tao Bao authored
      a69e608a
    • Tao Bao's avatar
      Log update outputs in order · b6918c7c
      Tao Bao authored
      Although stdout and stderr are both redirected to log file with no
      buffering, we are seeing some outputs are mixed in random order.
      This is because ui_print commands from the updater are passed to the
      recovery binary via a pipe, which may interleave with other outputs
      that go to stderr directly.
      
      In recovery, adding ui::PrintOnScreenOnly() function to handle
      ui_print command, which skips printing to stdout. Meanwhile, updater
      prints the contents to stderr in addition to piping them to recovery.
      
      Change-Id: Idda93ea940d2e23a0276bb8ead4aa70a3cb97700
      b6918c7c
  13. 29 May, 2015 3 commits