Anyone Successfully Run WayDroid on Librem 5?

I’m in Germany too and since some years (as I do not have any Android) I do use such a small gadget which generates a six digit one time PIN based on some data on the screen (read by the gadget via some flicker-code) and the chip on the bankcard to make sure that the card “holder” does the PIN generation. Works fine.

2 Likes

I use the same type of device in France but the banks must maintain different forms of identification and push to use their application

1 Like

Yes I have one like this for my secondary bank account, they’ve also been pushing for me to move to Android but I’ve resisted so far.

Maybe I’ll ask my primary bank if they have such a device.

Main problem is the one I need to authenticate to the VPN for work. I wonder if I could reverse engineer the apk, but I guess it’s obfuscated to death.

2 Likes

To install androïd on a Raspberry pi


you have to install Magisk

to avoid jailbroken problems, I don’t know if it’s possible to install it on the Librem5
2 Likes

Since last pureos update. Waydroid is much more stable ! My setting is the same for months but had problems (waydroid’s window closed bugly) : sleep after 2 min and lockscreen after 30min. It stays asleep and wakes up without windows closing any more. Actually only with a waydroid terminal command (status i.e)

2 Likes

I noticed that apps installed in WayDroid on Librem 5 identify the device as “Purism Librem 5r4”.
How could one manipulate this data and send something else instead?

1 Like

Finally! I can copy / paste between the L5 and Waydroid \o/

Here is what I did (not sure everything is mandatory):

  1. Install xclip and wl-clipboard packages
  2. Download pyclip wheel package, convert it to a Debian package using wheel2deb and install it

At first it didn’t work: copy from L5, nothing to paste in Waydroid. But I noticed that after I did a first copy from a Waydroid app, then I could copy from a native L5 app and paste into Waydroid, and vice versa.

Hope this helps :slight_smile:

8 Likes

Are there different levels of google that we can install with Waydroid? I think I have installed MicroG, but there are apps still complaining that I must have google services installed. I think LineageOS has nano, micro, mini etc.

1 Like

MicroG is a fully Open Source Play Services replacement, afaik there are not different versions or flavors of it.
The nano, pico, etc. refers to Open GApps, these are closed source binaries for the original Google Play services. They differ from what they are shipping with (e.g. Health services, apps like YouTube, etc.)

1 Like

Not sure if I do something wrong but :

  • after my librem 5 boots, when I launch waydroid, nothing usually happens for a loooong time (more than 10 minutes, container stop/start/restart, session stop/start, show-full-ui are unsuccessful).
  • I’ve noticed that plugging it on my USB hub and plugging a keyboard/mouse generally unlocks waydroid (this is my actual workaround, but I don’t always bring the hub with me)
  • Having waydroid UI appear while the keyboard is out reduces the UI size (and the UI doesn’t scale when hiding the keyboard)
  • Having waydroid UI appear when the phone is plugged to a screen messes the UI

Do you have the same problems ? Are there practical solutions ?

1 Like

The first two - no.
The last two - yes, that’s how it works right now.

2 Likes

I’m still not so experienced, however I have felt “the hang” as you mention
and if it helpful I found a hack that at least works for me.

When the L5 has booted I launch waydroid where it hangs and just shows the “backgorund”.
I push the “sleep” button and wake it again, then waydroid start within 30 secs.

I made a short recording. Don’t if it is helpful
https://guld-berg.dk/user_content/hacks_to_waydroid_start.mp4
(Yes I still run with the default passwords :stuck_out_tongue: )

3 Likes

Oh indeed, many thanks, this workaround works for me too !!!

Totally explains why the “loooong” hang seems so random : as long as I continue using my librem 5, waydroid doesn’t launch. But locking/unlocking it is enough to make it launch.

Thank you very much for the trick. Far easier to setup than the USB hub + keyboard/mouse :wink:

3 Likes

You can also copy the .desktop file to a ~/.config/autostart folder (create it if needed). Then waydroid starts at boot quite quickly. Enable the lockscreen after some time.
If waydroid window is closed, pushing the power button (screen off then on ) makes the waydroid’s ui show again.

1 Like

That’s was my thought. :smiley: Happy that it also works for you.

I have not investigated why this is the case, but at least it is a trick for now.

1 Like

I can report about a major breakthrough, i.e. successfully activating and running the Swedish BankID and Swish apps in Waydroid! For me that is a massive achievement and very positive!

So far, however, this setup seems only useable inside the Waydroid container. Therefore, to improve this further, it would be neat to launch a Waydroid app from a weblink outside of its container. Is that possible or do all Waydroid app launches have to be initiated inside Waydroid?

3 Likes

I was able to get the Carnival Hub app working after downloading the package file and installing it. One thing that I noticed is that to launch Waydroid, I almost always have to reboot first.

1 Like

I think this thread is starting to expose one issue that hasn’t been addressed much, with respect to privacy and the freedoms made possible through opensource software.

So the opensource software makes us free from spying and advertising. It makes us free. So what does that new found freedom look like? The first thing a lot of people want to do with their new found freedom is to get back in to the Matrix that they just escaped from. I get it. Waydroid let’s you run banking and other necessary apps on your Librem 5 phone. But you have to install Google services, Google framework, and Micro G (“G” for Google), and other offending software in most cases. So you install that invasive software willingly. I don’t think that should be a good option for Librem 5 owners ever. I would rather carry two phones around and turn on the Android phone as needed. For banking, the “snooping” is not much different than “authentication”. So some snooping is good. You want your bank to know that you are really the account holder of your own accounts. But you only want to give just that much only to your bank, nothing more of your private information. The bank actually takes probably much more than what you want them to have of your information, simply because you can not stop them and they want more information from you to sell to their affiliates. At that point, you might just as well toss your Librem 5 in to the lake and just stick with Android. Installing any Google software in to the Librem 5 defeats the purpose. You want to keep your Librem 5 clean and find other ways to make no compromises at all. If we build it, they will come. But if they don’t come, then don’t ever capitulate. The rest of the business world needs to comply with your requirements, not the other way around. Strong authentication free of spying and receiving ads needs to be your bottom line requirement, no matter what. Maybe some day the banks will be forced to cooperate with that bottom line. But they’re not likely to do that if everyone who escapes from their Matrix makes it a high priority to re-join that Matrix again as almost the very next step. It just doesn’t make sense, no matter how much convenience you can install in to your Librem 5, courtesy of Google.

My point is not to tell everyone who uses Waydroid that they are bad. But I believe that you are hurting the free software movement when you go back to that Google model of allowing spying and tolerating advertising in exchange for convenience. We need just one bank at first, who will create one strongly encrypted opensource banking app to start the ball rolling. It seems irresponsible to run back to Google as soon as possible, like drug users craving their next fix. I would rather not play the game at all (at least with my Librem 5), until the rules of the game are acceptable to me. Until then, I’ll use my Android phone to do some things, while I use a Librem 5 to strive for better ideals in my world.

6 Likes

Google is the king for the opensource, of course gnu is missing from google but linux. Yes an opensource/linux user will miss google forever.

I am infinitely grateful to Maemo and Meego who saved me from falling into the slavery of android.

1 Like

https://edevelopers-blog.medium.com/microg-what-you-need-to-know-b213bf03565e

1 Like