mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_sm6250-common.git
synced 2025-05-01 11:37:17 +09:00
Partition sizes can be found by query-ing sysfs. For example, for super partition. > ls -la /dev/block/by-name/super lrwxrwxrwx 1 root root 16 1970-03-23 06:51 super -> /dev/block/sda17 > cat /proc/partitions | grep sda17 259 1 8388608 sda17 The size needs to be multiplied by the block size used by /proc/partitions, which is 1024 bytes. Logical partitions found inside the physical super partition can be found by looking for entries with the logical flag in the fstab inside boot ramdisk.
Copyright (C) 2020 - The LineageOS Project
Common device tree for Xiaomi SM6250 based devices
Description
Languages
C++
83.4%
Makefile
10.6%
Shell
4%
C
1%
Forth
0.5%
Other
0.5%