Skip to content

v0.5.3

Choose a tag to compare

@GabryDX GabryDX released this 02 Oct 14:36
· 59 commits to main since this release
6ecd226

🛡️ MetaJammer v0.5.3 — Release Notes

Summary

MetaJammer v0.5.3 delivers important stability fixes for Android 9, enhanced container-level metadata readers and scrubbers for MP4/MOV and PNG files, comprehensive PDF structure stripping, and hardened MIME type detection across Android's Storage Access Framework.


🌟 Key Changes & Improvements

1. Android 9 (API 28) MediaStore & Storage Fix

  • Resolved Storage Routing Crash: Fixed an abrupt exit when saving processed PDFs and media files to default folders on Android 9 and older ROMs.
  • Standard Scoped Storage Integration: Uses MediaStore.Files.getContentUri("external") for document routing instead of restricted collection URIs on legacy API levels.

2. Native ISO-BMFF / MP4 Container Reader & Fallback Scrubber

  • Direct Box Parsing: Added Mp4MetadataReader to parse metadata directly from ISO-BMFF boxes (moov/udta, ilst, ©xyz, and custom iTunes tags like CameraModel, GPS, Classification, LeadInvestigator) without depending solely on native decoders.
  • Container Scrubber Fallback: Replaces udta and metadata uuid atoms with standard free padding boxes, ensuring 100% metadata sanitization even for non-standard, synthetic, audio-only, or fragmented containers where native remuxers fail.

3. Deep PNG & JPEG Metadata Stripping

  • PNG pHYs & Ancillary Chunks: Added PngMetadataReader and fast-path chunk stripping to parse and completely wipe physical pixel dimension (pHYs), tEXt, zTXt, iTXt, and eXIf chunks.
  • JPEG Marker Stripping: Fast-path byte stream stripping removes COM (0xFFFE) and APP1–APP15 metadata markers without re-encoding image scan data.
  • Compatibility Tag Cleanup: Fixed preview logic so clean images with standard orientation hints don't display dummy 0 values.

4. Comprehensive PDF Structure Sanitization

  • PageLabels & Catalogs: Resets PageLabels and removes private application dictionary entries (PieceInfo, StructTreeRoot) alongside the document information dictionary and XMP metadata stream.

5. Hardened SAF Ingestion & Magic Byte Detection

  • MIME Type Recovery: Recovers missing or generic application/octet-stream MIME types from document picker URIs using sanitized display name extensions and file magic byte headers (%PDF-, \xFF\xD8\xFF, \x89PNG, ftyp, RIFF...WEBP, ID3).

📦 Build Artifacts

  • Package: com.heronikostudios.metajammer
  • Version: 0.5.3 (Code 8)
  • Target SDK: 37 (Android 16) | Min SDK: 26 (Android 8.0)