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 :
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/linux-on-qualcomm-s-msm/linux-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/kernel_modules_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/libomx_xdandroid.html
Please also patch your froyo.user.conf with those two lines :
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.
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
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/linux-on-qualcomm-s-msm/linux-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/kernel_modules_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/libomx_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.
Attachments
Last edited: