-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.bat b/flash-all.bat new file mode 100755 index 0000000..f6b6b66 --- a/dev/null +++ b/flash-all.bat @@ -0,0 +1,29 @@ +@ECHO OFF +:: 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. + +PATH=%PATH%;"%SYSTEMROOT%\System32" +fastboot flash _aml_dtb dtb.img +fastboot flash bootloader u-boot.bin +fastboot reboot-bootloader +ping -n 5 127.0.0.1 >nul +fastboot flash odm odm.img +fastboot flash logo logo.img +fastboot reboot-bootloader +ping -n 5 127.0.0.1 >nul +fastboot -w update fastboot.zip + +echo Press any key to exit... +pause >nul +exit |