UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. ComLarsic
    3. Best
    C
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 20
    • Posts 86
    • Groups 0

    Posts

    Recent Best Controversial
    • Getting java working on UBTouch

      Hello everyone, i have been busy trying to get java working an ubuntu touch.

      The approach i am using is by packaging OpenJDK binaries with the click package and linking to it in the .desktop file.

      i got this approach working in amd64 with "clickable desktop" and even made a working window/UI in swing.

      however i have run into some problems with arm64 and armf.

      first of all i don't have a phone that supports armf UBTouch so i can't test the build, i was hoping someone here could test it for me?

      Second of all, i cant seem to find any arm64 binaries for openjdk that work portably, does anyone know where to find it or how to cross-compile it for arm64 on amd64?

      Heres a screenshot of the amd64 build:
      Screenshot from 2020-04-21 10-23-43.png

      Click downloads:
      armf(https://drive.google.com/open?id=1tNf9r9V_w7saZM1IE385tDng35TqvuKk)
      amd64(https://drive.google.com/open?id=1EGq5kHdh7KdtqCKrpBJB2SzWZjWYnIfg)
      arm64(https://drive.google.com/open?id=1IGhc0XXfiUH8eL8FiEmoxAC_kkLTyBes)

      Source code(https://github.com/ComLarsic/Java-Template-UT)

      Update: so i found available arm64 binaries but after installing the updated click package on my oneplus3t it immediately closes itself, does anyone maybe know why?

      posted in App Development
      C
      ComLarsic
    • RE: Help, i broke anbox

      Aight, i fixed it

      i couldnt reinstall anbox-ubuntu-touch becausr on of the folders was in use, after unmounting it using umount i could reinstall it

      posted in Support
      C
      ComLarsic
    • RE: Porting Ubuntu Touch (@UBPorts) to tenshi (BQ Aquaris U Plus)

      @Invy

      i dont own the phone in quesion myself but i think this is normal with halium.
      you have to give ubuntu touch the correct premissions.

      you have to ssh or telnet into the phone and run these commands:

      sudo mount -o remount,rw /
      sudo -i # And enter your password
      cat /var/lib/lxc/android/rootfs/ueventd*.rc|grep ^/dev|sed -e 's/^\/dev\///'|awk '{printf "ACTION==\"add\", KERNEL==\"%s\", OWNER=\"%s\", GROUP=\"%s\", MODE=\"%s\"\n",$1,$3,$4,$2}' | sed -e 's/\r//' >/usr/lib/lxc-android-config/70-[codename].rules
      

      and change the [codename] to your devices codename, then do a reboot.

      As described in the docs:
      https://docs.ubports.com/en/latest/porting/running-ut.html

      posted in BQ U Plus
      C
      ComLarsic
    • RE: Arm64 apps and testing

      i just build a couple of apps for arm64.
      the link includes:

      -Webapp creator
      -Gearboy (gameboy emulator)
      -GearSystem (GameGear emulator)
      -Tedit

      https://drive.google.com/open?id=1P4LdVJZYUpnsqxQf2fwaQ4vd1skWH7-k

      posted in App Development
      C
      ComLarsic
    • Install click pakage on amd64 without terminal app?

      hello everyone, i recently decided to turn my old laptop in an app development device for ubuntu touch.

      i installed the amd64 rootfs found here:
      https://ci.ubports.com/job/rootfs/job/rootfs-generic-amd64/
      (yes, i know its still unstable)

      when booting it i found out it doesnt have a terminal app, i build the terminal app for amd64 using clickable but i still need a terminal to install it.

      is there any way to install a click package without terminal?

      posted in Support terminal clickable x86 amd64
      C
      ComLarsic
    • Porting QTWebflix(Netflix app) to Ubuntu touch?

      hello everyone, I recebtly stumbled across this project named QTWebflix.
      it allows you to watch netflix and other streaming services on Linux.
      it seems to be viable for Ubuntu touch, it uses Qt+QtWebengine and qmake.

      I was planning on porting it myself but I have no idea where to start, is there a guide somewhere on how to build Qt+qmake applications to Ubuntu touch?

      any help is greatly appriciated

      posted in App Development netflix qtwebkit
      C
      ComLarsic
    • RE: Install click pakage on amd64 without terminal app?

      @doniks its just a .img file contained in a .gz
      just extract the .gz file and flash the resulting image onto a USB drive (or a harddrive depending on if you'd wanna install it as main os)

      posted in Support
      C
      ComLarsic