English

Find out boot partitions name

Hi,

while going through our installation guide (Guides/LineageOsInstallation.md · main · dda / lineageos-fairphone · GitLab) it happens sometimes that fastboot flash boot <image_filename.img> does not work.

In these cases a fastboot flash boot_a .. or fastboot flash boot_b .. helps sometimes …

Instead of guessing the partition name, is there a way to find out, how the boot partition on a FP3 is named? Is there some kind of parted tool?

BR Michael

I’m not very well versed in this stuff, but I know that the FP3 has two bootslots (A and B). Therefore, you often have to differentiate which slot you want to install to. All of the partition names I know of are:

modem_a
modem_b
fsc
ssd
sbl1_a
sbl1_b
rpm_a
rpm_b
tz_a
tz_b
devcfg_a
devcfg_b
dsp_a
dsp_b
modemst1
modemst2
DDR
fsg
sec
splash
aboot_a
aboot_b
dtbo_a
dtbo_b
vbmeta_a
vbmeta_b
boot_a
boot_b
devinfo
system_a
system_b
vendor_a
vendor_b
persist
misc
keystore
prodinfo
config
oem
limits
mota
dip
mdtp_a
mdtp_b
syscfg
mcfg
lksecapp_a
lksecapp_b
cmnlib_a
cmnlib_b
cmnlib64_a
cmnlib64_b
keymaster_a
keymaster_b
apdp
msadp
dpo
logdump
frp
product_a
product_b
userdata

As you see, many of them appear twice as an A or B partition. Maybe this helps.

2 Likes

fastboot getvar current-slot … should give you the currently active slot a or b .
Then you know whether it’s boot_a or boot_b currently.

2 Likes