[MOD] HTCCamera.apk tweaked (2048x1152 in 3D) - deprecated
Check camera ported from AMAZE 4G at first - it is much better!
NOTE! Only for people who know what he do. Please read below.
1. iso 1250 enabled
2. hdr enabled
3. panorama enabled
4. Resolution for 3D camera is increased to 2048x1152
5. Long Tap to screen makes photo
6. Front Camera 2MP unlocked (but I can't see any difference)
7. Front Camera auto enhance enabled
8. I think, it is not difficult to increase sound bitrate for example to 160/192k. But Is there any sense for it?
There is no option to choose 3D camera resolution, so you always will shoot 2048x1152 with this mod. To check if it works you can upload 3D photo to PC and check it's resolution. Should be:
w: 2048 x 2 (4096)
If you found a bug:
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.
Method that I have used to install camera:
1. place it to /system/app/folder
2. EZ Explorer, select and press on file /system/app/htccamera.apk
3. install app
4. manage applications/camera/clear data
1. You probably will need to make system partition writable (gain rw access)
2. Link to camera disappears after installing. It is ok. Just remade link from ALL APPS
3. You probably will need to reboot your phone
4. You may try to fix permissions (via recovery or ROM Manager)
Tested only on:
HW: GSM EVO 3D HBOOT 1.007
SW: Virtuous Shooter 1.02, build.prop tweaked for 48MB per app heap.
Warning: I don't have problems with tweaked camera, but be careful! I'm posting camera "as is".
If camera works as it should (2048x1152), please post/pm me to know. Many Thanks
Thanks to m-deejay
for great Virtuous Shooter ROM. His camera was taken for base, so Panorama mode and settings with video bitrate are from his ROM. Other tweaks were made by myself.
I can't deodex HTCCamera.apk from CDMA ROMs, so I was unable to take anything from it.
HW information for geeks:
--- 3D Resolution ---
Tried to set different resolutions more than 2048x1152 for 3D.
- 2176 x 1216 - libcameraLN.so says "invalid picture size"
- 2048 x 1536, 2560 x 1920 - mm-camera( 142): do_mmap: pmem mmap() failed: Out of memory (12).
HTCCamera use libcameraLN.so (2D library) for stereo capture.
There is also libcameraSP.so (3D library). It has similar API, but with 3D postfix in API.
--- Burst Mode ---
Burst mode can't be activated with current version of libcameraNP.so.
(If I activate it, I see in the log:
10-14 10:58:43.577 I/CameraService( 4017): enable Burst Mode
10-14 10:58:43.577 I/CameraService( 4017): request picture count 1 max_burst_count -1
10-14 10:58:43.577 E/CameraService( 4017): Invalid picture count: 1)
If anyone have idias or source code of libcameraNP, I will try to fix it.