[Update] Xnext™ Camera V6.10 Avantgarde [ XZ3 - XZP ]

Search This thread
Hi @peter.schwake@gmail.com
Is it possible to add 12MP resolution on Z5?


Well... at some point I gave up to implement 13mp (12mp).

Let me tell you what I think about this :

- it isn't possible to add 12MP (well it is already coded by me it is just unavailable :laugh:)

- 13mp was more interesting, cause I was able to make it available in a 'working' apk. But unfortunately apk was crashing instantly when you change resolution to 13mp.
I was not able to fix it, I think it might needs changes in the camera framework.
 

sceryavuz

Senior Member
Apr 10, 2014
1,150
1,354
Ankara
Xiaomi Poco X3 NFC
Well... at some point I gave up to implement 13mp (12mp).

Let me tell you what I think about this :

- it isn't possible to add 12MP (well it is already coded by me it is just unavailable :laugh:)

- 13mp was more interesting, cause I was able to make it available in a 'working' apk. But unfortunately apk was crashing instantly when you change resolution to 13mp.
I was not able to fix it, I think it might needs changes in the camera framework.

Thanks for your answer and effort.
 

whalesplaho

Senior Member
Feb 1, 2012
10,694
2,670
Treasure Island
Well... at some point I gave up to implement 13mp (12mp).

Let me tell you what I think about this :

- it isn't possible to add 12MP (well it is already coded by me it is just unavailable :laugh:)

- 13mp was more interesting, cause I was able to make it available in a 'working' apk. But unfortunately apk was crashing instantly when you change resolution to 13mp.
I was not able to fix it, I think it might needs changes in the camera framework.

Oooooooooppppppppssssss...... Thanks for trying brov!!!:good::good:
 

Rizal Lovins

Recognized Developer / Inactive RC & RT
May 30, 2012
1,618
15,948
Bandung
LG V30
I started looking to mod camera for Xperia Z5 since i have some more time to do it (my exams is going to end) and try everything that @chinmoy32 post, but i can't found anyting related to object tracking mod and you @peter.schwake@gmail.com did it, great work buddy.

Where to enable PDAF Tracking Mode? i'm trying your mod but this mod is based from Xperia XZ 6.0.1 (for Xperia Z5/Z4), i know ported latest camera will end up with autofocus bug (on Xperia Z5/Z4) and i can't fix it, still looking for it.

Btw in your mod there is bug:
first thumbnail video is broken, to fix this change :
in com/sonyericsson/cameracommon/contentsview/DataLoader

Code:
.method private isSupportedFileExtension(Ljava/lang/String;Ljava/lang/String;)Z
    .locals 1

    const/4 v0, 0x1

    return v4
.end method

To
Code:
.method private isSupportedFileExtension(Ljava/lang/String;Ljava/lang/String;)Z
    .locals 1

    const/4 v0, 0x0

    if-nez p2, :cond_1

    :cond_0
    :goto_0
    return v0

    :cond_1
    invoke-virtual {p1}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p2}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    const/4 v0, 0x1

    goto :goto_0
.end method

i'm also reverted back ARGB_8888 to RGB_565
second i'm also reverted back yup444 to 420 also removed all your library and gsl file
three i'm also removed inPreferQualityOverSpeed since it useless on Android N but may useful for android M
source https://developer.android.com/reference/android/graphics/BitmapFactory.Options.html

Hope this is useful...

once again great work buddy @chinmoy32 @peter.schwake@gmail.com :good: :highfive:
Thanks :cool:
 

devilmaycry2020

Senior Member
Apr 27, 2013
1,399
248
I started looking to mod camera for Xperia Z5 since i have some more time to do it (my exams is going to end) and try everything that @chinmoy32 post, but i can't found anyting related to object tracking mod and you @peter.schwake@gmail.com did it, great work buddy.

Where to enable PDAF Tracking Mode? i'm trying your mod but this mod is based from Xperia XZ 6.0.1 (for Xperia Z5/Z4), i know ported latest camera will end up with autofocus bug (on Xperia Z5/Z4) and i can't fix it, still looking for it.

Btw in your mod there is bug:
first thumbnail video is broken, to fix this change :
in com/sonyericsson/cameracommon/contentsview/DataLoader

Code:
.method private isSupportedFileExtension(Ljava/lang/String;Ljava/lang/String;)Z
    .locals 1

    const/4 v0, 0x1

    return v4
.end method

To
Code:
.method private isSupportedFileExtension(Ljava/lang/String;Ljava/lang/String;)Z
    .locals 1

    const/4 v0, 0x0

    if-nez p2, :cond_1

    :cond_0
    :goto_0
    return v0

    :cond_1
    invoke-virtual {p1}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p2}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    const/4 v0, 0x1

    goto :goto_0
.end method

i'm also reverted back ARGB_8888 to RGB_565
second i'm also reverted back yup444 to 420 also removed all your library and gsl file
three i'm also removed inPreferQualityOverSpeed since it useless on Android N but may useful for android M
source https://developer.android.com/reference/android/graphics/BitmapFactory.Options.html

Hope this is useful...

once again great work buddy @chinmoy32 @peter.schwake@gmail.com :good: :highfive:
Thanks :cool:

Good job bro. this fix worked
 

karrouma

Senior Member
Jun 27, 2013
2,054
677
@peter.schwake@gmail.com

Today i bought xz premium for my wife
I played and compaired camera

Xz camera is better

Better in pictures in low light and outdoor and all photo condition

Xz premium better a little bit in video

Tanks to our bro pete for the great mode for the camera.

Really xz has better camera in picture mode
 
  • Like
Reactions: kadimatik

Daniel_GB

Senior Member
Jul 30, 2010
645
142
34
Noshahr,IR
have a problem with this mode...
I have tried to install it on my Z5 premium and ever since the camera doesn't show anything, just pure black...
I have also tried to flash it back to stock with flashtools and the problem is still there...

any help plz?
 

Zaisesl

Senior Member
Sep 9, 2014
341
114
Buenos Aires
have a problem with this mode...
I have tried to install it on my Z5 premium and ever since the camera doesn't show anything, just pure black...
I have also tried to flash it back to stock with flashtools and the problem is still there...

any help plz?

If you flash with flashtool and the problem stills there you have a problem with your camera its not mod related
 

Top Liked Posts

  • There are no posts matching your filters.
  • 119
    FOR : XZP - XZ3 running on Pie


    I proudly present:

    Xnext™ Camera V6.10​


    V6.10 RC
    - XZP Pie
    - Base Update to 2.2.A.13
    - Superuser Mod is required

    https://drive.google.com/file/d/14Ten3qZf-FZzJGPP0aUtVmUYpId-YNsR/view?usp=drivesdk


    If the Aroma installer crash:

    XZ1 to XZ3

    https://drive.google.com/file/d/14fR84HNxyomaQrsXv3WHM_-zc5mV6yAo/view?usp=drivesdk

    ( for me this works on XZP too, but it's unofficial / not recommended )





    V5.90 XZ Final
    - XZ Final Version
    - Z4 / Z5 Final Version beta

    Make a backup please before you flash.

    Xperia Z4 / Z5
    https://drive.google.com/file/d/1imXsmCxhpLjy7Nq4Li1FGnr8MBduGsWY/view?usp=sharing

    Xperia XZ
    https://drive.google.com/file/d/1vtdTjUyROHCw-_01-g6Levj5CN565rs8/view?usp=drivesdk


    See Changelog in the zip for more informations.


    Please write a small feedback, including:

    Device ? / working ? / bugs ? / Android Version ?



    Outdated

    V5.55
    - Rebuild from Scratch, see complete changelog during installation
    - Sony Camera Addons now available during installation
    - more Scenes, more Front Camera Resolutions, better quality

    V5.22
    - new unlock routine
    - new Base
    - works on Nougat
    - unlocked
    - better flashlight
    - JPEG Quality improved
    - Scene Mode
    - more Video Scene Modes added
    - 4K UHD enabled
    - fixed front cam fc
    - rewritten media_profiles.xml

    ONLY Xperia XZ Nougat:

    Xnext™ Camera V0.5 Beta
    - NEW BASE >> latest Xperia XZs firmware
    - fixed Aroma Installer
    - Improved: JPEG Quality, Bitmaps (ARGB 8888) and inPreferQualityOverSpeed
    - camera unlocked

    Xnext™ Camera V0.4-Beta
    - Media profiles reworked (Jpeg quality etc.)
    - Iso behaviour hopefully improved
    - Flashlight improved
    - Miscellaneous changes to prepare for further dev

    Xnext™ Camera V0.3.1-Beta
    - Initial beta release
    - Aroma installer
    - Unlocked Camera
    - build.prop tweaks

    Xperia Z5/Z4

    V4.00
    - Nougat/MM Support
    - Aroma Install
    - all features include

    v3.1Xnext FOR XZ ONLY
    - critical bug fixed
    - installer fixed


    v3.Xnext
    - New Base 39.0.A.3.30
    - Readded camera2 libs - for Z5/Z4 only
    - Picture quality improved

    v2.8.1F ReRelease
    - bugs fixed incl. Zoom FC
    - image processing slightly improved
    - timeshift burst and style portrait maybe not working - some user reported fc

    v2.7F
    - Bug fixes, now Camera opens normally
    - added YUV444 encoding/decoding processing
    - new YUV2RGB processing
    - changed YUV420SP to YUV444 color space

    v2.6F
    - fix front camera video recording

    v2.5F
    - completely rebuild from scratch
    - no clean cache bug >> needs a clean system maybe
    - Manual Focus
    - noise reduction improved
    - Camera unlocked
    - 4K Video
    - more Video scene modes
    - Phase Detection Object Tracking™
    - Reduced ported libs to a minimum

    RCv2.1
    - Video Brightness Fix
    - Added Auto Scenemode for Camera
    - JPEG Quality set up to 100/98/97

    RCv2.0
    Now we go manual Ladies and Gentleman:
    - Manual Focus
    - Scene Mode for 4K and 60fps Full HD
    - Better/Brighter Flashlight - tested for safety
    - Stagefright Encoder/Decoder Files updated
    - Camera2 libs Update

    RCv1.2:

    - Added 4K UHD, now you can use it like the other video modes
    - Macro / Infinity auto ( manual needs some more time, but first step is done )
    - Video Enc/Dec a bit more optimized

    RCv1.1:

    - BASE Update to 39.0.A.1.260
    - Installer optimized to prevent bugs on non- deodexed system, should solve existing problems like no 4K
    - few little Framework Updates
    - added few more parts of XZ™ Camera System

    RCv1.0:
    - NEW BASE: Xperia XZ™ 39.0.A.1.250
    - XZ™ Camera processing
    - XZ™ Camera Driver
    - XZ™ Encoder / Decoder port and reworked
    - Camera configuration ported and reworked
    - Bug fixes
    - Installation script prepare system to avoid bugs
    = Complete XZ™ Camera System reworked for Z5 Series with Unlocked Apk

    V3.0b
    - Camera Apk Unlocked
    - ported libs, framework
    - build.prop tweaks with an extra installer to prevent double entries
    - Encoder/Decoder optimized
    = more manual options and better quality

    Xperia X

    XperiaX v3b
    - BASE Update to 39.0.A.1.260
    - Bugs fixed

    XperiaX v2b
    - optimized installer
    - bug fixes

    Xperia X v1.0 test
    - Unlocked apk
    - Encoder/Decoder optimized
    - build.prop tweaks with an extra installer to prevent double entries




    Please read the complete OP before you flash. If you have any questions, please take a look at the thread, mostly you will find an answer. Otherwise feel free to ask :eek:

    Installation :

    - Root and Twrp are required.
    - Backup your System
    - SuperUserMod is required

    Attention :
    If you come from RC v2.1 or ROMX you maybe need to reflash a clean system. Don't reflash ROMX 3.1! # Should be outdated

    1. Clear data: "Camera","CameraCommon" and "Video"

    2. Reboot to recovery and flash:
    For MM: 4.00
    For N/O: 5.XX



    If you like, use the 'thank you' button :eek:


    Downloads:


    V5.81 Avantgarde
    https://drive.google.com/file/d/1wnnVAncNNAlX5Ruv6dffW45u2MgP8efY/view?usp=drivesdk

    V4.00 MM:
    https://drive.google.com/file/d/0B9QQMZsv2eHIUVNveVZkUzJiUFU/view?usp=drivesdk



    Finally:
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this MOD except in compliance with the License.

    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    You are allowed to use this work in your own work under the permissions which are the License grants you.

    You have to give proper credit to Xnext™ and you are NOT allowed to close your work for other developers.

    DISCLAIMER

    THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE DISCLAIMED.

    I AM NOT RESPONSIBLE
    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGE (INCLUDING, BUT NOT LIMITED TO, LOSS OF USE, DATA, OR PROFITS; OR
    BUSINESS INTERRUPTION) HOWEVER CAUSED IN ANY WAY BY THE USE OF THIS SOFTWARE.


    Credits:
    - chinmoy32, without you this maybe never get happen. Thanks a lot my friend.
    - karrouma ( thank you very much for testing)
    - Pandemic
    - Jozinek for system dump (XZ)
    - zezadas
    - mkdmc
    - shehabskull
    15
    RCv1.2 is ready. 4K UHD is working, macro and infinity only works in auto mode for now. Just stay tuned, I am working on it. :)
    12
    You will make a another version with Oreo base in future with same feature there only for supported model?
    EDIT: By the way,latest version is so good in quality and features. I miss only Oreo superior auto (ev bar on touch) and iso without open settings in manual. But for the rest, it is awesome! I hope new feaures,more quality and in future Oreo base for xz ,to unlock some features easily (i think) like iso and shutter speed toghether editable like xzs. Quality on this mod is amazing! Thanks for your work @peter.schwake@gmail.com and make this mod awesome! I'm using a xz


    Oreo Versions for XZ will be based on Oreo XZs, but atleast before I make a final decision in this case, I will testing what base is to prefer.


    More quality? Well on the software side I can only do a few things to improve settings. The limit is the max capability of the camera hardware.

    Plans for Update's

    - There will be a Version 5.50 Final for Nougat
    - Next is Oreo ("Version 6") which will initially released with already latest possible base.

    Future Development for Z4 / Z5
    - I will try to upgrading the base to latest nougat (I will take a fresh stock apk, rewrite than from Zero, with documentation)
    - Finally if I implement a new feature to Oreo base, I will try to add the same one for Nougat Z4/Z5.

    So the development will getting slower for Z4/Z5, but of course I won't drop the support completely.
    11
    RCv2.5

    - Apk seems ready - Testing already

    - Media Profiles and Codec config is in a fine tune process

    - MF works nice

    - Rewrote Bitmaps to aRGB 8888, but it is not complete ( over 6000 Smali Files and I have to find all media process related files, check them and maybe modify them )

    - Shutter Speed still not working

    RCv2.5 will be provided as Updater and as complete Version.

    Bug fixes will be developed fast as possible, but RCv3.0 will be needing more time than updates before. Since unlock is done, focus will be set up to improve quality.

    And least but most important : I will test and fine tune RCv2.5, until it is really ready.
    10
    What about Xnet camera for Xz?


    My friend, you can call it 'under active development' again. :eek:

    And Xnext WalkMan... I don't know how many hours I already put in this project. But I am never totally happy with it :laugh: