Coder Social home page Coder Social logo

Comments (9)

oxr463 avatar oxr463 commented on September 4, 2024 1

This is essential to our goal outlined in the project proposal:

Get proot-rs to run most of the basic tools such as bash, vim, busybox, and nginx (no
unix-socket) correctly.
The desired result of the project is to be able to start an Alpine rootfs on a rootless Android
using proot-rs and to verify the goals presented above.

from proot-rs.

imlk0 avatar imlk0 commented on September 4, 2024 1

@KB5201314 can we close this?

Yes, since we have been able to compile and also performed a simple manual test.

Close with #55

from proot-rs.

oxr463 avatar oxr463 commented on September 4, 2024

Architectures:

  • x86_64
  • arm32v7
  • aarch64

from proot-rs.

oxr463 avatar oxr463 commented on September 4, 2024

We currently have support for x86_64 and arm32v7 (See: https://www.notion.so/A-guide-to-quickly-test-alpine-and-nginx-on-Android-523a1c9b017942959153c3385ddd22a7). Support for aarch64 should be added this week.

from proot-rs.

oxr463 avatar oxr463 commented on September 4, 2024

I tried testing in Termux on my Motorola G7, Android 10, and here is what I got:

./proot-rs --rootfs=./alpine --bind /dev:/dev --bind /proc:/proc
bash: ./proot-rs: Bad address
echo $?
126

from proot-rs.

imlk0 avatar imlk0 commented on September 4, 2024

I tried testing in Termux on my Motorola G7, Android 10, and here is what I got:

./proot-rs --rootfs=./alpine --bind /dev:/dev --bind /proc:/proc
bash: ./proot-rs: Bad address
echo $?
126

Do you mean running proot-rs in the shell provided by the Temux app?

Also, what target are you using to build proot-rs, is it arm-unknown-linux-musleabi?

from proot-rs.

oxr463 avatar oxr463 commented on September 4, 2024

Do you mean running proot-rs in the shell provided by the Temux app?

Yes, it is Bash.

Also, what target are you using to build proot-rs, is it arm-unknown-linux-musleabi?

Yes, per this, #48 (comment)

from proot-rs.

oxr463 avatar oxr463 commented on September 4, 2024
termux-info
Application version:
0.117
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://packages.termux.org/apt/termux-main/ stable main
# game-repo (sources.list.d/game.list)
deb https://packages.termux.org/apt/termux-games games stable
# science-repo (sources.list.d/science.list)
deb https://packages.termux.org/apt/termux-science science stable
Updatable packages:
apt/stable 2.3.8 aarch64 [upgradable from: 2.3.7-4]
binutils/stable 2.37-1 aarch64 [upgradable from: 2.36.1]
golang/stable 2:1.17 aarch64 [upgradable from: 2:1.16.6]
Android version:
10
Kernel build information:
Linux localhost 4.9.206-perf+ #1 SMP PREEMPT Sun Sep 27 04:31:14 UTC 2020 aarch64 Android
Device manufacturer:
motorola
Device model:
moto g(7)

from proot-rs.

oxr463 avatar oxr463 commented on September 4, 2024

@KB5201314 can we close this?

from proot-rs.

Related Issues (20)

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.