-rw-r--r-- | factory.mk | 34 | ||||
-rwxr-xr-x | flash-all.bat | 29 | ||||
-rwxr-xr-x | flash-all.sh | 25 |
3 files changed, 81 insertions, 7 deletions
diff --git a/flash-all.sh b/flash-all.sh new file mode 100755 index 0000000..5b2eedd --- a/dev/null +++ b/flash-all.sh @@ -0,0 +1,25 @@ +#!/bin/sh + +# Copyright 2012 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +fastboot flash _aml_dtb dtb.img +fastboot flash bootloader u-boot.bin +fastboot reboot-bootloader +sleep 5 +fastboot flash odm odm.img +fastboot flash logo logo.img +fastboot reboot-bootloader +sleep 5 +fastboot -w update fastboot.zip |