UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. zubozrout
    3. Best
    Z
    Offline
    • Profile
    • Following 2
    • Followers 2
    • Topics 9
    • Posts 200
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Desktop apps

      Hello,
      the feature was removed from the default installation but you can still get them working on any Ubuntu touch device.

      So here is what you need to do:

      1. Install "Desktop Apps Scope" so that you can browse your legacy (X11) apps and execute them.
        https://uappexplorer.com/app/libertine-scope.ubuntu

      2. Now you should connect your phone to your computer as this is easier done on desktop rather than on the device itself. However, if you set your phone terminal not to suspend itself or you will supervise it all the time it is also possible to do this on your device.
        If you are going the desktop computer way you need to enable developer mode on your device (so have some kind of a pin or password set on your phone - it should tell you when enabling the developer mode). Then you need to execute "phablet-shell" or "adb shell" (without the quotes) on your PC.
        If you are doing this directly on your device, just open the terminal app (must be installed).

      3. Either way you are now in your Ubuntu device shell. So execute this in order to create an Ubuntu container to hold your apps: libertine-container-manager create --id ubuntu --name 'ubuntu'
        Change the name and ID if you'd like.
        This is a lengthy process and will take some time on the device (about 10 minutes).

      4. Now you have the container set up. In order to maintain it you can execute something like this:
        libertine-container-manager exec --command "/bin/bash" --id ubuntu
        Once executed you'll have the superuser shell of the inside container and you can do "apt install firefox" or whatever you want, just like on the desktop.
        You can also install apps like this: "libertine-container-manager install-package -p firefox -i ubuntu"

      Once app or apps are installed just go to the scope installed in the first step (you must enable it by swiping from the bottom edge on the main screen). If it was already enabled refreshing the view may be necessary.

      For more info about what you can do with the Ubuntu container see "libertine-container-manager --help".

      posted in Support
      Z
      zubozrout
    • RE: C++ and SDL with Clickable. A little help please.

      Some of you may find these demos usable:
      https://gitlab.com/zub2/SDLDemo
      https://gitlab.com/zub2/MirGLESDemo

      However with the Mir upgrade things should become a bit easier as regular Wayland-compiled SDL stuff should start working there. That is if I understand it correctly.

      posted in App Development
      Z
      zubozrout
    • [How-To] Anbox for Meizu MX4 (arale)

      Hi,
      since Anbox is finally here and usable more than ever before, who wouldn't want to play with it.

      Unfortunately only the most powered devices were selected for this right now - leaving MX4 behind. But thanks to Marius arale is now in too :).

      So, either build it on your own or download a boot image for arale here:
      https://gitlab.com/zubozrout/kernel_arale (kernel patched with anbox stuff)
      https://iubuntu.cz/mx4/arale-boot-anbox-canonical.img
      https://iubuntu.cz/mx4/arale-boot-anbox-ubports-old.img
      https://iubuntu.cz/mx4/arale-boot-anbox-ubports-latest.img (I'd recommend this one as it has the latest initrd.img)

      Then continue by installing the above images just as mentioned here:
      https://forums.ubports.com/topic/1676/development-testers-for-anbox

      If the image is flashed and your system booted up you should be able to check anbox binder is available eg. like this:

      phablet@ubuntu-phablet:~$ file /dev/anbox-binder
      /dev/anbox-binder: character special (511/0)
      

      Installing Anbox may become a bit tricky since we have little space to operate with - so remount your / partition rw as mentioned in the original post, update and upgrade via apt, create some folder in your home, called e.g. "anbox" and do this:
      apt -o Dir::Cache::Archives=/home/phablet/anbox install anbox-ubuntu-touch

      Now we are almost there. You can now delete that new folder in home with all its content.

      However in order for the last step: anbox-tool install to work you'll need to do this:

      sudo nano /usr/bin/anbox-tool

      and edit this line (it is one of the first lines of code, bellow the license comment):
      DEVICES_URL = "https://iubuntu.cz/mx4/devices.json" (not leaving anything after it - on this line)

      No we have swapped the json file which it checks against with our own containing arale in the list.

      Now just do the mentioned anbox-tool install - it will take a while. And you are good to go :).

      Enjoy

      PS. Thank you very much Marius for your precious time and very valuable help with this :).

      (0_1537122456906_anbox_mx4.jpg

      posted in Meizu MX4
      Z
      zubozrout
    • RE: Why Keep Ubuntu Store

      @joe Well there are still apps you can't install from the Open Store like Extremetuxracer or Neverball/Neverputt. Someone should upload those to the Open Store and then it can go away :). Anyway, I believe that removing the icon would not hurt - people would still be able to enable the store scope and swipe to it if enabled.

      posted in OS
      Z
      zubozrout
    • RE: Move from Github to Gitlab?

      @flohack You are of course right, but it is not just that. Look at the other side of the coin - Microsoft hurt Linux a lot in the past. Among well known examples I could even share a local example: In 2000 Microsoft almost destroyed a computer selling company named Mironet because they preferred Linux. They had their computers confiscated for almost 2 years based on Microsoft telling police they have illegal software on their PCs - which turned out not to be true. Before this all happened they were the biggest computer selling company in the Czech republic and because of this other company (Alza) took their place instead (czech source). And not much has changed now with things like this.

      In any case I don't intend to spam here. Just wanted to say I don't trust Microsoft - but maybe they are better now than in the past. And I understand that GitHub had issues and had to act. Regarding myself I wasn't sure whether I should move my own projects over to GitLab or stay until I read this thread's first post. But it is of course much easier to move a few projects of mine not relying on anything than such a complex infrastructure UBports has. And therefore I agree with you the move should note be based solely on the fact Microsoft has taken over the service as it works well for the project now and would require quite a lot of resources to proceed with the move.

      Who knows what Microsoft plans for GitHub. But it surely will no longer be what it used to be as so many people moved away in the last day or so. And I must say I miss the nice, simple and straightforward interface on GitLab.

      posted in General
      Z
      zubozrout
    • RE: Miatoll devices UT Focal support

      @fungie said in Miatoll devices UT Focal support:

      So each time i do a clean install of ubuntu touch i have to flash (in this case) the stock firmware.

      I doubt it. You can use the installer to reinstall UT with a wipe option to make it a clean install. If you go from a non Android 10-based system then yes, you need Android 10 firmware to be able to use UT because it is at least currently based on Halium 10 which expects Android 10 drivers ...

      posted in Xiaomi Redmi Note 9 Pro/Pro Max/9S & Poco M2 Pro
      Z
      zubozrout
    • RE: C++ and SDL with Clickable. A little help please.

      Just FYI, the credit is not mine but goes to my brother - his nick is zub, mine is not :). Unfortunately I lack the deeper knowledge necessary for such things. All I did was that I upgraded it to work with clickable (already on the original repo) and to run on 16.04 (apparently the apparmor framework update is still not there, but whatever).

      Regarding the SDL2 clickable template it doesn't sound as a bad idea though. However I really can't spend the time on it now :(. And the second thing is that SDL is no longer supporting Mir and new stuff may require newer SDL. So the question is whether this is useful. With Unity 8 and Mir upgrades (now on Edge) Wayland-enabled stuff should start working. So it would probably be better to start from scratch and take a look at how to compile SDL apps with Wayland. And I suspect that will be much more documented and a more streamlined experience.

      Sadly Mir didn't turned out the way I was hoping it would ... it is a nicely written code on par with the latest standards as that's how Canonical rolls but that's probably not what the general Linux community wants :(.

      posted in App Development
      Z
      zubozrout
    • RE: Manpages in terminal?

      Hi,
      you can always Google man pages for specific things when on the go, even narrow it down by distro and its version when searching.

      But it doesn't make much sense to have them installed on phones. It would just occupy precious space while being very rarely useful - especially when there are other sources available.

      posted in Support
      Z
      zubozrout
    • RE: Redmi Note 9 Pro Call Problem

      @clyder Awesome you have it working now. Btw, the Google contact sync is a known long standing UT issue, but not related to this device: https://gitlab.com/ubports/development/core/address-book-app/-/issues/201

      posted in Xiaomi Redmi Note 9 Pro/Pro Max/9S & Poco M2 Pro
      Z
      zubozrout
    • Unable to start app because of invalid app ID (xenial) [solved]

      Hello,
      I've been trying to migrate an app previously created for vivid over to xenial and it seems to be bumping into the following issue:
      ** (process:5611): WARNING **: Unable to start app 'transport.zubozrout_Transport_1.1': Invalid app ID: transport.zubozrout_Transport_1.1

      That is everything builds fine, the predecessor of this app even works fine, but for some reason I can't launch this app. If I build it with 15.04 it launches fine on xenial but doesn't work as it should afterwards.

      So my question is, how is the app ID string generated so that I can change it to a valid string. And what is the issue? Is it the uppercase T, numbers or the dot?

      (I am using clickable on 18.04 tu build my old Ubuntu SDK project)

      Appreciate all your help.

      posted in App Development
      Z
      zubozrout
    • RE: WiFi password loss after each and every reboot on MEIZU Pro 5

      @Stefano Hm, this doesn't make sense then. If it works with Android sending to manufacturer is certainly not an option here. If that's the case then it would mean the EFS doesn't get destroyed but rather Ubuntu Touch has issues reading it.

      @UniSuperBox Would there be a way for users to debug this somehow? It would be great if this thing could be solved as it seems to be recurring quite often in the forums/on github.

      posted in Support
      Z
      zubozrout
    • RE: Why don't use WhatsApp for customer service?

      @jb-gbaeza There are a few issues with your suggestion.
      a) There is no customer service as this project (lead by a foundation, not a company) doesn't sell any product other than perhaps some merch.
      b) WhatsApp doesn't properly nor natively run on UT. There is already Telegram, this forum or e.g. even Mastodon where people can get in touch with the community to try to ask for help or share their ideas, exactly the way you do. So I think there is no reason to change that in any way.

      posted in Marketing Incubator
      Z
      zubozrout
    • RE: Updating apps to 16.04

      Ok, so there is this ppa https://launchpad.net/~bhdouglass/+archive/ubuntu/clickable with the latest forked package that is even available for bionic :). And it has xenial app support. With that reviewing the packages should work correctly.

      posted in App Development
      Z
      zubozrout
    • RE: Change boot splash image from inside

      @jezek Well, you would need to find the partition table of you phone to find the correct partition to flash the image to.

      Not sure what would happen if the boot logo image was incorrect, it would work nonetheless (with a black screen) or perhaps it would brick the phone and you would have to reflash the correct image using fastboot then ... something like fastboot flash logo splash.img (the command may not work at all or could be different depending on the device).

      And if you flash it to a wrong partition there is a great chance of bricking the phone.

      posted in Support
      Z
      zubozrout
    • RE: Morph and authenticating wifi - part 2

      And also in order to get to a captive portal you need to try accessing some http://something.tld page, not https as that will not redirect you to the access portal (on the majority of networks that is - I've encountered one in my life that somehow achieved that and that seems scary). Firefox or newer NetworkManager can detect this and do this automatically, UT doesn't unfortunately.

      posted in Support
      Z
      zubozrout
    • RE: Where are logs in focal ?

      @domubpkm One of the reasons upgrading Ubuntu Touch from Xenial to Focal was so hard was the change from the now discontinued init system called Upstart, to systemd.

      Generally these logs are stored in /var/log/journal (which a quick Googling will reveal), however the whole toolkit is quite different to what we used to have before so unfortunately you can't even expect the same from it.

      I would suggest trying this app: https://open-store.io/app/logviewer.ruditimmer, which simplifies the access to logs using kjournald as a backend.

      Regarding the journal, this might come handy: https://wiki.archlinux.org/title/Systemd/Journal

      posted in Support
      Z
      zubozrout
    • RE: Running Wayland apps on edge?

      @dobey This one should be it: https://gitlab.com/zubozrout/sdl2-demo/tree/wayland

      To build it it should hopefully be enough to follow these instructions: https://gitlab.com/zubozrout/sdl2-demo/tree/wayland#building-the-sdl2-demo-project

      posted in App Development
      Z
      zubozrout
    • RE: OTA-24 upgrade and Waydroid

      @stanwood I haven't tried it like that but got inspired on Reddit (which basically was aidl2 to aidl3 change) approx. a month+ ago when it first happened to me after a Lineage OS 18 based image was released and it didn't work for me. But I got suggested the same on GitHub: https://github.com/waydroid/waydroid/issues/583 ... Nonetheless I would be interested to know if it works for someone as right now I don't have a place to safely test this.

      posted in Waydroid
      Z
      zubozrout
    • RE: changelog

      Funny 🙂 ... but it would be great if this could be implemented: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1592388

      posted in OS
      Z
      zubozrout
    • RE: The boot

      This is most probably a duplicate of this issue: https://github.com/ubports/ubports-touch/issues/53

      posted in Support
      Z
      zubozrout