1. 10 Mar, 2015 1 commit
  2. 19 Feb, 2015 2 commits
    • Dan Albert's avatar
      Kill of most of the remainder of minadbd. · f3a57269
      Dan Albert authored
      I think everything left now is here to stay (services.c might get
      massaged in to libadbd if it gets refactored).
      
      Bug: 17626262
      Change-Id: I01faf8b277a601a40e3a0f4c3b8206c97f1d2ce6
      f3a57269
    • Dan Albert's avatar
      Use headers from adb. · 1ddd3505
      Dan Albert authored
      adb.h has diverged a bit, so that one will be more involved, but these
      three are all trivial, unimportant changes.
      
      Change-Id: Ief8474c1c2927d7e955adf04f887c76ab37077a6
      1ddd3505
  3. 18 Feb, 2015 1 commit
  4. 23 Jan, 2015 1 commit
  5. 25 Nov, 2014 1 commit
  6. 07 Nov, 2014 1 commit
  7. 10 Jul, 2014 2 commits
    • Doug Zongker's avatar
      do sdcard sideloading through the fuse filesystem · 945fc68c
      Doug Zongker authored
      Make a fuse filesystem that sits on top of the selected package file
      on the sdcard, so we can verify that the file contents don't change
      while being read and avoid copying the file to /tmp (that is, RAM)
      before verifying and installing it.
      
      Change-Id: Ifd982aa68bfe469eda5f839042648654bf7386a1
      945fc68c
    • Doug Zongker's avatar
      refactor fuse sideloading code · 18a78e0a
      Doug Zongker authored
      Split the adb-specific portions (fetching a block from the adb host
      and closing the connections) out from the rest of the FUSE filesystem
      code, so that we can reuse the fuse stuff for installing off sdcards
      as well.
      
      Change-Id: I0ba385fd35999c5f5cad27842bc82024a264dd14
      18a78e0a
  8. 18 Jun, 2014 1 commit
  9. 17 Jun, 2014 1 commit
    • JP Abgrall's avatar
      Support F2FS for the data partition · 37aedb3f
      JP Abgrall authored
      
      This adds F2FS support
      - for wiping a device
      - for the install "format" command.
      
      Note: crypto data in "footer" with a default/negative length
      is not supported, unlike with "ext4".
      
      Change-Id: I8d141a0d4d14df9fe84d3b131484e9696fcd8870
      Signed-off-by: default avatarJP Abgrall <jpa@google.com>
      37aedb3f
  10. 11 Mar, 2014 3 commits
    • Doug Zongker's avatar
      remove pixelflinger from recovery · 16f97c39
      Doug Zongker authored
      Recovery now draws directly to the framebuffer by rolling its own
      graphics code, rather than depending on libpixelflinger.
      
      The recovery UI is modified slightly to eliminate operations that are
      slow with the software implementation: when the text display / menu is
      turned on, it now appears on a black background instead of a dimmed
      version of the recovery icon.
      
      There's probably substantial room for optimization of the graphics
      operations.
      
      Bug: 12131110
      Change-Id: Iab6520e0a7aaec39e2ce39377c10aef82ae0c595
      
      Conflicts:
      	minui/resources.c
      16f97c39
    • Doug Zongker's avatar
      allow CheckKey to request mounting /system · 4db31d20
      Doug Zongker authored
      Also provide a default implementation of CheckKey that's reasonable
      for many devices (those that have power and volume keys).
      
      Change-Id: Icf6c7746ebd866152d402059dbd27fd16bd51ff8
      4db31d20
    • Doug Zongker's avatar
      remove pixelflinger from recovery · 39cf417e
      Doug Zongker authored
      Recovery now draws directly to the framebuffer by rolling its own
      graphics code, rather than depending on libpixelflinger.
      
      The recovery UI is modified slightly to eliminate operations that are
      slow with the software implementation: when the text display / menu is
      turned on, it now appears on a black background instead of a dimmed
      version of the recovery icon.
      
      There's probably substantial room for optimization of the graphics
      operations.
      
      Bug: 12131110
      Change-Id: Iab6520e0a7aaec39e2ce39377c10aef82ae0c595
      39cf417e
  11. 03 Mar, 2014 1 commit
  12. 13 Feb, 2014 2 commits
  13. 16 Jan, 2014 2 commits
    • Doug Zongker's avatar
      program to store unencrypted files in an encrypted filesystem · 76adfc53
      Doug Zongker authored
      uncrypt can read a file on an encrypted filesystem and rewrite it to
      the same blocks on the underlying (unencrypted) block device.  This
      destroys the contents of the file as far as the encrypted filesystem
      is concerned, but allows the data to be read without the encryption
      key if you know which blocks of the raw device to access.  uncrypt
      produces a "block map" file which lists the blocks that contain the file.
      
      For unencrypted filesystem, uncrypt will produce the block map without
      touching the data.
      
      Bug: 12188746
      Change-Id: Ib7259b9e14dac8af406796b429d58378a00c7c63
      76adfc53
    • Doug Zongker's avatar
      do verification and extraction on memory, not files · 99916f04
      Doug Zongker authored
      Changes minzip and recovery's file signature verification to work on
      memory regions, rather than files.
      
      For packages which are regular files, install.cpp now mmap()s them
      into memory and then passes the mapped memory to the verifier and to
      the minzip library.
      
      Support for files which are raw block maps (which will be used when we
      have packages written to encrypted data partitions) is present but
      largely untested so far.
      
      Bug: 12188746
      Change-Id: I12cc3e809834745a489dd9d4ceb558cbccdc3f71
      99916f04
  14. 12 Dec, 2013 1 commit
  15. 10 Oct, 2013 1 commit
    • Kenny Root's avatar
      Add support for ECDSA signatures · 7a4adb52
      Kenny Root authored
      This adds support for key version 5 which is an EC key using the NIST
      P-256 curve parameters. OTAs may be signed with these keys using the
      ECDSA signature algorithm with SHA-256.
      
      Change-Id: Id88672a3deb70681c78d5ea0d739e10f839e4567
      7a4adb52
  16. 04 Sep, 2013 1 commit
    • Doug Zongker's avatar
      allow CheckKey to request mounting /system · 9e805d6c
      Doug Zongker authored
      Also provide a default implementation of CheckKey that's reasonable
      for many devices (those that have power and volume keys).
      
      Change-Id: Icf6c7746ebd866152d402059dbd27fd16bd51ff8
      9e805d6c
  17. 10 Apr, 2013 1 commit
    • Ying Wang's avatar
      Add liblog · 4e21482d
      Ying Wang authored
      Bug: 8580410
      Change-Id: Ie60dade81c06589cb0daee431611ded34adef8e6
      4e21482d
  18. 20 Feb, 2013 1 commit
  19. 16 Oct, 2012 1 commit
  20. 23 Aug, 2012 1 commit
  21. 14 Aug, 2012 2 commits
  22. 24 Jul, 2012 1 commit
  23. 21 Jul, 2012 1 commit
  24. 18 Jul, 2012 1 commit
    • Colin Cross's avatar
      Link against libsparse · cde94f30
      Colin Cross authored
      libext4_utils requires libsparse, link against it as well.
      
      Change-Id: I4d6aec0e5edcf1ed42118b7b77adcded2858d3dd
      cde94f30
  25. 30 Mar, 2012 1 commit
  26. 31 Jan, 2012 1 commit
  27. 24 Jan, 2012 1 commit
  28. 18 Jan, 2012 1 commit
    • Doug Zongker's avatar
      support "sideload over ADB" mode · e83b7cf8
      Doug Zongker authored
      Rather than depending on the existence of some place to store a file
      that is accessible to users on an an unbootable device (eg, a physical
      sdcard, external USB drive, etc.), add support for sideloading
      packages sent to the device with adb.
      
      This change adds a "minimal adbd" which supports nothing but receiving
      a package over adb (with the "adb sideload" command) and storing it to
      a fixed filename in the /tmp ramdisk, from where it can be verified
      and sideloaded in the usual way.  This should be leave available even
      on locked user-build devices.
      
      The user can select "apply package from ADB" from the recovery menu,
      which starts minimal-adb mode (shutting down any real adbd that may be
      running).  Once minimal-adb has received a package it exits
      (restarting real adbd if appropriate) and then verification and
      installation of the received package proceeds.
      
      always initialize usb product, vendor, etc. for adb in recovery
      
      Set these values even on non-debuggable builds, so that the mini-adb
      now in recovery can work.
      e83b7cf8
  29. 10 Jan, 2012 1 commit
    • Doug Zongker's avatar
      support "sideload over ADB" mode · 9270a20a
      Doug Zongker authored
      Rather than depending on the existence of some place to store a file
      that is accessible to users on an an unbootable device (eg, a physical
      sdcard, external USB drive, etc.), add support for sideloading
      packages sent to the device with adb.
      
      This change adds a "minimal adbd" which supports nothing but receiving
      a package over adb (with the "adb sideload" command) and storing it to
      a fixed filename in the /tmp ramdisk, from where it can be verified
      and sideloaded in the usual way.  This should be leave available even
      on locked user-build devices.
      
      The user can select "apply package from ADB" from the recovery menu,
      which starts minimal-adb mode (shutting down any real adbd that may be
      running).  Once minimal-adb has received a package it exits
      (restarting real adbd if appropriate) and then verification and
      installation of the received package proceeds.
      
      Change-Id: I6fe13161ca064a98d06fa32104e1f432826582f5
      9270a20a
  30. 04 Nov, 2011 1 commit
    • Doug Zongker's avatar
      move key processing to RecoveryUI · 32a0a47a
      Doug Zongker authored
      Move the key for handling keys from ScreenRecoveryUI to RecoveryUI, so
      it can be used by devices without screens.  Remove the UIParameters
      struct and replace it with some new member variables in
      ScreenRecoveryUI.
      
      Change-Id: I70094ecbc4acbf76ce44d5b5ec2036c36bdc3414
      32a0a47a
  31. 01 Nov, 2011 2 commits
    • Doug Zongker's avatar
      fix verifier test · d538eb77
      Doug Zongker authored
      Needs to link with libminui and ui.cpp now.
      
      Change-Id: I5005e12cf8adb13d320921e3f9174e8c7304d7bf
      d538eb77
    • Doug Zongker's avatar
      move key processing to RecoveryUI · a4e88e45
      Doug Zongker authored
      Move the key for handling keys from ScreenRecoveryUI to RecoveryUI, so
      it can be used by devices without screens.  Remove the UIParameters
      struct and replace it with some new member variables in
      ScreenRecoveryUI.
      
      Change-Id: I4c0e659edcbedc0b9e86ed261ae4dbb3c6097414
      a4e88e45
  32. 31 Oct, 2011 1 commit
    • Doug Zongker's avatar
      C++ class for device-specific code · daefc1d4
      Doug Zongker authored
      Replace the device-specific functions with a class.  Move some of the
      key handling (for log visibility toggling and rebooting) into the UI
      class.  Fix up the key handling so there is less crosstalk between the
      immediate keys and the queued keys (an increasing annoyance on
      button-limited devices).
      
      Change-Id: I698f6fd21c67a1e55429312a0484b6c393cad46f
      daefc1d4