Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Posts posted by claude0001

  1. 1 hour ago, matf said:

    If this was my issue, I would assume that newly created containers would equally fail to show in an X window, but they don't.

    Ah, I had missed your point above where you wrote that your problem is limited to the container you ported from the Pro1. Never mind then.

    If it is only about transferring your software configuration to the Pro1X, would it then not be easier to just install a fresh container and scp any relevant things (like $HOME/.config/) over from your Pro1?

    • Like 2
  2. 14 hours ago, matf said:

    I have a VERY configured LXC container from my Pro1 that I can use and attach on my Pro1x, but so far I haven't been able to start X on it.

    In my LineageOS chroot, I encountered the problem that X.Org insisted on having access to System-V-style shared memory, but that the Android kernel implements only "Google-style" shared memory (/dev/ashmem).

    In my case, I could solve that by wrapping the android-shmem library around X.Org, as explained in this post.

    Out of interest: Does SailfishOS natively support SysV shared memory calls? After all it also uses the Android kernel underneath.

    • Like 1
  3. 7 hours ago, matf said:

    Then in my opinion you also need some configuration inside the container to make it really convenient for the small screen size and to use keybindings as much as possible instead of touch (see what I did with my Pro1 for instance: search on Youtube for "Pro1 SaiilfishOS LXC" ...

    This, 100%.

    Imho, configuring your 'containered' (desktop) GNU/Linux distro in a way to make best use of the small (touch-)screen is a large part of the work. That is, if you want to actually use the system productively rather than just show-off your neofetch output online to your friends once ...  😉 .

    Trying to operate applications designed for desktop workstations via a touch interface can be frustrating even on a full-size display. On a small handheld touch-screen, the experience can quickly become infuriating, unless given some significant GUI customization.

    In my setup (based on LineageOS, but that does not matter here) I solved this pragmatically by running the X11 server of my desktop Linux distro inside XRDP. That way, the container'ed GNU/Linux desktop can be accessed via remote-desktop apps running on the host OS (Lineage, Sailfish, etc.). Such apps typically allow for emulation of a virtual mouse pointer, with the Pro1(X)'s screen acting as touch pad. This saves you from having to hit minuscule buttons with your fingertips. Also things like pinch-to-zoom are natively implemented in most smartphone RDP clients. Similar results can in principle be obtained via VNC. I prefer XRDP, as it also does automatic session management in your GNU/Linux OS for you.

    The downside is that, because of the additional remote-desktop layer (requiring encoding and decoding of the framebuffer) graphics performance is significantly worse compared to using an X11-server that runs natively on the host OS (as proposed by @matf).

    • Like 1
    • Thanks 1
  4. 9 hours ago, JECE said:

    It's a bit concerning to learn that even on LineageOS proper smartphone keyboard typing seems to be limited to only a subset of apps.

    I tend to disagree with that. The more you are trying to use the Pro1(X) as a "real" computer terminal, the more you are going to be irritated by "Android" features suddenly popping up in your face.

    For me, the accent selector does have its use in some apps targeted at more casual writing. But, e.g., when coding, I often write sequences like '<<<<<<<<<<<<<<', '>>>>>>>>>>>>', '++++++++++++++', or '--------------------' when commenting programs. In these cases, I find it very helpful that my text editor (acode) does not bring up the respective accent selector boxes ('≤, «, ‹', '≥, », ›', '±', or '-, _', respectively) upon me holding down those keys, but instead autorepeats the symbol exactly as I typed it on the keyboard.

    I guess it is a matter of use case. So, I think it is good that apps can opt to support or ignore that feature, as that also gives you the possibility to choose according to your needs ...

    • Like 3
  5. 22 hours ago, JECE said:

    How do I access accented letters on the physical keyboard? Holding down a letter just repeats that letter over and over (e. g., "eeeeeeeeeee").

    Try to test with different apps. On the original Pro1 (with Lineage 16.0) long-pressing a physical button worked for bringing up the accent selector box, but only for certain apps. For me, it works in what I call "smartphone-typical" apps like QKSMS or the Settings Menu. It does not work in some apps that are more serious about physical-keyboard typing, like, e.g. CollaboraOffice or ConnectBot.

    I guess apps can opt in or out of that feature, which I think makes some sense: depending on context, users might expect a long-press to auto-repeat the character rather then to bring up the accent selector.

    edit: The above applies equally to the sticky-shift feature. It works on Pro1 (LOS 16), but only for apps that choose to support it (the divide seems to be the same as for the accent selector box).

    • Thanks 1
  6. I remember a post by @tdm which said the telephony driver bits in LineageOS were unchanged with respect to Stock Android 9. Considering that enabling VoLTE et al. for a given device is up to the carriers, is there any reason to believe that installing (whatever version of) LineageOS would improve anything here?

    Screw this. I should have followed @EskeRahn's link above which shows that going from Stock to LineageOS did enable VoLTE for him. Lesson learned.

    • Haha 1
  7. On 7/11/2022 at 4:31 AM, Joey said:

    I put trwp on there and it can't see the normal mounts for internal storage so I can't even back it up.

    As far as I know, the version of TWRP available for the Pro1 does not support decryption of data partitions and hence cannot be used for backups. In fact, the only purpose of that build of TWRP was to enable a clean install of SailfishOS. It is also known to mess up the existing data partition upon boot: https://forum.xda-developers.com/t/twrp.3976369/ , https://community.fxtec.com/topic/2479-team-win-recovery-project-twrp/

  8. On 7/6/2022 at 4:07 PM, Hook said:

    There is someone here who is unofficially maintaining Lineage OS 16, keeping it patched every couple of months (He runs it Google-free, but no reason you can't add Gapps).

    Thanks for mentioning my LOS 16 builds.

    For completeness: @daniel.schaaaf maintains an unofficial ROM of LOS 17.1 (Android 10) for the Pro1.

    In principle, the sources of all four LOS branches (16.0, 17.1, 18.1, and 19.1) are still maintained at lineageos.org and are getting patched based on the Android security bulletins.

    It is only that - by LineageOS policy - only one branch per device (in our case 19.1, now) is allowed for the automatic weekly builds, probably in order to save CPU time on the official compiler farm. It is however totally possible to build any of the supported branches of LOS yourself, in which case all upstream security patches get included automatically ...

    • Thanks 4
  9. On 6/22/2021 at 8:15 PM, claude0001 said:

    I uploaded my latest LOS 16.0 ROM, dated 20220530.

    It contains the 5 April 2022 AOSP fixes. There are no other changes since my last build above. As usual, a tar.gz with all my local mods with respect to the official lineage-16.0 sources is also available.

    I had originally intended to skip the April patchlevel, and jump directly to May 2022. Unfortunately, there seem to be problems with the May patches for some other device, hence they have not been merged into the official tree yet ...

    • Thanks 1
  10. 9 hours ago, silversolver said:

    Anyone have a link to the last 17.1 for Pro1 that still works?

    Lineage purges old builds as they do not want to promote the use of outdated (and thus unsecure) roms. It is however totally possible to build all supported branches (16.0, 17.1, 18.1, 19.1) yourself, in which case the latest security patches from the upstream Android project get included automatically. Such builds are then "unofficial" in that they are not signed with the keys of the Lineage project, but otherwise they are based on the same source code.

    @daniel.schaaaf maintains an unofficial lineage-17.1 rom for the pro1. See this thread.

    Myself, I maintain an unofficial lineage-16.0 as documented in this other thread, if you prefer to stay on 16.0.

    Both roms are quite up-to-date with the latest Android security patches, though I must admit I haven't had time yet to build mine with the May 2022 AOSP patches. They also include a few improvements related to the keyboard driver we backported from 18.1.

    • Thanks 2
  11. 2 hours ago, kashif said:

    it works fine with pro1 and i get very good speed as well.

    Interesting. Did you actually measure the data rate?

    As I wrote above, I am stuck to around 200  Mbit/s with my UGreen ethernet, which is slower than the Pro1's wifi (but of course still fine for all everyday tasks).

    • Like 1
  12. LineageOS 16.0 is basically Android Pie with the proprietary Google stuff removed. The Linux kernel is identical to the one shipping with the Pro1's Android OS. As it is the kernel that is doing all the hardware support, I would thus assume that a device that works in LOS 16 should work in Stock Android, too.

    But, no, I haven't tested it. Sorry.

    • Thanks 2
  13. I have got this combined card-reader, USB-hub, HDMI-adapter, and ethernet card:


    All features of that hub work out-of-the-box in LineageOS (16.0 over here, still).

    That said, performance-wise, the Ethernet adapter does not even remotely reach the advertised 1 Gbit/s: iperf3 measures ~150 Mbit/s up and ~230 MBit/s down. On the same network, with the same peer, I easily get 300-400 MBit/s via the Pro1's WiFi ...

    • Thanks 2
  14. 1 hour ago, toast said:

    was hoping to format it to ext4 as well

    Be aware that, as part of its security concept, Android runs every app under a different UID. As a consequence, with an ext4 FS, data sharing across apps can be difficult unless they use the common GIDs (media_rw, etc.) foreseen to that effect. In the past, many people used FAT-formatted SD-cards to circumvent that restriction, taking advantage of the fact that FAT simply does not know about UNIX file permissions. I do not know if this affects your use case(s).

    • Like 3
  15. 2 hours ago, toast said:

    Also, does the FAT32-only apply to all available ROMs, or only stock Android?

    I do not know about stock Android, but on LIneageOS (16.0) I have two partitions on my SD-card: one formated as ext4 and one as ext3, and both just work. I did the formatting externally using a PC. The same card can also be accessed via an external (USB) card reader connected to the Pro1, so this is independent of the built-in reader. At least on the low level, I think the kernel supports all filesystems it is aware of, irrespective of the specific block device.

    Of course, how Android treats a partition on the high-level may be a different story. On my Lineage 16 (Android 9), I can use my ext3/4 SD partitions normally from standard Android apps once I identified them as "portable storage" upon first detection. However, this may have changed in later versions.

    As for the I/O-performance of the reader, I do not know, neither for my Pro1 nor for the Pro1X.

    • Thanks 1
  16. 12 hours ago, EskeRahn said:

    ...I wish they would offer the usb-board as a spare, e.g. on IGG, I would certainly buy some, as this always is a vulnerable part of any phone expected to have a long life.


    I recall they designed the Pro1 specifically to have the USB port on a dedicated board (and thus easily replaceable) as the USB socket was a well-known weak point of the N900 (where it was directly soldered to the mainboard). But without spare parts, that design effort was futile at best ...

    • Like 2
  17. 2 hours ago, matf said:

    I've tried that on SFOS too to cope with the lack of video out, but (1) performance was bad,

    Probably depends on what you compare to. Intuitively, it seems clear to me that rendering on a remote client must have better performance compared to running the client on the localhost.

    Anyway, most of the time, I use my Devuan chroot remotely via SSH. While LineageOS has its own SSH server, I agree that its CLI is much too crippled for daily use. I thus configured Devuan's SSH server to listen to the default port 22 of the Pro1, while relocating LineageOS's SSHD to port 222. That way, the latter can still be used for specific (root access) tasks to LineageOS, but "normal" SSH logins take me directly to the Devuan CLI.

    2 hours ago, matf said:

    tinkerers have found ways to use the proprietary Android compatibility on the community port

    I had heard of that, and it may work in some use cases. Overall, I think the Android compatibility layer has harmed SailfishOS more than help it. Regarding the web-browser, too many user requests have been answered by "well, just install Android Firefox". That cannot be the solution for what is (today) one of the most important applicatons of an operating system.

    • Like 1
  18. 12 minutes ago, raymo said:

    what about PinePhone 64 and his additionnal keyboard

    The PinePhone is much better suited for running upstream Linux and GNU/Linux distributions targeting phones. As such, it is a very interesting project. I was close to ordering it several times, and do not know how long I will still be able to resist ... 🙂

    However, its specs are quite low compared to the Pro1 or Pro1X. When it comes to CPU, RAM, or display resolution, the PinePhone's usefulness as a "laptop replacement" may thus be limited, despite its more GNU/Linux-friendly architecture.

    • Thanks 2
  19. 7 hours ago, matf said:

    I am not objective, but I recommend [...]

    I had seen that video before and agree that it is impressive. The ability to use XWayland on Sailfish makes it definitely more responsive than my XRDP-based solution on LineageOS, where the remote desktop connection does add some graphics overhead.

    HDMI-out works on Android (9), but only mirrors the phone screen, so it does not really give you that "convergence" feeling. I can achieve the latter by using a remote (e.g. Windows-) PC to log into my Pro1. Then the PC displays my Devuan desktop while the phone screen is free for using Android apps in parallel. As the RDP decoding is then done by the PC, performance is even better than when using Microsofts crappy RDP app on the Pro1 itself ... 😄

    I love the concept of SailfishOS which is much closer to a "desktop" GNU/Linux system and reminds me of Maemo5. Sadly, it seemed to have had some problems of late (GPS, LTE), and generally suffers from bad native software support (last time I tried, the built-in web browser was just catastrophic). I therefore doubt that I will ever switch with my Pro1. Having all that evil Android app ecosystem at hand does have some practical advantages ...

    • Like 1
    • Thanks 1
  20. 10 hours ago, OKSun said:

    I am still unclear what these security updates include. What security aspects are they improving? Should we be worried?

    The AOSP security bulletins are here:


    Everything since April 2020 is unpatched in stock Android 9.

    LineageOS picks up the open-source patches from the security bulletins, but can't do so for the (closed-source) Qualcomm fixes, which would have to be implemented by the device manufacturer. That's why a recent LineageOS will display an "Android security patch level" of "5 April 2022", while the "Vendor security patch level" is stuck at "5 April 2020" on Lineage, too.

    • Thanks 3
  21. In that thread already linked above, @Zahkc and @order#10248 explained how the a/b partitioning scheme of the (original) Pro1 can be used for dual-booting UbuntuTouch and LineageOS. As the procedure is pretty generic, I suspect this might work with any a/b device.

    The major usability issue I see with such a setup (without ever trying it out) is that upgrades -- necessarily -- must be tricky, and that data sharing between the two OS's can be cumbersome as both use app confinement and fight about file ownerships.

    If your use case has changed toward requiring Android compatibility, I would advise you to give up on UbuntuTouch altogether. Technically, there is nothing UbuntuTouch can do that LineageOS can't, including running GNU/Linux software. Of course, there may be more "philosophical" reasons to continue to support UBPorts... 😉

    • Thanks 2
  22. Interesting discussion. What I have observed with some WiFi's run by shopping malls is that they block price-comparison websites. <conspiracy> So maybe the have an interest in locking your out of your mobile network ...  🕵️‍♂️ </conspiracy>

    On a more serious note, in my daily life, I lack mobile network just too often. I travel by train a lot, and there are still too many uncovered areas in the open countryside. At my working place there is practically no chance of having mobile data at all (radiation protection walls). So I rely on local WiFi's even for phone calls much of the time. To be honest, I never worried much about it ...

    4 hours ago, Rob. S. said:

    But I guess that's what VPNs are for...

    Hmm ... not so sure about that. It is true that an (encrypted) VPN would protect you from a malicious WiFi admin overhearing your communications. But that can be achieved with any kind of end-to-end encryption, as is standard on the Internet nowadays. Protocols like https can safely be used even on a fully unencrypted WiFi from that point of view.

    What I thought we were discussing here is the (theoretical) possibility of the WiFi access point exploiting some vulnerability in your unpatched phone OS to get access to your device. I do not think that can be excluded via the use of VPN. After all, a VPN is just a virtual (tunnel) interface that relies on an existing physical network connection underneath. So, obviously, the latter has to be established normally before the TUN interface can be installed. In order to be accepted on the typical (semi-)public WiFi, you have to register by accessing a web interface controlling the AP. In theory, that would probably be enough to exploit some vulnerability e.g. in your web browser (apparently my LineageOS always uses the built-in browser for that, even though Firefox is set as default).  

  • Create New...

Important Information