Quote:
Originally Posted by peterx
lunohod said that you can flash a custom firmware, but it is not documented anywhere how this should be done.
|
This is a bit off-topic, but...

The firmware update for M92 is similar to the one for previous devices (e.g. M90) but since it has an internal SD card instead of a plain flash, there are differences; it uses ext4 as a filesystem for the internal partition instead of YAFFS2, and the upgrade file is a password protected zip (Google doesn't know the password, but it can be recovered with some effort... zip files aren't that good) instead of a aes-encrypted image of the root filesystem. The initramdisk checks if there is any update-XXXXXXXX.zip (X=digit) on the external sd card, if so it erases the root file system and extracts the zip file there. If there are files in the /boot directory they are flashed accordingly (they are: boot/boot-splash, boot/uImage, boot/uImage-initramfs); the whole boot directory is erased and the device is rebooted.
What happens now depends on the new firmware, usually /etc/appstart.sh is executed and if /etc/firstboot.sh exists it is executed and removed. Hope this clears things up a bit.