- 10 Mar, 2015 1 commit
-
-
Ying Wang authored
This eliminated the previous hack, that doesn't work reliably with the "LOCAL_REQUIRED_MODULES := mkfs.f2fs". Bug: 19666886 Change-Id: I1f0a2d41129f402c0165f3b86b6fda077291f282
-
- 19 Feb, 2015 2 commits
-
-
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
-
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
-
- 18 Feb, 2015 1 commit
-
-
Dan Albert authored
Bug: 17626262 Change-Id: If41031ba20a3a75fa510f155c654a482b47e409d
-
- 23 Jan, 2015 1 commit
-
-
Adam Langley authored
This include path was needed because system/vold/cryptfs.h included an OpenSSL header just to get the length of a SHA-256 hash. This has been fixed in https://android-review.googlesource.com/#/c/124477/1. Change-Id: I06a8ba0ee5b9efcc3260598f07d9819f065711de
-
- 25 Nov, 2014 1 commit
-
-
Dan Albert authored
Bug: 17626262 Change-Id: I8ce7cff2b7789f39f35a4211d7120d072c05a863
-
- 07 Nov, 2014 1 commit
-
-
Adrien Grassein authored
The cryptfs.h files is always included, but its path is only included when TARGET_USERIMAGES_USE_EXT4 is defined. Change-Id: Iec6aa4601a56a1feac456a21a53a08557dc1d00d
-
- 10 Jul, 2014 2 commits
-
-
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
-
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
-
- 18 Jun, 2014 1 commit
-
-
Ji-Hwan Lee authored
Instead of LOCAL_ADDITIONAL_DEPENDENCIES. Bug: 15702524 Change-Id: Ic152ae60354bf09eccdb9a85dcd04f0f076a6422
-
- 17 Jun, 2014 1 commit
-
-
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:
JP Abgrall <jpa@google.com>
-
- 11 Mar, 2014 3 commits
-
-
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
-
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
-
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
-
- 03 Mar, 2014 1 commit
-
-
Paul Lawrence authored
cryptfs.h now includes sha header from libcrypto folder Change-Id: Icd02c88971aedf96040c3bd9ca759e531546023b
-
- 13 Feb, 2014 2 commits
-
-
Doug Zongker authored
Change-Id: I1541534ee6978ddf8d548433986679ce9507d508
-
Doug Zongker authored
Older versions of android supported an ASLR system where binaries were randomly twiddled at OTA install time. Remove support for this; we now use the ASLR support in the linux kernel. Change-Id: I8348eb0d6424692668dc1a00e2416fbef6c158a2
-
- 16 Jan, 2014 2 commits
-
-
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
-
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
-
- 12 Dec, 2013 1 commit
-
-
Doug Zongker authored
This assumes that the metadata is correctly defined in fstab. Which apparently some devices don't do. Bug: 8766487 Bug: 12112624 Change-Id: I1b14b9d4c888e9348527984be3dce04bdd9f4de0
-
- 10 Oct, 2013 1 commit
-
-
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
-
- 04 Sep, 2013 1 commit
-
-
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
-
- 10 Apr, 2013 1 commit
-
-
Ying Wang authored
Bug: 8580410 Change-Id: Ie60dade81c06589cb0daee431611ded34adef8e6
-
- 20 Feb, 2013 1 commit
-
-
Ken Sumrall authored
Instead of reading it's own fstab, have recovery invoke fs_mgr to read the unified fstab. Change-Id: I80c75d2c53b809ac60a4a69f0ef7ebfa707c39e9
-
- 16 Oct, 2012 1 commit
-
-
Kenny Root authored
Change-Id: Ia96201f20f7838d7d9e8926208977d3f8318ced4
-
- 23 Aug, 2012 1 commit
-
-
Stephen Hines authored
Change-Id: I0bdc2df5ef358813587f613a1b50eaa850e95782
-
- 14 Aug, 2012 2 commits
-
-
Joe Onorato authored
Change-Id: I664f8dc7939f8f902e4775eaaf6476fcd4ab8ed2
-
Joe Onorato authored
Change-Id: I4154db066865d6031caa3c2c3b94064b2f28076e
-
- 24 Jul, 2012 1 commit
-
-
Joe Onorato authored
Change-Id: I664f8dc7939f8f902e4775eaaf6476fcd4ab8ed2
-
- 21 Jul, 2012 1 commit
-
-
Joe Onorato authored
Change-Id: I4154db066865d6031caa3c2c3b94064b2f28076e
-
- 18 Jul, 2012 1 commit
-
-
Colin Cross authored
libext4_utils requires libsparse, link against it as well. Change-Id: I4d6aec0e5edcf1ed42118b7b77adcded2858d3dd
-
- 30 Mar, 2012 1 commit
-
-
Stephen Smalley authored
Extend minzip, recovery, and updater to set the security context on files based on the file_contexts configuration included in the package. Change-Id: Ied379f266a16c64f2b4dca15dc39b98fcce16f29
-
- 31 Jan, 2012 1 commit
-
-
Elliott Hughes authored
Change-Id: I082995c338feaf5d11288300768624cd51b027a4
-
- 24 Jan, 2012 1 commit
-
-
Stephen Smalley authored
libext4_utils now calls libselinux in order to determine the file security context to set on files when creating ext4 images. Change-Id: I09fb9d563d22ee106bf100eacd4cd9c6300b1152
-
- 18 Jan, 2012 1 commit
-
-
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.
-
- 10 Jan, 2012 1 commit
-
-
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
-
- 04 Nov, 2011 1 commit
-
-
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
-
- 01 Nov, 2011 2 commits
-
-
Doug Zongker authored
Needs to link with libminui and ui.cpp now. Change-Id: I5005e12cf8adb13d320921e3f9174e8c7304d7bf
-
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
-
- 31 Oct, 2011 1 commit
-
-
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
-