5,594,518 Members 32,580 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
igor.bezkrovny
Old
(Last edited by igor.bezkrovny; 15th June 2012 at 12:47 PM.)
#1  
Senior Member - OP
Thanks Meter 184
Posts: 136
Join Date: Aug 2011
Location: Kyiv
Smile [MOD] Camera from HTC Amaze 4G, v0.11

== 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, 2739 views)
File Type: zip HTCAmaze_camera_ported2EVO3D_v0_02_by_bio_signed.zip - [Click for QR Code] (7.97 MB, 446 views)
File Type: zip HTCAmaze_camera_ported2EVO3D_v0_04_by_bio_signed.zip - [Click for QR Code] (7.97 MB, 523 views)
File Type: zip HTCAmaze_camera_ported2EVO3D_v0_05_by_bio_signed.zip - [Click for QR Code] (7.97 MB, 415 views)
File Type: zip HTCAmaze_camera_ported2EVO3D_v0_07_by_bio_signed.zip - [Click for QR Code] (7.97 MB, 5033 views)
File Type: zip HTCAmaze_camera_ported2EVO3D_v0_08_2048x1152_gsm_by_bio_signed.zip - [Click for QR Code] (7.97 MB, 4477 views)
File Type: zip HTCAmaze_camera_ported2EVO3D_v0_08_1920x1080_gsm_by_bio_signed.zip - [Click for QR Code] (7.97 MB, 3522 views)
File Type: zip HTCAmaze_camera_ported2EVO3D_v0_08_2048x1152_cdma_by_bio_signed.zip - [Click for QR Code] (7.97 MB, 4464 views)
File Type: zip HTCAmaze_camera_ported2EVO3D_v0_08_1920x1080_cdma_by_bio_signed.zip - [Click for QR Code] (7.97 MB, 4994 views)
File Type: apk HTCCamera_1920x1080_v0.08_by_bio.apk - [Click for QR Code] (6.26 MB, 1444 views)
File Type: apk HTCCamera_2048x1152_v0.08_by_bio.apk - [Click for QR Code] (6.26 MB, 1755 views)
File Type: apk HTCCamera_1920x1080_v0.10_by_bio.apk - [Click for QR Code] (6.26 MB, 1031 views)
File Type: apk HTCCamera_2048x1152_v0.10_by_bio.apk - [Click for QR Code] (6.26 MB, 1324 views)
File Type: zip HTCCamera_1920x1080_v0.10_by_bio_signed.zip - [Click for QR Code] (7.97 MB, 908 views)
File Type: zip HTCCamera_2048x1152_v0.10_by_bio_signed.zip - [Click for QR Code] (7.97 MB, 1161 views)
File Type: apk HTCCamera_1920x1080_v0.11_by_bio.apk - [Click for QR Code] (6.26 MB, 9645 views)
File Type: apk HTCCamera_2048x1152_v0.11_by_bio.apk - [Click for QR Code] (6.26 MB, 13673 views)
File Type: zip HTCCamera_1920x1080_v0.11_by_bio_signed.zip - [Click for QR Code] (7.97 MB, 8890 views)
File Type: zip HTCCamera_2048x1152_v0.11_by_bio_signed.zip - [Click for QR Code] (7.97 MB, 14060 views)
The Following 95 Users Say Thank You to igor.bezkrovny For This Useful Post: [ Click to Expand ]
 
n_god
Old
#2  
n_god's Avatar
Senior Member
Thanks Meter 111
Posts: 361
Join Date: Mar 2010
Location: BURSA

 
DONATE TO ME
You don't ned to deal with root explorer just download and install it. It works perfect on leedroid

Sent from PG86300
STOCK PADFONE 2
_______________
If helped click the thanks button
The Following 2 Users Say Thank You to n_god For This Useful Post: [ Click to Expand ]
 
snerism
Old
(Last edited by snerism; 15th October 2011 at 11:12 AM.) Reason: update
#3  
snerism's Avatar
Member
Thanks Meter 10
Posts: 87
Join Date: Jun 2006
Location: Dubai UAE
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..
---------------------------------------------------------------------------------------------------
-
HTC EVO 3D - GSM (krhoaks)
ROM: Virtuous Shooter v1.0.4
KERNEL: Unity v3 (system tuner: CPU@1.78GHz*192MHz-ondemand) UV -25v
RECOVERY: CWM Revolutionary 4.0.1.4 (shooter)
RADIO: 10.53.9020.00U_10.13.9020.08_2M
HBOOT: 1.49.0007
PHONE STATUS: S-OFF + SU + ROOT

PREVIOUS DEVICES:
HTC PDA2K (blue angel) > HTC Touch Diamond 2 (topaz) > HTC Desire HD (ace) > HTC Incredible S (vivo)
 
igor.bezkrovny
Old
#4  
Senior Member - OP
Thanks Meter 184
Posts: 136
Join Date: Aug 2011
Location: Kyiv
camera now works in both modes (2d + 3d)
The Following 4 Users Say Thank You to igor.bezkrovny For This Useful Post: [ Click to Expand ]
 
crisvillani
Old
#5  
Senior Member
Thanks Meter 155
Posts: 1,189
Join Date: Oct 2009
Location: Toronto

 
DONATE TO ME
Quote:
Originally Posted by igor.bezkrovny View Post
camera now works in both modes (2d + 3d)
Works great , good work!

Sent from my HTC EVO 3D X515m using xda premium
Nexus 4 : Atom Rom & Franco Kernel
Nexus 7: Stock rooted with motley kernel
 
benutzer1903
Old
#6  
Member
Thanks Meter 0
Posts: 35
Join Date: Sep 2011
Works great! Very gooooood

Sent from my HTC ShooterU using xda premium
 
harpss1ngh
Old
(Last edited by harpss1ngh; 15th October 2011 at 12:20 AM.)
#7  
Senior Member
Thanks Meter 59
Posts: 500
Join Date: May 2010
Location: London
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...
Samsung Galaxy S4 GT-I9505 [GSM]
Kernel: Stock by Samsung[3.0.1.6]
Phone Status: Root, Official
Baseband: XXUAME2
Recovery: Stock
Rom: Stock Jellybean 9505XXUAME2 [4.2.2]
SD Card: SanDisk microSDHC 32GB Class 2

HTC EVO 3D [GSM]
Kernel: Stock by HTC[3.0.1.6]
Phone Status: Root, S-OFF
Radio: 11.77.3504.00P_11.25.3504.06_M
Recovery: 4EXT Recovery Touch
Rom: mwakious3Drom 16.3 [4.0.3]
SD Card: SanDisk microSDHC 32GB Class 2

HTC Flyer 3G [GSM]
The Following User Says Thank You to harpss1ngh For This Useful Post: [ Click to Expand ]
 
Turge
Old
(Last edited by Turge; 15th October 2011 at 05:41 AM.)
#8  
Turge's Avatar
Recognized Developer
Thanks Meter 17960
Posts: 4,610
Join Date: Sep 2008
Location: Hamilton

 
DONATE TO ME
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, 1273 views)


Want to give something in return? Follow our project here.
 
kin24173493
Old
#9  
kin24173493's Avatar
Senior Member
Thanks Meter 18
Posts: 400
Join Date: Mar 2008
Location: Hong Kong
thanks very much. its great
 
FitzysHOX
Old
#10  
FitzysHOX's Avatar
Senior Member
Thanks Meter 37
Posts: 224
Join Date: Nov 2010
Location: Adelaide
Quote:
Originally Posted by Turge View Post
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..

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

Advanced Search
Display Modes