Editing Ubiboot

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 1: Line 1:
== Introduction ==
== Introduction ==
-
[http://www.swagman.org/juice/ubiboot/ Ubiboot] is a boot manager for N9(50) devices. Using the example configuration it is fairly easy to hexa-boot the device between Harmattan/NITdroid/Nemo/Firefox/Leste/Sailfish Operating Systems, and change kernels at will.
+
[http://www.swagman.org/juice/ubiboot/ Ubiboot] is a boot manager for N9(50) devices. Using the example configuration it is fairly easy to triple-boot the device between Harmattan/Nitdroid/Nemo Operating Systems, and change kernels at will.
Ubiboot is mainly aimed at developers and advanced users, so be warned. The procedures in this guide require understanding of the structure of an *nix filesystem and knowledge to work on a shell prompt (i.e. Terminal/Command Line).
Ubiboot is mainly aimed at developers and advanced users, so be warned. The procedures in this guide require understanding of the structure of an *nix filesystem and knowledge to work on a shell prompt (i.e. Terminal/Command Line).
Line 11: Line 11:
# You will not need to flash the device to install and test a new kernel, just copying the kernel and modules to the device is enough.
# You will not need to flash the device to install and test a new kernel, just copying the kernel and modules to the device is enough.
# You have integrated repair/maintanance mode on the device, where you can export all partitions for backup/restore to a PC automatically.
# You have integrated repair/maintanance mode on the device, where you can export all partitions for backup/restore to a PC automatically.
-
# You can telnet and ssh to the device in maintanance mode, to do any desired repair operations. You can transfer backup archives to / from the device via sftp
+
# You can telnet to the device in maintanance mode, to do any desired repair operations.
== Prerequisites ==
== Prerequisites ==
-
To ensure that most of your efforts are focused on actual Ubiboot installation/setting up of a Hex Boot system, please make sure to fulfill the following prerequisites:
+
To ensure that most of your efforts are focused on actual Ubiboot installation/setting up of a Triple Boot system, please make sure to fulfill the following prerequisites:
=== Flash the device (for a fresh start/clean state) ===
=== Flash the device (for a fresh start/clean state) ===
Line 24: Line 24:
}}
}}
-
'''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.
+
'''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". If you follow this style of flashing the device, you will no longer need to delete some folders (.accounts/, ./aegis, and ./activesync) as well as no longer needing to issue the command for disabling the "Scary Warranty Warning".
-
 
+
-
'''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'''.
+
Flash your device with rootfs, omit the parameter "-R" (which means "reboot")
Flash your device with rootfs, omit the parameter "-R" (which means "reboot")
Line 67: Line 65:
# In MS Windows, the “zImage_2.6.32.54-openmode_l2fix” file needs to be in the same location as the Flasher Application, FIASCO, and eMMC images. Usually you would have installed the Flasher Application to C:\Program Files\Nokia\Flasher.
# In MS Windows, the “zImage_2.6.32.54-openmode_l2fix” file needs to be in the same location as the Flasher Application, FIASCO, and eMMC images. Usually you would have installed the Flasher Application to C:\Program Files\Nokia\Flasher.
# For Linux users, usual “best practice” is to save the FIASCO, eMMC, and whatever Kernels at the main directory (/home/yourusername).
# For Linux users, usual “best practice” is to save the FIASCO, eMMC, and whatever Kernels at the main directory (/home/yourusername).
-
# "Device Lock Request" should be disabled when you are using Open-Mode.
+
# "PIN Code Request" should be disabled when you are using Open-Mode.
-
 
+
=== Download Needed Files ===
=== Download Needed Files ===
-
 
==== Ubiboot Files ====
==== Ubiboot Files ====
Line 80: Line 76:
# '''[http://www.swagman.org/juice/ubiboot/other/zImage_2.6.32.54-openmode_l2fix zImage_2.6.32.54-openmode_l2fix]:''' this is used for flashing your device to “Open-Mode” (Windows users: save this in the same location as your flasher application and files...usually C:\Program Files\Nokia\Flasher).
# '''[http://www.swagman.org/juice/ubiboot/other/zImage_2.6.32.54-openmode_l2fix zImage_2.6.32.54-openmode_l2fix]:''' this is used for flashing your device to “Open-Mode” (Windows users: save this in the same location as your flasher application and files...usually C:\Program Files\Nokia\Flasher).
# '''[http://maemo.cloud-7.de/HARM/N9/1.3/openmode-kernel/zImage-2.6.32.54-dfl61-20121301 zImage-2.6.32.54-dfl61-20121301] from http://maemo.cloud-7.de/HARM/N9/1.3/openmode-kernel/:''' this is the “default” or “plain Open-Mode” kernel. Including this to your ubiboot-02 setup is optional.
# '''[http://maemo.cloud-7.de/HARM/N9/1.3/openmode-kernel/zImage-2.6.32.54-dfl61-20121301 zImage-2.6.32.54-dfl61-20121301] from http://maemo.cloud-7.de/HARM/N9/1.3/openmode-kernel/:''' this is the “default” or “plain Open-Mode” kernel. Including this to your ubiboot-02 setup is optional.
-
# '''http://www.swagman.org/juice/ubiboot/ubiboot-02/ubiboot-02_0.3.9_230318.tar''': this is the latest ubiboot archive (v.0.3.9) that contains the files needed for Ubiboot. TAR file is a compressed file, like ZIP. After downloading, extract the contents of this file (Windows users: use 7-zip). This compressed file contains 3 files and a checksum file.
+
# '''[http://www.swagman.org/juice/ubiboot/ubiboot-02/zImage_2.6.32.54-ubiboot-02_040613 zImage_2.6.32.54-ubiboot-02_040613]:''' this is used for flashing ubiboot to your device (Windows users: save this in the same location as your flasher application and files, usually C:\Program Files\Nokia\Flasher).
-
## '''ubiboot.conf''' this is the configuration file that contains all the changeable options and tunables for your boot, including the list of bootable OS'es and kernels. You need to copy this into MyDocs/boot/ directory of your device.
+
# '''[http://www.swagman.org/juice/ubiboot/ubiboot-02/ubiboot-02_040613.tar ubiboot-02_040613.tar]:''' this is a compressed file, like Zip. After downloading, extract the contents of this file (Windows users: use 7zip application). This compressed file contains 2 files that you will need to extract and copy to the “/home/user/MyDocs/boot” folder of your device (you should create the boot folder inside MyDocs before):
-
## '''ubiboot-02.menus.cpio''': this is the kernel extension file which contains the graphical menu system presented to user on boot. You need to copy this into MyDocs/boot/ directory of your device.
+
#* ubiboot.conf
-
## '''zImage_2.6.32.54-ubiboot-02_23032018''': This is the ubiboot kernel that you need to flash to your device. (Windows users: save this in the same location as your flasher application and files, usually C:\Program Files\Nokia\Flasher).
+
#* ubiboot-02.menus.cpio
-
 
+
-
 
+
-
You should create the boot folder inside MyDocs before copying the ubiboot.conf and ubiboot-02.menus.cpio to the device.
+
-
 
+
==== NITDroid Files ====
==== NITDroid Files ====
Line 93: Line 85:
Find the latest versions at http://downloads.nitdroid.com/e-yes/n9/  
Find the latest versions at http://downloads.nitdroid.com/e-yes/n9/  
-
# '''[https://archive.org/download/NitdroidNokiaN9/nitdroid_n9_jellybean_alpha5.tar.bz2 nitdroid_n9_jellybean_alpha5.tar.bz2]:''' latest “Jelly Bean” version available as of this writing.
+
# '''[http://downloads.nitdroid.com/e-yes/n9/nitdroid_n9_jellybean_alpha5.tar.bz2 nitdroid_n9_jellybean_alpha5.tar.bz2]:''' latest “Jelly Bean” version available as of this writing.
-
# '''[https://archive.org/download/NokiaN9NITdroid/apps2sd_fix_alpha5.tar.bz2 apps2sd_fix_alpha5.tar.bz2]:''' this fix allow apps to install into the SD Card.
+
# '''[http://downloads.nitdroid.com/e-yes/n9/apps2sd_fix_alpha5.tar.bz2 apps2sd_fix_alpha5.tar.bz2]:''' this fix allow apps to install into the SD Card.
-
# '''[https://archive.org/download/NokiaN9NITdroid/zImage_e-yes_nitdroid+l2fix zImage_e-yes_nitdroid+l2fix]:''' ('''recommended''') this is the “new version” of zImage.pr13, which is tailored for use with ubiboot.
+
# '''[http://downloads.nitdroid.com/e-yes/n9/ubiboot/zImage zImage]:''' ('''recommended''') this is the “new version” of zImage.pr13, which is tailored for use with ubiboot. '''IMPORTANT:''' Rename this to “zImage_e-yes_nitdroid+l2fix” (without the quotes).
-
# '''[https://archive.org/download/NokiaN9NITdroid/zImage.pr13 zImage.pr13]:''' ('''not recommended''') before Ubiboot was published, this was the latest zImage being used for dual-booting or multi-booting NITDroid.
+
# '''[http://downloads.nitdroid.com/e-yes/n9/zImage.pr13 zImage.pr13]:''' ('''not recommended''') before Ubiboot was published, this was the latest zImage being used for dual-booting or multi-booting NITDroid.
-
 
+
==== Nemo Files ====
==== Nemo Files ====
Line 107: Line 98:
  wget -r -l1 -nd --no-parent -Amoslo-0.*.rpm http://releases.nemomobile.org/snapshots/repos/hw/ti/omap3/n950-n9/latest/armv7hl/armv7hl/
  wget -r -l1 -nd --no-parent -Amoslo-0.*.rpm http://releases.nemomobile.org/snapshots/repos/hw/ti/omap3/n950-n9/latest/armv7hl/armv7hl/
-
 
-
 
-
==== FirefoxOS Files ====
 
-
 
-
'''https://disk.yandex.com/d/RYVu63jxewBk3w'''
 
-
 
-
 
-
==== SailfishOS Files ====
 
-
 
-
Find the latest versions at '''http://n9.araya.su/images/mic_images/'''
 
== Prepare the Device ==
== Prepare the Device ==
Line 124: Line 105:
# Enable “Developer Mode” (Setitngs → Security → Developer mode)...your device will restart. Upon restart, you will now see Terminal being available for use.
# Enable “Developer Mode” (Setitngs → Security → Developer mode)...your device will restart. Upon restart, you will now see Terminal being available for use.
-
=== Install and Prepare FileCase and FileCase Root ===
+
=== Install and Prepare Filebox and Filebox Root ===
-
# Install [http://wunderwungiel.pl/MeeGo/Repository/Applications/FileCase%20v0.2.0.deb FileCase]
+
# Install Filebox from Nokia Store on your device.
-
# Install [http://wunderwungiel.pl/MeeGo/Repository/Applications/N9%20QTweak%20v9.8.8.deb N9QTweak]. Upon installation, run N9QTweak and enable “Root FileCase” (as of the latest version, this is under [http://wiki.maemo.org/N9QTweak#Tweak_H:_Enable_ROOT-SSH_Access_.26_Root_Filebox].
+
# Install [http://wiki.maemo.org/N9QTweak N9 Quick Tweak]. Upon installation, run N9 Quick Tweak and enable “Root Filebox” (as of the latest version, this is under [http://wiki.maemo.org/N9QTweak#Tweak_H:_Enable_ROOT-SSH_Access_.26_Root_Filebox Tweak H].
-
# You should now have FileCase Root. Open FileCase Root and navigate to “MyDocs” (usually at first use of FileCase, you are already at “MyDocs”) and create a new folder called “boot” (without the quotes).
+
# You should now have Filebox Root. Open Filebox Root and navigate to “MyDocs” (usually at first use of Filebox, you are already at “MyDocs”) and create a new folder called “boot” (without the quotes).
# In the “Settings” (the gear icon at the lower-right), enable the following:
# In the “Settings” (the gear icon at the lower-right), enable the following:
#* Show root filesystem
#* Show root filesystem
#* Show hidden filesystem
#* Show hidden filesystem
 +
#* Show thumbnails
-
=== Moving files using FileCase Root ===
+
=== Moving files using Filebox Root ===
This section guides you on where to move/copy the files that were downloaded in the [http://wiki.maemo.org/index.php?title=Ubiboot&action=submit#Download_Needed_Files Download Needed Files] section above.
This section guides you on where to move/copy the files that were downloaded in the [http://wiki.maemo.org/index.php?title=Ubiboot&action=submit#Download_Needed_Files Download Needed Files] section above.
Line 143: Line 125:
Next is to move the "zImage..." files.
Next is to move the "zImage..." files.
-
# Go up three (3) levels by pressing the “up” arrow (found at the lower-left of FileCase Root) . You should be at the “root” folder (you can confirm this when you see that the blue banner at the top of FileCase Root shows only a forward-slash “/”).
+
# Go up three (3) levels by pressing the “up” arrow (found at the lower-left of Filebox Root) . You should be at the “root” folder (you can confirm this when you see that the blue banner at the top of Filebox Root shows only a forward-slash “/”).
# Find the “/boot” folder...we are looking for the "/boot" under root directory, '''not the “/home/user/MyDocs/boot” folder (i.e. that we created inside “MyDocs”)''' and go inside that folder.
# Find the “/boot” folder...we are looking for the "/boot" under root directory, '''not the “/home/user/MyDocs/boot” folder (i.e. that we created inside “MyDocs”)''' and go inside that folder.
# Paste the three (or four) "zImage..." files:
# Paste the three (or four) "zImage..." files:
Line 149: Line 131:
  zImage_2.6.32.54-openmode_l2fix
  zImage_2.6.32.54-openmode_l2fix
  zImage.pr13
  zImage.pr13
-
  zImage_e-yes_nitdroid+l2fix
+
  zImage
  zImage-2.6.32.54-dfl61-20121301 '''(Optional)'''
  zImage-2.6.32.54-dfl61-20121301 '''(Optional)'''
Line 158: Line 140:
  nitdroid_n9_jellybean_alpha5.tar.bz2
  nitdroid_n9_jellybean_alpha5.tar.bz2
  apps2sd_fix_alpha5.tar.bz2
  apps2sd_fix_alpha5.tar.bz2
-
b2g_n9_droid_hal_fs.tar.gz
 
/home/user/MyDocs/boot should contain:
/home/user/MyDocs/boot should contain:
  ubiboot.conf
  ubiboot.conf
Line 165: Line 146:
  zImage_2.6.32.54-openmode_l2fix
  zImage_2.6.32.54-openmode_l2fix
  zImage.pr13
  zImage.pr13
-
  zImage_e-yes_nitdroid+l2fix
+
  zImage (which by now, has been renamed to '''“zImage_e-yes_nitdroid+l2fix”''', without the quotes)
  zImage-2.6.32.54-dfl61-20121301 '''(Optional)'''
  zImage-2.6.32.54-dfl61-20121301 '''(Optional)'''
-
=== Extract preinits.tar, the NITDroid and the FirefoxOS files ===
+
=== Extract preinits.tar and the NITDroid files ===
'''NOTE:''' Terminal should still be open at this point.
'''NOTE:''' Terminal should still be open at this point.
Line 175: Line 156:
  devel-su '''(default password is "rootme", without quotes)'''
  devel-su '''(default password is "rootme", without quotes)'''
-
  mkdir /home/nitdroid '''(creates the “nitdroid” directory under the /home directory)'''
+
  mkdir /home/nitroid '''(creates the “nitdroid” directory under the /home directory)'''
  cd /home/user/MyDocs '''(navigates to the directory where the NITDroid image is located)'''
  cd /home/user/MyDocs '''(navigates to the directory where the NITDroid image is located)'''
  tar -xvf preinits.tar -C / '''(extracts preinits to /sbin directory of the device)'''
  tar -xvf preinits.tar -C / '''(extracts preinits to /sbin directory of the device)'''
  tar xjvf nitdroid_n9_jellybean_alpha5.tar.bz2 -C /home/nitdroid '''(extracts the NITDroid image to /home/nitdroid)'''
  tar xjvf nitdroid_n9_jellybean_alpha5.tar.bz2 -C /home/nitdroid '''(extracts the NITDroid image to /home/nitdroid)'''
  tar xjvf apps2sd_fix_alpha5.tar.bz2 -C /home/nitdroid '''(extracts the Apps2SD fix to /home/nitdroid)'''
  tar xjvf apps2sd_fix_alpha5.tar.bz2 -C /home/nitdroid '''(extracts the Apps2SD fix to /home/nitdroid)'''
-
mkdir /home/firefox_os '''(creates the “firefox_os” directory under the /home directory)'''
 
-
tar xvzf b2g_n9_droid_hal_fs.tar.gz -C /home/firefox_os '''(extracts the FirefoxOS image to /home/firefox_os)'''
 
== Install Nemo Mobile OS ==
== Install Nemo Mobile OS ==
-
{{ambox|text=Many users reported that this procedure breaks partitions on Nokia N9, mostly in 16GB versions. Better don't proceed, unless you know what you're doing..}}
+
{{ambox|text=At this point, it is highly recommended that you are using a Linux-based Operating System (Ubuntu will work fine). It is still okay to continue using MS Windows, however in order to use the "maintenance mode" feature of Ubiboot, such as viewing the contents of partitions via a File Manager you will need to install a 3rd party application that allows you to view the contents of Linux-based Filesystems. '''Note that for installing Nemo, this guide focuses on using Linux to ensure conformity of a default, fool-proof procedure of a triple-boot system with Harmattan, NITDroid, and Nemo.'''
-
 
+
-
{{ambox|text=At this point, it is highly recommended that you are using a Linux-based Operating System (Ubuntu will work fine). It is still okay to continue using MS Windows, however in order to use the "maintenance mode" feature of Ubiboot, such as viewing the contents of partitions via a File Manager you will need to install a 3rd party application that allows you to view the contents of Linux-based Filesystems. '''Note that for installing Nemo, this guide focuses on using Linux to ensure conformity of a default, fool-proof procedure of a quadru-boot system with Harmattan, NITDroid, FirefoxOS, and Nemo.'''
+
}}
}}
Line 197: Line 174:
Alternative: for the "wget" command above, you may download the MOSLO directly as I have mentioned in the “[http://wiki.maemo.org/Ubiboot#Nemo_Files Download Needed Files]” section above. Then you may proceed with the second and third commands.
Alternative: for the "wget" command above, you may download the MOSLO directly as I have mentioned in the “[http://wiki.maemo.org/Ubiboot#Nemo_Files Download Needed Files]” section above. Then you may proceed with the second and third commands.
-
 
-
'''MS Windows users:''' you can install 7-Zip and use that to go inside the '''moslo-0.0.13.2-1.5.Nemo.Adaptation.N9xx.armv7hl.rpm''' file. Keep going one directory deeper until you find two files:
 
-
 
-
* initrd-moslo
 
-
* zImage-moslo
 
-
 
-
Next, extract those files and place them in the same directory as the Flasher application. Once done, the command will be now modified as follows:
 
-
 
-
flasher.exe -k zImage-moslo -n initrd-moslo -l -b
 
[[Image:13060003.jpg|500px|]]
[[Image:13060003.jpg|500px|]]
# The Terminal will give you a message that it is waiting for a suitable USB device. Make sure your device is turned off and plug it to your computer via the USB cable. The flashing procedure should finish in a few seconds.
# The Terminal will give you a message that it is waiting for a suitable USB device. Make sure your device is turned off and plug it to your computer via the USB cable. The flashing procedure should finish in a few seconds.
-
# Keep the device plugged. What happens next is that the N9 is being repartitioned for Nemo (on the device, you will see some green text/writing on the screen; just wait for it to finish) , you'll see the led blinking for 10min or so.
+
# Keep the device plugged. What happens next is that the N9 is being repartitioned for Nemo (on the device, you will see some green text/writing on the screen; just wait for it to finish).
# You will also notice that the File Manager of your Linux Distribution will open and will show a folder named “Alt_OS”. This is the newly-created partition.
# You will also notice that the File Manager of your Linux Distribution will open and will show a folder named “Alt_OS”. This is the newly-created partition.
-
# Next, we will extract the Nemo image into the newly-created partition. Enter this command in the Terminal (for Linux only):
+
# Next, we will extract the Nemo image into the newly-created partition. Enter this command in the Terminal:
  sudo tar --numeric-owner -xf nemo-handset-armv7hl-n950-*.tar.bz2 -C /media/Alt_OS/
  sudo tar --numeric-owner -xf nemo-handset-armv7hl-n950-*.tar.bz2 -C /media/Alt_OS/
Now, unplug the device from the USB Cable. The screen should tell you to "push Volume Up" to boot into Harmattan, or "push Volume Down" to boot into Nemo.
Now, unplug the device from the USB Cable. The screen should tell you to "push Volume Up" to boot into Harmattan, or "push Volume Down" to boot into Nemo.
-
 
'''TIPS:'''
'''TIPS:'''
Line 233: Line 200:
Flash the ubiboot-02 Kernel with the command below. Replace <yourmainfirmware.bin> with the filename of your N9 FIASCO image if you have renamed it differently.
Flash the ubiboot-02 Kernel with the command below. Replace <yourmainfirmware.bin> with the filename of your N9 FIASCO image if you have renamed it differently.
-
  sudo flasher -a <yourmainfirmware.bin> -k zImage_2.6.32.54-ubiboot-02_23032018 --flash-only=kernel -f -R
+
  sudo flasher -a <yourmainfirmware.bin> -k zImage_2.6.32.54-ubiboot-02_040613 --flash-only=kernel -f -R
Once the device reboots, keep the USB cable plugged in to enter “maintenance mode”. You will notice that the File Manager of your Linux Distribution will open and will mount/show all the partitions:
Once the device reboots, keep the USB cable plugged in to enter “maintenance mode”. You will notice that the File Manager of your Linux Distribution will open and will mount/show all the partitions:
Line 244: Line 211:
Double-check that the files we have moved earlier are in their correct places. Once confirmed, you can "eject" all the partitions from your File Manager. Unplug the USB Cable and the device will restart. When it restarts, you should now see the Ubiboot menu.
Double-check that the files we have moved earlier are in their correct places. Once confirmed, you can "eject" all the partitions from your File Manager. Unplug the USB Cable and the device will restart. When it restarts, you should now see the Ubiboot menu.
-
'''Congratulations, you now have Ubiboot completely set up with a Quatro-Boot configuration of Harmattan, NITDroid, Firefox OS and Nemo!'''
+
'''Congratulations, you now have Ubiboot completely set up with a Triple-Boot configuration of Harmattan, NITDroid, and Nemo!'''
== Known Issues ==
== Known Issues ==

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)

Templates used on this page: