LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Firefox OS, Sailfish OS, Maemo, MeeGo, Ubuntu Mobile, WebOS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site: AndroidQuestions.org

Notices


Reply
  Search this Thread
Old 08-19-2019, 04:53 AM   #16
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 13
Posts: 1,500

Rep: Reputation: 193Reputation: 193

Meh. It's Google's surveillance via their software offerings, rather than Google's few hardware offerings, that's the concern. So, if an old refurbished phone of theirs is the ticket away from their software, then great. And regardless, I think having access to a Linux phone that's more compatible with my desktop will be a benefit. So, I'm going to get the Nexus 5 and test it out. It'll be interesting to see if everything works on it, given that Replicant has never succeeded in fully working (unlike LineageOS with proprietary blobs). If so, then it's a full Linux phone for a fraction of the price of the upcoming Librem 5.
 
Old 08-20-2019, 12:54 AM   #17
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 12,304
Blog Entries: 9

Rep: Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309
Quote:
Originally Posted by mark_alfred View Post
It's Google's surveillance via their software offerings, rather than Google's few hardware offerings, that's the concern.
I'd like to disagree.
That is admittedly not Google, but then it's also not about Google phones, so who knows? I wouldn't put it past them.

But you are right, a better OS on an Android device is definitely an improvement.

But then again, AFAIR Ubuntu Touch is still pretty much Android.
I'd love to hear more about it when you get it; esp. if it's possible to run "apt upgrade" and "apt install" & run Linux software.
In other words, does it really free your phone, or is it just a different lock-in.

The best would be to be able to mount a remote filesystem so it is fully equal with local filesystems (e.g. sshfs, NFS). Once I can do that on a phone OS, it's bought.

Last edited by ondoho; 08-20-2019 at 02:33 AM.
 
1 members found this post helpful.
Old 08-20-2019, 02:50 PM   #18
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 13
Posts: 1,500

Rep: Reputation: 193Reputation: 193
ondoho, the UBports site does speak of convergence, so perhaps the software has progressed a bit since the time of the wiki site that you linked to. But yes, I do appreciate you bringing that to my attention. Good to not set my expectations too high.

Perhaps even closer to a pure Linux phone is postmarketOS (based on Alpine Linux), which Plasma Mobile describes as its underlying OS for LG Nexus 5 (codename lg-hammerhead). However, sounds like it's difficult to set up, and, from this link here, sounds like a lot of stuff doesn't yet work on it.
 
Old 08-22-2019, 05:29 AM   #19
amyacker
LQ Newbie
 
Registered: Aug 2019
Location: New York, NY, New York
Distribution: Fedora
Posts: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by david3217 View Post
Hello everyone,

The web seems to have a lot of startandhalt linux phones from 2006 or so. I'm wondering if and how people are running linux phones this year? Is it just a regular Ubuntu install but with an app that handles calls and texts? or?

Do you have to buy a certain type of phone? or do you buy a regular Android phone and then somehow wipe it and install linux?

Any help will be appreciated
Nice. I tried ubports on a nexus 5. Had to switch.
 
Old 08-22-2019, 10:17 AM   #20
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 13
Posts: 1,500

Rep: Reputation: 193Reputation: 193
Quote:
Originally Posted by amyacker View Post
Nice. I tried ubports on a nexus 5. Had to switch.
Are you saying that ubports on the Nexus 5 was good?
 
Old 08-22-2019, 01:34 PM   #21
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 17
Posts: 5,822
Blog Entries: 21

Rep: Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900
Wish I knew of this when I had my Blackberry Touch.

https://www.techwalla.com/articles/h...-on-blackberry

They are cheap

Last edited by rokytnji; 08-22-2019 at 01:38 PM.
 
1 members found this post helpful.
Old 08-27-2019, 10:16 PM   #22
Germany_chris
Senior Member
 
Registered: Jun 2011
Location: Watertown, NY
Distribution: Arch
Posts: 1,045

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
You can an AOSP ROM without flashing GMS then using F-droid for apps
 
Old 09-01-2019, 09:36 AM   #23
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 13
Posts: 1,500

Rep: Reputation: 193Reputation: 193
Okay, so I did install Ubuntu Touch (from UBports) on the refurbished Nexus 5 I bought. There is a package which makes installing quite easy. However, the package did not work for me. I suspect it's because I use Debian with root enabled, rather than relying on sudo (which the package seemed to assume). So, I had to manually install it, which took a while. But it works now.

Not sure what I think of it yet. I tried, in the terminal, to run "apt update", and it did run, but it told me that:
Quote:
updating from a repository can't be done securely, and is therefore disabled by default. See apt-secure(8) manpage for repository creation and user configuration details.
I'm not sure how I go about installing new stuff on here. Mind you, it took me a while to figure out LineageOS (Android) without Gapps (basically use F-droid to install stuff), so I assume it'll take a while to figure out Ubuntu Touch. The Unity desktop, which I loathed, does make a little more sense on a phone than it did on a desktop.
 
Old 09-01-2019, 10:37 AM   #24
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 13
Posts: 1,500

Rep: Reputation: 193Reputation: 193
Hmm. Seems Ubuntu Touch isn't really Linux. Or, at least, it's no more Linux than is Android, since it uses the same kernel that Android uses.
 
Old 09-01-2019, 11:19 AM   #25
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 13
Posts: 1,500

Rep: Reputation: 193Reputation: 193
Well, I might be able to get apt working on it, by temporarily converting the phone to r/w mode rather than read only, to at least to install a few packages from the repositories, which at least will feel closer to being Linux (and afterword converting it back to read only mode, apparently for safety). Links: 1 & 2.

Last edited by mark_alfred; 09-01-2019 at 11:21 AM.
 
1 members found this post helpful.
Old 09-02-2019, 12:01 AM   #26
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 12,304
Blog Entries: 9

Rep: Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309
^ Thank you for those last two links, very interesting.
Nevertheless, the sheer fact that apt is installed and essentially usable, makes this a much, much better alternative to all Android or AOSP-based phone OSs.

(And to me it was kind of obvious that at least the kernel would be an Android kernel. Maintaining device compatibility on such a low level is a hell of a lot of work, and even if you made your own you'd still need to put all those firmware blobs in that no off-the-shelf smartphone can work without. I hear they make quite a large part of the kernel.)
 
1 members found this post helpful.
Old 09-02-2019, 10:03 AM   #27
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 13
Posts: 1,500

Rep: Reputation: 193Reputation: 193
So, I installed phablet-tools as this link suggested. Note, I had to install it from source, since I use Debian rather than Ubuntu. Anyway, the install worked. I proceeded to try using it to switch the properties of the phone to RW from RO, and got the following feedback:

Code:
mark@debian:~/Templates/phablet$ phablet-config writable-image
Traceback (most recent call last):
  File "/usr/local/bin/phablet-config", line 4, in <module>
    __import__('pkg_resources').run_script('phablet-tools==0.1', 'phablet-config')
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 666, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1453, in run_script
    exec(script_code, namespace, namespace)
  File "/usr/local/lib/python2.7/dist-packages/phablet_tools-0.1-py2.7.egg/EGG-INFO/scripts/phablet-config", line 21, in <module>
    
  File "build/bdist.linux-x86_64/egg/phabletutils/fileutils.py", line 20, in <module>
ImportError: No module named lzma
So, I assumed it did not work. However, upon trying the command sudo apt update in my phone, I was actually given a response.

Code:
78 packages can be upgraded.  Run 'apt list --upgradable' to see them.
W:  No sandbox user '_apt' on the system, can not drop privileges
So, it may be that the phablet-config code I tried did work, or that I forgot to add "sudo" to my apt update command that I tried previously. To test, I'll try and install something.

Okay, that did work. I installed wyrd, a command line (ncurses-based) calendar application. It did install. Unfortunately, it won't work on the phone, since the screen is too small [Fatal error: exception Failure("Wyrd requires at least an 23 line window.")] Which does mean the program is working, since wyrd gives the same warning if I try to run it in a small sized terminal window on my desktop. Anyway, so I removed it, and then removed a dependency (the package remind), via the command sudo apt autoremove. So, apt is working.

The sites discussing this said that upgrading all the packages via apt is not a smart move, so I'm just going to use it to install individual packages for now, and then return the phone to RO status to allow the proper updates to occur.

I'm going to try installing some bigger programs via apt.
 
Old 09-02-2019, 12:44 PM   #28
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 13
Posts: 1,500

Rep: Reputation: 193Reputation: 193
I installed calcurse and that worked. The only issue with commandline programs is they often rely on the function keys, which are missing on the phone.

I then tried to install a small graphical program called mousepad (a small text editor for XFCE). It installed, but it did not work. So I removed it, which went fine (including using sudo apt autoremove to get rid of the dependencies). I then tried leafpad, and that also failed. Seems that x-window programs won't work. I rebooted the machine, and now it's back to read only status and will not shift into read write status.

So, even though apt can work, well, seems it really can't. And the options with Ubuntu Touch are limited, given that the Open Store is pretty sparse (though Android apps can be run via a container known as Anbox).
 
Old 09-02-2019, 08:16 PM   #29
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 13
Posts: 1,500

Rep: Reputation: 193Reputation: 193
My screwing around with Ubuntu Touch on my Nexus 5 broke it. I tried reinstalling, but that failed. Finally, I did manage to get TWRP recovery program back on it, and wipe it, to then install LineageOS on it (some notes here). I may try Ubuntu Touch again later, in combination with my Ubuntu laptop, to see if I can better control using the phablet-config utility, so I can try some more screwing around with apt. [edit] I did reinstall it to further play with it.

Last edited by mark_alfred; 09-02-2019 at 11:00 PM.
 
Old 09-03-2019, 01:01 AM   #30
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 12,304
Blog Entries: 9

Rep: Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309Reputation: 3309
Try again!
How many times have you screwed up your Linux install before you settled on something?

A few remarks, in case you do:
Quote:
Originally Posted by mark_alfred View Post
Code:
ImportError: No module named lzma
It's missing the lzma module, some compression library.
Not sure where to get that or if it's relevant for the functionality.

Quote:
Originally Posted by mark_alfred View Post
I installed calcurse and that worked. The only issue with commandline programs is they often rely on the function keys, which are missing on the phone.
Some Android keyboards can deal with that - let's hope UBports' keyboard also does. It's not a big thing, maybe just a matter of choosing a different input "language".
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: You Can Now Turn Your Old Moto G2 "Titan" Phone Into an Ubuntu Phone, Here's How LXer Syndicated Linux News 0 02-23-2018 04:02 AM
does anyone here use VOIP phone service jaz General 4 05-30-2004 05:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile

All times are GMT -5. The time now is 08:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration