Skip to content

Register a file once when an Android extraction carries it under several storage views - #30

Closed
abrignoni wants to merge 2 commits into
feat/tar-archivesfrom
feat/storage-views
Closed

abrignoni wants to merge 2 commits into
feat/tar-archivesfrom
feat/storage-views

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Registers a file once when an Android extraction carries it under several storage views, so duplicate stacking only sees real copies. Stacked on #29.

  • gleapp/storage_views.py ports ALEAPP's view table (data/data, data/user/N, data_mirror; credential and device encrypted storage never merge, the user id is part of the key) and adds the shared-storage views (data/media/N, storage/emulated/N, mnt/user/N/emulated/N, sdcard)
  • A mirrored group whose copies agree on size, and CRC where recorded, keeps the preferred spelling with the others on the row as alt_paths; a group whose copies differ registers in full
  • Details pane shows the other views as "Also under"; search covers them

Measured before and after, same options:

image rows exact-duplicate rows rows after exact-duplicate rows after
pixel3_a12 (zip) 53,174 34,978 19,926 1,826
samsunga53_a14 (zip) 15,587 11,125 6,392 1,950
emu_a15_oss_v1 (tar) 2,389 1,832 933 376

🤖 Generated with Claude Code

abrignoni and others added 2 commits September 3, 2026 16:17
…ral storage views

storage_views ports ALEAPP's view table (data/data, data/user/N, data_mirror/data_ce,
data/user_de/N, data_mirror/data_de; credential and device encrypted storage never
collapse together, and the Android user id is part of the key) and adds the shared
storage views (data/media/N, storage/emulated/N, mnt/user/N/emulated/N, sdcard). A
mirrored group whose copies agree on size, and on CRC where the archive records one,
registers once under the preferred spelling with the other spellings on the row as
alt_paths; a group whose copies differ registers in full. A zip is planned from its
directory before anything is copied; a tar is collapsed after its single pass. The
details pane lists the other views and search covers them.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant