Sony Xperia X (suzu/F5121 & F5122)
-
Maybe I made some progress because now my install fails on
mount -a mount:mounting /dev/block/bootdevice/by-name/system on /system failed: Invalid argument
https://paste.ubuntu.com//p/ZwZWvw7wB9/
Update:
After downloading Ubuntu 20.4 and running installer from the liveCD I got the same result. -
@wvi looks like wiping the system partition using TWRP wasn't successful. What happens when you do it manually using
mk2fs
ormkfs.ext4
? -
Hello, I'm new to this forum. Should all issues installing UBports on Xperia X go into this thread, or should I open a separate one?
-
@bennypr0fane issues can be filed as bug reports on GitHub if they are severe. I'd really like this thread to be a place about the development of the suzu port as well as small issue reports.
-
@c4pp4 it is not solved, at today there is the same problem!
-
@Giampy Yes I know
see: https://github.com/ubports/ubuntu-touch/issues/1556#issuecomment-691728879
and more detailed: https://github.com/ubports/ubuntu-touch/issues/1556#issuecomment-693120572You can add your comment but I think they don't care about it. @UniSuperBox moved it from QA to Done regardless the problem.
-
@c4pp4 I read, Dalton must wait 30 minutes before taking the test. It almost seems that the smartphone behaves like a pc with ubuntu just installed, after a while it goes into suspension.
-
I later found that it was not strictly required to wait that long to initiate the test. The device goes into suspend almost immediately on turning off the screen. The important questions are:
- Does the device wake up for receipt of messages?
- Does the device stay awake long enough for all user actions to complete after a message is received?
-
@fredldotme I've wiped it one more time, manually and after that the installation did not fail. Thanks a lot for the help.
-
This post is deleted! -
@fredldotme said in Sony Xperia X (suzu/F5121 & F5122):
Status:
Working:
- Calling
- SMS
Some incoming calls and notifications are ignored (mainly when Wi-Fi is Off). Just info for newcomers.
-
I have 1 failed attempt at installing Ubports on F5121, using the Ubports installer from a Linux desktop. I have already flashed OEM binaries and run the installer, the device already got to the boot screen (the one visible at 12:56 in this video: https://youtu.be/lA7l9rcuDiQ?t=776) after that. Now it's stuck at the SONY black-on-white splash screen when I try to charge it. I can press power+volume up until three vibrations, which makes it reboot and go to Sony splash screen again. The LED remains red (indicating it's charging, I guess) during the boot message " your device has been unlocked and can't be trusted. Your device will boot in 5 seconds." When the Sony splashscreen comes up, the LED goes out.
Is it supposed to try booting as soon as I plug in the charger? -
@bennypr0fane Try installing TWRP and wiping system, data and cache partitions. Then reinstall via the installer. I had to do this on mine as well.
-
@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?
-
@bennypr0fane It should boot into the battery charging screen. Not sure though if that still works when the OS isn't booting.
-
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)- Is the battery charging when connected to the Pc like this (switched off)?
- Would you say it's reasonably safe to try and install TWRP in this state (with battery maybe depleted)?
- If 1. is a no, will the battery charge while TWRP is running?
Oh and also, adb devices is listing no devices
-
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. -
@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. -
This post is deleted! -
@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?