Eren used the ability of the Warhammer Titan. to create a hybrid fusion of the Beast Titan. with the Warhammer abilities. That's why it has a USB cable like the Warhammer Titan, that's why it can use the hardening ability. to spawn rocks, and that's why Beast Titan is white.