The Following User Says Thank You to x-lette For This Useful Post: | ||
|
2010-12-03
, 15:47
|
Posts: 1,341 |
Thanked: 708 times |
Joined on Feb 2010
|
#422
|
|
2010-12-03
, 16:01
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#423
|
Have I understood correctly, backupmenu is located in a /dev/mtd0 in the bootloader area (this could be mentioned in the wiki page)? Flashing kernel, rootfs and eMMC will not override backupmenu? Is it possible to flash bootloader separately when the device is in flash-mode connected with USB?
|
2010-12-04
, 09:42
|
Posts: 842 |
Thanked: 1,197 times |
Joined on May 2010
|
#424
|
There are few others who have this "problem" also, that there is not coming anything looking like DES encryption after the string "lock_code" in /dev/mtd1
I wonder, if this is a patent thing, and in some parts of the world Nokia has indeed used other encryption than DES.
Or if it indeed is some kind of fortunate seldom triggered bug, that makes the device harder to crack.
And forgot to mention, I have in settings, that in 10 minutes of idle usage, the device will lock itself with the security code. I think that is why it asks the security code every time it boots up, also after full rootfs+rMMC reflash. I guess people normally do not have that auto security lock enabled and haven't noticed it does survive over reflash also. (which seems to be a good thing).
The Following User Says Thank You to RobbieThe1st For This Useful Post: | ||
|
2010-12-05
, 19:23
|
|
Posts: 1,396 |
Thanked: 2,796 times |
Joined on Sep 2010
@ Caracas, Venezuela
|
#425
|
|
2010-12-05
, 20:52
|
Posts: 284 |
Thanked: 320 times |
Joined on May 2010
@ Peterborough, UK
|
#426
|
I have tested alternative compression types on my rootfs.tar.
Using no parameter in the mkfs.ubifs command, as above, gives a finale img file 192,806,912 bytes large.
Using zlib compression like that:or a mixed compression like that:Code:mkfs.ubifs -x zlib -m 2048 -e 129024 -c 2047 -R 4MiB -r ./rootfs/ -v ./base.ubi.imggives a much smaller img file to flash: 168,951,808 bytes.Code:mkfs.ubifs -x favor_lzo -X 5 -m 2048 -e 129024 -c 2047 -R 4MiB -r ./rootfs/ -v ./base.ubi.img
The difference is quite large: 23,855,104 bytes.
Maybe this is the key to the problem of disappearing space when restoring.
I am not in the mood of trying a restore - I need my N900 working... but someone more inclined to experiments could try and see if flashing images with different compression types results in different free space in the rootfs.
The Following User Says Thank You to Tigerite For This Useful Post: | ||
|
2010-12-05
, 21:29
|
|
Posts: 1,030 |
Thanked: 792 times |
Joined on Jun 2009
|
#427
|
Can BackupMenu be NOT dependable of bootmenu? Because I have it installed using multiboot. I had to force install the deb package, and then tar the result, uninstall the package, untar the result.
That's the only way I don't get the failed dependences everytime I want to use apt-get for another package.
I guess there are others around here using multiboot instead of bootmenu as well...
|
2010-12-06
, 06:56
|
Posts: 842 |
Thanked: 1,197 times |
Joined on May 2010
|
#428
|
Well, I finally got around to testing this tonight - in the process figuring out that mkfs.ubifs actually works with the real rootfs partition when Maemo is running, as long as you create a chrooted environment first - and was very surprised with the results. Not only does zlib compression create a smaller image file (both pre- and post- ubinize) than lzo, but it's also much faster and yes, results in a lot more free space once that image is then written to simulated NAND (via nandwrite, with a flash_eraseall prior to that) - it rose from around 66Mb to 84Mb. I'm now going to try to add it to the backupmenu script - it should be doable as the setup-chroot script that I wrote was based on BackupMenuLauncher.item; not tonight, though
The Following User Says Thank You to RobbieThe1st For This Useful Post: | ||
|
2010-12-06
, 11:06
|
Posts: 284 |
Thanked: 320 times |
Joined on May 2010
@ Peterborough, UK
|
#429
|
|
2010-12-06
, 12:24
|
Posts: 842 |
Thanked: 1,197 times |
Joined on May 2010
|
#430
|
The Following User Says Thank You to RobbieThe1st For This Useful Post: | ||
Tags |
backup, backupmenu, cssusupplement, max(useful), rescue-console, restore, system |
|
But to be honest, I don't have a clue what modifications Nokia made to system, kernel, modules and handling of all of them. The 'current' symlink should just be a convenient way to access the current's kernel modules without having first to find out the exact revision number. Kernel internally should always use the full qualified modules path (e.g. /lib/modules/<myrevision>). But there might be chances that some external software relies on such a link, even if i doubt. In the end, all alternate kernels are working troublefree, so you might check whether they are installing such a link.