When uninstalling app...setup package file(.apk)

Discussion in 'Android General Discussions' started by James_Watson, Dec 30, 2014.

  1. James_Watson

    James_Watson New Member

    Joined:
    Dec 19, 2014
    Messages:
    19
    Likes Received:
    6
    Trophy Points:
    3
    Ratings:
    +6
    As I know, when we install an app, the setup package file(.apk) will copy to a folder of our devices, \data\app.
    I am wondering:
    1.Is the corresponding apk file still in that folder or any other folders after some app has been uninstalled?
    2.Is some app eligible to enumerate and read all these apk files?
    Thanks in advance.
     
  2. FoxKat

    FoxKat Premium Member
    Premium Member

    Joined:
    Apr 2, 2010
    Messages:
    14,806
    Likes Received:
    4,751
    Trophy Points:
    838
    Location:
    Pennsylvania
    Ratings:
    +5,290
    Current Phone Model:
    Droid Turbo 2 & Galaxy S7
  3. KaosMaster

    KaosMaster Senior Member

    Joined:
    Jan 24, 2011
    Messages:
    699
    Likes Received:
    164
    Trophy Points:
    58
    Location:
    Garden Grove, CA.
    Ratings:
    +186
    Current Phone Model:
    SCH-I545 Galaxy S4 (Verizon)
    Once you uninstall an apk, it is usually deleted from the \data\app folder. The only thing that sometimes remains is the library files \data\app-lib and the Cache files (Don't remember the location, SORRY!) But if you Sideloaded the APK, It will make a copy of it to the \data\app folder.
    Hope this answers your question!

    P.S. This would also apply to system apps...once they are deleted..there GONE!
     
    • Like Like x 1
  4. FoxKat

    FoxKat Premium Member
    Premium Member

    Joined:
    Apr 2, 2010
    Messages:
    14,806
    Likes Received:
    4,751
    Trophy Points:
    838
    Location:
    Pennsylvania
    Ratings:
    +5,290
    Current Phone Model:
    Droid Turbo 2 & Galaxy S7
    I don't doubt you're right, so if that's true how does AppMonster create the APK backups?

    Sent from my Droid Turbo on Tapatalk.
     
  5. KaosMaster

    KaosMaster Senior Member

    Joined:
    Jan 24, 2011
    Messages:
    699
    Likes Received:
    164
    Trophy Points:
    58
    Location:
    Garden Grove, CA.
    Ratings:
    +186
    Current Phone Model:
    SCH-I545 Galaxy S4 (Verizon)
    It does apps that were uninstalled thru the installer or play store??
     
  6. FoxKat

    FoxKat Premium Member
    Premium Member

    Joined:
    Apr 2, 2010
    Messages:
    14,806
    Likes Received:
    4,751
    Trophy Points:
    838
    Location:
    Pennsylvania
    Ratings:
    +5,290
    Current Phone Model:
    Droid Turbo 2 & Galaxy S7
    No, what I mean is it will create full backups of all your installed apps and they're simple APKs.

    Sent from my Droid Turbo on Tapatalk.
     
    • Like Like x 1
  7. KaosMaster

    KaosMaster Senior Member

    Joined:
    Jan 24, 2011
    Messages:
    699
    Likes Received:
    164
    Trophy Points:
    58
    Location:
    Garden Grove, CA.
    Ratings:
    +186
    Current Phone Model:
    SCH-I545 Galaxy S4 (Verizon)
    Yes...the OP was asking about uninstalling an app...then trying to find the apk? Like I think he acidentally uninstalled an apk that was needed and he doesn't have a backup
     
    • Like Like x 1
  8. KaosMaster

    KaosMaster Senior Member

    Joined:
    Jan 24, 2011
    Messages:
    699
    Likes Received:
    164
    Trophy Points:
    58
    Location:
    Garden Grove, CA.
    Ratings:
    +186
    Current Phone Model:
    SCH-I545 Galaxy S4 (Verizon)
    But installed apps can of course get backed up! the data is still there!
     
  9. FoxKat

    FoxKat Premium Member
    Premium Member

    Joined:
    Apr 2, 2010
    Messages:
    14,806
    Likes Received:
    4,751
    Trophy Points:
    838
    Location:
    Pennsylvania
    Ratings:
    +5,290
    Current Phone Model:
    Droid Turbo 2 & Galaxy S7
    Right. I was saying that it must be able to find the original APK to create the backups so it seemed to be reasonable that the original APK was stored in the memory somewhere.

    Sent from my Droid Turbo on Tapatalk.
     
  10. KaosMaster

    KaosMaster Senior Member

    Joined:
    Jan 24, 2011
    Messages:
    699
    Likes Received:
    164
    Trophy Points:
    58
    Location:
    Garden Grove, CA.
    Ratings:
    +186
    Current Phone Model:
    SCH-I545 Galaxy S4 (Verizon)
    If you are rooted and either delete the apk from the system\app folder...it uninstalls and deletes everything that goes with it...I have never found the apk in two locations??!!?? Did that make sense??
     
  11. FoxKat

    FoxKat Premium Member
    Premium Member

    Joined:
    Apr 2, 2010
    Messages:
    14,806
    Likes Received:
    4,751
    Trophy Points:
    838
    Location:
    Pennsylvania
    Ratings:
    +5,290
    Current Phone Model:
    Droid Turbo 2 & Galaxy S7
    Well yes, but my understanding of the APK is that it's an app installer container which, similar to a zip file or in Windows a .cab (cabinet file), contains all the necessary installation files in one consolidated and often compressed format. Then those installation files are extracted from the container file and then installed in their final locations.

    Sent from my Droid Turbo on Tapatalk.
     
  12. KaosMaster

    KaosMaster Senior Member

    Joined:
    Jan 24, 2011
    Messages:
    699
    Likes Received:
    164
    Trophy Points:
    58
    Location:
    Garden Grove, CA.
    Ratings:
    +186
    Current Phone Model:
    SCH-I545 Galaxy S4 (Verizon)
    Yes @FoxKat! That is exactly how it works!! I have actually seen inside an .apk file and it contains the Layout, images, and library files it needs to operate. BUT, when you go in to play store, Package Installer, or Delete the APK, the system will delete ALL the data associated with that APP. the DATA folders are deleted...and the Library files as well. The only way i know of is to Backup BEFORE you uninstall. Otherwise...you need to find the exact APK again, and Install it, then create your Backup!

    BUT....i am gonna load this AppMonster and give it a go!! :)
     
Search tags for this page
droid forums apk file
,

i deleted an apk yet the folder remains

,
signed parkage uninstaller apk