1. 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
  2. 28 Jun, 2010 2 commits
  3. 24 Jun, 2010 1 commit
  4. 14 May, 2010 1 commit
  5. 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
  6. 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
  7. 29 Mar, 2010 1 commit
  8. 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
  9. 09 Mar, 2010 1 commit
  10. 24 Feb, 2010 1 commit
  11. 22 Feb, 2010 1 commit
    • Doug Zongker's avatar
      refactor applypatch and friends · c4351c79
      Doug Zongker authored
      Change the applypatch function to take meaningful arguments instead of
      argc and argv.  Move all the parsing of arguments into main.c (for the
      standalone binary) and into install.c (for the updater function).
      applypatch() takes patches as Value objects, so we can pass in blobs
      extracted from the package without ever writing them to temp files.
      
      The patching code is changed to read the patch from memory instead of
      a file.
      
      A bunch of compiler warnings (mostly about signed vs unsigned types)
      are fixed.
      
      Support for the IMGDIFF1 format is dropped.  (We've been generating
      IMGDIFF2 packages for some time now.)
      
      Change-Id: I217563c500012750f27110db821928a06211323f
      c4351c79
  12. 20 Feb, 2010 1 commit
  13. 18 Feb, 2010 2 commits
    • Doug Zongker's avatar
      relocate applypatch; add type system and new functions to edify · 512536a5
      Doug Zongker authored
      - Move applypatch to this package (from build).
      
      - Add a rudimentary type system to edify:  instead of just returning a
        char*, functions now return a Value*, which is a struct that can
        carry different types of value (currently just STRING and BLOB).
        Convert all functions to this new scheme.
      
      - Change the one-argument form of package_extract_file to return a
        Value of the new BLOB type.
      
      - Add read_file() to load a local file and return a blob, and
        sha1_check() to test a blob (or string) against a set of possible
        sha1s.  read_file() uses the file-loading code from applypatch so it
        can read MTD partitions as well.
      
      This is the start of better integration between applypatch and the
      rest of edify.
      
      b/2361316 - VZW Issue PP628: Continuous reset to Droid logo:
                  framework-res.apk update failed (CR LIBtt59130)
      
      Change-Id: Ibd038074749a4d515de1f115c498c6c589ee91e5
      512536a5
    • Kenny Root's avatar
      Filename check and free allocated strings · 21854ccd
      Kenny Root authored
      Make sure file is valid before we try to read it. Also free all the
      strings we allocate in various functions so we don't leak memory.
      
      Change-Id: Ica3c8dae992e73718c79c12ff5d7e315c290caea
      21854ccd
  14. 05 Feb, 2010 3 commits
  15. 03 Feb, 2010 1 commit
    • Doug Zongker's avatar
      bump updater API version to 3; deprecate firmware update command · e08991e0
      Doug Zongker authored
      Remove support for the HTC-specific "firmware" update command and the
      corresponding edify function write_firmware_update().  This
      functionality is now done by an edify extension library that lives in
      vendor/htc.
      
      Change-Id: I80858951ff10ed8dfff98aefb796bef009e05efb
      e08991e0
  16. 02 Feb, 2010 1 commit
  17. 01 Feb, 2010 2 commits
    • Doug Zongker's avatar
      change log recovery to generic device_recovery_start function · efa1bab9
      Doug Zongker authored
      Remove (or at least stop calling) the HTC-specific mechanism for
      preserving the recovery log from before a radio or hboot update.
      Replace it with a generic device_recovery_start() function which each
      device's code can implement to do whatever it wants on recovery
      startup.
      
      Change-Id: If3cca4b498c0b1cf0565236404ecf56a1fc46123
      efa1bab9
    • Doug Zongker's avatar
      add a one-argument version of package_extract_file · 6aece33b
      Doug Zongker authored
      Add a version of package_extract_file that returns the file data as
      its return value (to be consumed by some other edify function that
      expects to receive a bunch of binary data as an argument).  Lets us
      avoid having two copies of a big file in memory (extracting it into
      /tmp, which is a ramdisk, and then having something load it into
      memory) when doing things like radio updates.
      
      Change-Id: Ie26ece5fbae457eb0ddcd8a13d74d78a769fbc70
      6aece33b
  18. 29 Jan, 2010 2 commits
  19. 21 Jan, 2010 1 commit
    • Doug Zongker's avatar
      save the recovery log from before HTC firmware updates · 687bc12c
      Doug Zongker authored
      When doing a firmware (radio or hboot) update on HTC devices, save the
      recovery log in block 1 of the cache partition, before the firmware
      image and the UI bitmaps.  When we boot back into recovery after the
      firmware update to reformat the cache partition, copy that log out of
      cache before reformatting it and dump it into the current invocation's
      log.
      
      The practical upshot of all this is that we can see the log output
      from radio and hboot updates.
      
      Change-Id: Ie0e89566754c88f4bed6a90d8a0aa04047b01a27
      687bc12c
  20. 13 Jan, 2010 4 commits
  21. 12 Jan, 2010 1 commit
  22. 21 Dec, 2009 2 commits
  23. 15 Dec, 2009 4 commits
  24. 10 Dec, 2009 3 commits