UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. PhAndersson
    3. Posts
    P
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 13
    • Posts 126
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Noble bluetooth issues

      I tried connecting the phone to the laptop using bluetoothctl: same outcome (it fails).

      The laptop (kermit) is still considered a paired device:

      [bluetooth]# devices Paired
      Device xx:xx:xx:xx:xx:xx kermit
      

      Attempting to connect to it yields the following error message after a while:

      [bluetooth]# Failed to connect: org.bluez.Error.Failed le-connection-abort-by-local
      

      'journal' doesn't seem to contain any further information.

      posted in Volla Quintus
      P
      PhAndersson
    • RE: Noble bluetooth issues

      @jojumaxx I have a similar issue, maybe not absolutely identical:

      I had to fiddle a lot to get my new Volla Quintus paired with my Linux laptop (tried several times, turned BT on and off on the phone), then eventually they accepted to pair.

      Now, a few days later, the laptop is still listed as a paired device, but I can't get the phone to reconnect to it (I've not activated the auto-connect feature as that's not desired). I haven't tried bluetoothctl either, but I'll do and report back.

      The Quintus is on 24.04-1.3, also no dual boot.

      posted in Volla Quintus
      P
      PhAndersson
    • RE: Trying to revive 'ubtd' (Bluetooth file transfer)

      @gpatel-fr said:

      @domubpkm

      Well, if my calculation is correct that means about 2Mbits/s, it seems quite decent for Bluetooth.

      Agreed.

      posted in App Development
      P
      PhAndersson
    • RE: Trying to revive 'ubtd' (Bluetooth file transfer)

      @domubpkm said:

      @phandersson I transferred a RAR file from UT smartphone to another with Volla OS, because no function to decompress RAR on UT. Did not work directly, extension not recognized. On the other hand, workaround by transforming the RAR extension into mp4: ok, worked. Then I put the RAR extension back in, and unzipped it without any problem. Just tested this.

      Thanks for the feedback.

      Make Ratatoskr recognize various extensions?

      Well spotted -- the main app will accept incoming files of any type, but the SharePlugin only registers itself as handler for a limited number of file types. For no particular reason, as far as I know.

      I've created the following issue to track this: https://github.com/petroniusniger/ratatoskr/issues/34

      posted in App Development
      P
      PhAndersson
    • RE: Trying to revive 'ubtd' (Bluetooth file transfer)

      @domubpkm said:

      @phandersson ok. I switched to dev channel and i tried to send a (big) file from my Volla 22 with UT to a Volla with volla OS with your last update : it works now. 👍.

      Excellent news -- thanks for the feedback.

      But i found the transfer speed was very slow. Could it be improve or not ?

      Could you be a bit more specific, please? From what I read online, typical Bluetooth transfer speeds are between 1 and 3 Mbps.

      When I tested the app prior to releasing v0.1.1, I measured 1.3 Mbps when pushing a large file from my (Linux) laptop to the phone (Pixel 3a).

      Do you get a comparable bandwidth, or something much lower? (to measure it, I simply time the transfer and divide it by the file size).

      posted in App Development
      P
      PhAndersson
    • RE: Trying to revive 'ubtd' (Bluetooth file transfer)

      @domubpkm said:

      @PhAndersson Can connect with bluetooth a Volla with Volla OS to a Volla 22 with UT noble.

      There is currently a bug in Noble (up to 24.04-1.2) that prevents the OBEX daemon from starting.

      The fix exists and is already merged. Here is the related MR: https://gitlab.com/ubports/development/core/ubuntu-touch-session/-/merge_requests/81. It is supposed to be part of the upcoming 24.04-1.3.

      Based on earlier tests by @gpatel-fr, once this fix is available, 'ratatoskr' should work on Noble as well.

      posted in App Development
      P
      PhAndersson
    • RE: Trying to revive 'ubtd' (Bluetooth file transfer)

      I need to amend the statement above. After further tests, the code that has been used to generate the packages is the correct one, so all the latest functionalities are present, and both sending and receiving files should work.

      The only problem is that the wrong version string has been used when building.

      posted in App Development
      P
      PhAndersson
    • RE: Trying to revive 'ubtd' (Bluetooth file transfer)

      Sure, Tweak Tool, of course -- sorry.

      I just checked on my phone and it shows there, yes. Just look under the name 'Ratatoskr' (that's the actual name I gave the app -- "Bluetooth file transfer" is only a description).

      It's the first UT app I built, so I'm not familiar yet with all the intricacies of the dev. workflow.

      In any case, it seems there was a mixup, as the packages that were pushed on the server are v0.1.0, not v0.1.1. The "file sending" functionality may not be functional in that version (the receiving one should be).

      I'll try to get this fixed tomorrow.

      posted in App Development
      P
      PhAndersson
    • RE: Trying to revive 'ubtd' (Bluetooth file transfer)

      @domubpkm said:

      @PhAndersson Should the app be shown in UT TT apps ? I don't see anything on my Volla 22.

      I'm sorry, I guess I'm a bit slow tonight, but I'm not clear on what 'TT' means in this context. Can you clarify?

      What should be the names of the cache config data directories ?

      The app cache is in ~/.cache/ratatoskr.petroniusniger/. This is where incoming files are kept -- but there is no config data there (the app doesn't store any configuration data at this stage).

      posted in App Development
      P
      PhAndersson
    • RE: Any way to push contacts to car kit?

      OK -- replying to my own post 😉

      To resolve the issue, I decided to revive the old 'ubtd' app. Its new incarnation has passed the code review and v0.1.1 is now available on the OpenStore.

      You will find it under the name "Ratatoskr (Bluetooth file transfer)", in the "Utilities" category.

      If you install it, may I suggest that you check the README here: https://github.com/petroniusniger/ratatoskr/tree/main for a brief description of how to use it most effectively?

      Also, should you discover any bug, please report them here: https://github.com/petroniusniger/ratatoskr/issues

      posted in Google Pixel 3a/3a XL
      P
      PhAndersson
    • RE: Trying to revive 'ubtd' (Bluetooth file transfer)

      Final status update: the app has passed the code review and v0.1.1 is now available on the OpenStore.

      You will find it under the name "Ratatoskr (Bluetooth file transfer)", in the "Utilities" category.

      If you install it, may I suggest that you check the README here: https://github.com/petroniusniger/ratatoskr/tree/main for a brief description of how to use it most effectively?

      Also, should you discover any bug, please report them here: https://github.com/petroniusniger/ratatoskr/issues

      posted in App Development
      P
      PhAndersson
    • RE: Trying to revive 'ubtd' (Bluetooth file transfer)

      Status update:

      'ratatoskr' source code has just been reviewed by @bhdouglass (OpenStore team), and two issues have been identified that should be resolved before allowing publication of the .click packages:

      • https://github.com/petroniusniger/ratatoskr/issues/12 (new one)
      • https://github.com/petroniusniger/ratatoskr/issues/6 (known issue)

      I'll work on resolving those 2 issues and release a v0.1.1 of the code before re-submitting it for publication.

      posted in App Development
      P
      PhAndersson
    • RE: Hardware recommendation for Noble

      @projectmoon said in Hardware recommendation for Noble:

      Volla Quintus has served me well so far. It's also one of the only devices that is officially commercially supported for UT. Volla has someone working on UT for their devices.

      Many thanks -- I'll give it a look. I guess flashing my first 2 phones with fastboot and adb earned me a few nerd points, but I won't complain either if the next one comes pre-installed 😉

      posted in Devices
      P
      PhAndersson
    • RE: Hardware recommendation for Noble

      @MrT10001 said in Hardware recommendation for Noble:

      The Google Pixel 3a is a good device, but unfortunately lacks the VoLTE support

      Indeed -- the support for that device is excellent overall. I'm very happy with it. It's just a pity that the HW specs are a bit basic.

      For me and this is what you will get as everyones experience varies the devices I recommend are OP5 and OP5T, Nord N100 and Nord N10 5G, Xiaomi Redmi Note 9 Pro and Xiaomi POCO X3 NFC...

      OK, thanks -- I'll have a look at those.

      Anything device that has worked with Focal should clean install to Noble with a few exceptions (OP6 and OP6T and Xiaomi Mi A2).

      You surprise me -- I thought the Mi A2 was never ported to Focal. I have one, but it's still on Xenial.

      posted in Devices
      P
      PhAndersson
    • Hardware recommendation for Noble

      Hello everyone,

      I'm currently using Focal on a Google Pixel 3a as daily driver, and I would prefer to wait a bit before upgrading it to Noble. But I would also like to start porting an app I'm writing to the latest UT platform.

      Could you please tell me which phone would provide the best user experience (considering a scenario where it would be imaged with Noble straight away, not upgraded from Focal, and use the latest available version, not /stable)?

      Side question: do we still need to start from Android 9 before installing Noble?

      Thanks in advance for any recommendation.

      posted in Devices
      P
      PhAndersson
    • RE: Trying to revive 'ubtd' (Bluetooth file transfer)

      @paulcarroty said in Trying to revive 'ubtd' (Bluetooth file transfer):

      @PhAndersson there's active OpenStore matrix room.

      Many thanks -- I just joined it.

      posted in App Development
      P
      PhAndersson
    • RE: Trying to revive 'ubtd' (Bluetooth file transfer)

      @gpatel-fr said in Trying to revive 'ubtd' (Bluetooth file transfer):

      as they say in open source, 'unfortunately' the MR was backported to the 24.04-1.x too late to be included in the 24.04-1.2 version 😞 . That means that your app will not work at all in this version unless some system fiddling is done by the user.

      So this means waiting for 24.04-2/stable, I guess...

      posted in App Development
      P
      PhAndersson
    • RE: Trying to revive 'ubtd' (Bluetooth file transfer)

      @arubislander said in Trying to revive 'ubtd' (Bluetooth file transfer):

      @PhAndersson said in Trying to revive 'ubtd' (Bluetooth file transfer):

      it says the official Android or iOS app is required to do this, which I don't have access to

      I have heard Telegram works on Waydroid, fwiw.

      Thanks for the tip -- I'll give it a look.

      posted in App Development
      P
      PhAndersson
    • RE: Trying to revive 'ubtd' (Bluetooth file transfer)

      I've hit a snag. I'm supposed to contact the review team on Telegram to try and get my app approved for publication on the OpenStore, but it seems I can't create a Telegram account through the UT Teleports app -- it says the official Android or iOS app is required to do this, which I don't have access to.

      I'll try to contact 'bhdouglass' via the forum instead.

      posted in App Development
      P
      PhAndersson
    • RE: Trying to revive 'ubtd' (Bluetooth file transfer)

      @gpatel-fr said in Trying to revive 'ubtd' (Bluetooth file transfer):

      @PhAndersson

      Anyway, I tried to regenerate the click without the unconfined template. Now, the confined app can send files to the Android phone without problem at all. It's in the other direction that I get an authorization error:

      Yes, I'm aware of this -- I already reported this higher up in this thread. The SharePlugin works fine with a confined AppArmor profile. It's only the main app that needs wider rights to interact with D-Bus / OBEX.

      Now I don't think anymore that it's a matter of setting the system to grant the authorization. You see, in the other direction on the Android phone I get a prompt to authorize the transfer. The UT phone can't simply push files to the Android phone without any user interaction.
      And I think that this should be the fix: that somehow the UT user (phablet) get a prompt to grant the other system the (temporary) right to write the file to the UT destination.

      Having a prompt for the user to accept the incoming transfer is indeed needed (and already tracked through issue #6), but I don't see this as related to the fact that a confined AA profile prevents the app from issuing the "AuthorizePush" message.

      This clearly needs further investigation.

      posted in App Development
      P
      PhAndersson