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

[+] NO LAUNCHER FOUND, PLEASE SPECIFY A TARGET CLASS #31

Open
Himan6 opened this issue Dec 28, 2017 · 2 comments
Open

[+] NO LAUNCHER FOUND, PLEASE SPECIFY A TARGET CLASS #31

Himan6 opened this issue Dec 28, 2017 · 2 comments

Comments

@Himan6
Copy link

Himan6 commented Dec 28, 2017

No description provided.

@tokenwizard
Copy link

I an confirm this behavior with multiple tested apks. I have updated to the latest apktool (2.3.1) and still get the same issue. If I run the kwetza script, the extracted AndroidManifest.xml looks like this:
2018-01-12-141547_446x252_scrot

If I just manually run apktool d <apkname.apk> then the resulting AndroidManifest.xml looks correct:
2018-01-12-141927_410x302_scrot

@tokenwizard
Copy link

tokenwizard commented Jan 12, 2018

I did a little more digging and in the kwetza.py script, if I remove some of the options form the apktool command line...
changing this:
2018-01-12-142352_645x90_scrot

to this:
2018-01-12-142429_564x99_scrot

(removing the -f and -r parameters) then the AndroidManifest.xml looks correct and kwetza will successfully locate the HOME Activity. I then get hung up at the readPayloads point:
2018-01-12-142725_801x247_scrot

It seems like kwetza is designed to NOT decode the resources when it extracts the apk, but then has trouble locating the Launcher because it is parsing the Manifest file looking for specific strings that do not exist in the encoded version of the file:
2018-01-12-143116_806x329_scrot

I'm certainly no coding expert, just pointing out what I found to hopefully help the cause!

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

2 participants