SOLVED
How do install a *.apk from adb command line?
First I tried to cp the *.apk from /sdcard/backups/apps to /system/app (after rw mounting the file system of course)
I did successfully move it to /system/app but the *apk was not "installed"
then I rm it and tried:
install /sdcard/backups/appa/<package>.apk /system/app
and it copied the *apk to /system/app but still was not "installed"
I also tried:
install /system/app/<package>*apk but got the error dialog:
My goal is to figure out how to use adb command line and also I want to install an app as if it were a pre-installed app. For example pre-installed apps don't show up as a removable app and stay installed after a factory reset.
How do install a *.apk from adb command line?
First I tried to cp the *.apk from /sdcard/backups/apps to /system/app (after rw mounting the file system of course)
I did successfully move it to /system/app but the *apk was not "installed"
then I rm it and tried:
install /sdcard/backups/appa/<package>.apk /system/app
and it copied the *apk to /system/app but still was not "installed"
I also tried:
install /system/app/<package>*apk but got the error dialog:
Code:
BusyBox v1.19.0.git.adrynalyne (2010-12-21 22:03:30 MST) multi-call binary.
Usage: install [-cdDsp] [-o USER] [-g GRP] [-m MODE] [SOURCE]... DEST
Copy files and set attributes
Options:
-c Just copy (default)
-d Create directories
-D Create leading target directories
-s Strip symbol table
-p Preserve date
-o USER Set ownership
-g GRP Set group ownership
-m MODE Set permissions
My goal is to figure out how to use adb command line and also I want to install an app as if it were a pre-installed app. For example pre-installed apps don't show up as a removable app and stay installed after a factory reset.
Last edited: