1
|
#!/bin/bash
|
2
|
|
3
|
git clone https://code.fossencdi.org/i9300_proprietary_firmwares.git
|
4
|
cd i9300_proprietary_firmwares
|
5
|
|
6
|
adb root
|
7
|
adb remount
|
8
|
adb shell mkdir /system/vendor/firmware
|
9
|
adb shell chmod 755 /system/vendor/firmware
|
10
|
|
11
|
adb push firmware/bcm4334.hcd /system/vendor/firmware/bcm4334.hcd
|
12
|
adb push firmware/bcm4334_murata.hcd /system/vendor/firmware/bcm4334_murata.hcd
|
13
|
adb push firmware/bcm4334_semcosh.hcd /system/vendor/firmware/bcm4334_semcosh.hcd
|
14
|
adb push firmware/bcmdhd_apsta.bin_b1 /system/vendor/firmware/bcmdhd_apsta.bin_b1
|
15
|
adb push firmware/bcmdhd_apsta.bin_b2 /system/vendor/firmware/bcmdhd_apsta.bin_b2
|
16
|
adb push firmware/bcmdhd_mfg.bin_b0 /system/vendor/firmware/bcmdhd_mfg.bin_b0
|
17
|
adb push firmware/bcmdhd_mfg.bin_b1 /system/vendor/firmware/bcmdhd_mfg.bin_b1
|
18
|
adb push firmware/bcmdhd_mfg.bin_b2 /system/vendor/firmware/bcmdhd_mfg.bin_b2
|
19
|
adb push firmware/bcmdhd_p2p.bin_b0 /system/vendor/firmware/bcmdhd_p2p.bin_b0
|
20
|
adb push firmware/bcmdhd_p2p.bin_b1 /system/vendor/firmware/bcmdhd_p2p.bin_b1
|
21
|
adb push firmware/bcmdhd_p2p.bin_b2 /system/vendor/firmware/bcmdhd_p2p.bin_b2
|
22
|
adb push firmware/bcmdhd_sta.bin_b0 /system/vendor/firmware/bcmdhd_sta.bin_b0
|
23
|
adb push firmware/bcmdhd_sta.bin_b1 /system/vendor/firmware/bcmdhd_sta.bin_b1
|
24
|
adb push firmware/bcmdhd_sta.bin_b2 /system/vendor/firmware/bcmdhd_sta.bin_b2
|
25
|
adb push firmware/nvram_mfg.txt /system/vendor/firmware/nvram_mfg.txt
|
26
|
adb push firmware/nvram_mfg.txt_murata /system/vendor/firmware/nvram_mfg.txt_murata
|
27
|
adb push firmware/nvram_mfg.txt_murata_b2 /system/vendor/firmware/nvram_mfg.txt_murata_b2
|
28
|
adb push firmware/nvram_mfg.txt_semcosh /system/vendor/firmware/nvram_mfg.txt_semcosh
|
29
|
adb push firmware/nvram_net.txt /system/vendor/firmware/nvram_net.txt
|
30
|
adb push firmware/nvram_net.txt_murata /system/vendor/firmware/nvram_net.txt_murata
|
31
|
adb push firmware/nvram_net.txt_murata_b2 /system/vendor/firmware/nvram_net.txt_murata_b2
|
32
|
adb push firmware/nvram_net.txt_semcosh /system/vendor/firmware/nvram_net.txt_semcosh
|
33
|
adb push firmware/fimc_is_fw.bin /system/vendor/firmware/fimc_is_fw.bin
|
34
|
adb push firmware/setfile.bin /system/vendor/firmware/setfile.bin
|
35
|
adb push firmware/mfc_fw.bin /system/vendor/firmware/mfc_fw.bin
|
36
|
adb push firmware/SlimISP_GD.bin /system/vendor/firmware/SlimISP_GD.bin
|
37
|
adb push firmware/SlimISP_ZD.bin /system/vendor/firmware/SlimISP_ZD.bin
|
38
|
|
39
|
echo finished
|