[Dev][Help] Camera Crash Radio 6.35 - myTouch 3G, Magic Android Development

Ok so i've pretty much found the problem i just need some help finding the solution.
Ok so using my kernel i booted up on cursor's rom and then booted up on my super D rom and took an adb logcat of both starting up the camera. My kernel isn't the problem as it loaded cursors fine. I copied libhtc_acoustic, libcamera, libqcamera, and libcameraservice from cursors rom.
Ok so here's the difference in ADB logcat. Both roms make it to
Code:
V/QualcommCameraHardware( 41): setParameters: X mCameraState=1
fine but the next line the working one says
Code:
V/CameraThread( 491): START_PREVIEW - Camera setPreviewDisplay()
and the broken one says
Code:
V/camera ( 340): startPreview
i looked back and i found that the working one had a chunk of V/CameraThread's that the broken one didn't.
So basically i just need to figure out what file is missing that executes CameraThread (correct me if i'm wrong)
I've uploaded the logcat's if you're interested
OK so i tested with the libs from RA's rom (a donut rom for radio 6.22) and i the line that was broken in the other code seems to be working now. Could anyone running RA's rom post the logcat of them starting up the camera so i can compare? Uploading logcat now
looks like to me the problem with this one is caused by msm_camera
When it says no such file in /dev/etc. where is that? anyone know how i can take a look at that area of stuff?
Code:
E/QualcommCameraHardware( 56): startCamera X: /dev/msm_camera/control0 open failed: No such file or directory!
E/QualcommCameraHardware( 56): ioctl error. camfd=-1, type=21, length=4, rc=-1, ctrlCmd.status=49168, Bad file number
E/QualcommCameraHardware( 56): ioctl error. camfd=-1, type=15, length=4, rc=-1, ctrlCmd.status=49224, Bad file number
E/QualcommCameraHardware( 56): ioctl error. camfd=-1, type=14, length=4, rc=-1, ctrlCmd.status=49296, Bad file number
...
E/QualcommCameraHardware( 56): ioctl error. camfd=-1, type=21, length=4, rc=-1, ctrlCmd.status=50224, Bad file number
E/QualcommCameraHardware( 56): ioctl error. camfd=-1, type=15, length=4, rc=-1, ctrlCmd.status=50416, Bad file number
E/QualcommCameraHardware( 56): ioctl error. camfd=-1, type=14, length=4, rc=-1, ctrlCmd.status=50352, Bad file number
...
E/QualcommCameraHardware( 56): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 56): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 56): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 56): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 56): ioctl error. camfd=-1, type=1, length=28, rc=-1, ctrlCmd.status=13297, Bad file number
E/QualcommCameraHardware( 56): startPreview X initPreview failed. Not starting preview.
Thanks for your time
Sphaerophoria

Maybe sanpei could help with this. He was able to make the camera work on 6.35 radio.

did some hard searching and still no luck... i'm sure it's not a kernel problem as i tested it with other working kernels out there any chance that it could be some other file located around the system somewhere?

See, I got thinking that maybe there is some file that is specific to 32A roms that seems to make the camera work, since roms built from the AOSP (Sanpei's) or dumped from 32A models (Fender) seem to have no problem.
I'm beginning to think maybe there is more to porting that we originally thought.

skittleguy said:
See, I got thinking that maybe there is some file that is specific to 32A roms that seems to make the camera work, since roms built from the AOSP (Sanpei's) or dumped from 32A models (Fender) seem to have no problem.
I'm beginning to think maybe there is more to porting that we originally thought.
Click to expand...
Click to collapse
Ya i saw that post but didn't know how to contribute sorry ya i tried to replace the camera libs with the one from the fender but it didn't boot... maybe i'll try that again and look at the logcat's properly... i know that's not really what you were telling me to do but it just sparked my mind

same error... that's a shame

Related

[ROM][32B/MT3G] 'Stock' T-mob DRD35 (swype ROM) w/root

->current release<-
->RAM hack,CPU_FREQ 384000/528000<-
Stock DRD35 (swype ROM) w/root
built updated kernel (oldconfig) w/ netfilter
signed and ready to flash
Code:
#
# build.prop EDITS
#
ro.ril.hep=1
ro.ril.hsxpa=1
ro.ril.enable.dtm=1
ro.ril.gprsclass=10
ro.ril.hsdpa.category=8
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask = 4294967295
ro.ril.htcmaskw1 = 14449
ro.ril.hsupa.category = 5
ro.setupwizard.mode=OPTIONAL
#ro.com.android.dataroaming=false
ro.modversion=OpCode1300_Mod-v1
Code:
#
# default.prop EDITS
#
ro.secure=0
ro.allow.mock.location=0
ro.debuggable=1
persist.service.adb.enable=1
Thanks to:
Cyanogenmod (apn-conf.xml)
Amon_RA (busybox,network settings,update-script)
daproy (RAM Hack Kernel source)
32B right?
opcode1300 said:
->HERE<-
Stock DRD35 (swype ROM) w/root
built updated kernel (oldconfig) w/ netfilter
signed and ready to flash
Click to expand...
Click to collapse
You just did the exact same thing I did, at the same time. I just recompiled the kernel with netfilter support too!
cursordroid said:
You just did the exact same thing I did, at the same time. I just recompiled the kernel with netfilter support too!
Click to expand...
Click to collapse
lol your all kinds of busy today arent you. wish i knew more about all this to help more.
cursordroid said:
You just did the exact same thing I did, at the same time. I just recompiled the kernel with netfilter support too!
Click to expand...
Click to collapse
nice! the rom part was quick, signing sucked lol (java issues)
fabbio87 said:
32B right?
Click to expand...
Click to collapse
yep.
5 downloads.. any feedback?
ok, guess i didnt do as well as i thought, will have an update soon
chasing down some issues.. anyhelp
01-26 00:07:45.227: ERROR/RIL Acoustic(49): can't open /dev/htc-acoustic -1
01-26 00:07:47.457: ERROR/HTC Acoustic(51): Fail to open /system/etc/AudioPara_TMUS.csv -1.
01-26 00:08:01.317: ERROR/libEGL(88): h/w accelerated eglGetDisplay() failed (EGL_SUCCESS)
01-26 00:08:05.817: ERROR/PackageManager(88): Package org.zenthought.android.su has no signatures that match those in shared user android.uid.system; ignoring!
01-26 00:08:38.107: ERROR/ApplicationContext(88): Couldn't create directory for SharedPreferences file shared_prefs/wallpaper-hints.xml
01-26 00:09:35.031: ERROR/vold(47): Unable to lookup media '/devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0:0001'
01-26 00:09:35.031: ERROR/vold(47): Error processing uevent msg (No such file or directory)
01-26 00:09:36.291: ERROR/GTalkService(203): [ERROR: GTalkConnection.12] xmppError = null Connection failed. No response from server.
01-26 00:09:43.231: ERROR/wlan_loader(473): Cannot open eeprom image file </proc/calibration>: No such file or directory
01-26 00:09:43.231: ERROR/wlan_loader(473): init_driver() failed
opcode1300 said:
01-26 00:07:45.227: ERROR/RIL Acoustic(49): can't open /dev/htc-acoustic -1
01-26 00:07:47.457: ERROR/HTC Acoustic(51): Fail to open /system/etc/AudioPara_TMUS.csv -1.
01-26 00:08:01.317: ERROR/libEGL(88): h/w accelerated eglGetDisplay() failed (EGL_SUCCESS)
01-26 00:08:05.817: ERROR/PackageManager(88): Package org.zenthought.android.su has no signatures that match those in shared user android.uid.system; ignoring!
01-26 00:08:38.107: ERROR/ApplicationContext(88): Couldn't create directory for SharedPreferences file shared_prefs/wallpaper-hints.xml
01-26 00:09:35.031: ERROR/vold(47): Unable to lookup media '/devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0:0001'
01-26 00:09:35.031: ERROR/vold(47): Error processing uevent msg (No such file or directory)
01-26 00:09:36.291: ERROR/GTalkService(203): [ERROR: GTalkConnection.12] xmppError = null Connection failed. No response from server.
01-26 00:09:43.231: ERROR/wlan_loader(473): Cannot open eeprom image file </proc/calibration>: No such file or directory
01-26 00:09:43.231: ERROR/wlan_loader(473): init_driver() failed
Click to expand...
Click to collapse
Fixed, was an issue w/ su.
updated 1st post w/ new release
hello
this rom in english and espagnol
it's possible to add the french language ????
thanks
added ram hack / over clock mod

[Q][JB on msm8960]qcom propritary adreno driver fails while android(JB) is booting

Dear All,
I am porting JB for QCom's msm8960 architecture (specifically for APQ8060A boards). I have downloaded several MSM8960
specific Code aurora releases and compiled them for msm8960. I have also downloaded Adreno user space drivers binaries.
After successful compilation when I run the Android image on the board, But a graphics related issue occurs.
'/system/bin/bootanimation' is not able to display anything on the screen and receives error while executing
eglSwapBuffers. Following are the Android 'main' logs for the error.
...
E/libEGL ( 515): eglApi.cpp : [eglSwapBuffers] dp->disp.dpy:1, s->surface:1
W/Adreno200-EGLSUB( 515): <GetBackBuffer:2172>: handle base address is NULL
W/Adreno200-ES20( 515): <gl2_surface_swap:43>: GL_OUT_OF_MEMORY
W/Adreno200-EGL( 515): <qeglDrvAPI_eglSwapBuffers:3477>: EGL_BAD_ALLOC
E/libEGL ( 515): [eglSwapBuffers] result = 0
...
W/Adreno200-EGLSUB( 515): <GetBackBuffer:2172>: handle base address is NULL
W/Adreno200-EGL( 515): <qeglDrvAPI_eglSwapBuffers:3477>: EGL_BAD_ALLOC
E/BootAnimation( 515): [BootAnimation.cpp][android] retval of eglSwapBuffers = 0
W/Adreno200-GSL( 515): <gsl_ldd_control:225>: ioctl code 0x40040921 (IOCTL_KGSL_SHAREDMEM_FREE) failed: errno 22 Invalid argument
...
Please let me know if any one of you has faced such problem.
I was doubting that Adreno user space drivers which I downloaded explicilty from QCom's website are not compatible with
the Android release, Therefore I tried with several Android releases but nothing works and shows the same error always.
Regards,
Nitin

aosp kitkat4.4 nexus 7(deb) not boot

hi all:
i download aosp kitkat4.4 source codes from google website. i compiled the code. i got the ROM.but when i flash the ROM to my device nexus 7(deb). it cannot boot.
from the log. i found that following error log. the sentence "couldn't find an OpenGL ES implementation" maybe cause the fatal question.
any advices is welcomed !
thank
brian
02-10 08:37:07.375: E/QCOMKeyMaster(17633): failed to load qseecom library
02-10 08:37:07.375: E/keystore(17633): could not open keymaster device in keystore (Operation not permitted)
02-10 08:37:07.375: E/keystore(17633): keystore keymaster could not be initialized; exiting
02-10 08:37:07.405: A/libEGL(17630): couldn't find an OpenGL ES implementation
02-10 08:37:07.405: A/libc(17630): Fatal signal 6 (SIGABRT) at 0x000044de (code=-6), thread 17630 (surfaceflinger)
02-10 08:37:07.575: E/msm8960_platform(17632): platform_init: DLOPEN failed for libacdbloader.so
02-10 08:37:07.575: E/msm8960_platform(17632): platform_init: DLOPEN failed for libcsd-client.so
02-10 08:37:07.575: E/MonoPipe(17632): Failed to fetch local time frequency when constructing a MonoPipe (res = -32). getNextWriteTimestamp calls will be non-functional

help me to know how to fix logcat problems

hi
i build a rom and it doesn't boot
i get a logcat and show these errors
E/NetlinkEvent( 152): NetlinkEvent::FindParam(): Parameter 'SWITCH_NAME' not found
E/Trace ( 1056): error opening trace file: No such file or directory (2)
E/HTC Acoustic( 1056): Fail to open /system/etc/AudioPara_HTC-GCC.csv -1.
E/BandwidthController( 1057): runIptablesCmd(): failed /system/bin/iptables -t raw -N bw_raw_PREROUTING res=256
E/AudioHardwareMSM76XXA( 1056): AudioStreamOutMSM72xx: Setting up correct values
E/dalvikvm( 1196): ERROR: couldn't find native method
E/dalvikvm( 1196): Requested: Ljava/lang/Daemons;.isShippingRom)Z
E/JNIHelp ( 1196): RegisterNatives failed for 'java/lang/Daemons', aborting
Click to expand...
Click to collapse
ok
These are my questions:
1.wich error is must intresting? and wich can be The main cause?
2.is these errors goes from kernel? how can i fix these?
devs please help me
tnx:crying:

[msm8939][meizu][camera]dlopen failed: could not load library "libcam.meiyan.so" need

[msm8939][meizu][camera]dlopen failed: could not load library "libcam.meiyan.so" need
Hello,
Could you please help me?
Platform:meizu m1note msm8939
I ported from flyme to miui.
The camera has problem.
I got the error:
dlopen failed: could not load library "libcam.meiyan.so" needed by "camera.msm8916.so";
caused by cannot locate symbol "_ZN11CBeautyShot18SetSkinBrightLevelEl" referenced by "libcam.meiyan.so"...
About symbol "_ZN11CBeautyShot18SetSkinBrightLevelEl",
I found it at:
m463c/rom/update/system $ g CBeautyShot
Binary file ./lib/libarcsoft_beauty_shot.so matches
Binary file ./lib/libcam.meiyan.so matches
And I push them to my phone.
But I still get the error.
Who can help me? Thank you very much.
I have been debugging for several days.
01-02 08:17:52.901 I/libmdmdetect( 351): Found internal modem: modem
01-02 08:17:52.901 E/QC-QMI ( 272): qmi_client [272]: unable to connect to server, errno=[2:No such file or directory], attempt=1
01-02 08:17:52.901 E/QC-QMI ( 351): qmi_client [351]: unable to connect to server, errno=[2:No such file or directory], attempt=1
01-02 08:17:52.901 I/ThermalEngine( 288): Sensor:tsens_tz_sensor3:80000 mC
01-02 08:17:52.941 E/HAL ( 276): load: module=/system/lib/hw/camera.msm8916.so
01-02 08:17:52.941 E/HAL ( 276): dlopen failed: could not load library "libcam.meiyan.so" needed by "camera.msm8916.so"; caused by cannot locate symbol "_ZN11CBeautyShot18SetSkinBrightLevelEl" referenced by "libcam.meiyan.so"...
01-02 08:17:52.941 E/CameraService( 276): Could not load camera HAL module
01-02 08:17:52.941 I/mediaserver( 276): ListenService instantiated
01-02 08:17:52.941 V/ListenService( 276): instantiate entered
01-02 08:17:52.941 V/ListenService( 276): getInstance entered, mNumInstances currently 0
Eismog
my-mail:[email protected]
Is there anyone who can help me?

Categories

Resources