-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[suzu] Error: fastboot:flash: Error: flashing failed: Error: {"error":{"killed":false,"code":1,"signal":null,"cmd":"$PKG/linux/fastboot flash boot \"$CACHE/suzu/firmware/halium-unlocked-recovery_suzu.img\""},"stdout":"","stderr":"fastboot: error: Couldn't parse partition size '0x'."} #1377
Comments
I get a similar error on my OPO (bacon)
Versions 0.4.19 and the new 0.4.20 both give me this error. |
Indeed, with 0.4.18 I don't have this issue, however during the "sending files" step I have a "read-only file system" error. |
I strongly suspect something is wrong with the bundled fastboot because I was getting this error until I replaced the bundled copy with the copy from my distribution. See #1360 for steps I took to get it working (note I installed the latest preview deb package not the AppImage). |
I get a similar message with device dora and 0.4.20beta. |
Same here:
I followed retro486's recommendation and let ubports-installer use the system fastboot instead of the bundled one. As I installed using .deb package, I executed the following commands: After that, the ubports-installer can flash as usual. |
Hey, sorry about this. Could you try again with this prerelease version of the installer? This one is capable of flashing raw images, so the |
UBports Installer 0.5.2-beta did not work for me and my dora-device. I tried it both with fastboot ticked and unticked |
@FlorianPaintner ah, sorry, i did not see that someone commented for dora as well. Try again now with 0.5.2-beta, i updated the config accordingly. |
I uninstalled version 0.4.20-beta and 0.5.2-beta. I installed 0.5.2-beta. Flashing seemed to work but device (dora) boots up when installer switches to "Downloading". That causes the installed operating system (Telenor Mobile NO, 41.3.A.2.149) to corrupt. I followed the procedure described by germede above and tried to install in fastboot mode -> same behaviour So I flashed android again (Telenor Mobile NO, 41.3.A.2.149) and tried to install in fastboot mode -> same behaviour Flashed android again and tried to install with fastboot option unticked. Device does not reboot (from android). So brought it to flashmode manually -> nothing happend; brought it to fastboot mode manually -> device did a normal bootup (without getting corrupt) |
Ok: wiped entire device using twrp. flashed halium-unlocked-recovery_dora.img using fastboot. Tried to install via 0.5.2-beta. Device got i the reboot loop when using fastboot. Unticked using fastboot -> device rebooted to recocery. Installer sent files (at least that was reported), installer reported success. When device (dora) rebooted ubports-logo was shown (as always when booting after system update). But device does not boot properly (stucks with sony-logo). |
@FlorianPaintner Sorry to hear that. I opened #1420 to further track this issue on dora, as these problems are caused by the device-specific configs, not the installer itself, and this issue was originally dedicated to suzu. Could you do me a solid and attach a log over there? To the suzu users in here: Has anyone had any success with it? |
Good morning :) after applying the workaround of using system fastboot instead of embedded one, I followed the "official" guide https://forums.ubports.com/topic/3229/sony-xperia-x-suzu-f5121-f5122 in order to install Ubuntu Touch my Xperia X (suzu). Have a nice day! |
yea, obviously it was a similar failure. I did not flash the zip-file but flashed Telenor Mobile NO, 41.3.A.2.149 with FlashTool (Xperia Flashing Tool, Version 0.9.26.0) Thanks a lot!!! |
@FlorianPaintner @germede I'm trying to install Ubuntu on my X Performance and I'm trying to follow along here but I'm having issues. I was also having the reboot issue in the installer where when it tries to reboot to recovery, the phone skips recovery and tries booting the OS. This is where I currently am:
I'm not sure where to go from here. If I boot the phone in bootloader mode (blue LED) and try the installer, I get no difference and the reboot fails. If I boot the phone in recovery mode (green LED) and try the installer, it can't communicate with the phone. I feel like I'm close but I don't know how to get this over the line. Was hoping you guys could give me some advice on how to replicate your successes.
Second update - Actual success! I went back to bootloader, wiped everything, and started fresh using UBports installer 4.2.0-beta and the instructions given earlier in the thread. Worked perfectly! It looks like downgrading the installer is a reliable workaround for the X Performance for now. Think I'll drop that in the forum. |
Hey everyone, a lot going on here, thanks for the feedback to all :) Since i don't have any of the xperias, i'll need y'all's help to properly fix this. First things first, downgrading the installer is not a good idea. It might be a temporary fix, but it can never become part of any recommendations given to users. The installer is still considered beta, it is a moving target and API stability is not guaranteed. Until we reach a 1.0 release, only the latest release is considered supported at any given time. The good news is: A lot can actually be fixed properly given correct feedback and testing, so let's try and make that happen! :) Let's start with some questions.
|
Personally I haven't tried since the fastboot issue was fixed.
It is plain fastboot but you have to accept an agreement to get to the download. I think Jolla "solved" this by requiring users to go get it themselves and put it in an expected location.
No, there's is also FlashTool which I prefer but I don't know its license or if it supports automation. It is available on all platforms: http://www.flashtool.net/index.php |
Alright! Manual downloads are included in 0.5.6-beta. If someone wants to add it to the config files where it's needed, i'd be very appreciative. See the notes for developers on the release for usage documentation. |
Alright, i updated the config a little furhter, this should be okay for now: ubports/installer-configs#42 We'll track #1479 separately. If there's more issues, let's re-open new bugs to not mix too much. |
Automatically generated error report
UBports Installer Version: 0.4.20-beta
Device: suzu
OS to install: Ubuntu Touch
Settings: {"channel":"16.04/community/fredldotme/devel","wipe":true,"bootstrap":true}
Package: deb
Operating System: Debian 10 buster x64
NodeJS version: v12.0.0
Error log: https://paste.ubuntu.com//p/cMyy8b36GH/
The text was updated successfully, but these errors were encountered: