| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add an argument to accept an alternate filepath for the boot image
when using fastboot update. This lets the user skip the steps of
unzipping a release update.zip and manually flashing system, recovery
partitions etc from the zip file and their debuggable boot image
separately.
Example usage:
fastboot update -a boot-debuggable.img update.zip
Change-Id: Ic15e1aa271e19b7a61cb783c4ecf94fa4230507f
|
|
|
|
|
|
|
|
|
|
|
| |
Add a fastboot switch to reboot after finishing an operation. This
allows a user to do `fastboot flash system -R' and reboot the device
after the system partition flashes.
The existing reboot *command* cannot be conveniently chained with a
flash command the same way -w can be combined with flash[all].
Change-Id: I4e9f1e7b6336369bc35150f92ff9a56b3db2ef42
|
|
|
|
| |
Change-Id: I2fd8c26d1cd3f83d4ffa3de4b278797e265c1c49
|
|\
| |
| |
| |
| |
| | |
Android 6.0.0 release 26
Change-Id: I93d1e3767cbacab2b18cff360065c91b9eaf1d96
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
add the following commands:
flashing unlock_bootloader
flashing lock_bootloader
flashing get_unlock_bootloader_nonce
Change-Id: Ia4f56ebdcb6785a5196cc669d68da1553ed53c58
Signed-off-by: Patrick Tjin <pattjin@google.com>
|
| |
| |
| |
| | |
Change-Id: I30e03d3ad7c56febb1751edb35d49ce5c5068ed2
|
| |
| |
| |
| |
| |
| | |
Remove unneeded library linked
Change-Id: Ice26d83a73c59460d717340ca57ee898d002dc54
|
|/
|
|
|
|
|
| |
When doing fastboot -w on Darwin for f2fs partitions,
it only erase it without format it due to a flag not set in Android.mk
Change-Id: I642672467d68c75915900bb88c9aa86571140e03
|
|
|
|
|
|
|
|
|
|
| |
Windows' tmpfile(3) implementation requires administrator rights because
it creates temporary files in the root directory. Write an alternative
that uses the user's temporary directory instead.
Bug: http://b/21558406
Change-Id: Ic9aece5c69429797a332a97681a76b76ac3551bf
(cherry picked from commit a26fbeeaa4298ea3bb09c53bdaefb6d968c6b72f)
|
|
|
|
|
|
|
|
|
| |
unzip_to_file reports failures itself these days, so there's it's unhelpful
of the caller to just guess what might have gone wrong.
Bug: http://b/21558406
Change-Id: I1e3d06c6cf902b8c6ef333dc60fd8f49680a493b
(cherry picked from commit acdbe92c60e662a4913f1fca09c2b8913791376c)
|
|
|
|
|
|
| |
Bug: http://b/21558406
Change-Id: Id014399640865d889918661bae0161b3165eee48
(cherry picked from commit c0ce65f9613eefc7bb2b14daae395bde52339ab7)
|
|
|
|
|
|
|
|
|
| |
So bug reporters can actually tell us what they're running.
Bug: http://b/21558406
Bug: http://b/21583225
Change-Id: If2a4ae97b4792aa321566603ce2c354a72d32307
(cherry picked from commit 379646b2ca2cf681be3489eb74a421b3f8c80e26)
|
|
|
|
|
|
|
|
|
|
|
|
| |
We're already linking against libbase but we'll have to add
a libbase dependency to every target that includes libziparchive
as a STATIC_LIBRARY dependency, given that there's no way to
express that what we want (except by adding a LOCAL_WHOLE_STATIC_LIBRARY
dependency on libbase to libziparchive but that seems bad too)
Bug: http://b/21558406
Change-Id: I294ad389a9c61a1134a7bc323da25b0004a8f1e0
(cherry picked from commit e97e66ea7c624190afa4639d6ddc60e7d013f46c)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Commands added:
fastboot flashing lock
- Prevents flashing partitions
fastboot flashing unlock
- Enable user to flashing partitions
fastboot flashing lock_critical
- Prevents flashing bootloader related
paritions
fastboot flashing unlock_critical
- Enables user to flash bootloader
related partitions
fastboot flashing get_unlock_ability
- Query bootloader to check if device is
locked.
(cherry picked from commit bf11095f92c9278cb794a5336e1cce264f9b734d)
Change-Id: Id6db16ba32f7a2b1c3f041a76bd3bdf2d3ab471e
|
|
|
|
|
|
|
|
| |
Also add -Wunreachable-code to the set of compiler flags, otherwise
noreturn becomes considerably less useful.
bug: https://code.google.com/p/android/issues/detail?id=171099
Change-Id: I9a95d45633c731c7046d4e4a39844d9cebfd1718
|
|\
| |
| |
| |
| | |
* commit '10766eac61120732f11b82b1695207a3a5870a47':
Fix windows adb build
|
| |
| |
| |
| |
| |
| |
| | |
libc++ is not available on windows yet, but it already defaults to
static libstdc++.
Change-Id: I85a766ead84f71fe1f2f59be6ac739b0b833b6db
|
|\ \
| |/
| |
| |
| |
| |
| | |
fastboot against libc++"
* commit '48131449d6258e369e5afeb6c665cc6a343ca297':
statically link adb and fastboot against libc++
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
libc++.so is not widely available on the host, so we compile against
one built as part of the platform. This causes problems for adb and
fastboot, which are distributed through a number of channels - the
sdk, distro packages, downloaded from the build server, or manually
copied. Instead of forcing all users to handle libc++.so too,
statically link against libc++.
Change-Id: I51b75258653a23558c8b598802005f6c1166a439
|
|\ \
| |/
| |
| |
| |
| |
| | |
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.
|
| | |\ \ |
|