FORUMS
Remove All Ads from XDA

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

158 posts
Thanks Meter: 361
 
By zezadas, Senior Member on 3rd April 2015, 01:53 AM
Thread Closed Email Thread
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

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
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.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2015-04-03-14-11-06.jpg
Views:	98616
Size:	68.3 KB
ID:	3242964   Click image for larger version

Name:	Screenshot_2015-04-03-14-11-24.jpg
Views:	96324
Size:	59.7 KB
ID:	3242965   Click image for larger version

Name:	Screenshot_2015-04-03-14-11-35.jpg
Views:	94510
Size:	57.0 KB
ID:	3242966   Click image for larger version

Name:	Screenshot_2015-04-03-14-11-52.jpg
Views:	90640
Size:	61.8 KB
ID:	3242967  
Attached Files
File Type: apk SemcCameraUI.apk - [Click for QR Code] (5.69 MB, 12302 views)
File Type: apk z3plus_SemcCameraUI.apk - [Click for QR Code] (7.37 MB, 5918 views)
File Type: apk SemcCameraUI_V2.apk - [Click for QR Code] (7.41 MB, 2388 views)
File Type: apk SemcCameraUI_V2.2.apk - [Click for QR Code] (7.31 MB, 2086 views)
File Type: apk SemcCameraUI_V3.apk - [Click for QR Code] (7.32 MB, 6868 views)
File Type: apk SemcCameraUI_V4.apk - [Click for QR Code] (7.39 MB, 60058 views)
The Following 172 Users Say Thank You to zezadas For This Useful Post: [ View ] Gift zezadas Ad-Free
 
 
3rd April 2015, 07:08 AM |#2  
rich2007's Avatar
Senior Member
Thanks Meter: 50
 
More
Can I just replace the SemcCameraUI.apk with root explorer?
3rd April 2015, 08:44 AM |#3  
Senior Member
Thanks Meter: 314
 
More
Very interesting, thanks.

Can you unlock anything else in superior auto?

Iso, focus modes for example
3rd April 2015, 10:07 AM |#4  
aardappel12's Avatar
Senior Member
Thanks Meter: 165
 
More
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
The Following User Says Thank You to aardappel12 For This Useful Post: [ View ] Gift aardappel12 Ad-Free
3rd April 2015, 12:12 PM |#5  
OP Senior Member
Thanks Meter: 361
 
Donate to Me
More
Quote:
Originally Posted by rich2007

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.

Quote:
Originally Posted by jarayn

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.

Quote:
Originally Posted by aardappel12

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.
The Following 2 Users Say Thank You to zezadas For This Useful Post: [ View ] Gift zezadas Ad-Free
3rd April 2015, 03:20 PM |#6  
chikrron's Avatar
Senior Member
Thanks Meter: 108
 
More
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
3rd April 2015, 03:43 PM |#7  
OP Senior Member
Thanks Meter: 361
 
Donate to Me
More
Have you patched the framework and clear data?
Also have you rebooted?
Wait a little, I will provide you the original camera soon

Here you have it. The original camera
https://mega.co.nz/#!hNQRhTSJ!stz9UM...DVkHddiCmiO-Vo


Sent from my D5803 using XDA Free mobile app
The Following User Says Thank You to zezadas For This Useful Post: [ View ] Gift zezadas Ad-Free
4th April 2015, 07:01 PM |#8  
rich2007's Avatar
Senior Member
Thanks Meter: 50
 
More
Does this work on LP?
The Following User Says Thank You to rich2007 For This Useful Post: [ View ] Gift rich2007 Ad-Free
5th April 2015, 02:50 AM |#9  
OP Senior Member
Thanks Meter: 361
 
Donate to Me
More
Quote:
Originally Posted by rich2007

Does this work on LP?

Yes, this is made from LP original camera
The Following User Says Thank You to zezadas For This Useful Post: [ View ] Gift zezadas Ad-Free
6th April 2015, 11:49 AM |#10  
Junior Member
Thanks Meter: 1
 
More
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!
6th April 2015, 06:51 PM |#11  
Junior Member
Thanks Meter: 1
 
More
going to try this, thx!
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes