English

Sailfish OS 3.0.1.11 beta4 release

sailfish
Tags: #<Tag:0x00007fefbdd61a00>

#1

Sailfish OS 3.0.1.11 beta4 release is now ready. Installation and update instructions can be found at https://wiki.merproject.org/wiki/Adaptations/libhybris/Install_SailfishOS_for_fp2. Highlights of the new release:

  • Updated to Sailfish OS 3.0.1.11
  • Based on Android 6 (18.04 release)
  • Camera improvements (requires a separate community camera app)
    • Effects (i.e. colour filters)
    • Exposure modes (including HDR)

Important notes for updating from Sailfish OS releases before 2.1.3.7 (alpha5)! Please be very careful when during update about flashing the Android system.img. During update process Android system.img needs to be flashed right after updating Sailfish OS and shutting down the device. Do not flash system.img before Sailfish OS update.

Known issues:

  • Youtube videos crashes browser when seeking
  • Camera configuration detection for secondary (front) camera sometimes fails (only during camera module change, update or installation)
    • To solve the issue remove /etc/droid-cameradetect-module-main.conf and /etc/droid-cameradetect-module-front.conf and run “systemctl restart droid-cameradetect”
    • Repeat the previous instruction until both cameras work (configuration is at /etc/dconf/db/vendor.d/jolla-camera-hw.txt and the validity of resolutions for secondary camera can be checked also manually)

:pencil2: Operating Systems for Fairphones
#2

Thank you! I’ll put SFOS on my FP again, I think. Thanks for your continous work on this port!

Could you please elaborate on the part with camera improvement? Which separate app do you refer to? Or is it just the foundation for an app which will come later?

One more question: I think that in another thread I read something about a plan of moving to an Android 7 base. Could you explain why this is necessary? The reason for my question: since Fairphone upgraded to Android 7, I experience a lot of spontaneous reboots which were gone with Android 6. From the bugtracker and from the forum it is clear that I am not the only person suffering from this issue. I am afraid that with a move to the Android 7 base these reboots might come to SFOS which would be a pity as your port is so stable and well running!


#3

The camera related changes are in the middleware level and allow using more of the features available in the Android camera drivers. The community camera app is still a very much work in progress (only photos using the main camera). Sources of the app can be found at https://github.com/piggz/harbour-advanced-camera and I have prebuilt package available at https://build.merproject.org/project/show/home:mal:testing which can be installed using the following commands:

Any help developing the app would be very much appriciated.

I have planned to move to Android base when it’s available but currently the sources for it are not yet publicly available so I cannot build it. The reason for moving to Android 7 is mainly security updates because Android 6 base is no longer maintained. Of course I will test the new base thoroughly and if there would be random crashes I would rethink using it as base for Sailfish OS.


#4

Thanks for your comprehensive answer!

Today I flashed my FP2 again with SFOS and so far it seems rock-stable, as every time you offer an update :slight_smile:

Unfortunately I can only help testing and provide logs for the camera application, as I cannot do more than some “hello world” in several languages…

I don’t know if all people are affectedby those reboots in Android 7, but if not (and if your testing device isn’t) I can offer to test and provide logs when needed for testing purposes,


#5

Hello @mal !

Could you build Sailfish on Halium-7.1 ? It was recently ported to fairphone 2 by the UBports team, as can be seen in their life porting session ! :slight_smile:
Will it be a good substitute to the Android 7 sources you’re waiting for??


#6

Sorry for the delayed answer. In linked post it says that Halium 7.1 is not ready for FP2 and Halium hasn’t really been used as base for Sailfish OS for some reason. I could of course use Lineage OS as base for FP2 port of Sailfish OS but decided originally to use the official AOSP base. There isn’t that much difference which base to use, I could test how latest supported Lineage OS works as a base, it would probably take only a couple of hours to make a test build with all features working.


#7

Thank you for your work!! Since my last google-free smartphone with OS Symbian Ana, many years ago, I am looking for a smartphone with Open Source. I want to install Sailfish on my FP2, but I am still not sure I manage. I am looking for all relevant information on the forum.


#8

According to ✏ How to install Sailfish OS alpha on the FP2 the current installation documentation can be found at
https://wiki.merproject.org/wiki/Adaptations/libhybris/Install_SailfishOS_for_fp2


#9

As mentioned in previous comment the installation instructions are in Mer wiki. The simplified version is the following:


#10

Thanks for the great effort!

Is there any chance that Sailfish OS will maybe be officially supported instead of community editions?


#11

It’s very unlikely. There were talks (see here), but it all went quiet.


#12

Hello Volker,

I do not want to bother mal because I am quite the beginner.

I reached the first step and have now Android 6.0.1 (18.04.1 release) on a brand new FP2. I installed adb and fastboot in the terminal of my Ubuntu laptop. Now I am stuck because ‘adb devices’ returns only ‘List of devices attached’ and nothing else when I link the FP2 by USB cable (choosing ‘loading mode’, not ‘data transfer mode’).

I read that I need to switch to debugging mode but I could not find how to do this on my FP2

I really want to succed myself because I find it important that not only computer nerds can use FP without g00gle.


#13

Have you tried to run fastboot resp. adb using sudo command? And your phone has to be in #dic:fastboot mode.


#14

I forgot ‘sudo’, stupid me.
The second part of your answer is the answer I was looking for. I will try again this afternoon.


#15

The adb command did as before, but ‘sudo fastboot devices’ returned ‘c2e5454f fastboot’. So I followed the process as written in the Mer Wiki:

  • Extract the files from the zip
  • Go to the folder you extracted the zip
  • Check that the device is detected with fastboot devices
  • fastboot flash modem ./BP/NON-HLOS.bin
  • Extract filesystem images from Android zip on your computer.
  • Enter fastboot mode on your phone by turning off device, when device is powered down press and hold volume down button and then plug USB cable.
  • Open a terminal on your computer and go to the folder where you extracted the file system images.
  • Check that the device is detected with fastboot devices
  • fastboot flash system system.img
  • fastboot flash recovery recovery.img
  • fastboot reboot

It seemed okay, but following the reboot (which had some hickups but managed in the end without me doing anything) it has been nearly two hours showing “android is being updated - Settings are being prepared”.
While waiting I found the Fairphone Installation guide for Open OS where the package name is the same as the one on the Mer Wiki except it has “switcher” in it: fp2-sibon-18.04.1-manual-switcher.
I switched the FP2 off now because I am thinking of trying the process stated on the Fairphone guide, but it will not stay off, it is in a loop: starting until “change is in your hands”, and starting anew until…
What do you think?


#16

I think the instructions on Mer are a bit confusing. The only file you use from FP2-gms59-1.5.1-manual.zip is NON-HLOS.bin (notice the instructions for this file are all sub-points; the instructions them jump back up a level to refer to 18.04). If I read through what you did, I get the impression you also used system.img and recovery.img from P2-gms59-1.5.1-manual.zip. If this is the case, the best way forward would be to follow mal’s comment above:

In short:

  1. Install Fairphone Open OS / Sibon using fastboot and this file: fp2-sibon-18.04.1-manual.zip. You can use the Fairphone instructions for this, as mal mentions the whole installation can be done.
  2. Unpack FP2-gms59-1.5.1-manual.zip, and flash the NON-HLOS.bin file that’s part of the extracted data via fastboot. fastboot flash modem ./BP/NON-HLOS.bin looks okay as a command, though I’m not 100% sure of the exact path.
  3. Continue from Sailfish OS installation in the instructions on Mer Wiki.

#17

After restarting, the phone stated (as in the first round) ‘optimizing x apps out of 72’, which took some time, and now it is again ‘android is being started - Settings are prepared’.

I am running out of time, I will leave the phone on for another 2 hours and then switch it off and continue at the weekend.


#18

@mal: I would be happy to test and report issues if you have a build with the latest Lineage OS as a base ready. Pretty eager to do it…


#19

sorry, I sent my reply before I saw your post.

No, I did only the one command fastboot flash modem NON-HLOS.bin from the directory with the unpacked[FP2-gms59-1.5.1-manual.zip].

What I did wrong is to do step 2 first, and only afterwords did install Fairphone OOS (step 1) because in the beginning I thought I already had that. However, to do step 1 (following finishing step 2), I started from another directory with the unpacked fp2-sibon-18.04.1-manual so I used this unpacked file for system.img and recovery.img. I have screen shots but I do not know how to put them here.
I will start the whole process again at the weekend, this time starting with step 1! Over the years I learned that with computers, you need patience and try again.
Thank you for your help up to now! I will switch my FP off now, it is still struggling to start android…


#20

I have been thinking, it seems to me that my poblem starts right when the command line ‘sudo adb devices’ and ‘… fastboot’ don’t return the FP (but only the SD-card which I put in the FP). Now I found a good thread for me (it’s in French, sorry) at: 🇫🇷 Mise à jour du FP2 vers Open Fairphone OS impossible
I will follow this up at the weekend.
I am really happy about this forum, thank you to all those who contribute!