UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics

    • All categories
    • CaedemC

      Adding a feature list for Focal for the Redmi Note 7 (Lavender) (help wanted)

      Watching Ignoring Scheduled Pinned Locked Moved Xiaomi Redmi Note 7
      13
      1 Votes
      13 Posts
      188 Views
      CaedemC
      We have 24 hours battery life! [image: 1747735900483-7ce2ff69-8269-4850-b61c-b71f654a6b54-photo_2025-05-20_11-08-10.jpg]
    • developerbaymanD

      full python clickable app prototype

      Watching Ignoring Scheduled Pinned Locked Moved App Development
      8
      1
      0 Votes
      8 Posts
      211 Views
      arubislanderA
      @Keneda said in full python clickable app prototype: However there is an option to pop up a donation proposal Sure, but that is optional, whereas payment would be compulsory.
    • R

      tiling windows on lomiri

      Watching Ignoring Scheduled Pinned Locked Moved Lomiri (was Unity8)
      5
      1 Votes
      5 Posts
      179 Views
      K
      @RJDan Not in UT, no.
    • libremaxL

      Working VoLTE reports, share your experience

      Watching Ignoring Scheduled Pinned Locked Moved General
      28
      3 Votes
      28 Posts
      2k Views
      libremaxL
      @Caedem Yes, only what works, this thread will be useful if it makes it easier to choose a suitable device for those who absolutely need VoLTE.
    • MoemM

      How I'm now using Signal on UT

      Watching Ignoring Scheduled Pinned Locked Moved General
      49
      9 Votes
      49 Posts
      3k Views
      danfroD
      @Marcos Thanks for your detailed instructions. I take it, step 2 means to kick the bot user our of the space/room? I am not using beeper, so trying to find out the aquivalent for Cinny.
    • R

      zfs on Ubuntu touch

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Support
      4
      1 Votes
      4 Posts
      184 Views
      ikozI
      TL;DR: use BTRFS or proxy the ZFS via NFS @RJDan said in zfs on Ubuntu touch: [...] better supported on linux, it seemed to be a clear win for zfs. Well, unfortunately that is not the case, ZFS is not supported without adding kernel modules via DKMS. That is because of licensing issues which prevent it from being built-in the kernel like BTRFS and EXT4. DKMS cannot work on Halium kernels as they are based on patched downstream android kernel. I thought FUSE was an option, but after trying to install it on my device I found out zfs-fuse is deprecated, and I couldn't make it work. So the only way is to build the kernel with patches for the ZFS module, beforehand. This is however very complex and I wouldn't recommend it. There is a workaround, to have a NFS/Samba as a proxy to the ZFS file system so that the UT device accesses the file system remotely. The more straight-forward approach is to change the file system to BTRFS, assuming it meets your use cases. If you only need snapshots and backups, you should be fine.
    • J

      background daemon and accessing location/gnss data

      Watching Ignoring Scheduled Pinned Locked Moved Off topic lomiri gps dbus daemon
      3
      0 Votes
      3 Posts
      142 Views
      J
      @ikoz Hi, Thanks for the reply... Unfortunately , test_gps doesn't work at all ("**** GPS interface not found Bye!*" ), tried that yesterday, no wrapping around it would give anything... looks like that comes from the hybris stack for old android stuff that accessed GPS hardware directly... Since I believe the hardware to be already locked/in use by the the software stack, I probably need to simulate the same approach (Qt > QtPosition or Dbus sessions ?) I'll try working with QtPositioning somehow since GPSToolkit uses it USB: yeah, i'll check again later, ideally, I just need a way to inject juice and have a single usb, dunno Network: Yeah, honestly, if it can be Hotspot AP + Station at the same time, all done in UI to keep my dirty fingers away of the network management, that'd be great, or even by splitting the radio chains, 2.4GHs AP, 5GHz Client if needed I know the hardware can do it (because It did work before installing UBt) But it's less of an emergency
    • phmqXPDP

      The rework of 'halium-generic-adaptation-build-tools'

      Watching Ignoring Scheduled Pinned Locked Moved General
      2
      1 Votes
      2 Posts
      128 Views
      developerbaymanD
      @phmqXPD sweet work!
    • X

      Xiaomi Redmi Note 8 (2021) (Mediatek) (Ubuntu touch) | Android 11

      Watching Ignoring Scheduled Pinned Locked Moved Porting
      10
      3 Votes
      10 Posts
      288 Views
      KenedaK
      @faveoled Done.
    • X

      Port to xiaomi 12 lite

      Watching Ignoring Scheduled Pinned Locked Moved Off topic
      2
      0 Votes
      2 Posts
      84 Views
      KenedaK
      @Xiaomi12lite https://forums.ubports.com/topic/2068/halium-first-steps
    • D

      what's a good minimum translation completion percentage

      Watching Ignoring Scheduled Pinned Locked Moved Translations
      12
      0 Votes
      12 Posts
      305 Views
      D
      @alagirialagiri said in what's a good minimum translation completion percentage: @doniks I want to know whether the news section , question and answer blog posts are available in weblate translation in Tamil language.There is no navigation box available as available in documentation page.i request weblate translators to provide the language transulation Navigation box for every forum .Thanking you. As I said before, I think it would be best to create a new post to maximise the chances that the right people can react to your questions, rather than burry your questions here in this thread. I don't have access to the blog
    • Vlad NirkyV

      Brax3 port still in progress

      Watching Ignoring Scheduled Pinned Locked Moved Porting
      1
      1
      0 Votes
      1 Posts
      52 Views
      No one has replied
    • P

      Get app name and hook at runtime

      Watching Ignoring Scheduled Pinned Locked Moved App Development
      2
      0 Votes
      2 Posts
      122 Views
      developerbaymanD
      @Plarde Yes, it is possible — though not entirely straightforward — to infer some runtime information like the app's name and the hook that launched it on Ubuntu Touch, particularly if the app is deployed as a click package. Here’s a breakdown of your goals and possible solutions: Goal: Get the App ID or Name from Manifest In Ubuntu Touch click packages, metadata is defined in a manifest.json file, which contains fields like: { "name": "appname.yourname", "version": "1.0.0", "framework": "ubuntu-sdk-20.04", ... } How to get this at runtime? At runtime, this data isn’t directly exposed via traditional environment variables like APP_NAME. However: Environment Variables Available at Runtime: The AppArmor profile and the Ubuntu Touch application launch mechanism set a number of environment variables, including: APP_ID: Often the full app name like appname.yourname APP_PATH: The full installation path to the app APP_BIN: The binary or hook name You can access these using C/C++/SDL via getenv("APP_ID"), etc. Goal: Get the Hook Name (i.e., the launcher binary name) Click packages specify "hooks" (executables, wrappers, or scripts) in the manifest.json under "hooks": "hooks": { "myhook": { "apparmor": "myhook.apparmor", "desktop": "myhook.desktop" } } How to get the hook at runtime? There’s no standard variable like APP_HOOK, but you can infer it from: argv[0] or /proc/self/exe: #include <unistd.h> #include <limits.h> char path[PATH_MAX]; ssize_t len = readlink("/proc/self/exe", path, sizeof(path)-1); if (len != -1) { path[len] = '\0'; printf("Executable Path: %s\n", path); } Then extract the final component to get the executable name — likely the hook. Summary of Techniques What You Want How to Get It App ID (from manifest) getenv("APP_ID") or getenv("APP_NAME") (test both) App Install Path getenv("APP_PATH") Executable Name / Hook Use argv[0] or resolve /proc/self/exe Manifest Contents Parse /opt/click.ubuntu.com/<appid>/manifest.json manually Bonus: Parsing the Manifest Programmatically If you want full manifest access: #include <stdio.h> #include <stdlib.h> #include <json-c/json.h> void print_manifest_field(const char* field) { const char* appid = getenv("APP_ID"); if (!appid) return; char manifest_path[512]; snprintf(manifest_path, sizeof(manifest_path), "/opt/click.ubuntu.com/%s/current/manifest.json", appid); FILE* file = fopen(manifest_path, "r"); if (!file) return; struct json_object *parsed_json; parsed_json = json_object_from_file(manifest_path); if (parsed_json) { struct json_object *value; if (json_object_object_get_ex(parsed_json, field, &value)) { printf("%s: %s\n", field, json_object_get_string(value)); } json_object_put(parsed_json); } fclose(file); } ️ Caveats These variables are set by the Ubuntu Touch application launcher, so they only exist in the app context. Hook names are not exported as a separate variable unless the launcher sets one explicitly. SDL3 libraries should allow injection or configuration of these values from the hosting application (e.g., via init). Final Advice for SDL3 Porting Since SDL3 is a library and shouldn't hardcode values: Consider requiring the host app to pass APP_ID and HOOK_NAME to SDL3 during initialization. You could fallback to the environment and /proc/self/exe as a best-effort fallback. Let me know if you want a ready-made SDL3-compatible utility wrapper function for this.
    • P

      Firefox from Snap crushed after run.

      Watching Ignoring Scheduled Pinned Locked Moved App Development
      2
      0 Votes
      2 Posts
      130 Views
      developerbaymanD
      @PiotrBujakowski i know its been a minute but ....can you elaborate?
    • developerbaymanD

      not all distros are equal in the eyes of clickable

      Watching Ignoring Scheduled Pinned Locked Moved App Development
      1
      0 Votes
      1 Posts
      65 Views
      No one has replied
    • peat_psuwitP

      Call for testing: Ubuntu Touch 20.04 OTA-9

      Watching Ignoring Scheduled Pinned Locked Moved OS
      1
      9 Votes
      1 Posts
      181 Views
      No one has replied
    • DJacD

      Unlock bootload (asus zenfone max pro m1)

      Watching Ignoring Scheduled Pinned Locked Moved Asus Zenfone Max Pro (M1)
      12
      0 Votes
      12 Posts
      334 Views
      DJacD
      @MrT10001 I can't install ubport on my 32bits ubuntu computer. and it don't work with my debian computer... so, I'm looking for others solution. I have a probleme to install postmarketOS too. I keep you in touch.
    • costalesC

      20.04 Focal: uNav freezes with GPS enabled

      Watching Ignoring Scheduled Pinned Locked Moved App Development
      17
      1 Votes
      17 Posts
      1k Views
      CiberSheepC
      @kristatos said in 20.04 Focal: uNav freezes with GPS enabled: @CiberSheep @TheBird @zubozrout Can you please mention on which device these freezes happen to you? Currently I'm on a POCO (but I experienced freezes since Focal. On uNav With gps, wifi, mobile network all on Tap on the map Start navigation Cancel navigation Now UI is freezed Switch off GPS Switch on GPS GPS icon doesn't appear on the indicators bar If you open again uNav and tap on a location and try to navigate, UI will freeze until GPS fails to turn on and switches off. With this I mean, if you turn on GPS from the indicator, still doesn't appear on indicators bar but GPS switch is on. GPS fails. GPS switch turns off. uNav UI unfreezes.
    • E

      Lomiri

      Watching Ignoring Scheduled Pinned Locked Moved General
      1
      0 Votes
      1 Posts
      86 Views
      No one has replied
    • UBportsNewsU

      Today is Q&A Day

      Watching Ignoring Scheduled Pinned Locked Moved News
      1
      0 Votes
      1 Posts
      142 Views
      No one has replied