Post Reply

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

OP igor.bezkrovny

14th October 2011, 12:43 PM   |  #1  
OP Senior Member
Flag Kyiv
Thanks Meter: 184
 
136 posts
Join Date:Joined: Aug 2011
More
== 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/and...a_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/and...a_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:
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.
Attached Files
File Type: zip HTCAmaze_camera_ported2EVO3D_v0_03_by_bio_signed.zip - [Click for QR Code] (7.97 MB, 2818 views)
File Type: zip HTCAmaze_camera_ported2EVO3D_v0_02_by_bio_signed.zip - [Click for QR Code] (7.97 MB, 453 views)
File Type: zip HTCAmaze_camera_ported2EVO3D_v0_04_by_bio_signed.zip - [Click for QR Code] (7.97 MB, 526 views)
File Type: zip HTCAmaze_camera_ported2EVO3D_v0_05_by_bio_signed.zip - [Click for QR Code] (7.97 MB, 421 views)
File Type: zip HTCAmaze_camera_ported2EVO3D_v0_07_by_bio_signed.zip - [Click for QR Code] (7.97 MB, 5060 views)
File Type: zip HTCAmaze_camera_ported2EVO3D_v0_08_2048x1152_gsm_by_bio_signed.zip - [Click for QR Code] (7.97 MB, 4525 views)
File Type: zip HTCAmaze_camera_ported2EVO3D_v0_08_1920x1080_gsm_by_bio_signed.zip - [Click for QR Code] (7.97 MB, 3557 views)
File Type: zip HTCAmaze_camera_ported2EVO3D_v0_08_2048x1152_cdma_by_bio_signed.zip - [Click for QR Code] (7.97 MB, 4500 views)
File Type: zip HTCAmaze_camera_ported2EVO3D_v0_08_1920x1080_cdma_by_bio_signed.zip - [Click for QR Code] (7.97 MB, 5031 views)
File Type: apk HTCCamera_1920x1080_v0.08_by_bio.apk - [Click for QR Code] (6.26 MB, 1477 views)
File Type: apk HTCCamera_2048x1152_v0.08_by_bio.apk - [Click for QR Code] (6.26 MB, 1781 views)
File Type: apk HTCCamera_1920x1080_v0.10_by_bio.apk - [Click for QR Code] (6.26 MB, 1071 views)
File Type: apk HTCCamera_2048x1152_v0.10_by_bio.apk - [Click for QR Code] (6.26 MB, 1373 views)
File Type: zip HTCCamera_1920x1080_v0.10_by_bio_signed.zip - [Click for QR Code] (7.97 MB, 932 views)
File Type: zip HTCCamera_2048x1152_v0.10_by_bio_signed.zip - [Click for QR Code] (7.97 MB, 1174 views)
File Type: apk HTCCamera_1920x1080_v0.11_by_bio.apk - [Click for QR Code] (6.26 MB, 9805 views)
File Type: apk HTCCamera_2048x1152_v0.11_by_bio.apk - [Click for QR Code] (6.26 MB, 13893 views)
File Type: zip HTCCamera_1920x1080_v0.11_by_bio_signed.zip - [Click for QR Code] (7.97 MB, 9035 views)
File Type: zip HTCCamera_2048x1152_v0.11_by_bio_signed.zip - [Click for QR Code] (7.97 MB, 14326 views)
Last edited by igor.bezkrovny; 15th June 2012 at 12:47 PM.
The Following 95 Users Say Thank You to igor.bezkrovny For This Useful Post: [ View ]
14th October 2011, 04:05 PM   |  #2  
n_god's Avatar
Senior Member
Flag BURSA
Thanks Meter: 114
 
374 posts
Join Date:Joined: Mar 2010
Donate to Me
More
You don't ned to deal with root explorer just download and install it. It works perfect on leedroid

Sent from PG86300
The Following 2 Users Say Thank You to n_god For This Useful Post: [ View ]
14th October 2011, 05:16 PM   |  #3  
snerism's Avatar
Member
Flag Dubai UAE
Thanks Meter: 10
 
88 posts
Join Date:Joined: Jun 2006
More
I concur either.. no need for root explorer! - Download and Install

My device loaded with Turge's "KingCobra3D 1.4" works well!

---------------------------------------------------------------------------------------------------
update: 2D & 3D pics are working .. got FC'ed on video recording - dozen of attempts, still of no avail..
---------------------------------------------------------------------------------------------------
Last edited by snerism; 15th October 2011 at 11:12 AM. Reason: update
14th October 2011, 11:00 PM   |  #4  
OP Senior Member
Flag Kyiv
Thanks Meter: 184
 
136 posts
Join Date:Joined: Aug 2011
More
camera now works in both modes (2d + 3d)
The Following 4 Users Say Thank You to igor.bezkrovny For This Useful Post: [ View ]
14th October 2011, 11:21 PM   |  #5  
Senior Member
Flag Toronto
Thanks Meter: 155
 
1,194 posts
Join Date:Joined: Oct 2009
Donate to Me
More
Quote:
Originally Posted by igor.bezkrovny

camera now works in both modes (2d + 3d)

Works great , good work!

Sent from my HTC EVO 3D X515m using xda premium
14th October 2011, 11:44 PM   |  #6  
Member
Thanks Meter: 0
 
35 posts
Join Date:Joined: Sep 2011
Works great! Very gooooood

Sent from my HTC ShooterU using xda premium
15th October 2011, 12:18 AM   |  #7  
Senior Member
Flag London
Thanks Meter: 59
 
501 posts
Join Date:Joined: May 2010
More
Is this better than the other tweaked one that was posted? Also does this have 0% image compression? What is the pic quality like compared to the standard evo 3d camera apk?

Good job with the tweaks, finally GSM users are getting closer to something the CDMA users are getting in their awesome roms...
Last edited by harpss1ngh; 15th October 2011 at 12:20 AM.
The Following User Says Thank You to harpss1ngh For This Useful Post: [ View ]
15th October 2011, 05:34 AM   |  #8  
Turge's Avatar
Recognized Developer
Flag Hamilton
Thanks Meter: 19,828
 
4,753 posts
Join Date:Joined: Sep 2008
Donate to Me
More
Looks very promising... I tested this on King Cobra 1.4 and it FC'd on scenes SmartShot and SweepShop, it froze on BurstShot (had to FC it manually) and ClearShot HDR doesn't seem to make a difference (do we need special hardware?).

Everything else appears to work properly.

I like the camera though and I'll probably use it for bit. Nice work porting this over.

EDIT: Here's a flashable zip of the 2D+3D HTC Amaze camera...
Attached Files
File Type: zip HTCAmazeCamera.zip - [Click for QR Code] (6.31 MB, 1301 views)
Last edited by Turge; 15th October 2011 at 05:41 AM.
15th October 2011, 06:20 AM   |  #9  
kin24173493's Avatar
Senior Member
Flag Hong Kong
Thanks Meter: 18
 
400 posts
Join Date:Joined: Mar 2008
More
thanks very much. its great
15th October 2011, 06:21 AM   |  #10  
FitzysM8's Avatar
Senior Member
Flag Adelaide
Thanks Meter: 55
 
257 posts
Join Date:Joined: Nov 2010
Quote:
Originally Posted by Turge

Looks very promising... I tested this on King Cobra 1.4 and it FC'd on scenes SmartShot and SweepShop, it froze on BurstShot (had to FC it manually) and ClearShot HDR doesn't seem to make a difference (do we need special hardware?).

Everything else appears to work properly.

I like the camera though and I'll probably use it for bit. Nice work porting this over.

EDIT: Here's a flashable zip of the 2D+3D HTC Amaze camera...

Cheers.

Same FC issues for me, like the look of the sweepshot thing though. One of my very old Nokia's used to do that..

Post Reply Subscribe to Thread

Tags
htc tweaked camera
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in EVO 3D GSM Android Development by ThreadRank