Git Product home page Git Product logo

retros-userspace-builder's Introduction

RetrOS Userspace Builder

This tool builds a sparse userspace for Android that can run RetroPilot. This userspace is included in builds of RetrOS for various devices.

Build process for generic Android devices

git clone https://github.com/RetroPilot/retros-userspace-builder
cd  retros-userspace-builder
./install.py
./finish.sh

Testing

Use either a rooted Android 9 device or a RetrOS device. For Android devices not running Retros, install termux but don't open it.

Push the userland to the phone with adb and extract it

adb push userspace.tar.gz /sdcard/Download/
adb shell
su
cd /data/data/com.termux
tar xvf /sdcard/Download/userspace.tar.gz

For non-RetrOS devices, also run:

mount -o remount,rw /dev/root /
ln -s /data/data/com.termux/files/usr /usr
mkdir -p /tmp && mount -t tmpfs -o size=2048M tmpfs /tmp

Enter the userspace

export HOME=/data/data/com.termux/files/home && export PATH=/data/data/com.termux/files/usr/bin:/bin && export LD_LIBRARY_PATH=/data/data/com.termux/files/usr/lib:/data/data/com.termux/files/usr/local/lib64 && bash

Finish up installation on-device

cd ~
tmux
./install.sh

From here, you can git clone RetroPilot into /data or develop your own applications to run inside the userspace.

retros-userspace-builder's People

Contributors

adeebshihadeh avatar blomdhal22 avatar dependabot[bot] avatar edsammy avatar geohot avatar gregjhogan avatar jflorchi avatar jfrux avatar jyoung8607 avatar kerneltoast avatar martinl avatar pd0wm avatar rbiasini avatar robbederks avatar sshane 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.