Code Monkey home page Code Monkey logo

Comments (26)

ZhymabekRoman avatar ZhymabekRoman commented on June 12, 2024

Yes of course, just extract Ubuntu rootfs to exagear-fs folder. In the next few days I will add an Ubuntu roootfs image to the repository

from exagear-for-termux.

 avatar commented on June 12, 2024

please support proot-distro + termux-X11 version

from exagear-for-termux.

 avatar commented on June 12, 2024

proot-distro installed rootfs path
$PREFIX/var/lib/proot-distro/installed-rootfs/ubuntu

from exagear-for-termux.

ZhymabekRoman avatar ZhymabekRoman commented on June 12, 2024

please support proot-distro

Exactly what do you want? Do you want Exagear for Termux to run in proot-distro? Or the ability to run proot-distro distributions in Exagear For Termux?

termux-X11 version

Most likely not to implement such

from exagear-for-termux.

 avatar commented on June 12, 2024

the ability to run proot-distro distributions in Exagear For Termux

from exagear-for-termux.

 avatar commented on June 12, 2024
diff --git a/start-exagear.sh b/start-exagear.sh
index 7762537..6d7924d 100755
--- a/start-exagear.sh
+++ b/start-exagear.sh
@@ -9,7 +9,7 @@
 PROGRAM_NAME="ExaGear for Termux"
 PROGRAM_VERSION="2.4"
 CURRENT_WORK_FOLDER=$(cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)
-DEFAULT_ROOTFS_FOLDER="exagear-fs/"
+DEFAULT_ROOTFS_FOLDER="$PREFIX/var/lib/proot-distro/installed-rootfs/ubuntu"

from exagear-for-termux.

 avatar commented on June 12, 2024
[Starting x86 environment]

proot warning: can't sanitize binding "/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/ubuntu/sys/fs/selinux/": No such file or directory
lkv_SubstitutedPathsListEntry::create: substitution of the directory '/dev' is requested,
but in the guest image there is no directory named '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/ubuntu/dev'.

from exagear-for-termux.

ZhymabekRoman avatar ZhymabekRoman commented on June 12, 2024

@nagasawa Lol, do you really think that this way you can run x86 distribution on arm system? By default, proot-distro downloads the arm version of distributions (if host system arch is arm), we need to have x86, so the above proposed method will not suit us, and even more so the proposed method does not allow you to run your custom distributions from the exagear-fs folder

from exagear-for-termux.

ZhymabekRoman avatar ZhymabekRoman commented on June 12, 2024

@nagasawa Try to download proot-distro's distribution archives and exctract it to exagear-fs folder

from exagear-for-termux.

 avatar commented on June 12, 2024

Do you mean running wine on x86 linux?

from exagear-for-termux.

 avatar commented on June 12, 2024

I want to run windows.

from exagear-for-termux.

ZhymabekRoman avatar ZhymabekRoman commented on June 12, 2024

Do you mean running wine on x86 linux?

Yes

I want to run windows.

No way. Only UNIX like OS only you can run on Android with minimal overhead. If you want run Windows application use Wine (fast), or emulate Windows in QEMU (veryyyyyy slowwww)

from exagear-for-termux.

 avatar commented on June 12, 2024

If I want to run windows applications, does that mean that arm64 wine is sufficient?

from exagear-for-termux.

ZhymabekRoman avatar ZhymabekRoman commented on June 12, 2024

@nagasawa No, you need to user x86 Wine, because ARM version of Wine emulates Windows RT - in nutshell, this is a specialized version of Windows for arm, that can not to run a regular Windows application.

from exagear-for-termux.

 avatar commented on June 12, 2024

There seems to be a project that has made it possible to move it.
https://github.com/AndreRH/hangover

from exagear-for-termux.

 avatar commented on June 12, 2024

@nagasawa
It was a simple app, but it looked like a test project that didn't work.

from exagear-for-termux.

 avatar commented on June 12, 2024

It would be helpful to be able to pass proot options. I want to use --bind.

from exagear-for-termux.

 avatar commented on June 12, 2024

/sdcard & $HOME
I want to bind.

from exagear-for-termux.

 avatar commented on June 12, 2024

I'd like to see support for more than just bash.

from exagear-for-termux.

 avatar commented on June 12, 2024
grep "root" exagear-fs/etc/passwd | rev | cut -d ':' -f 1 | rev

/bin/zsh

from exagear-for-termux.

 avatar commented on June 12, 2024
    passwd=`grep "root" $DIST_PATH/etc/passwd`
    shell=${passwd##*:}
    shell_name=${shell##*/}

from exagear-for-termux.

 avatar commented on June 12, 2024

Is amd64 supported?

from exagear-for-termux.

ZhymabekRoman avatar ZhymabekRoman commented on June 12, 2024

Is amd64 supported ?

I tried to add amd64 support using the latest Exagear from Huawei, but seems no way

from exagear-for-termux.

ZhymabekRoman avatar ZhymabekRoman commented on June 12, 2024

There seems to be a project that has made it possible to move it.
https://github.com/AndreRH/hangover

It is very slow, because it uses QEMU to emulate the x86 architecture

from exagear-for-termux.

ZhymabekRoman avatar ZhymabekRoman commented on June 12, 2024

It would be helpful to be able to pass proot options. I want to use --bind.

I'd like to see support for more than just bash.

Well, I'll think about these functions as soon as I find the time. By the way PR is welcome

from exagear-for-termux.

ZhymabekRoman avatar ZhymabekRoman commented on June 12, 2024

After Ubuntu 18.04 Canonical decided to stop supporting i386 (x86) systems, so it doesn't makes sense to install Ubuntu in Exagear today.

So, I close this issue, thanks everybody!

from exagear-for-termux.

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.