can't unlock 3G from ATT, please help

The firmware and baseband is unknown. It was used before with ATT but has since been out of use for several months. It was never previously unlocked or jailbroken. I can't tell which firmware or baseband it has because when I turn it on it just says "no simcard installed, insert a valid sim card with no pin lock to activate iphone." Putting in a sim doesn't work (i tried a couple including an ATT sim).

How do I jailbreak and unlock this phone? I tried the latest black rain but it simply hangs at "entering recovery..."

I'm working with windows.

How can I get this phone working again?

Thanks

Original thread: https://forums.imore.com/threads/cant-unlock-3g-from-att-please-help.183035/