Skip to content

Commit 3699809

Browse files
committed
add jemlte wan binaries
1 parent 0af4a0e commit 3699809

File tree

4 files changed

+28
-1
lines changed

4 files changed

+28
-1
lines changed

jem/jem-vendor-blobs.mk

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616

1717
PRODUCT_COPY_FILES += \
1818
vendor/amazon/jem/proprietary/bin/brcm_patchram_plus:system/bin/brcm_patchram_plus \
19-
vendor/amazon/jem/proprietary/vendor/firmware/bcm2076_20mhz.hcd:system/vendor/firmware/bcm2076_20mhz.hcd \
19+
vendor/amazon/jem/proprietary/bin/wan_fwupdate:system/bin/wan_fwupdate \
20+
vendor/amazon/jem/proprietary/bin/wankit:system/bin/wankit \
21+
vendor/amazon/jem/proprietary/bin/wan_savelog:system/bin/wan_savelog \
2022
vendor/amazon/jem/proprietary/lib/hw/sensors.omap4.so:system/lib/hw/sensors.omap4.so \
2123
vendor/amazon/jem/proprietary/lib/libinvensense_hal.so:system/lib/libinvensense_hal.so \
2224
vendor/amazon/jem/proprietary/lib/libmllite.so:system/lib/libmllite.so \
@@ -82,3 +84,10 @@ PRODUCT_COPY_FILES += \
8284
vendor/amazon/jem/proprietary/vendor/camera/R01_MVEN002_LD0_ND0_IR0_SH0_FL0_SVEN002_DCCID46/cid44_OV9726_vnf_cfg_dcc.bin:system/vendor/camera/R01_MVEN002_LD0_ND0_IR0_SH0_FL0_SVEN002_DCCID46/cid44_OV9726_vnf_cfg_dcc.bin \
8385
vendor/amazon/jem/proprietary/vendor/camera/R01_MVEN002_LD0_ND0_IR0_SH0_FL0_SVEN002_DCCID46/cid65535_kgen_dcc_preflash.bin:system/vendor/camera/R01_MVEN002_LD0_ND0_IR0_SH0_FL0_SVEN002_DCCID46/cid65535_kgen_dcc_preflash.bin
8486

87+
ifeq ($(TARGET_DEVICE),jemlte)
88+
PRODUCT_COPY_FILES += \
89+
vendor/amazon/jem/proprietary/vendor/firmware/bcm2076_26mhz.hcd:system/vendor/firmware/bcm2076_26mhz.hcd
90+
else
91+
PRODUCT_COPY_FILES += \
92+
vendor/amazon/jem/proprietary/vendor/firmware/bcm2076_20mhz.hcd:system/vendor/firmware/bcm2076_20mhz.hcd
93+
endif

jem/proprietary/bin/wan_fwupdate

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/system/bin/sh
2+
echo "Starting WAN Firmware Update procedure, Please do not power off or reset your device"
3+
stop ril-daemon
4+
wankit mdmctrl wanon
5+
wankit wan_dloader -o -E -p /system/etc/wan
6+
result=$?
7+
sleep 1
8+
start ril-daemon
9+
echo "***Finished Updating WAN Firmware ($result)***"

jem/proprietary/bin/wan_savelog

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/system/bin/sh
2+
if [ ! -d /data/wireless_log ]; then
3+
mkdir /data/wireless_log
4+
fi
5+
logcat -b radio -v time -d > /data/wireless_log/radio_log
6+
logcat -v time -d > /data/wireless_log/system_log
7+
dmesg > /data/wireless_log/kernel_log
8+
busybox cp /data/misc/wan_log /data/wireless_log/
9+
busybox tar cvz wireless_log -f /data/log.tgz -C /data

jem/proprietary/bin/wankit

214 KB
Binary file not shown.

0 commit comments

Comments
 (0)