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 hexa-boot the device between Harmattan/Nitdroid/Nemo/Firefox/Ubuntu/Sailfish 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 and ssh to the device in maintanance mode, to do any desired repair operations. You can tranfer backup archives to / from the device via sftp
== Prerequisites ==
== Prerequisites ==
Line 80: Line 80:
# '''[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/ubiboot-02_0.3.5_301013.tar''' or '''http://juiceme.cloud-7.de/ubiboot/ubiboot-02/ubiboot-02_0.3.5_301013.tar''': this is the latest ubiboot archive (v.0.3.5) 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 7zip application). This compressed file contains 3 files and a checksum file.
## '''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.
## '''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.
## '''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-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.
-
## '''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).
+
## '''zImage_2.6.32.54-ubiboot-02_301013''': 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).
Line 93: Line 93:
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.
Line 111: Line 111:
==== FirefoxOS Files ====
==== FirefoxOS Files ====
-
'''https://disk.yandex.com/d/RYVu63jxewBk3w'''
+
Find the latest version at '''http://romaxa.info/b2g/b2g_n9_droid_hal_fs.tar.gz'''
==== SailfishOS Files ====
==== SailfishOS Files ====
-
Find the latest versions at '''http://n9.araya.su/images/mic_images/'''
+
Find the latest versions at '''http://araya.su/sailfish/sailfish_n9_0.0.2.tar.bz2'''
 +
 
 +
 
 +
 
 +
 
 +
=== Using command lines ===
 +
 
 +
If you have no idea what are those lines, then skip this chapter and do using the GUI as explained later
 +
 
 +
you need to install wget (ie: from RzR shared repo)
 +
 
 +
    sudo flasher-3.12 -a ${bin_file} -k "zImage_2.6.32.54-openmode_l2fix" --flash-only=kernel -f -R
 +
 
 +
    ssh user@tel # devel-su # /sbin/halt
 +
 
 +
  ssh user@tel
 +
 
 +
    mkdir -p  '/home/user/MyDocs/boot'
 +
    wget http://www.swagman.org/juice/ubiboot/ubiboot-02/ubiboot-02_040613.tar | tar xf -C '/home/user/MyDocs/boot' -
 +
 
 +
  md5sum /home/user/MyDocs/boot/*
 +
  #5176490dc2184bb5869824c29b1be244  /home/user/MyDocs/boot/ubiboot-02.menus.cpio
 +
  #a1fcf98f77fbd38ef5ad456aee7cc235  /home/user/MyDocs/boot/ubiboot.conf
 +
 
 +
 
 +
    devel-su # gain root
 +
 
 +
  cd /boot
 +
    wget -c http://www.swagman.org/juice/ubiboot/other/zImage_2.6.32.54-openmode_l2fix
 +
    wget -c http://maemo.cloud-7.de/HARM/N9/1.3/openmode-kernel/zImage-2.6.32.54-dfl61-20121301
 +
    wget -c http://www.swagman.org/juice/ubiboot/ubiboot-02/zImage_2.6.32.54-ubiboot-02_040613
 +
    wget -c http://downloads.nitdroid.com/e-yes/n9/ubiboot/zImage -O 'zImage_e-yes_nitdroid+l2fix'
 +
    wget -c http://downloads.nitdroid.com/e-yes/n9/zImage.pr13
 +
 
 +
 
 +
  md5sum /boot/* | sort
 +
  # 22114bd3cbaa88ee8c49c022f53080a1  /boot/zImage_e-yes_nitdroid+l2fix
 +
  # 35da7f3dc5218be835487d6ec6b9b71e  /boot/zImage-2.6.32.54-dfl61-20121301
 +
  # 3f354a2b48a0b571ca32d6082391108a  /boot/zImage.pr13
 +
  # a4d9c7ad4a7721b1aac3130d530644a4  /boot/zImage_2.6.32.54-ubiboot-02_040613
 +
  # b64bc24b96faf6763f5e403eb5c7f528  /boot/zImage_2.6.32.54-openmode_l2fix
 +
 
 +
  wget -O- http://www.swagman.org/juice/ubiboot/other/preinits.tar  | tar xfv - -C /
 +
  md5sum /sbin/preinit_harmattan /sbin/preinit_nitdroid
 +
  # 659af796bb8e33977abbfdabd92c11b0  /sbin/preinit_harmattan
 +
  # 2e28b1905ebdc3feb1062a4cb940e25c  /sbin/preinit_nitdroid
 +
 
 +
# devel-su
 +
 
 +
  mv  /home/nitdroid /home/nitdroid.tmp
 +
  mkdir -p /home/nitdroid
 +
  wget -O- http://downloads.nitdroid.com/e-yes/n9/nitdroid_n9_jellybean_alpha5.tar.bz2  | tar xfj - -C /home/nitdroid
 +
  echo $?
 +
 
 +
  wget -O- http://downloads.nitdroid.com/e-yes/n9/apps2sd_fix_alpha5.tar.bz2  | tar xfj - -C /home/nitdroid
 +
  echo $?
 +
 
 +
Later :
 +
 
 +
    # http://releases.nemomobile.org/snapshots/images/0.20130411.1.NEMO.2013-04-26.1/nemo-armv7hl-n950/nemo-armv7hl-n950-0.20130411.1.NEMO.2013-04-26.1.tar.bz2
 +
    # wget -c http://releases.nemomobile.org/releases/0.20130620.0.1/images/nemo-armv7hl-n950/nemo-armv7hl-n950-0.20130620.0.1.tar.bz2
 +
    # wget -c 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
== Prepare the Device ==
== Prepare the Device ==
Line 124: Line 185:
# 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 205:
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 211:
  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 165: Line 227:
  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)'''
Line 181: Line 243:
  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)'''
  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)'''
+
  tar xvzf b2g_n9_droid_hal_fs.tar.gz -C /home/firefox_os '''(extracts the FirefoxOS image to /home/nitdroid)'''
== 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 quadru-boot system with Harmattan, NITDroid, FirefoxOS, 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 233: Line 293:
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_301013 --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 304:
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: