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

Posts

Recent Best Controversial
  • 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
    5 Apr 2023, 06:40
  • [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
    11 Jan 2025, 22:02
  • 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
    12 Apr 2023, 14:15
  • 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
    22 Aug 2022, 07:36
  • 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
    12 Aug 2022, 22:55
  • 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
    5 May 2023, 05:42
  • 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
    3 Sept 2022, 08:23
  • 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
    16 Feb 2025, 11:46
  • 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
    21 Dec 2022, 16:48