History log of /system/core/fastboot/fastboot.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
51e8b03f840f611ec7ca9f536e212d40b1b5c4e9 01-Sep-2015 Patrick Tjin <pattjin@google.com> fastboot: add flashing bootloader commands

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>
/system/core/fastboot/fastboot.cpp
8bdd4bbc1cca8b61eb3f2c8dd0335735fc84f4b0 04-Jun-2015 Elliott Hughes <enh@google.com> Add a working Windows tmpfile(3) to fastboot.

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)
/system/core/fastboot/fastboot.cpp
966339b2d60c0721a6ec9ebd541e291b1b4c34df 03-Jun-2015 Elliott Hughes <enh@google.com> Don't say "update package missing" unless we mean it.

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)
/system/core/fastboot/fastboot.cpp
c688c23286f40309e5af1f7f91d6d6f1de3f7749 02-Jun-2015 Elliott Hughes <enh@google.com> 'usb' doesn't need to be global in fastboot.

Bug: http://b/21558406
Change-Id: Id014399640865d889918661bae0161b3165eee48
(cherry picked from commit c0ce65f9613eefc7bb2b14daae395bde52339ab7)
/system/core/fastboot/fastboot.cpp
e283ca29c53817091a17f44b7c93ba6d6362fd38 02-Jun-2015 Elliott Hughes <enh@google.com> Add "fastboot --version".

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)
/system/core/fastboot/fastboot.cpp
a873e1dc0280f5d21384ec03ba812f4336c5dec5 16-May-2015 Badhri Jagan Sridharan <Badhri@google.com> fastboot: Add support for fastboot flashing commands

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
/system/core/fastboot/fastboot.cpp
241bcf05e0e394bbf2681f359f52646dd6c707f6 11-May-2015 Narayan Kamath <narayan@google.com> Fix file descriptor leak when opening invalid archives.

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
/system/core/fastboot/fastboot.cpp
94cd52391c2332030046ea9531c9a826ba6f68e6 01-Apr-2015 Mohamad Ayyash <mkayyash@google.com> am a15881a9: am ed926596: am 6900d34e: Merge "Add verbose param to sparse_file_import_auto"

* commit 'a15881a9e9d2951eda7a7a85fbaadd93bfb9da9b':
Add verbose param to sparse_file_import_auto
80cc1f6864288f166b786a61ad57f12081114225 31-Mar-2015 Mohamad Ayyash <mkayyash@google.com> Add verbose param to sparse_file_import_auto

Change-Id: I0c5607f7aa5e964abc2031bbe71ff5c6e6ef56cc
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
/system/core/fastboot/fastboot.cpp
5b40fcbd1dbac7e9d0534154265230ba87dfb39e 19-Mar-2015 Elliott Hughes <enh@google.com> am a782173a: am 261a82a6: Merge "Switch fastboot to ExtractEntryToFile."

* commit 'a782173a26f192fe9f51e1ee53e8d329501df409':
Switch fastboot to ExtractEntryToFile.
a82c89da1f8daa55698ce5cd0c79899b7172d8cf 19-Mar-2015 Elliott Hughes <enh@google.com> 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
/system/core/fastboot/fastboot.cpp
ddaabcf22f678abb3f949667cac458935eb17941 19-Mar-2015 Elliott Hughes <enh@google.com> am 41233fcc: am 294d3f74: Merge "Remove a prehistoric fastboot hack."

* commit '41233fcc35ce8c5efa06348f013c31072505229b':
Remove a prehistoric fastboot hack.
787ed98d683cd16faa5d87bb4a4137cc0cb0eff4 19-Mar-2015 Elliott Hughes <enh@google.com> am f99e47a0: am 445e5ede: Merge "Switch fastboot to libziparchive."

* commit 'f99e47a0a0604aef2f3b1d07953d5f220662353c':
Switch fastboot to libziparchive.
7c6d884e2b4d48716f6d9403234403b8c101fb58 19-Mar-2015 Elliott Hughes <enh@google.com> 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
/system/core/fastboot/fastboot.cpp
b7ca152be014c8332306a2bf0f46941ff8f88bb2 19-Mar-2015 Elliott Hughes <enh@google.com> am 8e70f63a: am 57bf3109: Merge "Prepare for switching to libziparchive."

* commit '8e70f63aba8e14f3b40b2a0769522505c1019c33':
Prepare for switching to libziparchive.
d30ad8a2eeefc382e898f2130d0be9461eed0bd9 19-Mar-2015 Elliott Hughes <enh@google.com> Switch fastboot to libziparchive.

Bug: 19765860
Change-Id: I83ea56e3b317893995d7106852b65584f99c0e64
/system/core/fastboot/fastboot.cpp
253c18d2fbab6c16886af8bdfd528df3ebf82b93 19-Mar-2015 Elliott Hughes <enh@google.com> Prepare for switching to libziparchive.

Bug: 19765860
Change-Id: I58249d28fbc4975428d0dcac5107d1994c35676c
/system/core/fastboot/fastboot.cpp