On installing apps the first time on all phones, the input stream from
the su/pm process would never close so the code would block indefinatly. If we skip reading from the input stream the p.waitFor() would never
unblock. The solution I put in is a hack until we have more time at a later date to figure out whats going on.