I used it mainly to run "pm disable" to disable a lot of bloat-y processes I really don't need. Gave me back around 200 MB of RAM, especially the "chatty" google stuff I wanted to turn off. By modifying the code in the CVS example you can also gain access to the system user, which then let's you do things like setting different cpu governors and related stuff. Android is kinda different from bog standard Linux and I gotta admit I don't know much about it, so it takes me some time to understand the differences. It's like Linux but somehow Redmond and awful.
The downside is that the access is not permanent. /system is readonly and becomes inconsistent because of dirtycow, so remounting it is not possible. I also get a lot of "operation not permitted" stuff regarding all kinds of mounting and writing to block devices. My guess is that there's something else going on somewhere, security-wise. Temporary privilege escalation is enough for everything I wanna do, though. There's also an ominous kernel module called "drmboot" loaded I don't seem to be able to do anything about.
dirtycow is quite dangerous. I could imagine tons of malware with it, and I don't even know a lot about this stuff.
|