FORUMS
Remove All Ads from XDA

[APP][CM14][MOD] Camera Mod (Snap.apk) | Panorama FIXED

716 posts
Thanks Meter: 3,727
 
By GalaxyUser, Recognized Contributor on 16th January 2017, 01:50 PM
Post Reply Email Thread
MODDED CM 14/14.1 CAMERA

by GalaxyUser


... CM 14 modded Camera !
This camera replace the original camera.

FEATURES

# Photo Mode:
  • 100% picture quality. So the quality of the picture is no longer depending of selected options for pictures (size...)
  • Fixed crash for Panorama mode
  • Take a photo in RAW format supported! (Except the YUV422SP format)
  • You can choose the Focus mode: Auto/Continu/Infinite/Macro
  • You can choose the delay for the obscurator
  • Sound during countdown
# Video Mode:
  • Video stabilization
  • Time lapse mode (take photo each X seconds)
  • Choose video codec (AVC/AMR-NB)
  • Choose audio codec (MPEG-4/H.263/H.264/H.265)
# Common:
  • You can choose antibanding mode (US/EU)

BUGS
  • The bugs are the same as on the original version if they have not been corrected.
  • Tell me.

INSTALLATION
  • Download application zip : see download section
  • Copy on your sdcard
  • Reboot to recovery
  • Flash the zip
  • Boot
  • Enjoy !!!

SCREENSHOTS




CHANGELOG
Snap Mod V1 - 12 January 2017
  • Initial release

Snap Mod V2 - 13 January 2017
# Photo Mode:
  • It allows you to choose 100% quality picture. So the quality of the picture is no longer depending of selected options for pictures (res size...)
  • Fixed crash for Panorama mode
  • Take a photo in RAW format supported! (Except the YUV422SP format)
  • You can change the Focus mode: Auto/Continu/Infinite/Macro
  • You can change the delay for the obscurator
  • Sound countdown

# Video Mode:
  • Video stabilisation
  • Time interval (take photo each X seconds)
  • Choose video codec (AVC/AMR-NB)
  • Choose audio codec (MPEG-4/H.263/H.264/H.265)
# Common:
  • You can chosse anti flicker mode (US/EU)

Snap Mod V3 - 16 January 2017
  • Updated the zip. The mod was not flashed properly.

DOWNLOAD


Download link
The Following 17 Users Say Thank You to GalaxyUser For This Useful Post: [ View ] Gift GalaxyUser Ad-Free
 
 
16th January 2017, 01:55 PM |#2  
Senior Member
Flag San Pedro, Laguna
Thanks Meter: 1,569
 
More
Wow. Downloading it now.

Sent from my honor 5X using XDA Labs
The Following User Says Thank You to adriansticoid For This Useful Post: [ View ] Gift adriansticoid Ad-Free
16th January 2017, 10:50 PM |#3  
Senior Member
Thanks Meter: 103
 
More
Does this only work CM? Will it work an aosp based nougat rom?
16th January 2017, 11:24 PM |#4  
Junior Member
Flag Athens
Thanks Meter: 3
 
More
Hello
Will it fix the camera issues with Xiaomi Note 3 LineageOS (7.1.1) or it's gonna be the same thing?
17th January 2017, 07:13 AM |#5  
GalaxyUser's Avatar
OP Recognized Contributor
Flag Aix-en-Provence
Thanks Meter: 3,727
 
Donate to Me
More
Quote:
Originally Posted by smartymcfly

Does this only work CM? Will it work an aosp based nougat rom?

I don't know, you can try but make a backup of your rom before

Quote:
Originally Posted by Karidas

Hello
Will it fix the camera issues with Xiaomi Note 3 LineageOS (7.1.1) or it's gonna be the same thing?

I don't know what are issues with Xiaomi Note 3. But i don't think this mod will fix anything
The Following User Says Thank You to GalaxyUser For This Useful Post: [ View ] Gift GalaxyUser Ad-Free
17th January 2017, 10:23 AM |#6  
Member
Flag Košice
Thanks Meter: 7
 
More
Thank you for the app. I have tried it on my N9005 running christer12 build. It is cool, but when trying to resume video recording (after pausing it) camera FCs. And also would it be possible to add 9,6 MP 16:9 resolution? Thank you again.

Sent from my SM-N9005 using Tapatalk
17th January 2017, 02:11 PM |#7  
GalaxyUser's Avatar
OP Recognized Contributor
Flag Aix-en-Provence
Thanks Meter: 3,727
 
Donate to Me
More
Quote:
Originally Posted by romanticky

Thank you for the app. I have tried it on my N9005 running christer12 build. It is cool, but when trying to resume video recording (after pausing it) camera FCs. And also would it be possible to add 9,6 MP 16:9 resolution? Thank you again.

Sent from my SM-N9005 using Tapatalk

Can you make a logcat please ?
For the 9.6 MP 16:9 it's not possible because it checks compatibily with framework.jar directly, see here:

https://github.com/CyanogenMod/andro...aSettings.java

Code:
public static void initialCameraPictureSize(Context context, Parameters parameters) {
        // set the picture size to the largest supported size
        List<Size> supported = parameters.getSupportedPictureSizes();
        if (supported == null || supported.isEmpty()) { return; }
        Size largest = getLargestSize(supported);
        String candidate = largest.width + "x" + largest.height;
        if (setCameraPictureSize(candidate, supported, parameters)) {
            SharedPreferences.Editor editor =
                    ComboPreferences.get(context).edit();
            editor.putString(KEY_PICTURE_SIZE, candidate);
            editor.apply();
            return;
        }
        Log.e(TAG, "No supported picture size found");
    }
But I will try to see if i can hook this method
17th January 2017, 05:20 PM |#8  
Member
Flag Košice
Thanks Meter: 7
 
More
Quote:
Originally Posted by GalaxyUser

Can you make a logcat please ?
For the 9.6 MP 16:9 it's not possible because it checks compatibily with framework.jar directly, see here:

https://github.com/CyanogenMod/andro...aSettings.java

Code:
public static void initialCameraPictureSize(Context context, Parameters parameters) {
        // set the picture size to the largest supported size
        List<Size> supported = parameters.getSupportedPictureSizes();
        if (supported == null || supported.isEmpty()) { return; }
        Size largest = getLargestSize(supported);
        String candidate = largest.width + "x" + largest.height;
        if (setCameraPictureSize(candidate, supported, parameters)) {
            SharedPreferences.Editor editor =
                    ComboPreferences.get(context).edit();
            editor.putString(KEY_PICTURE_SIZE, candidate);
            editor.apply();
            return;
        }
        Log.e(TAG, "No supported picture size found");
    }
But I will try to see if i can hook this method

Hope it will help.http://cloud.tapatalk.com/s/587e5248...7-16-45-51.txt


Sent from my SM-N9005 using Tapatalk
18th January 2017, 07:36 AM |#9  
GalaxyUser's Avatar
OP Recognized Contributor
Flag Aix-en-Provence
Thanks Meter: 3,727
 
Donate to Me
More
Quote:
Originally Posted by romanticky

Hope it will help.http://cloud.tapatalk.com/s/587e5248...7-16-45-51.txt


Sent from my SM-N9005 using Tapatalk

Quote:

01-17 16:43:11.992 E/AndroidRuntime( 6361): java.lang.UnsatisfiedLinkError: dlopen failed: library "/system/lib/libjni_snapmosaic.so" needed or dlopened by "/system/lib/libnativeloader.so" is not accessible for the namespace "classloader-namespace"
01-17 16:43:11.992 E/AndroidRuntime( 6361): at java.lang.Runtime.loadLibrary0(Runtime.java:989)
01-17 16:43:11.992 E/AndroidRuntime( 6361): at java.lang.System.loadLibrary(System.java:1530)

Please send your build.prop
18th January 2017, 07:53 AM |#10  
Member
Flag Košice
Thanks Meter: 7
 
More
Quote:
Originally Posted by GalaxyUser

Please send your build.prop

Here it is
http://cloud.tapatalk.com/s/587f1efa04e11/build.txt


Sent from my SM-N9005 using Tapatalk
18th January 2017, 08:00 AM |#11  
GalaxyUser's Avatar
OP Recognized Contributor
Flag Aix-en-Provence
Thanks Meter: 3,727
 
Donate to Me
More
Quote:
Originally Posted by romanticky

Here it is
http://cloud.tapatalk.com/s/587f1efa04e11/build.txt


Sent from my SM-N9005 using Tapatalk

Does panorama mode (mosaic) work for you?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes