Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Cleanup of remaining folders in /data/app #996
On my Samsung galaxy A5 (2019) i have the problem that when i update an app there are files left from the previous version:
One of these folders has only one file in it:
the other folder has subfolder /lib/ and /oat/ - and this is the actual one - seems that due to a bug in android or Playstore the old base.odex file cant be deleted and remains there after an update and thats the reason android creates a complete new folder.
i first installed the app at 26.06. and updated at 27.06.
My idea for handling this:
For each potential owner SD Maid will now additionally check the used
but not equal to the one used by the system (the one in the sourceDir variable):
then SD Maid should throw out
which would make that folder a folder without owner, and for items in
In the logs it should look like this:
Log from @mzielinskim, working as expected.
Finds the corpse:
Matches the original correctly