[MOD] Camera from HTC Amaze 4G, v0.11

Search This thread

kd_koCiz

Member
Jan 7, 2012
31
4
Just to add some thoughts to the topic. here's 2 pis using the Amaze port, one is 2D (IMAG0140) one is 3D JPS (IMAG0136). This is supposed to be crips 2560x1440 pictures, still, it looks like interpolated ones :/ I am wonder what the heck with providing quality optical components for the whole device to sustain its pretensions ? Sure the companion ASIC might help, but...

hxxp://imageshack.us/photo/my-images/707/imag0140bg.jpg/
hxxp://imageshack.us/photo/my-images/513/imag0136x.jpg/

If this is supposed 100% JPeG quality, I'm happy it ain't worse. About the movie, never succeeded in shooting a 1920x1080 one, and while I switched on 20mbps H264 (to ensure correct bitrate even in 3D mode) I always get variable FPS (from 5 to 29,97 fps max) and variable BITRATE (never gone up to 5mbps while having select 20mbps)

Thus, the 1280x720 movies always gets blurry, and if I stood still, I can get correct picture quality that is interpolated looking again.

What's wrong with the Evo 3D camera ? Sure, I know it's not a dedicated camera, but I'm very disappointed from the "commercials" and from what I get into hands. This was supposed to be a premium quality device, at least its price was premium.

Sure igor have quit upgrading this camera port, but cannot these issues somewhat be solved by software ? Or should I have to thrown this device like a brick in a river, and seek for a better one ?

Kochise
 

Ins90

Senior Member
Apr 24, 2010
64
7
I have a question (problem) ... Only me when switch off the camera I hear a strange sound like a shutter?
This sound there is with Fotocamera app default and with Amaze.
Also this happens when I switch front-rear camera

Sorry for my bad english :)
 

cityeyes

Senior Member
Aug 12, 2009
877
291
Near Chicago
I wonder why nobody has picked this up again yet. The Amaze camera is far superior to the stock camera and pretty much any camera app that I've ever attempted to use on my phone. The low-light software noise reduction is top-notch and the general processing of captured photos is way up there in quality.

I guess phone camera quality is low on the list for most people?
 

outrage_uk

Senior Member
Jul 31, 2008
244
67
I have a problem with the Amaze camera and im surprised no one has mentioned it before.

When I am to take a picture with flash, I go to take it and flash illuminates object fine, but just before the shutter opens to take the picture, the flash goes super bright... too bright for the object and makes it white and unviewable.

Is there anyway I can turn the extra bright flash off and just have the usual one?
 

fahadj2003

Senior Member
Dec 15, 2011
155
22
if the source is available, cant someone continue work on this?
mainly coz new anthrax supports zsl..
 

fahadj2003

Senior Member
Dec 15, 2011
155
22
what changes would you like to see?

further development..
implementation of zls features..

Camera ZSL framework in place for 2D
It provides support for
SmartShot™ - takes 5 photos and compiles the best parts to create one perfect shot.
BurstShot™ - capture 5 consecutive shots with just one click, so you never miss the action.
SweepShot™ panorama - take ultrawide shots then sweep in any direction.
ClearShot™ HDR - see crystal clear detail even when shooting in mixed or direct light.
as well as ZERO SHUTTER LAG <--- features of the kernel..
if these could be enabled..

and other bugs fixed..
 

Deltatristar500

Senior Member
Aug 11, 2008
368
2
I have a non-rooted CDMA EVO 3D and the camera works great minus the Panorama mode, it force crashes every time, plus Smart Shot and burst dont seem to work...but I think this has been mentioned before
 
Last edited:

hotaru

Senior Member
May 24, 2010
527
236
Kent, OH
hotaru.thinkindifferent.net
further development..
implementation of zls features..

Camera ZSL framework in place for 2D
It provides support for
SmartShot™ - takes 5 photos and compiles the best parts to create one perfect shot.
BurstShot™ - capture 5 consecutive shots with just one click, so you never miss the action.
SweepShot™ panorama - take ultrawide shots then sweep in any direction.
ClearShot™ HDR - see crystal clear detail even when shooting in mixed or direct light.
as well as ZERO SHUTTER LAG <--- features of the kernel..
if these could be enabled..

and other bugs fixed..

once there's a kernel that includes zsl, i'll start working on that stuff... there are no kernels available with zsl yet. i'm planning on trying to get zsl working with htc's latest kernel once they release the source.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 93
    == important =======================================================
    Development is frozen.
    Thank you all for your help in debug and for your thanksful posts.
    It is possible that I will return to development of this project, but this is unpredictable for now.
    Thanks to all of You!
    If someone wants to continue development of this camera or to port any other camera he could see source code and changes I've made here:.
    https://github.com/igorbezkrovny/android_htc_evo3d_camera_from_amaze4g

    =================================================================
    HTC Amaze 4G camera app is amazing.

    (for example, http://www.youtube.com/watch?v=T9AmViR_twM)

    ========================================================
    app: HTC Camera application
    base: HTC Amaze 4G camera app
    platform: HTC EVO 3D (GSM & CDMA)
    version: 0.11
    how to install:
    1) for non-rooted phone install apk
    2) for rooted phone flash zip file via recovery or just install apk
    programmer: Igor Bezkrovny
    source code: https://github.com/igorbezkrovny/android_htc_evo3d_camera_from_amaze4g
    ========================================================
    I have created poll for two questions: camera name for flashable zip & photo file naming convention. Also you can suggest something (last question in the poll).
    Please answer to questions only once.
    PLEASE ANSWER TO POLL. THX

    * In order to access the custom image parameters you have to set the scene mode to manual. Then and only then will the white balance, contrast, brightness, sharpness, etc. be available to you.

    Tweaks:
    1. 3D resolution changed to 2048x1152
    2. iso 1250 (realy it seems like iso 450-500)
    3. long touch makes photo
    4. Jpeg quality set to 100%

    Known issues:
    0. Some EVO 3D has smaller second camera sensor! Try 2048x1152 version first and if it crashes in 3D mode, use 1920x1080 version
    1. BurstShot and SmartShot disabled - it seems we need updated kernel with ZERO SHUTTER LAG driver included. So, if HTC doesn't give even kernel src for us we have only choice to wait for new stock kernel with ZSL driver.
    2. Face/Blinks detections doesn't work in 3D
    3. Disabled Panorama and Portrait scenes when in 3D.
    4. CDMA issue: it seems that for most cdma phones Panorama stucks in 2D :(
    5. Codec MPEG can't be used with bitrate higher than 12 mbps. Codec H264 can be used with any bitrate.

    Changelog:
    0.11 (GSM&CDMA 2048x1152 in 3D) Flashable zip
    0.11 (GSM&CDMA 1920x1080 in 3D) Flashable zip
    0.11 (GSM&CDMA 2048x1152 in 3D) standalone apk
    0.11 (GSM&CDMA 1920x1080 in 3D) standalone apk
    1. Codec H264 is automaticaly used for 3D video recording.
    2. Flash is always turned ON if flash mode is "ON" (when taking picture). It is very useful to see what you are shooting when taking picture in low light conditions.

    0.10 (GSM&CDMA 2048x1152 in 3D) Flashable zip
    0.10 (GSM&CDMA 1920x1080 in 3D) Flashable zip
    0.10 (GSM&CDMA 2048x1152 in 3D) standalone apk
    0.10 (GSM&CDMA 1920x1080 in 3D) standalone apk
    * You should select "H264" codec to record video in 3D. Codec h264 will be autoselected for 3D in next version
    1. Added option to set 50HZ/60HZ antibanding.
    2. Removed video format selection. It doesn't needed! 3GP and MP4 are just a containers. Video encoding bitrate is the only important to reduce file size.
    3. Added codec selection (H264/MPEG)
    4. Enabled video encoding bitrate selection for 720p and 540p
    5. Added more bitrate choices.

    0.09 - removed because it always saves video into 3GP container
    1. 3GP/MP4 video format selection
    2. Added Camera version to Tutorial title
    3. Universal flash script rewritten
    4. Added autobuilder to sources in git

    0.08 (GSM 2048x1152 in 3D)
    0.08 (GSM 1920x1080 in 3D)
    0.08 (CDMA 2048x1152 in 3D)
    0.08 (CDMA 1920x1080 in 3D)
    1. Preview after capture -> Share ->"Midnight" button changed to "More..."
    2. Install script fixed

    0.08 with video 1920x1080 recording. DEV VERSION. Tweaks in KERNEL, media_profiles.xml & possibly in libxxxxxxx.so needed

    1. test HTCCamera.apk that is configured to record 1920x1080 video, but it doesn't work for me.

    0.07
    1. Fixed code to correctly disable Panorama and Portrait in 3D mode

    0.06 (has issue, use 0.07)
    1. Disabled Panorama and Portrait scenes when in 3D.

    0.05
    1. fixed FC in Video Recording

    0.04
    1. Gallery is now available directly from camera screen after taking Panorama (SweepShot).

    0.03
    1. fixed FC in 3D mode when battery is lower than 15%
    2. SmartShot/BurstMode disabled (if you select it, mode will not change)

    0.02
    1. fixed FC in 3D, but face detection and blink detection works now in 2D!
    2. Jpeg QUALITY set to 100% (was 85%)

    0.01
    1. Ported from version of Baadnewz & CdTDroiD link
    2. Tweaked
    3. Fixed FC in 3D mode by disabling for both modes face detection and blink detection.

    If you found not listed issue:
    1. Reboot phone
    2. Install and run android application "catlog", press "menu"->"Record"
    3. Launch Camera and take video till camera FC
    4. "catlog"->"menu"->"stop". Log file created in /sdcard/catlog_saved_logs/
    5. email me with attached log file: [underscore]iga[underscore] at mail.ru or reply with attached log file in this post. Also please specify your ROM version.

    ========================================================
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    THE SOFTWARE.
    ========================================================

    divedr made comparison of different cameras/pictures:
    Evo3DCamComp_1.jpg

    The dynamic range from the Amaze port is superior to the stock and modded stock cameras. The lower set of images illustrate the resolution (level of detail) from the Amaze port is better than stock or the modded stock camera from Clean ROM 2.8.
    5
    New version v0.10 uploaded.

    Igor, as you asked here are the data from the comparisons I made. As they say a picture is worth a thousand words:

    Evo3DCamComp_2.jpg


    The dynamic range from the Amaze port is superior to the stock and modded stock cameras. The lower set of images illustrate the resolution (level of detail) from the Amaze port is better than stock or the modded stock camera from Clean ROM 2.8.

    All things considered, if you can enable metering mode selection it would make this port the BEST camera app hands down for the evo 3D. I wouldn't look to change anything before getting metering working. The other parameters (Sweep Shot, Burst, Video CODECs, etc.) are eye candy compared to the metering modes. The ability to change metering modes affects the capabilities of a digiital imaging system significantly. The ability to switch metering modes is a real photographic tool which when enabled would endow the evo 3D with significantly increased abilities as a photographic instrument. Igor if you can pull this off it would be a coup!

    Thanks again for all the hard work!
    3
    Overview

    I would like to start by apologizing for the extremely long post.I have made an attempt at evaluating the ported Amaze camera to the stock and modified stock apps available. There are some pretty interesting results.

    In order to make a valid comparison we first have to identify and understand the variables involved in any digital imaging system which determine the ultimate image quality that can be attained. First and foremost are the limitations placed on the system by virtue of the innate functionality imposed by hardware specifications. You cant make a 5MP sensor an 8MP sensor however, software plays an equally important role in determining the ultimate image output of the system. This is best illustrated by comparison of the The Nikon D80 and the Sony DSLR-A100. Both use the same APS c Sony sensoy however the performance, image quality and characteristics of the two camera bodies are significantly different. This is largely due to differing ASIC technology and image processing software. If you want to read more about the technical aspects of digital imaging systems a good place to start is here: http://www.dpreview.com/learn/glossary.asp

    Under standardized conditions I shot several test images using the evo 3D and the Amaze port, stock camera and the modded stock camera of Clean ROM 2.8. The results are a bit surprising. It would seem that the Amaze port brings to the evo 3D something which the modded stock cameras do not. It would appear that the iso boost from the Amaze port does more than boost the iso. Looking closely at the image histograms it would appear it gives an increased dynamic range of 1 to 2 stops. This is extremely significant. The Amaze port low light performance appears to be measurably better than the stock or modded stock cameras can deliver.

    In the past the overall consensus regarding HTCs methodology in developing camera software is to develop a generic application for a relatively similar group of hardware iterations and use switches within the software to accomodate the various hardware configurations. It is reasonable to beieve this is the case as it is from a production standpoint a cost effective strategy. If that is the case it would seem the Amaze camera ap may have some fundamental differences (seperate from software switches) as compared to stock or modded stock cameras.

    This inclines me to opine that what we have here in the Amaze port may represent a fundamentally different iteration of the camera application perhaps marking HTCs cutoff point for sundowning the camera app wich shipped with the evo 3D.

    Whatever the functionality and image quality provided by the Amaze port offers significant advantages over stock. If there is a way to enable selection of different metering modes (which I do not believe are enabled in the Amaze as there are no references to such functionality in the HTC user manual) it would make this THE hands down BEST camera app for the 3D.

    Agan sorry for the LOOONG post!

    Nice work Igor, please keep it up, its greatly appreciated!
    3
    camera now works in both modes (2d + 3d)
    3
    On CDMA. Infected Eternity.
    Everything but sweepshot (Force Closes) and taking 3D pics work. When attempting to take a 3D pic it sits as if it's saving. Then crashes to homewcreen everytime. :-\

    I don't have cdma evo 3d. If you want to be a tester on cdma, we will make a cdma camera together. If so - pm me, do not post here.