diff options
| author | Hashcode <hashcode0f@gmail.com> | 2013-02-06 16:29:26 -0800 |
|---|---|---|
| committer | Hashcode <hashcode0f@gmail.com> | 2013-02-06 16:29:26 -0800 |
| commit | c78ef8874b0221c434855ab505641ad1e1c95359 (patch) | |
| tree | eb75bac762bfc56d3100ad9f384df59b5a154e32 /prebuilt | |
| parent | 589fd4dd19b83d35b75f3576656e29b4f30d73df (diff) | |
move prebuilt/bin to vendor/amazon
Change-Id: I223e525ac89ba8adf2fc56ac14fe2e887cbde0fa
Diffstat (limited to 'prebuilt')
| -rw-r--r-- | prebuilt/bin/battery_log.sh | 24 | ||||
| -rwxr-xr-x | prebuilt/bin/bbx | bin | 816056 -> 0 bytes | |||
| -rw-r--r-- | prebuilt/bin/klog.sh | 2 | ||||
| -rw-r--r-- | prebuilt/bin/su | bin | 380532 -> 0 bytes | |||
| -rw-r--r-- | prebuilt/bin/temperature_log.sh | 38 |
5 files changed, 0 insertions, 64 deletions
diff --git a/prebuilt/bin/battery_log.sh b/prebuilt/bin/battery_log.sh deleted file mode 100644 index 5eeabbc..0000000 --- a/prebuilt/bin/battery_log.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/system/bin/sh - -BATTERY_LOG=/data/battery_log - -# Get the serial number -set -- `idme serial` -SERIAL=$3 - -echo "#serial[$SERIAL]" > $BATTERY_LOG -echo '#time,temp,voltage,current,capacity,charge,charge_full' >> $BATTERY_LOG - -while true; do - sleep 60 - - NOW=$(date +%s) - BATTERY_TEMP=$(cat /sys/class/power_supply/battery/temp) - BATTERY_VOLTAGE=$(cat /sys/class/power_supply/battery/voltage_now) - BATTERY_CURRENT=$(cat /sys/class/power_supply/battery/current_now) - BATTERY_CAPACITY=$(cat /sys/class/power_supply/battery/capacity) - BATTERY_CHARGE=$(cat /sys/class/power_supply/battery/charge_now) - BATTERY_CHARGE_FULL=$(cat /sys/class/power_supply/battery/charge_full) - - echo "$NOW,$BATTERY_TEMP,$BATTERY_VOLTAGE,$BATTERY_CURRENT,$BATTERY_CAPACITY,$BATTERY_CHARGE,$BATTERY_CHARGE_FULL" >> $BATTERY_LOG -done diff --git a/prebuilt/bin/bbx b/prebuilt/bin/bbx Binary files differdeleted file mode 100755 index ab9e099..0000000 --- a/prebuilt/bin/bbx +++ /dev/null diff --git a/prebuilt/bin/klog.sh b/prebuilt/bin/klog.sh deleted file mode 100644 index a282f0c..0000000 --- a/prebuilt/bin/klog.sh +++ /dev/null @@ -1,2 +0,0 @@ -dmesg > /data/kernel_log/kernel_kmsg -chmod 0777 /data/kernel_log/kernel_kmsg diff --git a/prebuilt/bin/su b/prebuilt/bin/su Binary files differdeleted file mode 100644 index 6b114e7..0000000 --- a/prebuilt/bin/su +++ /dev/null diff --git a/prebuilt/bin/temperature_log.sh b/prebuilt/bin/temperature_log.sh deleted file mode 100644 index 6df794d..0000000 --- a/prebuilt/bin/temperature_log.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/system/bin/sh - -TEMPERATURE_LOG=/data/temperature_log - -# Get the serial number -set -- `idme serial` -SERIAL=$3 - -echo "#serial[$SERIAL]" > $TEMPERATURE_LOG -echo '#time,battery_temp,bandgap_temp_min,bandgap_temp_max,battery_ntc_temp,charger_ntc_temp,pcb_temp,emif0_temp,emif1_temp' >> $TEMPERATURE_LOG - -while true; do - sleep 60 - - NOW=$(date +%s) - BATTERY_TEMP=$(cat /sys/class/power_supply/battery/temp) - BANDGAP_TEMP_MIN=$(cat /sys/class/hwmon/hwmon1/device/temp1_min) - BANDGAP_TEMP_MAX=$(cat /sys/class/hwmon/hwmon1/device/temp1_max) - BATTERY_NTC_TEMP=$(cat /sys/class/hwmon/hwmon2/device/temp1_input) - CHARGER_NTC_TEMP=$(cat /sys/class/hwmon/hwmon2/device/temp2_input) - - # Cut the first line for PCB temperature - PCB_TEMP=$(cat /sys/class/hwmon/hwmon0/device/temp1_input) - set -- $PCB_TEMP - PCB_TEMP=$1 - - # Cut the first line for EMIF0 temperature - EMIF0_TEMP=$(cat /sys/devices/platform/omap_emif.0/temperature) - set -- $EMIF0_TEMP - EMIF0_TEMP=$1 - - # Cut the first line for EMIF1 temperature - EMIF1_TEMP=$(cat /sys/devices/platform/omap_emif.1/temperature) - set -- $EMIF1_TEMP - EMIF1_TEMP=$1 - - echo "$NOW,$BATTERY_TEMP,$BANDGAP_TEMP_MIN,$BANDGAP_TEMP_MAX,$BATTERY_NTC_TEMP,$CHARGER_NTC_TEMP,$PCB_TEMP,$EMIF0_TEMP,$EMIF1_TEMP" >> $TEMPERATURE_LOG -done |
