Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,772,395 Members 47,141 Now Online
XDA Developers Android and Mobile Development Forum

[UPDATED 04/29][DEV - Camera ( camcorder improvement ) ] Camera tests

Tip us?
 
viruscrazy
Old
(Last edited by viruscrazy; 29th April 2011 at 08:03 PM.) Reason: New camcorder libraries
#1  
Senior Member - OP
Thanks Meter 130
Posts: 213
Join Date: Apr 2008
Default [UPDATED 04/29][DEV - Camera ( camcorder improvement ) ] Camera tests

Hi,

Here is a "test" package for camera under android.

IMPORTANT : this thread will only deal with XDANDROID Rom. Cyanogen's mod or any else might not work if camera have not been enabled in userland (checkered camera screen).

Current working devices are :
-Diamond
-Rhodium
-Raphael
-Blackstone
-Topaz

This package allow camera to be used for picture but video will fail (bug fixed, will soon publish libs).

I need some people to test it (I've tested it but when you are working on something for a long time, you sometimes need external testers...because you know where it may bug and you don't really want that so you avoid those use cases...)

1/ MAKE A BACKUP of the system.ext2, rootfs.img and data.img files so that you can revert back to normal state if something goes wrong
2/ See intructions in the 22/01/2011 update.
3/ If you have a CMDA rhodium, add the following content to the startup.txt file :
Code:
board-htcrhodium.is_cdma=1
This is a quick hack to detect CDMA board till I make it as the other board do.
4/ Replace the kernel + modules with the ones provided in the latest update.

Any feedback is welcome. If you're experiencing problems, please attach a dmesg log and logcat log so that I can analyze them. If I don"t have those files, I probably won't be able to do anything to help you.
THIS THREAD IS FOR PEOPLE WHO KNOW HOW TO USE ANDROID AND ADB. Others, wait for the final release in the common tree.

Source tree : http://gitorious.org/~jbruneaux/linu...-msm-home-work (lot of changes almost every days as used as a gateway between computers)

[23/02/2011] :
* New kernel for rhodium only. This is an attempt to fix the pink screen problem.

Link to the package : http://www.4shared.com/file/OMMJkB4Q..._02232011.html

[29/04/2011] :
* New libraries for camcorder to enable the hardware codecs for video recording.
These libraries will make camcorder use the hardware accelerated codecs for qualcomm hardware. That will make quite good quality videos (much more than the software codec actually used) and will also make sound recording work with video.

Link to the libraries : http://www.4shared.com/file/fLEiesLy...xdandroid.html

Please also patch your froyo.user.conf with those two lines :

Code:
mount --bind /sdcard/lib_camera/libOmxCore.so /system/lib/libOmxCore.so
mount --bind /sdcard/lib_camera/libmm-omxcore.so /system/lib/libmm-omxcore.so
Note that these libraries are to be used with the official xdandroid FROYO build (FRX05 or later) and the official kernel/modules.

Don't use the kernels / libraries (except the 29/04/2011 camcorder libs) from this thread, they are now included in the offical release.




Once again : if you have a crash or a bad behaviour, please make a dmesg log + logcat log ! I can't work without these files. Thanks


PLEASE, READ CAREFULLY BEFORE POSTING AND CHECK FOR ANSWERS IN THE POSTS !


IMPORTANT : If the camera does not work, first, try to find the solution by yourself in this thread, then send me dmesg log + logcat of the boot and camera start.

Thanks to bzo for its modified libGLES_qcom and its work on rhodium (working hard on camera). Thanks to everyone who helped me with testings and logs.
Attached Files
File Type: zip haret.zip - [Click for QR Code] (64.6 KB, 4639 views)
The Following 57 Users Say Thank You to viruscrazy For This Useful Post: [ Click to Expand ]
 
arrrghhh
Old
#2  
Retired Forum Moderator / Recognized Developer
Thanks Meter 3477
Posts: 11,112
Join Date: Feb 2007

 
DONATE TO ME
Awesome... I was hoping this would make its way out into the wild soon!
 
viruscrazy
Old
#3  
Senior Member - OP
Thanks Meter 130
Posts: 213
Join Date: Apr 2008
Hi,
before release, i wanted to make clocks working without rpc calls, that's why it took longer. Now, the code is "cleaner" and should work for any device (with small adjustments for amss and memories configuration).

Jerome
The Following 2 Users Say Thank You to viruscrazy For This Useful Post: [ Click to Expand ]
jianC Old
#4  
Guest
Thanks Meter
Posts: n/a
Testing on Fuze.

Edit: Does not work, Haret freezes on boot..
 
xUmaRix
Old
#5  
Senior Member
Thanks Meter 11
Posts: 267
Join Date: Apr 2008
i encounter this when playing around with angry bird.

Code:
msm_proc_comm_wince: DEX Code not match! a2m[0x8a], m2a[0x0], a2m_num[0x7b5], m2a_num[0x7b5]
MB860 Motorola Atrix 4G AT&T Unlocked
Build : cm-9-20120628-UNOFFICIAL-olympus Jokersax 0.7.0.0
Kernel : 2.6.32.59-MB860-Atrix-CM9-Kernel-026b1-ext4-1.30GHz
Baseband:N_01.100.00R
W̶e̶b̶t̶o̶p̶:̶W̶T̶-̶1̶.̶2̶.̶0̶-̶1̶1̶0̶
Movies scoop?
 
vitusdoom
Old
#6  
vitusdoom's Avatar
Senior Member
Thanks Meter 14
Posts: 240
Join Date: Dec 2009
Location: Auckland
whooooopieee! trying it out
jianC Old
#7  
Guest
Thanks Meter
Posts: n/a
Haret does not boot with included kernel...
 
vitusdoom
Old
#8  
vitusdoom's Avatar
Senior Member
Thanks Meter 14
Posts: 240
Join Date: Dec 2009
Location: Auckland
test diam100:

tried this on a donut version. Camera aint working. hehehe. but it has green crash on it.
 
vitusdoom
Old
#9  
vitusdoom's Avatar
Senior Member
Thanks Meter 14
Posts: 240
Join Date: Dec 2009
Location: Auckland
Great one. works great. the bad thing is, hardware buttons wont work after sleep on diam100. I don't know why. can anyone with diam100 comfirm on this?
 
lorikitty
Old
(Last edited by lorikitty; 23rd December 2010 at 02:55 AM.)
#10  
lorikitty's Avatar
Member
Thanks Meter 10
Posts: 63
Join Date: Jun 2010
Location: Bay Area, CA
everything copies successfully except gralloc.msm7k.so. The folder is unwriteable through ssh. Any suggestions for getting it moved?
it says it's a read-only file system. do I need to be in a different mode other than through adb in order to mount the file as rw?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes