• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[MOD][XPOSED][5.0+] Xperia Camera Enhancements

Search This thread


Senior Member
partial feedback (for now) Very good!

For the moment I tried this module on Xperia Z1C 5.1.1 (14.6.A.1.216) and it compatible with these other mod of CAM (2) installed:
[Xposed] Use 20MP in SuperiorAuto
[EXRxTHS] {Z1, Z1C, Z2, Z3, Z3C} Xperia Z5 New Rooms 2.0 port | ver2

I have not checked all the functions, but, for now, I noticed that:
- I have the choice of the gallery (I also put pic! Quick)
- The filename has the correct date, time (..etc ..)
- The GPS icon changes depending on the connection (GPS / WiFi)
.. Other things, I will check in the future when I will use, but already I'm very happy for compatibility with other modules for the Xperia Camera
Thanks for everything!
good job!!! :good:


Senior Member
Dec 15, 2012
OnePlus 3T
OnePlus 8T
Thanks, I really like your module, unfortunately, after enabling it, everything I launch the camera app, it always disables fave recognition and it changes the focus mode in "face detection" so I always have to change these 2 settings at start


Senior Member
Dec 15, 2012
OnePlus 3T
OnePlus 8T
Sorry, my bad, I've seen that enabling the face recognition option, it automatically changes the focus mode in face detection.
It would be amazing to have your module merged with zezadas mods at the camera app, he said he wanted to convert it in an xposed module but he had not time :(


Senior Member
Jun 17, 2015
hi! i updated my z3+ to marshmallow, now your module doesn't work anymore... at least gallery unbind and dsc rename don't work. would be great if you could update the module :) i can test for you if you want. thanks
  • Like
Reactions: thesplitter


Senior Member
Apr 29, 2012
I'd also really appreciate support for the new camera app that is part of marshmallow :\


Jun 2, 2014
I really loved the automatic GPS function.
I tried a workaround with the app Automate but it's to slow sometimes so that gps in the camera app has to be re-enabled.
Anyone knows some better workaround?

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    Various mods for the stock camera app of Sony Xperia devices.

    For now, this module consists of 8 mods:

    • Let the user choose which gallery app gets opened by the camera
    • Use date-time naming-scheme
    • Force photo mode on start
    • Force manual mode on start
    • Keep Geo-Tags setting ON
    • Enable location setting in system on start
    • Choose location mode setting
    • Restore location setting in system on exit
    • Mod geo-tag icon

    This module is meant to grow, therefore the rather generic name. Ideas are welcome!

    Note: Tested on my Z1 Compact. Chances are good that it works well with other Xperia devices, as far as they have the same camera app. I would appreciate your feedback :)

    Note 2: This module is for Lollipop on Xperia Z* devices only!

    MOD #1: Let the user choose which gallery app gets opened by the camera

    In the latest Lollipop releases for the Xperia Z1 Compact and other Xperia Z devices, it is not possible anymore to choose which gallery app is used when you tap on the small picture thumbnail in the camera UI. It will always open the Sony Album app. But some people, like me, dislike the Sony Album app and prefer to use alternatives like Quickpic or others.

    With this mod, the camera app lets you choose again which gallery app to use when you tap on the thumbnail. Even better, it lets you choose different apps for normal JPEG photos and some special formats, like timeshift pictures or sound photos. For those kind of pictures, it is still advisable to use the Album app which supports the features of those formats (like playing sound on a picture).

    The mod has been implemented to work in the following camera modes (each of them has a separate implementation for launching the gallery and had to be hacked separatedly:

    • Superior Auto
    • Manual
    • Background Defocus
    • AR-Effect
    • Panorama
    • Creative Effect
    • Sound Photo
    • Timeshift burst

    In other camera modes, the camera will possibly still always use the Album app.

    If it does not work and you do not get asked which app to use, try to clear the defaults of the gallery app that gets opened by default!

    MOD #2: Use date-time naming-scheme
    This will save pictures and movies according to a date-time-with-milliseconds naming scheme:
    • for pictures: DSC_yyyyMMdd_HHmmss_SSS.JPG (example: DSC_20151230_133825_423.JPG)
    • for movies: DSC_yyyyMMdd_HHmmss_SSS.JPG (example: MOV_20151230_134232_922.mp4)
    It will apply to the modes Superior Auto, Manual and Creative Effects

    MOD #3: Force photo mode on start
    In manual mode, the camera will always start in photo mode, even if the last mode used was video.
    This mod is disabled by default. Go to settings page to enable it.

    MOD #4: Force manual mode on start
    The camera will always start in manual mode, when started from menu, shortcut or history. This mod does not apply when the camera is started from the camera button or lockscreen. In this case, the default "Superior Auto" mode will be started.

    MOD #5: Keep Geo-Tags setting ON

    This mod prevents a very annoying behavior of the stock camera app. Whenever you switch the camera to another mode than superior auto or manual, it will set the Geo-Tags setting to OFF, if GPS has been disallowed in the system-wide android settings. It will stay OFF in all camera modes until you set it to ON manually again, even if GPS has been allowed again in the system settings. The result of this behavior is that most of the pictures I made with my phone lack the location tag, although I never disabled the geo tags intentionally in the camera settings.

    This mod prevents this behavior, the Geo-Tags setting will stay set to ON until you deliberately disable it. Geo-Tag setting can be switched on or off independantly from the location settings in android.

    MOD #6: Enable location setting in system on start
    This will enable location in the android system settings on camera start/resume, to make sure that geo tags can always get recorded (see also MOD #8 to restore the previous location settings on camera exit.

    This mod applies only to the camera modes "superior auto" and "manual". When starting other modes, the location setting will stay untouched. In combination with MOD #8, this means: if GPS gets activated by starting one of this 2 modes and MOD #8 is activated, switching to another mode will deactivate GPS again. To record geo-tags in the other modes, you will still have to activate GPS manually in the system settings if MOD #8 is activated. This restriction is due to technical limitations due to the fact that each camera mode is an independent app, and these apps cannot communicate without any time lag. But this would be necessary to make this mod work reliably across different modes.

    MOD #7: Choose location mode setting
    This mod enables to choose the mode for acquiring location to be set in system. It can be either GPS, networks or both.
    This Xposed module will never disable a mode that was activated prior to camera start! E.g., if before camera start location was enabled in system and set to GPS, and you choose to enable location based on networks in this module, it will set the location mode to GPS and networks on camera start.

    MOD #8: Restore location setting in system on exit
    When exiting the camera, this mod will restore the location settings in system to their state before camera start. It applies only to the modes "superior auto" and "manual".

    MOD #9: Mod geo-tag icon
    Show a blue geo-tag icon when location is fixed by networks and a white one for GPS-fix.

    Many thanks to:

    • rovo89 for the magnific Xposed framework.
    • venkat kamesh for a tutorial on how to hack the camera UI on a smali basis, which led me to make my first steps in reverse engineering of android APKs.

    Xposed Module Repository

    This module is released under the Apache License Version 2.0
    Here you can say Thank You if you like my work :) _____
    I really liked the bug starting the camera in Manual mode and have wished for this functionality ever since I got my Z1C - and have seen this requested elsewhere by people who don't have the developer skills to make it happen.
    Is it possible to make this a permanent option in your xposed module to force camera starting in Manual mode please?

    The bug is back and is now a feature :) Of course it's configurable in settings...

    Can you do so that when quick-launch is used (shortcut on lockscreen or holding camera button) it'll use manual mode rather than superior auto?

    I tried very hard to do this, spent two evenings on it. But I don't get it to work. The camera always crashes when I try to make it start in manual mode with quick-launch. The problem is that with quick-launch, a completely independent activity is started, not the same as for normal start of the camera. I think it is designed like this mainly for security reasons, because this activity has to prevent that someone can bypass the lock screen security options by starting the camera. This activity is not meant to be started in manual mode, even if I managed it, it would probably break the security of the lock screen... So I give it up... Anyway, I think that superior mode makes sense when started by quick-launch, because it's often used for quick snapshots...

    I understand why you wouldn't do this but couldn't you perhaps give this "mod" a temporary spin in order to reproduce the steadyshot issue and maybe fix it, which it doesn't seem like whoever ported it will do?


    I'd appreciate it alot, i rather like that new Z5 camera ui but I cant deal with steadyshot video.

    I don't want to install this camera, but if I find the time I'll will have a look at the apk and see if I can easily make a little mod for you... No promise at all ;)

    Version 0.1
    - initial release

    Version 0.2
    - added settings page

    Version 0.3
    - corrected a bug introduced with last version which caused the Geo-Tags mod not working properly anymore

    Version 0.4
    - added new mod: force photo mode on start

    Version 0.5
    - added new mod "enable location in system on camera start"
    - corrected a bug that caused that the camera always started in manual mode when the mod "force photo mode on start" was enabled

    Version 0.6
    - added new mod "choose location mode in system"
    - made the restoring of location setting in system on camera exit optional
    - added a mod to show a different geo-tag icon when the camera got a location fix by networks or GPS
    - Debugging message are sent to logcat instead of Xposed log
    - various enhancements and bugfixes

    Version 0.6.1
    - restrict mods "Enable/disable location setting in system on start/stop" to camera modes "superior auto" and "manual" (see module description for an explanation)

    Version 0.6.2
    - Location mode defaults to GPS. This makes the mod "Enable location on start" work as expected without entering settings when upgrading from version 0.5

    Version 0.7
    - added new mod: Force manual mode on start

    Version 0.8
    - new mod: use date-time naming-scheme
    Man, am I glad I found this module! Thank you, @tryptophane!

    I was wondering if you could/would add one more feature? I desperately want to be able to force the camera to use a file-naming scheme that uses the date (like Google Camera's simple "IMG_YYYYMMDD_SECOND.jpg") instead of the incremental DSC numbering thing that it does.

    Yes! Now that you say it, this primitive naming scheme was one of the first things that annoyed me with the sony cam. It's easy to mod, will be done soon :)
    this module is amazing but we need the MM version