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

    ComLarsic

    @ComLarsic

    10
    Reputation
    45
    Profile views
    86
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    ComLarsic Unfollow Follow

    Best posts made by ComLarsic

    • 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

    Latest posts made by ComLarsic

    • RE: webapp-container

      @boky im pretty sure you can't directly access webapp-container in the terminal because Mir blocks it. you can only run webapp-container in a click package

      posted in App Development
      C
      ComLarsic
    • RE: Oneplus 3/3T

      @pratham if its available as zip image (or any type of TWRP compatible image) you can just use twrp to install it

      posted in Oneplus 3/3T
      C
      ComLarsic
    • RE: Oneplus 3/3T

      @pratham not that i know of, anbox is generally pretty slow on ubuntu touch devices and even on pc's

      posted in Oneplus 3/3T
      C
      ComLarsic
    • RE: Oneplus 3/3T

      @Lakotaubp yes, but his error was that he couldnt install anbox. now his problem is that he flashed twrp on his device preventing him from updating

      posted in Oneplus 3/3T
      C
      ComLarsic
    • RE: Oneplus 3/3T

      @pratham if you already removed the recovery then you can install it again by using the installer, you can even tell it to leave userdata alone so you can keep all your files.

      posted in Oneplus 3/3T
      C
      ComLarsic
    • RE: Oneplus 3/3T

      @pratham yes, flashing a different recovery will prevent ubuntu touch from installing updates. so its probably better just to wait for official anbox support

      posted in Oneplus 3/3T
      C
      ComLarsic
    • RE: Oneplus 3/3T

      @pratham you can flash TWRP using fastboot by using "sudo fastboot flash boot [twrp image]"

      posted in Oneplus 3/3T
      C
      ComLarsic
    • RE: Oneplus 3/3T

      @pratham if you use the prebuild halium images over here https://github.com/Vince1171/OnePlus3-T-Halium-Prebuild you can use anbox, i guess the binder got removed in the installer version.

      be aware tho that some features may not be available without extra work (camera, flashlight, etc.)

      posted in Oneplus 3/3T
      C
      ComLarsic
    • RE: Unable to install anbox on Oneplus3T

      @hankschwie I remember when you use vince's prebuild halium imagers it will work on there. did the binder get removed in the installer version?

      posted in Support
      C
      ComLarsic
    • RE: Getting java working on UBTouch

      @dobey no, i did not edit the .desktop in the applicion folder manually. i have tried reinstalling it and i still get the same error. i will try to rebuild it and completly remove the app using UTTweak tool

      posted in App Development
      C
      ComLarsic