Reply
Thread Tools
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#1111
Originally Posted by Shadwblade2652 View Post
I have the sailfish version (made only for dualbooting with sfos), and I want to uninstall it and change it so I can boot into Nitdroid or Firefox OS.

Help needed
Well, what you need is the 6-boot-icon version of the CPIO and a new ubiboot.conf.
You can download a default set from here, for example.
The tarfile includes also the kernel but you do not need that as you already have it flashed on your device.
  • 1. extract the files from the archive and copy the ubiboot-02.menus.cpio to your MyDocs/boot/
  • 2. edit the provided ubiboot.conf so that you have a working configuration and copy it to your MyDocs/boot/
    Note that in your current (SF only) conf you have only entries for Harmattan (G_OS1_*) and Sailfish (G_OS4_*)
    In your new you need to move the sections of those to your G_OS2_* and G_OS6_* because the placement of the icons determines the configuration section that is used
    Then fix the remaining G_OS* entries to your liking.
 
Posts: 206 | Thanked: 117 times | Joined on Nov 2013 @ CA, USA
#1112
Originally Posted by juiceme View Post
Well, what you need is the 6-boot-icon version of the CPIO and a new ubiboot.conf.
You can download a default set from here, for example.
The tarfile includes also the kernel but you do not need that as you already have it flashed on your device.
  • 1. extract the files from the archive and copy the ubiboot-02.menus.cpio to your MyDocs/boot/
  • 2. edit the provided ubiboot.conf so that you have a working configuration and copy it to your MyDocs/boot/
    Note that in your current (SF only) conf you have only entries for Harmattan (G_OS1_*) and Sailfish (G_OS4_*)
    In your new you need to move the sections of those to your G_OS2_* and G_OS6_* because the placement of the icons determines the configuration section that is used
    Then fix the remaining G_OS* entries to your liking.
okay so that's how to change my sfos ubiboot,
but how do I install nitdroid from there? It extracts to a different folder. Or can I just change the name in the entry to Nitdroid and extract the nitdroid files to /sailfish? Would this be a problem? I would assume that the bootloader is different for each os, at least the steps to load each different one.
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#1113
Originally Posted by Shadwblade2652 View Post
okay so that's how to change my sfos ubiboot,
but how do I install nitdroid from there? It extracts to a different folder. Or can I just change the name in the entry to Nitdroid and extract the nitdroid files to /sailfish? Would this be a problem? I would assume that the bootloader is different for each os, at least the steps to load each different one.
Nothing to fo with /sailfish, this!
Nitdroid you need to install just as always, just make a directory /home/nitdroid/ and extract your FS image there.
Don't forget to install the preinit files for Nitdroid
And you also need to copy a Nitdroid-type kernel to your /boot directory as the default one you have now (L2-fixed Open Mode) does not work with Nitdroid...

The bootloader (ubiboot) is same for all the OS'es you can imagine, you just specify the kernel and initscript in your ubiboot.conf file for each OS/kernel you want to run.
 
Posts: 206 | Thanked: 117 times | Joined on Nov 2013 @ CA, USA
#1114
Originally Posted by juiceme View Post
Nothing to fo with /sailfish, this!
Nitdroid you need to install just as always, just make a directory /home/nitdroid/ and extract your FS image there.
Don't forget to install the preinit files for Nitdroid
And you also need to copy a Nitdroid-type kernel to your /boot directory as the default one you have now (L2-fixed Open Mode) does not work with Nitdroid...

The bootloader (ubiboot) is same for all the OS'es you can imagine, you just specify the kernel and initscript in your ubiboot.conf file for each OS/kernel you want to run.
So where do I install the preinits?

So what you're telling me is:
1. I need a different kernel. I put this in /boot of my harmattan partition?

2. I extract Nitdroid to /home/nitdroid

3. I install the modified version of ubiboot.


Okay this all makes sense, but the problem is, I have the 16GB model. My entire user space is just 8GB. Is there a way to partition more space towards the user?
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#1115
Originally Posted by Shadwblade2652 View Post
So where do I install the preinits?
The preinit files for Harmattan, Nitdroid and FirefoxOS (if you need that) all should be located in the /sbin/ directory of your Harmattan installation.


Originally Posted by Shadwblade2652 View Post
So what you're telling me is:
1. I need a different kernel. I put this in /boot of my harmattan partition?
Yes. You need to get that kernel from the same place you get your Nitdroid FS archive.
Note that there are few different Nitdroid kernel varieties that @e-yes has made, and you want the one that contains the L2-fix, it boots quicker when launched from ubiboot.


Originally Posted by Shadwblade2652 View Post
2. I extract Nitdroid to /home/nitdroid
Yes.

Originally Posted by Shadwblade2652 View Post
3. I install the modified version of ubiboot.
You only need to get the CPIO and ubiboot.conf, like I say in my posting http://talk.maemo.org/showpost.php?p...postcount=1111
Actually, if you look in the top of your ubiboot.conf you notice a key G_UBIBOOT_ARCHIVE which specifies the CPIO to use; You can have multiple CPIO's in your device at the same time, the one given in your config is the one used.
(The CPIO contains the menus and graphics, it is tha part that defines the look and feel of your ubiboot)


Originally Posted by Shadwblade2652 View Post
Okay this all makes sense, but the problem is, I have the 16GB model. My entire user space is just 8GB. Is there a way to partition more space towards the user?
By default 16GB devices are partitioned like this;
/MyDocs 10G
/root 4G
/home 2G

Now, as you have SailfishOS your device looks like this:
/MyDocs 6G
/ALT_OS 4G
/root 4G
/home 2G

Depending on the applicatons and data you have on your device it is usually either your /root or /home that runs out of memeory.
If you have lot of applications, your /root runs out
if you have a lot of emails, your /home runs out

When you install Nitdroid it is by default suggested that you do it in your /home, but nothing really prevents you putting it on /root if there's more space there.
The only restriction is that you cannot put it on your /MyDocs as that's formatted as FAT and android needs to live on an EXTFS partition.
(Well I have formated my /MyDocs also as ext4, but that is another story alltogether)
 
Posts: 206 | Thanked: 117 times | Joined on Nov 2013 @ CA, USA
#1116
How do I flash my new kernel without screwing over the entire OS? I still do want openmode on my N9, can I have both at once?
 

The Following User Says Thank You to Shadwblade2652 For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#1117
Originally Posted by Shadwblade2652 View Post
How do I flash my new kernel without screwing over the entire OS? I still do want openmode on my N9, can I have both at once?
If you have ubiboot, you already are in Open Mode.
What do you want to flash anyway?
 

The Following User Says Thank You to juiceme For This Useful Post:
Posts: 206 | Thanked: 117 times | Joined on Nov 2013 @ CA, USA
#1118
Originally Posted by juiceme View Post
If you have ubiboot, you already are in Open Mode.
What do you want to flash anyway?
Well don't I need a new kernel to run nitdroid since it isn't compatible with openmode?
 

The Following User Says Thank You to Shadwblade2652 For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#1119
Originally Posted by Shadwblade2652 View Post
Well don't I need a new kernel to run nitdroid since it isn't compatible with openmode?
You need a new kernel, yes, but there's no flashing required

ubiboot is a boot loader, it loads your selected kernel from a file in userspace filesystem to memory and boots it.
That's the reason it can boot many OS'es, each with up to 6 selectable kernels. (there's the README document that tells you some things on how it works...)

Now, what you do, is you just copy the kernel image that's suitable for Nitdroid into /boot/ directory of your Harmattan installation, the same place that you now have your L2-fixed kernel, and then you write up a configuration entry for it in your ubiboot.conf file.

That's it. No flashing required, never again
 

The Following 2 Users Say Thank You to juiceme For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#1120
Did some re-organizing of the ubiboot repositories on Swagman and Skeiron.
  • moved old stuff under "historical"
  • updated the tiny-kernel version to frozen one

ADDITION: There's also a new beautiful ubiboot theme made by @FotixChiang called "Arctic"
  • The icons are better drawn than in my version
  • The menu screen has white background
  • It is compatible with ubiboot 0.3.5 and 0.3.6
  • Get it from swagman.org or from skeiron repositories

This is English localization but there is also a Chinese version available
 

The Following 3 Users Say Thank You to juiceme For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 14:31.