Broken cache partition can render the device unflashable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Confirmed
|
Undecided
|
Unassigned | ||
lxc-android-config (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
This is not a common issue, but if the cache partition gets corrupted (it's writeable after all), you won't be able to flash your device.
It's been reported by renato and ondra said he's seen that, too. We need to make sure we can recover from such a state by auto-formatting the cache partition on boot if it's found corrupt, or at the very least have options in recovery to wipe/format the cache partition, as android has.
The problem is that the cache partition is mounted read-only:
/dev/mmcblk0p15 on /android/cache type ext4 (ro,nosuid,
/dev/mmcblk0p15 on /var/lib/
And so flashing fails:
failed to copy '~/.cache/
Changed in canonical-devices-system-image: | |
assignee: | John McAleely (john.mcaleely) → nobody |
Note that krillin & vegetahd both have a 'format cache partition' option in their recovery.
This menu is available with the vol-up key.