Remount suppresses future OTAs and is generally dangerous.
The following approach would require changing Android code but is much safer.
The idea is to add a persistent system property that specifies a zygote wrapper
at OS startup (much like wrap.* properties used for Valgrind, but those are
used when fork()-ing the Zygote, and the new one will be used when starting the
Zygote, just once).
Then we could move the zygote wrapper and the runtime library to /data (or some
other writable place). We would still need a rooted device, of course.
Original issue reported on code.google.com by euge...@google.com on 31 Mar 2015 at 12:59
Original issue reported on code.google.com by
euge...@google.com
on 31 Mar 2015 at 12:59