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

    Xperia XZ (kagura/F8331/F8332)

    Scheduled Pinned Locked Moved Sony
    20 Posts 13 Posters 5.7k Views 2 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.
      • M Offline
        Manchee1017
        last edited by Manchee1017

        This is incredible timing! Just yesterday I started looking at picking up an Xperia X to try switching to Ubuntu Touch for my daily (sorry Pinephone, but development is taking a bit too long šŸ˜• ). In an equally lucky turn of events, there are new phones of the X and XZ listed for sale, but I will have to act fast to get one. The OTA-13 update announced that it added both the X and XZ to the list of device, so how fleshed out does it feel to use? I see the issues listed are the camera, flashlight, and a wifi annoyance. Those seem completely bearable for the time being. The thread for the X lists video recording as the current issue.

        So for someone interested in either phone and has an opportunity to get either, how do you like the XZ as a device and in it's current state of development?

        1 Reply Last reply Reply Quote 0
        • M Offline
          Manchee1017
          last edited by

          @konradybcio I need your help please

          I'm trying to backup the phone's DRM keys as per your first instruction using the tool you listed, but I can't tell if it's working. I don't see any files to confirm for sure that the keys are backed up. This is what is output after running the script:

          @Ubuntu-chromebook:/backupTA-master$ ./backupTA.sh
          ./backupTA.sh: line 1: !/bin/bash: No such file or directory
          adb: error: cannot stat 'files/dirtycow64': No such file or directory
          adb: error: cannot stat 'files/run-as64': No such file or directory
          adb: error: cannot stat 'files/exploitta64': No such file or directory
          adb: error: cannot stat 'files/dumpta64': No such file or directory
          adb: error: cannot stat 'files/backupTA.sh': No such file or directory
          chmod: /data/local/tmp/*: No such file or directory
          /system/bin/sh: /data/local/tmp/backupTA.sh: not found
          adb: error: remote object '/data/local/tmp/TA_F8331_CB512BMU1V_20201011-0524.img' does not exist
          TA Sucessfully pulled to TA_F8331_CB512BMU1V_20201011-0524.img
          

          It seems I'm missing something key. The OS is 6.0.1, I have the toggles for OEM unlock and USB debugging turned on. Is the device supposed to be rooted to back it up? What do you recommend to use for rooting?

          1 Reply Last reply Reply Quote 0
          • M Offline
            Manchee1017
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • S Offline
              Sousapro
              last edited by

              This port has been pretty great for an initial port. I'd be glad to help if you ever need a hand with testing.

              1 Reply Last reply Reply Quote 0
              • N Offline
                NeoTheThird
                last edited by NeoTheThird

                The installer can instruct the user to manually download binaries and handle the flashing for them starting in version 0.5.6-beta. Someone already made a PR here to flash the OEM binary for suzu, could someone who has a device for testing send me a PR to enable this for kagura as well? Thanks šŸ™‚

                M 2 Replies Last reply Reply Quote 0
                • M Offline
                  Manchee1017 @NeoTheThird
                  last edited by

                  @NeoTheThird I could probably help on this matter, but I will say that I don't quite know what this all means.
                  Are these binaries the DRM keys?
                  What are the prerequisites for testing? I've already installed UT and I did not manage to make a backup of the stock DRM keys beforehand.
                  What will these binaries do for the phone?
                  And of course what sort of risks am I looking at? (because while this phone isn't my DD yet, I do want it to be soon. I don't want to brick it)

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    joe @Manchee1017
                    last edited by

                    @Manchee1017 said in Xperia XZ (kagura/F8331/F8332):

                    @NeoTheThird I could probably help on this matter, but I will say that I don't quite know what this all means.
                    Are these binaries the DRM keys?
                    What are the prerequisites for testing? I've already installed UT and I did not manage to make a backup of the stock DRM keys beforehand.
                    What will these binaries do for the phone?
                    And of course what sort of risks am I looking at? (because while this phone isn't my DD yet, I do want it to be soon. I don't want to brick it)

                    Same for me 🐶

                    1 Reply Last reply Reply Quote 0
                    • U Offline
                      UniSuperBox
                      last edited by

                      @Manchee1017, your DRM keys are gone forever. The OEM binary/image contains proprietary drivers and firmware that Ubuntu Touch needs to work correctly. It does not contain DRM keys.

                      The OEM image must match what Ubuntu Touch is expecting or else it won't work properly.

                      If your phone doesn't work after flashing the OEM image, you can flash a different one from fastboot.

                      M 1 Reply Last reply Reply Quote 0
                      • M Offline
                        Manchee1017 @UniSuperBox
                        last edited by

                        @UniSuperBox Yeah, I knew they would be. I tried so hard to back them up but I just could not get anything to work.

                        For the binaries, are there instructions on how to do it? Is it as easy as using the 0.5.6 launcher to reinstall UT?

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          Manchee1017 @NeoTheThird
                          last edited by

                          @neothethird Hi Neo, I got around to trying to flash the binaries today using 0.7.4 beta. I didn't get any instruction for downloading binaries, it just installed UT and finished.

                          1 Reply Last reply Reply Quote -1
                          • N Offline
                            nanich87
                            last edited by

                            I installed Ubuntu Touch on my Sony Xperia XZ. It's very good OS. Libertine works fine. UI is quite responsive. I tried to connect external monitor through the USB port, but it didn't work. Charging indicator is not working while screen is on. If you need testers I could help.

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              aleem
                              last edited by

                              I installed the UT on F8332. UT works fine except for the camera and Wifi bug. Big thanks to Devs.

                              How to get anbox work?
                              I followed what @c4pp4 mentioned in other thread.
                              sudo mount -o rw,remount /
                              sudo apt update
                              sudo apt install anbox-ubuntu-touch
                              anbox-tool install
                              sudo apt install android-tools-adb
                              sudo mount -o ro,remount /
                              cd /home/phablet/Downloads
                              wget https://f-droid.org/FDroid.apk
                              adb install FDroid.apk


                              Everything is pretty much was already installed. It fails when I run anbox-tool install. says
                              kagura not supported yet !!!

                              any suggestions?

                              KenedaK c4pp4C 2 Replies Last reply Reply Quote 0
                              • KenedaK Offline
                                Keneda @aleem
                                last edited by

                                @aleem
                                Kernel has to be patched in order to run properly anbox.
                                Maybe your issue related to that.

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

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

                                  @aleem

                                  Unsupported devices:

                                  OTA-15:

                                  sudo mount -o rw,remount /
                                  sudo apt update && sudo apt install -y anbox-ubuntu-touch android-tools-adb
                                  sudo sync
                                  sudo mount -o ro,remount /
                                  mkdir ~/anbox-data
                                  wget -q --show-progress http://cdimage.ubports.com/anbox-images/android-armhf-64binder.img -O ~/anbox-data/android.img
                                  touch ~/anbox-data/.enable
                                  sudo start anbox-container
                                  start anbox-session
                                  

                                  OTA-16:

                                  mkdir ~/anbox-data
                                  wget -q --show-progress http://cdimage.ubports.com/anbox-images/android-armhf-64binder.img -O ~/anbox-data/android.img
                                  touch ~/anbox-data/.enable
                                  sudo start anbox-container
                                  start anbox-session
                                  
                                  A 1 Reply Last reply Reply Quote 1
                                  • A Offline
                                    aleem @c4pp4
                                    last edited by

                                    @c4pp4 Thanks. Although I did not see this post, I followed the same process. It worked, this would be helpful for the community.

                                    1 Reply Last reply Reply Quote 0
                                    • E Offline
                                      elmx
                                      last edited by elmx

                                      UBports Installer 0.8.7-beta (AppImage)
                                      Environment: openSUSE Tumbleweed 20210319 linux 5.11.6-1-default x64 NodeJS v12.18.3
                                      Device: kagura

                                      What I did.

                                      1- First try . Enable OEM lock and Debug.
                                      Phone didnt boot.
                                      2-Second try. phone is on the flashmode and light is blue.
                                      ubports app. flashed firmware again then ubport "installation update"
                                      appears on screen after that I unplugged usb cable. No need install rest of it.
                                      3- İt has worked but just incoming call sound doesnt work. when you got a call no ringtone sound just vibration.

                                      Any solution for ringtone sound!

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

                                        @elmx HI, You have now posted this question twice in two different thread for different devices. Can you please remove the one that does not apply directly to your device. UT ports are very device specific what works on one model will not work on another. Thanks

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

                                          ubports installer 0.8.9-beta win

                                          I flashed device following all instructions But on flash finished can't boot. If usb cable connected device bootloop on bootloader. If disconnect usb cable device loads to bootloader once and then turns off. OS can't be started.

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

                                            @skynet UPD: After another failure I install TWRP recovery and after reboot UBPorts started!

                                            1 Reply Last reply Reply Quote 0
                                            • KenedaK Keneda moved this topic from Devices on
                                            • First post
                                              Last post