Git Product home page Git Product logo

alien-everywhere's Introduction

Running Jolla AppSupport/aliendalvik on regular linux distros

This is a small repo documenting the reverse enginieering of Jolla's Android AppSupport (aka Aliendalvik), including steps on how to run it on other linux distros than Sailfish OS.

Note for everyone attempting this

Aliendalvik is a complex piece of software and requires lots of setup to run. This is a very rough set of steps, it won't work on the first try, be prepared to solve problems.

Steps to run outside of Sailfish OS

  1. Get a supported phone with Sailfish OS and Android AppSupport (see https://shop.jolla.com/) and grab the necessary binaries
  • Start the phone, go through setup of Sailfish OS and setup Android AppSupport
  • Get all the necessary files from the phone via SSH, see files.txt
  1. Set up dependencies on the target device
  • Install dependencies from the Arch ARM repos: lxc packagekit-qt5 mlite qt5-sensors qt5-location python-pywayland dbus-glib
  • Build necessary libraries that aren't in the Arch ARM repos: libglibutil libgbinder
  • Build custom libraries from forks: libQtContacts, libqtcontacts_folks, libqtposition_geoclue2, libqtsensors_iio-sensor-proxy
  • Install shimming services on the target device, see shimming/
  • Build and install patched mobile-mutter and libwayland, see patches/
  • Get the vanilla (not GApps) android system.img and vendor.img from Waydroid
  1. Copy all the aliendalvik config, binaries and libraries to the target device, see files.txt again

  2. Create necessary users, groups, and configure a few more things on the device, see setup-environment.txt

  3. Edit the aliendalvik configuration on the device, see configure.txt

  4. Do a manual test-run of aliendalvik to check if everything works, see running.txt

  5. If you managed to run everything, there's some systemd services and scripts to automate startup of aliendalvik in the automation/ folder

alien-everywhere's People

Contributors

jonas2515 avatar

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.