Taking the plunge
-
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:
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!
-
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.
-
@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!
-
@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:
-
@pparent
Ive got used to it now. If I really need to know the minute, then I am probably already late. -
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
-
-
@pparent said in Taking the plunge:
In that regard, you might be interested in this:
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!
-
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.
-
@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. -
@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... -
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.
-
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.
-
@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).
-
@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.
-
@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! -
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
-
@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/ -
@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.o.
thanks for your feedback, I'm currentl pondering the same setup.
One thing I have seen on a blog is bothering me a bit:
https://ounapuu.ee/posts/2024/03/06/fairphone5/#2025-04-14-update-im-very-disappointed
it's on FP5 but with the native Android system (not UT), so I wonder if the main blocker for this guy (bad video recording, well apart of the general support troubles) apply also for you: if it's a hardware problem or with the Android binary driver it may be the case.
-
@Moem said in Taking the plunge:
You and me both! This is how I tackled that problem.
https://forums.ubports.com/topic/10819/That's creative!
It's also rather underwhelming that one has to jump through that many hoops. You'd think the Signal Foundation would offer a version of Signal for Linux phones - especially since it's just an Electron app...
I'll investigate if the desktop version can be installed on UT somehow. If not, I'll try your solution. And if that doesn't do it, this might be the deal-breaker for me: I really need Signal. This is what my entire family stays in touch with every day.