UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. gandalf
    G
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 18
    • Posts 53
    • Groups 0

    gandalf

    @gandalf

    13
    Reputation
    8
    Profile views
    53
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    gandalf Unfollow Follow

    Best posts made by gandalf

    • RE: How can I share files from my Ubuntu Touch host with Waydroid?

      using bind mounts in UT works on my FP4/OTA-1 (focal) without touching any permission settings etc as described in the waydroid documentation:

      https://docs.waydro.id/faq/setting-up-a-shared-folder

      for example:

       sudo mount --bind ~/Documents ~/.local/share/waydroid/data/media/0/Documents 
       sudo mount --bind ~/Downloads ~/.local/share/waydroid/data/media/0/Download 
       sudo mount --bind ~/Music ~/.local/share/waydroid/data/media/0/Music 
       sudo mount --bind ~/Pictures ~/.local/share/waydroid/data/media/0/Pictures 
       sudo mount --bind ~/Videos ~/.local/share/waydroid/data/media/0/Movies
      

      allows sharing files in those directories between UT and waydroid both ways.

      The one missing feature is making the bind mounts permanent. I added them to /etc/fstab but changes to that file don't seem to survive a reboot.

      edit: I realize you did link to this and mentioned it doesn't work on xenial, I still posted here to let people know it can work on focal 👋

      posted in Waydroid
      G
      gandalf
    • [small proposal] date on blog posts

      Hi all

      A quick and tiny proposal; I've regularly accessed a blog posts directly form a search engine and then had to search around to find out when it was posted (aka is it recent or not). For example the announcement for RC-7. The date is there on the News page but that takes time to leave and search for the title (if it's not directly visible). Can I suggest adding the posting date to blog articles?

      Thanks for your considerations and work :smiling_face_with_smiling_eyes:

      p.s. equally irrelevant remark; the default sorting order for the emojis being alphabetical has the unfortunate side effect of putting all the happy faces far down the list and segregating all the :man_ :woman_ variants into distinct blocks (among other shuffling oddities)

      posted in General
      G
      gandalf
    • Can't (re-)install the Music app

      Hi All
      I played around with waydroid and my Bluetooth headphones on my FP4 (OTA-1). At some point the music app stopped working. I tried reinstalling it through the openstore and manually through the terminal. In the openstore I click on install, it runs the progress bar, and then simply returns to showing the install button. Downloading and manually installing shows this:

      pkcon install-local ~/Downloads/music.ubports_3.0.2_all.click
      Installing files              [=========================]         
      Finished                      [=========================]         
      Fatal error: No such file /home/phablet/Downloads/music.ubports_3.0.2_all.click, or unknown or unsupported content type
      

      Are there any further logs to consult? And where do I actually find the logs on UT?

      thanks

      posted in 20.04 Focal Fossa
      G
      gandalf
    • RE: Can't install UBport on Fairphone3+ the ubports-installer won't find the phone

      I had some similar issues restoring my FP4. At least for that one the installer warns you to have the stock android installed due to the partition layout (iirc). As such I went /e/ -> factory image -> UT.

      While installing that factory image I had to disable frp_wipe in the installer script as it would fail the script. Afterwards I had to manually activate the correct slot for booting:

      #check the selected slot for booting: should be a or b
      fastboot getvar current-slot

      #I had to manually set it to boot slot a to boot the factory image
      fastboot --set-active=a

      after that I was able to boot back into the factory image and could install UT without even setting up the device on android.

      posted in Fairphone 3
      G
      gandalf
    • RE: Installer config for FP4 in final tests

      I'm currently on a Fairphone 3 and have a FP4 waiting for the installer :waving_hand:

      posted in Fairphone 4
      G
      gandalf
    • RE: Unable to re-install Clock from OpenStrore once uninstalled.

      @Darkice
      I had the same issue with the music app. Default apps get hidden when uninstalling them and don't get properly unhidden upon reinstallation:
      https://forums.ubports.com/topic/8851/can-t-re-install-the-music-app/

      posted in Support
      G
      gandalf
    • RE: Issues after one week using ubports on Fairphone 3

      @picrard said in Issues after one week using ubports on Fairphone 3:

      somethimes waydroid crashes completely you have to restart the phone

      Install the waydroid helper from the Store. It offers to add a "Waydroid Stop" app. With that you can fully stop waydroid after a crash and usually open it again without rebooting.

      I've installed truecrypt(need a program to decrypt containers) after
      sudo mount -o rw,remount /
      but it doesn't work on ubport ?!

      you need "sudo mount -o remount,rw /" the order matters here and the rw has to be the last argument. You can also install the "UT Tweak Tool" from the store. It has a toggle to enable writing to the fs among other things.

      posted in Fairphone 3
      G
      gandalf
    • RE: split dns/routing for personal vpn

      @arubislander said in split dns/routing for personal vpn:

      @gandalf Not sure about any answer to your questions, but I would suggest you research if what you want is possible on Ubuntu Desktop with NetworManager. If it is, then teh same setup should be transferable to Ubuntu Touch, as the VPN technology used is the same.

      Thanks for the suggestions. I've set up openvpn and the import in UT worked without troubles.

      Split dns works quite well;

      • the openvpn server needs to push the default domain (eg. mylan for any server.mylan to work).
      • In the vpn settings on UT select "Use this VPN for: [ x ] Its own network
      • it also works in combination with the wifi hotspot (FP4), I can access my server by its domain without any changes to the laptop network settings.

      tbd: keep alive, auto-reconnect, and maybe a kill switch for the local domain

      posted in Support
      G
      gandalf
    • RE: UI scaling issue with OTA-24

      @kugiigi
      I see. That file does not exist most of the time oO This is my first UT phone, so no copying from anywhere else.
      Usually have this file only:

      $ cat ~/.config/ut-tweak-tool.sverzegnassi/ut-tweak-tool.sverzegnassi.conf 
      [General]
      defaultDeviceGU=21
      
      $ ls -l ~/.config/upstart/
      total 0
      

      I think you're right that the default scaling changed in OTA24...

      $ initctl get-env GRID_UNIT_PX
      23
      

      I changed the scaling in the tweak tools to 20 and it did create "your" file:

      $cat ~/.config/upstart/ut_tweak_gu.conf 
      start on starting dbus
      exec initctl set-env --global GRID_UNIT_PX=20
      

      Resetting the scaling in the tweak tools seems to simply delete this file. Not sure why that reverts to 21 though. Maybe the tweak tools call the initctl command explicitly with it's saved default value?

      I changed the scaling to 20 in the tweak tools, then manually changed it to 21 in the newly created ~/.config/upstart/ut_tweak_gu.conf. It now stays after a reboot.

      I guess I can just change the default value in ut-tweak-tool.sverzegnassi.conf to 23 or delete that file/directory (an re-install the tweak tools) to get UT and the tweak tools to agree on the system state again?

      Thanks for pointing out that file and location.

      Edit: I changed the stored default value in ~/.config/ut-tweak-tool.sverzegnassi/ut-tweak-tool.sverzegnassi.conf' to 23 and things are behaving as expected again. :thumbs_up:

      posted in Fairphone 3
      G
      gandalf

    Latest posts made by gandalf

    • RE: Waydroid support on FP4

      My daily driver is a FP4 with waydroid actively running at all times. This works but comes with a few caveats:

      • with light phone usage overall I get ~10-12hrs battery life
      • battery life varies drastically between any waydroid update, +- a few hours
      • when locking the screen make sure any other app is in the foreground (e.g. the calendar). Not sure what's going on exactly but keeping waydroid active in the foreground costs a lot more battery life
      posted in Fairphone 4
      G
      gandalf
    • RE: split dns/routing for personal vpn

      @arubislander said in split dns/routing for personal vpn:

      @gandalf Not sure about any answer to your questions, but I would suggest you research if what you want is possible on Ubuntu Desktop with NetworManager. If it is, then teh same setup should be transferable to Ubuntu Touch, as the VPN technology used is the same.

      Thanks for the suggestions. I've set up openvpn and the import in UT worked without troubles.

      Split dns works quite well;

      • the openvpn server needs to push the default domain (eg. mylan for any server.mylan to work).
      • In the vpn settings on UT select "Use this VPN for: [ x ] Its own network
      • it also works in combination with the wifi hotspot (FP4), I can access my server by its domain without any changes to the laptop network settings.

      tbd: keep alive, auto-reconnect, and maybe a kill switch for the local domain

      posted in Support
      G
      gandalf
    • RE: On the subject of Ubuntu Touch versioning scheme

      @peat_psuwit said in On the subject of Ubuntu Touch versioning scheme:

      We've considered 24.04 OTA-x.y. Unfortunately, (re-)using the word OTA could set the wrong expectation; by using the word OTA, many users will expect incremental, frequent updates (AKA rolling release).

      Don't worry, users will expect unicorn rainbow farts anyway 🤣 and while updates are a bit slow, technically UT is a rolling release

      I'm really sorry that you have this sentiment. I also don't want to change the versioning scheme, but both the technical and practical reasons forced us to re-think how we will version Ubuntu Touch.

      Don't be, it was mostly a joke, and, while I may not fully agree with the reasoning, it is overall a pretty minor change. I've been on the other side of this experience plenty of times. As a user I get upset about minor changes because they make up a much "larger" part of the user experience vs the experience as a developer where this is an "insignificant" side quest compared to all the development work actually being done 😉

      Also compare this change to the hot mess that is the current naming schemes from both intel and AMD 😱 😲 🤣

      posted in General
      G
      gandalf
    • RE: On the subject of Ubuntu Touch versioning scheme

      @peat_psuwit said in On the subject of Ubuntu Touch versioning scheme:

      In the Board of Trustees meeting on 4th February, I've brought the release version numbering up as a discussion topic. The attendees considered the comments on this post and have agreed that it's important to still reference Ubuntu version in our versioning scheme, while it would be beneficial development-wise to have a major-minor release system in place.

      As such, we've come up with a versioning scheme of "Ubuntu Touch [Ubuntu version]-[release version]" (a variant of option 3). For example, the next version of Ubuntu Touch would be referred to as "Ubuntu Touch 24.04-1.0".

      We believe this versioning scheme is both understandable and practical.

      I know I'm too late to the party; but if you're already staying this close to the current naming scheme why not go all the way to 24.04 OTA-1.0? Everyone is familiar with that naming convention already, and introducing a minor version number is "backwards" compatible by calling every previous OTA-x.0 if needed. And soon when UT reaches version parity with ubuntu 24.04 the colloquial OTA-x(.y) will be back in action offering an easy shortcut to identify the current release.

      Aka I'm getting old and grumpy, but I really can't stand the relentless reshuffling of naming schemes that usually offer no improvement and just increase the mental load on trying to figure out wtf is going on again 😠 😇

      posted in General
      G
      gandalf
    • RE: Slow reboots

      I haven't run into the crash lomiri bug as I always close any app priori to rebooting just to make sure I don't dismiss anything important... I semi regularly reboot as there seems to be some buggy interaction between phone calls in UT and voice/video calls in whatsapp/waydroid :man_shrugging:

      posted in Fairphone 4
      G
      gandalf
    • [small proposal] date on blog posts

      Hi all

      A quick and tiny proposal; I've regularly accessed a blog posts directly form a search engine and then had to search around to find out when it was posted (aka is it recent or not). For example the announcement for RC-7. The date is there on the News page but that takes time to leave and search for the title (if it's not directly visible). Can I suggest adding the posting date to blog articles?

      Thanks for your considerations and work :smiling_face_with_smiling_eyes:

      p.s. equally irrelevant remark; the default sorting order for the emojis being alphabetical has the unfortunate side effect of putting all the happy faces far down the list and segregating all the :man_ :woman_ variants into distinct blocks (among other shuffling oddities)

      posted in General
      G
      gandalf
    • Slow reboots

      Hi all

      Small question for a small inconvenience; When rebooting my phone (FP4) it takes quite some time to shutdown before the android/unlocked bootloader splash screen shows up. On the order of 30s to a full minute. When I install an update though the restart is near instant the moment I click on install. Simple question, why?

      Thanks :waving_hand:

      posted in Fairphone 4
      G
      gandalf
    • split dns/routing for personal vpn

      Hi all

      I'm looking into setting up an (always-on) vpn access to my home network. To that end I have a few questions.

      • (1) Does UT support split routing based on the domain / "resolved IP"? Say the vpn is reachable at vpn.example.com, is it possible to resolve and send all requests for *.example.com through that vpn conenction, but nothing else?
      • (2) What does "Use this VPN for" -> "its own network" in the vpn setup page do? Is that based on the IP range of the vpn network/gateway or on the domain?
      • (3) I found this guide to potentially enable an always-on connection. is there a way to also enable a kill switch to block/timeout connections to *.example.com when the vpn is inactive?
      • (4) If the above setup works, would that allow mutliple vpn connections to live side by side (assuming distinct ip ranges)?

      Thanks in advance :waving_hand:

      posted in Support
      G
      gandalf
    • BT Headphones disconnect on phone calls

      Hi all

      I have a pair of Sennheiser Momentum 4 BT headphones and they work great for music or calls in waydroid. Unfortunately whenever I try to make or receive an actual phone call they get disconnected from UT.

      Is this a known issue or (more likely) specific to this combination of FP4 + Momentum4?

      Thanks in advance :waving_hand:

      posted in Fairphone 4
      G
      gandalf
    • RE: Waydroid Clipboard Copy/Paste over UT not working

      I got pyclip installed but it's not enough or working. Don't do this at home 😉

      I'm on a fairphone 4 / OTA1 and followed this bug report https://github.com/waydroid/waydroid/issues/309

      cd Downloads
      wget https://bootstrap.pypa.io/get-pip.py
      sudo python3 get-pip.py --prefix=/usr/local
      sudo pip install pyclip
      sudo apt-get update
      sudo install wl-clipboard
      

      Starting waydroid removes all these errors:

      waydroidclipboard: Received transaction: 2
      Could not setup clipboard
      

      But copy/paste still doesn't work. It does crash the apps I tried it with (firefox/whatsapp). Then again copy-paste between firefox and whatsapp doesn't seem to work at all without those packages installed either...

      posted in Waydroid
      G
      gandalf