Editing Sailfish

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 42: Line 42:
==Firmwares==
==Firmwares==
-
Obtain Nokia N9 firmwares from [http://skeiron.org/firmware/N9/40.2012.21.3/ skeiron.org] (inaccessable) or [http://mrcrab.net/nokia/Nokia_N9.html?productID=4823499691&productType=RM-696 mrcrab.net] (inaccessable) or [https://markom.lt/n9/firmwares/ markom.lt] or [https://localhost.one/archive/2013/12/09/firmware-backup-nokia-n9-rm-696-version-402012213 localhost.one]
+
Obtain Nokia N9 firmwares from [http://skeiron.org/firmware/N9/40.2012.21.3/ skeiron.org] or [http://mrcrab.net/nokia/Nokia_N9.html?productID=4823499691&productType=RM-696 mrcrab.net]
==Flasher==
==Flasher==
-
This enables you to Flash your Nokia N9. Obtain v3.12.1 from [http://skeiron.org/tablets-dev/maemo-dev-env-downloads/ skeiron.org]. (Source does not seem to work, mirror: [https://coderus.openrepos.net/flasher/ coderus.openrepos.net])
+
This enables you to Flash your Nokia N9. Obtain v3.12.1 from [http://skeiron.org/tablets-dev/maemo-dev-env-downloads/ skeiron.org].
==Kernels==
==Kernels==
Line 51: Line 51:
Obtain the MOSLO kernel from: [http://releases.nemomobile.org/snapshots/repos/hw/ti/omap3/n950-n9/latest/armv7hl/armv7hl/moslo-0.0.13.2-1.5.Nemo.Adaptation.N9xx.armv7hl.rpm nemomobile.org] or
Obtain the MOSLO kernel from: [http://releases.nemomobile.org/snapshots/repos/hw/ti/omap3/n950-n9/latest/armv7hl/armv7hl/moslo-0.0.13.2-1.5.Nemo.Adaptation.N9xx.armv7hl.rpm nemomobile.org] or
-
[http://www.multiupload.nl/WLLK09RF96 multiupload.nl] (zip file; Windows only users use this file) (file unavailable: mirror [https://github.com/ruedigergad/nemo-n9-blobs/blob/master/zImage-kernel-moslo-n9 here]
+
[http://www.multiupload.nl/WLLK09RF96 multiupload.nl] (zip file; Windows only users use this file)
==Ubiboot==
==Ubiboot==
Line 99: Line 99:
==Step 2 - Re-flash your Nokia N9 to factory firmware==
==Step 2 - Re-flash your Nokia N9 to factory firmware==
*Note: Flashing can permanently damage or brick your Nokia N9. Do so at your own risk.  
*Note: Flashing can permanently damage or brick your Nokia N9. Do so at your own risk.  
-
*If you have not already, download the Flasher for your system and install it. You want v3.12.1 from [http://skeiron.org/tablets-dev/maemo-dev-env-downloads/ skeiron.org] (unavailable) or [https://coderus.openrepos.net/flasher/ coderus.openrepos.net]
+
*If you have not already, download the Flasher for your system and install it. You want v3.12.1 from [http://skeiron.org/tablets-dev/maemo-dev-env-downloads/ here]
-
*Download the firmware you wish to use Harmattan with from [http://skeiron.org/firmware/N9/40.2012.21.3/ skeiron.org] or [http://mrcrab.net/nokia/Nokia_N9.html?productID=4823499691&productType=RM-696 mrcrab.net]. '''*** Both download sources are unavailable and this manual is therefore unusable in its current shape. ***''' Your factory product code is printed on your SIM tray e.g. 059J245. You want the two files containing "DFL _61" e.g. A6D5F456_'''DFL61_HARMATTAN_40.2012.21-3_PR_LEGACY'''_005-OEM1-958_ARM.bin and 59BEC3BC_'''DFL61_HARMATTAN_40.2012.13-7'''.SEAP_'''EMMC'''_SEAP.bin.  
+
*Download the firmware you wish to use Harmattan with from [http://skeiron.org/firmware/N9/40.2012.21.3/ skeiron.org] or [http://mrcrab.net/nokia/Nokia_N9.html?productID=4823499691&productType=RM-696 mrcrab.net]. Your factory product code is printed on your SIM tray e.g. 059J245. You want the two files containing "DFL _61" e.g. A6D5F456_'''DFL61_HARMATTAN_40.2012.21-3_PR_LEGACY'''_005-OEM1-958_ARM.bin and 59BEC3BC_'''DFL61_HARMATTAN_40.2012.13-7'''.SEAP_'''EMMC'''_SEAP.bin.  
*Rename your firmware to "main.bin" and "emmc.bin" respectively and copy them to the directory where the flasher program is installed (e.g. '''"C:\Program Files\Nokia\Flasher"'''). Check the [[Flashing_N9|Maemo Community Wiki Nokia N9 Flashing Guide]] for further information.
*Rename your firmware to "main.bin" and "emmc.bin" respectively and copy them to the directory where the flasher program is installed (e.g. '''"C:\Program Files\Nokia\Flasher"'''). Check the [[Flashing_N9|Maemo Community Wiki Nokia N9 Flashing Guide]] for further information.
*Ensure your handset is fully charged. Disconnect from all cables from it and turn off.
*Ensure your handset is fully charged. Disconnect from all cables from it and turn off.
Line 125: Line 125:
==Step 3 - Flash the OpenMode!==
==Step 3 - Flash the OpenMode!==
 +
*(Optional) Remove the modified kernel warning before installing OpenMode.
 +
**Boot up Harmattan
 +
**Enable developer mode
 +
**Open terminal and type<br>
 +
devel-su
 +
rootme # root's password
 +
disclaimer-cal remove View-openmode
-
'''TIP''': The sequence of flashing commands below combines the usual flashing steps found in the [http://wiki.maemo.org/Flashing_N9 N9 Flashing Wiki], plus actual flashing of the Open-Mode Kernel so that upon first boot, the device will already be in "Open-Mode". This is called Back-to-Back Closedmode/Openmode flashing. If you follow this style of flashing the device, you will no longer need to delete some folders (.accounts/, ./aegis, and ./activesync) for the device to store passwords correctly. The additional benefits of the Back-to-Back flashing is that you get rid of a lot of unstability in the device caused by some parts still being accessed with closed-mode aegis keys.
+
*Download the OpenMode kernel from [http://www.swagman.org/juice/ubiboot/other/zImage_2.6.32.54-openmode_l2fix swagman.org] and place it in the same directory as flasher and your firmware files.  
-
 
+
*Flash the OpenMode kernel and reboot your phone with: <br><pre>flasher -a main.bin -k zImage_2.6.32.54-openmode_l2fix --flash-only=kernel -f -R</pre>
-
'''TIP''': If you want to be rid of the "Scary Warranty Warning", which a device displays when booting in Open Mode you have to remove that '''Before entering open mode'''.
+
-
 
+
-
*(Optional) Remove the modified kernel warning before installing OpenMode.
+
-
- **Boot up Harmattan<br>
+
-
- **Enable developer mode<br>
+
-
- **Open terminal and type<br>
+
-
<pre>disclaimer-cal remove View-openmode</pre>
+
-
Be careful, type command as regular user, not root!
+
-
 
+
-
If you have troubles with flashing Ubiboot kernel read following, if not go to step 4. No need to reflash/zeroize device at this moment.
+
-
 
+
-
 
+
-
 
+
-
Flash your device with rootfs, omit the parameter "-R" (which means "reboot")
+
-
 
+
-
sudo flasher -F <yourmainfirmware.bin> -f
+
-
 
+
-
or
+
-
 
+
-
sudo flasher -F <yourmainfirmware.bin> -F <youremmc.bin> -f
+
-
 
+
-
or "Zeroize Method" of flashing, which "wipes" user data and EMMC. Note that this command flashes the eMMC twice and takes many hours to complete the process. You will see a notification/warning of eMMC "unnecessarily being flashed twice") in the Terminal when flashing via this method.
+
-
 
+
-
sudo flasher -f -F <yourmainfirmware.bin> --erase-user-data=secure -F <youremmc.bin> --erase-mmc=secure
+
-
 
+
-
Next, take care to directly flash the open mode kernel (do NOT boot up, nor pull USB cable, do not wait too long) with
+
-
 
+
-
sudo flasher -a <yourmainfirmware.bin> -k zImage_2.6.32.54-openmode_l2fix --flash-only=kernel -f -R
+
-
 
+
-
(All credits to [http://maemo.org/profile/view/rainisto jonni/rainisto])
+
-
 
+
-
See http://talk.maemo.org/showpost.php?p=1412084&postcount=1556 for more info.
+
==Step 4 - Prepare Harmattan==
==Step 4 - Prepare Harmattan==
Line 175: Line 150:
*Download the MOSLO kernel from [http://releases.nemomobile.org/snapshots/repos/hw/ti/omap3/n950-n9/latest/armv7hl/armv7hl/moslo-0.0.13.2-1.5.Nemo.Adaptation.N9xx.armv7hl.rpm nemomobile.org] or [http://www.multiupload.nl/WLLK09RF96 multiupload.nl]. Windows users must download from multiupload.nl as it is a .zip file. Extract the files using "Archive Manager" or an unzipping utility and copy them to where flasher and your firmware files are.
*Download the MOSLO kernel from [http://releases.nemomobile.org/snapshots/repos/hw/ti/omap3/n950-n9/latest/armv7hl/armv7hl/moslo-0.0.13.2-1.5.Nemo.Adaptation.N9xx.armv7hl.rpm nemomobile.org] or [http://www.multiupload.nl/WLLK09RF96 multiupload.nl]. Windows users must download from multiupload.nl as it is a .zip file. Extract the files using "Archive Manager" or an unzipping utility and copy them to where flasher and your firmware files are.
-
* Extract the MOSLO kernel RPM package. It contains a usr/share/moslo directory, which contains the zImage-moslo and initrd-moslo files you need in the next step. (ArchLinux users can use rpmextract.sh from the rpmextract package)
 
*Flash the MOSLO kernel using:<br>
*Flash the MOSLO kernel using:<br>
**<pre>flasher -k zImage-moslo -n initrd-moslo -l -b</pre>
**<pre>flasher -k zImage-moslo -n initrd-moslo -l -b</pre>
-
** Do not remove the usb cable after flashing, MOSLO kernel will boot automatically and repartition your handset. This process will be shown on the screen of your phone.
+
**Allow MOSLO to repartition your handset.  
*If you are a Linux user, MOSLO will now connect the "'''Alt_OS'''" partition to your PC.  
*If you are a Linux user, MOSLO will now connect the "'''Alt_OS'''" partition to your PC.  
Line 367: Line 341:
Now, go to an empty line in the file and type in the following:
Now, go to an empty line in the file and type in the following:
-
PermitRootLogin yes
+
PermitRootLogin yes
Again, save and exit the file ('''CTRL+X''', '''Y''' to save).
Again, save and exit the file ('''CTRL+X''', '''Y''' to save).
Line 397: Line 371:
==Developer Mode frame rate issue==
==Developer Mode frame rate issue==
-
When in developer mode, do not enable "Display Framerate". It causes random colour drawings on the screen, making it impossible to disable without editing a configuration file.
+
When in developer mode, do not enable "Display Framerate". It causes random colour drawings on the screen, making it impossible to disable without editing a configuration file. To fix (credits to [http://talk.maemo.org/member.php?u=66860 liar]), SSH into your handset and type:
-
 
+
-
To fix open meego terminal, gain root privileges (devel-su or sudo) and execute:
+
-
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
+
-
gconftool-2 -u /desktop/jolla/silica_framerate
+
-
exit
+
-
umount /sailfish/dev
+
-
umount /sailfish/proc
+
-
umount /sailfish/sys
+
-
umount /sailfish
+
-
 
+
-
And you can close terminal and reboot to sailfish
+
-
 
+
-
---
+
-
 
+
-
Alternative (credits to [http://talk.maemo.org/member.php?u=66860 liar]), SSH into your handset and type:
+
  nano /home/nemo/.gconf/desktop/jolla/%gconf.xml
  nano /home/nemo/.gconf/desktop/jolla/%gconf.xml
Line 516: Line 470:
This will completely format your device, including its EMMC therefore '''backup before you flash'''!
This will completely format your device, including its EMMC therefore '''backup before you flash'''!
-
 
-
[[Category:Mer]]
 
-
[[Category:Operating system]]
 

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)