The document contains instructions for updating the bootloader, radio, and system image on an Android device using fastboot commands. It checks the fastboot version, flashes the bootloader and radio images, and updates the system image.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
48 views1 page
Flash-All SH
The document contains instructions for updating the bootloader, radio, and system image on an Android device using fastboot commands. It checks the fastboot version, flashes the bootloader and radio images, and updates the system image.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1
#!
/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.
if ! [ $($(which fastboot) --version | grep "version" | cut -c18-23 | sed 's/\.//g'
) -ge 3301 ]; then echo "fastboot too old; please download the latest version at https://developer.android.com/studio/releases/platform-tools.html" exit 1 fi fastboot flash bootloader bootloader-raven-slider-1.3-10780582.img fastboot reboot-bootloader sleep 5 fastboot flash radio radio-raven-g5123b-125137-231014-b-10950115.img fastboot reboot-bootloader sleep 5 fastboot update image-raven-uq1a.240105.002.zip