| The Following 10 Users Say Thank You to thp For This Useful Post: | ||
|
|
2012-03-23
, 05:40
|
|
|
Posts: 6,436 |
Thanked: 12,699 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#2
|
|
|
2012-03-23
, 05:52
|
|
|
Posts: 6,436 |
Thanked: 12,699 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#3
|
| The Following User Says Thank You to coderus For This Useful Post: | ||
|
|
2012-03-23
, 06:55
|
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#4
|
~ $ cat /proc/mtd dev: size erasesize name mtd0: 00100000 00040000 "bootloader" mtd1: 002c0000 00040000 "config" mtd2: 01000000 00040000 "kernel" mtd3: 00200000 00040000 "log" mtd4: 1ca40000 00040000 "var" mtd5: 02000000 00040000 "moslo" mtd6: 20000000 00040000 "omap2-onenand" ~ $
| The Following User Says Thank You to For This Useful Post: | ||
|
|
2012-03-23
, 15:34
|
|
|
Posts: 2,121 |
Thanked: 1,540 times |
Joined on Mar 2008
@ Oxford, UK
|
#5
|
and about rle. i believe it should be rle (some sort of bitmap format, many image editors can export to rle), but compressed/encrypted by nokia, i believe it should work fine with "plain" rle file.
|
|
2012-03-23
, 17:05
|
|
|
Posts: 6,436 |
Thanked: 12,699 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#6
|
disclaimer-cal remove View-openmode
| The Following 15 Users Say Thank You to coderus For This Useful Post: | ||
|
|
2012-03-24
, 08:11
|
|
Posts: 153 |
Thanked: 81 times |
Joined on Oct 2011
@ New Zealand
|
#7
|
| The Following User Says Thank You to HanzBlix For This Useful Post: | ||
|
|
2012-03-24
, 09:26
|
|
Moderator |
Posts: 6,215 |
Thanked: 6,400 times |
Joined on Nov 2011
|
#8
|
|
|
2012-03-24
, 09:27
|
|
|
Posts: 6,436 |
Thanked: 12,699 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#9
|
|
|
2012-03-24
, 13:11
|
|
Posts: 1,067 |
Thanked: 2,383 times |
Joined on Jan 2012
@ Finland
|
#10
|
| The Following 4 Users Say Thank You to rainisto For This Useful Post: | ||
Also, editing the files does not change the image on boot - maybe there is some part that writes the data to a specific memory area so that it's directly accessible on bootup (and this happens only once, when open mode is first "detected")? disclaimer-call fails for me when i tell it to write a different .rle file to the openmode area in mtd1 (config area).
Interesting files and binaries:
... open("/proc/mtd", O_RDONLY) = 3 ... open("/dev/mtd1", O_RDWR) = 3 ... lseek(3, 1974272, SEEK_SET) = 1974272 write(3, "ConF\2\1\1\0View-openmode\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = -1 EIO (Input/output error) ...Possibly interesting tool to inspect mtd1: https://dev.openwrt.org/browser/pack...src/calvaria.c
Last edited by thp; 2012-03-22 at 22:28.