Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: what exactly does it do, and how? #2

Open
AndroidDeveloperLB opened this issue Nov 8, 2015 · 5 comments
Open

Question: what exactly does it do, and how? #2

AndroidDeveloperLB opened this issue Nov 8, 2015 · 5 comments

Comments

@AndroidDeveloperLB
Copy link

I don't understand some things:

  1. 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?
  2. What exactly can you change in the new APK?
  3. you say it worked on specific cases. What about other cases? Other devices and Android versions?
@synctext
Copy link
Member

synctext commented Nov 8, 2015

ToDo. sorry, we need to clearly link to the arxive paper.. Google: brussee pouwelse arxive.

@AndroidDeveloperLB
Copy link
Author

I don't understand.

@du5t
Copy link

du5t commented Nov 9, 2015

@synctext
Copy link
Member

synctext commented Nov 9, 2015

@AndroidDeveloperLB Sorry for the noise. Full answers below.

  1. 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.

  1. 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

  1. 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.

@synctext
Copy link
Member

synctext commented Nov 9, 2015

Screenshots:
screenshot_2015-09-18-16-47-38

Changing icon and app name:
screenshot_2015-09-18-16-48-30

First self compile step, process resources
screenshot_2015-09-18-16-48-49

Compile source:
screenshot_2015-09-18-16-49-29

Integrate dependencies:
screenshot_2015-09-18-16-49-34

(this takes a while)
screenshot_2015-09-18-16-50-09

Package app:
screenshot_2015-09-18-16-55-49

Prepare installation step:
screenshot_2015-09-18-17-12-52

The magic happens. Without any user intervention it asks for a freshly compiled clone of itself to be installed.
screenshot_2015-09-18-17-13-11

User selected "install"
screenshot_2015-09-18-17-13-20

Install completed
screenshot_2015-09-18-17-17-40

Finally open the self-compiled clone of itself.
screenshot_2015-09-18-17-17-55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants