#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <Process.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 402, 189, 544, 320)
$Pic1 = GUICtrlCreatePic("C:\Users\admin\Desktop\Genotools-master\激活\QQ截图20141107210722.jpg", 0, 0, 401, 105, -1, $WS_EX_STATICEDGE)
$root = GUICtrlCreateButton("检查root权限", 40, 120, 137, 57)
GUICtrlSetTip(-1, "连接好刷机精灵后,注意在手机上点 授权 或 授予!")
$rm = GUICtrlCreateButton("加入谷歌服务", 224, 120, 137, 57)
GUICtrlSetTip(-1, "连接好刷机精灵后,注意在手机上点 授权 或 授予!")
GUISetState(@SW_SHOW)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $root
_RunDOS('adb shell "su -c ' & "'mount -o rw,remount yassf2 /system/'" & '"')
Case $rm
_RunDOS('adb pull google.apk /sdcard/google.pak')
Sleep(6000)
_RunDOS('adb shell "echo /sdcard/google.apk > /system/app/google.apk"')
Sleep(6000)
_RunDOS('adb shell “chmod 0644 /system/app/google.apk')
EndSwitch
WEnd
支付宝:57717657@qq.com 打十元就行不用太多,三科友 |