Created
March 9, 2024 07:39
-
-
Save jacobabrahamb4/9b1340e2832a6f9585c7214d0976b7fc to your computer and use it in GitHub Desktop.
Android AOSP flash.sh
This file contains hidden or 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
#!/bin/bash | |
#sudo ./adb kill-server | |
#sleep 2 | |
#sudo ./adb start-server | |
#sleep 3 | |
#sudo ./adb root | |
#sudo ./adb remount | |
sudo adb devices | |
sudo adb reboot-bootloader | |
sleep 3 | |
sudo fastboot devices | |
#sudo fastboot flash sbl1 sbl1.mbn | |
#sudo fastboot flash rpm rpm.mbn | |
#sudo fastboot flash tz tz.mbn | |
#sudo fastboot flash sdi sdi.mbn | |
#sudo fastboot flash modem NON-HLOS.bin | |
sudo fastboot flash system system.img | |
sudo fastboot flash userdata userdata.img | |
sudo fastboot flash boot boot.img | |
sudo fastboot flash cache cache.img | |
#sudo fastboot flash recovery recovery.img | |
#sudo fastboot flash persist persist.img | |
#sudo fastboot flash aboot emmc_appsboot.mbn | |
sleep 3 | |
sudo fastboot reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment