how do i find out which partition is active and what is installed on each partition?
That will work and tell you far more than is needed. I humbly submit the following command:To find out which slot is active, go into bootloader state and type "fastboot getvar all".