Kelvin Zhang b08f8dbf23 Reland: Copy files on EFS partition to /data on boot
During boot, this CL adds the following sequence of actions:

1. mount original efs partitions(most likely f2fs) on /mnt/vendor/efs
2. copy files in /mnt/vendor/efs to /data/vendor/copied/efs.img
3. fsync all the files in /data/vendor/copied/efs.img
4. rename /data/vendor/copied/efs.img to /data/vendor/copied/efs
5. bind-mount /data/vendor/copied/efs to /mnt/vendor/efs
6. repeat 1-5 for efs_backup and modem_userdata

The original EFS partitions are mounted and only used for file
copying, no destructive action done on original efs partitions.

Test: reformat /data as ext4, boot the device
Bug: 319335586
Change-Id: Ide78be316778acfc5c582c4a7b78853796cf4c1e
2024-05-07 21:31:13 -07:00
2024-04-12 05:08:15 +00:00
2024-01-16 21:22:58 -08:00
2023-04-21 17:42:45 +00:00
2024-02-27 17:28:23 +00:00
2023-09-28 00:29:08 +00:00
2023-04-18 07:30:27 +00:00
Description
Board tree for Google Tensor G3 devices
20 MiB
Languages
C++ 57.8%
Makefile 22.8%
PureBasic 15.2%
Java 2.5%
C 1.1%
Other 0.6%