UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Taking the plunge

    Scheduled Pinned Locked Moved General
    38 Posts 8 Posters 383 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • MoemM Offline
        Moem @O.o.
        last edited by

        @O.o. Thankd for the write-up and congratulations on a sucessful installation!
        I would recommend you to install the app UT Tweak Tool. Among other useful stuff, it also contains a text scaling setting. Just 'large' and 'normal', but it sounds like that will do the job here.

        Is currently using an Op5t
        Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

        1 Reply Last reply Reply Quote 1
        • O Offline
          O.o. @pparent
          last edited by

          @pparent said in Taking the plunge:

          Try Ubuntu tweaks app form the openstore, you should be able to tweak scaling.

          Yeah that worked. Thanks!

          1 Reply Last reply Reply Quote 0
          • O Offline
            O.o.
            last edited by O.o.

            And now, for the most important bit of Android software on my smartphone: the banking app.

            • I installed Waydroid Helper from Openstore
            • In Waydroid Helper, I installed Waydroid - no problem
            • In Waydroid, I used to browser to install F-Droid - no problem
            • In F-Droid, I installed Aurora Store - no problem
            • In Aurora Store, I installed Nordea ID (my bank's ID app thing) - no problem
            • In Nordea ID, I used the QR code scanner thing to activate my accounts. There I ran into a snag: while the camera works in Waydroid, the autofocus doesn't. So I couldn't focus the camera on the QR code displayed on my old phone. But not to worry: I went to the Ubuntu Touch camera app, focused the camera there, then went back to Nordea ID in Waydroid and it picked up the - now in-focus - QR code rightaway.
            • In Waydroid Helper, I selected Nordea ID as a Waydroid app to show in the Ubuntu Touch app menu, and hey-presto, there it is:

            e9fb4b4d-78e4-41a1-85c1-50e4407f0762-image.png

            EDIT: Amusingly, my other banking app - Nordea Mobile - also works in UT / Waydroid, whereas it refuses to work in CalyxOS: in UT / Waydroid (without MicroG or anything), it whines that it runs on an emulator and that I should be careful, but it runs. On CalyxOS with MicroG, it says the device is rooted - it isn't - and it refuses to run.

            Ubuntu Touch to the rescue. Yeah! πŸ™‚

            1 Reply Last reply Reply Quote 0
            • O Offline
              O.o.
              last edited by

              I ran into a problem with file transfer over USB3. When I connect the Fairphone 5, this shows up in my PC's kernel log:

              [ 7021.731622] usb 8-1.2: new SuperSpeed USB device number 15 using xhci-hcd
              [ 7021.748493] usb 8-1.2: LPM exit latency is zeroed, disabling LPM.
              [ 7021.748928] usb 8-1.2: No SuperSpeed endpoint companion for config 1  interface 0 altsetting 0 ep 129: using minimum values
              [ 7021.748946] usb 8-1.2: No SuperSpeed endpoint companion for config 1  interface 0 altsetting 0 ep 1: using minimum values
              [ 7021.748960] usb 8-1.2: No SuperSpeed endpoint companion for config 1  interface 0 altsetting 0 ep 130: using minimum values
              [ 7021.749739] usb 8-1.2: New USB device found, idVendor=05c6, idProduct=903a, bcdDevice= 5.04
              [ 7021.749756] usb 8-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
              [ 7021.749769] usb 8-1.2: Product: FP5
              [ 7021.749779] usb 8-1.2: Manufacturer: Fairphone
              [ 7021.749788] usb 8-1.2: SerialNumber: xxxxxxxx
              [ 7021.750457] xhci-hcd xhci-hcd.5.auto: ERROR: unexpected command completion code 0x11.
              [ 7021.855593] usb 8-1.2: can't set config #1, error -22
              [ 7258.691000] usb 8-1.2: USB disconnect, device number 15
              

              However, when I connect it as a USB2 device, no problem:

              [ 7269.226773] usb 1-1.2: new high-speed USB device number 6 using ehci-platform
              [ 7269.327363] usb 1-1.2: New USB device found, idVendor=05c6, idProduct=903a, bcdDevice= 5.04
              [ 7269.327387] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
              [ 7269.327399] usb 1-1.2: Product: FP5
              [ 7269.327408] usb 1-1.2: Manufacturer: Fairphone
              [ 7269.327418] usb 1-1.2: SerialNumber: xxxxxxxx
              

              I'm still investigating what causes this.

              R 1 Reply Last reply Reply Quote 1
              • R Offline
                RJDan @O.o.
                last edited by

                @O.o. Thanks for sharing. Its great to see what others have done. The am/pm trick is a neat way to deal with the corners!

                pparentP 1 Reply Last reply Reply Quote 1
                • pparentP Online
                  pparent @RJDan
                  last edited by

                  @RJDan said in Taking the plunge:

                  @O.o. Thanks for sharing. Its great to see what others have done. The am/pm trick is a neat way to deal with the corners!

                  In that regard, you might be interested in this:

                  https://github.com/JamiKettunen/lomiri-notch-hax

                  R O 2 Replies Last reply Reply Quote 1
                  • R Offline
                    RJDan @pparent
                    last edited by

                    @pparent
                    Ive got used to it now. If I really need to know the minute, then I am probably already late.

                    1 Reply Last reply Reply Quote 0
                    • O Offline
                      O.o.
                      last edited by O.o.

                      More observations:

                      • I tried to set a new background with a random image: it previews okay but it doesn't work in the actual background. In the end, I had to scale the image to the exact size of the Fairphone 5's display (1224x2700), save it as a PNG, and now it's displayed properly in the background.

                      • I enabled the SSH server with the terminal (kind of a pain to type without TAB emulation in the on-screen keyboard - none that I can see anyway) and from there, it's just plain old Linux. I can now ssh into it and type comfortably - and more importantly scp stuff into it.

                      • I didn't need to install anything to setup my VPN in UT: I just recreated the ca.crt, client.crt and client.key files from the .ovpn, configured the VPN manually, and it connected rightaway. I will fault it a bit on not saying much: I would have liked to have a notification telling me it connected - or not. But no: apparently if it works, it connects silently.

                      I'm gonna take a break from that thing and have me a nice beer with a few friends now πŸ™‚

                      arubislanderA 1 Reply Last reply Reply Quote 0
                      • O Offline
                        O.o. @pparent
                        last edited by

                        @pparent said in Taking the plunge:

                        In that regard, you might be interested in this:

                        https://github.com/JamiKettunen/lomiri-notch-hax

                        Yes!

                        There's no FP5 patch for it, so I used FP4 and it's close enough. It's not quite wide enough where the camera hole is in the middle, but it's wide enough to make out 3/4 of the icons on either sides. And the time is now displayed totally outside the corner.

                        Brilliant! Thanks!

                        1 Reply Last reply Reply Quote 0
                        • O Offline
                          O.o.
                          last edited by

                          Well I'll be damned: my obscure Yubikey-authenticator-like NFC authenticator works like a charm in Waydroid. Meaning the NFC stack is properly exposed to the Android VM and everything.

                          I'm properly impressed by that!

                          @Vlad-Nirky said in Taking the plunge:

                          If you do something for the yubikey, i will be glad to see it because i use it too

                          If you use the Yubikey Authenticator on Android, I expect it will work in Waydroid too if your cellphone supports it in Ubuntu Touch, because my obscure app is actually a fork of it. Underneath it's the same app.

                          1 Reply Last reply Reply Quote 0
                          • arubislanderA Offline
                            arubislander @O.o.
                            last edited by arubislander

                            @O.o. said in Taking the plunge:

                            I enabled the SSH server with the terminal (kind of a pain to type without TAB emulation in the on-screen keyboard - none that I can see anyway)

                            Tapping once in the terminal app will input a TAB character, also works as autocomplete.

                            I didn't need to install anything to setup my VPN in UT: I just recreated the ca.crt, client.crt and client.key files from the .ovpn, configured the VPN manually, and it connected rightaway.

                            Using the nmcli commandline tool you can import ovpn files as is.

                            πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                            Happily running Ubuntu Touch
                            JingPad (24.04-1.x daily)
                            OnePlus Nord N10 5G (24.04-2.x daily)
                            PinePhone OG (20.04)
                            Meizu Pro 5 (16.04 DEV)
                            Google Pixel 3a

                            O 1 Reply Last reply Reply Quote 1
                            • O Offline
                              O.o. @arubislander
                              last edited by arubislander

                              @arubislander said in Taking the plunge:

                              Tapping once in the terminal app will input a TAB character, also works as autocomplete.

                              Nice to know, thanks!

                              @arubislander said in Taking the plunge:

                              Using the nmcli commandline tool you can import ovpn files as is.

                              Hmm true, I didn't think about that.
                              Oh well, the hard way works too I guess...

                              1 Reply Last reply Reply Quote 0
                              • O Offline
                                O.o.
                                last edited by

                                If anybody in Finland is interested, the Posti app works perfectly in Waydroid too: it complains briefly that it won't work without Google Play, but after that it simply carries on setting itself up without a hitch.

                                1 Reply Last reply Reply Quote 0
                                • O Offline
                                  O.o.
                                  last edited by

                                  Well, there is one thing that doesn't work in Ubuntu Touch on the Fairphone 5: charge limiting. I know the FP5 has the hardware to do this, so it's just not supported in the software.

                                  W 1 Reply Last reply Reply Quote 0
                                  • W Offline
                                    wally @O.o.
                                    last edited by

                                    @O.o. There's an app in the Openstore called Upower Indicator Fork which I think can halt chargimg on some devices. Otherwise you'll atleast get a notification at a set charge level. You'll find more info on the gitlab linked from the Openstore.

                                    Welcome to the community by the way! Thanks for showing your work here. Nice to see how well you've been able to get things working (although a swipe keyboard may be a long way off, and autocorrect has its bugs).

                                    O 1 Reply Last reply Reply Quote 0
                                    • O Offline
                                      O.o. @wally
                                      last edited by O.o.

                                      @wally said in Taking the plunge:

                                      There's an app in the Openstore called Upower Indicator Fork which I think can halt chargimg on some devices.

                                      I've installed it. The charge control button is greyed out. The documentation in the repo says it's only supported on OnePlus3.

                                      I've also tried to write values in /sys/class/power_supply/battery/charge_control_limit and /sys/class/power_supply/battery/charge_control_limit_max and it doesn't do anything. I think it's just not implemented.

                                      The next best thing would be to use one of my Chargie external charge limiters, but the control app is Android only, doesn't work in Waydroid, and wouldn't be a good option anyway since Waydroid doesn't stay running all the time.

                                      I contacted the author to ask whether he would be willing to port his app to Linux (unlikely, but if you don't ask, you don't know) and I've offered to do the port myself, or at least code a daemon to control it as a user service, if he's willing to disclose how the hardware works.

                                      Worst case, I might do my own thing. It's just a mosfet and a simple control script after all.

                                      But clearly native charge control through the existing phone hardware would be nicer.

                                      @wally said in Taking the plunge:

                                      Welcome to the community by the way!

                                      Thanks!

                                      @wally said in Taking the plunge:

                                      a swipe keyboard may be a long way off,

                                      Well, it's kind of a niche OS, so I'm happy with what I got going already. It's a lot more polished than it has any right to be if I'm honest.

                                      W 1 Reply Last reply Reply Quote 0
                                      • W Offline
                                        wally @O.o.
                                        last edited by

                                        @O.o. Agreed, I've always been amazed at how nicely UT works.
                                        If you do make progress on a charge limiter, one way or another, I'm sure others will be interested to hear!

                                        1 Reply Last reply Reply Quote 0
                                        • O Offline
                                          O.o.
                                          last edited by

                                          So at the end of the day, a lot of the apps I need are in fact running in Waydroid - including email annoyingly, because Dekko2 chokes on my antique Dovecot server's SSL certificate.

                                          This is a bit concerning, because LineageOS is just as doomed as all the other deGoogled ROMs, and sooner or later, the apps I need will stop working (for commercial or closed-source ones) or will become abandonware.

                                          So I am wondering whether I just moved my problem to a virtual machine rather than eliminate it...

                                          Also, one of the apps I really, REALLY need is Signal, and the one UT-native SIgnal-compatible app - Axolotl2 - doesn't work for me.

                                          Hmm...

                                          Oh well, problems for another day πŸ™‚

                                          MoemM pparentP G 3 Replies Last reply Reply Quote 0
                                          • MoemM Offline
                                            Moem @O.o.
                                            last edited by

                                            @O.o. said in Taking the plunge:

                                            one of the apps I really, REALLY need is Signal,

                                            You and me both! This is how I tackled that problem.
                                            https://forums.ubports.com/topic/10819/

                                            Is currently using an Op5t
                                            Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

                                            O 1 Reply Last reply Reply Quote 0
                                            • pparentP Online
                                              pparent @O.o.
                                              last edited by pparent

                                              @O.o.

                                              By the way I think in Europe legally banks have to offer an alternative for online payments and double authentication, and they can't force you to own a Google or Apple device, or use Playstore or Apple app store. If you can't stand the monopoly a possibility can be to call your bank and ask for an alternative. Because the best way to avoid the monopoly is to incentivize actors like banks not to enforce it.

                                              There are solutions based on SMS for every payment + a code valid for several years received by postmail. And some modern banks even support (to some extend) Yubikey or even standard TOTP.

                                              O 1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post