Code Monkey home page Code Monkey logo

proot-static's Introduction

proot-static

A static compiled version of proot from Termux. Only armhf binary files, but also works on arm64

Usage example

proot-static can be used to run 32 bit proot systems on 64 bit environments without installing 32 bit packages, and switching environment (for example, to run box86/box64). Also proot-static does not require any dependency on the system, accordingly can be started without any dependencies (talloc and etc) (only in Android, of course).

Usage

$ git clone https://github.com/ZhymabekRoman/proot-static
$ cd proot-static/
$ ./proot_static --help

Or you can overwrite the PATH value to use proot-static, instead of the usual proot:

$ git clone https://github.com/ZhymabekRoman/proot-static
$ cd proot-static/
$ export PATH=`pwd`/bin:$PATH
$ export PROOT_LOADER=`pwd`/bin/loader

Compile

Clone termux-packages repository and apply patch patches/proot_static_compile.patch. For compilation I used GitHub Action (CI).

proot-static's People

Contributors

zhymabekroman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

proot-static's Issues

Apt crashes with Termux proot-distro's new update

Hey, I just wanted to report in that I noticed that using proot-static with Termux proot-distro's new Ubuntu-hirsute (which is the only Ubuntu distro available now in proot-distro) causes crashes when I try to update apt.

I'm not sure if this is a proot-static problem or a problem with proot-distro's Ubuntu-hirsute repo but I'm stumped.

Thank you for proot-static, by the way! It allows me to run box86 on Android via Termux.
More info here: Kualid/AnBox86#7

Request to update proot-static with proot >5.1.107-45

Hello again,

It took me a while to figure out how to fix AnBox86 with the newer proot-distro distros/installers, but I've found a method. I realized, however, that though everything is working (with proot-static's help) the user accounts and sudo permissions aren't working in proot-static. These accounts/permissions do work in the latest proot. So I believe these permissions errors in proot-static are due to proot-static using an older version of proot that had errors with user accounts. Would it be possible to update proot-static with the latest proot?

Hope you're doing well and staying safe out there.

How to build it. For arm64 rootfs.

As described in README.md you have built it using GitHub workflows. Can I have your workflow file? Because I want to build for arm64 rootfs.

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.