How outdated phones can power smart cities and save the seas