Search This thread

texten

Senior Member
Apr 4, 2012
1,309
1,506
ok steps for working frontcam (by Cpt. Captain)

- Arcos Alpha 3
- Oisis Camera_experimental-0.1.zip
- wipe Cache
- wipe Dalvik
- fix permissions

he tested some thirdpart apps and then
he started stock cam, it was workíng, but he couldnt take pictures, he played around with the options, clicked on the shutter of video, he switched to frontcam and videorecording was working.

now we are all waiting for your logcat Cpt. Captain ;)


and here it is (it looks good with the app "alogcat" .you all can use this app from google play store for making logcat. so i hope we will become more next time :D
:

http://dl.dropbox.com/u/49291099/alogcat.2012-05-24-22-28-21%2B0200.txt

thanks to Cpt. Captain (he can't post here, because he hasn't enough posts)


new info: he reported also, AUDIO was working in videorecording with frontcam

he can play the recorded videofile with sound.
edit: but the videos rotated on device 180° and on pc 90° by playback..
he said the camera is only working after some tries. but if it is working than he can open the cam again and again successfuly


edit: here is a logcat of a failed try (from Cpt. Captain )
http://dl.dropbox.com/u/49291099/alogcat.2012-05-24-23-30-15%2B0200.txt
 
Last edited:

Xistance

Senior Member
Dec 20, 2011
1,002
3,738
It would be even better if that stuff worked for everyone >.<

Sent from my GT-I9001 using xda premium
 

Xistance

Senior Member
Dec 20, 2011
1,002
3,738
videorecording with dhd camera?

Yeah, just tested. It works but only for one time at boot. It would be great if we could fix this :/. Oh and I can confirm audio being recorded as well.

Edit: Seems we don't have to reboot just to test. It works after uninstalling an app as well...

Sent from my GT-I9001 using xda premium
 
Last edited:

wintel_mac

Senior Member
Jun 20, 2011
452
181
Nuremberg
In ICS we have only:
-rw-r--r-- root root 131416 2008-08-01 14:00 libcamera.so
-rw-r--r-- root root 129856 2008-08-01 14:00 libcamera_client.so
-rw-r--r-- root root 55424 2008-08-01 14:00 libcameraservice.so
-rw-r--r-- root root 582228 2008-08-01 14:00 liboemcamera.so
So maybe try to add missing libs :). And logcat :).

Sorry, I'm out for the next 5 days and can not flash things on my phone. Maybe someone else could be so kind to try it and see if it changes anything?

Sent from my iPad2 with Tapatalk
 

mobuch

Senior Member
Nov 14, 2010
87
41
Gdańsk
Sorry, I'm out for the next 5 days and can not flash things on my phone. Maybe someone else could be so kind to try it and see if it changes anything?

Sent from my iPad2 with Tapatalk

Copied all *camera* and *vi* files grepped out of GB but ICS is stuck on boot.
Will restore and copy only those non-existing to see if it blows up.

Restored ics libs, copied missing GB libs, behaviour is as without those files: can take shots with camerazoomfx and puddingcam (back camera) but fc on video and freezes on switching to front cam. Time to bed... will try to play a little tomorrow, upload logs an stuff..
 
Last edited:

texten

Senior Member
Apr 4, 2012
1,309
1,506
i think i will flash cm9 again right now and will test some camera.apk's and camera tweaks


what can i also do?
give me some homework oisis, i have some hours time to test :p

edit:
i made this command with logcat:
type logcat.txt | findstr camera > nwelogcat.txt

is that output right?

Code:
W/PackageManager(  289): Package com.android.camera desires unavailable shared library com.google.android.media.effects; ignoring!

I/ActivityManager(  289): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera/.Camera bnds=[0,556][120,707]} from pid 600

I/ActivityManager(  289): Start proc com.android.camera for activity com.android.camera/.Camera: pid=964 uid=10008 gids={1006, 1015}

I/ActivityManager(  289): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera/.Camera bnds=[0,556][120,707]} from pid 600

E/AndroidRuntime(  964): 	at com.android.camera.CameraErrorCallback.onError(CameraErrorCallback.java:31)

W/ActivityManager(  289):   Force finishing activity com.android.camera/.Camera

W/ActivityManager(  289): Activity pause timeout for ActivityRecord{4105dca0 com.android.camera/.Camera}

I/ActivityManager(  289): Process com.android.camera (pid 964) has died.

I/WindowManager(  289): WIN DEATH: Window{41090f30 com.android.camera/com.android.camera.Camera paused=false}

I/ActivityManager(  289): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera/.Camera bnds=[0,556][120,707]} from pid 600

I/ActivityManager(  289): Start proc com.android.camera for activity com.android.camera/.Camera: pid=1035 uid=10008 gids={1006, 1015}

I/ActivityManager(  289): START {act=android.media.action.VIDEO_CAMERA flg=0x6000000 cmp=com.android.camera/.VideoCamera} from pid 1035

W/ActivityManager(  289): Activity destroy timeout for ActivityRecord{4105dca0 com.android.camera/.Camera}

I/InputDispatcher(  289): Application is not responding: Window{410bfe68 com.android.camera/com.android.camera.VideoCamera paused=false}.  7538.5ms since event, 5062.9ms since wait started

I/QualcommCameraHardware( 1107): getCameraInfo: loading libqcamera at 0xb000ed0c

I/QualcommCameraHardware( 1107): camera_id: 0

I/QualcommCameraHardware( 1107): camera_id: 1

V/QualcommCameraHardware( 1107): getCameraInfo: dlclose(libqcamera)

I/CameraHAL( 1107): camera_get_number_of_cameras: number:2

W/PackageManager( 1135): Package com.android.camera desires unavailable shared library com.google.android.media.effects; ignoring!
 
Last edited:

BzArEx

Senior Member
Nov 30, 2011
306
77
Rzeszow
Is it just me but after doing this it made the camera lens really hot? Might just be me o_O

Sent from my GT-I9001 using xda premium

Lens heating up really, I didn't use camera much and I can't tell, but maybe this is normal. But probably not.
OP please add a specific warning to 1st post that could be dangerous to device itself.

Sent from my GT-I9001 using xda premium
 
Last edited:

texten

Senior Member
Apr 4, 2012
1,309
1,506
Lens heating up really, I didn't use camera much and I can't tell, but maybe this is normal. But probably not.
OP please add a specific warning to 1st post that could be dangerous to device itself.

Sent from my GT-I9001 using xda premium

can confirm.
i will try with another cpu setup.
edit: seems to be better with max 1200 and powersave

edit:
(all tests will be without gapps and simcard)
here is a first logcat (logcat01.txt), after fresh install and flash of experimental_cam-01
bootup, open cam, switch to video, press record button... racording starts, force close / reboot of bootanimation while tried to stop the record..

logcat01.txt

taking panorama pictures with stock cam works without any issues (logcat02.txt):

logcat02.txt
 
Last edited:

texten

Senior Member
Apr 4, 2012
1,309
1,506
snipped..
EDIT1:
This combination with libs and Arco "wrapper" will work also on i8150. Thanks for Arco of course, well done.

yes, and i think they have to replace the firmware folder and the mdia_profile.xml withe the ones of their latest gingerbread ...




In ICS we have only:
-rw-r--r-- root root 131416 2008-08-01 14:00 libcamera.so
-rw-r--r-- root root 129856 2008-08-01 14:00 libcamera_client.so
-rw-r--r-- root root 55424 2008-08-01 14:00 libcameraservice.so
-rw-r--r-- root root 582228 2008-08-01 14:00 liboemcamera.so
So maybe try to add missing libs :). And logcat :).

Copied all *camera* and *vi* files grepped out of GBS but ICS is stuck on boot.
Will restore and copy only those non-existing to see if it blows up.

Restored ics libs, copied missing GB libs, behaviour is as without those files: can take shots with camerazoomfx and puddingcam (back camera) but fc on video and freezes on switching to front cam. Time to bed... will try to play a little tomorrow, upload logs an stuff..



added these attached files to ics.
nothing new. after reboot, started cam (no picture visibile) switched to frontcam -> camera not found. (logcat03.txt)

----
i have also tried some other camera apk's from htc desire s, from sony xperia mini,mini pro, neo etc and from u8860... they all shows blackscreen or fc's (only with camera_experimental-01.zip)

kamera ics+ from google play store works like the stock cam very unstable, there is no need to buy this ;)


i think we should try some media_profile.xml
 

Attachments

  • kqb_missed_libs_in_ics.rar
    1.1 MB · Views: 19
  • logcat03_with_missing_kqb_libs.txt
    152.4 KB · Views: 7
Last edited:
  • Like
Reactions: Keinbockwurst

texten

Senior Member
Apr 4, 2012
1,309
1,506
i have added the camera.apk and from cm7 to /system/app
videorecording is successfully working only on frontcamera(it is also unstable, for example sometimes the rotation is wrong).

when switching to backcam the camera is not found but sometimes the app starts directly with backcam and you can record videos, but you can not stop the recording, fc. (just another advice that maybe the media_profile.xml is not the best)

here is a logcat with videorecording on backcam and fc ... and successfully recording with frontcam with cm7 camera apk and missed kqb libs for ics (from post above) (logcat10.txt):

..............

edit: logcat20.txt with replaced media_profile.xml from cm7 and camera from cm7 and missed kqb libs for ics (from post above) ... first try successfuly recording video with frontcamera, after that switch to backcam - camera not found

we need a camera.apk and a media_profile.xml from a working ics from a similar device - just for testing

.............

edit: here is my last logcat so far. for the next days i can't test....
added missed kqb libs for ics (from post above) and i have replaced the media_profile.xml and the camera.apk with the ones of italianguy.
i was testing a little bit, it seems the autofocus is working... (the focus frame is not red, it is green)
ok, but it was always unstable. so no logcat of these tests.

but one logcat with these files and these steps -> switching to front cam camera not found, second try open the camera app, camera not found (logcat30.txt)

......
sorry, my concentration is gone, i'm tired. good night.
 

Attachments

  • logcat10.txt
    249.1 KB · Views: 3
  • logcat20.txt
    245 KB · Views: 2
  • logcat30.txt
    176.4 KB · Views: 4
  • cm7files.rar
    328 KB · Views: 13
Last edited:
  • Like
Reactions: wintel_mac

oisis

Senior Member
Oct 9, 2008
1,251
2,095
Out of nowhere
i think i will flash cm9 again right now and will test some camera.apk's and camera tweaks


what can i also do?
give me some homework oisis, i have some hours time to test :p

edit:
i made this command with logcat:
type logcat.txt | findstr camera > nwelogcat.txt

is that output right?

Code:
W/PackageManager(  289): Package com.android.camera desires unavailable shared library com.google.android.media.effects; ignoring!

I/ActivityManager(  289): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera/.Camera bnds=[0,556][120,707]} from pid 600

I/ActivityManager(  289): Start proc com.android.camera for activity com.android.camera/.Camera: pid=964 uid=10008 gids={1006, 1015}

I/ActivityManager(  289): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera/.Camera bnds=[0,556][120,707]} from pid 600

E/AndroidRuntime(  964): 	at com.android.camera.CameraErrorCallback.onError(CameraErrorCallback.java:31)

W/ActivityManager(  289):   Force finishing activity com.android.camera/.Camera

W/ActivityManager(  289): Activity pause timeout for ActivityRecord{4105dca0 com.android.camera/.Camera}

I/ActivityManager(  289): Process com.android.camera (pid 964) has died.

I/WindowManager(  289): WIN DEATH: Window{41090f30 com.android.camera/com.android.camera.Camera paused=false}

I/ActivityManager(  289): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera/.Camera bnds=[0,556][120,707]} from pid 600

I/ActivityManager(  289): Start proc com.android.camera for activity com.android.camera/.Camera: pid=1035 uid=10008 gids={1006, 1015}

I/ActivityManager(  289): START {act=android.media.action.VIDEO_CAMERA flg=0x6000000 cmp=com.android.camera/.VideoCamera} from pid 1035

W/ActivityManager(  289): Activity destroy timeout for ActivityRecord{4105dca0 com.android.camera/.Camera}

I/InputDispatcher(  289): Application is not responding: Window{410bfe68 com.android.camera/com.android.camera.VideoCamera paused=false}.  7538.5ms since event, 5062.9ms since wait started

I/QualcommCameraHardware( 1107): getCameraInfo: loading libqcamera at 0xb000ed0c

I/QualcommCameraHardware( 1107): camera_id: 0

I/QualcommCameraHardware( 1107): camera_id: 1

V/QualcommCameraHardware( 1107): getCameraInfo: dlclose(libqcamera)

I/CameraHAL( 1107): camera_get_number_of_cameras: number:2

W/PackageManager( 1135): Package com.android.camera desires unavailable shared library com.google.android.media.effects; ignoring!

This log is also interesting, camera is looking for libqcamera.so and we do not have it. So let somebody try to find it in Italian guy or stock rom.
Checked one more time and I don't have this library after clean installation alpha3 and camera experimental.

Sent from my GT-I9001 using XDA
 
Last edited:
  • Like
Reactions: Lokian69

Bongerz_0522

Senior Member
Jul 17, 2008
86
34
I tried MIUI Camera, I put camera.apk on /system/app then reboot. Now I got 2 camera, 1 default and 1 MIUI.

* Both no preview but I can access video recording
* Video recording in MIUI no FC but generates empty video file.
* Video recording in default cam FC

here's the logcat:
1. logcat for taking pic with MIUI
http://www.mediafire.com/?7zy20cby45n0082
2. logcat for recording video with MIUI
http://www.mediafire.com/?e28e8p47vbhbq56

important note: No preview even on other third party camera app

I hope its readable
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 60
    note: these files are provided with no warrenty. you are installing it at your own risk!


    instructions:

    1. you will need cm9 by arco68 (alpha build 5) and a ics recovery
    2. wipe dalvik cache
    3. wipe cache
    4. install latest camfix
    5. fix permissions


    download:

    http://xdaforums.com/showpost.php?p=29459177&postcount=1568


    bugs:

    -fc after taking 5 photos
    -videorecording in hd (720px) is not working

    -------------------------------------------------------------------

    if you want to report some bugs, do it!
    but follow some rules. post step by step what you did and attach a logcat.
    [WIKI I9001 - HOW TO REPORT BUGS]





    3698430XDArules.gif


    thanks to ivendor, mirred, grabber28, vpupkin, oisis, arco68 and all testers


    (will add more informations soon)
    47
    Update: Front-camera take picture works.

    Remain:
    -problem with orientation in front camera
    -crash with some settings
    -video 720p

    Attached zip.
    46
    I have been doing some testing (I really care about deep sleep more than camera, honestly),

    With ivendor kernel (2.6.35.7-cyanogenmod+tiziano@tiziano-ubuntu #3) and stock camera app, back cam does work, 480p video recording and panoramic photo works too.
    Unfortunately, front cam does not take photo, only video.
    Phone enters deep sleep state, but Wifi is not working. So I installed another kernel.

    With oisis kernel aokp pre11e (2.6.35.14-aokp-v3-OiSiS oisis@localhost #1) and stock camera app, same as the ivendor kernel, but Wifi is working, so Im sticking to this kernel ATM.

    The strange this is, with latest ivendor kernel, front cam is taking photo (the only bugs are fc after 5 photos and 720p video record not working).
    With this kernel phone does not enter deep sleep state,

    Hope this helps.

    I' will test it with my new i9001, i've ordered tonight on amazon... be patient next weekend more udpates!
    39
    Lastest patch:

    -Revised exposure values for cameras (avoid crash front camera on set exposure value)
    -Fix rotation issue of front camera

    Remain:
    -Crash after taking 5 photos
    -720p video
    32
    This patch should resolve orientation bug.