Badhri Jagan Sridharan
bf11095f92
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.
Change-Id: Id6db16ba32f7a2b1c3f041a76bd3bdf2d3ab471e
2015-05-15 18:00:50 -07:00
Mohamad Ayyash
80cc1f6864
Add verbose param to sparse_file_import_auto
...
Change-Id: I0c5607f7aa5e964abc2031bbe71ff5c6e6ef56cc
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2015-03-31 12:09:37 -07:00
Elliott Hughes
a82c89da1f
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
2015-03-19 11:44:32 -07:00
Elliott Hughes
7c6d884e2b
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
2015-03-19 10:30:53 -07:00
Elliott Hughes
d30ad8a2ee
Switch fastboot to libziparchive.
...
Bug: 19765860
Change-Id: I83ea56e3b317893995d7106852b65584f99c0e64
2015-03-18 23:23:11 -07:00
Elliott Hughes
253c18d2fb
Prepare for switching to libziparchive.
...
Bug: 19765860
Change-Id: I58249d28fbc4975428d0dcac5107d1994c35676c
2015-03-18 22:47:54 -07:00