0:00
I have three phones in front of me and
0:02
every single one of them is running
0:05
On this channel, I have made multiple
0:07
videos about getting Linux on Android.
0:09
This video is the honest answer to all
0:12
Is Linux on a phone actually useful?
0:15
Can it replace your PC?
0:17
Let me break down what each of these
0:19
phones is actually doing because they
0:21
are not all the same thing. The first
0:23
one is running Linux inside a container
0:25
with full hardware acceleration. The
0:27
second is running Linux through proot,
0:29
basically a compatibility layer.
0:31
And the third one is completely
0:33
different. It is called the Android
0:35
Virtualization Framework, a native Linux
0:37
terminal built directly into Android.
0:40
I have not installed any third-party app
0:43
So, let's start with the third one. This
0:45
phone is running Linux natively on my
0:47
phone with complete kernel access.
0:50
And when I plug it into a monitor, it
0:52
becomes a full Linux desktop on screen.
0:55
Inside it, I have opened
0:56
LibreOffice, Blender, a terminal, and
0:59
Chromium all at the same time.
1:02
I even ran Docker inside it. A real
1:04
Docker container running inside a
1:06
Android phone is unexpected.
1:10
App switching is fast. It runs Debian
1:13
under the hood, so anything you can
1:15
install on a normal Debian machine, you
1:17
can install here, too.
1:19
To actually test stability, I stress
1:21
tested it for 15 minutes and I also left
1:23
it running overnight with Linux active.
1:26
It did not crash even once.
1:29
I even built something real on it. A
1:31
simple Python script that takes a
1:32
YouTube channel name and pulls details
1:35
like subscriber count, video count, and
1:37
more. Written and tested entirely on
1:41
The only real problem with this setup is
1:43
that in my testing, it only works
1:45
properly on Pixel devices and some
1:47
Nothing phones. Not Samsung, not
1:49
OnePlus, not most other Android devices.
1:52
But before you close this video because
1:54
you do not have a Pixel, there are other
1:56
ways to get Linux on your phone. The
1:58
ones I showed earlier in the video.
2:00
I built a script that sets up Linux on
2:02
almost any Android phone. It is already
2:04
on GitHub with over 1.5 K stars and
2:07
people are using it right now.
2:09
There is also a one-click method called
2:11
Userland that sets up Linux in a proot
2:15
Now, back to rootfs. This is the Moto.
2:18
Running Linux through a container with
2:20
hardware acceleration. Same story. Plug
2:22
it into a monitor and you get a Linux
2:24
desktop on your screen. It runs
2:27
LibreOffice, Wireshark, VS Code, Cloud
2:30
Code, full terminal access, almost
2:33
anything you would need for light work.
2:35
And the best thing is this can run on
2:37
almost any Android phone.
2:39
If you have a Snapdragon phone, my
2:41
script installs Mesa Zinc and Turnip
2:43
Vulcan drivers for hardware
2:44
acceleration. And even if you do not
2:46
have a Snapdragon phone, it falls back
2:49
to software rendering. Yeah, it is
2:50
slower, but still usable and stable.
2:53
Userland, on the other hand, is based on
2:55
proot. I do not really recommend
2:58
installing that anymore because I
2:59
already added proot support to my own
3:03
Inside a rootfs container, you can
3:05
mostly install only Termux tools and tur
3:08
packages. But with proot, you can
3:10
install almost any Linux tool on it. And
3:12
the best thing is my script can even
3:14
enable hardware acceleration inside
3:16
proot. I already made a dedicated video
3:19
on that setup. You should watch it. You
3:21
are probably going to love it.
3:23
So, can your phone actually replace your
3:25
laptop? If your phone supports display
3:27
output and your work is mostly office
3:29
tasks, browser work, scripting, or
3:32
lightweight coding, then yeah, it can
3:34
work as a portable Linux setup.
3:37
Thermal limits are still there. Some
3:38
desktop features are missing and the
3:41
whole thing still needs a monitor,
3:44
At which point you are basically
3:46
carrying laptop accessories without the
3:49
But But is the thing. I have genuinely
3:51
used this for real work, not just
3:53
testing, actual work. Spreadsheets,
3:56
scripts, managing projects on the go, it
3:58
holds up for that. And honestly, phones
4:01
are more powerful than most people give
4:04
Apple literally put a phone chip, the
4:07
A18 Pro, inside the MacBook Neo and
4:12
And on this channel, I already showed
4:13
you an app that generates images locally
4:16
No cloud, no server, just the phone.
4:20
So no, it is not a full laptop
4:22
replacement yet, but it is not a toy
4:24
either, and it is only getting better.
4:27
Installation links for both the root FS
4:29
container and the Pixel native terminal
4:31
are in the description. Check them out.
4:34
Thanks for watching and see you in the