Skip to content

[BUG] Front Camera Mirroring Not Working On Mediatek Devices #201

@TitanX999

Description

@TitanX999

Checklist

  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Title: Front Camera Mirroring Not Working On Mediatek Devices

Affected App Version
1.1.5

Affected Android/Custom ROM Version
Android 14

Affected Device Model
Realme 10 ( Mediatek Helio G99 )

How Did You Install The App?
GitHub Releases

Steps To Reproduce The Bug

  1. Open Fossify Camera
  2. Switch To Front Camera
  3. Go To Settings And Enable "Mirror Photo"
  4. Take A Selfie
  5. Check The Saved Photo In Gallery

Expected Behavior
The Front Camera Photo Should Be Mirrored ( Flipped Horizontally ) When "Mirror Photo" Setting Is Enabled, Matching What Is Seen In The Preview.

Actual Behavior
The Front Camera Photo Saves Without Mirroring,In The Original Camera Orientation. The "Mirror Photo" Setting Is Completely Ignored For Front Camera.

Additional Information
Relevant Logs Showing The Issue:

2025-01-15 14:30:25.123 14567 14567 fossify.camera: setParameters: mirror-photo=enable
2025-01-15 14:30:25.124 14567 14567 fossify.camera: applyMirrorTransform: front-camera=true
2025-01-15 14:30:25.125 1234 1567 mtkcam-dev3: [ setParameters ] ignore mirror setting from app
2025-01-15 14:30:25.126 1234 1567 mtkcam-dev3: [ configStream ] front camera force disable mirror
2025-01-15 14:30:25.127 1234 1567 OplusCameraExt: override mirror parameter: false
2025-01-15 14:30:25.345 14567 14901 fossify.camera: captureStillImage: front camera
2025-01-15 14:30:25.678 14567 14901 fossify.camera: saveImage: /storage/DCIM/Camera/IMG_20250115_143025.jpg
2025-01-15 14:30:25.679 14567 14901 fossify.camera: Image saved without mirror transformation

The Logs Show That Fossify Camera Correctly Sets The Mirror Parameter To Enabled, But The Mediatek Camera System Ignores It And Forcibly Disables Mirroring.

Other Camera Apps On This Device Can Mirror Front Camera Photos Successfully, Indicating This Is A Fossify Compatibility Issue With Mediatek's Camera Stack.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions