
Not so long ago, Jolla
began selling its new smartphone in Finland. As you know, official support for N9 / N950 is not expected, but the community with maemo.org has already ported and created a
wiki – page with a detailed manual. That's what I took as a basis for installation. Everything was done from under Ubuntu 64 bit, but any debian – based distribution kit is fine. It will also take a bit of free time and patience.
1) We make a full backup of the system, documents, contacts and everything that seems necessary. Disable the pin – code request on the sim card and the security security code on the phone itself. Make sure the battery is at least 90% charged. We are aware that in case of erroneous actions or disconnection of the USB cable during the firmware, you can get a completely faulty phone that will be difficult to restore at home.
2) Install the flasher
from here . There is a version for Windows, but I do not recommend it, because at a certain stage you will not be able to install the Ubiboot – loader. At least, it is desirable to have at hand at least a virtual machine with Linux.
')
3) You need to look at the factory product code, written on the smartphone's SIM card tray, and download
the clean factory firmware you need from Meego Harmattan right here. (In my case, the factory product code is 059J228, which means the version of the firmware RM – 696 NDT MEA1 MEA2 BLACK 64GB). There will be two files in the archive: DFL61_HARMATTAN_40.2012.21–3_PR_LEGACY_006 – OEM1–958_ARM.bin, 528DA068_DFL61_HARMATTAN_40.2012.13–7.MEA_EMMC_MEA.bin. Unpack and rename them to main.bin and emmc.bin for convenience.
4) Start the flasher in the ID mode of the connected
flasher –i
device and connect the switched off phone with a USB cable. If the flasher considered the ID of the smartphone, then everything is in order and you can start the firmware process. Run it with the
flasher –F main.bin –F emmc.bin –f
If you get the Error claiming USB interface: Device or resource busy error, add the lines blacklist cdc_phonet, blacklist phonet, blacklist cdc_acm to /etc/modprobe.d/modprobe. conf
5) After successful firmware, launch Meego, set regional settings, time and date, turn on developer mode. It is at this stage that I strongly advise you to run the command
disclaimer–cal remove View–openmode
in the smartphone’s terminal. If you don’t do this, each time you turn on the phone, you will have to watch an annoying disclaimer for 10 seconds informing you that Modified system software and lost Nokia warranty.
6) Install the
OpenMode kernel . This time we start the flasher with the parameters
flasher –a main.bin –k zImage_2.6.32.54–openmode_l2fix ––flash–only=kernel –f –R
7) Run Meego again and make sure that the disclaimer does not appear when loading. I also recommend installing
N9 / 50 QuickTweak right away . This is absolutely not necessary, but the tweak will allow you to activate ssh root access and install bash, wget and other small amenities. Also, after installing the OpenMode kernel, Meego stops remembering account passwords. We cure it by typing in the terminal of the smartphone:
rm –rf /home/user/.accounts
rm –rf /home/user/.aegis
mkdir –p /root/ssl
cp –Rf /etc/ssl/certs/* /root/ssl
rm –rf /etc/aegisfs.d
sync
/sbin/reboot
And after loading:
cp –Rf /root/ssl/* /etc/ssl/certs
8) Install the
MOSLO kernel from nemomobile.org. We expand the rpm – package and as usual
flasher –k zImage–moslo –n initrd–moslo –l –b
Now a new section Alt_OS has appeared on the flash memory of the smartphone, which should be mounted in / media / Alt_OS on the PC.
9) Install Ubiboot. The option is optional, but it is a convenient bootloader with a GUI that will allow you to switch between SailfishOS and Meego Harmattan when loading. For these purposes, there is already a
pre-configured version , which I used. But if you plan to run FirefoxOS and / or Nitroid, install a clean version. Download the archive to the folder with the flasher and unpack the
tar –xvf ubiboot–02_0.3.5_131213_SFOS.tar
Connect the phone in Storage Mode and copy the extracted ubiboot_035_sailfishos.tar to the MyDocs directory. Now go to the Meego terminal, get root rights, unpack.
devel–su
cd /home/user/MyDocs/
tar –xvf ubiboot_035_sailfishos.tar –C /
Turn off the smartphone, run the
sudo flasher –a main.bin –k zImage_2.6.32.54–ubiboot–02_301013 ––flash–only=kernel –f –R
from the desktop terminal with
sudo flasher –a main.bin –k zImage_2.6.32.54–ubiboot–02_301013 ––flash–only=kernel –f –R
Bootloader installed.
10) Finally, proceed directly to the installation of Sailfish. There are several ready-made images,
one of which I used. If you have a desire and time to experiment, then having studied the documentation
of the MerSDK project , you can prepare your own. Rename the downloaded image to sailfish.tar.bz2, unpack it into the mounted / media / Alt_OS directory on the desktop.
tar ––numeric–owner –xvjf sailfish.tar.bz2 –C /media/Alt_OS/
This is enough to launch SailfishOS, but there are a couple of things that you should do right away, including root – access via ssh
nano /media/Alt_OS/etc/ssh/sshd_config
uncomment
PermitRootLogin yes
and the procedure that allows you to change the root – password after the download, edit the file
nano /media/Alt_OS/etc/shadow
root:$1$00Z6Bfjc$vlIKUOMHIavIABL1gNuy6/:16049:0:99999:7:::
Resulting to
root::16049:0:99999:7:::
Do not forget to set the root password in the SailfishOS terminal after launch.
In general, the installation is somewhat complicated, and there are some bugs, for example, I could not yet launch the camera and install the cards. But I would like to hope that in the near future the Finnish smartphone will appear on the domestic market. Moreover, Jolla
began to cooperate with Yandex.