| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
sparse_file_import_auto"
* commit 'a15881a9e9d2951eda7a7a85fbaadd93bfb9da9b':
Add verbose param to sparse_file_import_auto
|
| |
| |
| |
| |
| | |
Change-Id: I0c5607f7aa5e964abc2031bbe71ff5c6e6ef56cc
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
|
|\ \
| |/
| |
| |
| | |
* commit '369aa9e90d741545a7a639f7f0f4cd265faf252e':
fastboot/sparse: propagate error code
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
sparse_file_write_block calls functions that might failed. This patch
makes sparse_file_write_block catch the error code and propagate it.
Without this patch, fastboot crashes on a segmentation fault if
usb_write() fail during a sparse file image flashing.
Change-Id: If9c0e8dfac8fa380628a2504e13abe8cf7d62726
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'a782173a26f192fe9f51e1ee53e8d329501df409':
Switch fastboot to ExtractEntryToFile.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Rather than malloc, ExtractToMemory, and write.
Also fix the tmpfile error check (tmpfile returns NULL on failure),
and improve error reporting.
Bug: 19765860
Change-Id: I236923e883128083377607f1519bb2e27b8f03f8
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '41233fcc35ce8c5efa06348f013c31072505229b':
Remove a prehistoric fastboot hack.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If you don't have android-info.txt in your zip file, you're probably
not using a current fastboot binary anyway.
Change-Id: Ic721dc5f068f704c6792493d1e99f05f907678ba
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'f99e47a0a0604aef2f3b1d07953d5f220662353c':
Switch fastboot to libziparchive.
|
| | |
| | |
| | |
| | |
| | | |
Bug: 19765860
Change-Id: I83ea56e3b317893995d7106852b65584f99c0e64
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '8e70f63aba8e14f3b40b2a0769522505c1019c33':
Prepare for switching to libziparchive.
|
| |/
| |
| |
| |
| | |
Bug: 19765860
Change-Id: I58249d28fbc4975428d0dcac5107d1994c35676c
|
|\ \
| |/
| |
| |
| |
| |
| | |
bootloader"."
* commit '0beef09b1c10ca7d1699078f7b9f2e0912854160':
Support "fastboot reboot bootloader".
|
| |
| |
| |
| |
| |
| |
| | |
This matches the more general adb syntax, though the fastboot
protocol doesn't support rebooting into the recovery image.
Change-Id: I6d93d4c63d4a9b81c71e681e7a7bf76867fba019
|
|\ \
| |/
| |
| | |
Change-Id: If7ffc80560a807cb8e4338d42bec454f567fd9ad
|
| |
| |
| |
| |
| | |
Bug: 18571533
Change-Id: I4214f9236f80629152d969a6ee9fce489079cefa
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Many of the windows files where not including stdlib.h even though they
are using malloc/free calls.
(cherry-pick of ae7bf0959bd3f79afbf365e41f015ed1c304afdc.)
Change-Id: If6959df9909d9d9928e9f4a2a96018166361cf3c
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
devices on Linux"
* commit '7da97265e596fc1bb112a4b2aa939057fef18fcb':
fastboot: Support USB 3.x SuperSpeed devices on Linux
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit 'ab0d542506b5fdbcc431ba2606248471d22322ba':
fastboot: Support USB 3.x SuperSpeed devices on Linux
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When enumerating USB 3.x devices, an extra 6-byte SuperSpeed
companion descriptor follows each standard endpoint descriptor.
The loop parsing the descriptors will stumble if they're not
handled. Since they're not needed once the bulk endpoints are
identified, we can simply skip over them.
Change-Id: I7e73bcf9135f23c3059cd7c55b432557b28cb6ef
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
protocol buffer size to 1024"
* commit 'ad32ebecc9a0d781f66f39f467be0b30cc05f65b':
system: core: fastboot: Increase USB protocol buffer size to 1024
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
size to 1024"
* commit '971336213a32e5f3841bc22413632e0108f1c9e2':
system: core: fastboot: Increase USB protocol buffer size to 1024
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
With USB3.0 SS support the max packet size supported by USB protocol
is 1024 bytes. When connected to a USB device in SuperSpeed, if only
512 bytes are sent at a time the device would interpret each transfer
as a short packet and slows down overall throughput. To accommodate
for SuperSpeed USB bulk endpoints, increase the buffer size to 1024.
Change-Id: I4f447fe38045bc0008e2d6dd3f36c2d6819d6c15
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit 'fafbd329cb1685dc91172230a0671175e80ca8b3':
Clarify the strcmp() with the empty string.
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* commit 'ba1552bd2438a8a47779ed3d05d5ce15bfb5741c':
Clarify the strcmp() with the empty string.
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ie246b3c2de3f19b95693f634b0ebd46bdcf3962b
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '8d49c8b0bfdc7bed855acec603bacc355b5bcb8c':
Fix incorrect path name check.
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* commit 'f66486ef09bfc53da65ca6b4137c47d583f31356':
Fix incorrect path name check.
|
| | |\ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This was caught by clang 3.6's -Wpointer-bool-conversion. The device_path
field is a char[256], and thus never NULL. The intention for this code was
to check whether or not there is a named path at all. Checking whether this
is an empty string matches the original intent.
Change-Id: I5ccedc03167e6a457e472089de26130aff7f96e3
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
stderr/stdout"
* commit '87fdfc718e9eccdd9c40e7bca7a48af40b6bf732':
fastboot: add parameter for unbuffered stderr/stdout
|
| |\ \ \ \
| | |/ / /
| | | | |
| | | | |
| | | | | |
* commit 'cb321921fe04f6ccaeb56c4bf3e8965ee4764738':
fastboot: add parameter for unbuffered stderr/stdout
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is useful for writing Windows GUIs that want to parse the output of
fastboot before it exits.
Change-Id: Ic0171fe379fc4db7b65b1501e5f2e771ac7c62c4
Signed-off-by: Florian Bäuerle <florian.bae@gmail.com>
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit '542324f4b48897d40adb010afc440261c599633d':
Remove explict use of ASCII encoding
|
| |\ \ \ \
| | |/ / /
| | | | |
| | | | |
| | | | | |
* commit '0750f78659758352490e599d057a39dc44e93340':
Remove explict use of ASCII encoding
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Replace the use of CFStringGetCString with kCFStringEncodingASCII specified
with CFStringGetFileSystemRepresentation which will ensure the correct
character encoding is used to conver the CFString into a NULL terminated
char array suitable for use with POSIX APIs.
Change-Id: Ibab1dc05c4f4db8604d329a493b4241992b8e69d
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
without"
* commit '4c2aec09cf2da437f3995ff4cac87e4c20d1d4b0':
Return path including executable instead of without
|
| |\ \ \ \
| | |/ / /
| | | | |
| | | | |
| | | | | |
* commit 'aa3e17e1b685218cddeb7a05e68ff1721a322147':
Return path including executable instead of without
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The previous implementation returned the path the executable was in instead
of returning the path including the executable (i.e. it returned ...bin
instead of ...bin/executable). This is not what the original methods did
and caused the process forking of adb to fail.
This patch corrects the implementation.
Change-Id: Ib58497cab35706041f170c1bc97c31fd5d965f90
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
and OS X."
* commit '2097e9a1491e850545cd0c38522c22dafd2cf6af':
Fix building on modern versions of Xcode and OS X.
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* commit '20860a28c5be013da111cb794c92dae02aa30089':
Fix building on modern versions of Xcode and OS X.
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Recent versions of XCode fail to compile the adb and fastboot binaries due to
two functions being deprecated in 10.9 (GetCurrentProcess and
ProcessInformationCopyDictionary), and the use of -Werrror.
This patch replaces the method implementations which use calls to methods
deprecated in the 10.9 SDK with versions which only call non-deprecated methods.
Change-Id: I855bf26aff45093ca9022924f3ecd1b80f2305a8
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
into lmp-dev
* commit '64f44b8444dabd69cf391d42e10d44e8e926a79d':
Remove obsolete reference to ddk; Fixes for -Werror
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit 'ae7bf0959bd3f79afbf365e41f015ed1c304afdc':
Fix adb/fastboot windows compilations.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Many of the windows files where not including stdlib.h even though they
are using malloc/free calls.
Change-Id: If6959df9909d9d9928e9f4a2a96018166361cf3c
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
ddk; Fixes for -Werror" into lmp-dev
* commit 'f9d61a007426f47337f9842930b15c2160281c58':
Remove obsolete reference to ddk; Fixes for -Werror
|
| |\ \ \
| | | |/
| | |/|
| | | |
| | | |
| | | |
| | | | |
-Werror" into lmp-dev
* commit '4acabfee9e00962be02d06a6771da2e7ade20859':
Remove obsolete reference to ddk; Fixes for -Werror
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 14416410
1. The new mingw-w64 toolchain x86_64-w64-mingw32-4.8 has ddk
in x86_64-w64-mingw32/include/ddk
2. Add -Wno-error=cpp to suppress a warning that turns into error
thanks to -Werror:
Please include winsock2.h before windows.h
3. Cast GetLastError() return type DWORD to "int"
4. Include direct.h for _mkdir
5. Include stdint.h for uint8_t on Windows
Change-Id: I4bec0587f6573692f08c760da6c98ae551b8b5eb
|