שלום,
אני מנסה לשים ROM כלשהו על טבלט האנדרואיד שלי.
מי שכתב את הרום הכין קובץ bat עם הפקודות לביצוע ההתקנה (flash) דרך fastboot.
השאלה שלי היא איך אני הופך את זה לסקריפט bash כדי שאוכל לבצע את ההתקנה דרך מחשב הלינוקס שלי.
להלן התוכן של קובץ הbat:
קוד: |
fastboot %* getvar product 2>&1 | findstr /r /c:"^product: *latte" || echo Missmatching image and device
fastboot %* getvar product 2>&1 | findstr /r /c:"^product: *latte" || exit /B 1
fastboot %* flash bootloader bootloader.img || exit /B 1
fastboot %* format cache
fastboot %* flash system system.img
fastboot %* flash boot boot.img
fastboot %* -w
fastboot %* reboot
|
תודה רבה