UBports Robot Logo UBports Forum
    • 版面
    • 最新
    • 標籤
    • 熱門
    • 使用者
    • 群組
    • 搜尋
    • 註冊
    • 登入

    Sony Xperia X (suzu/F5121 & F5122)

    已排程 已置頂 已鎖定 已移動 Sony Xperia X (F5121 & F5122)
    324 貼文 63 Posters 235.7k 瀏覽 15 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
      回覆
      • 在新貼文中回覆
      登入後回覆
      此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
      • B 離線
        bennypr0fane @kugiigi
        最後由 編輯

        @kugiigi I'm worried the battery may be too empty, and that charging is failing because it can't boot. Can anyone confirm the battery isn't being charged unless the device manages to boot?

        K 1 條回覆 最後回覆 回覆 引用 0
        • K 離線
          kugiigi @bennypr0fane
          最後由 編輯

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

          B 1 條回覆 最後回覆 回覆 引用 0
          • B 離線
            bennypr0fane @kugiigi
            最後由 bennypr0fane 編輯

            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 條回覆 最後回覆 回覆 引用 0
            • B 離線
              bennypr0fane @bennypr0fane
              最後由 編輯

              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.

              fredldotmeF 1 條回覆 最後回覆 回覆 引用 0
              • fredldotmeF 離線
                fredldotme @bennypr0fane
                最後由 編輯

                @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 條回覆 最後回覆 回覆 引用 0
                • B 離線
                  bennypr0fane @fredldotme
                  最後由 編輯

                  此回覆已被刪除!
                  1 條回覆 最後回覆 回覆 引用 0
                  • B 離線
                    bennypr0fane @fredldotme
                    最後由 bennypr0fane 編輯

                    @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 條回覆 最後回覆 回覆 引用 0
                    • B 離線
                      bennypr0fane
                      最後由 編輯

                      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.

                      fredldotmeF 1 條回覆 最後回覆 回覆 引用 0
                      • fredldotmeF 離線
                        fredldotme @bennypr0fane
                        最後由 編輯

                        @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 條回覆 最後回覆 回覆 引用 0
                        • B 離線
                          bennypr0fane @fredldotme
                          最後由 bennypr0fane 編輯

                          @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?

                          LakotaubpL 1 條回覆 最後回覆 回覆 引用 0
                          • B 離線
                            bennypr0fane
                            最後由 編輯

                            此回覆已被刪除!
                            K 1 條回覆 最後回覆 回覆 引用 0
                            • K 離線
                              kugiigi @bennypr0fane
                              最後由 編輯

                              @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 條回覆 最後回覆 回覆 引用 0
                              • B 離線
                                bennypr0fane @kugiigi
                                最後由 編輯

                                @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 條回覆 最後回覆 回覆 引用 0
                                • K 離線
                                  kugiigi
                                  最後由 編輯

                                  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 條回覆 最後回覆 回覆 引用 0
                                  • B 離線
                                    bennypr0fane @kugiigi
                                    最後由 bennypr0fane 編輯

                                    @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 條回覆 最後回覆 回覆 引用 0
                                    • fredldotmeF 離線
                                      fredldotme
                                      最後由 編輯

                                      @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 條回覆 最後回覆 回覆 引用 0
                                      • B 離線
                                        bennypr0fane @fredldotme
                                        最後由 bennypr0fane 編輯

                                        @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 條回覆 最後回覆 回覆 引用 0
                                        • P 離線
                                          Pingu @fredldotme
                                          最後由 編輯

                                          @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)

                                          fredldotmeF 1 條回覆 最後回覆 回覆 引用 0
                                          • fredldotmeF 離線
                                            fredldotme @Pingu
                                            最後由 編輯

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

                                            P 1 條回覆 最後回覆 回覆 引用 0
                                            • P 離線
                                              Pingu @fredldotme
                                              最後由 編輯

                                              @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 條回覆 最後回覆 回覆 引用 0
                                              • 第一個貼文
                                                最後的貼文