Skip to content

bug: unmount does not work #369

@laur89

Description

@laur89

Bug description

Unmount operation claims app is unmounted, yet mountpoint is still present in /proc/mounts.

  1. pre-unmount state, soundcloud is mount-installed:
$ adb shell su -c "grep soundcloud /proc/mounts"
/dev/block/dm-44 /data/app/~~f7qZNop8S0IwBTRteV7Wdw==/com.soundcloud.android-NQYsI6SVP_Ey6JDJJvGHZg==/base.apk f2fs rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,reserve_root=32768,resuid=0,resgid=1065,inlinecrypt,alloc_mode=default,checkpoint_merge,fsync_mode=nobarrier,memory=normal 0 0
/dev/block/dm-44 /data/incremental/MT_data_app_vmdl183/mount/st_13_1/com.soundcloud.android-NQYsI6SVP_Ey6JDJJvGHZg==/base.apk f2fs rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,reserve_root=32768,resuid=0,resgid=1065,inlinecrypt,alloc_mode=default,checkpoint_merge,fsync_mode=nobarrier,memory=normal 0 0
  1. unmount operation:
$ java -jar ./revanced.jar  utility uninstall --package-name com.soundcloud.android --unmount
WARNING: No device serial supplied. Using device with serial a7b1a22a 
INFO: Uninstalling com.soundcloud.android by unmounting 
INFO: Uninstalled the patched APK file 
  1. verify whether the operation succeeded, we're expecting no matches:
$ adb shell su -c "grep soundcloud /proc/mounts"
/dev/block/dm-44 /data/app/~~f7qZNop8S0IwBTRteV7Wdw==/com.soundcloud.android-NQYsI6SVP_Ey6JDJJvGHZg==/base.apk f2fs rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,reserve_root=32768,resuid=0,resgid=1065,inlinecrypt,alloc_mode=default,checkpoint_merge,fsync_mode=nobarrier,memory=normal 0 0
/dev/block/dm-44 /data/incremental/MT_data_app_vmdl183/mount/st_13_1/com.soundcloud.android-NQYsI6SVP_Ey6JDJJvGHZg==/base.apk f2fs rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,reserve_root=32768,resuid=0,resgid=1065,inlinecrypt,alloc_mode=default,checkpoint_merge,fsync_mode=nobarrier,memory=normal 0 0

Yet mountpoints are still there?


$ java -jar ./revanced.jar --version
ReVanced CLI v5.0.1

Acknowledgements

  • I have checked all open and closed bug reports and this is not a duplicate.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug reportSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions