You are browsing as a guest. Sign up (or log in) to start making projects!

Arch on your Android

  • 3 Devlogs
  • 6 Total hours

I'll add a screenshot later once it actually works. This project utilizes the Termux Android app (and maybe others) to get Arch Linux (or another distro) working on your Android. This means that you can get a light Linux desktop or window manager working on your Android. All you'd need to do is download and open Termux (F-Droid or Play Store), start the script, and answer the questions. You don't even need a rooted device!

Open comments for this post

44m 3s logged

This is a quick and off the style devlog, but hopefully it’s still informative. This is Devlog 3 for Arch on your Android.

Basically, there is a giant dialog flag bug in my code. It has something to do with missing arguments for a flag.

The way dialog works, if you don’t know, is that there are flags that you can add at the end of the dialog command that customizes it. For example, this dialog --title "Test Title" --msgbox --stdout "Test Contents of a file" 0 0 would display a standard message prompt. But because of some syntax error, I keep getting

Expected no less than 20 tokens for -i, have 4. 
Use dialog --help for all options.

or something similar.
I have to do extended testing and may have to start some 60-line segments of the code over. That will take a while, so the rest of the setup (which is now 4 parts instead of 3) will have to wait.

By the way, this is just a random screenshot of it in action right now.

0
0
1
Open comments for this post

2h 21m 24s logged

Pre-devlog notes

By the way: sorry iOS users, but the Termux app doesn’t work on iOS. I don’t have enough time to make “Linux on your iPhone” or something, so this is strictly Android-only.

Actual Devlog 1

I make things easier for myself by counting GitHub releases as versions. This is like version 0.

What changed?

I decided to redo the whole script with the dialog packag e instead. I could make a lot cleaner case statements, haven’t hit a syntax error yet, and, as a bonus, it has the same easy menu used in easyAPT.

What’s next for Arch on your Android?

Here are my next plans:

  • All shell scripts for all setup parts being completed
  • Bug tested
  • Actually tested in a environment on my own Android

Thank you for reading! If you have any questions, comments, or recommendations, please let me know!

0
0
2
Open comments for this post

3h 20m 19s logged

Pre-devlog notes

If it wasn’t obvious, I like working with Android and Linux. So expect more of this from me.

Actual Devlog 1

I make things easier for myself by counting GitHub releases as versions. This is like version 0.

What changed?

I was able to get the first script done, but not bug checked. There are three parts of Arch on your Android setup: Part 1 (within Termux), Part 2 (within the proot environment as root, shortest of the whole setup for obvious reasons), and Part 3 (within the proot environment as the specified user.) There are a few syntax errors in the first script, so that’ll be checked for later.
The reason why this part is so short is because saying everything that I added in the about 500-line long would take too long.

What’s next for Arch on your Android?

Here are my next plans:

  • All shell scripts for all setup parts being completed
  • Bug tested
  • Actually tested in a environment on my own Android

Thank you for reading! If you have any questions, comments, or recommendations, please let me know!

0
0
2

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…