• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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.3k 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.
    • K Offline
      kugiigi @bennypr0fane
      last edited by 23 Oct 2020, 10:47

      @bennypr0fane It should boot into the battery charging screen. Not sure though if that still works when the OS isn't booting.

      B 1 Reply Last reply 23 Oct 2020, 11:55 Reply Quote 0
      • B Offline
        bennypr0fane @kugiigi
        last edited by bennypr0fane 23 Oct 2020, 11:55

        It does not display the large red battery icon when I plug in the charger.
        I've found now that when it's off and I connect it to the Pc, the green LED comes on.
        (also green when pressing vol down at connect, blue when pressing vol up)

        1. Is the battery charging when connected to the Pc like this (switched off)?
        2. Would you say it's reasonably safe to try and install TWRP in this state (with battery maybe depleted)?
        3. If 1. is a no, will the battery charge while TWRP is running?

        Oh and also, adb devices is listing no devices 😞

        B 1 Reply Last reply 23 Oct 2020, 13:13 Reply Quote 0
        • B Offline
          bennypr0fane @bennypr0fane
          last edited by 23 Oct 2020, 13:13

          UPDATE: I can now get to Ubports Recovery screen. From there it's a boot loop, so back to the state right after my first flashing attempt. Maybe it did charge even while not booting successfully. Will try to reflash TWRP.
          Question: in which mode should I connect to PC to flash TWRP? It's kinda not mentioned anywhere.

          F 1 Reply Last reply 23 Oct 2020, 13:55 Reply Quote 0
          • F Offline
            fredldotme @bennypr0fane
            last edited by 23 Oct 2020, 13:55

            @bennypr0fane If your recovery reboots by itself without installing an update you still need to wipe the system partition using TWRP. Boot into fastboot, flash TWRP using fastboot flash recovery twrp-file-name.img and wipe the system partition from there.

            B 2 Replies Last reply 23 Oct 2020, 17:49 Reply Quote 0
            • B Offline
              bennypr0fane @fredldotme
              last edited by 23 Oct 2020, 17:49

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • B Offline
                bennypr0fane @fredldotme
                last edited by bennypr0fane 23 Oct 2020, 19:07

                @fredldotme Okay, I managed to flash TWRP and wiped system partition, Dalvik, Cache and Data. Turns out the battery was actually full. After that I flashed OEM binaries. Then I used UBports installer 0.5.5-beta, and it reported successful install in the end.
                I saw the Ubports robot on the device "installing updates". Then it rebooted - stuck on the Sony logo again.
                I can, however, get to Ubports recovery. Anything useful I could do there?

                1 Reply Last reply Reply Quote 0
                • B Offline
                  bennypr0fane
                  last edited by 23 Oct 2020, 19:24

                  I can, however, get to Ubports recovery (not bootlooping, it's responsive this time) :full_moon_face: . Anything useful I could try from here?
                  Btw the battery turned out to be full actually.

                  F 1 Reply Last reply 23 Oct 2020, 19:29 Reply Quote 0
                  • F Offline
                    fredldotme @bennypr0fane
                    last edited by 23 Oct 2020, 19:29

                    @bennypr0fane Do a factory reset/data wipe from within the recovery, connect the device, flash again using the installer but this time unselect the bootstrap option.

                    B 1 Reply Last reply 23 Oct 2020, 19:49 Reply Quote 0
                    • B Offline
                      bennypr0fane @fredldotme
                      last edited by bennypr0fane 23 Oct 2020, 19:49

                      @fredldotme Okay, the installer is stuck on "Rebooting" now, doing that since 5 mins. Should any button be pressed when connecting the device to the pc for the installer?

                      L 1 Reply Last reply 7 Jan 2021, 20:54 Reply Quote 0
                      • B Offline
                        bennypr0fane
                        last edited by 23 Oct 2020, 20:05

                        This post is deleted!
                        K 1 Reply Last reply 24 Oct 2020, 03:15 Reply Quote 0
                        • K Offline
                          kugiigi @bennypr0fane
                          last edited by 24 Oct 2020, 03:15

                          @bennypr0fane Not really, only when you need to manually boot into bootloader/fastboot.

                          The things you can try are already mentioned - wipe system, cache, and data partitions, factory reset in recovery. Other than those, I can't think of other things I've done when I flashed mine.

                          B 1 Reply Last reply 24 Oct 2020, 12:59 Reply Quote 0
                          • B Offline
                            bennypr0fane @kugiigi
                            last edited by 24 Oct 2020, 12:59

                            @kugiigi Is there any way to tell what exactly might be happening while Ubports installer is stuck on "Rebooting"? Any logs one might look into?
                            Also, 4 things have been mentioned to wipe from Recovery, but not everybdoy is mentioning the same ones:
                            data, system, Dalvik, cache
                            Last I tried wiping, I did all 4.
                            Was that correct?

                            1 Reply Last reply Reply Quote 0
                            • K Offline
                              kugiigi
                              last edited by 24 Oct 2020, 14:02

                              The installer itself shows that it's trying to reboot the device? Then try rebooting the device manually. Was it done pushing the installation files to the device?

                              B 1 Reply Last reply 25 Oct 2020, 12:01 Reply Quote 0
                              • B Offline
                                bennypr0fane @kugiigi
                                last edited by bennypr0fane 25 Oct 2020, 12:01

                                @kugiigi said:

                                Was it done pushing the installation files to the device?

                                Was what done?
                                I've tried rebooting it manually of course. Regular switching on goes to a boot loop like 3 or 4 times, then it ends up stuck at the Sony logo.
                                But I can get into recovery.
                                What are all the options under "Ubuntu options"?

                                • Replace Ubuntu android
                                • Install Ubuntu zip
                                • Install ubuntu preinstalled?
                                1 Reply Last reply Reply Quote 0
                                • F Offline
                                  fredldotme
                                  last edited by 25 Oct 2020, 13:59

                                  @bennypr0fane forget the Ubuntu actions, they don't help us right now.

                                  So since you have the recovery already on your phone, try a flash without the bootstrap option again. The phone should reboot to recovery again and the UBports installer should start pushing the files onto the device. If you lose connection during the push operation I would like to know the contents of some directories, using adb shell:

                                  adb shell ls -lah /cache
                                  adb shell ls -lah /cache/recovery
                                  adb shell ls -lah /data
                                  adb shell ls -lah /system

                                  B 1 Reply Last reply 25 Oct 2020, 20:38 Reply Quote 0
                                  • B Offline
                                    bennypr0fane @fredldotme
                                    last edited by bennypr0fane 25 Oct 2020, 20:38

                                    @fredldotme said:

                                    So since you have the recovery already on your phone, try a flash without the bootstrap option again.

                                    I already did that, tried it again now (also using a newer usb cable, as well as different usb port on the back of my pc).

                                    The phone should reboot to recovery again and the UBports installer should start pushing the files onto the device.

                                    It never starts doing that as long as I try to install the stable release again, which it has already downloaded previously. That only gets the installer stuck at "Rebooting".

                                    Now I downloaded your dev release, and the phone seemed to try booting a couple times, unsuccessfully, while the installer was downloading UT, and got stuck on the Sony logo again. Ubports installer displayed the "Connection lost" alert.
                                    adb shell commands are not giving any output, sadly:

                                    [ben@catull-mnj ~]$ adb shell ls -lah /cache
                                    adb: no devices/emulators found
                                    

                                    I'm wondering if there's something wrong with the phone's usb port maybe...
                                    Is it a possibility to save a UT image to an sdcard, and have recovery install it from there?

                                    1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      Pingu @fredldotme
                                      last edited by 31 Oct 2020, 22:20

                                      @fredldotme dont use Lubuntu 20.04 and snap ubports-installer - does not work. No chance tried it for 6 hours! Maybe it can be documented. Thanks for your help. You can move this answer to a better place. Thanks.

                                      UT since 2012 (also Sailfish)

                                      F 1 Reply Last reply 2 Nov 2020, 09:49 Reply Quote 0
                                      • F Offline
                                        fredldotme @Pingu
                                        last edited by 2 Nov 2020, 09:49

                                        @Pingu it would be better to make a bug report on the UBports Installer GitHub page instead.

                                        P 1 Reply Last reply 15 Nov 2020, 23:06 Reply Quote 0
                                        • P Offline
                                          Pingu @fredldotme
                                          last edited by 15 Nov 2020, 23:06

                                          @fredldotme it surely would be better, but I do not know how that works - I am just an user (since 2013). Thanks for your work.

                                          UT since 2012 (also Sailfish)

                                          1 Reply Last reply Reply Quote 0
                                          • L Offline
                                            Lakotaubp @bennypr0fane
                                            last edited by 7 Jan 2021, 20:54

                                            Please post all future discussions here thanks https://forums.ubports.com/category/82/sony-xperia-x-f5121-f5122

                                            1 Reply Last reply Reply Quote 1
                                            • KenedaK Keneda moved this topic from Devices on 19 Jan 2022, 03:01
                                            • Mario.CHM Mario.CH referenced this topic on 15 Apr 2022, 15:06
                                            • First post
                                              Last post