This page will be used to document what we know about the libflash shared library in the stock firmware.
Known API entry points
- flash_erase_mtd
- flash_get_configf_size
- flash_read_config
- flash_write_buf
- flash_write_config
Note that libflash.so has hard-coded /dev/mtd0, /dev/mtd1, /dev/mtd2 and /dev/mtd3 strings in it.