UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. abmyii
    3. Best
    A
    Offline
    • Profile
    • Following 0
    • Followers 1
    • Topics 3
    • Posts 37
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Kivy python cross-platform app framework?

      Did some testing today:

      photo5769342123638895589.jpg

      photo5769342123638895585.jpg

      photo5769342123638895588.jpg

      photo5769342123638895590.jpg
      (https://github.com/tito/2048)

      photo5769342123638895597.jpg photo5769342123638895596.jpg photo5769342123638895595.jpg

      (https://github.com/kivy-garden/mapview)

      Porting Kivy exposes some interesting potential, and it works for the most part out of the box - though some glitches will need to be fixed before it's stable.

      posted in App Development
      A
      abmyii
    • [REQUEST] VNC Server testing/assistance

      Hello! I've been working on a VNC server (https://gitlab.com/abmyii/ubports-mir-vnc-server) for a while and have got it to a stage where it's very usable.

      snapshot-godotmp4.jpeg
      (VNC + Godot demo - full video: https://gofile.io/d/e6khOg)

      While it is stable on my device, others have reported crashes when trying to interact (i.e. clicking or typing) over VNC. I haven't been able to isolate the issue due to having very few testers and also not being too familiar with the inner workings of UBPorts. If anyone can help with either of these, I would appreciate it very much!

      armhf click:
      https://gitlab.com/abmyii/ubports-mir-vnc-server/-/jobs/941416993/artifacts/raw/build/arm-linux-gnueabihf/app/mirvncserver.abmyii_1.0.0_armhf.click

      arm64 click:
      https://gitlab.com/abmyii/ubports-mir-vnc-server/-/jobs/941416995/artifacts/raw/build/aarch64-linux-gnu/app/mirvncserver.abmyii_1.0.0_arm64.click

      amd64 click:
      https://gitlab.com/abmyii/ubports-mir-vnc-server/-/jobs/941416997/artifacts/raw/build/x86_64-linux-gnu/app/mirvncserver.abmyii_1.0.0_amd64.click

      posted in App Development testing vnc debugging
      A
      abmyii
    • RE: SuperTuxKart porting

      @AntiDroid You need to package the required libraries in the click. This is how I do it for Neverball: https://gitlab.com/abmyii/neverball-touch/-/blob/master/clickable.json#L43-58

      The method I use to identify them is just trial-and-error. I assume it runs on your device because you have the libraries already installed, whereas most devices don't have those libraries preinstalled.

      @kugiigi What you could try is to use the libraries packaged with Neverball when running the game manually, since it should have most (if not all) of the required libraries. To do that, run:

      export LD_LIBRARY_PATH=/opt/click.ubuntu.com/neverball.abmyii/current/lib/aarch64-linux-gnu:/opt/click.ubuntu.com/*.abmyii/current/lib/*
      

      And then run SuperTuxKart manually as you did before.

      posted in App Development
      A
      abmyii
    • Godot 3D Test

      I asked users to post the results their devices get on the Godot 3D Test app by @pavelprosto (https://open-store.io/app/godot3dtest.pavelprosto). Here are the results. Feel free to join in and add yours to this thread.

      abmyii - OPO

      044a6e69-a99c-4691-8155-f3f730430a76-image.png

      Emanuele-Sorce - BQ E5

      deaae367-f11d-482d-8bde-4dba23250950-image.png

      CiberSheep - Meizu MX4 (Arale)

      c24e8253-3a3e-46f0-9936-5b224107b7cd-image.png

      Fuseteam - BQ E5 2nd Edition

      dea2de28-1b55-421e-acbc-c3a78b01c69d-image.png

      posted in App Development
      A
      abmyii
    • RE: Latest Devel Channel Updates

      @mariogrip I heard the mirbacklight script will be removed from devel. I use it in MirVNCServer, so what alternative methods can I use once it has been removed?

      posted in News
      A
      abmyii
    • Testers for Gigalomania on OnePlus 3(T) Devices

      https://open-store.io/app/gigalomania.abmyii

      I have been trying to debug an issue (https://gitlab.com/abmyii/gigalomania/-/issues/1) for Gigalomania crashing on a OnePlus 3 device, and I was wondering if the issue is common to all OnePlus 3(T) devices or not. if anyone could test it that would be very helpful.

      posted in Support
      A
      abmyii
    • RE: [REQUEST] VNC Server testing/assistance

      @kugiigi Ctrl+Shift+Up and Ctrl+Shift+Down should do it!

      posted in App Development
      A
      abmyii
    • RE: [REQUEST] VNC Server testing/assistance

      @kugiigi said in [REQUEST] VNC Server testing/assistance:

      @abmyii Oh okay, that worked although at first it was crashing and when it worked, I still get crashes when rotating from time to time. This is on Remmina on Ubuntu so perhaps specific only to this.

      Yeah, known issue - I haven't had a chance to look into it properly yet. It usually takes ~4/5 rotations in quick succession for it to crash on mine.

      posted in App Development
      A
      abmyii
    • RE: Handling python dependencies

      @aarontheissueguy There are a few ways - all include copying the modules into the package. This should be very easy if you are using a virutalenv, because ideally all the packages required are installed in it (and hopefully no others, because that would be a bit of a waste of space).

      The simplest way is to copy all the folders into the main package folder (i.e. in the same folder as the Python files) since Python will automatically look for the modules in that folder, so it should find them. Note that any modules that have binary files that are specific to one arch will fail on the other arches.

      Another method is to use the PYTHONPATH (https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPATH) environment variable to point to the folder containing the modules. This can also be done in Python by adding the following to the top of your Python files:

      import sys
      sys.path.append('<PATH>')
      

      This will make Python look for the modules in the provided path.

      posted in App Development
      A
      abmyii
    • RE: Handling python dependencies

      @aarontheissueguy Do you have the project hosted online? It's a bit difficult to debug without understanding the structure. If it's not hosted online, running tree should be enough for me to get an idea of the structure.

      posted in App Development
      A
      abmyii
    • RE: Handling python dependencies

      @aarontheissueguy I see. So I think the problem here is that the libs are in the lib/Python3.8 folder as opposed to directly in the lib/ folder. Try either moving them into the lib/ folder or adding lib/Python3.8 to sys.path.

      posted in App Development
      A
      abmyii
    • RE: [REQUEST] VNC Server testing/assistance

      For input to work on Nexus 5 (hammerhead), a udev rule has to be added using the following instructions:

      • Make the rootfs rw using the Ubuntu Touch Tweak Tool (UTTT)
      • Run this command on the device/over SSH:
      echo 'ACTION=="add", KERNEL=="uinput", OWNER="system", GROUP="bluetooth", MODE="0660"' | sudo tee /lib/udev/rules.d/70-android_additional.rules
      
      • Reboot device

      This fix has to be applied only once. It will become redundant after OTA-17 is released, as there is an open PR to fix it (https://github.com/ubports/android_device_lge_hammerhead/pull/30).

      posted in App Development
      A
      abmyii