Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
igor.bezkrovny
Old
(Last edited by igor.bezkrovny; 16th October 2011 at 03:00 AM.)
#1  
Senior Member - OP
Thanks Meter 184
Posts: 136
Join Date: Aug 2011
Location: Kyiv
Smile [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.
Tweaked HTCCamera.apk:
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)
h: 1152

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

[Edited]
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".

Link: http://www.multiupload.com/RJGK5UEQWI

If camera works as it should (2048x1152), please post/pm me to know. Many Thanks

Credits:
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.
The Following 11 Users Say Thank You to igor.bezkrovny For This Useful Post: [ Click to Expand ]
 
hasbai
Old
#2  
hasbai's Avatar
Senior Member
Thanks Meter 28
Posts: 454
Join Date: Dec 2010
Location: Schweinfurt

 
DONATE TO ME
i cant install it

ROM] Crypt0's RUU V.1.3

thy
 
FaithCry
Old
#3  
FaithCry's Avatar
Senior Member
Thanks Meter 1704
Posts: 1,771
Join Date: Aug 2010
Quote:
Originally Posted by hasbai View Post
i cant install it

ROM] Crypt0's RUU V.1.3

thy
Try pushing it it via adb
you can find my ZGunner ROM, my original custom XHDPI/HDPI lockrings, and custom wallpapers here!

You can also find my old CM7 TRON Theme here!

follow me on g+

John 15:13
 
hasbai
Old
#4  
hasbai's Avatar
Senior Member
Thanks Meter 28
Posts: 454
Join Date: Dec 2010
Location: Schweinfurt

 
DONATE TO ME
have copy it with root explorer
now i have no camera
 
igor.bezkrovny
Old
(Last edited by igor.bezkrovny; 13th October 2011 at 07:50 PM.)
#5  
Senior Member - OP
Thanks Meter 184
Posts: 136
Join Date: Aug 2011
Location: Kyiv
Quote:
Originally Posted by hasbai View Post
have copy it with root explorer
now i have no camera
Check if your system partition is mounted for rw access.
1. Did you copied camera to right place ? (for Virtuous Shooter 1.02 it is /system/app/)
2. Did you successfuly installed it (with EZ or any other app)?
3. Link for camera after installing always disappear. Please check Camera in all applications and just remade link on desktop.
 
hasbai
Old
#6  
hasbai's Avatar
Senior Member
Thanks Meter 28
Posts: 454
Join Date: Dec 2010
Location: Schweinfurt

 
DONATE TO ME
partition is mounted with root explorer /system/app/
 
igor.bezkrovny
Old
#7  
Senior Member - OP
Thanks Meter 184
Posts: 136
Join Date: Aug 2011
Location: Kyiv
Quote:
Originally Posted by igor.bezkrovny View Post
Check if your system partition is mounted for rw access.
1. Did you copied camera to right place ? (for Virtuous Shooter 1.02 it is /system/app/)
2. Did you successfuly installed it (with EZ or any other app)?
3. Link for camera after installing always disappear. Please check Camera in all applications and just remade link on desktop.
Quote:
Originally Posted by hasbai View Post
partition is mounted with root explorer /system/app/
How about other steps?
 
hasbai
Old
#8  
hasbai's Avatar
Senior Member
Thanks Meter 28
Posts: 454
Join Date: Dec 2010
Location: Schweinfurt

 
DONATE TO ME
How about other steps?
 
Ganii
Old
#9  
Ganii's Avatar
Senior Member
Thanks Meter 667
Posts: 1,878
Join Date: Mar 2010
Location: Zell i.Fichtelgebirge

 
DONATE TO ME
ROM] Crypt0's RUU V.1.3,works for me.
I copied the modded Camera.apk to system/app,via RootExplorer
and then I choosed the same permissions for the new apk
such as in the old
Then did a reboot and no problems!
Like my work? Buy food for my cats

 
igor.bezkrovny
Old
#10  
Senior Member - OP
Thanks Meter 184
Posts: 136
Join Date: Aug 2011
Location: Kyiv
Quote:
Originally Posted by Ganii View Post
ROM] Crypt0's RUU V.1.3,works for me.
I copied the modded Camera.apk to system/app,via RootExplorer
and then I choosed the same permissions for the new apk
such as in the old
Then did a reboot and no problems!
thanks for reply

 
Post Reply+
Tags
mod camera tweaked
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...