Giter VIP home page Giter VIP logo

android_device_whaleshark_emulator's Introduction

Whale Shark - an AAOS device configuration for 64-bit-based Android Emulator hosts

GitHub release (latest by date) GitHub GitHub GitHub code size in bytes GitHub all releases

๐Ÿง‘โ€๐Ÿ’ป About

This device configuration is intented to be run on Android Virtual Device (AVD) emulator hosts with a 64-bit CPU, such as the new MacBook generations with Apple Silicon processor (M1/M2/M3).

See also aosp-docker for a Docker-based tool chain and android-build-tools for additonal sync and flash scripts.

๐Ÿ› ๏ธ Setup

Download AOSP repository

See manifest for setup of AOSP repository and dependencies.

โš™๏ธ Build the product

This follows the normal AOSP approach, e.g.

  1. source build/envsetup.sh
  2. lunch whaleshark_emulator_arm64-userdebug
  3. make clobber (optionally, cleans target folder)
  4. m -j$(nproc --all)
  5. See compiled files at $AOSP_HOME/out/target/product/emulator_car64_arm64

โœจ Flash the build

You can use the sync_remote_emulator_images.sh script from here to directly sync the emulator images to your $ANDROID_SDK_HOME/system-images folder.

๐Ÿ–ฅ๏ธ Android Virtual Device (AVD) configuration

Setup

Copy the appropriate avd folder to your localhost into $HOME/.android/avd

mkdir -p $HOME/.android/avd

cp -r avd/whaleshark-34.avd $HOME/.android/avd/whaleshark-34.avd

cp avd/whaleshark-34.ini $HOME/.android/avd/whaleshark-34.ini

Run the Emulator

Install the Android SDK and set $ANDROID_HOME. See also this.

Install the Android Emulator with version 33.1.23.x or higher.

Execute the Emulator: $ANDROID_HOME/emulator/emulator -avd whaleshark-34 -show-kernel

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.