1. 31 Jan, 2011 1 commit
    • Ken Sumrall's avatar
      Have vold grab a partial wakelock when encrypting · 5d4c68e4
      Ken Sumrall authored
      The Progress bar UI grabs a full wakelock when encrypting, but we've seen
      a case where it looks like the progress bar UI crashes, and the wakelock is
      lost, and then all hell breaks loose.  The enablecrypto command has a lot of
      work to do, and it will take some time, so it should grab a wakelock to
      ensure it can finish without being interrupted and put to sleep.
      
      It grabs a partial wake lock, as it doesn't need the screen to be on to do
      its work.  If the UI wants to keep it on, it should also grab a full wakelock,
      which it does.  If the UI crashes, the screen may turn off, but the encryption
      will keep going, and vold will reboot the device when it's done.
      
      Change-Id: I51d3a72b8c77383044a3facb1604c1ee510733ae
      5d4c68e4
  2. 29 Jan, 2011 1 commit
    • Ken Sumrall's avatar
      Don't try to encrypt in place a filesystem that is too large and return proper errors · 3ed8236d
      Ken Sumrall authored
      If the already existing filesystem encompasses the entire /data partition
      and does not leave the last 16 Kbytes for the crypto footer, refuse to
      do encrypt in place and return an error.  This is only an issue for folks
      with early development systems trying to encrypt an old /data.  This should
      not be seen in released devices.
      
      Also, if there is an error, try to report back to the UI what the error was
      so it can deal with it.
      
      Change-Id: If66781a4fe03034c96c3dd12075240deb8663db0
      3ed8236d
  3. 19 Dec, 2010 1 commit
    • Ken Sumrall's avatar
      Support for encrypting /data on Stingray. · 8f869aa1
      Ken Sumrall authored
      There are still a few hacks and performance issues related
      to shutting down the framework in this code, but it is
      functional and tested.  Without the UI changes, it requires
      cryptic adb shell commands to enable, which I shall not
      utter here.
      
      Change-Id: I0b8f90afd707e17fbdb0373d156236946633cf8b
      8f869aa1
  4. 21 Jun, 2010 1 commit
  5. 15 Mar, 2010 2 commits
  6. 14 Mar, 2010 1 commit
    • San Mehat's avatar
      vold: Bugfixes & cleanups · d9a4e358
      San Mehat authored
      
        - Fix issue where container-names > 64 bytes were getting truncated in the
          kernel. lo_name is only 64 bytes in length, so we now hash the container
          id via md5
        - Add 'dump' command to dump loop and devicemapper status
        - Add 'debug' command to enable more detailed logging at runtime
        - Log vold IPC arguments (minus encryption keys)
        - Fix premature return from Loop::lookupActive() and friends
      
      Change-Id: I0e833261a445ce9dc1a8187e5501d27daba1ca76
      Signed-off-by: default avatarSan Mehat <san@google.com>
      d9a4e358
  7. 10 Mar, 2010 1 commit
  8. 02 Mar, 2010 1 commit
  9. 18 Feb, 2010 1 commit
  10. 17 Feb, 2010 1 commit
  11. 11 Jan, 2010 1 commit
  12. 07 Jan, 2010 1 commit
  13. 06 Jan, 2010 1 commit
  14. 04 Jan, 2010 1 commit
  15. 03 Jan, 2010 1 commit
  16. 21 Dec, 2009 1 commit
  17. 19 Dec, 2009 1 commit
  18. 12 Oct, 2009 2 commits
  19. 11 Oct, 2009 1 commit