Vibration issue
-
I'm trying UT for the first time. After installation UT on redmi note 9 pro, the phone vibrated, but after the first reboot, it no longer vibrates. Neither when calling nor when pressing the keyboard. The vibration is enabled. I installed UT 20.04 (r164). I tried both the stable version and the development version. Thank you for your answers.
-
On the phone was android v12.0.4.
-
@szocse1223 Hello, please excuse me for the late responce. I assume you have Redmi note 9 pro global/eu which joyeuse. May I ask you to try out 12.0.2 or 11.0.3 android version because this 2 are most well tested with joyeuse.
-
@beyolf
Hello. Yes, i have note 9 pro global/eu. I flashed android 12.0.2 on the phone as You have adviced, then installed ut 20.04. First boot was ok. While i set the system it's vibrating (language, keybord, time...). After even if I dont install any apps, only reboot the phone, it does not vibrate. -
@szocse1223 hmm that's interesting. Could you please collect for me logs from journalctl for repowerd service after the first reboot. I will try to reproduce the problem this weekend and fix it. Thank you very much for the report also.
-
@beyolf I confirm the same issue on Redmi Note 9S. Everything works well except vibrating.
Will try to get the logs tonight.Edit: Is there a way to filter repowerd outputs on journalctl ? Cause there are hundreds lines available....
Thank you !
-
@beyolf I finally managed to generate the logs you asked for (I hope I did the right thing, my computer skills being limited...)
The command I used was:
journalctl -u repowerd --since 20:30
I rebooted the device just before in order to display the repowerd boot logs.
I hope this helps you in your investigations.
Thank you beforehand if you can take a look
01 20:54:17 ubuntu-phablet systemd[1]: Starting monitor and control system power state... avril 01 20:54:17 ubuntu-phablet repowerd[1465]: main: Starting repowerd 2023.07 avril 01 20:54:54 ubuntu-phablet repowerd[1465]: DefaultDaemonConfig: Failed to create LibsuspendSystemPower> avril 01 20:54:54 ubuntu-phablet repowerd[1465]: DefaultDaemonConfig: Trying LogindSystemPowerControl avril 01 20:54:54 ubuntu-phablet systemd[1]: Started monitor and control system power state. avril 01 20:54:55 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 20:54:54 ubuntu-phablet repowerd[1465]: DefaultDaemonConfig: Trying LogindSystemPowerControl avril 01 20:54:54 ubuntu-phablet systemd[1]: Started monitor and control system power state. avril 01 20:54:55 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 20:54:55 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 20:54:55 ubuntu-phablet repowerd[1465]: BinderPerformanceBooster: enable_interactive_mode() avril 01 20:54:54 ubuntu-phablet repowerd[1465]: DefaultDaemonConfig: Failed to create LibsuspendSystemPower> avril 01 20:54:54 ubuntu-phablet repowerd[1465]: DefaultDaemonConfig: Trying LogindSystemPowerControl avril 01 20:54:54 ubuntu-phablet systemd[1]: Started monitor and control system power state. avril 01 20:54:55 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 20:54:55 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 20:54:55 ubuntu-phablet repowerd[1465]: BinderPerformanceBooster: enable_interactive_mode() avril 01 20:54:55 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 20:54:59 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 20:54:59 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 20:55:05 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 20:54:54 ubuntu-phablet systemd[1]: Started monitor and control system power state. avril 01 20:54:55 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 20:54:55 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 20:54:55 ubuntu-phablet repowerd[1465]: BinderPerformanceBooster: enable_interactive_mode() avril 01 20:54:55 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 20:54:59 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 20:54:59 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 20:55:05 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 20:55:09 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 20:55:15 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 20:55:19 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 20:55:59 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 20:56:01 ubuntu-phablet repowerd[1465]: SensorfwLightSensor: Skip bobus value 0 from SensorFW. avril 01 20:58:09 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 20:58:10 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 21:00:15 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 21:00:20 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> lines 6-22/31 71% avril 01 21:02:56 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 21:02:57 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 21:03:00 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 21:03:00 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 21:03:13 ubuntu-phablet repowerd[1465]: SensorfwLightSensor: Skip bobus value 0 from SensorFW. avril 01 21:03:15 ubuntu-phablet repowerd[1465]: SensorfwLightSensor: Skip bobus value 0 from SensorFW. avril 01 21:03:31 ubuntu-phablet repowerd[1465]: SensorfwLightSensor: Skip bobus value 0 from SensorFW. avril 01 21:05:20 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 21:05:25 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 21:06:23 ubuntu-phablet repowerd[1465]: SensorfwLightSensor: Skip bobus value 0 from SensorFW. avril 01 21:06:35 ubuntu-phablet repowerd[1465]: SensorfwLightSensor: Skip bobus value 0 from SensorFW. avril 01 21:06:36 ubuntu-phablet repowerd[1465]: SensorfwLightSensor: Skip bobus value 0 from SensorFW. avril 01 21:07:34 ubuntu-phablet repowerd[1465]: BinderPerformanceBooster: disable_interactive_mode() avril 01 21:07:36 ubuntu-phablet repowerd[1465]: LogindSessionTracker: dbus_get_session_by_pid() failed: GDB> avril 01 21:07:51 ubuntu-phablet repowerd[1465]: BinderPerformanceBooster: enable_interactive_mode() avril 01 21:07:52 ubuntu-phablet repowerd[1465]: SensorfwLightSensor: Skip bobus value 0 from SensorFW.
-
@stanwood thank you very much for the logs! I will keep you in touch!
-
This post is deleted! -
@beyolf Thank you very much!
I don't know if you've had a chance to take a look at these logs?
Meanwhile, a member of the Telegram group "The UT for Miatoll Group" informed me that a developer from Spain was able to fix the problem on the Note 9 Pro (Joyeuse).
The vibrator would already work on the "Dev" channel, so possibly the problem would also be fixed on the Curtana after the next OTA update?In the meantime I've created the following ticket on Gitlab:
Thanks and have a nice day.
-
Hello. My phone is also vibrating. Thank you very much for your help. Have a nice day
-
@szocse1223 Oh nice. What did you do? Are you on "dev" channel?
-
@stanwood
Yes, I have the dev version. It has been working since the last two updates. Now I have ver. 202. I hope I won't have any problems with it -
@szocse1223 Very good then!
So I guess there are good chances that the fix lands also for Curtana on the next OTA-5 update (I'm on stable channel).
Will let you know...
-
@stanwood yes I took a look on the fix. Thank you for notifying me. The fix will land on OTA 5.
-
-
-
@beyolf Hi, Good new, I got OTA-5 stable today on my Curtana (Redmi Note 9S) and everything's fine.
However, sadly, vibrator still doesn't work...
Edit: I did reinstall UT using UBports installer, and vibrator now magically works pretty well.Update 02.nov.2024: In reality vibrator just worked at first OTA-5 reinstall boot, then no more. Tried several times to reinstall using UBports installer, also tried the dev channel, but with no effect...
For the rest, it runs fantastically well.
Many thanks !
Cheers, Stanwood
-
-
-
Very good new! With a great help from Adam (from Miatoll Group), I managed to eventually fix the vibrator issue.
He will try to push the fix for the next OTA. So it's wise to wait a little bit.
For the most adventurous, this should work:
- Open the terminal app, or ssh your device and type:
sudo mount -o remount,rw / sudo nano /opt/halium-overlay/usr/libexec/lxc-android-config/device-hacks
- add the following line at the bottom of the text:
#To navigate in the nano file directly by using the UT terminal, keep pressing the 3 lines on the left side and slide to "Scroll" command, then move the cursor to the right and select the down arrow
sudo systemctl restart hfd-service.service
#To save the nano file directly by using the UT terminal, keep pressing the 3 lines on the left side and slide to "Nano" command, then select "Ctrl + X" and confirm with "y"
- Reboot to save the changes with:
sudo reboot
Caution: This was valid at least for 9S Curtana. I didn't test yet all the phone features, so I can't confirm that there's no regression somewhere else (even if there shouldn't).
Hope it could help
-
@stanwood thank u very much
nice work
it worked verry well on redmi note 9 pro -
Fix has been officially pushed to dev channel (Thank you Adam).
I therefore did close the issue: