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

    Fuseteam

    @Fuseteam

    51
    Reputation
    33
    Profile views
    51
    Posts
    1
    Followers
    0
    Following
    Joined
    Last Online
    Email fuseteam@duck.com
    Website fuseteam.github.io
    Location Paramaribo, Suriname

    Fuseteam Unfollow Follow

    Best posts made by Fuseteam

    • Snap Crackle and Pop! Readwrite rootfs is overrated

      Hi my name is fuseteam but some of you may know from telegram as Tobiyo Kuujikai. this will be my first topic, i've been thinking how to write this up for a while. no, i'm not japanese i suppose i should start at the beginning.

      When i first heard of ubuntu touch i was pretty excited to see a OS i could be in control of, as i never like how android worked and such. heh i only switched to android from symbian when my trusty old nokia 5800 just didn't hold enough battery anymore. like many the idea of using my phone as a "PC" really fascinated me, especially since at the time i had a laptop with 3GB of RAM and smartphone were beginning to get just as much RAM. you can imagine my disappointment when canonical announced the drop..... as i was a information technology and having a (fairly amateurish) understanding of programming i grew desperate and began searching for how to get in contact and do something. i eventually stumbled upon the unity8 telegram group and from there i found the other ubports groups. after some activity and getting to know the community i was eventually offered a device to get to know the os and the rest is (telegram) history.

      now why am I talking about all this? what up with the title?
      my expectation was that this will enable a "PC in my pocket" a "palmtop" at this point i had some experience with ubuntu on the desktop, i attempted to apply my meager experience to ubuntu touch and see what i can do. you can imagine my surprise when things didn't work as i had come to know it. as i got to know more of the community i found way to do what i wanted to do and have had a lot of fun with it. i even ended up editing the keyboard on the device with vim, breaking and fixing things. one of my goto method to restore things when things go "really bad" has become ssh in and run sudo system-image-cli -b 0 --progress=dots. i have used this more times then i can count. and that on its allowed the readonly rootfs to grow on me, even to such a degree i somewhat want it on desktop xD

      but as i was doing some things in a unsupported way there were some caveats, every time i refreshed my rootfs i lost all my favorite commandline utilities! but i can't complain right? apt is not supported, i get to keep the pieces..... as time went on however it does start to become tedious to reinstall things but hey i can't complain i am doing unsupported things, enter nix. someway somehow i stumbled on nix and from there i talked with quite a few regular contributors such as NotKit, Jonatan, Myii, Kugi, Dalton, Kugi and probably many more and learn quite a lot
      did you know that while the rootfs is readonly, some paths are actually writable: for example /home is completely writable. in hindsight it has to be, how else would our userdata survive refreshes and ota updates! it turns out there is a file (that isn't writable) that mounts basically keeps track of all those paths in /etc/system-image/writable_paths this file is processed in dash mounting the folders and thus preserving /userdata! from there i discovered nix is actually pretty easy to set up!

      • remount readwrite
      • create the directories /nix and /etc/nix
      • add the paths to /etc/system-image/writable
      • remount readonly
      • reboot
        everytime it disappears just readd the paths, recreate the directories and reboot, easy yes? wait nix is missing title, this post isn't about nix........is there caveat? yes zero packages for armhf! nix would compile the packages which could take hours, and lots of space. heck i have this sneaking suspicion it even trying to compile a new kernel! surely there must a different way! and there is, from there there's the possibilities to package the apps in a click and ship everything it needs, but that that worked! but it still felt messy, it would create a bunch of stub apps which literally just tells the user to add a certain path to PATH to be able to run the application........ it works! but we can do better! at that point i began toying with the idea to build an app but then it hit me. i learn deb packages are archives, that apt has a download-only option that apt can be configured to work independent from the rootfs and that dpkg can extract debs to any arbitrary directory, crackle was born.

      orginally i intended to propose a path like /home/pkgs to be a standard PATH as to have some sort of eventual multi user config, but with growing security concerns and little push from some in the community it now installs in the xdg home directories: ~/.cache, ~/.config and ~/.local/share

      so will this be a replacement for libertine? no. a lot of work has been put into libertine, years of work. a little bash script surely can't replace that! so what is my goal? in my experience and understanding libertine doesn't cut it..... why not? libertine is a whole desktop ubuntu container 1.5 GB just to run little old vim and given i use vim to experiment on device, the isolation from rootfs is little much. so my initial goal was to be able to install the utilities i use to hack on the phone and preserve them all on a readonly rootfs. But given how similar many utitliies function this extends beyond vim but probably not all the way to gui applications, those are really complicated. it is however possible to fetch a package and all its dependencies with this tool however to make it "self-contained" possibly make a crude click of out of it but that a whole other beast. well that was a mouth full lemme try to keep the rest short with the question i can already hear:

      sooo what packages already work?

      according reports and my own (crude) tests the following packages appear to work:

      • vim
      • git
      • nmap
      • htop
      • mc
      • transmission-cli
      • shellcheck
      • xz-utils
      • curl
      • tmux
      • byobu
      • patchelf
      • tree
      • sshfs

      packages that don't work

      • man
      • locate
      • many others i have yet to test πŸ˜›

      does it really not work with gui applications?

      well it can work but it very fiddly and mostly unusable πŸ˜›
      it would be better to try those in libertine or at least bundled in click and access properly through xmir (xwayland one day)

      wait slow down why is it called crackle?

      the name is play on physics which itself is reference to a very old commercial
      in physics snap is a derivative of jerk which is a derivative of acceleration, i guess the "acceleration" of acceleration πŸ˜›
      pop is the "acceleration" of snap
      but wait about the "speed" of snap? well that's crackle!
      what? is all greek? no worries have this nice video instead: https://www.youtube.com/watch?v=q6TIsxTdrCU

      will this work for all commandline utitlities?

      no idea, probably not. it comes down to what the utitlity needs, sshfs for example fails because of "operation not permitted" (likely related to the way fuse should be setup) while man fails because it just has to have its config file in /etc it just refuses otherwise and probably the way it wants to be setup, locate also has a similar issue with it just wanting the certain files in certain locations. i'm only one little guy i can only test and use so many applications

      where is the sauce?

      the source is at https://github.com/tuxecure/crackle, its also on gitlab at https://gitlab.com/tuxecure/crackle-apt/crackle. the github is a mirror of gitlab. the scripts used to setup the environment and such is at https://gitlab.com/tuxecure/crackle-apt/cracklebin

      so can i do anything i can do with apt with it?

      uhhhhhhhh no at this stage the following commands are available

      • crackle install <package>
      • crackle download <package>
      • crackle clean
      • crackle show <package>
      • crackle search <package>
      • crackle update
        yes that complete when it comes to apt like commands, there is no way to upgrade or remove packages at this stage, tho i suppose you could use crackle install to upgrade single packages it also has a couple of unique commands
      • crackle setup this is used to "install" crackle and setup up its initial environment more details in the next section
      • crackle crack <package> this can be used to extract a package and its dependencies in /home/phablet/packages/<package>

      How do i get crackle?

      currently you can get a hold of it by downloading the literally downloading the code (as a zip) from github or gitlab and extract it. then you cd into the folder and run ./crackle setup note this will use crackle (recursive!) to install both git and patchelf
      git to download the scripts from cracklebin and patchelf so those scripts can patch binaries where needed. git can also be used to fetch newer version with git pull later πŸ˜›

      much bugs, where report?

      for now bugs can be reported on gitlab πŸ˜‰
      or you can contact me on telegram @fuseteam

      so wait why is readwrite rootfs overrated?

      for me i made it unnecessary to remount the rootfs. As crackle made it possible to "install" 90% of the utilities i tend to use in the terminal without remounting the rootfs, so for me a readwrite rootfs is overrated πŸ˜› granted i do still remount to readwrite to hack on the os πŸ˜† crackle might not be suited for your use, but it doesn't mean there is not way, there is always libertine and if that doesn't suit your fancy i would like to encourage you to either help improve libertine, or to explore what options are out there and how to get it working on Ubuntu Touch πŸ˜‰ I believe there are a lot of possibilties πŸ™‚ and with that this post is way too long, so i'll sign off here πŸ˜›

      posted in General
      FuseteamF
      Fuseteam
    • RE: Community UBports its future

      honestly i don't think we should only focus on what users can donate. there are more ways to contribute, as already mentioned, including volunteering to lessen the load on "the core team".

      As Dalton mentioned in the last Q & A "i've seen the mentality change from 'what can we do together?' to 'what can the foundation do for me?'" "foundation" can also be replaced with "the core team" the meaning is the same. If we want to grow we need to adopt the mentality that brought us this far which is "What can we do together?" and there's more we can do that just technical things like contributing code or donating money, we can also promote the project and perhaps interest companies with the same value to become sponsors, like volla, smoose and pine64, or ways to collaborate on the system. The field of ways we can help is huge, let's utilize it! πŸ˜‰

      posted in General
      FuseteamF
      Fuseteam
    • RE: Alternative Browser apps?

      ok i think i generalized the firefox repo to the limit;

      • the meat of the builder is in builder.sh.
      • the template files are placed in the correct location with the specific name while the environment for building is setup with prebuild.sh (hmmm maybe i can move that to build.sh)
      • the package specific stuff are saved in pkg.d
      • the actual package to build is specificied in clickable.json any package in the ubuntu repos can be specified, no command line apps tho those won't magically launch in the terminal (i ain't a magician sorry :P)
      • package maintainer info can be set in manifest.json, the package name will be set with prebuild.sh
      • apparmore permissions can be set in apparmor.json

      Limitations:

      • as mentioned earlier it needs to be unconfined due to needing xmir, as such only the xmir branch has an actual working click, the master branch would launch on wayland but this particular version has broken wayland support, if the package has wayland support confined may be possible
      • any package which has an all package as a dependency will fail to build, cause i'm a noob πŸ˜›
      • no command line apps! we have crackle for that nudge nudge
      • no touch (so far), no OSK (so far), no content hub, no media hub
      • no per device scaling, currently scaling is set with the environment variable GDK_DPI_SCALE=2
      • i have no idea how to handle the above 2 πŸ˜›
      • i also have no idea how to handle settings schema's at all πŸ˜›
      posted in App Development
      FuseteamF
      Fuseteam
    • RE: Alternative Browser apps?

      ah the cat's out of the bag; i wouldn't even call what i have a beta at this point, it is an pre-alpha click package.
      basically i'm downloading the firefox deb package with apt, extracting it and packaging that result as a click.

      It does not pop up the keyboard, it has no touch support out of the box and it does not integrate at all with the os. it just launches and the interface is somewhat scaled.
      It is also unconfined due to needing xmir atm, which not available to confined apps.

      to get the keyboard to pop up we need to either get maliit-inputcontext-gtk3 working in the click or ship it with the rootfs.

      i'm currently more focused on generalizing my work so others can benefit of it. the build script is based off work by mateo salta, maciek sopyΕ‚o and my crackle script altered to fit the needs of a custom clickable builder

      the firefox click can be found at gitlab.com/debclick/ufirefox.
      i created the debclick group to organize all similar experiments under one umbrella, if anyone wants access hit me up

      the clicks build from the master branch do not launch as they lack proper wayland support.
      the clicks from the xmir branch do launch and are unconfined, and suffers from all the issues associated with xmir

      posted in App Development
      FuseteamF
      Fuseteam
    • RE: Wishes, Dreams, and Unicorns

      always based on the latest LTS

      if it's any help, the work on rebasing on 20.04 is underway was we speak πŸ˜‰

      Documentaion is everywhere, not centralized, I think we should have a place where you can get all the documentation, including known working APN settings

      the centralized documentation is at docs.ubports.com if something is missing there it can be added by submitting a merge request at https://github.com/ubports/docs.ubports.com
      granted APN settings are very carrier-specific not sure how to organize such a documentation

      posted in General
      FuseteamF
      Fuseteam
    • RE: Alternative Browser apps?

      @flohack who what where how when? πŸ‘

      posted in App Development
      FuseteamF
      Fuseteam
    • RE: Snap Crackle and Pop! Readwrite rootfs is overrated

      wheeeee sshfs now works /o/

      posted in General
      FuseteamF
      Fuseteam
    • RE: I am about to give up and leave

      @jojumaxx said in I am about to give up and leave:

      There's Libertine and Snap support which don't help with the mobile experience. If I want to have a tablet or laptop, I use a tablet or laptop.
      Convergence is good as a bonus, if the basis works. It's called Ubuntu Touch, but touchable is nothing. Don't forget, that this is about phones.

      I am just a Linux user, but UT is the only system I encountered yet, that doesn't allow me to use a package manager freely. Everything would be perfect if that was possible...at least I guess so...

      These two concerns contradict each other

      on one hand you feel that snap support is missing the point, on the other hand you feel that install apps with apt would solve the app issue....

      Just as apps installed with snaps are not "touchable", apps installed with apt are also not touchable. The snap support is meant to address the issue have with the inability to use apps.

      If you have apps that would well on droidian via apt, packaging those as a snap would bring it over to ubuntu touch, that would be up to the developer of that app however.

      It is the same with banking appsβ€” we can't have banking apps, if the banks behind those apps don't port them over to ubuntu touch

      The outdated browser is a big issue yes, there are multiple effort attempting to solve that, the current rebase to 24.04 might help eleviate that to some degree, alfred's mimi browser is a work in progress that will likely solve the issue aswell, once finished i suspect it'll replace morph altogether, there is also ufirefox which is PoC repackage of desktop firefox with all usability issues.

      If Ubuntu Touch doesn't fit your usecase, but other mobile linux distros doβ€” perhaps you could outline those usecases. I would be particularly interested what apps you find useful on droidian that you would like to see on ubuntu touch, perhaps we can get them installed with snap or maybe repackaged for the open store πŸ˜‰

      posted in General
      FuseteamF
      Fuseteam
    • RE: OP5T removed from device list 20.04...

      @Luksus said in OP5T removed from device list 20.04...:

      Just need to figure out, why it was removed in the list of supported devices, maybe because of inactivity/no progress in the last year...

      to make it clear the short answer is: yes, a device that has reached the stage "Advanced Support" will be demoted to "Basic Support" when there is no activity for 6 months, if there is no further activity for another 6 months the device is removed from the list

      support in this case means: someone is activity fixing issues on the device
      Activity is the activity in the device repository

      posted in 20.04 Focal Fossa
      FuseteamF
      Fuseteam
    • RE: KDE Connect for Ubuntu Touch

      sadly ubuntu touch aren't able to keep up with the qt fast enough to enable kde apps on ubuntu touch atm. nicofee of kde(connect) expressed interest in porting kde connect to ut sometime ago (before the qt 5.12) at the time it was running on qt 5.12 and ut was on qt 5.9. now kde connect is on 5.15(i think) while ut is on 5.12 πŸ˜“

      posted in App Development
      FuseteamF
      Fuseteam

    Latest posts made by Fuseteam

    • RE: Is there a better browser somewhere?

      @paulcarroty said in Is there a better browser somewhere?:

      uFirefox is still far from having an android-style mobile experience

      Still the best browser for modern websites on UT.

      I wouldn't call it the "best" given how the settings pages aren't convergent xd

      posted in Support
      FuseteamF
      Fuseteam
    • RE: Is there a better browser somewhere?

      @uxes said in Is there a better browser somewhere?:

      @domubpkm well sure, but not every latest build is allright
      https://gitlab.com/debclick/uFirefox/-/jobs/7676432640/artifacts/browse this should be pretty ok

      Oh wow this is really old, for clarity the latest artifact on the xmir-focal branch should be alright
      here's for firefox 136: https://gitlab.com/debclick/uFirefox/-/jobs/9342376608/artifacts/browse/build/aarch64-linux-gnu/app/

      posted in Support
      FuseteamF
      Fuseteam
    • RE: On the subject of Ubuntu Touch versioning scheme

      I would like to propose option 2 but keeping the "." between year and month

      so if the next version is released in may 2025 it would be called 25.05.0

      this has all the benefits of opton 2, feature releases and bugfix releases included while not distancing ourselves from the broader ubuntu community any more than we already have (identity wise)

      i think we can work around the confusion with the Ubuntu version we're based on by utilizing code names in the release announcement similar to upstream ubuntu

      e.g. Ubuntu 24.04 Noble Numbat vs Ubuntu Touch 25.03.0 Marvelous Moon

      the benefit of the scheme is that is easy to see when the version was released while keeping a distinction clear between feature and bug-fix release. keeps the version short and memorable while
      paying homage to the broader community

      posted in General
      FuseteamF
      Fuseteam
    • RE: Documentation temporarily offline

      Looks like the docs.ubports.com is now back thanks to @mariogrip turning off and on for the umpteenth timeβ€”

      posted in General
      FuseteamF
      Fuseteam
    • RE: Documentation temporarily offline

      @doniks said in Documentation temporarily offline:

      yes. both Cloudflare, but that was also true with the old setup. not clear what's different now

      I mean is the same user for http://docsubportscom.readthedocs.io/ and http://docsubportscom-gitlab.readthedocs.io/?
      could it be that to cloudflare docs.ubports is from one user and is now "hijacked" by another?

      i also tried running dig docs.ubports.com and i got this as output:

      ; <<>> DiG 9.18.30-0ubuntu0.24.04.1-Ubuntu <<>> docs.ubports.com
      ;; global options: +cmd
      ;; Got answer:
      ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31353
      ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
      
      ;; OPT PSEUDOSECTION:
      ; EDNS: version: 0, flags:; udp: 65494
      ;; QUESTION SECTION:
      ;docs.ubports.com.              IN      A
      
      ;; ANSWER SECTION:
      docs.ubports.com.       300     IN      CNAME   readthedocs.io.
      readthedocs.io.         300     IN      A       104.16.254.120
      readthedocs.io.         300     IN      A       104.16.253.120
      
      ;; Query time: 287 msec
      ;; SERVER: 127.0.0.53#53(127.0.0.53) (UDP)
      ;; WHEN: Fri Jan 17 10:26:19 -03 2025
      ;; MSG SIZE  rcvd: 105
      
      

      But i am unsure if this is correct, as i don't have an output of how it was before

      posted in General
      FuseteamF
      Fuseteam
    • RE: Documentation temporarily offline

      hmmm according to the error this is the issue: The host is configured as a CNAME across accounts on Cloudflare, which is not allowed by Cloudflare's security policy. are the two separate accounts?

      it also says: If this is an R2 custom domain, it may still be initializing. If you have attempted to manually point a CNAME DNS record to your R2 bucket, you must do it using a custom domain. Could it be just dns intialization? do we have other logs in the dashboard?

      also http://docsubportscom.readthedocs.io/ still works, so perhaps that could be a stopgap until we figure this out

      posted in General
      FuseteamF
      Fuseteam
    • RE: OP5T removed from device list 20.04...

      @Luksus said in OP5T removed from device list 20.04...:

      Just need to figure out, why it was removed in the list of supported devices, maybe because of inactivity/no progress in the last year...

      to make it clear the short answer is: yes, a device that has reached the stage "Advanced Support" will be demoted to "Basic Support" when there is no activity for 6 months, if there is no further activity for another 6 months the device is removed from the list

      support in this case means: someone is activity fixing issues on the device
      Activity is the activity in the device repository

      posted in 20.04 Focal Fossa
      FuseteamF
      Fuseteam
    • Spotify arm snap on Ubuntu Touch

      With snap support being worked on and snap being the official supported way to install spotify via snap, this could open a way to install spotify on Ubuntu Touch!

      However spotify doesn't currently build an arm version for linux 😞

      so i submitted an idea to spotify to support arm :smiling_face_with_sunglasses:

      if you use spotify and want to use it on Ubuntu Touch. come on over and vote! https://community.spotify.com/t5/Live-Ideas/arm64-support/idi-p/6551110

      posted in General
      FuseteamF
      Fuseteam
    • RE: Beta Bug-Reports - CatWithCode

      @CatWithUT hmmm no hub, not sure then what it could be

      posted in Fairphone 5
      FuseteamF
      Fuseteam
    • RE: Beta Bug-Reports - CatWithCode

      @CatWithUT said in BUG: USB-OTG Hard Crashes Phone:

      @Fuseteam That is what beta tester are for

      hah! fair. I stand corrected XD

      posted in Fairphone 5
      FuseteamF
      Fuseteam