1. 31 May, 2011 1 commit
  2. 24 May, 2011 1 commit
  3. 03 Nov, 2010 1 commit
    • Doug Zongker's avatar
      fix comparison of ECC stats before and after mtd reads · 5d6309e7
      Doug Zongker authored
      ECC errors are found by comparing the result of ioctl(ECCGETSTATS)
      before and after the read.  But if an error was found causing us to go
      to the next block, we'd compare the stats before the *first* read to
      the stats after the second (third, fourth, etc.) reads, so we'd read
      to the end of the partition without ever succeeding.  Fix logic so we
      compare the values before and after each read independently.
      
      Bug: 3162777
      Change-Id: I5a13abd7243d2afd1d21bd98cbb233e5124b2e80
      5d6309e7
  4. 01 Nov, 2010 1 commit
    • Doug Zongker's avatar
      clear recovery framebuffers on allocation; display icon right after ui_init · 51266d13
      Doug Zongker authored
      Make ui_init() clear the framebuffer memory it maps in so the user
      isn't treated to a visible flash of random bits on recovery startup.
      Call ui_set_background() (to show the installing icon) right after
      ui_init() to display something while device_recovery_start() is
      working (which can take a second or two on some devices).
      
      Bug: 3145331
      Change-Id: I11e7859fab5847370ea4f4932c3fb1558af26c5d
      51266d13
  5. 29 Sep, 2010 1 commit
  6. 22 Sep, 2010 2 commits
  7. 21 Sep, 2010 3 commits
  8. 17 Sep, 2010 1 commit
    • Doug Zongker's avatar
      remove unneeded partition roots · d7d42089
      Doug Zongker authored
      Recovery itself no longer needs to access all these partitions;
      manipulation of them is done by the updater binary.  This is a small
      first step towards removing roots entirely.
      
      Change-Id: I3fbcada32079a37db4cc097861dfa91e0a08da30
      d7d42089
  9. 16 Sep, 2010 1 commit
  10. 15 Sep, 2010 4 commits
    • Doug Zongker's avatar
      (cherry-pick) EMMC support in applypatch · 8a8e6cc3
      Doug Zongker authored
      Let applypatch read and write EMMC partitions as well as MTD ones.
      This enables incremental updates that include boot image changes, as
      well as OTA of new recovery partitions.
      
      Change-Id: Ib1861219c7ca66dff29ad02d6a0a14e5f03eb4d8
      8a8e6cc3
    • Doug Zongker's avatar
      support for ext4/EMMC filesystems in updater binary · 56c5105b
      Doug Zongker authored
      Make the mount and format functions take extra parameters describing
      the filesystem type and add support for mounting and formatting ext4
      filesystems on EMMC.
      
      Change recovery to consistently use stdout for status messages instead
      of mixing stdout and stderr.
      56c5105b
    • Doug Zongker's avatar
      (cherry-pick) support installing any .zip file on the sdcard · 8674a726
      Doug Zongker authored
      Replaces the "install sdcard:update zip" menu option with one that
      displays a menu of zip files (and subdirs) on the sdcard and lets you
      pick which one to install.
      
      Change-Id: Icff541525f2fdfc8939a91af626ecc386ac9dd07
      8674a726
    • Doug Zongker's avatar
      close update package before installing; allow remount · 8e5e4dad
      Doug Zongker authored
      Close the update package before invoking the binary, to allow the
      installer to unmount /cache if it wants to.  Add a function to allow
      remounting of a mount as read-only.
      
      Change-Id: Idfcc96c3da66083295177f729263560be58034e4
      8e5e4dad
  11. 14 Sep, 2010 1 commit
  12. 12 Sep, 2010 1 commit
  13. 09 Sep, 2010 1 commit
  14. 03 Sep, 2010 1 commit
  15. 01 Sep, 2010 1 commit
    • Ying Wang's avatar
      Revert 21f0f97e · 532c8600
      Ying Wang authored
      Change-Id: I46e4d7fe76e4219207e46f19e50188e38bb932b7
      532c8600
  16. 31 Aug, 2010 1 commit
    • Ying Wang's avatar
      Fix for crespo. · 21f0f97e
      Ying Wang authored
      Change-Id: I008510bf614606a46a630c7adc39464ce1143ec3
      21f0f97e
  17. 24 Aug, 2010 1 commit
  18. 13 Aug, 2010 6 commits
    • Doug Zongker's avatar
      fix bug in applying patches · dff87121
      Doug Zongker authored
      When restarting a patch from crashing in the middle of a large file,
      we're not finding the correct patch to apply to the copy saved in
      cache.
      
      Change-Id: I41cb2b87d096bb7a28a10c4cf3902facd45d4c9d
      dff87121
    • Doug Zongker's avatar
      remove shadowed variable declaration · beecac49
      Doug Zongker authored
      An accidental variable declaration ("int enough_space = ..." instead
      of "enough_space = " inside a block) shadowing the real one meant we
      were always using the copy-to-cache path for patching, even when not
      necessary.  Remove it.  Enforce an absolute minimum of free space as
      well, to avoid running into problems patching small files, now that
      the copy-to-cache path is (inadvertently) well-tested.
      
      Change-Id: Idb7d57241a9adcda2e11001fa44f0cd67ce40d19
      beecac49
    • Doug Zongker's avatar
      am 201cd466: remove shadowed variable declaration · fbd7ae7a
      Doug Zongker authored
      Merge commit '201cd466' into gingerbread
      
      * commit '201cd466':
        remove shadowed variable declaration
      fbd7ae7a
    • Doug Zongker's avatar
      remove shadowed variable declaration · 201cd466
      Doug Zongker authored
      An accidental variable declaration ("int enough_space = ..." instead
      of "enough_space = " inside a block) shadowing the real one meant we
      were always using the copy-to-cache path for patching, even when not
      necessary.  Remove it.  Enforce an absolute minimum of free space as
      well, to avoid running into problems patching small files, now that
      the copy-to-cache path is (inadvertently) well-tested.
      
      Change-Id: Idb7d57241a9adcda2e11001fa44f0cd67ce40d19
      201cd466
    • Doug Zongker's avatar
      am 8cd9e4f3: fix bug in applying patches · 17986e6b
      Doug Zongker authored
      Merge commit '8cd9e4f3' into gingerbread
      
      * commit '8cd9e4f3':
        fix bug in applying patches
      17986e6b
    • Doug Zongker's avatar
      fix bug in applying patches · 8cd9e4f3
      Doug Zongker authored
      When restarting a patch from crashing in the middle of a large file,
      we're not finding the correct patch to apply to the copy saved in
      cache.
      
      Change-Id: I41cb2b87d096bb7a28a10c4cf3902facd45d4c9d
      8cd9e4f3
  19. 09 Jul, 2010 1 commit
    • Doug Zongker's avatar
      make a copy of sideloaded packages in /tmp before verifying · 23ceeea8
      Doug Zongker authored
      Copy a sideloaded package into /tmp, then verify and install the copy,
      to prevent malicious users from overwriting the package between
      verification and install.
      
      Bug: 2826890 package can be replaced during verification
      Bug: 2058160 Recovery should copy sideloaded (sd card) update ...
      Change-Id: I3de148b0f1a671f1974782b6855527caeaefda23
      23ceeea8
  20. 28 Jun, 2010 2 commits
  21. 24 Jun, 2010 1 commit
  22. 14 May, 2010 1 commit
  23. 03 May, 2010 2 commits
    • Bruce Beare's avatar
      am 97ca48e7: generic_x86 support · be42930f
      Bruce Beare authored
      Merge commit '97ca48e7' into kraken
      
      * commit '97ca48e7':
        generic_x86 support
      be42930f
    • Bruce Beare's avatar
      generic_x86 support · 97ca48e7
      Bruce Beare authored
      Add in Makefiles and support files for x86 builds
        Based on changes by: wonjong.lee <wonjong.lee@windriver.com>
        Additional changes by: Mark Gross <mark.gross@intel.com>
        Additional changes by: Bruce Beare <brucex.j.beare@intel.com>
      
      Change-Id: I71fcf58f116e4e9047e7d03fdb28e3308553ce5c
      97ca48e7
  24. 02 Apr, 2010 1 commit
    • Oscar Montemayor's avatar
      DO NOT MERGE · 52219a68
      Oscar Montemayor authored
      Encrypted File Systems integration. Recovery changes.
      
      Change-Id: I932f73a6f937aac061128e1134eab08c30f0471d
      52219a68
  25. 29 Mar, 2010 1 commit
  26. 26 Mar, 2010 1 commit
    • Oscar Montemayor's avatar
      DO NOT MERGE · 2654f5aa
      Oscar Montemayor authored
      Removing unused recovey options.
      Please refer to Bug#2502219 for more info.
      
      Change-Id: I2fe3cdb0c8b93ed7e1cc4093824fbe181f5f0aea
      2654f5aa
  27. 09 Mar, 2010 1 commit