zlacker

[parent] [thread] 47 comments
1. bo1024+(OP)[view] [source] 2019-11-28 15:47:19
Sidenote: I got my Librem 5 in the mail yesterday! Below is a video of unboxing.

https://peertube.co.uk/videos/watch/55eece8c-2d6c-4da3-8c8c-...

This prototype version is definitely not ready for mass market due to (1) known overheating issue (so far I've observed it get quite warm sometimes, but not uncomfortably hot), (2) a bunch little software things to work on. But it's really exciting to be able to `ls` and `cd` and `ssh` on a phone, and know that the software updates are coming.

Purism's accomplishment already is pretty incredible on both a hardware and software level. For me, well worth the price. Congrats to them even if there is a ways to go yet.

replies(6): >>thekyl+s1 >>ebg13+ra >>3xblah+8h >>jchw+Aj >>dbeley+4m >>TheGru+VF
2. thekyl+s1[view] [source] 2019-11-28 15:59:07
>>bo1024+(OP)
Good to see that backers are starting to receive theirs. I know there was some previous controversy over them only shipping to Purism employees.
replies(1): >>enriqu+13
◧◩
3. enriqu+13[view] [source] [discussion] 2019-11-28 16:09:45
>>thekyl+s1
just to be pedantic, she didn't say she's not a purism employee
4. ebg13+ra[view] [source] 2019-11-28 17:01:01
>>bo1024+(OP)
> But it's really exciting to be able to `ls` and `cd` and `ssh` on a phone

Can't you do that on any other Android phone with terminal software installed?

replies(4): >>traver+id >>ameliu+ud >>black_+3g >>Mathne+3C
◧◩
5. traver+id[view] [source] [discussion] 2019-11-28 17:30:26
>>ebg13+ra
Barely, although termux makes it a lot more reasonable. It's more a package management issue.
replies(4): >>icebra+8f >>mike-c+Eo >>gallex+fq >>0x38B+sx
◧◩
6. ameliu+ud[view] [source] [discussion] 2019-11-28 17:32:35
>>ebg13+ra
Not without the risk that the phone vendor, Google (or some Android hacker) is looking over your shoulder.
replies(1): >>aeturn+Yk
◧◩◪
7. icebra+8f[view] [source] [discussion] 2019-11-28 17:49:31
>>traver+id
You can run a full GNU/Linux distro, and apt-get install most stuff: https://f-droid.org/packages/tech.ula/
replies(1): >>pjmlp+fg
◧◩
8. black_+3g[view] [source] [discussion] 2019-11-28 17:56:31
>>ebg13+ra
not properly. android is about as full-blown a linux environment as that plastic router on which your ISP left the telnet open.
◧◩◪◨
9. pjmlp+fg[view] [source] [discussion] 2019-11-28 17:57:50
>>icebra+8f
If one roots the device.

Modern Android has been locking down access to everything that isn't an NDK public API.

replies(1): >>icebra+Jh
10. 3xblah+8h[view] [source] 2019-11-28 18:06:31
>>bo1024+(OP)
"But it's really exciting to be able to `ls` and `cd` and `ssh` on a phone..."

Can you boot to a shell without starting GNOME?

replies(1): >>bo1024+Ti
◧◩◪◨⬒
11. icebra+Jh[view] [source] [discussion] 2019-11-28 18:12:58
>>pjmlp+fg
Nope, no root required.
replies(2): >>pjmlp+zr >>imtrin+Ds1
◧◩
12. bo1024+Ti[view] [source] [discussion] 2019-11-28 18:23:37
>>3xblah+8h
I wouldn't rule it out but I don't know how to. I guess you would need a keyboard connected via USB to be able to input in that scenario
replies(2): >>beatga+jH >>curiou+WC2
13. jchw+Aj[view] [source] 2019-11-28 18:31:10
>>bo1024+(OP)
Exciting to see it's real. I was getting very worried about the controversy, but it's beginning to fade away.

I'm so fed up with software that tries to anticipate what I want. Computers running Linux do what you ask in spite of what you want, but phones running modern phone operating systems do what they think you want in spite of what you need. And that is deeply frustrating to power users.

I guess now I just need to decide when to jump into this.

replies(1): >>djsumd+2r
◧◩◪
14. aeturn+Yk[view] [source] [discussion] 2019-11-28 18:45:14
>>ameliu+ud
I mean, I like Purism, but that risks still exists with this phone. With any phone. The promise not to snoop is central to their business model and I have no reason to believe they would snoop, but certainly the capability is there.
replies(2): >>ameliu+uu >>beatga+7H
15. dbeley+4m[view] [source] 2019-11-28 18:57:15
>>bo1024+(OP)
> But it's really exciting to be able to `ls` and `cd` and `ssh` on a phone, and know that the software updates are coming.

It's strange that SailfishOS has not caught more marketshare on the hacker/tech enthusiast community, because it's (almost) everything people wants about Purism : you lose a bit in the free software and open hardware side, but you win in terms of price (used phone + 50$ license), availability and usability (Right now, it's the only alternative to Android and iOS I can safely recommend).

If only Jolla devs had kept their promises of open-sourcing more of their code.

replies(4): >>grumda+2s >>um_ya+4s >>steveh+Ou >>wvh+HF
◧◩◪
16. mike-c+Eo[view] [source] [discussion] 2019-11-28 19:28:54
>>traver+id
I installed Debian in a chroot on my HTC Desire Z in 2011, and proceeded to apt-get install exim on it to tinker.
◧◩◪
17. gallex+fq[view] [source] [discussion] 2019-11-28 19:43:23
>>traver+id
Theres also https://github.com/t184256/nix-on-droid-bootstrap on fdroid for a good package manager
◧◩
18. djsumd+2r[view] [source] [discussion] 2019-11-28 19:51:28
>>jchw+Aj
I too am glad I didn't cancel my order. I'm sure my batch won't be out until probably late next year, but I do feel good about supporting a project like this.
◧◩◪◨⬒⬓
19. pjmlp+zr[view] [source] [discussion] 2019-11-28 19:57:02
>>icebra+Jh
So how does it work around the missing APIs not described here?

https://developer.android.com/ndk/guides/stable_apis

Given the changes started with Android 7 to block access to everything else?

In fact, https://wiki.termux.com/wiki/Differences_from_Linux

replies(1): >>Mathne+rC
◧◩
20. grumda+2s[view] [source] [discussion] 2019-11-28 20:02:36
>>dbeley+4m
> If only Jolla devs had kept their promises of open-sourcing more of their code.

I think that's a big part of the answer to why it hasn't caught among techies. When I tried using it (shortly after release), there were numerous issues in their default apps that nobody could fix because they are proprietary and Jolla didn't seem to have the resources to handle all the bugs.

I'd wager that if it had been open source, the early adopters would have put some time in to fix a lot of the bugs.

In retrospect I'm pretty pissed at them for not being honest and upholding their promises. In my book they're basically con artists that just tried to get the Linux community's money by saying "open source" without actually meaning it.

replies(1): >>ryukaf+TE
◧◩
21. um_ya+4s[view] [source] [discussion] 2019-11-28 20:02:57
>>dbeley+4m
You seem to be forgetting LineageOS
◧◩◪◨
22. ameliu+uu[view] [source] [discussion] 2019-11-28 20:28:42
>>aeturn+Yk
As always, it boils down to trust. Which phone would you trust more for ssh-ing into your office computer? An Android phone filled with adware, which you don't even completely own? Or a phone that was designed for privacy and for which all important components are open source / open hardware?
replies(1): >>ta0987+UI
◧◩
23. steveh+Ou[view] [source] [discussion] 2019-11-28 20:31:20
>>dbeley+4m
is it strange? when I read their website it seems like they're targeted at corporations. It takes a lot of scrolling to find 'Sailfish OS X' that I can install on one of 3 phones from a company that I never considered a solid phone manufacturer.
replies(1): >>bmn__+uy
◧◩◪
24. 0x38B+sx[view] [source] [discussion] 2019-11-28 21:04:19
>>traver+id
I can share to Termux from the YouTube app on my Pixel and download an entire playlist to my music folder - Ffmpeg handles any audio.

It's quicker than any of the YouTube downloader apps I've tried!

How it works: in ~/bin there's a termux-url-opener script that handles what you share:

"#!/bin/bash

case "$1" in

  *youtu*)

    echo "$1 is a YouTube URL,
      downloading"

    sh ~/shortcuts/dl_yt.sh $1

    ..."
(dl_yt just calls youtube-dl -x)

I love it and am still finding new uses for Termux. I've got neovim and all my dotfiles loaded, so in a pinch I can ssh into my phone to do some work.

replies(2): >>chrono+lI >>Ycros+sO
◧◩◪
25. bmn__+uy[view] [source] [discussion] 2019-11-28 21:14:40
>>steveh+Ou
It was different five years ago, read GP in that light.
replies(1): >>steveh+pF2
◧◩
26. Mathne+3C[view] [source] [discussion] 2019-11-28 21:57:40
>>ebg13+ra
Android has a tiny BusyBox clone (ToyBox IIRC) in the default installation that can be accessed over USB with the right commands. It isn't particularly useful for anything besides poking around, and definitely doesn't support SSH, but it does do ls and cd.
◧◩◪◨⬒⬓⬔
27. Mathne+rC[view] [source] [discussion] 2019-11-28 22:02:27
>>pjmlp+zr
It runs stuff in a container (PRoot) with standard Linux libraries and FHS layout, then you ssh or VNC in locally. The emulation isn't perfect due to Android's security policies, but close enough.
replies(1): >>pjmlp+OC
◧◩◪◨⬒⬓⬔⧯
28. pjmlp+OC[view] [source] [discussion] 2019-11-28 22:08:59
>>Mathne+rC
Standard Android does not support chroot, nor standard Linux libraries, hence why termux needs to patch them.
◧◩◪
29. ryukaf+TE[view] [source] [discussion] 2019-11-28 22:37:49
>>grumda+2s
This, along with Jolla's bankruptcy, is why I stopped using Sailfish as a former user. I didn't feel that I could depend on the platform sticking around.

I later switched to Ubuntu Touch because, despite Canonical picking up the project, the community had continued maintaining it. They could do that because it was freely licensed; nobody could do that for Sailfish.

replies(1): >>andrew+IK
◧◩
30. wvh+HF[view] [source] [discussion] 2019-11-28 22:50:20
>>dbeley+4m
I use a Sailfish phone, and Meego before that. I suppose a lot of geeks are exactly the sort of people that actually want to use all possible functionality of and software for their phone, "power users", and are most handicapped by an ideological device. Most of the Jolla and Nokia N9 users I know are not technical geeks but rather want to support a cause.
31. TheGru+VF[view] [source] 2019-11-28 22:53:58
>>bo1024+(OP)
PeerTube.co.uk admin here. Your video alerted me to the fact that my view stats aren't working properly - I've had over 1000 visits today, usual is less than 100. Most of those have your video as the entry point, but those numbers aren't reflected on your view count. Thanks for being the first video that's been popular enough to highlight this!
replies(1): >>behnam+rJ
◧◩◪◨
32. beatga+7H[view] [source] [discussion] 2019-11-28 23:07:00
>>aeturn+Yk
Since everything is open, you could probably run your own builds and use your own update server. Or you can use their code as a starting point and port whatever Linux distribution you want to it, which is a lot easier than a locked down Android or iOS device. And since it's so easy to replace everything, they need to maintain the community's trust since everything is in the open.

The best part is that I don't really need to trust Purism, I can choose to trust the community instead to whistleblow if Purism breaks the community's trust. Their target demographic is exactly the type that will be watching over their shoulder to make sure nothing fishy is going on.

◧◩◪
33. beatga+jH[view] [source] [discussion] 2019-11-28 23:09:46
>>bo1024+Ti
Wouldn't you just disable the display server like any other Linux OS? I'm sure they're using systems, so it just just be:

> sudo systemctl disable phosh.service

Or something like that. I'm sure it would be pretty easy with a bit of fiddling. However, you're right that you'd probably need a keyboard plugged in because the default TTY probably doesn't have a soft keyboard.

replies(1): >>armini+mJ
◧◩◪◨
34. chrono+lI[view] [source] [discussion] 2019-11-28 23:27:28
>>0x38B+sx
Would it not be nicer to save a whole lot on bandwidth by using "youtube-dl -f bestaudio[ext=m4a]" instead of "youtube-dl -x"?
replies(1): >>0x38B+Hc1
◧◩◪◨⬒
35. ta0987+UI[view] [source] [discussion] 2019-11-28 23:37:20
>>ameliu+uu
Office computer? Definitely Android.

Google is like a feudal lord. In exchange for owning you, they'll protect you from everyone weaker than they are. Google doesn't want to break into your office computer as long as they can shovel ads down your throat. And their reputation for security is much higher than a small startup regardless of the startup's competence and intentions. See e.g. Project Zero or Chrome vulnerabilities vs Firefox.

replies(1): >>type0+v11
◧◩◪◨
36. armini+mJ[view] [source] [discussion] 2019-11-28 23:45:38
>>beatga+jH
I use a Logitech K780 bluetooth keyboard when working on my phone, I got it mostly because of the nice phone/tablet standing slot, so there is that option as well.
◧◩
37. behnam+rJ[view] [source] [discussion] 2019-11-28 23:46:24
>>TheGru+VF
Yeah, but it stopped playing for me half way through the video, right when the number of peers dropped to 1.
replies(2): >>TheGru+FJ >>vunie+TM
◧◩◪
38. TheGru+FJ[view] [source] [discussion] 2019-11-28 23:48:56
>>behnam+rJ
That's interesting, thanks for the heads up. I'll do a bit of experimenting to see if I can replicate with some less popular videos which aren't likely to have a redundant copy anywhere.
◧◩◪◨
39. andrew+IK[view] [source] [discussion] 2019-11-29 00:03:49
>>ryukaf+TE
What hardware are you running it on?
replies(1): >>ryukaf+aV
◧◩◪
40. vunie+TM[view] [source] [discussion] 2019-11-29 00:49:59
>>behnam+rJ
At 4 peers, the video played smoothly for me. Does peertube allow a way for people to "pin" a video they like so that they can permanently seed it to others?
replies(1): >>TheGru+aQ
◧◩◪◨
41. Ycros+sO[view] [source] [discussion] 2019-11-29 01:12:30
>>0x38B+sx
Ah, nice to see I'm not the only one running youtube-dl on a phone via Termux.
◧◩◪◨
42. TheGru+aQ[view] [source] [discussion] 2019-11-29 01:38:28
>>vunie+TM
Sadly not. Seeding is entirely down to individual instances and their own redundancy policy.

I suspect the issue is that PeerTube is getting a NAT IP instead of properly determining its own external IP, which is causing problems streaming when it tries to get back to the origin. I'm pretty sure it's a simple enough fix, I just need to take a look at it in the light of day.

◧◩◪◨⬒
43. ryukaf+aV[view] [source] [discussion] 2019-11-29 02:52:14
>>andrew+IK
A OnePlus One, though I have both a PinePhone and Librem 5 preordered, and I'm looking forward to giving both of those a try. The OPO is nice, though I've had issues with the battery life.
◧◩◪◨⬒⬓
44. type0+v11[view] [source] [discussion] 2019-11-29 04:23:30
>>ta0987+UI
> And their reputation for security is much higher than a small startup regardless of the startup's competence and intentions.

Not all security mind you, Android runs on ancient kernel and it won't be changing for a long time even though Google announced plans for moving to mainline linux.

◧◩◪◨⬒
45. 0x38B+Hc1[view] [source] [discussion] 2019-11-29 07:27:17
>>chrono+lI
Good point! My command line looks like this:

youtube-dl -f bestaudio -x --no-progress -o "~/storage/music/YouTube/%(title)s.%(ext)s" "$1"

This generally gives me .opus files, which play OK but my player can't change the tags.

◧◩◪◨⬒⬓
46. imtrin+Ds1[view] [source] [discussion] 2019-11-29 11:35:37
>>icebra+Jh
Try installing OpenJDK without root.
◧◩◪
47. curiou+WC2[view] [source] [discussion] 2019-11-30 02:45:46
>>bo1024+Ti
I’m pretty sure one of the community members got an onscreen keyboard working for this use case
◧◩◪◨
48. steveh+pF2[view] [source] [discussion] 2019-11-30 03:32:38
>>bmn__+uy
ah, ok. that explains a lot, because that's not the first time I've heard his sentiment but didn't get what people were talking about.
[go to top]