This is how i installed gallery apk since normal install was not working on CM13 MXPE 2015:
- deleted gallery that came with cm13
- created a new folder at /system/priv-app (i called it Moto Gallery)
- placed apk inside the new folder
- reboot the phone
- (icon will show on app drawer but when opening the app it will show only pictures but with no options, settings etc)
- return to the system folder created in the beginning
- install apk by clicking on it
That's it! Fully functional gallery. Take a picture and slide the right side of the screen inward. A bottom drawer will ask you to open pictures with gallery. Choose always!
I also set Moto G4 camera as default camera and not out works with twist gesture!
Once again, I'm on official CM13 nightlies 07/20 on MXPE 2015.
Sorry, you mean works or not work with twist gesture?