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
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
,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.
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
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.
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.
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.
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
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
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.
I am guessing this means "android 10 and up"
sorry you are guessing wrong.
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.
dekko does it too.
IIRC every app that is installing a systemd service I have looked at don't remove it when uninstalled.
tested with dekko. I think it's a bug, it don't seem logical that silent mode mutes the rings but not the messages.
oups sorry for not reading carefully ! But it's the same, no restart necessary, a sms received gets the new sound immediately.
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.
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.
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 (!)
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.
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).
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.