forked from KFire-Android/proprietary_vendor_amazon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
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)***" |
This file contains 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
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 not shown.