Skip to main content

Posts

Showing posts with the label adb commands

Android quick tips to remove and install an APK

Pre-req Need to have ADB installed Our aim is to install an old version of Music.apk onto a custom version. So the steps are like... adb devices     #(shows list of devices attached) adb remount   #mounts the directory for writing. adb shell pm list packages -f     #Lists all apps (.apk's) you have installed on phone adb shell rm /system/app/Music2.apk                #Removes the apk. adb push C:/pgms/"Music.apk" /system/app    #Specify full directory adb shell pm list packages -f         #Confirm Music.apk  installation exit   [ad#ad-3]