Sunday, November 8, 2020

Convert your old phones to Linux workers

Use a rotary dial phone on POTS plain old telephone system,
twisted pair copper wiring circa 100 years ago.
Or learn to write again.
Writing beats talking.

Use airplane mode on your devices.
Be sure no bluetooth or cell phone service.
Wifi is safer if you have to have a connection.
Solid wire or fiber optic connection the best.

Convert your old cell phones into something useful such as
a home security system
or crypto currency miner get rich scheme,
or website,
or webcam,
or child monitor,...

Old phone hardware is still great
the software needs free linux fixup.

all good is linux,
almost everything is linux
or is becoming linux.

Apple macos is bloatware linux.
Microsoft Windows 10 is converting to bloatware linux.
Android is a bloatware add-on to linux.
Get rid of the bloat and convert backward to true linux, lean and clean:

https://www.linux-magazine.com/Online/Features/Convert-an-Android-Device-to-Linux

Installing a regular Linux distribution on an Android device opens a whole new world of possibilities.

You can turn your Android device into a full-blown Linux/Apache/MySQL/PHP server
and run web-based applications on it,
install and use your favorite Linux tools,
and even run a graphical desktop environment.

In short, having a Linux distro on an Android device can come in handy in many situations.

You can install Linux on an Android device in several ways,

some of the available options.

KBOX: No Root Required

In many cases, installing Linux on Android usually means going through the rigmarole of rooting the Android system with the risk of bricking your Android device.

If you don't find this idea all that appealing, then you might appreciate KBOX.

This miniature single-user Linux distribution is integrated directly into a terminal emulator,

and it can be installed on non-rooted Android devices

KBOX is not available in the Google Play Store,
so you have to download the APK package from the project's website and install it manually.

By the way, the author of KBOX provides not only the ready-to-use package
but also some technical descriptions of KBOX's inner workings.

KBOX comes with an assortment of BusyBox utilities
(find, grep, tar, vi, etc.),
an SSH server and client,
and the scp tool.

A handful of other packages are available as separate downloads, including vim and rsync.

Rsync can act both as a client and server.
Installing packages on KBOX is done using the dpkg tool.
To install, for example, the rsync package,
grab it from the project's website
and use the following command:
dpkg -i /sdcard/Download/rsync_3.0.8_kbox.deb

Obviously,
KBOX is not a replacement for a full-blown Linux distribution,
but it can be useful in certain situations.

you can use this powerful and flexible tool to back up files on your Android device to a remote server,
and thanks to the supplied SSH server,
you can access your Android device via an SSH connection.

Going the chroot Root: Linux Deploy

Although KBOX offers a straightforward way to install Linux on an Android device,
you might find it too limited for your needs.
In this case, you should consider installing a regular Linux distribution,
but to do this, you must root your Android device first.

The exact rooting procedure depends on your particular Android device,
and it can be tricky at times.

However, plenty of rooting guides are available online to help you along the way.

When it comes to installing Linux on a rooted Android device,
one option is Linux Deploy.

This open source app offers an easy way to install and run a supported Linux distribution in a chroot environment, which is basically a special directory that acts as a temporary root directory.

Because the root directory is the top of the filesystem hierarchy,
applications running in the chroot environment don't access directories higher up than the root directory.

In other words, chroot creates an isolated environment that doesn't interfere with the rest of the system.

The good news is that Linux Deploy hides all the gory technical details behind a user-friendly interface, so you don't need to know all the nitty-gritty to be able to install and run Linux on your rooted Android device.

Before you proceed with installing Linux on Android using Linux Deploy,
you need to install two additional apps on your device:
a terminal emulator and a VNC client.

Although several terminal emulator and VNC client apps are available in the Google Play Store,

you can't go wrong with VX ConnectBot and MultiVNC.

Both are capable open source apps available free of charge.

To install one of the supported Linux distributions using Linux Deploy, launch the app, and tap the Properties button. The Properties window contains a list of configurable options.

Choose Debian, for example, and you can pick the desired version (stable, testing, unstable, etc.) in the Distribution suite list.

If you are installing Debian, you can find a list of mirrors online. Pick the mirror closest to you and enter its URL as follows:

http://ftp.de.debian.org/debian

Linux Deploy can install Linux into an image file, a specific folder, or a separate partition, and you can choose the desired option in the Installation type list. In most cases, installing Linux as a single image file makes most sense, especially on devices that don't support additional storage.

If your Android device has an SD card slot, you can install Linux on a storage card or use just a partition on the card for that purpose.

You can choose the desired installation option from the Installation type list (Figure 2).

If needed, you can also use the appropriate options to change the default installation path, specify the desired image size, choose the filesystem, and change the default android username.

Linux Deploy lets you install a graphical desktop environment, too, and the app supports several popular graphical desktops, including LXDE, Xfce, Gnome, and KDE.

To install a desktop environment, pick the desired desktop from the Desktop environment list and enable the Install GUIoption.

The next stop is the Startup section. To start, make sure the SSH option is enabled; otherwise, you won't be able to connect to the running Linux instance.

No comments:

Post a Comment