close

Categories

  • The Meta category: Organizational or general discussion.

    1k Topics
    10k Posts
    LakotaubpL
    @gpatel-fr As the subject of Gigaset being the same as Volla devices has come up before on the Forum it may be worth restating a couple of things. The UBports community can and will do everything possible to help and assist with installing, fixing, developing and running Ubuntu Touch on all the Volla devices listed. And yes we do have a good and close working and sponsorship arrangement with Volla. Regardless of how similar Gigaset hardware is or the OS on them is or is not to that on Volla devices, Gigaset devices are not supported by the UBports Installer or Ubuntu Touch as the OS. If you try and install UT on Gigaset devices you and you alone are responsible for that and any issues that arise. By all means use the Off Topic section of the Forum to discuss the pros and cons of doing so (that is what OT is for) if you wish but please keep it out of the main Forum it just confuses things. Last point there are no "official members" on the Forum. The Forum is for everyone who use and works on or develops anything to do with UT. It is a great and thriving community and everyone is welcome to take part. The UBports Foundation as a charity is a legal entity that as such does have "official" parts the Board of Directors, Membership Committee and the Board of Trustees. All made up by members of the UBports community.
  • Discuss news updates from Ubuntu Touch and its related projects

    1k Topics
    5k Posts
    G
    @AppLee said: On FP5 after a fresh reboot I got down to 2.3GB just tried with my FP5 and build 288, htop reports 3 Go with some resident apps, and 4 Go logged-in on Gitlab with either Morph or Firefox.
  • Discuss and solve problems with other users

    4k Topics
    29k Posts
    G
    @whoami_phone said: the screenlock simply cannot read the default intended brightness value before storage decryption this seems most likely to me. For your information, the main dev for this feature is not everyday on this forum, and especially in this period - however when the holiday period is finished I think you will probably get expert advice, have some patience. If for some reason this does not happen, you could try to ask on the still open issue for home encryption. (the fact that it's still open could be an oversight or it could mean that it's still somehow a work in progress)
  • Community section for all languages other than English

    31 Topics
    185 Posts
    W
    Om te kijken in hoeverre een esim op een Fairphone 5 werkt heb ik een esim van Simyo gekocht. Simyo geeft echter geen QR code of LPA:1$... string, die nodig zijn voor installatie van de esim m.b.v. USim De QR code kan echter gemaakt worden via Simyo NL eSIM Tool, mits je je Simyo inloggegevens aan de maker van deze site toevertrouwt.
  • 2k Topics
    21k Posts
    T
    Hi @Mario.CH Thank you for your clarifying post. I understand and am in 100% agreement with your point. Perhaps I should/could have worded my point a bit differently and open to suggestions for articulating this or any disclaimer (as when this is posted for public, it will be important to clearly set the correct expectation for new people to still do their own research and verification!). I think the value of the sheet is to see, at a high level, all the possible devices and to decipher the easier ones to self unlock and cell bands they use (versus ones that may have more complications or to avoid the specific variants that cannot unlock for example). To help narrow the choices to a few good ones. Of course, before deciding and purchasing a specific device on the used market, each person needs do their own research! The spreadsheet is not a substitute for that and the spreadsheet may not be 100% correct nor will it have all the specific details. Just high level important ones). I hope that helps clarify my thoughts with the function/purpose of the spreadsheet and I'm open to how to best articulate. Thanks for your input and thoughts.
  • Discussions on development of Ubuntu Touch

    553 Topics
    7k Posts
    G
    @lduboeuf thanks for the tip. There is minimal information in the commit log but that's not unusual sadly.
  • Discuss the user experience or design of Ubuntu Touch or its apps

    173 Topics
    3k Posts
    lduboeufL
    @ChromiumOS-Guy said: @lduboeuf it should be the standard alert presidential/amber alert sound in my opinion Ah hmm, you mean it plays a sound already ? @lsitongia said in How do Calendar Guests invitations work?: The default Calendar app event creation has a section named Guests. I can add people from my Contacts. It offers their email address for you to select for the field. I'm using a Calendar linked to my Nextcloud server. No email invitation is sent. I'm trying to see how this will work to a contact on an iPhone and their iCloud calendar. How is this supposed to work? By email, right? Do I need to configure an email SMTP server in the Calendar app? I don't see where to do that. Thanks for your help. I guess that it was the idea, having a system that can send RSVP and accept via email. But it never get that far.
  • Creating Ubuntu Touch apps

    840 Topics
    9k Posts
    fredldotmeF
    Hello everyone, how's it going? In this post I'd like to explain and teach how to enable debugging of system components, Click apps as well as Snap packages. This is intended for developers choosing to contribute to the Operating System's development, wanting to fix a bug in their Click apps, or release Ubuntu Touch apps on the Snap Store for both Ubuntu Touch and all Snap-supporting Linux distributions. Prerequisites The Snap Store offers a static version of gdb which we're going to make use of for this setup: sudo snap install gdb-static Make sure to add this snippet to your ~/.bashrc file: export PATH="/snap/gdb-static/current/usr/bin:$PATH" After logging into a shell you are now able to run the Snap-provided gdb and gdbserver commands directly, but they don't yet work when using sudo with short-hand commands like sudo gdb. Running gdb & strace with sudo Since these versions of debugging tools don't sit in a PATH that is allowed for sudo-invoked commands, we will have to teach sudo to set them in its default PATH without breaking the Operating System's expectations of the read-only rootfs. So to make this work, we will have to create an overlay for /etc/sudoers.d which configures sudo to keep our tools paths intact. First let's create an overlay containing our sudoers addition: sudo mkdir -p /userdata/custom/overlays/etc/sudoers.d cat - | sudo tee /userdata/custom/overlays/etc/sudoers.d/gdb <<EOF Defaults secure_path="/snap/gdb-static/current/usr/bin:/snap/strace-static/current/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" EOF sudo chmod 440 /userdata/custom/overlays/etc/sudoers.d/gdb sudo chmod 500 /userdata/custom/overlays/etc/sudoers.d This effectively configures sudo to keep the paths to gdb, gdbserver and strace (described later) when executing i.e sudo gdb or when snap run is launched with the --gdbserver argument. Next create a systemd mount unit to effectively apply this overlay immediately and enable on boot: cat - | sudo tee /etc/systemd/system/etc-sudoers.d.mount <<EOF [Unit] Before=local-fs.target [Mount] What=/userdata/custom/overlays/etc/sudoers.d Where=/etc/sudoers.d Type=overlay Options=ro,relatime,lowerdir=/userdata/custom/overlays/etc/sudoers.d:/etc/sudoers.d [Install] WantedBy=local-fs.target EOF sudo systemctl daemon-reload sudo systemctl enable --now etc-sudoers.d.mount This overlay is not modifying the immutable file system and is secure against Operating System updates changing the underlying files and defaults other than what we adapted. Debugging your app You're now able to attach to your desired application's process, simply using sudo gdb -p <PID-of-the-process>, whether it being a system process or Click app. You can also safely debug your Snaps using built-in commands. Let's take the wasted Snap as an example: snap run --gdbserver wasted This will prompt you to 1) enter your sudo password and 2) to execute the outlined gdb command in a separate terminal: phablet@fairphone5:~$ snap run --gdbserver wasted Welcome to "snap run --gdbserver". You are right before your application is run. Please open a different terminal and run: gdb -ex="target remote :42957" -ex=continue -ex="signal SIGCONT" (gdb) continue or use your favorite gdb frontend and connect to :42957 Running the mentioned command and typing cont in the resulting gdb session will launch the debugging process. You are also free to connect to the server's TCP port it mentions from your development PC, allowing you to comfortably and remotely debug the app. Tip: If your app receives SIGSTOP signals frequently during start-up, filter those signals out of process management: (gdb) handle SIGSTOP nostop syscall tracing The Snap Store also has strace-static in store for debugging a process' use of syscalls at runtime. Since we've already set up the strace-static PATH in the /etc/sudoers.d overlay we can proceed with the installation: sudo snap install strace-static If you wish to use this version of strace over the system default one, add this to your ~/.bashrc: export PATH="/snap/strace-static/current/bin:$PATH" You can now simply run a command with strace prefixed, or attach to all running process' threads and children using sudo strace -p <PID-of-the-process> -ff. All the regularly expected strace command arguments apply. On the Snap side, with a simple snap run --strace wasted we're able to capture each syscall the Snap makes to the kernel. snap run --strace wasted 2>strace.log will save the captured trace to strace.log for further inspection. How does this work? Unlike an apt-installed version of gdb, this one is an all-it-can-support static build of gdb into one file, same as strace-static for strace. This means those can be executed on any Linux OS, regardless of dependencies provided by your host's OS. But since they aren't dynamic binaries instead they cannot be extended by various dependencies through packaging means, especially because in this case the required sources currently expect to be compiled & linked dynamically. As a result of all this gdb-static lacks debuginfod support for debug symbol retrieval because libdebuginfod upstream still requires changes to build statically. Final words You did it! You have successfully set up your Ubuntu Touch for debugging purposes without sacrificing on the system's immutability, OTA installation guarantee, or in ease-of-use. We just had to override the system-default PATH for regular sudo commands in a way that would survive any OTA coming in, and without touching our beloved immutable file system. Congratulations, you now know how to debug on Ubuntu Touch.
  • Porting Ubuntu Touch to new devices

    508 Topics
    4k Posts
    H
    @DawsonR2 Looks like the artifacts I used were deleted for being out of date because there was a new commit which does update to 24.04.2 so that's really nice. But it looks like gitlab did not allow the artifacts for that one to be uploaded because they were too large https://gitlab.com/redstar-team/ubports/lenovo-tab-m8/lenovo-tab-m8/-/jobs/16054313222 so let's ask @k.nacke, is there anything you can do about this to upload the files somewhere else, or maybe split them into 2?
  • Lomiri, the operating environment for everywhere

    77 Topics
    640 Posts
    A
    @jaymo_chicago i tried on ubuntu unity 24.04.4 on a laptop but it entered in to a dependency hell because of some mir packages on debian it might work i haven't tried
  • Discussion on translating Ubuntu Touch and its core apps

    61 Topics
    335 Posts
    lduboeufL
    said: Hello, With the next calendar-app release coming, a bunch of new strings are waiting to be translated, thanks for looking into it: https://hosted.weblate.org/projects/lomiri/lomiri-calendar-app/ Lionel oops forgot to mention the forum post about it: ( arf can't paste the link here), look into category OS->Call for testing: calendar-app)
  • A place to discuss ideas for promoting Ubuntu Touch

    57 Topics
    733 Posts
    developerbaymanD
    i just posted a testing version in app development ....expect bugs ....i expect feedback ....i add the missing features mentioned as well
  • Other Projects

    Projects which are started by a group within the UBports community

    72 Topics
    434 Posts
    K
    @lsitongia Yeah this is a long time issue. I will try this the next time. Personally, I just restart the whole process when it happens
  • For things that just don't fit in the other categories.

    909 Topics
    5k Posts
    G
    Hello Very long winded post ahead. TL&DR : it worked finally. Theoretically, it could be easier. This all started with a new attempt at 26.04 installed with system-image-cli while I had used 24.04-2 stable since at least 10 days. I was expecting this to be a routine update but my Fairphone 5 was launched into an infinite reboot loop. That’s what ‘unstable version’ means. I was quite happy then to have picked a phone with an easily removable battery. No need to fiddle with buttons to try to get to the fastboot, just remove the battery and it’s just a matter of pressing the down button with the power one at the same time. All following tests have been done with my Fairphone 5 started to the bootloader (Volume and Power buttons pressed simultaneously). Now the first step is to try to download everything using wget -r to a removable USB hard disk under //media/gerard/ntfs/web/ → creates a subdirectory named ‘system-image.ubports.com’ I believed after many efforts that I had downloaded everything that was necessary. How wrong I was. Actually I had done that several weeks ago but I had always balked at the risk of trying that while my phone was working so I had quietly left the hard disk to gather dust beside my keyboard. Now that my phone was borked, time to finally take the plunge to a local only installation. So I ‘disconnected’ from the internet (actually by running ‘ip route del default’ and ‘sudo systemctl disable NetworkManager-dispatcher.service’ to stop the darn Ubuntu OS of reinstating default route by itself) and started naively : ./ubports-installer_0.11.2_linux_x86_64.AppImage  --systemimage file://media/gerard/ntfs/web/system-image.ubports.com/ immediate failure, protocol error. It seems the thing just loves http. So python to the rescue, create a fake local (!) internet server : cd /media/gerard/ntfs python -m http.server and then : ./ubports-installer_0.11.2_linux_x86_64.AppImage  --systemimage http://localhost:8000/web/system-image.ubports.com/ better but it fails then a bit later saying that it could not access the installer config and advised me to connect to the internet. Thanks but no thanks, it’s just that I’m trying to avoid. Try to starts then with : ./ubports-installer_0.11.2_linux_x86_64.AppImage --file /shared/ut/installer/installer-configs/v2/devices/FP5.yml --systemimage http://localhost:8000/web/system-image.ubports.com/ /shared/ut/installer/installer-configs being the local directory where I have git cloned https://github.com/ubports/installer-configs better but it fails then a bit later with : info: Welcome to the UBports Installer version 0.11.2! [23766:0808/171214.633552:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times! [23766:0808/171217.000252:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times! [23766:0808/171219.098556:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times! info: Installing Ubuntu Touch on your Fairphone 5 (FP5) info: configuring... info: settings: {"bootstrap":true,"partition":true,"channel":"24.04-1.x/arm64/android9plus/stable"} error: Error: systemimage:install: Error: 404 stack trace: Error: 404    at /tmp/.mount_ubportQ9b0xC/resources/app.asar/src/core/plugins/systemimage/api.js:47:13    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) Looking at the trace from my local http server, I found that it failed at accessing "GET /web/system-image.ubports.com/24.04-1.x/arm64/android9plus/stable/FP5/index.json HTTP/1.1" 404 - and indeed looking at the local directory and comparing it with the remote one on the system-image.ubports.com, it was missing all files. Getting them with cd /media/gerard/ntfs/web/system-image.ubports.com/24.04-1.x wget -r -np -nH --cut-dirs=1 -R "index.html*" https://system-image.ubports.com/24.04-1.x/arm64/android9plus/stable/FP5/ that’s where I found out that my huge download of the whole ubports system-image server had failed to get everything. Next try again: ./ubports-installer_0.11.2_linux_x86_64.AppImage --file /shared/ut/installer/installer-configs/v2/devices/FP5.yml --systemimage http://localhost:8000/web/system-image.ubports.com/ It then tries to download some files (progress!) but fails to find some files and errors out again. Now I had dowloaded the pool directory a few weeks ago and downloaded the index files today. So I edited the index.json file to remove references to UT versions 24.04-1.3 and 1.4. Now installer says : ‘Pushing Ubuntu Touch files’. Installer says : ‘Report your result’ The red robot appears, installing system update. The phone restarts. The Ubuntu logo appears. ‘Welcome to Ubuntu Touch 24.04-1.2’ Enter the Sim code. Go to the update page and update to most recent 24.04-1.4 stable. Restart, all is well in the world. As the infamous saying goes, ‘Mission accomplished’. The first reported local installation (at modern times) of Ubuntu Touch is done. After that, the first time I tested and during the process the freaking Ubuntu OS of my PC had sneakily restarted the network and recreated the default route. That’s when I learned that I needed to use ‘ sudo systemctl disable NetworkManager-dispatcher.service’ to keep the PC disconnected frol the Internet. Another try, another success. I was back again at 24.04-1.2 stable. Updating then led me surprisingly to not download 24.04-1.4, but to be proposed 24.04-2. I wanted to repeat the test, so I got out of the update screen and in again and this time UT downloaded 24.04-1.4. The phone upgraded to this version without problem, a few quick tests without issue. After this, I found out that my Ubuntu PC has again enabled the network behind my back, this time due to dhcp. Third test after having given up on software solution, actually stopping the Internet router: success. Final result : success.