motorola razr i camera unable to initialize

Nazgul1379

Member
Nov 5, 2011
45
0
6
I get a used razr i with this problem,and i did anything to fix it....
Factory reset,unlock bootloader,root,flashed custom ROM still nothing.
Also front camera and led flash do not work.
I get to divice/system/app folder reinstall camera app but i get error.
I get to apps/camera i deleted cache,i closed it, reopened but still nothing...
My ROM is KTR-ROM v1.12 but had this problem before
 

Hazou

Senior Member
Feb 5, 2012
1,542
2,103
0
Last thing u can try is doing a factory flash with rsd-lite. Use latest rsd-lite and latest official firmware for your phone.
If that doesn't work I am out of ideas for that one

Verstuurd van mijn GT-P5110
 

Hazou

Senior Member
Feb 5, 2012
1,542
2,103
0
Have correct Motorola drivers installed, use latest rsd-lite version 6.1.X. And always use correct actual (latest) firmware. Jellybean 4.1.2 and if u have EU firmware use EU, if BR use BR and so fort. Then nothing can go wrong.

Verstuurd van mijn GT-P5110
 

Hazou

Senior Member
Feb 5, 2012
1,542
2,103
0
Settings>system info (lowest one) and than look at system version. I don't have an English version so the names could be wrong. Mine is 91.2.26001.XT890.Retail.en.Eu so I need to have that one.

Verstuurd van mijn GT-P5110
 

Hazou

Senior Member
Feb 5, 2012
1,542
2,103
0
got the same problem.. no solution until now... what if the camera is disconnected?' is it possible?
Could be. Can u have a look at this directory (/sys/module) and see if it contains the following folders:

ov7736 (camera, front (i gues))
mt9e013 (camera back)
lm3556 (camera flash)

U may need a root explorer. But even non root could access this section as read only.
 

francoarg

Member
Nov 21, 2014
8
0
0
Could be. Can u have a look at this directory (/sys/module) and see if it contains the following folders:

ov7736 (camera, front (i gues))
mt9e013 (camera back)
lm3556 (camera flash)

U may need a root explorer. But even non root could access this section as read only.
I have look at sys/modules and there are all three folders.. Do i have to do something with that?
 

Hazou

Senior Member
Feb 5, 2012
1,542
2,103
0
I have look at sys/modules and there are all three folders.. Do i have to do something with that?
The modules are loaded correctly i assume. Can u make a logcat and a kernel logcat (kmsg/dmesg same) at the moment it gives the error. Might be a hardware problem indeed.
 

Hazou

Senior Member
Feb 5, 2012
1,542
2,103
0
i have not idea how to make logcat and kernel logcat
Search out how to get adb working. Then search out how to get a logcat and kmsg/dmesg working.
If u know how do the following:
1. ensure the device is connected, adb works and u have a terminal (cmd) open
2. execute the command "adb logcat > logcat.txt"
3. now open the camera till it gives the error
4. Close the terminal and post the logcat.

The same with the kernel but then:
1. ensure the device is connected, adb works and u have a terminal (cmd) open
2. execute the command "adb shell cat /proc/kmsg > kernellog.txt"
3. now open the camera till it gives the error
4. Close the terminal and post the logcat.
 

francoarg

Member
Nov 21, 2014
8
0
0
Search out how to get adb working. Then search out how to get a logcat and kmsg/dmesg working.
If u know how do the following:
1. ensure the device is connected, adb works and u have a terminal (cmd) open
2. execute the command "adb logcat > logcat.txt"
3. now open the camera till it gives the error
4. Close the terminal and post the logcat.

The same with the kernel but then:
1. ensure the device is connected, adb works and u have a terminal (cmd) open
2. execute the command "adb shell cat /proc/kmsg > kernellog.txt"
3. now open the camera till it gives the error
4. Close the terminal and post the logcat.
logcat of camera
D/Camera_HAL( 147): ATOM_GetCameraInfo

D/Camera_HAL( 147): ATOM_GetCameraInfo

D/Camera_HAL( 147): ATOM_GetCameraInfo

D/Camera_HAL( 147): ATOM_GetCameraInfo

I/CameraClient( 147): Opening camera 0

D/Camera_HAL( 147): ATOM_OpenCameraHardware

D/Camera_ISP( 147): Kernel with multiplexed preview and main devices detected

E/Camera_ISP( 147): Error stat video device /dev/video0: No such file or directory

W/Camera_ISP( 147): Open device 0 with fd -1

E/Camera_ISP( 147): V4L2: capture_open failed: No such file or directory

E/Camera_ISP( 147): Failed to open first device!

E/Camera_ControlThread( 147): Error initializing ISP with id 0

E/Camera_HAL( 147): Error initializing ControlThread

E/CameraClient( 147): Could not open camera 0: -19

E/CameraClient( 147): initialize: Camera 0: unable to initialize device: No such device (-19)

I/CameraClient( 147): Destroying camera 0

W/CameraBase( 4878): An error occurred while connecting to camera: 0
 

Hazou

Senior Member
Feb 5, 2012
1,542
2,103
0
Get the output of "adb shell lsmod"

Get a file manager and go to root. See if u can find in the folder dev: video0, video1, video2
 

francoarg

Member
Nov 21, 2014
8
0
0
Get the output of "adb shell lsmod"

Get a file manager and go to root. See if u can find in the folder dev: video0, video1, video2
wl12xx_sdio 12640 0 - Live 0x00000000
wl12xx 141661 0 - Live 0x00000000
mac80211 230650 1 wl12xx, Live 0x00000000
cfg80211 136760 2 wl12xx,mac80211, Live 0x00000000
compat 12450 0 - Live 0x00000000
atomisp 345090 0 - Live 0x00000000
lm3556 12336 0 - Live 0x00000000
ov7736 20600 0 - Live 0x00000000
lc898211 12336 0 - Live 0x00000000
mt9e013 28720 0 - Live 0x00000000
videobuf2_memops 12435 1 atomisp, Live 0x00000000
videobuf2_core 20968 1 atomisp, Live 0x00000000
gps_drv 12515 2 - Live 0x00000000
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone