1. 19 May, 2015 1 commit
    • Dan Albert's avatar
      Stop using libstdc++. · e49a9e52
      Dan Albert authored
      These are already getting libc++, so it isn't necessary. If any of the
      other static libraries (such as adb) use new or delete from libc++,
      there will be symbol collisions.
      
      Change-Id: I55e43ec60006d3c2403122fa1174bde06f18e09f
      e49a9e52
  2. 13 Apr, 2015 1 commit
    • Elliott Hughes's avatar
      Move the menu header out of the menu. · 8fd86d77
      Elliott Hughes authored
      This makes it easier for us to deal with arbitrary information at the
      top, and means that headers added by specific commands don't overwrite
      the default ones.
      
      Add the fingerprint back, but broken up so it fits even on sprout's
      display.
      
      Change-Id: Id71da79ab1aa455a611d72756a3100a97ceb4c1c
      8fd86d77
  3. 10 Apr, 2015 1 commit
  4. 09 Apr, 2015 1 commit
    • Elliott Hughes's avatar
      Move default implementations into Device. · 9e7ae8a6
      Elliott Hughes authored
      The current abstract class was a nice idea but has led to a lot of
      copy & paste in practice. Right now, no one we know of has any extra
      menu items, so let's make the default menu available to everyone.
      
      (If we assume that someone somewhere really does need custom
      device-specific menu options, a better API would let them add to
      our menu rather than replacing it.)
      
      Change-Id: I59f6a92f3ecd830c2ce78ce9da19eaaf472c5dfa
      9e7ae8a6
  5. 11 Mar, 2015 1 commit
  6. 10 Mar, 2015 1 commit
  7. 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
  8. 18 Feb, 2015 1 commit
  9. 23 Jan, 2015 1 commit
  10. 25 Nov, 2014 1 commit
  11. 07 Nov, 2014 1 commit
  12. 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
  13. 18 Jun, 2014 1 commit
  14. 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
  15. 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
  16. 03 Mar, 2014 1 commit
  17. 13 Feb, 2014 2 commits
  18. 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
  19. 12 Dec, 2013 1 commit
  20. 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
  21. 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
  22. 10 Apr, 2013 1 commit
    • Ying Wang's avatar
      Add liblog · 4e21482d
      Ying Wang authored
      Bug: 8580410
      Change-Id: Ie60dade81c06589cb0daee431611ded34adef8e6
      4e21482d
  23. 20 Feb, 2013 1 commit
  24. 16 Oct, 2012 1 commit
  25. 23 Aug, 2012 1 commit
  26. 14 Aug, 2012 2 commits
  27. 24 Jul, 2012 1 commit
  28. 21 Jul, 2012 1 commit
  29. 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
  30. 30 Mar, 2012 1 commit
  31. 31 Jan, 2012 1 commit
  32. 24 Jan, 2012 1 commit
  33. 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