![]() |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
There are 3 preinit fules which will be extraced correctly with that. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
I'll have to check that, since the scripts have changed a bit since the last tarfile and you need the latest version because there is a version check... The files are not compatible :( I am on the road but I'll do it later. Meanwhile, you can pull the latest version directly off the SVN server. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
If you manage to write s**t there your device will not be able to boot, not now and never again. And they will not be able to fix that in Nokia Care, or in any service shop since it requires equipment present only at the factory and that was closed down a long time ago. But the question is whether you were able to damage it? If you are in Open Mode, it depends on how you did the writing. There are some hazardous procedures, but bootloader is locked down against simple intrusion. If you are in Closed Mode and managed to tamper with it... well, then the odds are pretty badly against you. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Please help. I can't boot into harmattan with ubiboot. It just gets stuck with a black screen. I waited a while and nothing happen.
Nitdroid only boots with zlmage.pr13. e-yes l2fix doesn't work. Also in nitdroid usb debugging doesn't work nor charging even after plugging it before boot. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
In the meantime, reflash the standard open kernel if you need to get back into harmattan. sudo flasher -a <yourmainfirmware.bin> -k zImage_2.6.32.54-openmode_l2fix --flash-only=kernel -f -R |
The preinit.tar is wrong before, that make me same problem, juiceme reuploaded again see whether u use it can fix or not
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
U are welcome.
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
1, My N9 is in closed mode. in order to use ubiboot, now I am learning to be familiar with the N9 OS :) 2, Here is my code: RM696-21-3_PR_003:~# cat mtd.c Code:
#include <stdio.h> RM696-21-3_PR_003:~# gcc mtd.c -o mtd RM696-21-3_PR_003:~#./mtd Code:
mtd0 type: 4 , mtd0 total size: 100000 bytes , mtd0 erase size: 40000 bytes 5, What is the reason that write to mtd0 looks success but in fact failed? 6, If I reboot my N9, any risk here? Thanks. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Well, for starters, even as you are in Closed Mode, you do not have enought credentials to do what you're after. :D The device has pretty good safeguards against that, so even as you run that code as root it still will fail silently due to missing credentials. Now, if you do want to destroy your device permanently, you can run your code under Inception to gain privilidges to make the write happen for real. As for booting the device now, you should be safe as your code did not really modify mtd0. |
Re: Introducing ubiboot N9 (multiboot OS loader)
what exactly do you mean by flashing to closed/open mode back to back i don't understand exactly, please elaborate the commands for this if you don't mind, thanks again, i just ref lashed the device using
sudo flasher -F <yourmainfirmware.bin> -F <youremmc.bin> -f and then flashed the open kernel, please correct what I am doing so Aegis does not have issues, thanks again |
Re: Introducing ubiboot N9 (multiboot OS loader)
I got ubiboot booting my device by reading the readme file in ubiboot downloads, i didnt get rid of the openmode warning, now that i got this far is there an easy way to do that, i tried and it gave an error, Thanks again
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Why this is important; After a clean flash, the first boot creates the aegis keys for the device. These keys are different for open mode and closed mode, and if you have closed mode keys in open mode device you will have lots of random problems. So, how this is done, is you need to clean-flash, and then immediately flash an open mode kernel before the device boots after the clean flash. In Linux you can enter 2 flashing commands on the same row, separated by semicolon, so that when first command is executed, the second command is executed right after it: sudo flasher -F firmware.bin -F emmc.bin -f -R ; sudo flasher -a firmware.bin -k zImage_2.6.32.54-openmode_l2fix --flash-only=kernel -f -R |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
sudo flasher -F firmware.bin -F emmc.bin -f -R Then remove the warning: disclaimer-cal remove View-openmode And last, do the back-to-back flashing. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
1, /dev/mtd0 is the bootloader and locked by Nokia, then why it can start the ubiboot kernel? Isn't it can only load official kernel with Nokia signature? Does ubiboot kernel have such signature? 2, what is the difference between /dev/mtd0 bootloader and the Nolo bootloader? If they are different, then which partion that the Nolo bootloader located? |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
The bootup behaves a bit differently, however, depending on if the kernet is signed with Nokia certificate or not. If the kernel is "Original Nokia-signed kernel", the device unlocks access to the HW-protected trusted-mode registers and functionality, allowing system trusted services to do prectically anything on the device HW. If the kernel is not signed correctly, the device locks the trusted mode access and there are some things that cannot be done. (for example the writing to mtd0 that you attempted in your code...) Ubiboot kernel is not signed by Nokia, if it was things would be very different indeed :D To use ubiboot, you do not need to mess with MTD, or do any esoteric trics, it is enough just to flash it to the device with the regular flasher. |
Re: Introducing ubiboot N9 (multiboot OS loader)
@juiceme
I have sometimes strange selection behaviour? I have 5 items for harmattan (also configured number correctly), but sometimes when I press a bit below the fifth entry, I get: Quote:
But when I reboot and take care to press the fifth row(s) exactly then it boots up fine: Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
What should happen is that the touch-map that is generated contains hooks only for the number of lines present in the menu. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Code:
juice@osiris:~/animatronics$ svn diff menuscripts/select_os_animated.sh |
Re: Introducing ubiboot N9 (multiboot OS loader)
most rapid bug solving ever :D
( yes. I forgot to mention that nothing is highlighted on selection) |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
And here's the correction; http://www.swagman.org/juice/ubiboot..._07112013.cpio :D |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Everything fine now. Thanks. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Hey everyone,
In order to use ubiboot I have flashed my device with openkernel mode but I forgot to delete my accounts and therefore I had to re-renter all my passwords after every boot. I have have tried to fix my account problems but I made it worse and now I can't connect as all to any service, it keeps telling me "unknown error, try again later". I have backed up all my important files and pictures and now I would like 'reflash' harmattan. If I understand right I don't need to flash it because I'm using ubiboot right ? So my question is what is the equivalent of flashing to start fresh under ubiboot? Thank you |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
The correct way to enter Open Mode is the back-to-back flashing where you first flash the device like in "normal closed mode flashing", both emmc and rootfs. Then you immediately flash the device with an Open Mode kernel, without letting the device to boot up between the two flashing rounds. If you perform this correctly, the device will start up in Open Mode so that aegis keys are created correctly. This will help you avoid all odd problems caused by running device with incorrect credentials (password problems, strange hangups and boots, general slowing and lagging of device...) I recommend you do this first, and install ubiboot only after it. |
Re: Introducing ubiboot N9 (multiboot OS loader)
If you feel like you do not like the warranty warning on boot do the following before above procedure:
- flash device fully (rootfs and emmc). - boot up, get internet connection, enable developer mode from security settings, open a terminal (console) and type disclaimer-cal remove View-openmode - now continue with above guide () @juiceme wouldnt it be easier for you to copy that to first post and only give a pointer ;) |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
I would be intrested in knowing what are the apps that people see crashing anyway? Are those some self-installed applications or the defult set that come with N9 and are always running (grob, fenix,...?) |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Quote:
EDIT: Wait, yes I can. Warehouse has the same problem, and I'm pretty sure that doesn't have a preloader. Further info, after testing with a fresh flash. This may be old news to many, but I'm just pooling all the info I can collect. These crashes always happen in the actual install, not while downloading or unpacking (unsurprisingly). They can also happen when uninstalling apps. Unless the app killer is extremely overzealous, or memory usage spikes faster than I can check, OOM is not the only problem here - I managed to get Warehouse and grob to crash with >300MB of RAM free. Some apps don't crash at all, despite everything else doing so. I also haven't seen anything running directly from Terminal crash yet (Fingerterm, however, will crash), including apps which do normally. Can't test any further as it's mysteriously stopped happening for a bit. |
Re: Introducing ubiboot N9 (multiboot OS loader)
I have installed ubiboot-02_0.3.5_301013.tar successfully on black n9. However, I found
/usr/bin/show_png /usr/share/themes/blanco/meegotouch/images/system-services/booting.png (which is in /sbin/preinit_harmattan) didn't work, it didn't show my customized png file. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
What did get shown when your boot picture should have loaded, nothing or just the pulsing "NOKIA" logo? To make sure you really ran code in the preinit to the place where you show the picture, you could add something like; Code:
echo "testing" >> /root/my_test_file Then, after the boot go and check that the statement had executed. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Code:
echo "gemfield2" > /root/gemfield2.log |
Re: Introducing ubiboot N9 (multiboot OS loader)
Hi, juiceme, another question:
As long as I didn't flash /dev/mtd0, then N9 can always be recovered by flasher tool? |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
1 Attachment(s)
Quote:
|
All times are GMT. The time now is 12:06. |
vBulletin® Version 3.8.8