Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/krmanik/manjaro-linux-on-android
Install Manjaro on Android
https://github.com/krmanik/manjaro-linux-on-android
manjaro manjaro-on-android proot proot-android proot-distro termux
Last synced: 2 months ago
JSON representation
Install Manjaro on Android
- Host: GitHub
- URL: https://github.com/krmanik/manjaro-linux-on-android
- Owner: krmanik
- Created: 2020-08-01T07:11:11.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T09:55:43.000Z (about 2 years ago)
- Last Synced: 2024-10-10T12:35:41.153Z (3 months ago)
- Topics: manjaro, manjaro-on-android, proot, proot-android, proot-distro, termux
- Language: Shell
- Homepage:
- Size: 10.2 MB
- Stars: 74
- Watchers: 3
- Forks: 5
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Manjaro Linux on Android
Install Manjaro on Android using Termux## Get preinstalled xfce4 and vncserver Manjaro rootfs
Just download and proot into rootfs using TermuxView [manjaro-rootfs-arm64](https://github.com/krmanik/manjaro-fs-arm64)
## Note: Tigervnc 1.11.0 have issues running vncserver.
It is recommended to downgrade Tigervnc to 1.10.1. [View this for more](https://github.com/krmanik/Manjaro-Linux-on-Android/issues/5)## Requirements
- Android device running arm64 architecture and minimum version of 7.0 Nougat.
- At least 5GB free storage space
- Termux
- A VNC viewer## Quick Start
Copy this and paste it in termux and follow steps to install```
pkg install -y wget proot pv pulseaudio && wget https://raw.githubusercontent.com/krmanik/Manjaro-Linux-on-Android/master/manjaro.sh && chmod +x manjaro.sh && ./manjaro.sh
```## Install Manjaro cli only and install DE or WM manually
1. Install wget and get `manjaro.sh` script
```
pkg install -y wget proot pv pulseaudio
wget https://raw.githubusercontent.com/krmanik/Manjaro-Linux-on-Android/master/manjaro.sh
chmod +x manjaro.sh
./manjaro.sh
```Note: Do not install `tigervnc` and desktop environment like `xfce4`, instead install it manually.
So, select `None` from Manjaro setup menu `None`, `xfce4`, `LxQt`, `Mate`, `i3`2. Install DE or WM
a) If want to use xfce4 then install it
```
pacman -Sy xfce4
```
b) If want to use openbox then install it
```
pacman -Sy openbox
```3. Install tigervnc
```
wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Pacman/tigervnc-fix.sh
chmod +x tigervnc-fix.sh
./tigervnc-fix.sh
```
View tigervnc-fix.sh```
pacman -S tar wget sed --noconfirm
pacman -U https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/tigervnc-1.10.1-1-aarch64.pkg.tar.xz --noconfirm
curl -s https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/lib.tar.xz -o /usr/lib/a.tar.xz && tar xf /usr/lib/a.tar.xz -C /usr/lib
sed -i '27i IgnorePkg = tigervnc' /etc/pacman.conf
```
4. Now run DE or WM
a) DE
```
vncserver
export DISPLAY=:1
startxfce4 &
```b) WM
```
vncserver
export DISPLAY=:1
openbox &
```A laucher script can be created for running vncserver, export and xfce4 or openbox
5. Now customize as per requirements
## Demo
## Disclaimer
The software, code and website links available in this GitHub repo are provided "as is" without warranty of any kind, either express or implied.
**Use at your own risk.**# Steps to install Manjaro
1. Install [termux](https://play.google.com/store/apps/details?id=com.termux) and [RealVNC](https://play.google.com/store/apps/details?id=com.realvnc.viewer.android) from play store| Termux | RealVNC |
|----------|:-------------:|
| | |2. To install Manjaro, copy following and paste it in termux
```
pkg install wget && wget https://raw.githubusercontent.com/krmanik/Manjaro-Linux-on-Android/master/manjaro.sh && chmod +x manjaro.sh && ./manjaro.sh
```3. It will install missing dependencies. (For audio)
4. Select "Install the latest rootfs"
5. Specify the installation directory
6. Wait for the first installation to finish
7. Select desktop environment, select as per your requirements
**Size**
| xfce4 | lxqt |
|----------|:-------------:|
| | |8. Select an username
9. Enter password for the username
10. Continue to install TigerVNC
11. Wait for setup to finish
12. Access it in VNC viewer android app. Run vncserver and ```Enter new password and confirm password``` at first run, inside manjaro terminal
```
vncserver
```13. Open RealVNC app and enter following
```
Address
localhost:1Name
manjaro
```
Enter password for the user to access it.# To run it after termux closed.
1. Open termux
2. To run Manjaro
```
./manjaro.sh
```
Select ```Chroot into existing rootfs```3. May be ```vncserver``` not closed successfully, then re-run it.
```
vncserver -kill :1
```
Then
```
vncserver
```
4. Now open VNC viewer android app and type name and password and access it.# Install Manjaro Demo
# Install Software
If Manjaro installed with desktop environment then continue.
## Anki
1. Run Manjaro
```
./manjaro.sh
```
2. Then in Manjaro, run following.
```
sudo pacman -S anki
```
It will install Anki 2.1.15-13. Type anki to run it
```
anki
```
Or by selecting it in desktop environment### Demo
# Some tips
1. Change ```Picture Quality``` to ```High``` in VNC viewer android app
2. Change to lower resolution inside ```Manjaro Display Settings``` for small screen devices
3. Uninstall unused programs from Manjaro to get more storage space
4. Hacker Keyboard from Play store can be used**5. ```vncserver``` may be re-run to view it in vncviewer**
Inside Manjaro console
```
vncserver -kill :1
```
```
vncserver
```
Then open VNC viewer android app to access it.**6. Add script to ```.bashrc``` to run script at startup.**
Inside Manjaro terminal```
cd ~
``````
nano startup.sh
```
Add this to ```startup.sh```, To run anki at startup
```
anki
```
```CTRL + o``` and ```CTRL + x ``` to save and exit.Add this to ```.bashrc```
```
nano .bashrc
```
Add ``` ./startup.sh ``` the end of ```.bashrc``` fileAgain, ```CTRL + o``` and ```CTRL + x``` to write and exit.
*But opening terminal in Manjaro will again run that script.*
# Faq?
### Black screen on VNC viewer?
There are many solutions for that. But in some cases reinstalling desktop environment may solve the problems.
For example: xfce4, run this to install xfce4.
```
sudo pacman -S xfce4 xfce4-goodies
```
# Credits
ItsMeKuroro
[https://forum.manjaro.org](https://forum.manjaro.org/t/how-to-run-the-official-manjaro-arm-edition-on-android-with-chroot-environment/151429)