· df · 1 min read

Android quick tips to remove and install an APK

Technologyunlockingandroidadb commands

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…

  1. adb devices     #(shows list of devices attached)

  2. adb remount   #mounts the directory for writing.

  3. adb shell pm list packages -f     #Lists all apps (.apk’s) you have installed on phone

  4. adb shell rm /system/app/Music2.apk                #Removes the apk.

  5. adb push C:/pgms/“Music.apk” /system/app    #Specify full directory

  6. adb shell pm list packages -f         #Confirm Music.apk  installation

  7. exit


 

[ad#ad-3]