Giter Club home page Giter Club logo

andronixorigin's Introduction


Install Linux on your Android 🔥


How does this work?

Andronix is simple inside the hood (well not really, but most of it is simple to understand). Andronix uses PRoot to run your favourite Linux distribution on your Android devices.

What exactly is PRoot?

As stated in the official website of PRoot

PRoot is a user-space implementation of chroot, mount --bind, and binfmt_misc. This means that users don't need any privileges or setup to do things like using an arbitrary directory as the new root file system, making files accessible somewhere else in the file system hierarchy, or executing programs built for another CPU architecture transparently through QEMU user-mode.

or in easier words, the benefits of enabling PRoot include running Linux operating systems in a Termux chroot on an Android smartphone, tablet and Chromebook.

We use Termux to provide the command line and the packages that are especially compiled for Termux implemented inside Andronix.

Get started now 🚀

Hey! 😊, let's introduce to the basics of the documentations around here. This is the doc-hub for Andronix, from development to installations, you can find almost everything here. Read the documentation here

Introduction Docs 📒

Here you can find all the information necessary to understand Andronix better. Diving deep in PRoot, app structure and Shell scripts that actually make you understand about what's actually happening.

Installation Docs 📱

All and everything for you to get up and running with your favourite Linux Distribution. If you're seeking for help installing a distribution, this is place you need to be. Read the installation docs

Apps Installation 💻

Here are the installation procedures of few most popular apps like VS Code, IntelliJ Idea, GIMP, Blender etc. Easy to follow and quick! Read the app installation docs

Development Docs 👨‍💻

Looking into contributing and developing things around or for Andronix? Here you can find all the required documentation regarding termux-packages, app, scripts or anything to development. We are working on it 👷‍♂️

What can you do with Andronix?

Pretty much anything you like to do. You're just limited by the lack of the full Linux kernel, the SELinux policies of your Android versions, your CPU architecture and your device's hardware. We have users replacing their entire laptops and computer with Andronix. We are looking for something that can support web-browsing, coding or anything else that is not really taxing on your phone's hardware then you can use Andronix without any issues.

You don't have to worry about multi-booting your system which means you can have all the Un-Modded and Modded OS installed at once. 12 OS at once given that you have the storage for it. Install as many as you like, uninstall them when you're done.

Here's what you can't do on Andronix systems

Is it free?

Yes! ⚡ Andronix is completely Ad-free and all the Un-modded distros and free to use as much as you want.

On the other hand Modded OS are paid but they are very economical considering it is a lifetime purchase with unlimited installs on unlimited devices. (We spend hours optimizing and packing it, and these are very large files which we need to serve requiring a massive amount of bandwidth, which costs money).

You can also get Andronix Premium which is another way to support the developers. You also get a few perks including online sync with Andronix Commands and a web-app to access it from any device you want.

What OS are supported?

Andronix currently supports 8 Un-Modded OS and 4 Modded OS at the moment.

Un-Modded OS

  1. Ubuntu
  2. Debian
  3. Manjaro
  4. Fedora
  5. Kali
  6. Void
  7. Alpine
  8. Arch

Desktop Environment

  1. LXDE
  2. LXQT
  3. XFCE

Windows Managers

  1. Awesome
  2. Openbox
  3. i3

Modded OS

  1. Ubuntu XFCE
  2. Debian XFCE
  3. Ubuntu KDE
  4. Manjaro XFCE

Are we open-source? 📖🔓

Yes but no. Andronix is partially open-source. All the free distro tar files and the shell scripts are available on our GitHub repository. While all the paid things, like the actual Android app and all the files concerning Andronix Modded OS are close-source for obvious reasons.

That doesn't mean that we don't love open-source, we 💘 open-source. In fact if you're a developer or a maintainer of an open-source project, we will be more than happy to provide you everything for free for life. Just get-in touch with us and complete the process of verification😊.


Here are a few screenshots 🤘


andronixorigin's People

Contributors

9at8 avatar aerox912 avatar andrewspec avatar imprakharshukla avatar ivoszbg avatar sepatu-bot avatar ultrahacx avatar

Stargazers

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

Watchers

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

andronixorigin's Issues

Proot says manjaro is 64 bits

I tried to run manjaro on lxqt, xfce and the non de version, but on all i get a error saying is 64 bits and proot can only run 32 bits, im on a moto g7 with a armv7 processor

Make custom hostname work

Having "localhost" in:

root@localhost:~# 

is annoying and there is no easy way to modify it as /etc/hostname is ignored (probably because there is no init running).

The way to fix this is to pass:

-k "\\$(uname -s)\\$(cat distro-fs/etc/hostname)\\$(uname -r)\\$(uname -v)\\$(uname -m)\\localdomain\\-1\\" 

to the proot command. That would make proot set the hostname to the contents of distro-fs/etc/hostname (related code).

Note that you can't add it as it is with the current command+=" ..." proot calling style, as $(uname -v) prints a string with spaces, which are then interpreted as separate arguments. However, if you call:

exec proot $args -k "\\$(uname -s)\\$(cat distro-fs/etc/hostname)\\$(uname -r)\\$(uname -v)\\$(uname -m)\\localdomain\\-1\\"

then it works.

Replace wget with curl

Explanation

A lot of people have had problems with curl recently. I think replacing it with curl should help a lot.

Implementation Example

Old

pkg update -y && pkg install wget curl proot tar -y && wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Ubuntu19/ubuntu19-xfce.sh && chmod +x ubuntu19-xfce.sh && bash ubuntu19-xfce.sh

New

pkg update -y && pkg install curl proot tar -y && curl https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Ubuntu19/ubuntu19-xfce.sh --output ubuntu19-xfce.sh && chmod +x ubuntu19-xfce.sh && bash ubuntu19-xfce.sh

pip error ...please help

i use kali. I install python pip. But when i type " pip -V " than show errror.

♦root@localhost:# pip -V
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in from pip._internal import main
File "/usr/lib/python2.7/dist-packages/pip/_internal/init.py", line 19, in
from pip._vendor.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/dist-packages/pip/_vendor/init.py", line 65, in
vendored("colorama")
File "/usr/lib/python2.7/dist-packages/pip/_vendor/init.py", line 36, in vendored import(modulename, globals(), locals(), level=0)
File "/usr/share/python-wheels/colorama-0.3.7-py2.py3-none-any.whl/colorama/init.py", line 2, in
File "/usr/share/python-wheels/colorama-0.3.7-py2.py3-none-any.whl/colorama/initialise.py", line 6, in
File "/usr/share/python-wheels/colorama-0.3.7-py2.py3-none-any.whl/colorama/ansitowin32.py", line 7, in
File "/usr/share/python-wheels/colorama-0.3.7-py2.py3-none-any.whl/colorama/winterm.py", line 2, in
File "/usr/share/python-wheels/colorama-0.3.7-py2.py3-none-any.whl/colorama/win32.py", line 8, in
File "/usr/lib/python2.7/ctypes/init.py", line 556, in
_reset_cache()
File "/usr/lib/python2.7/ctypes/init.py", line 276, in _reset_cache
CFUNCTYPE(c_int)(lambda: None)
MemoryError
root@localhost:
#
Screenshot_20191103-152425

Apps not open

Hey i installing ubuntu in my phone and also libreoffice but apps are not opened, it shows in application and when you click on then nothid happend.
From terminal it also not opened throws some error libreoffice not found

Fix /etc/apt/sources.list on Debian

You want to use:

deb http://deb.debian.org/debian buster main contrib non-free
deb http://deb.debian.org/debian buster-updates main contrib non-free
deb http://security.debian.org buster/updates main contrib non-free
#deb http://deb.debian.org/debian buster-backports main contrib non-free

on Debian.

Currently the buster/updates is missing and buster-updates doesn't include contrib non-free.

Can't start modded Ubuntu KDE

I'm getting the following error when running ./start-androkde in Termux:

"/usr/share/andronix/switchuser: line 1: exec: su: not found"

As a result, I am no longer able to start Ubuntu.

Suggestion: Ubuntu Desktop DE

ive installed this in my Mi A3 and ive been loving it, but in ubuntu not using the Ubuntu Desktop DE doesnt feel right, even my friends and myself felt that

I just wanted to suggest u guys to add Ubuntu Desktop DE for ubuntu

Issues in logout and exits and Fan recomendations

Its been a while waiting

Hey andronix team

I am a big fan of your works

Here are some fan recommendations
please include command command=+ " --kill on exit " in your all modded and unmodded distros
lack of this line in you scripts causing problems like

  • not exiting or logging out properly
  • Mostly proot binds are not closing even after logging out
  • And eating up more ram and CPU

And please include the Installation folder lock or we can say (default installation location to your install scripts)

# Like this
if [[ -z "$ANDRONIX_IHOME" ]]; then
folder="${HOME}/debian-fs"
else
    case ${ANDRONIX_IHOME} in
    /data/data/com.termux/*) folder=${ANDRONIX_IHOME} ;;
    *)
    echo
    echo "Location set to invalid destiantion ${ANDRONIX_IHOME}" 
    echo
    folder=${HOME}/debian-fs ;;
    esac
fi

And also additionally

  • please add more dev and proc mount points
command+="/dev/urandom:/dev/random"
# and
command+="/proc/self/fd:/dev/fd"
command+="/proc/self/fd/0:/dev/stdin"
command+="/proc/self/fd/1:/dev/stdout"
command+="/proc/self/fd/2:/dev/stderr"
And also most important

Windows has released its official visual code studio for arm64 and arm devices so please update your vs code scripts. I made some tests on it it's working great in andronix distros and others too. So no more code-oss, please.

And we are waiting for your mic support too
And we are waiting for more optimizations and fixes in distros and modded os and multi-arch emulation with qemu

And we need more fixes and upgrades In custom procs stats and versions and more
These normal issues are leading not to love your scripts

😀
💜

Don't call ubchromiumfix.sh for Debian

ubchromiumfix.sh shouldn't be called for Debian, please remove the call to it. It appears like its purpose is to be used on Ubuntu, to remove the snap version of Chromium and use the Chromium from Debian instead.

Btw, this shouldn't be done for Ubuntu either, Debian and Ubuntu packages are not compatible, you might break your Ubuntu system by pulling Debian packages into it.

The last sed command in ubchromiumfix.sh might be needed due to proot though, and that's only if the system has chromium installed, e.g.:

if [ -f /usr/share/applications/chromium.desktop ]; then
    sed -i 's/chromium %U/chromium --no-sandbox %U/g' /usr/share/applications/chromium.desktop
fi

Switch DE

During the installation of XFCE, GDM was also installed. But however if I install MATE, I'm not able to switch from XFCE to MATE and vice versa. Is there any way to do it in andronix since there is no login screen?

Your email is broken

Sending message to [email protected] resulted in this:

Address not found
Your message wasn't delivered to [email protected] because the address couldn't be found, or is unable to receive mail.
The response from the remote server was:550 No Such User Here

Crash

I have mi a3 with android zero (and10)
The app just crash when launching it.
And Please any tutorial to run .exe file (blender fxm) in andronix??!

Bottom option bar shows by unindetified action while Bluetooth keyboard, locking functionality of desktop

Screenshot_20200610-152830_VNC Viewer

After any unidentified keystroke while using Bluetooth keyboard bottom looking like keyboard option show up and changing desktop view disabling any functionality of the desktop. The only available action is scrolling left and right on the new bottom bar but clicking any button does nothing. I was unable to exit from it by any command, mouse moves but doesn't do anything on the desktop. You can point on the bottom bar but clicking any button does nothing. Only solution to exit was to restart the system. I was unable to recreate the error again.

Samsung s10e, Ubuntu paid version

"apt-get upgrade" show 2 error

I install kali. When i use command " apt-get upgrade " than show 2 error..

♦First error...

E: Setting in Start via TCSAFLUSH for stdin failed! - tcsetattr (13: Permission denied)

♦Second error...

Errors were encountered while processing:
udisks2
gvfs-daemons
gvfs:armhf
E: Sub-process /usr/bin/dpkg returned an error code (1)

please help..
Screenshot_20191102-145457
Screenshot_20191102-145602

XSDL X server support

Hey.

I am the developer of XSDL X server app. I would like to suggest you to include XSDL support into AndroNix.

XSDL provides faster rendering than using VNC server. It even supports shared memory speedup, if you put libandroid-shmem-disableselinux.so into your Debian rootfs and set env variable

LD_PRELOAD=/path/to/libandroid-shmem-disableselinux.so

XSDL also comes with built-in PulseAudio server, just set env variable in your chroot

PULSE_SERVER=tcp:127.0.0.1:4713

Compared to RealVNC viewer app, XSDL does not have convenient screen buttons to zoom and invoke keyboard (you press Back key for keyboard), but I am accepting suggestions here.

You can start XSDL directly from your app, see the sample code here: https://github.com/pelya/xsdl-launcher-example

XSDL is available here, with sources: https://play.google.com/store/apps/details?id=x.org.server

You can download shared memory library here: https://github.com/pelya/commandergenius/blob/sdl_android/project/jni/application/xserver-debian/AndroidData/overlay-arm64-v8a.tar.xz

I did not update this app for three years, so the rating is kinda low, don't let this dissuade you.

Applications colors change when using a low-quality old monitor.

Screenshot_20200610-155550_VNC Viewer

Applications colors change when using a low-quality old monitor. When looking at the phone screen colors look more vibrant and normal. Taking screenshot by phone it displays colors shown on a low-quality monitor instead of real colors displayed on phone screen.

Samsung s10e. Ubuntu paid version.

Why do you claim that acces to sd card is imposible?

First of all I have to tell I have activete 'termux-setup-storage'. I was add to start-debian.sh command: ' command+="-b /storage/0000-0000 " ' and in debian i was give ''cd /sdcard/Android/data/com.termux && mkdir debian' and after that 'cd ~ && ln -s /sdcard/Android/data/com.termux/debian myData ' and I was able to move dictionary 'Download' to this. Yes I can not execute script, but I store picture and game for dos emulator(btw dos in andronix is more stable than in android[and dos can execute this,
despite of is it in sd...]). Yes when I delete termux I delete dis dictionary but when i uninstall termux I distroy distro Nevertheless... .

Cannot find name for group ID

Starting Ubuntu XFCE modded OS results in :

$ ./start-andronix.sh
groups: cannot find name for group ID 20305            
groups: cannot find name for group ID 50305

Then I get

==> Configuration complete. Cleaning up...     
==> You can start using your newly installed Andronix Modded OS...
mesg: change /dev/pts/0 mode failed: Permission denied

I'm on OnePlus 7T.

Repository size is too large

Hey folks! 👋

I was wondering if we can move the images to another repo and add it as a submodule in this one? I tried cloning this repo, and it takes forever to do it 😢

I think I have decent bandwidth: 50 Mbps down, 10 Mbps up.

Right coroner buttons does not show up.

Screenshot_20200610-155421_VNC Viewer
Screenshot_20200610-155431_VNC Viewer
Screenshot_20200610-155550_VNC Viewer

When first booted to a desktop any system window expect for terminal does not show up right top corner button for closing, minimalizing, full screen. I am not able to see buttons but when I point in this corner buttons show up separately. After closing and opening 2-3 times buttons showed up.

Samsung s10e. Ubutu paid version.

Don't access sdcard

I am install kali but don't get sdcard path. What is the sdcard path? Please help.

Unable to login via google

Not able to login via google. And all of my premium and modded os purchases were not shown in account.

Using Termux-X11

Hi. There is an abandoned project https://github.com/termux/termux-x11 . You can try to fix it to use inside your project. It is much faster than VNC. It is impossible to use termux-x11 with xwayland inside termux app home dir so you will need to have patched xwayland inside andronix app.

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.