Ashley I fixed it but I need your input. Basically c2 works perfectly, the problem is that this event:
document.addEventListener("deviceready", function () {},false};
Never fires! I tried also with true at the end after reading a question on stack overflow. But with no luck.
I ended up using jQuery .ready and everything works as expected. It's very strange nevertheless as the standard example of PhoneGap works perfectly with deviceready.
I hope I helped someone to avoid wasting 2 hours trying to figure out this thing.