2016年11月9日 星期三

Run Android CTS on Chromebook

[Memo] Run Android CTS on Chromebook

PC: (Ubuntu 16.04 LTS)
1. Download the openjdk-8-jre using
    # apt install openjdk-8-jre
2. Install adb driver
3. Connect to Chromebook over IP with port 22 using commands
   # adb connect [Chromebook IP]:22
4. Check API version using commands
    # adb shell getprop ro.build.version.sdk
5. Check Chromebook architecture using commands
    # adb shell getprop ro.product.cpu.abilist
6. Go to Android CTS Download official website (lnk) and select your Chromebook architecture
    and API version.
    For Example. ARM or x86 
7. Unzip the android CTS and then change to folder "android-cts/ tools"
8. Run CTS without reboot
   # ./cts-tradefed
   # run cts --plan CTS-TF --disable--reboot

Chromebook:
1. Enter to Developer mode and change to root account
2. Go to Browser\ Settings\ Android options
3. Enable Unknown resources in Chrome Settings > App Settings > Security
4. Enable Developer options from Chrome Settings\ Android options\ Developer options
5. Enable Bluetooth/ Location/ Wi-Fi
6. Set up developer features and enable disk-write access for firewall settings changes:
   # /usr/libexec/debugd/helpers/dev_features_rootfs_verification
:  # reboot
7. Connect the internet connection over USB adapter or wireless
8. Get the Chromebook IP address.
9. Install the KeepAwake Plug-in from Chrome Browser extension.

沒有留言:

張貼留言

How to pass your CEH v11 exam quickly ?

1. You must buy the old CEH v11 exam under the online shopping platform. such as shopee. Select the 1st SEO buyer.  2. Create the practice t...