[EGD-6156] Create crash dumps Integrate the CrashCatcher library in order to store phone state after a fault occurs. The dumps are stored in the CrashCatcher hex format and can be debugged using the CrashDebug stub built for x86_64 via the 'debug_crash_dump.sh' script.
[EGD-5565] Fix update process on new lf filesystem These changes are needed for update to work with new LFS fileystem, also minor bugfixes are included.
[EGD-6013] Fix no copy syscall Due to lack of some filesystem syscalls std::filesystem::copy functions family doesn't work. This path add missing syscalls in the FS layer.
[EGD-5757] Fix backup API Fix backup endpoint to work with new paths and FS api The flow is based on the design in confluence.
Merge branch 'EGD-5737-merge-master-to-exp-lbr-fix'
[EGD-5737] Fix filesystem unit tests Remove old VFS and utils::filesystem calls Update unittest lists
[EGD-5737] Fix ugly crash on boot Fix ugly crash on boot fs
[EGD-5737] Merge master into experimental Keep experimental up to date with changes from master
[EGD-5609] Fix lfs partition erase size bug Storing LFS erase size in the boot byte is not possible because Linux kernel is unable to detect the partitions after change boot bytes to values other than 0x80 or 0x00 In this patch LFS_BLOCK_SIZE is moved to the second MBR bootcode AREA
[EGD-4495] Check partitions during registering new disk image Check partitions validity when registering disk. Add unittest and test disk image generation.
[EGD-5522] Remount fs R/W for backup or update After setting vFAT to be read only by default backup, update and factory reset procedures need to remount R/W first.
[EGD-4761] Add unit tests for littlefs and dual-mount Additionally, old tests have been refactored for consistency and readability. Also, files were added to littlefs test image.
[EGD-5515] Remove unused code lfxextension Remove unused code for detecting block size from user blocks
[EGD-5072] Refactor legacy VFS functions Functions were refactored and renamed for better readability. Some of them were moved to different files. In stat_vfs function the order of member initializations was corrected.
[EGD-5392] Add switch vfat to RO mode VFAT partition should be mounted in RO mode by default because writing to FAT filesystem is unsafe. Writing is allowed only in the LFS filesystem. If upgrade is needed FAT partition can be temporary switched to RW mode using mount() syscall with REMOUNT flag but it should be switched to RO mode again after upgrade.
[EGD-5146] Add read LFS block size from part Add littlefs block size from partition bootable offset
[EGD-5350] Add increase lfs cluster size Incrase LFS clustrer size and cache bitmap improve the FS free blocks scan time, because LFS don't have free block bitmap.
[EGD-5014] Change MMC erase logic MMC erase group size is 512 kB which would enforce 512 kB blocks on file system. Since for our purposes this would be inefficient erase command has been disallowed.
[EGD-5334] Fix phone crash when MTP access Fix phone crash when accessing file when new filesystem is used
[EGD-5014] Fix global FS locks Global locks are redundant and lower the performance.