Quote:
Originally Posted by frostschutz
What the external variant does is roughly:
- wait for nickel [default Kobo UI] to be started (if you are using some launcher, you have to launch nickel manually first)
- kill nickel
- umount user partition (other mods could prevent that from succeeding, which would be suboptimal)
- display a "progress bar" (same as nickel bootup bar, squares, going backwards)
- mount the filesystems read-only (of the internal card)
[progress bar would get stuck forever if this fails, e.g. possible if earlier umount failed]
At that point the preparation would be done, now comes the interaction part:
- show a black screen
- if external card is present, wait for it to be removed first
- show a white screen
- wait for external card to be inserted [this card will be formatted]
The removal/insertion is simply a means to confirm that you want this card to be formatted. It's to help avoid blindly formatting a card that was left inside the device.
After replacing the external card, user interaction phase has ended.
- display a "progress bar" (going forwards)
- partition and format the new card
- copy all data
this takes a while, depending on amount of data and card speeds.
- reboot the device
After reboot the device would complain about unable to read the external card (since it's formatted for internal use) however this didn't cause any damage when I tested it, so I opted to not have a 2nd interaction phase prompting you to remove the card first...
|
I guess it failed on umounting the filesystem as it was stuck on the Nickel bootup forever. I will try later on to uninstall KSM and then run the script so nothing is affecting it there.