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.

2016年11月8日 星期二

Android 7 CTS (ARM)

[Memo] Record how to setup and run the Android Device environment and Host

0. Download the Android CTS (ARM) version from its official website.
1. apt install -y openjdk-8-jre aapt
2. Insert the external SD card if needs
3. Restore the factory data
4. Enable Development mode
5. Install the CtsAdminApp.apk via adb connection
    # adb install -r -g android-cts/testcases/CtsAdminApp.apk
6. Activate all of  android.deviceadmin.cts.CtsDeviceAdmin from Android Devices\ Settings\ Security\ Select device administrators.
7. Enable Stake awake/ USB debugging/ in the Developer Options.
8. Disable Verify App over USB in the Developer Options
9. Change to Android CTS working directory. android-cts/tools/
10. ./cts-tradefed

Notice:
Don't download android-media-files and copy media files to Android Device manually. 
If you do it, CTS will show error message as 'Not all target preparation steps completed '

## run cts -plan everything 
## help 


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...