Reply
Thread Tools
Posts: 697 | Thanked: 137 times | Joined on Jul 2012 @ Hillerød, DK
#951
Originally Posted by juiceme View Post
Hey, for the people that have Nemo in non-standard location!!

As peterleinchen got it, I have indeed hardcoded the Nemo partition to be "/dev/mmcblkp04# in the menu selection logic!

When I made it I did not think that people would ever put Nemo somewhere else.

However, it is easy to correct:
Just edit your "/boot/menu/select_os_animated.sh", and find the function load_nemo()
On that function, replace the sed script "s/root\=\/dev\/mmcblk0p2/root\=\/dev\/mmcblk0p4/" with "s/root\=\/dev\/mmcblk0p2/root\=\/dev\/mmcblk0p7/", for example, if your Nemo is on partition#7
Is Nemo partition still hard coded as p4?
If so how to editing the script? (sorry but normally I use KhtSimple Text (root) to handle this - is it nano to use here?)
__________________
OK

Last edited by Garp; 2013-12-12 at 00:58.
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#952
Originally Posted by arthurartoria View Post
Hi, guys. I have finished flashing sailfish and installing multiboot. THe sailfish is workable, but now I cannot boot into the harmattan. Here is ubiboot.log. Anyone could help me? Thank you so much.

......
Dec 11 22:48:47 (none) user.notice root: Selecting Harmattan OS, running kernel /boot/Harmattan/boot/zImage_2.6.32.54-openmode_l2fix
Dec 11 22:48:48 (none) user.notice root: Loading kernel /boot/Harmattan/boot/zImage_2.6.32.54-openmode_l2fix
Dec 11 22:48:48 (none) user.notice root: kexec_load() successful
Dec 11 22:48:48 (none) user.notice root: Restarting to selected OS
Dec 11 22:48:48 (none) user.notice root: Saving ubiboot log files
Since you get this far, it means that ubiboot is able to find and load your kernel correctly.
Does the device just hang, with a black screen?

The most propable cause is that you are missing the preinit file for harmattan, or that the preinit is not marked executable.
Ubiboot uses a set of preinit files for Harmattan, Nitdroid and FirefoxOS that you can download from here.
If you do not use any of those except Harmattan, the quick fix is to copy your /sbin/preinit to /sbin/preinit_harmattan
Be sure to check that the preinit file has the execute permissions set.
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#953
Originally Posted by gdelca5 View Post
sorry if the topic does not belong to this thread,

The infamous simlock issue:
Yes, this is the same problem that @flotron has.
I think it is particulary nasty that this exists, as I was sure that N9's were not sold simlocked.


Originally Posted by gdelca5 View Post
Can 2ndboot help to load an unsigned kernel image ?
http://forum.xda-developers.com/show....php?t=1942319
I thought about this a bit, and yes, it is doable but it is not simple.
Also, every time you boot you'd need to run the same thing again

How I'd take a go at it if I was you;
  • 1.) first thing you need is to port the boot module to 2.6.32.54 so it is usable on N9. The userspace utilities propably compile without modifications.
  • 2.) as you are stuck permanently in Closed Mode due to simlock, you need inception to install the module.
  • 3.) Possibly some modification on the 2nd stage kernel? using kexec() chainloading does not need this but I am not famliar with 2ndboot.
 

The Following User Says Thank You to juiceme For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#954
Originally Posted by Garp View Post
Is Nemo partition still hard coded as p4?
If so how to editing the script? (sorry but normally I use KhtSimple Text (root) to handle this - is it nano to use here?)
No, these issues were for older version of ubiboot
0.3.5 is fairly flexible in this, for example my ow device's got radicalily different partition layout and just about anything can be configured in your ubiboot.conf
 

The Following 2 Users Say Thank You to juiceme For This Useful Post:
Posts: 602 | Thanked: 735 times | Joined on Mar 2011 @ Nantes, France
#955
Hi,
Just tried to install Uniboot and this was not a success. Indeed, it is a success, but I can't boot Harmattan anymore.

I didn't install Sailfish nor other OS, just Harmattan for the moment. I've successfully open my N9, and re-partioned it, without any issue. Troubles being with Ubiboot.

First, to copy the "zImage_2.6.32.54-openmode_l2fix" to /media/<login>/rootfs/boot, I had to switch to sudo, normal? I asked because this is not explicitely described in the tutorial.

Now when I start my N9, if I let the default OS starting, I see...nothing, just a black screen. Nothing happens, and I had to press the power off button few seconds to shutdown the device.

Of course, that's the same if I click the second icon on the left (the one with 2 characters "fighting"), and choose "Openmode + L2fix".

Any help to get back my device would be great, preferably without having to reflash a stock ROM.

Another question, is there a way to remove non wanted OSes? By tweaking the ubiboot.conf?

Thanks...pretty urgent.
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#956
Originally Posted by romu View Post
Hi,
Just tried to install Uniboot and this was not a success. Indeed, it is a success, but I can't boot Harmattan anymore.

I didn't install Sailfish nor other OS, just Harmattan for the moment. I've successfully open my N9, and re-partioned it, without any issue. Troubles being with Ubiboot.

First, to copy the "zImage_2.6.32.54-openmode_l2fix" to /media/<login>/rootfs/boot, I had to switch to sudo, normal? I asked because this is not explicitely described in the tutorial.

Now when I start my N9, if I let the default OS starting, I see...nothing, just a black screen. Nothing happens, and I had to press the power off button few seconds to shutdown the device.

Of course, that's the same if I click the second icon on the left (the one with 2 characters "fighting"), and choose "Openmode + L2fix".

Any help to get back my device would be great, preferably without having to reflash a stock ROM.

Another question, is there a way to remove non wanted OSes? By tweaking the ubiboot.conf?

Thanks...pretty urgent.
I guess you are propably another one who has missed the part that explains about preinit scripts in the ubiboot README file.

As for modifying the menus, that can be done by recompiling the CPIO, an easy thing to do really. I actually already considered of maybe doing a special one that contains just the Harmattan menu and Sailfish menu, if people need something like that...
 

The Following User Says Thank You to juiceme For This Useful Post:
Posts: 602 | Thanked: 735 times | Joined on Mar 2011 @ Nantes, France
#957
Thanks, been able to start Harmattan again, guess the Sailfish tutorial should talk about these scripts, this is not currently the case.
 

The Following User Says Thank You to romu For This Useful Post:
Posts: 697 | Thanked: 137 times | Joined on Jul 2012 @ Hillerød, DK
#958
My partitions are not in disk order. Anyone have experience with using x) exstra functionality f) fix?
Is it risky business to use fix and has this missing order any impact on devise function?

Disk /dev/mmcblk0: 64.1 GB, 64130908160 bytes
4 heads, 16 sectors/track, 1957120 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

Device Boot Start End Blocks Id System
/dev/mmcblk0p1 17 1359680 43509248 c Win95 FAT32 (LBA)
Partition 1 does not end on cylinder boundary
/dev/mmcblk0p2 1760513 1891584 4194304 83 Linux
/dev/mmcblk0p3 1891585 1957120 2097152 83 Linux
/dev/mmcblk0p4 1359681 1760512 12826624 5 Extended
Partition 4 does not end on cylinder boundary
/dev/mmcblk0p5 1629473 1760512 4193280 83 Linux
/dev/mmcblk0p6 1494593 1629440 4315136 83 Linux
/dev/mmcblk0p7 1359713 1494560 4315136 83 Linux

Partition table entries are not in disk order
__________________
OK
 
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#959
@garp
Everything is alright. Just a small cylinder boundary inconsistency, which should not affect anything as on the endd. If they were at the head they could make disk access a bit slower.
So no need to change. Or you have again to change ubiboot.conf, /etc/fstab and so on ....
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following User Says Thank You to peterleinchen For This Useful Post:
Posts: 959 | Thanked: 3,427 times | Joined on Apr 2012
#960
Originally Posted by coderus View Post
show logfile
Logfile: http://pastebin.com/dxCxp6Vk
 
Reply


 
Forum Jump


All times are GMT. The time now is 10:35.