The Balapur police received information on June 1 that the boy was found in flames at around 10 am on the terrace of his grandparents' residence on the outskirts of the city.
He was immediately shifted to a private hospital where he was given first aid. Later the boy was admitted to Osmania General Hospital where he died today while undergoing treatment, sub-inspector Vishnuvardhan Reddy said.
"The boy's grandfather says that the deceased shouted that he (the boy) is also burning like a character in the cartoon film. But we are not sure if the boy committed the act to imitate any cartoon character," Mr Reddy told PTI.
A case has been registered, he added.