Created
January 27, 2018 04:52
-
-
Save npjohnson/5fdc9fe86fd88e5a495605670632c26f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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 xbl_a xbl.img | |
fastboot flash xbl_b xbl.img | |
fastboot flash abl_a abl.img | |
fastboot flash abl_b abl.img | |
fastboot flash cmnlib_a cmnlib.img | |
fastboot flash cmnlib_b cmnlib.img | |
fastboot flash cmnlib64_a cmnlib64.img | |
fastboot flash cmnlib64_b cmnlib64.img | |
fastboot flash keymaster_a keymaster.img | |
fastboot flash keymaster_b keymaster.img | |
fastboot flash rpm_a rpm.img | |
fastboot flash rpm_b rpm.img | |
fastboot flash pmic_a pmic.img | |
fastboot flash pmic_b pmic.img | |
fastboot flash hyp_a hyp.img | |
fastboot flash hyp_b pmic.img | |
fastboot flash devcfg_a devcfg.mbm | |
fastboot flash devcfg_b devcfg.mbm | |
fastboot flash storsec_a storsec.mbm | |
fastboot flash storsec_b storsec.mbm | |
fastboot flash prov_a prov64.mbm | |
fastboot flash prov_b prov64.mbm | |
fastboot reboot-bootloader | |
ping -n 5 127.0.0.1 >nul | |
fastboot flash modem_a NON-HLOS.bin | |
fastboot flash modem_b NON-HLOS.bin | |
fastboot flash fsg_a fsg.mbm | |
fastboot flash fsg_b fsg.mbm | |
fastboot erase modemst1 | |
fastboot erase modemst2 | |
fastboot reboot-bootloader | |
ping -n 5 127.0.0.1 >nul | |
fastboot flash bluetooth_a BTFM.bin | |
fastboot flash bluetooth_b BTFM.bin | |
fastboot flash dsp_a adspso.bin | |
fastboot flash dsp_b adspso.bin | |
fastboot flash boot_a boot.img | |
fastboot flash boot_b boot.img | |
fastboot flash dto_a dto.img | |
fastboot flash dto_b dto.img | |
fastboot flash system_a system.img | |
fastboot flash system_b system.img | |
fastboot flash oem_a oem.img | |
fastboot flash oem_b.img | |
fastboot erase carrier | |
fastboot erase cache | |
fastboot erase userdata | |
fastboot erase ddr | |
echo Press any key to exit... | |
pause >nul | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment