self-compile-Android
self-compile-Android copied to clipboard
Question: what exactly does it do, and how?
I don't understand some things:
- Wouldn't the new APK still need user-confirmation to be installed? If not, how, and wouldn't it need to stay with the same permissions?
- What exactly can you change in the new APK?
- you say it worked on specific cases. What about other cases? Other devices and Android versions?
ToDo. sorry, we need to clearly link to the arxive paper.. Google: brussee pouwelse arxive.
I don't understand.
@AndroidDeveloperLB: the paper http://arxiv.org/pdf/1511.00444v2.pdf
@AndroidDeveloperLB Sorry for the noise. Full answers below.
- Wouldn't the new APK still need user-confirmation to be installed? If not, how, and wouldn't it need to stay with the same permissions?
Yes, standard install procedure.
- What exactly can you change in the new APK?
Very simple proof-of-principle, see screenshots below. The app name changes from "browser2" into "calculator". However, this mutation happens at the source code level and in compiled into an .apk
- you say it worked on specific cases. What about other cases? Other devices and Android versions?
Still very much lab work. No other known cases. Hopefully people are interested in this and want to test it on their devices.
Screenshots:

Changing icon and app name:


Compile source:

Integrate dependencies:

(this takes a while)

Package app:

Prepare installation step:

The magic happens. Without any user intervention it asks for a freshly compiled clone of itself to be installed.

User selected "install"

Install completed

Finally open the self-compiled clone of itself.
