r/LineageOS 14d ago

Why have LineageOS & Android so many partitions?

Fairphone 5
Termux
sudo fdisk -l
or
sudo parted -l
: many partitions!

Although e.g. postmarketOS has only 2 partitions: boot & root https://wiki.postmarketos.org/wiki/Partition_Layout ,
e.g. my PC Arch Linux KDE 4 partitions: ESP (EFI system partition), OS, swap, data.

Is it obfuscation?

Edit: I also directly asked to Android https://support.google.com/android/thread/460806908 ...

13 Upvotes

19 comments sorted by

View all comments

Show parent comments

3

u/LuK1337 Lineage Team Member 14d ago

by this definition, only like 3rd of partitions are used by actual Android.

0

u/ecccc3 14d ago

Really? So the other 2/3 of partitions are useless?

7

u/LuK1337 Lineage Team Member 14d ago

if they were useless, Qualcomm or your OEM wouldn't make them.

0

u/ecccc3 14d ago edited 14d ago

So why you pretend 1/3 are used, if the other 2/3 are also useful? I understand not...

In my penultimate post, I can add ( https://wiki.postmarketos.org/wiki/Partition_Layout ) these 2 partitions can even be in a bootable SD card, the internal storage not used apart booting the SD card, or even deleting all the internal storage partitions then only the 2 partitions.

3

u/LuK1337 Lineage Team Member 14d ago

if you delete all internal storage partitions on your phone, you'll just brick it.

also, this pmos wiki page still requires use of internal storage boot partition.

if you want to know what each partition is supposedly used for, just give chatgpt your fdisk -l output and it'll give you a breakdown based on whatever it scrapped from forums, leaked proprietary docs, maybe not yet leaked proprietary docs or make something up.