/development/python-packages/fastboot/ |
README.md | 1 This library provides access to the fastboot utility. 2 For fastboot bootloader tests, see platform/system/extra/tests/bootloader
|
setup.py | 20 name='fastboot', 22 description='A Python interface to the Fastboot utility.', 24 keywords='fastboot android', 25 package_dir={'fastboot': ''}, 26 packages=['fastboot'],
|
/device/linaro/hikey/installer/hikey960/ |
flash-all.sh | 18 fastboot flash xloader "${INSTALLER_DIR}"/hisi-sec_xloader.img 19 fastboot flash ptable "${INSTALLER_DIR}"/hisi-ptable.img 20 fastboot flash fastboot "${INSTALLER_DIR}"/hisi-fastboot.img 21 fastboot reboot-bootloader 22 fastboot flash nvme "${INSTALLER_DIR}"/nvme.img 23 fastboot flash fw_lpm3 "${INSTALLER_DIR}"/lpm3.img 24 fastboot flash trustfirmware "${INSTALLER_DIR}"/bl31.bin 25 fastboot flash boot "${ANDROID_PRODUCT_OUT}"/boot.im [all...] |
/external/chromium-trace/catapult/devil/devil/android/ |
fastboot_utils_test.py | 21 from devil.android.sdk import fastboot 62 fastbooter = mock.Mock(spec=fastboot.Fastboot) 81 self.fastboot = fastboot_utils.FastbootUtils( 84 self.fastboot._board = _BOARD 110 self.fastboot.WaitForFastbootMode() 117 self.call.fastboot._device.EnableRoot(), 118 self.call.fastboot._device.adb.Reboot(to_bootloader=True), 119 self.call.fastboot.WaitForFastbootMode()): 120 self.fastboot.EnableFastbootMode( [all...] |
fastboot_utils.py | 5 """Provides a variety of device interactions based on fastboot.""" 17 from devil.android.sdk import fastboot 82 fastboot = fastboot_utils.FastbootUtils(device) 83 fastboot.FlashDevice('/path/to/build/directory') 87 fastbooter: Optional fastboot object. If none is passed, one will 100 self.fastboot = fastbooter 102 self.fastboot = fastboot.Fastboot(self._serial) 106 """Wait for device to boot into fastboot mode [all...] |
/external/libmojo/third_party/catapult/devil/devil/android/ |
fastboot_utils_test.py | 21 from devil.android.sdk import fastboot 62 fastbooter = mock.Mock(spec=fastboot.Fastboot) 81 self.fastboot = fastboot_utils.FastbootUtils( 84 self.fastboot._board = _BOARD 110 self.fastboot.WaitForFastbootMode() 117 self.call.fastboot._device.EnableRoot(), 118 self.call.fastboot._device.adb.Reboot(to_bootloader=True), 119 self.call.fastboot.WaitForFastbootMode()): 120 self.fastboot.EnableFastbootMode( [all...] |
fastboot_utils.py | 5 """Provides a variety of device interactions based on fastboot.""" 17 from devil.android.sdk import fastboot 80 fastboot = fastboot_utils.FastbootUtils(device) 81 fastboot.FlashDevice('/path/to/build/directory') 85 fastbooter: Optional fastboot object. If none is passed, one will 98 self.fastboot = fastbooter 100 self.fastboot = fastboot.Fastboot(self._serial) 104 """Wait for device to boot into fastboot mode [all...] |
/development/gsi/gsi_util/gsi_util/utils/ |
fastboot_utils.py | 15 """Fastboot-related commands.""" 21 """fastboot flash a partition with a given image.""" 23 cmd = ['fastboot', 'flash', partition_name] 25 # image_name can be None, for `fastboot` to flash 34 """fastboot erase a partition.""" 37 run_command(['fastboot', '-w'], raise_on_error=not allow_error) 39 run_command(['fastboot', 'erase', partition_name], 44 """fastboot reboot a device.""" 45 run_command(['fastboot', 'reboot'], raise_on_error=False)
|
/external/autotest/server/site_tests/firmware_FastbootReboot/ |
firmware_FastbootReboot.py | 14 Reboot testing through Fastboot. 16 fastboot reboot 17 fastboot reboot-bootloader 28 # make sure that we're in fastboot mode 30 'fastboot devices') 46 raise error.TestFail("DUT not in fastboot mode!") 49 logging.info("Testing fastboot reboot") 50 self.faft_client.host.run_shell_command('fastboot reboot') 55 # now reboot into fastboot again 61 raise error.TestFail("DUT not in fastboot mode!" [all...] |
/device/linaro/hikey/installer/hikey/ |
flash-all.sh | 66 serialno=`fastboot getvar serialno 2>&1 > /dev/null` 68 fastboot oem serialno 71 fastboot oem serialno 74 fastboot flash ptable "${INSTALLER_DIR}"/"${PTABLE}" 75 fastboot flash fastboot "${FIRMWARE_DIR}"/fip.bin 76 fastboot flash nvme "${INSTALLER_DIR}"/nvme.img 77 fastboot flash boot "${OUT_IMGDIR}"/boot.img 78 fastboot flash system "${OUT_IMGDIR}"/system.img 79 fastboot flash cache "${OUT_IMGDIR}"/cache.im [all...] |
/external/toolchain-utils/binary_search_tool/android/ |
test_setup.sh | 8 # bootloader mode and fastboot is used to flash the new image. The device is 24 echo " 1. Boot your device into fastboot mode." 28 echo " 4. Run '${ADB_DEVICE}fastboot flashall -w'" 46 echo "Please ensure your Android device is on and in fastboot mode so" 47 echo "fastboot flash may run." 52 echo " ${ADB_DEVICE}fastboot flashall -w" 53 fastboot flashall -w 60 echo "Rebooting device into fastboot mode." 65 echo "Waiting for device to reach fastboot mode." 67 # fastboot will block indefinitely until device comes online [all...] |
/tools/tradefederation/core/src/com/android/tradefed/device/ |
FastbootHelper.java | 30 * A helper class for fastboot operations. 34 /** max wait time in ms for fastboot devices command to complete */ 38 private String mFastbootPath = "fastboot"; 50 throw new IllegalArgumentException("fastboot cannot be null or empty"); 57 * Determine if fastboot is available for use. 60 // Run "fastboot help" to check the existence and the version of fastboot 67 fastbootResult.getStderr().indexOf("usage: fastboot") >= 0) { 69 "You are running an older version of fastboot, please update it."); 72 CLog.d("fastboot not available. stdout: %s, stderr: %s" [all...] |
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
fastboot.py | 5 """This module wraps Android's fastboot tool. 7 This is a thin wrapper around the fastboot interface. Any additional complexity 23 class Fastboot(object): 26 lambda: devil_env.config.FetchPath('fastboot')) 46 """Run a generic fastboot command. 68 """Run a fastboot command on the device associated with this object. 96 """Outputs list of devices in fastboot mode. 99 List of Fastboot objects, one for each device in fastboot. 102 return [Fastboot(line.split()[0]) for line in output.splitlines() [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
FastbootHelperTest.java | 44 mFastbootHelper = new FastbootHelper(mMockRunUtil, "fastboot"); 48 * Verify the 'fastboot devices' output parsing 52 "04035EEB0B01F01C fastboot\n" + 53 "HT99PP800024 fastboot\n" + 54 "???????????? fastboot"); 61 * Verify 'fastboot devices' parsing with hyphenated serial number. 65 "Foo-Bar123 fastboot"); 71 * Verify the 'fastboot devices' output parsing when empty 98 assertEquals("fastboot cannot be null or empty", expected.getMessage()); 104 assertEquals("fastboot cannot be null or empty", expected.getMessage()) [all...] |
/test/vts/utils/python/controllers/ |
fastboot.py | 22 This is fastboot's own exe_cmd because of its peculiar way of writing 43 """Raised when there is an error in fastboot operations.""" 47 """Proxy class for fastboot. 49 For syntactic reasons, the '-' in fastboot commands need to be replaced 50 with '_'. Can directly execute fastboot commands on an object: 52 >> fb.devices() # will return the console output of "fastboot devices". 58 self.fastboot_str = "fastboot -s {}".format(serial) 60 self.fastboot_str = "fastboot"
|
/tools/test/connectivity/tools/lab/tests/ |
process_time_metric_test.py | 26 fake_pids = {'adb': ['123', '456', '789'], 'fastboot': []} 32 fake_pids = {'adb': [], 'fastboot': ['123', '456', '789']} 37 fake_pids['fastboot']) 42 'fastboot': ['123', '456', '789'] 47 fake_pids['adb'] + fake_pids['fastboot']) 52 fake.FakeResult(stdout='232893 fastboot -s FA6BM0305019 -w') 54 fake_pids = {'adb': ['123'], 'fastboot': ['456']} 77 fake_pids = {'adb': ['123', '456', '789'], 'fastboot': []}
|
/system/iot/attestation/at-factory-tool/ |
fastbootsh.py | 17 """Fastboot Interface Implementation using sh library.""" 37 """An abstracted fastboot device object. 40 serial_number: The serial number of the fastboot device. 43 fastboot_command = sh.Command(os.path.join(current_path, 'fastboot')) 48 """List all fastboot devices. 51 A list of serial numbers for all the fastboot devices. 62 """Initiate the fastboot device object. 65 serial_number: The serial number of the fastboot device. 68 # Lock to make sure only one fastboot command can be issued to one device 73 """Reboot the device into fastboot mode [all...] |
fastbootsubp.py | 16 """Fastboot Interface Implementation using subprocess library.""" 38 """An abstracted fastboot device object. 41 serial_number: The serial number of the fastboot device. 45 fastboot_command = os.path.join(current_path, 'fastboot.exe') 50 """List all fastboot devices. 53 A list of serial numbers for all the fastboot devices. 67 """Initiate the fastboot device object. 70 serial_number: The serial number of the fastboot device. 73 # Lock to make sure only one fastboot command can be issued to one device 78 """Reboot the device into fastboot mode [all...] |
/device/google/wahoo/lisa/ |
update-script.sh | 31 # wait for device to enter fastboot, max wait is 200secs 35 if [ -n "`fastboot devices`" ]; then 47 echo "==========Rebooting the device into fastboot==========" 51 echo "==========Waiting for device to enter fastboot==========" 54 if [ -z "`fastboot devices`" ]; then 55 echo "==========Device failed to enter fastboot==========" 62 fastboot flash vbmeta 63 fastboot flash vendor 64 fastboot flash boot 65 fastboot reboo [all...] |
/device/common/ |
generate-factory-images-common.sh | 104 if ! grep -q dtbo.sig \$(which fastboot); then 105 echo "fastboot too old" 112 fastboot oem unlock 118 fastboot erase boot 119 fastboot erase cache 120 fastboot erase recovery 121 fastboot erase system 122 fastboot erase userdata 128 fastboot flash xloader xloader-$DEVICE-$XLOADER.img 132 fastboot flash bootloader bootloader-$DEVICE-$BOOTLOADER.im [all...] |
/device/linaro/hikey/factory-images/ |
generate-factory-images-hikey960.sh | 36 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/hisi-fastboot.img tmp/$PRODUCT-$VERSION/ 49 # XXX hikey960's fastboot update currently doesn't format cache/userdata, so do it manually 75 fastboot flash xloader sec_xloader.img 76 fastboot flash ptable ptable.img 77 fastboot flash fastboot fastboot.img 78 fastboot reboot-bootloader 79 fastboot flash nvme nvme.img 80 fastboot flash fw_lpm3 lpm3.im [all...] |
/external/libmojo/third_party/catapult/devil/devil/android/sdk/ |
fastboot.py | 5 """This module wraps Android's fastboot tool. 7 This is a thin wrapper around the fastboot interface. Any additional complexity 25 class Fastboot(object): 28 devil_env.config.LocalPath('android_sdk'), 'platform-tools', 'fastboot')) 44 """Run a command line command using the fastboot android tool. 78 """Outputs list of devices in fastboot mode.""" 84 """Reboot from fastboot, into fastboot.""" 89 """Reboot from fastboot to normal usage"""
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
fastboot.py | 23 """Raised when there is an error in fastboot operations.""" 32 return ("Error executing fastboot cmd '%s'. ret: %d, stdout: %s," 38 """Proxy class for fastboot. 40 For syntactic reasons, the '-' in fastboot commands need to be replaced 41 with '_'. Can directly execute fastboot commands on an object: 43 >> fb.devices() # will return the console output of "fastboot devices". 49 self.fastboot_str = "fastboot -s {}".format(serial) 51 self.fastboot_str = "fastboot" 68 # fastboot getvar outputs to stderr instead of stdout
|
/system/extras/tests/bootloader/ |
bootloadertest.py | 19 import fastboot 29 cls.fastboot = fastboot.FastbootDevice() 54 val = self.fastboot.getvar(varname) 82 val = self.fastboot.getvar("slot-count") 96 var_all = self.fastboot.getvar_all() 136 self.assertIsNone(self.fastboot.getvar("fhqwhgads")) 181 self.fastboot.set_active(slot) 182 self.assertEqual(slot, self.fastboot.getvar("current-slot")) 183 self.assertEqual("no", self.fastboot.getvar("slot-unbootable:"+slot) [all...] |
/device/linaro/hikey/hikey960/ |
README | 18 Enter fastboot mode by turning ON switch 1 and 3 22 $ fastboot flash boot out/target/product/hikey960/boot.img 23 $ fastboot flash dts out/target/product/hikey960/dt.img 24 $ fastboot flash system out/target/product/hikey960/system.img 25 $ fastboot flash cache out/target/product/hikey960/cache.img 26 $ fastboot flash userdata out/target/product/hikey960/userdata.img
|