Sailfish for Nokia N9 | port for n9



Rep: (472)
Sailfish for Nokia N9


Russian video review of the port Sailfish for Nokia n9

As many know, there are already several successful attempts to port Sailfish OS to the Nokia n9 device.
The first releases began to appear on the network about two or three weeks ago, there are already several builds.
The main point of the installation is to install Nemo Mobile, and install Sailfish from under it.
Every day more and more accessible installation instructions appear, the installation process is simplified ...
The Russian-speaking community is also dealing with this issue ... Soon we will have all this ...

for now ... we haveoriginal instruction with durability
It is also below the spoler (for now without links):
http://wiki.maemo.org/Sailfish- Wiki article is a work in progress, you can find helpful!

Piratepad, rzr, souran, Martin Brook, vgrade, mikecomputing, TMavica, krnlyng (liar), max83, flotron, folklore (who I don’t know of!), Trying to make sailfish happen for the n9, people jolla phones, jolla, nemo


Read all before starting! No warranty! Assumes some basic Linux knowledge.

NB: I use Debian 7.2 x64, root terminal on a virtual machine (vmware, should work fine too,https://www.virtualbox.org/). Any distro will do. I strongly recommend that you use Internet connectivity on your linux machine). For windows only, follow the guide then use Step W (thanks mikecomputing)

NB: Completely turn off the power button for ~ 8 seconds.

NB: When extracting a tarball with "tar --numeric-owner -xvf", it is probably .tar.bz2 -xvjf "

NB: Lack of jolla-xt9 means no engine and no pinyin>hanzi conversion for Chinese speakers.

Resources

Firmwares:http://skeiron.org/firmware/N9/40.2012.21.3/orhttp://mrcrab.net/nokia/Nokia_N9.htm...uctType=RM-696

openmode kernel:http://www.swagman.org/juice/ubiboot...openmode_l2fix

MOSLO kernel:http://releases.nemomobile.org/snaps...xx.armv7hl.rpm

ubiboot:http://wiki.maemo.org/Ubiboot, http://www.swagman.org/juice/ubiboot/ubiboot-02/

Souren's sailfish for n9:http://n9.araya.su/images/mic_images...0.1.10/vgrade/

Additional reading materials / sources:
http://www.who.is.free.fr/wiki/doku.php?id=n950club
http://piratepad.net/nVuyI2uxrY



Step 1 - Backup your N9
Backup your N9 (using the Nokia Suite or the phones in the utility) AND your emmc (connect you N9 in data storage mode) !!
1a - Connect your phone as you need the inbuilt utility.
1b - Close all your open applications. I would like to backup /home/.config, /home/.local and /home/.whatsup Use N9QuickTweakhttp://talk.maemo.org/showthread.php?t=80600, option H, enable SSH for root. WinSCP / Filezillahttp://winscp.net/eng/index.php https://filezilla-project.org/
1b - BACKUP YOUR BACKUPS

Step 2 - Re-flash the firmware to factory
Download firmwares from:http://skeiron.org/firmware/N9/40.2012.21.3/orhttp://mrcrab.net/nokia/Nokia_N9.htm...uctType=RM-696
2a - Make sure the handset is charged. Disconnect from all cables and turn off completely.
2b - download it for your system and install it. You want v3.12.1.http://skeiron.org/tablets-dev/maemo-dev-env-downloads/
2c - Copy your firmware files to the directory where the flash files and emmc files respectivelyhttp://wiki.maemo.org/Flashing_N9for more info if needed.

NB: It can be completely turned off by initiating a flasher command and connecting it.
"flasher -i" is the environment.
2d - fs cmd.exe / run cmd.exe as admin (win) or go to the directory where you are.
2e - Flash your firmware with the command "flasher -F main.bin -F emmc.bin -f" (no quotes)

2z - IF FLASHING FAILS (PARTITION MISMATCH, SIMLOCK ON: CANNOT FLASH UNSIGNED IMAGE, NO REPLY FROM PING ETC.) TRY THIS. I HAVE DONE IT MULTIPLE TIMES AND NOT NOTICED ANY CONSEQUENCES BUT I TAKE NO RESPONSIBILITY IF YOU PERMA-BRICK!


Completely turn off the handset.
Start flasher with the following command: "flasher -f -F main.bin --erase-user-data = secure -F emmc.bin --erase-mmc = secure" (no quotes)
It should take you time.

************************************************** **********************************

IF YOU ARE ABIT IMPATIENT (LIKE ME) FISHING THAN TURN OFF THE PHONE COMPLETELY.
GET A MESSAGE ASKING GOUT YOU TO INSTALL AN AUTHORIZED OPERATING SYSTEM.
TURN IT BACK OFF.
RUN: "flasher -F main.bin -F emmc.bin -f" (no quotes) AND IT SHOULD FLASH FINE
************************************************** **********************************

Step 3 - Give your handset freedom via openmode!
3a - Download the openmode kernel fromhttp://www.swagman.org/juice/ubiboot...openmode_l2fixand your firmware files.
3b - Flash the openmode kernel and reboot your phone with:
"flasher -a main.bin -k zImage_2.6.32.54-openmode_l2fix --flash-only = kernel -f -R" (without quotes)

Step 4 - Prepare Harmattan
4a - set up and it is fully functional.
4b - Install developer mode (it is useful later on).
4c - (Optional) Install N9QThttp://talk.maemo.org/showthread.php?t=80600, and enable option H (enable ssh for root). (Copy & paste easily)

Step 5 - Re-partition your handset
5a - Turn off your hand set. If you have not already been a linux machine / vm (you can download it on your host PC).
5b - Download the MOSLO kernel (http://releases.nemomobile.org/snaps...xx.armv7hl.rpm)

If you don’t want to download windows, download the kernel file from here:http://www.multiupload.nl/WLLK09RF96flash it using "flasher -k zImage-moslo -n initrd-moslo -l -b" (no quotes), then jump to Step W

5c - Extract the .rpm with archive manager or:
"rpm2cpio moslo - *. armv7hl.rpm | cpio -vidu" (you may need to install rpm2cpio [apt-get install rpm2cpi]). Copy directory with eminc.bin and zImage_2.6.32.54-openmode_l2fix
5d - Flash the MOSLO kernel to your phone with:
"flasher -k zImage-moslo -n initrd-moslo -l -b" (no quotes)

After flashing, it will repartition you N9 and connect it to the PC.

You can nitdroid and firefox os.

Disconnect the phone.

Step 6 Install Ubiboot and Sailfish
6a - Download ubiboot fromhttp://www.swagman.org/juice/ubiboot/ubiboot-02/(ubiboot-02_0.3.5_301013.tar as of 2013-12-08) into the directory where flasher, main.bin and emmc.bin reside.

6b - Now install the ubiboot kernel with:
"flasher -a main.bin -k zImage_2.6.32.54-ubiboot-02_301013 --flash-only = kernel -f -R"

Ubiboot to enter maintenance mode.

Partitions are "rootfs" (Harmattan root filesystem) "Alt_OS" (where nemo / sailfish lives) "x767x676x7c6" (a random string of letters +/- numbers. OS if you want and is " / home / "in Harmattan but NOT" / home / user / MyDocs ") and" Nokia N9 "(THIS is" / home / user / MyDocs "on Harmattan [USB Mass Storage Mode]).

NB: If you format it, it will get a random string of letters and numbers, like the "/ home /" directory. It is the 4.2GB file system.

6c - Go to "/ media / Nokia N9" on your PC (Harmattans Mass Storage). Make a directory called "boot". Copy "ubiboot.conf" and "ubiboot-02.menus.cpio" from the extracted ubiboot-02_310513.tar into the newly created "boot" folder.
6c Go to "/ media / rootfs" Harmattans root file system. Go to the "boot" directory (/ media / rootfs / boot). Copy "zImage_2.6.32.54-openmode_l2fix" (which we flashed earlier) into "/ media / rootfs / boot").

6d - download the image of choice (or make one using the sdk and "sailfish2-armv7hl-n950.ks", but I don’t go into that. Checkhttp://martinbrook.blogspot.co.uk/20...-been.html?m=1, https://wiki.merproject.org/wiki/Platform_SDKandhttps://github.com/martinbrook/jolla-n950-kickstartfor more info if interested.

Download Sailfish from:http://n9.araya.su/images/mic_images...0.1.10/vgrade/(vgrade-sailfish_proximity-workaround.tar.bz2) (no zypper v1.0.0.10)

Update: An image is also available fromhttp://www.mediafire.com/download/zj..._0_0_5.tar.bz2(please seehttp://talk.maemo.org/showpost.php?p...&postcount=443)- Thanks max83 This image has been pre-installed and is sailfish v1.0.0.5

6e - Extract Sailfish to "/ media / Alt_OS" on your PC with:
"time tar --numeric-owner -xvjf vgrade-sailfish_proximity-workaround.tar.bz2 -C / media / Alt_OS /"

Step W - Install Sailfish using only Windows (thanks mikecomputing)
After installing your device. Disconnect and boot into Harmattan.
Wa - Download Sailfish image of choice
Wb - In Harmattan, install developer mode if you haven't already. Connect the phone as "Mass Storage Device"
Wc - Copy vgrade-sailfish_proximity-workaround.tar.bz2 to the root of your MMC.
Wd - Disconnect the phone from the PC.
We - Launch Terminal on Harmattan (or SSH in)
devel-su
rootme #or your root pass
cd / home / user / MyDocs /
ls
# you should see all your MyDocs and vgrade-sailfish_proximity-workaround.tar.bz2

mkdir / sailfish
mount / dev / mmcblk0p4 / sailfish
time tar --numeric-owner -xvjf vgrade-sailfish_proximity-workaround.tar.bz2 -C / sailfish /
# this will take a while
# SSH access on Sailfish, starting at "mount -o bind / proc / sailfish / proc"

Please read his post:
http://talk.maemo.org/showpost.php?p...&postcount=436

Sync the disks and unmount all the filesystems:
"sync; sync; sync; umount / media / *"

(To upgrade to a new image, simply delete everything in / media / Alt_OS ("rm -frv / media / Alt_OS / *"). You will loose your data!

Disconnect your USB cable and turn off the handset completely. Turn it back on. This is where the bootmanager is available and you can download the OS 6, of which the sailfish and harmattan work.

If you do not select an OS, Harmattan will boot by default.

To tap into the Sailfish, tap the nemo icon and the tap "the latest 2.6.32" or "vmlinuz-2.6.63.20120129.1.1-n950". For Harmattan, it is "openmode + l2 fix"

Date / Time Fix

The date / time may not be set correctly in Sailfish. To fix this, boot into Harmattan and fire up terminal:

$ devel-su
# rootme # (or ur root root pass)
# date --set "2013-12-07 22:59"

Enable root ssh access on Sailfish

ZYPPER IS NOT INSTALLED ON SOURAN'S LATEST IMAGE SO IGNORE ATM, UNLESS YOU ARE USING MAX'S IMAGE!

To fix the proximity sensor (thanks to souran), you need to fix it. This is pretty easy to get (thanks to liar (krnlyng) on ​​piratepad):

Fire up a terminal Harmattan.
devel-su
cd /
mkdir sailfish
mount / dev / mmcblk0p4 / sailfish
mount -o bind / proc / sailfish / proc
mount -o bind / sys / sailfish / sys
mount -o bind / dev / sailfish / dev
/ usr / sbin / chroot / sailfish
su
passwd root
nemo #enter a root pass
nemo #confirm root pass
passwd nemo
nemo #enter pass for nemo
nemo #confirm nemo pass

# will be needed, some will use vi
# now lets enable root ssh in sailfish
#this also allows copying files to and from sailfish with winscp / filezilla

nano / etc / ssh / sshd_config
# add the following somewhere
PermitRootLogin yes
# exit: ctrl + x, y to save changes

# you can also install any additional packages such as terminal now as perhttp://www.who.is.free.fr/wiki/doku.php?id=n950clubandhttp://piratepad.net/nVuyI2uxrYe.g .:
zypper install \
jolla-alarm-ui jolla-calculator jolla-calendar jolla-clock jolla-configuration-n9 \
jolla-demo jolla-developer-mode jolla-development-tools jolla-email jolla-fileman \
jolla-mediaplayer jolla-notes jolla-rnd

exit

umount / sailfish / dev
umount / sailfish / proc
umount / sailfish / sys
umount / sailfish
exit #out of su
exit #out of chroot
reboot


Reboot you phone and enjoy ssh / terminal on your Sailfish!


Note: When in developer mode, DO NOT ENABLE FRAME RATE DISPLAY. It makes it impossible to disable it. To fix, delete everthing in /home/nemo/.gconf/*

It may be in:
/home/nemo/.gconf/desktop/lipstick-jolla-home/gconf.xml
or
/mnt/home/nemo/.gconf/desktop/gconf.xml

Proximity sensor fix

To fix the proximity sensor (thanks souran & eekkelund, must be done every boot)
In sailfish terminal:
su
nemo
echo 1>/sys/devices/platform/i2c_omap.2/i2c-2/2-0039/prox_enable

as well as machine translation:http://paste.ubuntu.com/6550303/
and my arbitrary -INSTRUCTIONS
Fresh images are: HERE
For dessert: screenshots
Attached Image
Attached Image
Attached Image


Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image




References that must be read before installation:
TMO
MaemoSU
AllNokia

Post has been editedAlexxxl - 13.12.13, 02:36



Rep: (2)
Very interesting. I follow the topic here and on Mayovorld. I have not yet decided to bet. I re-read everything, as far as I understand android applications do not work yet ?! How does it feel in general ?? Worth to put ?! Or is it better to wait for something more acceptable ??



Rep: (1)
Obviously, it’s better to wait for the normal assembly and by then there will probably be more affordable ways of flashing.



Rep: (14)
denismad, it feels incredible) the interface is beautiful and convenient. it’s unlikely that an Android application stack will ever work on our phone ...



Rep: (66)
venomcortx1, Well, if the kernel can be ported, it will most likely be an android application



Rep: (14)
katarn88, The core of sailfish os under version 3.4 was uploaded on the TMO website, in the os port branch on n9. if anyone is interested)



Rep: (2)
venomcortx1, Well, since it feels incredible to me, I think it’s worthwhile to put it, but it’s a pity that you will have to flash it again afterwards (((


Posted on 12/24/2013, 14:32:

denismad, But in general, how and what is there ?? Do any applications work ?? Sort of like an app store done?)



Rep: (14)
denismad, Why flash back? let there be 2 os, let there be an openmode kernel on the phone. only if you decide to flash - carefully read the instructions. I requested the first time and everything is fine. In principle - a sailfish can be used (calls, 3G, wi-fi, music) work. The browser works. The store works (there are few applications so far). camera and gps not working



Rep: (2)
venomcortx1, with care until no problems seem to have been observed) I think it’s impossible) that is, dual block is supported ?? how with android ??! in this case, you can try)


Posted on 12/24/2013, 14:40:

venomcortx1, the fact that there are few applications is clear so))



Rep: (14)
denismad, Yes, there is dual block. I installed according to the instructions from the site allnokia. I downloaded all the files attached there.



Rep: (2)
venomcortx1, Well, the instruction is the same everywhere)) the same person wrote)) I’ll start now))



Rep: (1)
I put the second axis of android and therefore it costs dualboot for it. In order to put sailfish on top enough to put the necessary dual boot or you need to get rid of the old one and how to get rid of it in order to avoid a meego flashing?



Rep: (2)
Pavel325400, As I understand it, it won’t work out, because putting another nucleolus then)) only sew according to the instructions))



Rep: (2)
set, everything started, a problem arose: the keyboard is not called in any way. I can not enter the same password for wai fay ... the same speaker sometimes emits some kind of ripple ...



Rep: (14)
denismad, Which version did you set?
I do not have any wheezing in p4. with the keyboard - yes, there are problems. open for example SMS, and when the keyboard comes out there - open the connection to wi-fi



Rep: (2)
venomcortx1, figured out the keyboard. wheezing no - no, it’s passing ... I don’t understand what it is ...


Posted on 12/24/2013, 20:46:


venomcortx1, worth r4



Rep: (66)
denismad, In the settings, uncheck the item "sound when you touch" and there will be no wheezing



Rep: (14)
question to the knowledgeable. when installing jolla executed only the first line of code
zypper install \
jolla-alarm-ui jolla-calculator jolla-calendar jolla-clock jolla-configuration-n9 \
jolla-demo jolla-developer-mode jolla-development-tools jolla-email jolla-fileman \
jolla-mediaplayer jolla-notes jolla-rnd
Now in the terminal from the jolla I am trying to do zypper install jolla-development-tools writes that it was not found. how to solve?



Rep: (0)
I understand correctly that the kernel firmware is zImage_2.6.32.54-openmode_l2fix
It was successful if such a message came out and the phone rebooted.

Attached images
Attached Image


Post has been editedScripach1 - 25.12.13, 21:21



Rep: (256)
You didn’t ask for anything.



Rep: (256)
Sew the core using WinflasherGUI

The instruction is intended for those who do not know how to work with the command line.

With this procedure, only the kernel is flashed, that is, absolutely no data is lost. It should be remembered that when flashing third-party kernels, the device automatically switches to OpenMode.

We will come in handy:
1) The main image of the firmware (the one with which the device is currently flashed)
2) Actually the core that we need
3) WinflasherGUI

The process itself:
1) Open the terminal, execute the command
disclaimer-cal remove View-openmode


2) Open WinflasherGUI
(a) - select the firmware image
(b) - select "Firmware for individual" images
(c) - put a point opposite the core
(d) - select the core
(d) - check the box "Restart"
(f) - flashing the device (press the button and hook the switched off phone to the cable)

Attached Image


The kernel is flashing very quickly. If successful, the log is something like this:

Attached Image


That is, only one line should be present (highlighted in red). If this line does not exist, or there are more, then you have not followed the instructions.



Post has been editedAncelad - 26.12.13, 10:57


Full version    

Help     rules

Now: 08/15/19, 09:43