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

    Posts

    Recent Best Controversial
    • RE: Wanting to continue Nexus 5 Dev

      @cjengle said in Wanting to continue Nexus 5 Dev:

      I have been using "clickable create" per Youtube and doc tutorials. Not sure if it's too much different than "clickable init"?

      Sorry I meant clickable create not init, didn't have a computer in front of me and couldn't remember the exact command. Should have read the documentation (https://clickable-ut.dev/en/latest/getting-started.html) again.

      posted in Google Nexus 5
      ikozI
      ikoz
    • RE: Wanting to continue Nexus 5 Dev

      @cjengle It is recommended to start from the clickable initial projects. Use clickable init create and choose accordingly. Then change on top of them, so you have an initial working hello world. As almost all apps on the Open Store are open source you can get inspiration from their source code.
      What app are you missing and want to develop/port?

      posted in Google Nexus 5
      ikozI
      ikoz
    • RE: vendor.dataqti keeps crashing

      @jaxx To lower power draw you can change the governor to powersave, see this.

      About the crashing qti service, since the device works properly without it working, I believe it should be safe to disable it (don't have a qualcomm device to test this). I thought UT 20.04 and onwards uses exclusively systemd and not init.rc?

      posted in Support
      ikozI
      ikoz
    • RE: Clickable Dev on Debian struggle

      @cjengle Yes, clickable now supports Ubuntu Touch 20.04 by default, where all command that had ubuntu have been renamed to lomiri. So, as your Nexus 5 is still on the old 16.04 release (there isn't a newer version) the command is ubuntu-app-launch.
      You can configure clickable to use 16.04 by changing the manifest.json.

      posted in App Development
      ikozI
      ikoz
    • RE: Clickable Dev on Debian struggle

      @cjengle lomiri-app-launch is a command on the Ubuntu Touch phone, not the computer.

      posted in App Development
      ikozI
      ikoz
    • RE: zfs on Ubuntu touch

      TL;DR: use BTRFS or proxy the ZFS via NFS

      @RJDan said in zfs on Ubuntu touch:

      [...] better supported on linux, it seemed to be a clear win for zfs.

      Well, unfortunately that is not the case, ZFS is not supported without adding kernel modules via DKMS. That is because of licensing issues which prevent it from being built-in the kernel like BTRFS and EXT4. DKMS cannot work on Halium kernels as they are based on patched downstream android kernel.

      I thought FUSE was an option, but after trying to install it on my device I found out zfs-fuse is deprecated, and I couldn't make it work.

      So the only way is to build the kernel with patches for the ZFS module, beforehand. This is however very complex and I wouldn't recommend it.


      There is a workaround, to have a NFS/Samba as a proxy to the ZFS file system so that the UT device accesses the file system remotely.

      The more straight-forward approach is to change the file system to BTRFS, assuming it meets your use cases. If you only need snapshots and backups, you should be fine.

      posted in Support
      ikozI
      ikoz
    • RE: zfs on Ubuntu touch

      @RJDan The problem in this case is worse than that of installing packages via apt (which has workarounds).
      Zfs needs a dkms package installed which as far as I know cannot work in UT kernels. It should be possible however to compile the kernel with zfs support beforehand.
      An other way is to use libfuse to have the filesystem in userspace to not mess up with the OS, you have to search how to do that on your own though.

      Also, do you really need all the features of zfs or can btrfs work for you (which is in-tree)?

      posted in Support
      ikozI
      ikoz
    • RE: background daemon and accessing location/gnss data

      @jaxx If I understand your questions correctly:

      1. cannot get the location with Python
      2. USB-OTG
      3. Hotspot source auto switch between WiFi/LTE

      1
      The expected way of getting GPS coordinates is via the Qt interface. You can however check out this Python script which among other things obtains the location, by searching in the output of the test_gps command

      2
      I remember usb devices working in Ubuntu Touch, could it be a problem with the specific hub?

      3
      You can theoretically write a script with nmcli/network manager, I will test later if the default hotspot service can work this way.

      posted in Off topic
      ikozI
      ikoz
    • RE: Could Ladybird be the replacement for Morph Browser?

      @saveurlinux Qt 6 is a problem as we are still at Qt 5.12

      posted in General
      ikozI
      ikoz
    • RE: adjustable playback speed

      It should be relatively easy with a script using ffmpeg, either in Libertine or bundled in an app.
      The following command should work:

      ffmpeg -i input.mp3 -filter:a "atempo=1.5" output.mp3
      
      posted in Support
      ikozI
      ikoz
    • RE: oneplus6T How to create Swap?

      @liam wouldn't a swapfile in the userdate partition work?

      posted in Oneplus 6/6T
      ikozI
      ikoz
    • RE: Sharing clipboard with native apps

      @hlbkv A Libertine app is ran inside a container. Actually Firefox has been packaged for Ubuntu Touch in the .click format, see the GitLab repository, clipboard should work there.

      posted in Libertine
      ikozI
      ikoz
    • RE: Clickable desktop issue in Ubuntu 24.04

      @bafora1 The problem is due to the confinement of snaps (the python package works out-of-the-box). Ubuntu Touch apps don't support Wayland anyway, they only work with xwayland / xmir.
      It works after that command, so no need for troubleshooting.

      posted in App Development
      ikozI
      ikoz
    • RE: How to retrieve and select available audio outputs

      @gwado Ubuntu Touch uses PulseAudio, commands are the same as on other "normal" Linux distros.
      To list available outputs (sinks):

      pactl list sinks
      

      As the commands are the same as on Ubuntu desktop, you can search for how to do that in Ubuntu, e.g.: change default audio device, and change PulseAudio I/O output

      posted in App Development
      ikozI
      ikoz
    • RE: Clickable desktop issue in Ubuntu 24.04

      @jittopjose I had the same problem with the snap, fixed it by allowing local connections to xhost:

      xhost +local:*
      
      posted in App Development
      ikozI
      ikoz
    • RE: This week in development (week 52 2024)

      On my device, Morph and the WebView in core apps works, but the keyboard doesn't show up when taping the search textfield.

      posted in OS
      ikozI
      ikoz
    • RE: Libertine on Ubuntu Touch: Poor Performance and Issues with "Read-Only" File System

      @manoiese

      1. If your device supports snaps, it is better to install the snap version of your prefered app with Snapz0r (from OpenStore). Some apps have alternatives, or more optimized packages built for Ubuntu Touch (e.g. Firefox), so be more specific.

      2. Please read this excellent post explaining why you don't need to remount permanently the filesystem as RW. If you still think you need it, just touch /userdata/.writable_image to make the remount permanent.

      APT can cause dependency tree problems and more, every long-time Linux user knows that. Just search why an immutable OS is preferred when stability and redundancy is key. OTA updates are safer and have very low chance of failing compares to dpkg.

      posted in General
      ikozI
      ikoz
    • RE: LENOVO TAB M10 HD GEN2 - GPU drivers not present

      @OOKAMI Actually hardware acceleration works. You can confirm that by checking if the default media player can play videos.

      Inxi shows wrong output because the libraries it uses cannot use the intefaces exposed by Halium. It shows X11 while it is Mir, and opengl doesn't use the right driver by default. Try glxgears with different driver. I remember es2 to work.

      posted in Lenovo Tab M10 HD (2nd Gen)
      ikozI
      ikoz
    • RE: Screen rotated to landscape: mouse stays in portrait mode

      @benjamin said in Screen rotated to landscape: mouse stays in portrait mode:

      have not read anything about root status on this OS; is the default user already admin?

      The default user is phablet and it is a member of the sudo group so yes, you can run commands that require root privileges. Keep in mind that the filesystem is read-only like on immutable distros.

      posted in Lomiri (was Unity8)
      ikozI
      ikoz
    • RE: md5sum or sha256sum for installer

      @ubuntoutou For the installer executable file or the images/partitions to flash?

      posted in Support
      ikozI
      ikoz