Sony Xperia X (suzu/F5121 & F5122)
-
I am hitting similar bug to https://github.com/ubports/ubports-installer/issues/1052 and thus I'd like to do a manual install but I am unable to find the instructions. Installing from linux box so I have all the unix tools at hand and I can read code too.
-
Basically is there a list of the commands that the UB installer is running, TBH I don't want to spend time figuring it out from the async javascript code in the electron app.
-
@wvi The issue 1052 is about "No space left on device" and your issue 1343 is about "write failed: Read-only file system".
-
@c4pp4 Yes, I realized that later but what I am asking for now is if there is a way how to avoid using this graphical installer so I have clear logs and can find what is the issue and possibly find the solution.
-
@wvi there are some steps done with fastboot, but you won't be able to install the system image itself manually that way. You might have to build
ubuntu-device-flash
yourself to do without the UBports installer.EDIT: Sources are here: https://github.com/ubports/goget-ubuntu-touch
-
This is my first attempt so sorry for dumb questions. Is there a way how to see the UB-installer logs without filing bug?
-
@fredldotme Thanks I'll try to do with the installer as it is more than just doing stuff with abd shell and copyting files around.
-
@wvi Have you made all pre-install steps from the first post?
-
@c4pp4 Yes, I did wipe the partitions as well.
-
@wvi OK just for sure, when your device is booting, do you see the message "Your device has been unlocked"?
You can try booting Ubuntu 20.04 live from flash drive and using snap ubports-installer to exclude some kind of your system environment problem. -
@c4pp4 Yes my device can't be trusted anymore Good idea I will try the Ubuntu 20 approach.
-
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.