-
Notifications
You must be signed in to change notification settings - Fork 187
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
Starting the Main #12
Comments
Copying the email here in case someone wants the answer - I'm assuming you read my blog post before emailing me. The command to start Main class is already listed in my other blog post - It's basically as follows: su -c "CLASSPATH=/data/app/in.omerjerk.remotedroid.app/base.apk /system/bin/app_process32 /system/bin in.omerjerk.remotedroid.app.Main optionalArgs" In my case, I needed to execute the code as root. However, if you just need to create touch events, you can replace su with sh. If you are starting your Main class from outside using adb, you can do the following -
|
Thanks @omerjerk It worked, I just removed the 32 from app_process. Get the CLASSPATH by running adb shell pm path {package name} My command without root looks like |
How I can start the main and get the methods by reflectiong to start injecting events?
The text was updated successfully, but these errors were encountered: