UBports Robot Logo UBports Forum
    • Kategorien
    • Aktuell
    • Tags
    • Beliebt
    • Benutzer
    • Gruppen
    • Suche
    • Registrieren
    • Anmelden

    Sony Xperia X (suzu/F5121 & F5122)

    Geplant Angeheftet Gesperrt Verschoben Sony Xperia X (F5121 & F5122)
    324 Beiträge 63 Kommentatoren 287.6k Aufrufe 15 Watching
    Lade mehr Beiträge
    • Älteste zuerst
    • Neuste zuerst
    • Meiste Stimmen
      Antworten
      • In einem neuen Thema antworten
      Anmelden zum Antworten
      Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
      • fredldotmeF Offline
        fredldotme
        zuletzt editiert von fredldotme

        This is a port of Ubuntu Touch for the Sony Xperia X (suzu/F5121 & F5122).

        Sources:
        Kernel:
        https://github.com/fredldotme/device-kernel-loire

        Device:
        https://github.com/fredldotme/device-sony-common
        https://github.com/fredldotme/device-sony-loire
        https://github.com/fredldotme/device-sony-suzu

        Halium:
        https://github.com/Halium/halium-devices/blob/halium-7.1/manifests/sony_suzu.xml

        Status:

        Working:

        • Audio
        • Calling
        • SMS
        • Wifi (sometimes requires a reboot)
        • Wifi hotspot
        • Bluetooth (sometimes requires a reboot)
        • GPS
        • Vibration
        • Orientation sensor
        • LED
        • USB/MTP
        • USB/ADB
        • Video decoding
        • Photo camera
        • MicroSD support
        • Flash light
        • Anbox
        • Libertine

        Missing:

        • Video recording

        Install:

        • Make sure to upgrade your device to the latest stock Android 8.0 before continuing:

          • Windows: https://developer.sony.com/develop/open-devices/get-started/flash-tool/
          • Linux: http://www.flashtool.net/downloads_linux.php (run with GTK_IM_MODULE=ibus ./FlashTool) and https://xperifirm.com/tutorial/install-xperifirm-linux/
        • OEM unlock your device: https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/

        • Boot your device into fastboot mode by shutting it down and keeping the Volume Up button pressed while plugging in a USB cable between your phone and PC. The LED should be on and blue.

        • In case of flashing issues please wipe system, data & cache partitions using TWRP

        • Flash the OEM binaries from: https://developer.sony.com/file/download/software-binaries-for-aosp-nougat-android-7-1-kernel-4-4-loire/ using fastboot flash oem SW_binaries_for_Xperia_AOSP_N_MR1_5.7_r1_v08_loire.img

        • Run the UBports Installer (0.4.5-beta or onwards): https://github.com/ubports/ubports-installer/releases/tag/0.4.5-beta

        libremaxL M c4pp4C P 5 Antworten Letzte Antwort Antworten Zitieren 22
        • libremaxL Offline
          libremax @fredldotme
          zuletzt editiert von libremax

          @fredldotme Kudos
          Where is it better to report bugs ?
          Here, at github.com/ubports or elsewhere ?

          Donate anonymously 1€/$ by year to UBports, all Ubuntu Touch users can do it ! Demonstration:
          https://forums.ubports.com/topic/1262/donate-anonymously-1-by-year-to-ubports-all-ubuntu-touch-users-can-do-it-demonstration/

          fredldotmeF 1 Antwort Letzte Antwort Antworten Zitieren 0
          • fredldotmeF Offline
            fredldotme @libremax
            zuletzt editiert von

            @libremax GitHub is fine for bug reports.

            1 Antwort Letzte Antwort Antworten Zitieren 0
            • B Offline
              bkos
              zuletzt editiert von

              So I tried to install following your steps, but I always get this error in the last step:
              Cache formatting was not succesful, flashing may fail, check your partitions on device
              Where did I go wrong?

              bkos@T430:~/Letöltések$ fastboot erase cache && fastboot erase userdata && fastboot erase system
              ******** Did you mean to fastboot format this ext4 partition?
              erasing 'cache'...
              OKAY [  0.012s]
              finished. total time: 0.012s
              ******** Did you mean to fastboot format this ext4 partition?
              erasing 'userdata'...
              OKAY [  0.094s]
              finished. total time: 0.094s
              ******** Did you mean to fastboot format this ext4 partition?
              erasing 'system'...
              OKAY [  0.040s]
              finished. total time: 0.041s
              bkos@T430:~/Letöltések$ fastboot flash oem SW_binaries_for_Xperia_AOSP_N_MR1_5.7_r1_v08_loire.img
              target reported max download size of 536870912 bytes
              sending 'oem' (220783 KB)...
              OKAY [ 12.517s]
              writing 'oem'...
              OKAY [  3.171s]
              finished. total time: 15.688s
              bkos@T430:~/Letöltések$ ubuntu-device-flash touch --device=suzu --channel=16.04/community/fredldotme/devel --bootstrap
              2019/10/26 21:30:40 Device is |suzu|
              2019/10/26 21:30:40 Flashing version 23 from 16.04/community/fredldotme/devel channel and server https://system-image.ubports.com to device suzu
              2019/10/26 21:30:50 Cache formatting was not successful, flashing may fail, check your partitions on device
              2019/10/26 21:30:52 Waiting for device to enter recovery mode ...
               Cache formatting was not succesful, flashing may fail, check your partitions on deviceFailed to enter Recovery
              bkos@T430:~/Letöltések$
              

              After this the device is in the endless boot loop.
              Thanks in advance.

              fredldotmeF 1 Antwort Letzte Antwort Antworten Zitieren 0
              • fredldotmeF Offline
                fredldotme @bkos
                zuletzt editiert von fredldotme

                @bkos said in Sony Xperia X (suzu/F5121):

                Does your device boot into recovery by pressing the VolDown + Power button? What happens then? Also does adb devices show any device in its list?

                B 1 Antwort Letzte Antwort Antworten Zitieren 0
                • B Offline
                  bkos @fredldotme
                  zuletzt editiert von

                  @fredldotme
                  Before flashing with Android installed, VolDown and Power button, blue light.
                  After trying to install UBports, it enters some recovery.
                  adb devices doesn't show any device, neither before flashing, nor after.
                  I had Sailfish installed on this device, maybe that screws up something?

                  S 1 Antwort Letzte Antwort Antworten Zitieren 0
                  • S Offline
                    sonny @bkos
                    zuletzt editiert von

                    @bkos I also had sailfish on my device before and the same failed to recovery problem as you.
                    I managed to install it eventully a few days ago by installing twrp https://eu.dl.twrp.me/suzu/ with version 3.2.3-0 that that was mentioned in an earlier post.
                    The I got a bit further with it failing with "/cache/recovery/': remote couldn't create file: Is a directory" and then checked with adb shell and saw that the directory /cache/recovery was not there and created it.

                    then it got further and ended with

                    2019/10/28 21:30:45 Created ubuntu_command: /home/sonny/.cache/ubuntuimages/ubuntu_commands273504541
                    2019/10/28 21:30:45 Rebooting into recovery to flash

                    and then twrp came and i could not see those ubuntu commands.

                    Then I tried

                    fastboot flash oem SW_binaries_for_Xperia_AOSP_N_MR1_5.7_r1_v08_loire.img

                    again and then

                    ubuntu-device-flash touch --device=suzu --channel=16.04/community/fredldotme/devel --bootstrap

                    and this time it worked with another recovery screen.

                    I have no idea, this is my first time flashing ubports, but maybe its that there was something missing which twrp then provided and then flashing the recovery from the AOSP worked then.

                    1 Antwort Letzte Antwort Antworten Zitieren 1
                    • S Offline
                      sonny
                      zuletzt editiert von

                      @fredldotme

                      Thank you for your work, I managed to install it with a slightly different procedure as I wrote in my last comment.
                      Today I got a system update and installed it and now the phone is stuck in a reboot loop until I force shutdown it with power and volume up and waiting for three vibrations.

                      Is that expected that over the air updates do not work yet?
                      And I had no sim inserted in case that is relevant. I just tested it with wifi so far.
                      I will try to reflash it again soon.

                      libremaxL 1 Antwort Letzte Antwort Antworten Zitieren 0
                      • libremaxL Offline
                        libremax @sonny
                        zuletzt editiert von

                        @sonny Xperia X is not yet included in UBports Installer and in the same way, I see not reason why It could be included at this step in UBports OTA system.

                        Donate anonymously 1€/$ by year to UBports, all Ubuntu Touch users can do it ! Demonstration:
                        https://forums.ubports.com/topic/1262/donate-anonymously-1-by-year-to-ubports-all-ubuntu-touch-users-can-do-it-demonstration/

                        D 1 Antwort Letzte Antwort Antworten Zitieren 0
                        • D Offline
                          doniks @libremax
                          zuletzt editiert von doniks

                          @libremax I don't know for sure, but I could imagine that suzu gets otas. Its in the ci and the image server, so that whole machinery might just work. Even though the graphical installer application is not able to serve it yet.

                          If that is the case, then @sonny you just updated to the brand new mir and unity versions that got promoted from edge channel. There's another post where they explained the edge merge. https://forums.ubports.com/topic/3293/what-s-this-edge-merge-anyway/3

                          Maybe that new image is causing the problem on this halium built device?! You can probably switch back to an older dev image with ubuntu-device-flash. I don't know the syntax by heart, buy just check -h.

                          If that theory is correct, then @fredldotme maybe some older devel image could be promoted to rc?

                          libremaxL 1 Antwort Letzte Antwort Antworten Zitieren 0
                          • libremaxL Offline
                            libremax @doniks
                            zuletzt editiert von

                            @doniks In fact, I was not looking at this from a technical point of vue but from a "logical" one.
                            Given it's an early pre-release without polishing for the install step, I did'nt expect that OTA would be enable.

                            Donate anonymously 1€/$ by year to UBports, all Ubuntu Touch users can do it ! Demonstration:
                            https://forums.ubports.com/topic/1262/donate-anonymously-1-by-year-to-ubports-all-ubuntu-touch-users-can-do-it-demonstration/

                            1 Antwort Letzte Antwort Antworten Zitieren 0
                            • S Offline
                              sonny
                              zuletzt editiert von

                              My phone was actually able to startup today after being shut off over night.
                              I then checked the updates again and Ubuntu touch Version 26 was listed as available again.
                              I tried to install and got a glowing circle like I did when I initially installed it and then it booted up to show the update is still available.
                              I leave that update for now while I check the system out.

                              1 Antwort Letzte Antwort Antworten Zitieren 0
                              • fredldotmeF Offline
                                fredldotme
                                zuletzt editiert von

                                @sonny OTAs should work, they do with most Xperia X devices but I've gotten reports of failing OTAs on some devices where the Circle Of Flash(tm) doesn't even show up. So if your device runs through the install process with the circle it should be lucky.

                                S 1 Antwort Letzte Antwort Antworten Zitieren 0
                                • LakotaubpL Offline
                                  Lakotaubp
                                  zuletzt editiert von

                                  The Sony Xperia X is now in the installer https://github.com/ubports/ubports-installer

                                  NuffiN 1 Antwort Letzte Antwort Antworten Zitieren 3
                                  • NuffiN Offline
                                    Nuffi @Lakotaubp
                                    zuletzt editiert von

                                    @Lakotaubp

                                    Great ! Super! Here is a Sony Xperia X working ... 🙂

                                    Knautsch-Zone!Don't disturb!See the sign o.t.door!

                                    1 Antwort Letzte Antwort Antworten Zitieren 1
                                    • S Offline
                                      sonny @fredldotme
                                      zuletzt editiert von

                                      @fredldotme
                                      I was able to update to Ubuntu Touch Version 33 today without problems.

                                      1 Antwort Letzte Antwort Antworten Zitieren 0
                                      • S Offline
                                        sahirul
                                        zuletzt editiert von sahirul

                                        can i install it on a Sony xperia x compact ?

                                        fredldotmeF 1 Antwort Letzte Antwort Antworten Zitieren 0
                                        • fredldotmeF Offline
                                          fredldotme @sahirul
                                          zuletzt editiert von

                                          @sahirul No, as that one is neither Suzu nor F5121.

                                          S H 2 Antworten Letzte Antwort Antworten Zitieren 0
                                          • K Offline
                                            kugiigi
                                            zuletzt editiert von

                                            Is there a way to make sure the Xperia X we will get is the correct version?
                                            Perhaps in the about page on Android we can see the model?

                                            1 Antwort Letzte Antwort Antworten Zitieren 0
                                            • N Offline
                                              Nikfrager
                                              zuletzt editiert von

                                              Yes, you can see it.

                                              1 Antwort Letzte Antwort Antworten Zitieren 0
                                              • Erster Beitrag
                                                Letzter Beitrag