Default [Q] "format() expects 5 args, got 4" on several ROMs (and general understanding)

Couple of questions:
  • I'm coming from Cyanfox (4.4/kk aosp based)
  • I get
    format() expects 5 args, got 4
    if I attempt to flash the MIUI official ROM

    The offending line is almost always formatting system.
  • This appears to be caused by the version of CWM I have installed (CWM-base
  • Does the GSII have a separate recovery?
  • How can I make it so I can install ROMs that do this?