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 | + | [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 | + | # 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 | + | 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" | + | '''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". |
- | + | ||
- | + | ||
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). | ||
- | # " | + | # "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- | + | # '''[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). |
- | + | # '''[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.conf | |
- | + | #* ubiboot-02.menus.cpio | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
==== 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/ | ||
- | # '''[ | + | # '''[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. |
- | # '''[ | + | # '''[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. |
- | # '''[ | + | # '''[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). |
- | # '''[ | + | # '''[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/ | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
== 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 | + | === Install and Prepare Filebox and Filebox Root === |
- | # Install | + | # Install Filebox from Nokia Store on your device. |
- | # Install [http:// | + | # 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 | + | # 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 | + | === 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 | + | # 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 | |
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 | ||
- | |||
/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 (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 | + | === 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/ | + | 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)''' | ||
- | |||
- | |||
== Install Nemo Mobile OS == | == Install Nemo Mobile OS == | ||
- | + | {{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 | + | |
}} | }} | ||
Line 203: | Line 180: | ||
* zImage-moslo | * zImage-moslo | ||
- | + | Extract those files and place them in the same directory as the Flasher application. | |
- | |||
[[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) | + | # 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 | + | # 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/ | ||
- | + | '''MS Windows users:''' you can install [http://www.cygwin.com/ cygwin] in order to run the "tar" command. Cygwin allows you to use Linux commands in MS Windows. Here is a good tutorial for installing Cygwin in MS Windows and setting it up so that you can use Linux commands in MS Windows's Command Prompt (a.k.a. "DOS Box") - [http://eyouthbuzz.com/solution-how-to-run-unix-or-linux-commands-in-windows-using-cygwin/ click here] | |
+ | Note that it may no longer be required to type "sudo" before the command in this case. | ||
+ | |||
+ | 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 212: | ||
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- | + | 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 223: | ||
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 | + | '''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.