UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Sony Xperia X (suzu/F5121 & F5122)

    Scheduled Pinned Locked Moved Sony Xperia X (F5121 & F5122)
    324 Posts 63 Posters 235.8k Views 15 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • W Offline
        wdehoog @c4pp4
        last edited by wdehoog

        @c4pp4 still strange that some other apps can play without being interrupted. anything interesting in log files? /var/log/syslog or /var/log/repowerd.log or ~/.cache/upstart/media-hub.log

        c4pp4C 2 Replies Last reply Reply Quote 0
        • c4pp4C Offline
          c4pp4 @wdehoog
          last edited by

          @wdehoog said in Sony Xperia X (suzu/F5121 & F5122):

          anything interesting in log files?

          I'll check it later if you don't mind.

          1 Reply Last reply Reply Quote 0
          • c4pp4C Offline
            c4pp4 @wdehoog
            last edited by

            @wdehoog
            Maybe the problem is caused by this commit https://github.com/ubports/repowerd/commit/cfb1cec49ab53a33458112b7aa1ae61afba8e207

            I've compared /var/log/repowerd.log when Wi-Fi ON (music is interrupted) and OFF (music plays) and there are additional lines when Wi-Fi is ON:

            2020-06-15T23:34:03.229697+02:00 ubuntu-phablet repowerd[1286]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(,/)
            2020-06-15T23:34:03.229754+02:00 ubuntu-phablet repowerd[1286]: LogindSessionTracker: deactivate_session()
            2020-06-15T23:34:03.363673+02:00 ubuntu-phablet repowerd[1286]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(c3,/org/freedesktop/login1/session/c3)
            2020-06-15T23:34:03.392526+02:00 ubuntu-phablet repowerd[1286]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(,/)
            2020-06-15T23:34:03.392601+02:00 ubuntu-phablet repowerd[1286]: LogindSessionTracker: deactivate_session()
            2020-06-15T23:34:03.419897+02:00 ubuntu-phablet repowerd[1286]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(c3,/org/freedesktop/login1/session/c3)
            2020-06-15T23:34:07.082551+02:00 ubuntu-phablet repowerd[1286]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(,/)
            2020-06-15T23:34:07.082593+02:00 ubuntu-phablet repowerd[1286]: LogindSessionTracker: deactivate_session()
            2020-06-15T23:34:07.111357+02:00 ubuntu-phablet repowerd[1286]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(c3,/org/freedesktop/login1/session/c3)
            
            W 1 Reply Last reply Reply Quote 0
            • W Offline
              wdehoog @c4pp4
              last edited by

              @c4pp4 If the problems are caused by the repowerd commit you refer to then it remains strange that some apps do not suffer from this issue. The relation to wifi is also a mystery to me. I am afraid I cannot be of much help here.

              E 1 Reply Last reply Reply Quote 0
              • E Offline
                eichenbast @wdehoog
                last edited by

                @wdehoog I am not sure, that for example "Flas" is not related. Cause I noticed, that after a while it also stops. First I thought, it is because of the quality of My wifi connection .

                1 Reply Last reply Reply Quote 0
                • W Offline
                  wdehoog
                  last edited by

                  anyway after updating now I have the exact same problem on my opo. boehoe....

                  c4pp4C 1 Reply Last reply Reply Quote 0
                  • c4pp4C Offline
                    c4pp4 @wdehoog
                    last edited by

                    @wdehoog
                    what is the update number in your case?

                    BTW: The problem is not caused by the commit. I've tried repowerd without it.

                    M W 2 Replies Last reply Reply Quote 0
                    • M Offline
                      malditobastardo @c4pp4
                      last edited by

                      @c4pp4 Any chance to go back to stable? Or to a previous image without this issue?

                      c4pp4C 1 Reply Last reply Reply Quote 0
                      • W Offline
                        wdehoog @c4pp4
                        last edited by

                        @c4pp4 I notice lots of logs in repowerd.log, lightdm.log and syslog. top shows lots of activity for systemd-logind and polkitd and sometimes Networkmanager.

                        still no idea what is going on.

                        since this is no sony-xperia-x specific problem we better continue somewhere else. a github issue?

                        c4pp4C 1 Reply Last reply Reply Quote 0
                        • c4pp4C Offline
                          c4pp4 @malditobastardo
                          last edited by

                          @malditobastardo
                          I'd like to try a previous image too but I'm not sure how, maybe @fredldotme can help with it. I just compiled custom repowerd package to exclude the problem is not caused by the commit.

                          @wdehoog
                          Maybe the problem is really media-hub and turning the wifi off just starts a network dbus service using wakelock and then the music is playing without interruptions or something like that.

                          1 Reply Last reply Reply Quote 0
                          • c4pp4C Offline
                            c4pp4 @wdehoog
                            last edited by

                            @wdehoog Should be fixed, it was the commit šŸ™‚

                            W 1 Reply Last reply Reply Quote 0
                            • W Offline
                              wdehoog @c4pp4
                              last edited by

                              @c4pp4 Hi. You tried to revert the commit 8 days ago and it did not help. I also tried to revert it and it did not help me either. Now todays update seems to work and indeed the commit is gone. But I suspect something else has also changed. I am probably wrong and it is of no use anyway since it now works.

                              c4pp4C 1 Reply Last reply Reply Quote 0
                              • c4pp4C Offline
                                c4pp4 @wdehoog
                                last edited by

                                @wdehoog

                                This commit brings back almost everything in that commit back, except
                                modify it so that it actually respect suspend inhibitions when pressing
                                power button.

                                1 Reply Last reply Reply Quote 1
                                • M Offline
                                  marek_python
                                  last edited by

                                  Fingerprint scanner isn't mentioned in the post. Android version comes with fingerprint scanner. Does it work under UT as well ?

                                  1 Reply Last reply Reply Quote 0
                                  • G Offline
                                    Giampy
                                    last edited by

                                    The speakerphone during calls does not work. It is as if everything is silent, even the keyboard sounds do not work.
                                    screenshot20200628_071627533.png

                                    1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      Stef7773
                                      last edited by

                                      Hello. I have a problem flashing sony xperia x with ubports. I already follow all the steps. My phone is an android 8 oreo version, i unlocked to bootloader with sony flash tool. i already enable oem and usb debugging and i install the Sw binaries with fastboot. but when i start ubports, everything is working until the phone reboots to install the firmware and it boot in ubports recovery mode so is not anymore in the fastboot mode with the blue light on. And when i tried to put it back it gets disconnect. What can i do ? can i flash it from ubports recovery ?

                                      E KenedaK LakotaubpL 3 Replies Last reply Reply Quote 0
                                      • E Offline
                                        eichenbast @Stef7773
                                        last edited by

                                        @Stef7773 What maybe can help: choose another version of ubports-installer. Otherwise, I followed the posts on xda, there I understood the correct way to flash. I remember some month ago, I had the same problem .

                                        1 Reply Last reply Reply Quote 0
                                        • KenedaK Offline
                                          Keneda @Stef7773
                                          last edited by

                                          @Stef7773
                                          Rebooting in recovery is normal at some point when installing with ubports installer.
                                          You forgot to tell on what OS your PC is.

                                          2015-2023 : Meizu MX4 ā˜ ļøāš°ļøāœļø
                                          2023-2024 : Nexus 5 ā˜ ļøāš°ļøāœļø
                                          2024-***** : FPOS Fairphone 5 waiting UT for freedom šŸ˜‰
                                          šŸ‡²šŸ‡«šŸ‡¬šŸ‡§

                                          S 1 Reply Last reply Reply Quote 0
                                          • LakotaubpL Offline
                                            Lakotaubp @Stef7773
                                            last edited by

                                            @Stef7773 One post is all you need posting twice is confusing and distracting . Please don't do so again as one will be removed, Thanks.

                                            1 Reply Last reply Reply Quote 0
                                            • fredldotmeF Offline
                                              fredldotme
                                              last edited by

                                              Should you run into issues during the flashing: install TWRP and wipe system, data & cache partitions, then proceed to the install guide.

                                              S 1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post