Skip to content

Commit

Permalink
add jemlte wan binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
Hashcode committed Jul 30, 2013
1 parent 0af4a0e commit 3699809
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 1 deletion.
11 changes: 10 additions & 1 deletion jem/jem-vendor-blobs.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@

PRODUCT_COPY_FILES += \
vendor/amazon/jem/proprietary/bin/brcm_patchram_plus:system/bin/brcm_patchram_plus \
vendor/amazon/jem/proprietary/vendor/firmware/bcm2076_20mhz.hcd:system/vendor/firmware/bcm2076_20mhz.hcd \
vendor/amazon/jem/proprietary/bin/wan_fwupdate:system/bin/wan_fwupdate \
vendor/amazon/jem/proprietary/bin/wankit:system/bin/wankit \
vendor/amazon/jem/proprietary/bin/wan_savelog:system/bin/wan_savelog \
vendor/amazon/jem/proprietary/lib/hw/sensors.omap4.so:system/lib/hw/sensors.omap4.so \
vendor/amazon/jem/proprietary/lib/libinvensense_hal.so:system/lib/libinvensense_hal.so \
vendor/amazon/jem/proprietary/lib/libmllite.so:system/lib/libmllite.so \
Expand Down Expand Up @@ -82,3 +84,10 @@ PRODUCT_COPY_FILES += \
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 \
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

ifeq ($(TARGET_DEVICE),jemlte)
PRODUCT_COPY_FILES += \
vendor/amazon/jem/proprietary/vendor/firmware/bcm2076_26mhz.hcd:system/vendor/firmware/bcm2076_26mhz.hcd
else
PRODUCT_COPY_FILES += \
vendor/amazon/jem/proprietary/vendor/firmware/bcm2076_20mhz.hcd:system/vendor/firmware/bcm2076_20mhz.hcd
endif
9 changes: 9 additions & 0 deletions jem/proprietary/bin/wan_fwupdate
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/system/bin/sh
echo "Starting WAN Firmware Update procedure, Please do not power off or reset your device"
stop ril-daemon
wankit mdmctrl wanon
wankit wan_dloader -o -E -p /system/etc/wan
result=$?
sleep 1
start ril-daemon
echo "***Finished Updating WAN Firmware ($result)***"
9 changes: 9 additions & 0 deletions jem/proprietary/bin/wan_savelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/system/bin/sh
if [ ! -d /data/wireless_log ]; then
mkdir /data/wireless_log
fi
logcat -b radio -v time -d > /data/wireless_log/radio_log
logcat -v time -d > /data/wireless_log/system_log
dmesg > /data/wireless_log/kernel_log
busybox cp /data/misc/wan_log /data/wireless_log/
busybox tar cvz wireless_log -f /data/log.tgz -C /data
Binary file added jem/proprietary/bin/wankit
Binary file not shown.

0 comments on commit 3699809

Please sign in to comment.