vendor_xiaomi_miuicamera icon indicating copy to clipboard operation
vendor_xiaomi_miuicamera copied to clipboard

temporary picture cannot be renamed (A13)

Open InitFlo opened this issue 2 years ago • 6 comments

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

InitFlo avatar Jan 25 '23 20:01 InitFlo

I am aware of this...

SonalSingh18 avatar Jan 26 '23 07:01 SonalSingh18

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.

InitFlo avatar Jan 27 '23 17:01 InitFlo

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 avatar Jan 27 '23 17:01 SonalSingh18

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

SonalSingh18 avatar Jan 27 '23 17:01 SonalSingh18

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

InitFlo avatar Jan 27 '23 17:01 InitFlo

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

InitFlo avatar Jan 28 '23 11:01 InitFlo