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

    johndoe

    @johndoe

    23
    Reputation
    17
    Profile views
    83
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    johndoe Unfollow Follow

    Best posts made by johndoe

    • RE: Could I compile a python GTK appeared for Ubuntu touch?

      Packaging a GTK app as an click package is possible, but I could only manage to do so by giving the app special permissions (so this is a workaround and will most likely not be excepted in the official app store). Here is an example that worked on my Nexus 4 with Mir as the display manager and will maybe also work on other devices:
      Video of working app (a simple image editor):
      https://libre.video/videos/watch/2f2c5304-d278-4b43-84e0-3c463d3a6432
      Source Code:
      https://gitlab.com/AdamSchrey/image_and_buttons

      Some of the things done here will maybe not be necessary on some devices or in future versions of Ubuntu Touch.

      I had to add this lines to the .desktop file:
      X-Ubuntu-Touch=true
      X-Ubuntu-XMir-Enable=true

      I had to add this line to the .apparmor file:
      "template": "unconfined",

      Otherwise I would get this error:
      ** (process:26446): WARNING **: Unable to exec '/usr/lib/arm-linux-gnueabihf/ubuntu-app-launch/xmir-helper image-and-buttons_0.9.0 ut_session.sh' in '/opt/click.ubuntu.com/.click/users/phablet/image-and-buttons': Permission denied

      I had to export this variable to get bigger buttons/text/entries...:
      export GDK_SCALE=2

      To get an on screen keyboard I installed this packages on my device:
      maliit-inputcontext-gtk3 maliit-inputcontext-gtk2

      ...and exported this variable:
      export GTK_IM_MODULE=maliitphablet

      I reply to this old post, because when I searched for a solution, this was one of the first things that came up and I could not find any working examples my self.
      Maybe someone will find this helpful or will tell me if my app and my solution also work on other devices.

      iab_ut.png

      Some of the things I did, were taken from this website:
      http://kriscode.blogspot.com/2016/09/x-applications-on-ubuntu-phone.html

      posted in App Development
      J
      johndoe
    • RE: OpenStore payment system discussion

      Update:
      I removed the proof of concept web app from the OpenStore, because I have no time right now to regularly restart the server or to fix the stability problems. It would also not make much sense to improve something, that will not be used.

      It is all available under GNU GPL3 at: https://gitlab.com/AdamSchrey/open-store-payment-poc
      So if anyone wants to revisit the idea, he/she can do so.
      I am also happy to answer any questions about it.

      Thank you all for the feedback👍

      posted in General
      J
      johndoe
    • RE: Libertine Tweak Tool

      @doniks I thought the icon could be improved and created a different icon:
      libertine-tweak-tool.png
      This is a png file. The original file is a svg file. It seems like the forum does not like svg files, so I made a merge request.
      I did not like the low resolution of the current icon, this should not be a problem with a svg file.
      If you still prefer the current icon, that is no problem.

      posted in Libertine
      J
      johndoe
    • ut-sysbench-qt-gui: Compare CPU performance of different devices

      Hello,
      I wrote an app to compare the performance of different devices and released it on the OpenStore: https://open-store.io/app/ut-sysbench-qt-gui
      I hope the arm64 version works, because I can only test the armhf version.
      It would be nice, if some of you could share your device's name together with the results you get, after clicking on "Multiple Benchmarks".
      "Export and Compare" will copy the results to your clipboard and show you a bar chart with the performace of other devices.

      Multiple results from different persons for the same model are also useful.

      You are also free to share problems with my app. I know that the memory (RAM) test does not work on all devices.

      ----------------------------------------------------------------------------------------
      Results of my LG Nexus 4 with Ubuntu 16.04 OTA-19:

      sysbench --test=cpu --num-threads=2 --cpu-max-prime=20000 run
      57 events per second

      sysbench --test=cpu --num-threads=8 --cpu-max-prime=20000 run
      113 events per second

      sysbench --test=memory --num-threads=4 run
      Operations performed: 0 ( 0.00 ops/sec)
      0.00 MB transferred (0.00 MB/sec)

      sysbench --test=mutex --num-threads=64 run
      total time: 2.4057s

      posted in App Development testing benchmark compare
      J
      johndoe
    • RE: Usable phone display

      @Appointed
      About UT and desktop apps:
      The goal of Ubuntu Touch is to be an secure and open source mobile OS, that can optionally also turn into a Desktop OS, when you connect the mobile device to a bigger screen, mouse and keyboard.
      When the user is in the desktop mode of UT, he maybe wants to use classic Desktop apps and this is what Libertine is for.
      So it is not the goal of UT to make any desktop app work on a smaller formfactor and without a keyboard and mouse. Of cause you can still try to do so, but that it is not scaling correctly is no surprise. The real issue are the other errors (some programs not opening or not working correctly).

      @Appointed said in Usable phone display:

      responsible

      Libertine is not working perfectly, but UT is a community driven project. You and me are as responsible to make things better as everyone else. The code is all on GitLab and GitHub. The UT core team is happy for everyone who can help.

      For a lot of people it was way more important to get Android apps working on UT and move to focal and this was accomplished. So Libertine not working perfectly is a result of prioritizement and lack of contributors and not because of responsibility.

      posted in Libertine
      J
      johndoe
    • RE: Volla X23 and UT-Tweek Tool

      @MV I don't have a Volla X23, but the scaling probably works similar on most devices.
      The steps in the question are maybe already the solution for you:

      https://forums.ubports.com/topic/9317/how-can-i-change-scaling-on-20-04-focal-without-ut-tweak-tool-and-without-reboot

      ... These devices (and maybe other devices) set the scaling in /etc/deviceinfo/devices/halium.yaml.
      
      In this file I changed "GridUnit" to a more convenient value (i.e. 28 on FP3 and 18 on Lenovo).
      
      To make these changes take effect it is not sufficient to just restart Lomiri with systemctl --user restart lomiri-full-greeter.service. You'll have to reboot the device...
      
      posted in Volla Phone 22
      J
      johndoe
    • RE: OpenStore payment system discussion

      @kugiigi said in OpenStore payment system discussion:

      Anyway, my concern right now is what's in the poc app? I'm not accusing anyone but we are mostly people who met in the internet and what if people who tries the poc actually input their payment details? How secure is the site and what does it actually do? Sorry if this was a stupid concern. It's just the first thing that came to mind 😄

      Your concerns are very valid, but it is designed so that the user does not need to put any data from him/her into the app. The user will see an address and can use any Litecoin wallet (another program or website) to send something to this address.
      The server for open-store-payment-poc will now check the block chain, if any payment went to the given address (the sender and receiver are unknown, but every transfer to every address is known to everyone, this is how the block chain works).

      You will always get a new address, when you click on "Buy" (needs some time and maybe sometimes fails, because the server hardware is not the best and my code for this proof of concept could be improved, it should only show that it can work). But every address always points to the same wallet (in this case my wallet, but it could also be the wallet of someone else for some other app).

      @kugiigi said in OpenStore payment system discussion:

      There's just so many things involved and not just technical but also legal matters.

      The main idea here is: The OpenStore would not need to process the the payment, because it is done by multiple third parties (people who mine Litecoin or who have Litecoin nodes) and the OpenStore only provides an address and looks if there is anything transferred to that address. But the developer would probably need to take care of legal matters as taxes when he receives Litecoin to his wallet or later transfers them into "normal" money.

      And just to be clear: Litecoin was chosen here as one of many possible solutions, because it works and is well established. I could have also chosen Bitcoin, but the confirmation times and the fees are lower with Litecoin.

      posted in General
      J
      johndoe
    • RE: Libertine Tweak Tool

      @doniks You're welcome and no problem

      posted in Libertine
      J
      johndoe
    • RE: Godot 3D Test

      Here is a similar thread for CPU performance tests with sysbench: https://forums.ubports.com/topic/6750/ut-sysbench-qt-gui-compare-cpu-performance-of-different-devices

      Result of the graphic test of my LG Nexus 4:
      screenshot20210925_193703377.png

      posted in App Development
      J
      johndoe
    • RE: Customizing Icons

      @Salah I saw your other post and the "hacky" way with remounting the file system is the way I would do it (https://forums.ubports.com/post/81981).
      I recommend to back up your data and to enable adb shell access, before doing so (you can often still access your device over adb shell, even if the GUI is broken).
      Please be aware that an OTA update could break your device, after you did some hacks, but it is probably unlikely after changing some icons.
      I don't think UT/Lomiri looks for any icons in the home folder (but I could be wrong), so it is either the "hacky" way or someone adds code to the system (pull request on GitLab), that lets Lomiri look for icon packages in a folder like $HOME/.icons/ (similar to what gnome-tweaks does).

      posted in Google Pixel 3a/3a XL
      J
      johndoe

    Latest posts made by johndoe

    • RE: I need some help here: I don't understand how to downgrade my Google Pixel 3A XL to Android 9 after hours of searching, nor do I know how to ask a question here. I'm feeling prett

      @lakeview Hello lakeview,
      I quote from https://devices.ubuntu-touch.io/device/bonito/ :
      "You can install Ubuntu Touch on this device using the UBports Installer on your computer.
      Make sure the bootloader of your device is unlocked and that your device has the required version of Android installed. Before installing, follow the device-specific instructions below:

      • Make sure it is NOT the verizon model, as that model does not allow the bootloader to be unlocked.
      • If the device is running an Android version above 9.0, you have to downgrade to the last 9.0 release. Make sure to revert to factory image PQ3B.190801.002 before continuing."

      So for the factory image you need to go to https://developers.google.com/android/images#bonito . There you probably have to click on "Acknowledge [I have read and agree with the terms and conditions.]" and than you look at a long list for the factory image (PQ3B.190801.002 for the Pixel 3a XL "bonito").

      Here are detailed step by step instructions: https://forums.ubports.com/topic/10906/ut-installation-on-google-pixel-3a-step-by-step

      And for a video tutorial to unlock the bootloader and installing the image, you can check out: https://www.youtube.com/watch?v=CdNGSdYCaDY (but please be aware that you need the image for bonito and not for sargo)

      All of this will only work, if your device allows you to unlock the bootloader. One comment under the linked video explains: "Some more elaboration after further research. If you have a Pixel 3a/XL with an IMEI that does not begin with 35, then you are good to go: this phone is not a Verizon model and it will be possible to enable OEM Unlock. If the IMEI does begin with 35, then it might be a Verizon model, but you need more info to determine that. One way is if you have the original box. If the box lists two IMEI numbers and one eSIM number, then it is not a Verizon phone and it will be OEM unlockable. If it lists a SIM number, then it is Verizon, and will not be OEM unlockable.
      If you don't have the original box, you can go to Google Store Website > Repairs > Get Started, and enter the IMEI number. If there is no mention of Verizon in the device information, then you should be good to go with an OEM unlockable device.

      Hope this is useful for anyone looking for a second hand device to do this installation."

      posted in Google Pixel 3a/3a XL
      J
      johndoe
    • RE: IA out of order

      @_Joao_ With the newest update of uWolf, the Duck AI seems now to work for me (no scaling issue).

      posted in App Development
      J
      johndoe
    • RE: Estimates On VoLTE Arrival

      @thebroison I think UT is available for the Pixel 3a and Pixel 3a XL, but not for the Pixel 3: https://devices.ubuntu-touch.io/

      posted in Google Pixel 3a/3a XL
      J
      johndoe
    • RE: Tab M10 (3rd gen) TB328FU 4G + 64 GB

      @_Joao_ No, it will not be compatible. As far as I see it there is a port for the 4GB RAM version of the 2nd Gen M10, but not for the 3rd Gen: https://devices.ubuntu-touch.io/

      So you will either have to buy a used "Lenovo Tab M10 HD 2nd Gen 4G/64GB" or go for the "Volla Tablet", if you want to have Ubuntu Touch on a Tablet. The Volla Tablet is probably more future proof, but also more expensive.

      Depending on your usecase, it could also maybe make more sense, if you look for a Tablet with Intel processor to install normal Ubuntu (not Ubuntu Touch) on it. I think some of the MS Surface tablets would be good for that.

      posted in Lenovo
      J
      johndoe
    • RE: IA out of order

      @_Joao_ The Mimi Browser worked for me with the DDG AI even after closing and opening it multiple times. If it still does not work for you after restarting your device, you could delete ~/.cache/mimibrowser.fredldotme and/or reinstall Mimi Browser (this will probably delete all your browser settings).

      posted in App Development
      J
      johndoe
    • RE: IA out of order

      Hi @_Joao_ ,
      I can see that the layout for the DuckDuckGo AI does not fit in the Morph Browser window.
      Alternatively the AI answer at search.brave.com seems to work (you need tip on the icon next to the magnifying glass, if it does not automatically give an AI answer with the search).
      For the app, that does not want to start: Have you already tried to restart your device (it often works when an app seemingly does not want to start anymore) ?
      I also could not find "Mini Browser" in the OpenStore.
      Have you already tried out uWolf?

      posted in App Development
      J
      johndoe
    • RE: Ubuntu Touch Q&A 168 call for questions

      @captainfunk Oh, ok, I understand.

      posted in News
      J
      johndoe
    • RE: Ubuntu Touch Q&A 168 call for questions

      Hello @captainfunk , maybe I misunderstand your question about the rotation, but you can already rotate the screen vertically and horizontally. To lock or unlock the automatic rotation:
      a) Open the settings app and you will see the option to turn it on or off
      or
      b) Swipe down from the top of your screen and go to the second last option on the left

      posted in News
      J
      johndoe
    • RE: What are the possible devices that can likely to be ported in span of 3-5 years?

      @hisacro I don't know much about porting, but I think that Pixel 5a to 8a are listed at wiki.lineageos.org/devices suggests that ports could be possible and I am sure many people would be very happy, if ports are available for this newer devices.

      Here is the documentation on how to get started with porting: https://docs.ubports.com/en/latest/porting/introduction/

      And here is a video of someone doing a port for his motorola phone (but I do not know how up to date his approach is): https://www.youtube.com/watch?v=X72ivdm7n1Y

      When you want to start a port for a specific device, it is maybe also a good idea to ask in this forum and on Telegram (t.me/ubports_porting), if someone already started a port on this device and wants to share what is already done and what still needs to be done.

      posted in Off topic
      J
      johndoe
    • RE: snap pop crackle! ....and nix!? The future of crackle

      @Fuseteam This sounds very good.👍 So the goal is, that we will have a "Nix Package Store" in a future version of UT?

      posted in General
      J
      johndoe