Skip to content

Latest commit

 

History

History
68 lines (40 loc) · 4.09 KB

archon.md

File metadata and controls

68 lines (40 loc) · 4.09 KB

ARChon Custom Runtime Guide

ARChon runtime lets you run unlimited number of Android APKs created with chromeos-apk on Chrome OS and across any desktop platform that supports Chrome.

Instructions

Note: This can be unstable on operating systems other than Chrome OS.

Warning: The custom runtime will replace the official runtime component. To go back to the official runtime you will need to uninstall the custom one and reinstall the official one.

Tested on OS X, Windows and Ubuntu. You must have Chrome 37+ installed. (If it doesn't work try Chrome Canary). OS X Note: Grab the latest version of Chrome Canary, Chrome won't work because 64 bit is required by the custom runtime.

  • Download the runtime that is appropriate for your system:
Runtime Download
ARChon 1.0 - Intel x86 64-bit BitBucket MD5:3bd2e6014a0cba0b1ee3c69462a9b46d
ARChon 1.1 - Intel x86 Chrome 64-bit / Chrome OS 64-bit (OSX: Use this in Chrome Canary) BitBucket :: GitHub MD5:d409801cac97cdff9ea6aad468ddc927
ARChon 1.1 - Intel x86 Chrome 32-bit / Chrome OS 32-bit (OSX: Use this in Chrome Stable) BitBucket :: GitHub MD5:873c4d116eabd1a5ebedec65d11d6d8a
ARChon 1.1 - ARM (for ARM-based Chromebooks) BitBucket :: GitHub MD5:d0a69d822399545ff67292b50f8c4047
  • Unzip it, Load it as an unpacked extension.

- (Try out this pre-packaged open source game: [2048-ARChon.APK](https://github.com/vladikoff/chromeos-apk/releases/download/v1.1.0/com.uberspot.a2048.android-ARChon-runtime.zip) by [Uberspot](https://github.com/uberspot/2048-android) and load it as an unpacked extension. Press "Launch", ignore warnings.) - To load custom applications, make sure you have `[email protected]` or higher. (Update using `npm install -g chromeos-apk@latest`). See [README.md](README.md) for more help with the `chromeos-apk` tool. - Create your custom APKs with the ARChon flag: `chromeos-apk com.imdb.mobile.apk --archon`. This will create an app directory for you. - Load as many APKs as you want as unpacked extensions on any platform of your choice.

Notes

Load additional files

  • Put any additional files into /vendor/chromium/crx/, those would be accessible within the app environment
  • OBB files, one way: enable the enableAdb flag in manifest.json, adb push /<package>/<some.obb> /storage/sdcard/Android/obb/<package>/<some.obb>

Convert older apps created with chromeos-apk tool to ARChon runtime.

  • Remove the "key" parameter from manifest.json.

Uninstalling ARChon

  • Remove the component from chrome://extensions. Reinstall an app such as Evernote to get the official runtime on Chrome OS.

ARChon source

ARChon source is hosted here: https://bitbucket.org/vladikoff/archon/src. It's on BitBucket because GitHub has a 100mb file limit. Feel free to hack on ARChon and tweak it.

Changing app resolution

Tweak the runtime in 2 places: You need to change the tablet resolution values in these 2 places: https://bitbucket.org/vladikoff/archon/src/master/gen_main.min.js and https://bitbucket.org/vladikoff/archon/src/master/gen_index.min.js

Find tablet: {"long": 1280, "short": 800}, tweak it, fit your resolution, reload the run time.

Tweak Apps

Add "resize": "scale" to "arc_metadata" in manifest.json.

Read the manifest guide for more advanced tweaks.