Project

General

Profile

Issue #2012

Don't mount the HIDDEN partition

Added by Denis 'GNUtoo' Carikli 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
03/07/2020
Due date:
% Done:

0%

Estimated time:
Resolution:
Device:

History

#1

Updated by Denis 'GNUtoo' Carikli 3 months ago

Several devices have a HIDDEN partition that is mounted at location like /preload.

While on some device it only contains Samsung promotional materials like on (all?) the GT-I9300 (Galaxy SIII), on the Galaxy SII it can contains apk. So while the apk aren't installed in Replicant (checked with the applications in the settings) it's still a good idea not to mount the partition:
  • It increase users trust as having a partition from the stock OS being mounted with shady apk in it is not a good idea, as users then need to check (and to be sure) that the apk aren't automatically installed somehow. We also didn't check extensively.
  • It makes booting more robust as I don't know if boot still succeed if the partition is blanked or corrupted.

Also available in: Atom PDF