I lost half of the space on the SD card after flashing

Afaik the filesystem needs to be expanded after being flashed to a sd card, since it still uses the original disk size when the image was created. This isn‘t related to dd.

I think i saw a post about expanding the filesystem the other day.