跳到主要內容

123autoit non-root (後台服務) daemon service

this service works for
   123autoit non-root (android 5.0+)
   123autoit non-root legacy (android 4.2~4.4)
   PreTouch -Semi Auto
    123GridTouch
Autoit Native Service


**************************

1.Mobile with ARM processor

>>>>Download1.5.3.1<<<< reduce the log size

new package has added additional "output2" file, and autoit-native has been updated, so make sure all files has been copied to your device before use. 

run2.bat will show you directly if you have successfully started the daemon service.

2.Mobile with Intel processor

>>>>Download1.5.3x86<<<< 


This service start up only required when mobile is first installed/ mobile has been restarted

1). set your mobile to developer mode


-enable USB debugging  

 -change USB computer connection and enable MTP Mode 
    < updated 20161220 Thx for Huan provide this information)
<Updated for xiaomi phone
Usb debugging (security settings) also need to be enabled 20170401

-also set the Show touches, and Pointer Location, 
so that you can see where exactly where and when automation happening on your device

2). connect your mobile to a Windows Machine
3). open the folder and click run.bat
    <if dos mode console is disappeared go to step (4)
    <if dos mode console still on screen go to step (6)
    <if dos console didn't stay on go to step (a)
4). accept connection from the mobile dialog


5). run the run.bat again
6). in console type in the "ps -x|grep autoit-native" to check if the service is running
    You should see something like this
    shell     21343 1     816    24    008ad71c 000200ec S /data/local/tmp/autoit-native (u:0, s:0)
7). if yes then unplug the cable, and your mobile is ready to Automate
   
    if not type to the console
     /data/local/tmp/autoit-native /data/local/tmp/autoit-native.log
     and then press Enter
8). check the service again by typing "ps -x|grep autoit-native


9) if still doesn't work please remove autoit-native1.3/ADB.exe, and start again the run.bat
repeat the step 5
<updated 20170123 let me know if you have any problem starting it

If still doesn't work
try download one of the following and replace the ADB.exe,AdbWinApi.dll, AdbWinUsbApi.dll  from
https://dl.google.com/android/repository/platform-tools_r26.0.0-rc1-windows.zip
https://dl.google.com/android/repository/platform-tools_r25-windows.zip 
https://dl.google.com/android/repository/platform-tools_r24.0.4-windows.zip
https://dl.google.com/android/repository/platform-tools_r23.1.0-windows.zip

repeat the step 5 
<updated 20170421

If Device doesn't show the authenticate dialog, you will need to install the ADB USB driver manuelly< updated 20161228 Thx for Huan provide this information)
 

9)  it is something to do with the ADB interface Driver
Go to download from Google https://dl-ssl.google.com//android/repository/latest_usb_driver_windows.zip

Follow the instruction:
http://visualgdb.com/KB/usbdebug-manual/

and plug in your mobile to Windows and try again the above steps
<update 20170502


a) in windows start a Dos console
a1. then copy your unzipped path, and in Dos console type: cd <your unzipped path>
a2. type in run.bat
a3. after that you should see something like this, if not, you might require to download a ADB driver for your PC of your Mobile device
if you see files uploaded with 100%, which means your computer is linked to your Device, and the need files has been uploaded to Device

jump back to 6)


添加加速輸入處理 

ARM處理器

>>>>Download 1.5.3<<<<<減少生成日誌大小

新包添加了另外的“output2”文件,並且autoit-native已被更新,因此請確保所有文件已被複製到您的設備上才能使用。

Intel處理器

>>>>Download 1.5.3x86<<<<

這服務適用於

   123autoit non-root (安卓 5.0+)
   123autoit non-root legacy (安卓 4.2~4.4)
   PreTouch -Semi Auto
    123GridTouch

該服務啟動在首次安裝時/手機重新啟動

1)設置為開發者模式

    (-選擇開始USB偵錯
   -USB 電腦連 選取MTP < updated 20161220 Thx for Huan provide this information)

-小米系列 Usb 調試(安全設定)也要打開20170401
2)你的手機連接到Windows機器
3)打開文件夾,然後點擊的run.bat
    <如果DOS模式控制台消失轉到步驟(4)
    <如果DOS模式的控制台仍然在屏幕上轉到步驟(6)


   <如果DOS模式沒有留下, 轉到步驟(a) 

4)接受來自移動連接對話框
5)再次運行的run.bat
6)在控制台輸入“ps -x| grep autoIt-native,以檢查服務是否正在運行
    您應該看到這樣

  shell     21343 1     816    24    008ad71c 000200ec S /data/local/tmp/autoit-native (u:0, s:0) 
7)如果是可以看到話那麼拔掉連接線,開始自動化

    如果沒有
看到手動輸入
    
/data/local/tmp/autoit-native /data/local/tmp/autoit-native.log
     然後按Enter
8)通過鍵入
"ps -x|grep autoit-native 再次檢查服務

9) 如果仍然不行,請刪除autoit-native1.3/ADB.exe, 用你安裝的ADB運行run.bat
從步驟5開始重複過程
<updated 20170123

如果還是不行

嘗試下載以下其中一個並替換
ADB.exe,AdbWinApi.dll, AdbWinUsbApi.dll  from
https://dl.google.com/android/repository/platform-tools_r26.0.0-rc1-windows.zip

https://dl.google.com/android/repository/platform-tools_r25-windows.zip 
https://dl.google.com/android/repository/platform-tools_r24.0.4-windows.zip
https://dl.google.com/android/repository/platform-tools_r23.1.0-windows.zip

repeat the step 5 
<updated 20170421 

如果手機沒出現連結金鑰
你需要去安裝您手機用的ADB USB driver
< updated 20161228 Thx for Huan provide this information)


9)從Google下載
https://dl-ssl.google.com//android/repository/latest_usb_driver_windows.zip
按照以下說明操作:
https://translate.google.com.tw/translate?hl=zh-TW&sl=en&u=http://visualgdb.com/KB/usbdebug-manual/&prev=search

並將您的手機插入Windows,然後重試上述步驟
<更新20170502


a) 在Windows中啟動一個Dos cmd console
a1. 然後復制您的解壓縮路徑,並在DOS中鍵入:cd <您的解壓縮路徑>
a2. 鍵入run.bat
a3. 之後,你應該看到如下,如果沒有,你可能需要為你下載,安裝ADB驅動程序
如果您看到以100%上傳的文件,這意味著您的已鏈接到您的設備,而需求文件已上傳到設備
 跳回步驟6)

讓我知道如果你有啟動它的任何問題





這個網誌中的熱門文章

123autoit FFBE (com.square_enix.ffbejpn) tutorial

This is a simple Script for Framing FFBE It can do a Rotation of Framing of 1st,2nd Quest with the Controller at the bottom

Download Full Image

123AutoIt 教程1 - 識別頁面 Tutorial 1- page identification

"記得開啟字幕"

我們將使用123AutoIt - Tester 為本教程的測試目標
在本教程中,我們將介紹基本的檢查點,並設置頁面名稱和驗證頁面


"remember to turn on Subtitle"

In this tutorial we will be using 123AutoIt - Tester as the testing target.
in this tutorial we will cover basic check points, and setting up page name and validate page