The scripts here assist in building NETINT libxcoder and FFmpeg within and
Android emulator. The primary script is quadra_android_quick_installer.sh

Make sure that all files required for installation are in the same directory:
  quadra_android_quick_installer.sh
  adb_push.sh
  build_all_android.sh
  init_android_rsrc_mon.sh
  run_emulator.sh
  android-ndk-r*-linux-x86_64.zip
  android-sdk_r*-linux.tgz
  patch/
  Quadra_FW_V*_RC*.tar.gz
  Quadra_SW_V*_RC*.tar.gz

Before using the script, check the following:
- put the Quadra FW/SW release tarball (Eg. Quadra_FW_V4.3.0_RC2.tar.gz,
  Quadra_SW_V4.3.0_RC2.tar.gz) in the same directory as this script
- make sure that virtualization options (eg. vt-x, vt-d) is enabled in the BIOS

Script Usage：
  bash quadra_android_quick_installer.sh
  bash quadra_android_quick_installer.sh -h

quadra_android_quick_installer.sh usage:
This script performs installation of Android emulator environment with Netint
Quadra SW on Ubuntu host. Before use, please go to the BIOS and enable
virtualization options (eg. vt-x, vt-d).

For further installation help see README file

Install environment sequence:
Step 1:  Select usage of '64 bit' or '32 bit' Android.
Step 2:  Select option to 'Setup Environment variables'.
Step 3:  Select option to 'Install prerequisite Linux packages (Ubuntu)'.
Step 4:  Select option to 'Install nvme-cli'.
Step 5:  Select option to 'Download Android NDK-r21d and SDK-r24.4.1'.
Step 6:  Select option to 'Install Libxcoder to Linux host for build test
         (Optional)' if desiring to test libxcoder can install on host directly.
Step 7:  Select option to 'Install FFmpeg-n4.3 to Linux host for build test
         (Optional)' if desiring to test FFmpeg can install on host directly.
Step 8:  Select option to perform 'Firmware Update (Optional)' if desiring to
         upgrade firmware.
Step 9:  Select option to 'Download and build Android'. Download requires 60GB
         disk space, compile requires another 160GB of disk space.
Step 10:  Select option to 'Setup VFIO'. Host needs to be rebooted after this
         step. Continue steps after reboot.
Step 11: Select option to 'Check VFIO' is setup successfully.
Step 12: Select option to 'Build libxcoder and FFmpeg-n4.3 on Android emulator'.
Step 13: If previous step succeeds, the environment has been successfully
         installed. Select option to 'Quit'.

If any of the steps fail, please retry the step, debug from error mesages, or
contact Netint support.
