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

Posts

Recent Best Controversial
  • 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
    F
    Fuseteam
    11 Jun 2021, 16:50
  • 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
    F
    Fuseteam
    4 Feb 2022, 13:03
  • 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
    F
    Fuseteam
    16 Dec 2021, 18:52
  • 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
    F
    Fuseteam
    15 Dec 2021, 14:55
  • 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
    F
    Fuseteam
    14 Jun 2021, 14:15
  • RE: Alternative Browser apps?

    @flohack who what where how when? 👁

    posted in App Development
    F
    Fuseteam
    15 Dec 2021, 14:39
  • RE: Snap Crackle and Pop! Readwrite rootfs is overrated

    wheeeee sshfs now works /o/

    posted in General
    F
    Fuseteam
    30 Jun 2021, 14:12
  • 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
    F
    Fuseteam
    7 Oct 2024, 17:27
  • 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
    F
    Fuseteam
    8 Jan 2025, 17:41
  • 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
    F
    Fuseteam
    14 Jun 2021, 15:07
  • RE: Snap Crackle and Pop! Readwrite rootfs is overrated

    @matteo haha glad to hear, tho install is a bit of a overstatement it's really just a script making use of what is available on UT out of the box 🙂

    posted in General
    F
    Fuseteam
    17 Jul 2021, 03:56
  • RE: New kernel builds: call for testing

    @mardy niiice, thanks for your work i'll test it out too~ sadly my battery is rather old to be a reliable battery test 😓 and my touch screen isn't in the best state either but i'll be sure to report any other issues!

    posted in BQ
    F
    Fuseteam
    26 Feb 2022, 01:27
  • RE: NordVPN on Ubuntu Touch

    perhaps you can test the ovpn out via the command line, i forgot the syntax but it should be fairly simple to use. if that works we can figure out what setting is missing in the configs

    posted in Support
    F
    Fuseteam
    25 Jul 2020, 00:58
  • RE: Beta Bug-Reports - CatWithCode

    @CatWithUT are you possibly connecting it with a dock of some sorts?

    Also might be a bit early for the fairphone 5 xd

    posted in Fairphone 5
    F
    Fuseteam
    7 Oct 2024, 16:59
  • RE: Snap Crackle and Pop! Readwrite rootfs is overrated

    i have no publish a ready to use zip file in the release section of the github mirror along with some rudimentary usage instructions

    posted in General
    F
    Fuseteam
    21 Sept 2021, 01:40
  • RE: Search engine

    @totalrando make/do/create something like this: https://github.com/ubports/morph-browser/pull/216

    posted in Support
    F
    Fuseteam
    30 Jun 2021, 14:15
  • RE: Community UBports its future

    @josele13

    What kind of companies would be interested in an OS that doesn't have a locked bootloader or unencrypted phone rom?
    In those companies will they see that UT is easier to use than android?
    Do we have all the android options to be attractive?
    Will these companies be able to use our country's banks or government apps?
    Will the employees of these companies be able to make video calls?
    Will they be able to talk from the car to another employee via bluetooth?
    Will they be able to pay for food at the bar from their mobile phones?

    yes these are important questions, but we must've forgo what we can do to make it more attractive
    for example if there's a missing app, what can we do to convince the app developer or the company behind it to support Ubuntu Touch. if there's a missing functionality what can we do to fix it whether that's ourselves if we can program or by attracting a developers with the skills.

    so rather than "what makes it attractive to companies?" the question becomes "what can we do to make it attractive to companies?" and by extension "what can we do to move Ubuntu Touch forward?"

    posted in General
    F
    Fuseteam
    1 Mar 2022, 16:53
  • RE: Search engine

    @totalrando "in a day or two"

    7 days ago

    did you create a Pull Request yet? i haven't checked yet 😅

    posted in Support
    F
    Fuseteam
    7 Jul 2021, 13:48
  • 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
    F
    Fuseteam
    2 Dec 2024, 13:10
  • RE: Search engine

    @totalrando haha no problem completely understandable xD

    posted in Support
    F
    Fuseteam
    17 Jul 2021, 03:58