View Single Post
Old 05-05-2013, 11:49 AM   #28
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,160
Karma: 169815798
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by davidfor View Post
Since this thread started, I had the "luck" to need to do the investigation.

The factory reset runs "/etc/init.d/rcS". This:

- installs U-Boot and kernal using dd commands
- reformats the other two partitions
- unpacks "/upgrade/fs.tgz" to the rootfs
- unpacks "/upgrade/db.tgz" to the data partition

That is essentially what is done when the firmware is updated, minus the reformatting.
What I'm having fun playing with now is updating the factory firmware. That is, instead of reverting to the version that was in the recovery partition when the device (Glo, in this case) was shipped, I wanted to have the factory reset revert to a later version.

Regards,
David
DNSB is offline   Reply With Quote