Coder Social home page Coder Social logo

androbox's Introduction

androBox

androBox is a series of wrapper scripts for box86/box64 by ptitseb, meant to work in Termux. Unlike similiar projects, this one runs completely natively on Android without chroot/proot resulting in greater speed, all thanks to Glibc-for-Termux project.

Requirments

An Android phone preferably running Android 11 or newer, Termux from F-Droid and Termux-X11 apk.

Install

Paste this command in terminal:

cd $HOME && rm -rf ~/setup.sh && curl -L https://raw.githubusercontent.com/Pipetto-crypto/androBox/androBoxNew/setup.sh -O && bash setup.sh

Simple Usage

From's today update to launch androBox, you can just type androBox in terminal and follow instructions on screen. After updating you will get a black screen or it may not work, that's normal. Force close Termux and Termux:X11 and use new command to launch

Links and Credits

Termux: https://github.com/termux/termux-app

Termux-X11: https://github.com/termux/termux-x11

Box86: https://github.com/ptitSeb/box86

Box64: https://github.com/ptitSeb/box64

Mesa: https://gitlab.freedesktop.org/mesa/mesa

Glibc-for-termux: https://github.com/termux-pacman/glibc-packages.git

Wine: https://gitlab.winehq.org/wine/wine

Winetricks: https://github.com/Winetricks/winetricks

7z: https://github.com/mcmilk/7-Zip

androbox's People

Contributors

pipetto-crypto avatar dannyloic33 avatar

Stargazers

Brandon Lopez avatar | TARS | avatar  avatar Pedro Lopes avatar Xronin avatar  avatar  avatar  avatar  avatar Lee Gao avatar  avatar  avatar Sartek avatar  avatar GreenYoshi (Wang Han) avatar A̶ L̶ Ξ X̶ avatar  avatar  avatar  avatar  avatar 莯凛 avatar Salman avatar  avatar  avatar Juan avatar Shader Coder avatar Adrian avatar  avatar  avatar  avatar SS avatar XHYN avatar Kirikaze Chiyuki avatar Pavan Ganti avatar  avatar  avatar caplogistica avatar  avatar V avatar Thibault PECH avatar Zhymabek Roman avatar Erik Scholz avatar  avatar zhenrong-wang avatar Muh. Sukrillah avatar Jai A P avatar  avatar  avatar  avatar Temanor avatar thatmidcoder393 avatar İlhan Atahan avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar Inosuke Hashibira avatar  avatar Francisco avatar error avatar qwertypower avatar  avatar  avatar  avatar  avatar Nguyễn Văn Khánh avatar Larson T. avatar  avatar  avatar  avatar

Watchers

Benjamin Benda Gates avatar  avatar  avatar  avatar  avatar

androbox's Issues

Can not open any program

After install new update and patch, can't open any program. Like graphictest

Gpu A640
Android 13

wine 7.1

could you please patch wine 7.1 to work on termux natively
it will be so helpful
thx 🙏

Affinity core

Can you add set affinity core option on termux ?

Always set as in the pict, have slow performance

Uploading IMG_20231104_183631.jpg…

Failed update prfx

Hello bro, can you make a option re-install glibc_prefix.tar.xz via termux without clear all data/Cache?
I had connection problems while updating prefix, and couldn't boot on termux11.

Screenshot_2023-11-03-10-00-47-452_com termux

termux closes after 5 minutes

Device : redmi 12C
Ram: 3 GB
SoC: mediatek helio G85
Android version: android 12

Everything starts perfectly but after a few minutes the termux application in the background closes.
This problem does not happen to me with exagear or with winlator.

Error Can't run Box64

I've tried re-installing several times, but an error always occurs. and switch to box86 which has poor performance. This happens with new code/script updates. because when I first installed it two days ago, there were no problems like this

Like this
IMG_20231102_085301_168

Can´t open diplay : 0

Hi there.
I just made a clean install of termux and androBox, but if i enter androbox and then number 1, it is trying to find the correct resolution and shows "Can´t open diplay : 0".
Then it opens termux:x11, but nothing more happens. It does not start the windows desktop.

[HELP] how to build box64 & box86 glibc

Help me please
I am trying to build latest box64 for glibc but not working always error

Error: reading elf header of /data/data/com.termux/files/usr/glibc/opt/wine/bin/wine, try to launch using box86 instead
wine: could not load ntdll.so: Cannot dlopen("/data/data/com.termux/files/usr/glibc/opt/wine/bin/../lib/wine/x86_64-unix/ntdll.so"/0x5e2faaf0, 2)

wine: could not load kernel32.dll, status c0000135

build on grun --shell
patchelf used after build
patchelf --set-interpreter /data/data/com.termux/files/usr/glibc/lib/ld-linux-aarch64.so.1 --force-rpath --set-rpath /data/data/com.termux/files/usr/glibc/lib box64

How you build your box64 or box86?

wine 9.0rc4

not working give black screen on Snapdragon 8gen1plus

Bioshock Infinite won't launch

Hello
when i try to launch bioshock infinite it will just be available in task manager for 1 sec or 2 then it will crash.
when i checked the box logs i saw :
` 0204:err:module:LdrInitializeThunk "steam_api.dll" failed to initialize, aborting

0204:err:module:LdrInitializeThunk Initializing dlls for L"E:\Download\Games\BioShock_Infinite-TheCompleteEdition\Binaries\Win32\BioShockInfinite.exe" failed, status c0000005 `

However this game is working fine in winlator.
Screenshot_2023-12-05-13-31-34-945_com mixplorer silver

Here's the boxlogs:
terminal_log@[email protected]

Can't Open Pes 2013

Why Pes 13.exe and settings.exe cant be opened? within a few seconds, the program stopped running in the task manager. the program can run normally in other emulators (exagear, winlator, etc)

Can't open display

How do I fix this issue??
After installation when I use the winedesktop command it says can't open display and also gives me dpkg warning please help
Screenshot_20231217-191623

Nothing happens when launching winetricks gui

It goes to openbox then after a few seconds returns to wine without showing anything

When I write "winetricks --gui" in terminal in openbox I get this error

CANNOT LINK EXCUTABLE "zenity": library "libicuuc.so.73" not found: needed by /data/data/com.termus/files/usr/lib/libharfbuzz-icu.so in namespace (default)

Then nothing shows.
I didn't face this before and it only happened after I cleared termux data and reinstalled androBox so I guess it's because a recent update
Also I tried to reinstall androBox a lot of times but I still get this same error

Does not work with recent version of mobox on Samsung S23

Samsung S23, with Snapdragon 8 gen 2 can NOT run the newest build of this Wine, also it can't run custom builds made by actions from this repository:
https://github.com/PSzczepanski1996/mobox-builds
I am actually trying to run it by solution called mobox:
https://github.com/olegos2/mobox

I used this script to test rc4 version:

cd $PREFIX/glibc
wget https://github.com/Pipetto-crypto/androBox/releases/download/wine-9.0-rc4/wine-9.0-amd64.tar.xz
rm -rf $PREFIX/glibc/wine-ge-custom
tar -xvf wine-9.0-amd64.tar.xz
rm -rf wine-9.0-amd64.tar.xz
mv $PREFIX/glibc/wine $PREFIX/glibc/wine-ge-custom
rm -rf $PREFIX/glibc/opt/scripts/start-tfm
cp $EXTERNAL_STORAGE/Download/start-tfm $PREFIX/glibc/opt/scripts
cd ~
mobox

From this video:
https://www.youtube.com/watch?v=NnkDCUVxt3k

I was testing it on 10 November and also 21 December builds.
It freezes on libraries installation:
image

Any ideas?

VirGL installation question

It seems able use VirGL testsever on androBox. I clicked virgl install but nothing changed. I launched gpu caps viewer but there was no gpu detected.
Screenshot_20231115_100354_TermuxX11

Cannot open any .exe

Successfully launched wine desktop, but cannot open any executables including cubemap or games.

Device is Samsung Note 9 (SD845) and I know this processor can be problematic, but not sure why I can't even open files.

Could not find kernel32.dll

Screenshot_20231103-174147_Termux

Device: Samsung Galaxy S9 Snapdragon 845
Android: 10
I have tried both wine versions and reinstalling from scratch. Will not progress past this.

Problem with Box64 November build

Hi, I am facing 2 problems with box builds for November.

  1. 64 bit games are not working using the November builds, 32 bit games works fine.

64 bit games shows an invalid error in 7zfm and CLI output of running a 64 bit game is shown below




2. Drives are missing from 7zfm in November box builds as shown in screenshots

November Build :

October Build :

Ask

hello brother, I want to ask. is this a kind of Box64droid/termux box? I have tried installing it. but I don't know the command/way to enter Windows

Error during installation, No such file or directory

Error: reading elf header of /data/data/com.termux/files/usr/glibc/opt/wine/bin/wine, try to launch using box86 instead
wine: configuration in L"/home/.wine" has been updated.
cp: cannot create regular file '/data/data/com.termux/files/home/.wine/drive_c/users/u*/AppData/Local/ProcessLasso/config': No such file or directory

Add Wine-GE to setup.sh installer?

It looks like there are only Wine 8.0 and 8.14 to choose in the install setup. Could it be possible to add Wine-GE 8-13 to the installer?

Thanks.

DXVK not working

I've tried to install dxvk, but when trying to launch Cube Map, it shows me this:
Screenshot_20231102-163228_Termux_X11

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.