View Single Post
sutaburosu's Avatar
Posts: 79 | Thanked: 47 times | Joined on Oct 2010 @ Devon, UK
#19
Originally Posted by zimon View Post
So is this abnormal behaviour, or is all N900s this (good) secure that security lock stays even after all those reset-tasks?
The 256MiB flash embedded in the CPU package is 'partitioned' into 6 areas:
Code:
# cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 00020000 00020000 "bootloader"
mtd1: 00060000 00020000 "config"
mtd2: 00040000 00020000 "log"
mtd3: 00200000 00020000 "kernel"
mtd4: 00200000 00020000 "initfs"
mtd5: 0fb40000 00020000 "rootfs"
Flashing it should replace the contents of mtd0, 3 and 4. Flashing the eMMC should overwrite mtd5.
Your lock code is stored in /dev/mtd1. I would have expected "Clear device" and "Restore factory settings" to reset mtd1 to sensible defaults and possibly wipe mtd2. It seems my expectations are at odds with what actually happens. Maybe there are good reasons for this. As far as I can tell all the relevant CAL code is still closed-source, so these reasons may remain a mystery.
 

The Following User Says Thank You to sutaburosu For This Useful Post: