Page 1 of 1

Install apk in execute root command

Posted: 10 Jan 2014 15:41
by badmotherfucker
Hi,
I'm trying to install aplication using command pm install app.apk in execute root command but the app is not installed. My goal is to install app like it can be done in android terminal using pm install command. I tried other method like

START ACTIVITY:
Action : android.intent.action.VIEW

but it show dialog with installation confirmation. So is there any way to install app automaticaly?

Re: Install apk in execute root command

Posted: 10 Jan 2014 17:05
by Martin
Hi,

Is there anything in the log (menu->Manage->Log, ensure to clear the log-filter when the title of the log reads (filtered))?
Please also try to use the full path to the APK like pm install /storage/emulated/0/app.apk.
What Android version and device are you using?

Regards,
Martin

Re: Install apk in execute root command

Posted: 10 Jan 2014 17:10
by MURTUMA
I'm not sure if it's possible with automagic“s own actions, but both ROM Tool Box and Android Tuner includes a shortcuts to terminal emulator. Copy the command you want to execute to clipboard or use some other method and paste it to command line. You may have to use control ui action in automagic, I'm not sure because I've never done anything like this.

Re: Install apk in execute root command

Posted: 11 Jan 2014 10:45
by badmotherfucker
Thanks guys for help. I checked log and it showed error Segmentation fault so I updated SU binaries and it solved problem, pm install work well now.