Author Topic: Cannot boot UBPorts / SailfishOS  (Read 2655 times)

silniazpieciu

  • Newbie
  • *
  • Posts: 3
    • View Profile
Cannot boot UBPorts / SailfishOS
« on: April 12, 2021, 07:47:29 pm »
Hi,

I've been trying to run UBPorts as per Gemian Wiki instructions: https://github.com/gemian/gemian/wiki/UBPorts. Moved the rootfs image to /ubuntu.img in Gemian and dd'd the boot image over to one of the empty boot partitions.
However, when trying to boot, I'm stuck at the Planet logo. Sometimes the phone would reboot after a few seconds, but most of the time it just sits at the logo endlessly.

I also tried to run the preview version of Sailfish OS: https://www.oesf.org/forum/index.php?topic=36401.0. Unpacked rootfs to /.stowaways/sailfishos, dd'd the boot image... and same story - stuck on Planet logo.

I've also tried a factory reset using https://support.planetcom.co.uk/download/cosmo-android-v23.zip. Then repartitioned, installed Gemian and repeated the steps above, but to no avail.

Is there something I'm missing? Has anyone else had this issue?

Thanks

sven1999

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: Cannot boot UBPorts / SailfishOS
« Reply #1 on: April 13, 2021, 02:09:27 am »
Which UBPorts version marked 'flashable' did you use? I have tried only 2 and both worked: 2021-02-17 and 2021-01-22
Cosmo Communicator (UbuntuTouch), OnePlus 3T (UbuntuTouch OTA 18)

silniazpieciu

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Cannot boot UBPorts / SailfishOS
« Reply #2 on: April 13, 2021, 12:21:35 pm »
I have tried 2021-04-12 and 2021-03-27.

Edit: 2021-02-17 is not available for download anymore.

sven1999

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: Cannot boot UBPorts / SailfishOS
« Reply #3 on: April 13, 2021, 04:03:00 pm »
I can share a copy for 2021-02-17, but I doubt that this will improve your situation.
Cosmo Communicator (UbuntuTouch), OnePlus 3T (UbuntuTouch OTA 18)

mibry

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Re: Cannot boot UBPorts / SailfishOS
« Reply #4 on: April 14, 2021, 12:10:04 am »
A new Ubports build is available.

sven1999

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: Cannot boot UBPorts / SailfishOS
« Reply #5 on: April 14, 2021, 01:58:48 am »
A new Ubports build is available.
But the latest one labelled 'flashable' is still the one mentioned by silniazpieciu.
Cosmo Communicator (UbuntuTouch), OnePlus 3T (UbuntuTouch OTA 18)

mibry

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Re: Cannot boot UBPorts / SailfishOS
« Reply #6 on: April 14, 2021, 05:32:43 am »
I used this one:

https://gitlab.com/ubports/community-ports/android9/planet-cosmocom/planet-cosmocom/-/pipelines/284408889

I used the rootfs.img from the flashable and the boot.img from the build and worked fine for more.

Regards

Mibry

silniazpieciu

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Cannot boot UBPorts / SailfishOS
« Reply #7 on: April 15, 2021, 09:00:55 pm »
So, as sven1999 mentioned, different versions did not help at all.

I flashed the files from V22toV19.zip from https://www.oesf.org/forum/index.php?topic=36448.msg297113#msg297113 and flashed them using SP Flash Tool (so flashed only the files present in the scatter txt).
Following that, I installed Gemian and... was able to boot UBPorts.

I don't understand what happened, but given that there was no debug output whatsoever when it was hanging, there is not much I can do to find that out. I made a full backup using TWRP before the above operation though, so if I'm in the mood for some more experiments, I could reflash that and see what happens.

Thanks for your help, everyone!