[Replicant] [device_samsung_galaxys2-common] [PATCH] fstab: don't mount /preload

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Thu Dec 31 01:57:21 UTC 2020


The /preload partition is (hopefully) not used by Replicant.

On my Galaxy SII it has some APK and application data.

The APK found in there are KiesAir.apk, OceanWeather.apk,
PhotoRetouching.apk, PolarisOffice.apk, SamsungIM.apk, Swype.apk
WindyWeather.apk, and vlingo.apk.

Given the name of the APKs it looks like additional nonfree
software to be installed in the stock Android distribution.

Since what's inside is either unused or a serious security
risk, it's best to not mount it at all.

In addition, if for some reasons that partition becomes corrupted,
Replicant will fails to boot very early on. Given that the Galaxy
SII (GT-I9100) uses a zImage, it can be quite long to debug as one
cannot easily patch it to add adb root as boot.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org>
---
 rootdir/fstab.smdk4210 | 1 -
 1 file changed, 1 deletion(-)

diff --git a/rootdir/fstab.smdk4210 b/rootdir/fstab.smdk4210
index 41df278..83375ab 100755
--- a/rootdir/fstab.smdk4210
+++ b/rootdir/fstab.smdk4210
@@ -10,7 +10,6 @@
 /dev/block/mmcblk0p1                        /efs                    ext4      noatime,nosuid,nodev,journal_async_commit,errors=panic    wait,check_spo
 /dev/block/mmcblk0p10                       /data                   f2fs      noatime,nosuid,nodev,inline_data,inline_xattr,discard     wait,encryptable=footer,length=-16384
 /dev/block/mmcblk0p10                       /data                   ext4      noatime,nosuid,nodev,noauto_da_alloc,journal_async_commit,errors=panic    wait,check_spo,encryptable=footer,length=-16384
-/dev/block/mmcblk0p12                       /preload                ext4      noatime,nosuid,nodev,journal_async_commit                 wait
 
 # vold-managed volumes ("block device" is actually a sysfs devpath)
 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0*                  auto    auto    defaults        wait,voldmanaged=sdcard0:11,noemulatedsd,nonremovable
-- 
2.29.2



More information about the Replicant mailing list