SonalSingh18 / vendor_xiaomi_miuicamera

Standalone package repo for MiuiCamera
19 stars 8 forks source link

temporary picture cannot be renamed (A13) #4

Open InitFlo opened 1 year ago

InitFlo commented 1 year ago

If you tap the taken picture, it switch back to the previous one. Maybe the cause are the changed file permissions. Steps to reproduce under arrow13 miatoll joyeuse and a crazy workaround: https://drive.google.com/file/d/1-OQZHZbscEmpUggK9pUj0KZWVhTI-0cw/view?usp=drivesdk

SonalSingh18 commented 1 year ago

I am aware of this...

InitFlo commented 1 year ago

Hi Sonal, I made an unofficial userdebug view with the latest commit. Sadly the bug still exists. Can I somehow help you altough my android develpment skills aren't good? Flashing, compiling, testing, logcat are possible.

SonalSingh18 commented 1 year ago

there's a temporary one time fix for this is that... if u flash magisk module of this, then clicks a pic it will get saved and everything will wrk fine nd then uninstall magisk module nd it will continue to wrk fine with prebuilt miuicamera as well

SonalSingh18 commented 1 year ago

also just can run permissions.sh script manually in termux to grant permissions

InitFlo commented 1 year ago

First I have to install magisk to root. I'll try these workarounds at home.

InitFlo commented 1 year ago

Setting the permissions via adb shell helps. The packages don't requests android.permission.ACCESS_MEDIA_LOCATION.