You claim you just inferred sounds from letter shapes and started putting it together yourself, with no training data?
It's a valid way to learn a second language in the same script, see Lingua Latina for example, but how can you possibly learn a first language or a new script without being told the sounds characters make? You can learn to listen/comprehend and speak by in immersion like that, but not reading & writing.