UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Badunifil
    B
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 7
    • Groups 0

    Badunifil

    @Badunifil

    2
    Reputation
    1
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Badunifil Unfollow Follow

    Best posts made by Badunifil

    • RE: Sony Xperia X - Installation stuck on wiping partition

      I have solved the problem by using the UB Ports installer on a VM (Mint hosted on Devuan). Both my Devuan PC and the VM recognized the device during normal and fastboot modes with no trouble, and all I had to do was redirect the USB connection to the VM a few times as the device restarted during installation. My Xperia is now running Ubuntu Touch with zero problems.

      If I ever do this in the future, I'll avoid the Windows version of the installer completely. I've used it twice now and both times it has been more hassle than using a Linux version on a compatibility-focused distro like Mint.

      posted in Sony Xperia X (F5121 & F5122)
      B
      Badunifil

    Latest posts made by Badunifil

    • RE: Sony Xperia X - Installation stuck on wiping partition

      I have solved the problem by using the UB Ports installer on a VM (Mint hosted on Devuan). Both my Devuan PC and the VM recognized the device during normal and fastboot modes with no trouble, and all I had to do was redirect the USB connection to the VM a few times as the device restarted during installation. My Xperia is now running Ubuntu Touch with zero problems.

      If I ever do this in the future, I'll avoid the Windows version of the installer completely. I've used it twice now and both times it has been more hassle than using a Linux version on a compatibility-focused distro like Mint.

      posted in Sony Xperia X (F5121 & F5122)
      B
      Badunifil
    • RE: Sony Xperia X - Installation stuck on wiping partition

      @MrT10001
      My Win10 PC does not recognize the device when it is in fastboot mode, so I booted into TWRP and got the installer to recognize it. I began the installation, and the installer rebooted the device into fastboot mode in order to erase the partition.

      It currently seems to be stuck doing that. I will give it time so that I can be sure what is happening, but I think I may be back at square one with a system partition that won't erase.

      Alternatively, I may try setting up a Linux VM with something really compatible like Mint, and try using that to install via the command line.

      posted in Sony Xperia X (F5121 & F5122)
      B
      Badunifil
    • RE: Sony Xperia X - Installation stuck on wiping partition

      @MrT10001
      @Mario-CH
      Thanks. I was able to boot into the TWRP interface, and I followed the instructions from earlier: Wipe > Advanced > check "Data" > Repair or Change File System > Change File System > EXT4. I swear that these are the only options I chose.

      After doing this and attempting to reboot into the Android OS to get the device ready for a UT installation, it is stuck in a boot loop. All I see now is a warning screen ("Your device has been unlocked and can't be trusted"), then the SONY splash screen, then a black screen. It repeats indefinitely.

      I can still boot the device into the TWRP interface and into fastboot mode, so it's not totally scrambled, but I think I did something to the Android OS to make it unbootable.

      posted in Sony Xperia X (F5121 & F5122)
      B
      Badunifil
    • RE: Sony Xperia X - Installation stuck on wiping partition

      First of all, thank you all for your help. I would have replied sooner but I was injured near the start of June and my work has been very busy in the meantime so I have not been able to sit down and devote an afternoon to figuring this out.

      @Moem said in Sony Xperia X - Installation stuck on wiping partition:

      What you need is the TWRP recovery, that can be booted separate from any OS. It's a different thing. I know because I made the same mistake.

      Yeah. Not my smartest moment.

      @MrT10001 said in Sony Xperia X - Installation stuck on wiping partition:

      Download and install TWRP recovery for the Xperia X - here in fastboot. You have to make sure the DATA partition is formatted to EXT4 or Ubuntu Touch won't work. (In the main menu choose WIPE, then advanced, tick the DATA partition box, and choose repair or change file system and select EXT4).

      Once done, reboot to system (android) and set it up again. Then try again.

      I understand what you meant in this post now. I haven't been able to get the fastboot instructions to work on Windows, so I have moved to my Linux PC (Devuan, which is non-systemd). I have followed the instructions you linked, and the twrp.img file seems to have deployed successfully to my device.
      de24d490-c2c6-49f3-9603-e663dc571144-image.png

      However, after running these commands and holding down the Volume Up button in order to remain in fastboot mode, I'm not sure what to do next.

      • If I reboot the device via the command line, it boots to the normal Android OS (but will stay in fastboot mode with a blank screen if I hold down the Volume Up button).
      • If I unplug the device and let it boot, it does the same (even if I'm holding down the Volume Up button).

      I've read through all the links provided in this thread and I still feel like I'm missing something. Any help would be great.

      posted in Sony Xperia X (F5121 & F5122)
      B
      Badunifil
    • RE: Sony Xperia X - Installation stuck on wiping partition

      @MrT10001
      Thank you very much for the screenshots and detailed explanation. However, the app I have installed on my Xperia does not look like that. I'm sure I installed the correct app.

      Pardon the low image quality, but taking a photo with my Nexus 5 was the simplest way.

      image.jpg

      posted in Sony Xperia X (F5121 & F5122)
      B
      Badunifil
    • RE: Sony Xperia X - Installation stuck on wiping partition

      @MrT10001 said in Sony Xperia X - Installation stuck on wiping partition:

      (In the main menu choose WIPE, then advanced, tick the DATA partition box, and choose repair or change file system and select EXT4).
      Once done, reboot to system (android) and set it up again. Then try again.

      In the main menu of what? I was able to follow the steps for the Fastboot Install Method, and use the adb devices and fastboot flash recovery twrp.img commands, which seemed to succeed, but that hasn't affected the behavior of the device.

      Just to be thorough, I downloaded the TWRP app via the Play Store, but there's no "WIPE" option in there either. What does TWRP even do, anyway?

      posted in Sony Xperia X (F5121 & F5122)
      B
      Badunifil
    • Sony Xperia X - Installation stuck on wiping partition

      I have a Sony Xperia X F5121 which I am attempting to install Ubuntu Touch on. I am using the Windows installer on a standard Win10 PC. The phone is updated to Android 8.0, but I haven't updated any particular apps since I don't believe it would matter.

      I believe I have prepared the phone properly: developer mode is enabled, USB debugging is enabled, and the bootloader has been unlocked. Whenever I boot the phone normally, it tells me that it has been unlocked and cannot be trusted, then goes through the standard startup sequence and displays a warning over the OS informing me that it will reset to factory defaults. After a few minutes, the Android OS disappears and a large "POWER OFF" button appears.

      My process is as follows:

      • Run the installer as administrator on my PC.
      • Plug in the phone in normal mode.
      • Phone is recognized by installer, which gives me the standard reminder that I should enable developer mode and USB debugging and unlock the bootloader if I haven't already.
      • I select the OS to install (Ubuntu Touch), the version (16.04 Stable).
      • I check both checkboxes, one to enable wiping user data, and the other to enable flashing the bootloader.

      I proceed with the installation, and the phone reboots into bootloader mode. I know this works properly because the screen is black and the Experia's status LED shows a blue light on the far right. The installer then says it is erasing the system partition, and this is where it gets stuck. I know that erasing the partition can be slow, but I have left the phone on this step for hours and nothing has changed. The Android OS also hasn't changed or stopped behaving correctly, so I assume no or very few files actually being deleted.

      I've tried using every other combination of installer settings, but that has not caused it to behave any differently. I have tried installing onto the device when it has already been booted into the bootloader, but that gets stuck on the "erasing userdata partition" step instead.

      posted in Sony Xperia X (F5121 & F5122)
      B
      Badunifil