phone reset does not clear all user data

Bug #1419928 reported by Ondrej Kubik
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Critical
John McAleely
android (Ubuntu)
Fix Released
Critical
Simon Fels

Bug Description

Formatting user data from settings app or from recovery does not actually format userdata partition.
This is not what user expects from function description.
- One would expect to be able to use this functionality as recovery from corrupted fs
- if filesystem is corrupted and mounted read only as fallback, then no files would be ever deleted, leading to user's deadlock
- hidden files or directories in the root of user data are not deleted.

Expected result:
user data partition is formatted and new fs is created

Actual result:
non hidden files are deleted, if there are any hidden files or directories, those are not deleted. Same happens for some 'special files'

Tested on krillin RTM r16

Oliver Grawert (ogra)
Changed in android (Ubuntu):
importance: Undecided → Critical
summary: - format user data does not do format
+ phone reset does not clear all user data
Revision history for this message
John McAleely (john.mcaleely) wrote :

@pat, it seems this one slipped under the radar recently. can you triage it for c-d-s-i please.

Changed in canonical-devices-system-image:
assignee: nobody → Canonical Phone Foundations (canonical-phonedations-team)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in android (Ubuntu):
status: New → Confirmed
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

bumping for possibly next ota

Changed in canonical-devices-system-image:
importance: Undecided → Critical
milestone: none → ww28-2015
status: New → Confirmed
Changed in canonical-devices-system-image:
assignee: Canonical Phone Foundations (canonical-phonedations-team) → John McAleely (john.mcaleely)
Revision history for this message
John McAleely (john.mcaleely) wrote :

For clarity, this not about some sort of 'secure erase' which might deep write lots of zeros, but rather to ensure the device has a known filesystem state after this operation.

Simon Fels (morphis)
Changed in android (Ubuntu):
assignee: nobody → Simon Busch (morphis)
status: Confirmed → In Progress
Jim Hodapp (jhodapp)
Changed in canonical-devices-system-image:
status: Confirmed → In Progress
Revision history for this message
John McAleely (john.mcaleely) wrote :
Changed in canonical-devices-system-image:
milestone: ww28-2015 → ww34-2015
Revision history for this message
John McAleely (john.mcaleely) wrote :

Landed in Krillin / rc-proposed

Changed in android (Ubuntu):
status: In Progress → Fix Committed
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Changed in android (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
John McAleely (john.mcaleely) wrote :

Also landed in arale & phablet devices.

Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.