Sailfish OS 2.1.3.7 alpha5 release

Must just be my error but for some reason can’t switch device off via UI as immediately reboots.

2 Likes

No that’s not just you:

3 Likes

It’s very strange why I have never had problems shutting down the device. Could someone (maybe @Ingo or @aspergerguy) with that issue get some logs, if /proc/last_kmsg exists I would like to see that, because that would tell whether there is some kernel crash during showdown which could cause a reboot. Otherwise output journalctl -b could be useful. Do you have WLAN, Bluetooth, GPS or some other features on when attempting the shutdown, any difference if everything is turned off?

Do you still have the old camera @mal? Reboot happens practically only with the new camera. I think Lineage guys try for several weeks already to get rid of it…

3 Likes

More info here:

1 Like

I have only the old camera modules so that could indeed be why it doesn’t reboot for me. Anyway it would be interesting to see if there is some kernel crash when the reboot happens.

3 Likes

@mal

Should have confirmed that new camera modules installed and makes no difference if all features disabled. Have a copy of /proc/last_kmsg which is 123kb, in what format do you want it attached here or emailed somewhere?

You can share the last_kmsg for example via pastebin or similar service. Or if you can send it as private message on this forum.

Here are my files (new camera modules; I don’t have the old ones)

That was with WiFi and mobile networking on, bluetooth off and location set to battery saving.
Reboot happens also if all of the above is off.

1 Like

@mal
Here is my last_kmsg file: https://pastebin.com/embed_js/wa0rJN81

Thanks @mal for this release!

I have a question: people at UBports have (partly) made the new camera modules work. As far as I know flash does not work yet and the image of the front camera is rotated by 180 degrees.
Is there a chance that your work could be of benefit for making the modules work in Ubuntu Touch?
The issue can be found here:

1 Like

Indeed ! See the bugtracker for some hints in error logs, a.o.

  • msm_cci_i2c_read: wait_for_completion_timeout
  • Unable to find class com.qti.server.power.ShutdownOem

Hope this can help you, @mal

1 Like

One thing about the reboot issue: the same FP2 with Ubuntu Touch can properly power off. Not sure if that information is of any help…

2 Likes

I have a simple question regarding the installation process:

In the instructions it says

Sailfish OS will have a battery drain, if in the past you have installed the whole Android zip of Fairphone OS >=1.6.2 or Opensource OS >= 16.08. To fix it: […]

I bought a new FP last October and never used it so far.
So clearly I never ‘in the past […] have installed the whole Android zip of [anything]’.
However, my FP2 might have shipped with Fairphone OS >=1.6.2 or Opensource OS >= 16.08.
Does that mean I need to go through the steps to fix the battery drain, or can I directly flash the system and recovery partition with Opensource OS 18.02 via fastboot and then install Sailfish on top of Android?
Thank you in advance for the clarification and @mal for all the work put into this and previous releases.

If you have a device with Android version bigger than the ones mentioned then you will need the older firmware. My suggestion is that in case of completely new Sailfish OS installation you will flash the complete Android 18.02 on the device via fastboot, then flash the modem partition from the older release mentioned in wiki. I updated the instruction a bit to tell only to flash the modem partition from the old release since the other partition can (and probably should) be updated.

Hi @mal !
I have a somehow corrupted TWRP backup of SailfishOS 2.1.0.11 that bootloops when I flash it. I changed my hardware (12MP camera) in the meantime so this could be linked…
I’m planning to install fresh the alpha5 following the instructions, anyway. But could it be possible to re-import my settings from the saved file? Like flashing one of the partitions, or manually copy and paste one folder?
I don’t have many files to save, I’m looking mainly to the configuration files for my Jolla account, e-mail settings, carddav/caldav sync, jabber chat account…

@oli.sax Are you sure you have the correct Android system.img installed for Sailfish OS 2.1.0.11 use? Sailfish OS 2.1.0.11 was still Android 5 based and should have older system.img from Fairphone Open OS 16.10 for it to work.

I think that system.img is included in the TWRP backup and thus was restored. But I can try reflashing system.img from FPOpenOS 16.10 to be sure :slight_smile:

Hey @mal i found, that it is not possible to get my phone in charging mode after the battery drained with new cameras and release 2.1.3.7. It tries to start detects it has 0% Battery and shuts down and tries again to start. is this expected? In previous releases there were a charging mode. Might this be a hint to the rebooting instead of shutdown too?

Sounds quite odd, can’t remember if that happens when battery is very empty. Can’t you get it to charging mode even if you remove the battery first and the try after reinserting it? Does it eventually charge if you just let it bootloop for a while?