You are not logged in.

#1 2024-02-18 13:13:15

forward_one
Member
Registered: 2023-06-30
Posts: 32

Install Arch linux on phone

I want to install arch linux on a phone with a core for phone processors. with the ability to launch android applications ( .apk). with a graphical interface like Gnome. I can't find anything like this on the Arch wiki. Is this possible? I want to take down my android and install arch

Offline

#2 2024-02-18 13:49:11

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: Install Arch linux on phone

I highly doubt your phone has an x86_64 processor, so it would not be possible.

But you could check with archlinuxarm as that would have a much better chance of running on whatever processor the phone has.

And with that even if you succeed, I suspect the best you'd get was a very small tablet PC, not a phone (i.e., the actual "phone" functionality would not work).

Last edited by Trilby (2024-02-18 13:51:19)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2024-03-14 23:10:57

awaken
Member
From: in your walls
Registered: 2024-03-14
Posts: 1
Website

Re: Install Arch linux on phone

forward_one wrote:

I want to install arch linux on a phone with a core for phone processors. with the ability to launch android applications ( .apk). with a graphical interface like Gnome. I can't find anything like this on the Arch wiki. Is this possible? I want to take down my android and install arch

I'd say look at something like postmarketOS if you want linux on a phone, but generally, you only need android on a phone. You could also use something like Andronix+Termux if you just want to input commands on a phone.

PostmarketOS:
https://wiki.postmarketos.org/wiki/Main_Page

Andronix:
https://andronix.app/

Termux:
https://termux.dev/en/


Also to consider: Postmarket is really hit-or-miss when it comes to stuff working, so if you want to install it, make sure you take note of any functionalities, or lack thereof

Last edited by awaken (2024-03-14 23:13:40)


But is it really broken?
"You mad bro?" -Scott Lynch

Offline

#4 2024-03-15 05:22:27

shulamy
Member
From: israel
Registered: 2010-09-11
Posts: 465

Re: Install Arch linux on phone

there are phones for linux including arch

ezik

Offline

#5 2024-04-05 07:15:13

midnightclubracer
Member
Registered: 2024-04-05
Posts: 1

Re: Install Arch linux on phone

Arch Linux is for amd64/x86_64 (a kind of CPU architecture, that is mostly for desktop PCs). There are forks of Arch Linux, namely Arch Linux ARM, which work on ARM processors (a CPU architecture, that is mostly used for smaller devices such as a Raspberry PI or a mobile phone), but these are limited to very particular hardware, probably excluding your phone though.
Further reading:
>https://archlinuxarm.org/
>https://en.wikipedia.org/wiki/Amd64

Offline

#6 2024-04-30 09:55:48

uavvyse
Member
Registered: 2024-04-30
Posts: 2

Re: Install Arch linux on phone

Information on phones and architecture, as well as development for postmarketOS, can be found here: https://wiki.postmarketos.org/wiki/Devices.
They've initiated development about arch/phone: https://forum.pine64.org/forumdisplay.php?fid=159.
Both are community sources.
There's a widespread issue in phone camera development, primarily concerning drivers: https://wiki.postmarketos.org/wiki/Camera.

Offline

#7 2024-09-05 23:48:42

ap_qld
Member
Registered: 2024-08-14
Posts: 3

Re: Install Arch linux on phone

Try search for: site:https://xdaforums.com <your phone model>
It seems LineageOS works for my phone and may for yours: https://xdaforums.com/f/galaxy-snapdrag … ent.10447/
Despite not being listed on https://wiki.lineageos.org/devices/

Offline

#8 2024-09-14 02:17:26

Julia
Member
From: Belgium
Registered: 2024-09-14
Posts: 11

Re: Install Arch linux on phone

This can be achieved quite easily.

Install termux from the app store, then run the setupTermuxArch script from here https://github.com/TermuxArch/TermuxArch inside Termux.  I do this with all my android phones, and it works like a charm.  Especially handy for quickly checking my email with mutt.

You can even run Xorg through an app called XServer XSDL (https://github.com/pelya/xserver-xsdl), though it's a bit laggy.

If your phone is not rooted, you can install yay and other AUR packages using "runuser -u nobody -- <makepkg or yay command>".  You might have to set a password for user nobody first.

Good luck!


if [[ $yourProblem = "fixed" ]] ;then
    sed -i 's/Title/[SOLVED] Title/g' your.thread | please --thank-you
fi

Offline

Board footer

Powered by FluxBB