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

    jmlich

    @jmlich

    0
    Reputation
    7
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online
    Website blog.mlich.cz
    Location Brno, CZ

    jmlich Unfollow Follow

    Latest posts made by jmlich

    • RE: Waydroid infos needed :)

      @wgarcia Acctually, I don't use any android applications, but waydroid sound like a way to bypass gap until native applications are written. There is usually one or two apps which locks people to android.

      @treebeard thanks for nice overview of your waydroid experience.

      posted in Waydroid
      jmlichJ
      jmlich
    • RE: Need help for application building

      @arubislander said in Need help for application building:

      Is the clickable application started in some kind of container / systemd-cgroup or it is just started with reduced privileges (given by apparmor settings?).

      The resulting click package (which could also be assembled in other ways, but clickable is the easiest) that can be installed on a device running UT does not run in a container, but is indeed constrained by apparmor policies.

      I was wondering if there is some kind of overlayfs thing. I did expected to have application installed into standard paths (i.e. application can by started from PATH). It seems the content of package is simply extracted into /opt/click.ubuntu.com/app-name/version and LD_LIBRARY_PATH and relative paths are used.

      BTW the container approach sounds like a doable workaround how to run 16.04 apps in 20.04 ubuntu. For some reason, I was thinking that this kind of container is used for normal run of apps.

      I am wondering what is the best way to debug apparmor setting.

      Have you seen this page? It details most the apparmor policy groups that are currently available to app developers.

      Yes, I have seen that page, but I am wondering how is it done technically. Those methods looks orthogonal to each others.

      • Some of APIs groups looks like dbus interface (for example contacts),
      • others looks like work with block device (for example camera reads /dev/video0 -> gstreamer -> qt -> app).
      • For example for video_files_read I would expect some QDir dir("Pictures/MyPictures").entryList(...);

      My application is using some Blootooth Low Energy library. I am wondering if it goes via standard bluetooth api or it is bypassed. I will probably find the answer immediately after first run, but I am waiting for hardware delivery so I am stating unnecessary questions ;-D

      I guess, I will set "unconfined" mode and will try to find some kind of audit log which should report which permission was used.

      I tend to think it works better the other way around. Once you have developed your app, remove "unconfined" mode and use the above list to add the policy groups you obviously need. Then keep an eye on the logs, as AppArmor
      will complain if you are missing any permissions.

      It would be great to know which log exactly to watch. This is one bit I haven't found in docs.

      Next it would be great to have a link to source code where the apparmor policy are defined.

      I am trying to summarize knowledge about ubports for myself into blog post. WIP version is at https://board.net/p/ubports-en

      Looking forward to seeing this expand. You might also be interested in helping update the official documentation 🙂

      Right, but first things first. The document was google translated text I had. I need to clear facts first, then polishing my grammar and then I can consider contribution to documentation. I definitely want to publish it in my blog and I am not against republishing it anywhere else (e.g. ubports blog)

      posted in App Development
      jmlichJ
      jmlich
    • Waydroid infos needed :)

      I was speaking with many people about ubuntu touch and they was asking about waydroid a lot. I have some basic idea about source of troubles. I would like to ask on experience with android apps. Which applications perfectly works, which apllication works, but they are limited, which doen't work. The limits of each application are also interesting. For example whatsapp works but drains battery. Does also notifications and calls work? I would like to have some idea about common apps such as spotify, discord, slack, netflix, skype, tiktok, dropbox, signal, uber, pinterest, here maps, waze, google meet, zoom, instagram, viber, webex. I am curious about banking/payments apps, possibly some guitar tunner app, some speech to text app, gadget bridge (smartwatch app). People have usually some application/vendor lock-in which prevents them to migrate to ubports.

      posted in Waydroid
      jmlichJ
      jmlich
    • Need help for application building

      I am trying to port application to ubports/lomiri and I still don't understand some concepts.

      Is the clickable application started in some kind of container / systemd-cgroup or it is just started with reduced privileges (given by apparmor settings?).

      Is there way to run systemd service with application? I have background service which gathers data in time via BLE.

      I am wondering what is the best way to debug apparmor setting. I guess, I will set "unconfined" mode and will try to find some kind of audit log which should report which permission was used (similar to selinux permissive mode, yes, I have very few experience with selinux, but no apparmor). Maybe some generic link into clickable documentation may accelerate my start (and maybe also others)

      I am trying to summarize knowledge about ubports for myself into blog post. WIP version is at https://board.net/p/ubports-en

      posted in App Development
      jmlichJ
      jmlich
    • RE: Ubuntu Touch Q&A 123 call for questions

      I would like to hear a little about some roadmap (ETA of migration to ubuntu 22.04 LTS). What is ETA of OTA-3. If will be translations finally updated in OTA-3. I would like to hear more how clickable works (I am missing some details, which I haven't found in documentation).

      posted in News
      jmlichJ
      jmlich