UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. gpatel-fr
    3. Posts
    G
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 556
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: ‘Welcome’ message after system startup ... see photo

      @vince.vs

      good luck.
      Possibly try to do a backup of the tables using something along the lines of

      sudo sqlite3 /var/lib/usermetrics/usermetrics6.db .dump >~/mybackup
      
      posted in Lenovo Tab M10 HD (2nd Gen)
      G
      gpatel-fr
    • RE: ‘Welcome’ message after system startup ... see photo

      @vince.vs

      ,I don't know about BleachBit, sqlite3 is available on UT (and on many Linux distros)

      phablet@ubuntu-phablet:~$ sudo sqlite3 /var/lib/usermetrics/usermetrics6.db
      [sudo] password for phablet: 
      SQLite version 3.45.1 2024-01-30 16:01:20
      Enter ".help" for usage hints.
      sqlite> .ta
      usermetricsservice::dataset     usermetricsservice::userdata  
      usermetricsservice::datasource
      sqlite> 
      sqlite> pragma table_info('usermetricsservice::dataset');
      0|id|INTEGER|1||1
      1|userData_id|INTEGER|1||0
      2|dataSource_id|INTEGER|1||0
      3|data|BLOB|0||0
      4|lastUpdated|date|0||0
      sqlite> 
      sqlite> select * from 'usermetricsservice::dataset';
      1|1|8||2026-05-24
      2|1|4||2026-05-25
      3|1|5||2026-05-26
      4|1|2||2026-05-26
      5|1|1||2026-05-10
      6|1|3||2026-05-26
      7|1|10||2025-11-02
      8|1|7||2026-04-24
      9|1|9||2026-04-25
      sqlite> 
      

      It's likely you'll need to delete one row from this table and one row from the data source table.

      posted in Lenovo Tab M10 HD (2nd Gen)
      G
      gpatel-fr
    • RE: Can't update to 24.04-1.3

      @hlbkv said:

      Failed to write reboot parameter file: Permission denied

      yes that's also a side-effect of installing Ubuntu Touch for my phone. I can work around it by running adb shell then sudo reboot bootloader

      posted in Lenovo Tab M10 HD (2nd Gen)
      G
      gpatel-fr
    • RE: ‘Welcome’ message after system startup ... see photo

      @vince.vs

      to expand a bit on the answer given, the system allows for applications to add to the predefined user metrics, but there is no provision to remove an existing user metric; not that there is any provision to remove features added to the system by apps, there is no such feature but even if there was one, no app could use it to clean an user metric added to the system because there is no api for that.

      If this is really annoying for you the system database for user metrics is /var/lib/usermetrics/usermetrics6.db and I'd guess that (if you know your way with sqlite3 utility) hacking around in this sqlite database could help you to bid good riddance to this user metric and it may even work after restarting the phone, but it's at your risk. I did not try it myself, I don't know if renumbering the entries is necessary or useful or deadly.

      posted in Lenovo Tab M10 HD (2nd Gen)
      G
      gpatel-fr
    • RE: Can't update to 24.04-1.3

      @hlbkv

      I can't give you expert advice about your device unfortunately. Generally speaking from my limited experience (I have only one phone with UT, a Fairphone 5) when UT is installed the installer may have trouble running unless the device is set manually in fastboot.

      In these cases I have used 'sudo reboot fastboot' under UT to get to the desired fastboot mode. If UT don't start you may have success using the phone controls (IIRC starting while pressing Down (or Up ?), or using the device boot menu.

      Additionaly it's indeed necessary to specify the target (detection don't work).

      In short, your current state is cause of concern of course, but not yet of despair.

      posted in Lenovo Tab M10 HD (2nd Gen)
      G
      gpatel-fr
    • RE: Can't update to 24.04-1.3

      @hlbkv said:

      won't it clear my libertine containers even if I don't wipe user data?

      I have Libertine setup when installing first the phone, tried to install a few apps and prompty forgot all about it as I don't use the phone as a computer, however after several upgrades and one reinstall the Libertine container seems to be still here so I'd say that you can have ope to have it after reinstalling.

      posted in Lenovo Tab M10 HD (2nd Gen)
      G
      gpatel-fr
    • RE: Is there a terminal command to disable the mobile data connection?

      @Linus67

      try

      sudo dbus-send --system --type=method_call --print-reply --dest=com.lomiri.location.Service /com/lomiri/location/Service org.freedesktop.DBus.Properties.Set string:com.lomiri.location.Service string:IsOnline variant:boolean:true
      

      dbus-monitor is your friend for this kind of problem.

      sudo dbus-monitor --system >system.txt
      

      or

      dbus-monitor --session >session.txt
      
      posted in Support
      G
      gpatel-fr
    • RE: Is there a terminal command to disable the mobile data connection?

      @Linus67

      try

      dbus-send --session --type=method_call --print-reply --dest=com.lomiri.connectivity1 /com/lomiri/connectivity1/Private org.freedesktop.DBus.Properties.Set string:com.lomiri.connectivity1.Private string:
      MobileDataEnabled variant:boolean:true
      
      posted in Support
      G
      gpatel-fr
    • RE: Changing Message sound requires restart?

      @mihael

      yes it's a bug and probably in the push service.

      I tried to kill the service process (I don't know any other way to restart a service activated by d-bus) and after an initial failure (it seems that when the service is restarted it don't take in account the task that started it), the second time I sent a mail message the notification used the new sound.

      To be continued.

      posted in Support
      G
      gpatel-fr
    • RE: Ubuntu Touch Installation Guide for Xiaomi POCO X3 NFC / X3

      @bad1080 said:

      I am guessing this means "android 10 and up"

      sorry you are guessing wrong.

      https://t.me/UTFAQ/42#

      posted in Xiaomi Poco X3 NFC
      G
      gpatel-fr
    • RE: Powersave mode extrem

      @uxes

      It's a feature, taken from the click documentation:

      4.3.2 Specification
      • Only system packages (i.e. .debs) may declare hooks. Click packages must be declarativeinclude code executed outside AppArmor confinement, which precludes declaring hooks.
      
      posted in Support
      G
      gpatel-fr
    • RE: Powersave mode extrem

      @uxes

      dekko does it too.
      IIRC every app that is installing a systemd service I have looked at don't remove it when uninstalled.

      posted in Support
      G
      gpatel-fr
    • RE: Mutting Alerts Volume

      @mihael

      tested with dekko. I think it's a bug, it don't seem logical that silent mode mutes the rings but not the messages.

      posted in OS
      G
      gpatel-fr
    • RE: Changing Message sound requires restart?

      @mihael

      oups sorry for not reading carefully ! But it's the same, no restart necessary, a sms received gets the new sound immediately.

      posted in Support
      G
      gpatel-fr
    • RE: Changing Message sound requires restart?

      @mihael

      If I change the ring tone on my Fairphone 5 running 24.04-1.3, if it receive a phone call immediately after that, the new ring tone plays.

      posted in Support
      G
      gpatel-fr
    • RE: Powersave mode extrem

      @Linus67

      Thanks for sharing this tip!

      I tried it on my Fairphone 5.

      While I did not use it for all the time since the 2 days and a few hours I enabled it (forgot about it after restarting the phone) I could see that my estimation of the enery consumption of my ravenous Fairphone 5 was a bit exagerated.

      The phone got from 85% to 50% in about 50 hours so while not good it's not as catastrophic I was thinking. Mind that I did not disable Bluetooth, cellular and wifi, only Gps is off.

      @Linus67 said:

      It would be perfect if a “super power-saving mode” like that could be built into UT.

      In my opinion the use case is a bit off the general usage AND it has potential and difficult to debug problems with other uses, so it would be best to bake this into an app to avoid too much complaining from not very experienced users.

      I'd say that it would be a good fit for TweakUT since it's already an unconfined app and it is managing already the background state of apps, so manual changes to background state could be coordinated with automatic changes when enabling reduced power use.

      It would be perfect if there was an API to allow an unconfined app like TweakUT to add an indicator in the top level status too, for rapid access.

      Edit to correct 50 hours instead of 5 (!)

      posted in Support
      G
      gpatel-fr
    • RE: [Comment] indicator panel in emergencies

      @nbdynl said:

      when driving the car

      hum, in my oountry thatt's 135 euros and 3 points deducted from the driving license.
      Android or IPhone or Linux phone don't make a difference.

      Only verbal commands can avoid the wrath from the men in blue. IIRC someone posted here about verbal commands in UT but it did not get much traction.

      posted in Design
      G
      gpatel-fr
    • RE: Mirrors for users in Russia

      @Moem said:

      Ubuntu Touch is not made for the overwhelming majority. It's made for the adventurous, the tinkerers, those who do not wish to join the mainstream,

      this reminds me of a cherished memory.

      It was a long time ago (but in this galaxy) I was in a store taking a look at the Android shelf. I heard suddently a loud cry saying 'no, not here, that's the phones for cave men', and saw a middle-aged guy pulling his young boy out of the fatal attraction of the phones for the overwhelming majority, toward (probably) the phones appropriate for the refined ubermenschen (I did not investigate but it was certainly the Apple phones shelf).

      posted in Support
      G
      gpatel-fr
    • RE: Call for testing: Ubuntu Touch 24.04-1.3

      @sixwheeledbeast

      Taking a look at what ofono is providing:

      gdbus monitor --system --dest org.ofono --object-path /ril_0
      Monitoring signals on object /ril_0 owned by org.ofono
      The name org.ofono is owned by :1.12
      /ril_0: org.ofono.NetworkRegistration.PropertyChanged ('Strength', <byte 0x1e>)
      /ril_0: org.ofono.NetworkRegistration.PropertyChanged ('Strength', <byte 0x0f>)
      /ril_0: org.ofono.NetworkRegistration.PropertyChanged ('Strength', <byte 0x23>)
      /ril_0: org.ofono.NetworkRegistration.PropertyChanged ('Strength', <byte 0x11>)
      /ril_0: org.ofono.NetworkRegistration.PropertyChanged ('Strength', <byte 0x25>)
      /ril_0: org.ofono.NetworkRegistration.PropertyChanged ('Strength', <byte 0x16>)
      /ril_0: org.ofono.NetworkRegistration.PropertyChanged ('Strength', <byte 0x25>)
      /ril_0: org.ofono.NetworkRegistration.PropertyChanged ('Strength', <byte 0x07>)
      /ril_0: org.ofono.NetworkRegistration.PropertyChanged ('Strength', <byte 0x19>)
      /ril_0: org.ofono.NetworkRegistration.PropertyChanged ('Strength', <byte 0x25>)
      /ril_0: org.ofono.NetworkRegistration.PropertyChanged ('Strength', <byte 0x16>)
      

      it's clear that the triangle is optimistic, when ofono is reporting 0x25 (that is a signal quality of 38% the display is showing a good quality (a casual observing would say 75% although estimating surfaces on a triangle is misleading)

      However when rhe reported quality change, the triangle changes also; it's not either empty or full.
      In this my observations on my phone don't confirm what you see.

      Since I had not yet this trick to get at the ofono reported quality before, I can't say if the triangle was already optimistic before 24.04-1.3.

      I got the idea of getting my phone near a window and it jumped to 0x2f (that is 47% where the triangle was full.
      Optimistic indeed. That said, is this a bug or a feature ? Maybe 50% is as good as it gets.

      posted in OS
      G
      gpatel-fr
    • RE: [Discussion] How to do community voting?

      @RJDan

      here is a link to the last (2023) post done by a NodeBB member about it.

      posted in General
      G
      gpatel-fr