[MOD] [APP] [Z/Z1/Z2/Z3] [V4] [ updated 25-07-2015 ] Xperia Camera Unlocked

Status
Not open for further replies.

zezadas

Senior Member
Mar 29, 2012
158
359
93
Important notice from forum moderator gregbradley
please read this


New Camera V4 Released
Sorry for the delay, my parents are on vacation this weeks, so I took this time to be more time with them.
The greater feature in this version are the Exposure modes and the shutter speed, the rest of the changes are below in changelog.
This versions as some minor bugs, like on SA exposure mode and shutter speed should not be available.
when choosing auto exposure mode, ISO and speed should be disabled and the same on other exposure modes.
when choosing shutter prio, max speed is 1/125s don't know why, when using manual, it always use the next ISO chosen, don't know why...
I was thinking... for the people that have faced some bugs on SA, not showing more resolutions, maybe is because of superior auto xposed mode. The best way to disable signature verification ( framework patch ) is to use some xposed mode, like serajr mode and enabling super user mode, or using xInstaller (hadn't try this mode).
I have made my patched code available on my github account
Special thanks to @Lanchon for the great DexPatcher tools. and to @serajr for the xposed mode, that came really handy to disable signature verification
Downloads and Changelog's are below.
And don't forget to hit thanks :cowboy:

Important Discalimer:
Be sure to have a System Backup, bootloop is always a possibility (we hope not).
I'm not responsible if something bad happen to your phone... Blah Blah Blah... you know the deal...


What Is:
Well, this is a mod of the Z3 Camera with some features unlocked.
This mod is indicated to people who want more control over camera functions, like scenes, iso and more MP.

Current Features:
Version 1:
In this Mod I have unlocked 15MP and 20MP on superior auto mode.
Unlocked the ability to use HDR and Scene modes on 15MP and 20MP.
Added more ISO values on the list.
Version 2:
Based on Z3+ camera (28.0.A.7.27_R6A)
Changed application name
Increased the default jpeg quality from 97 to 100
Added new exposure modes (this new modes appear in ISO, they are not complete, it's only a little taste of what I pretend to do)
Version 2.2:
Fixed lockscreen shortcut and lauching camera when screen is off
Version 3:
Based on Z3App 23.4.A.0.546_R14C
Added new Resolution in SuperiorAuto (8MP , 8MP WIDE, 15MP, 20MP)
Version 4:
Source made available on my github
Exposure Mode added on menu, auto, ISO priority, shutter priority and manual
Added option to control shutter Speed, 0 means 1 second, 12 means 1/5000 seconds
Modded menu order, since it has more options I opted for the more important settings at the top.
Fixed some translations.
Added new focus mode "macro", (for the interested people, give a closer look on the source for more details on the focus mode)
Cant remember if I made something else xD
More will become...

Prerequisites:
  • A compatible phone like the Z series...
  • Root

Instructions:
First We will prevent bootloops and messed up things...
So starting from clear camera data and removing original camera App, choose the Graphical or Terminal way, or both if you want to have really sure of the process
Graphical way:
  1. go to settings->applications->select camera-> clear data
  2. open your file explorer(Like ES File Explorer), go to "/system/priv-app/"
  3. backup and remove SemcCameraUI folder
Terminal way:
  1. adb shell "su -c cp -r /system/priv-app/SemcCameraUI/ /sdcard/SemcCameraUI"
  2. adb shell "su -c rm -r /system/priv-app/SemcCameraUI/"
  3. adb shell "pm clear com.sonyericsson.android.camera"

Since we have a odexed rom, and our package has a different signature, lets patch service.jar, it's easy!!
Patch Framework:
see this post for better guidance.
Also if you have serajr Xperia Xposed, with Super User Mode enabled, you are good to go, and can skip framework patch
  1. Mod Edit
  2. Mod Edit
  3. Mod Edit
  4. Mod Edit
  5. Mod Edit
  6. Mod Edit
Just use serajr xposed module to bypass signature verification (service.jar patching).
I can no longer tell you what was the Mod Edit. No warez allowed :angel:
Install the moded camera:
  1. Download the moded camera V4 Download
  2. Just install the file attached in this thread the way you like it...
Optional move app to System:
If you want fast capturing to be able to take photos directly from your locked phone, we have to move the app to system
  1. Open Mod Edit
  2. Click on Camera App
  3. Choose Tools
  4. Choose "Move to /system/app"
ENJOY YOUR NEW CAMERA!!! :)

Thanks:
@AndroPlus for Xposed module 20MP SuperiorAuto
@luminoso for testing support
@sig.alleh for photography explanations

Screen Shots:
Screen shots are a little outdated, I will put some new one's soon.
 

Attachments

Last edited by a moderator:

aardappel12

Senior Member
Dec 9, 2010
383
164
0
Thanks for this, working nicely!
Would it also be possible to mute the start-up sound of the camera when using the hardware buttons? Or isn't that part related to the apk? Cause I've tried replacing the camera related .ogg, .m4a and .wav files under /system/media with empty audio files but the sound is still there haha
 
  • Like
Reactions: eldarkh98

zezadas

Senior Member
Mar 29, 2012
158
359
93
Can I just replace the SemcCameraUI.apk with root explorer?
Yes you can replace, but don't forget to wipe data and patch the framework.

Very interesting, thanks.

Can you unlock anything else in superior auto?

Iso, focus modes for example
Superior auto is supposed to be "auto", so that kind of mod's only makes sense in manual mode.

Thanks for this, working nicely!
Would it also be possible to mute the start-up sound of the camera when using the hardware buttons? Or isn't that part related to the apk? Cause I've tried replacing the camera related .ogg, .m4a and .wav files under /system/media with empty audio files but the sound is still there haha
I just noticed that sound now, I don't like it too, I will try to mute it.
 

chikrron

Senior Member
Jan 21, 2012
872
118
0
nice, bro could you provide the original SemcCameraUI.apk...? please
thanks in advance!

---------- Post added at 03:20 PM ---------- Previous post was at 02:53 PM ----------

Help! I.do it all like the instructions and camera fc closes :(

Provide original semccameraui please
 

OldAcquaintance

New member
Mar 29, 2014
2
1
0
Great mod!

Would it be possible to add a feature to force HDR in superior auto? I've found HDR almost always improves the photo.

And add a way to change/choose which camera mode starts with camera button/from lockscreen?
Default is always Superior auto and there isn't a way to change it.

Lastly, would it be possible to add lower resolutions to superior auto, like 3.1MP? Even the defualt 8MP is sometimes unnecesarily big.

Anyway, even without those changes thanks for the great work!
 

zezadas

Senior Member
Mar 29, 2012
158
359
93
Great mod!

Would it be possible to add a feature to force HDR in superior auto? I've found HDR almost always improves the photo.

And add a way to change/choose which camera mode starts with camera button/from lockscreen?
Default is always Superior auto and there isn't a way to change it.

Lastly, would it be possible to add lower resolutions to superior auto, like 3.1MP? Even the default 8MP is sometimes unnecesarily big.

Anyway, even without those changes thanks for the great work!
About HDR in Superior Auto, as I said before,Superior Auto it's supposed to be auto. Also HDR requires that you won't move the camera when shooting.

About adding a way to change/choose which camera mode starts on Fast Capture I pretend to do it, but maybe it will take a little bit... Just wait ;)

About 3MP I see no advantages, can you tell me what's your reason? Space? speed? other?
 

OldAcquaintance

New member
Mar 29, 2014
2
1
0
Regarding HDR, I know, but was still hoping maybe you'll agree :D It's mostly a personal preference to how/what I photograph.

Anyway, if autostart mode can be changed/selected, I can always choose to start manual with HDR so no problem :) That would be awesome!

Also, 3.1MP I've found is the optimal for me for standard photos - speed, size, battery and fast auto upload to the cloud/services, which again saves a lot of battery. No visual difference even when looking on a TV screen because it's resolution is still big enough that it gets scaled down.
 
  • Like
Reactions: Snoe II

jerflash

Senior Member
Sep 10, 2010
954
307
0
NYC
I really wanted this to work but it just wont.

have tried every which way to get it installed but it always either fails to install or camera fails when trying to launch
 

XQC

Senior Member
Jul 24, 2010
106
45
0
Thanks for the mod, it's working so far!

Only gripe is that I can't select the SD card anymore as saving location. I also applied the SD card fix to the system, but the option stays greyed out. Any suggestions?
 

zezadas

Senior Member
Mar 29, 2012
158
359
93
Have you tried to reboot after moving to system
Also have you cleared the app data
Here is working fine.

Sent from my D5803 using XDA Free mobile app
 

XQC

Senior Member
Jul 24, 2010
106
45
0
Have you tried to reboot after moving to system
Also have you cleared the app data
Here is working fine.

Sent from my D5803 using XDA Free mobile app
Yeah I also tried clearing data and rebooted several times. SD card option remains grey.
Other apps don't have problems to access SD card.
 

MMTK84

Member
Dec 9, 2010
38
27
0
not working

Unfortunately it does not work.
I can not enable HDR or Scenes in manual camera mode.
I've tried LuckyPatcher, clean Cache and Dalvik, Reboot, ........

Can use internal and external storage (sd card).

My system:
KitKat 4.4.4 with Firmware 23.0.1.A.5.7 (Stock Rom, Stock Kernel), rooted, Recovery, Xposed with LuckyPatcher, ......

:confused:
 
Last edited:

zezadas

Senior Member
Mar 29, 2012
158
359
93
Unfortunately it does not work.
I can not enable HDR or Scenes in manual camera mode.
I've tried LuckyPatcher, clean Cache and Dalvik, Reboot, ........

Can use internal and external storage (sd card).

My system:
KitKat 4.4.4 with Firmware 23.0.1.A.5.7 (Stock Rom, Stock Kernel), rooted, Recovery, Xposed with LuckyPatcher, ......

:confused:
I haven't tested this on KitKat Rom's, as I said before this came from Lollipop Rom.
But that's awkward, since you can open the camera. :s
Have you done the steps right?
 
Status
Not open for further replies.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone