#!/bin/bash

#adb kill-server
export ADB_VENDOR_KEYS="./adbkey"
echo ADB=$ADB_VENDOR_KEYS

ip=$1


adb disconnect
adb disconnect
adb disconnect
adb connect $ip:5555 && adb root && adb connect $ip:5555 
adb remount
adb shell "getprop ro.boot.mac | tr -d ':' | tr '[:lower:]' '[:upper:]'"
echo "************"
