#!/bin/bash

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

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

adb shell rm -rf /system/app/VLC/lib
adb shell rm -rf /system/app/Browser/lib

adb disconnect
