test lab session. It puts a device into bootloader mode, reboots into bootloader mode, determines device type, erases user cache, flashes a generic userdata image, updates the boot image, updates the radio image, updates the system image and reboots, sets up for a monkey run and finally runs a random monkey test. It will repeat this based on an optional parameter(-i) or default to 100 times. It will detect if it is in a low battery situation and wait for it to charge again. Adding custom flash files for use with nexusone and sholes. Updating files with review changes Removing some trailing spaces and fixing a few typos. Fixed some additional items and changed some of the naming Fixed a comparison that wasn't correct removed a default bootpart name, now needs to be added custom_flash.sh missing exit added edited README for typos and wordage. Change-Id: Ie7dc2139823304ce11b10b6fd65997cf311a2e9c
9 lines
165 B
Bash
9 lines
165 B
Bash
#!/bin/bash
|
|
#
|
|
# Copyright 2010 Google Inc. All Rights Reserved.
|
|
# Author: bgay@google.com (Bruce Gay)
|
|
#
|
|
# used for flashing boot image on nexusone
|
|
|
|
bootpart='hboot'
|