The correct answer is: Option A.

The sentence is grammatically incorrect because the adverb "very" should not be used with the adverb "hardly". The correct way to say it is "He toiled very hard."

The other options are all correct.

Option B: "In spite of toiling" is a prepositional phrase that modifies the verb "realised".

Option C: "He" is the subject of the sentence.

Option D: "Realised" is the past tense of the verb "realize".

Option E: "Not earned anything substantial" is the object of the verb "realised".