mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_sm6250-common.git
synced 2025-06-03 10:57:18 +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. Change-Id: Ic65df8e093a601e3f603c40174b116b20072ee27
Common device tree for Xiaomi SM6250 devices
#
# Copyright (C) 2021 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
Description
Languages
C++
83.4%
Makefile
10.6%
Shell
4%
C
1%
Forth
0.5%
Other
0.5%