[ROM][GT-I9100][4.0.4] CyanogenMod 9 nightly builds | DISCUSSION THREAD

Search This thread

lfrst05

Senior Member
Sep 20, 2011
81
62
Vienna
I updated to CM9 nightly 04-21-2012 and SiyahKernel 3.1rc6 today (from CM9 04-09-2012 / Siyah 3.1rc5).
Now the camera app crashes with a "java.lang.RuntimeException: startPreview failed" exception. (I cleared cache, davlik cache and the data of the app (in the app menu))
I flashed nearly all nigtly builds since February and all worked fine everytime.

I know its a nightly build - so its not stable, no support,... but does anyone have an idea how to fix this (withou doing a full wipe)?

logcat:
Code:
I/ActivityManager( 7609): Start proc com.android.camera for activity com.android.camera/.Camera: pid=11594 uid=10007 gids={1006, 1015}
D/OpenGLRenderer( 9930): Flushing caches (mode 1)
D/OpenGLRenderer( 9930): Flushing caches (mode 0)
D/SecCameraHardware( 1944): LSIHAL int android::HAL_getCameraInfo(int, camera_info*)
D/SecCameraHardware( 1944): LSIHAL int android::HAL_getCameraInfo(int, camera_info*)
V/CameraHolder(11594): open camera 0
D/SecCameraHardware( 1944): LSIHAL int android::HAL_getCameraInfo(int, camera_info*)
I/CameraService( 1944): Opening camera 0
D/SecCameraHardware( 1944): LSIHAL int android::HAL_getNumberOfCameras()
D/SecCameraHardware( 1944): int android::HAL_camera_device_open(const hw_module_t*, const char*, hw_device_t**) LSIHAL
D/SecCameraHardware( 1944): LSIHAL int android::HAL_getNumberOfCameras()
D/SecCameraHardware( 1944): int android::HAL_camera_device_open(const hw_module_t*, const char*, hw_device_t**): LSIHAL open camera 0
D/SecCameraHardware( 1944): init E
D/dalvikvm(11594): GC_CONCURRENT freed 277K, 5% free 9274K/9671K, paused 1ms+3ms
D/dalvikvm(11594): GC_FOR_ALLOC freed 10K, 4% free 9317K/9671K, paused 16ms
I/dalvikvm-heap(11594): Grow heap (frag case) to 9.571MB for 373696-byte allocation
D/dalvikvm(11594): GC_FOR_ALLOC freed 3K, 4% free 9678K/10055K, paused 25ms
D/dalvikvm(11594): GC_FOR_ALLOC freed 20K, 3% free 9886K/10183K, paused 13ms
D/SecCameraHardware( 1944): createInstance: Back camera, created
D/SecCameraHardware( 1944): int android::HAL_camera_device_open(const hw_module_t*, const char*, hw_device_t**): LSIHAL opened camera 0 (0x144548)
D/SecCameraHardware( 1944): LSIHAL void android::HAL_camera_device_set_callbacks(camera_device*, void (*)(int32_t, int32_t, int32_t, void*), void (*)(int32_t, const camera_memory_t*, unsigned int, camera_frame_metadata_t*, void*), void (*)(int64_t, int32_t, const camera_memory_t*, unsigned int, void*), camera_memory_t* (*)(int, size_t, unsigned int, void*), void*)
D/SecCameraHardware( 1944): LSIHAL void android::HAL_camera_device_enable_msg_type(camera_device*, int32_t)
I/AwesomePlayer( 1944): setDataSource_l('/system/media/audio/ui/camera_click.ogg')
E/OMXCodec( 1944): Attempting to allocate OMX node 'OMX.google.vorbis.decoder'
E/OMXCodec( 1944): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
I/AwesomePlayer( 1944): setDataSource_l('/system/media/audio/ui/VideoRecord.ogg')
E/OMXCodec( 1944): Attempting to allocate OMX node 'OMX.google.vorbis.decoder'
E/OMXCodec( 1944): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
D/CameraWrapper( 1944): camera_fixup_getparams: get parameters fixed up
D/CameraWrapper( 1944): camera_fixup_getparams: get parameters fixed up
D/Camera  (11594): app passed NULL surface
D/SecCameraHardware( 1944): LSIHAL int android::HAL_getCameraInfo(int, camera_info*)
D/CameraWrapper( 1944): camera_fixup_getparams: get parameters fixed up
V/camera  (11594): Preview size is 640x480
V/MediaProfilesJNI(11594): native_get_num_image_encoding_quality_levels
V/MediaProfilesJNI(11594): native_get_image_encoding_quality_level
V/MediaProfilesJNI(11594): native_get_image_encoding_quality_level
V/MediaProfilesJNI(11594): native_get_image_encoding_quality_level
D/CameraWrapper( 1944): camera_fixup_setparams: set parameters fixed up
D/SecCameraHardware( 1944): int android::HAL_camera_device_set_parameters(camera_device*, const char*)
D/ISecCameraHardware( 1944): setParameters X: success
I/Process ( 7609): Sending signal. PID: 11594 SIG: 3
I/dalvikvm(11594): threadid=3: reacting to signal 3
I/dalvikvm(11594): Wrote stack traces to '/data/anr/traces.txt'
V/camera  (11594): startPreview
D/SecCameraHardware( 1944): LSIHAL void android::HAL_camera_device_enable_msg_type(camera_device*, int32_t)
D/SecCameraHardware( 1944): LSIHAL int android::HAL_camera_device_preview_enabled(camera_device*)
D/SecCameraHardware( 1944): LSIHAL int android::HAL_camera_device_set_preview_window(camera_device*, preview_stream_ops*)
D/ISecCameraHardware( 1944): virtual android::status_t android::ISecCameraHardware::setPreviewWindow(preview_stream_ops*): mPreviewWindow 0x0
E/ISecCameraHardware( 1944): preview window is NULL!
D/SecCameraHardware( 1944): LSIHAL int android::HAL_camera_device_start_preview(camera_device*)
D/ISecCameraHardware( 1944): startPreview E
D/SecCameraHardware( 1944): nativeStartPreview E
D/SecCameraHardware( 1944): virtual android::status_t android::SecCameraHardware::nativeStartPreview(): mPreviewFormat = NV21
E/SecCameraHardware( 1944): FimcV4l2 start: error, unsupported pixel format
E/SecCameraHardware( 1944): int android::SecCameraHardware::FimcV4l2::start(android::image_rect_type*, android::cam_pixel_format, int, int): fmtdesc.pixelformat = 0,
E/SecCameraHardware( 1944): nativeStartPreview: error, mFimc.start
E/ISecCameraHardware( 1944): startPreview: error, nativeStartPreview
D/SecCameraHardware( 1944): LSIHAL void android::HAL_camera_device_disable_msg_type(camera_device*, int32_t)
D/SecCameraHardware( 1944): LSIHAL void android::HAL_camera_device_disable_msg_type(camera_device*, int32_t)
D/SecCameraHardware( 1944): LSIHAL void android::HAL_camera_device_stop_preview(camera_device*)
D/ISecCameraHardware( 1944): stopPreview E
W/ISecCameraHardware( 1944): stopPreview: warning, preview has been stopped
D/SecCameraHardware( 1944): LSIHAL void android::HAL_camera_device_disable_msg_type(camera_device*, int32_t)
D/SecCameraHardware( 1944): LSIHAL void android::HAL_camera_device_disable_msg_type(camera_device*, int32_t)
D/SecCameraHardware( 1944): LSIHAL void android::HAL_camera_device_stop_preview(camera_device*)
D/ISecCameraHardware( 1944): stopPreview E
W/ISecCameraHardware( 1944): stopPreview: warning, preview has been stopped
D/SecCameraHardware( 1944): LSIHAL int android::HAL_camera_device_take_picture(camera_device*)
D/ISecCameraHardware( 1944): takePicture E
D/ISecCameraHardware( 1944): takePicture X
D/SecCameraHardware( 1944): LSIHAL void android::HAL_camera_device_release(camera_device*)
D/SecCameraHardware( 1944): release E
D/dalvikvm(11594): GC_CONCURRENT freed 70K, 3% free 10275K/10503K, paused 1ms+1ms
I/CameraService( 1944): Destroying camera 0
I/SecCameraHardware( 1944): int android::HAL_camera_device_close(hw_device_t*)
W/dalvikvm(11594): threadid=11: thread exiting with uncaught exception (group=0x40a441f8)
W/AudioFlinger( 1944): session id 114 not found for pid 1944
W/AudioFlinger( 1944): session id 115 not found for pid 1944
E/AndroidRuntime(11594): FATAL EXCEPTION: Thread-346
E/AndroidRuntime(11594): java.lang.RuntimeException: startPreview failed
E/AndroidRuntime(11594):        at com.android.camera.Camera.startPreview(Camera.java:1963)
E/AndroidRuntime(11594):        at com.android.camera.Camera.access$3200(Camera.java:86)
E/AndroidRuntime(11594):        at com.android.camera.Camera$5.run(Camera.java:1130)
E/AndroidRuntime(11594):        at java.lang.Thread.run(Thread.java:856)
E/AndroidRuntime(11594): Caused by: java.lang.RuntimeException: startPreview failed
E/AndroidRuntime(11594):        at android.hardware.Camera.startPreview(Native Method)
E/AndroidRuntime(11594):        at com.android.camera.Camera.startPreview(Camera.java:1960)
E/AndroidRuntime(11594):        ... 3 more
W/ActivityManager( 7609):   Force finishing activity com.android.camera/.Camera
D/dalvikvm( 7609): GC_CONCURRENT freed 1718K, 14% free 16772K/19463K, paused 2ms+6ms
I/Process ( 7609): Sending signal. PID: 11594 SIG: 3
I/dalvikvm(11594): threadid=3: reacting to signal 3
I/dalvikvm(11594): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 7609): Sending signal. PID: 11594 SIG: 3
W/ActivityManager( 7609): Activity pause timeout for ActivityRecord{416aba80 com.android.camera/.Camera}
I/dalvikvm(11594): threadid=3: reacting to signal 3
I/dalvikvm(11594): Wrote stack traces to '/data/anr/traces.txt'
I/ActivityManager( 7609): No longer want com.teamhacksung.tvout (pid 8475): hidden #16
I/ActivityManager( 7609): No longer want org.onaips.vnc (pid 8931): hidden #16
W/ActivityManager( 7609): Scheduling restart of crashed service org.onaips.vnc/.StartAtBootService in 10034ms
W/ActivityManager( 7609): Scheduling restart of crashed service com.teamhacksung.tvout/.TvOutService in 20033ms
I/ActivityManager( 7609): Start proc com.bel.android.dspmanager for service com.bel.android.dspmanager/.service.HeadsetService: pid=11628 uid=10009 gids={3002}
I/ActivityManager( 7609): No longer want com.mobisystems.editor.office_registered:search (pid 8998): hidden #16
I/HeadsetService(11628): Starting service.
W/ActivityManager( 7609): Scheduling restart of crashed service com.mobisystems.editor.office_registered/com.mobisystems.office.search.EnumerateFilesService in 29939ms
 

danfalcas

Senior Member
Feb 9, 2012
353
44
San José
Have anyone else have this problem/small bug in gallery: When you use a 3rd party file explorer (ie root explorer) to delete an image, the image still shows in the gallery. Only after you reboot the phone, the gallery is updated to not show the deleted image....(noticed this in all the nightlies)....

Yeap, but you need to wait until it refreshes, or delete the widget and put it again.
 

saltmine

Senior Member
Oct 17, 2011
152
35
I updated to CM9 nightly 04-21-2012 and SiyahKernel 3.1rc6 today (from CM9 04-09-2012 / Siyah 3.1rc5).
Now the camera app crashes with a "java.lang.RuntimeException: startPreview failed" exception. (I cleared cache, davlik cache and the data of the app (in the app menu))
I flashed nearly all nigtly builds since February and all worked fine everytime.

I know its a nightly build - so its not stable, no support,... but does anyone have an idea how to fix this (withou doing a full wipe)?

Easy fix: stop using siyah.

Camera works fine for me, using stock CM9. Please listen to thread rules and post this issue in the thread for Siyah instead.
 

thracemerin

Senior Member
Oct 19, 2011
5,458
5,764
Toronto
I updated to CM9 nightly 04-21-2012 and SiyahKernel 3.1rc6 today (from CM9 04-09-2012 / Siyah 3.1rc5).
Now the camera app crashes with a "java.lang.RuntimeException: startPreview failed" exception. (I cleared cache, davlik cache and the data of the app (in the app menu))
I flashed nearly all nigtly builds since February and all worked fine everytime.

I know its a nightly build - so its not stable, no support,... but does anyone have an idea how to fix this (withou doing a full wipe)?

I highlighted why you won't get any help, switch to CM stock or post in the Siyah thread.
 

techjunkieza

Senior Member
Jul 16, 2011
50
6
I read through so many pages and people were asking the same questions over and over. The SD card change is not that difficult to understand if you just read!

Sent from my Galaxy S II using Tapatalk 2
 

cammel

Senior Member
Jan 18, 2008
1,262
194
Buenos Aires
Ok, so I want all the photos and videos I take to be stored on my external card, which is a 32GB class 10 by the way...so on latest nightly I unticked the magic box in order to have all my data stored on my external sdcard, but the problem is that I can't find their apk under /data/app so where are they installed when I unckeck the magic box? I know that they are installed on the external sdcard, but where?
Oh, and I choose to install all my apps on the external sdcard because lots of games I have like FIFA 12, real racing 2 and modern combat 3 uses a lot of storage on the internal memory, so I can't have more than 10 heavy games because there is no enough space, and that's why I moved their data to the external sdcard in order to have some internal storage free...

Enviado desde mi GT-I9100 usando Tapatalk 2
 

Fr33L4nc3r

Senior Member
Jul 29, 2011
923
574
You are one funny dude, u mean well but are often wrong.

Worst thing is that he doesn't admit it ...

what is he for a baby? I tell you "I know what is that". *OMG* :mad:

- Wifi works of course.
- AFAIK, Wifi Direct doesn't.

You said Wifi Direct works, either you misread (I doubt it seeing your replies), either you don't/didn't know what it is.
Last case, it is indeed working, in that case, I'm sure you will kindly take a video showing us that ...
 

ggogolewski

Senior Member
Nov 1, 2010
238
95
46
Gdańsk
Xiaomi Poco X3 NFC
Have anyone else have this problem/small bug in gallery: When you use a 3rd party file explorer (ie root explorer) to delete an image, the image still shows in the gallery. Only after you reboot the phone, the gallery is updated to not show the deleted image....(noticed this in all the nightlies)....

This is not a bug. Root explorer dont update media gallery after delete file. You do not have to reboot phone. You may use app "Rescan media root"

https://play.google.com/store/apps/details?id=com.addz.mediascannerroot

This app can update media gallery without reboot phone
 

thracemerin

Senior Member
Oct 19, 2011
5,458
5,764
Toronto
Ok, so I want all the photos and videos I take to be stored on my external card, which is a 32GB class 10 by the way...so on latest nightly I unticked the magic box in order to have all my data stored on my external sdcard, but the problem is that I can't find their apk under /data/app so where are they installed when I unckeck the magic box? I know that they are installed on the external sdcard, but where?
Oh, and I choose to install all my apps on the external sdcard because lots of games I have like FIFA 12, real racing 2 and modern combat 3 uses a lot of storage on the internal memory, so I can't have more than 10 heavy games because there is no enough space, and that's why I moved their data to the external sdcard in order to have some internal storage free...

Enviado desde mi GT-I9100 usando Tapatalk 2

Were they on your external before? If so they may be on your internal now since the mount points swapped.
 

hossein68

Member
Apr 1, 2012
8
0
play music through bluetooth headset

I browsed the web and I didn't find any app or trick to play music through bluetooth headset.
I got confused. would you please help me?
I've found "btmono" for this issue but it is not compatible with CM9.
 

cammel

Senior Member
Jan 18, 2008
1,262
194
Buenos Aires
Were they on your external before? If so they may be on your internal now since the mount points swapped.

I don't know...all I want is to have all my apps, photos, videos, and specially the games data to be stored on the external card because it's bigger than the internal, like I said before I have a 32GB external card, so I can install lots of heavy games now if I can download their data into the external card. That's why I unticked the magic box button, but what I don't understand is why some apps and games doesn't appear under /data/app when installed like they always did...
In example, I downloaded trial extreme 2 winter edition from Google play, and everything works fine (remember I have the magic box unticked) but where the hell is the apk of the game stored? ? It is not under /data/app and that's what I want to know...where is it?
Thanks in advance!

Enviado desde mi GT-I9100 usando Tapatalk 2
 

fayezkhan555

Senior Member
Nov 22, 2009
437
49
Dubai
Is it a known issue or just only me...Whenever i open camera and switch to video recording on 1080p it automatically zoom in, while in 780p and lower resolution it is ok
 

Top Liked Posts

  • There are no posts matching your filters.
  • 562
    CyanogenMod is a free, community built, aftermarket firmware distribution of Android 4.0 (ICS), which is designed to increase performance and reliability over stock Android for your device.

    Code:
    #include 
    /*
     * Your warranty is now void.
     *
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at me for messing up your device, I will laugh at you.
     *
     * Submitting bug reports on nightly builds is the leading 
     * cause of male impotence.
     */

    CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

    http://teamhacksung.org/wiki/index.php/CyanogenMod9:GT-I9100:Nightly:Known_issues

    FREQUENTLY ASKED QUESTIONS
    http://teamhacksung.org/wiki/index.php/Experimental:GT-I9100:Frequently_Asked_Questions


    If you're a bloody noob and getting confused by following simple instructions, go down and read about using the noob-proof ODIN method.

    First time installing CyanogenMod 9 to your Galaxy S II, or coming from another ROM:
    - READ FAQs: http://teamhacksung.org/wiki/index.php/Experimental:GT-I9100:Frequently_Asked_Questions
    - Make sure you're running ICS bootloaders lower than LPH! (if you're unsure, flash the CM9 Resurrection Edition)
    - Make sure you're running a proper working ClockworkMod-Recovery
    - Copy GApps and CM9 ZIPs to your internal SDCard
    - Boot into Recovery
    - Flash CM9 zip
    - Flash GApps zip
    - DO A DATA WIPE / FACTORY RESET (otherwise your calendar sync will not work)
    - Reboot
    - Don't restore Apps using Titanium Backup!

    Upgrading from earlier version of CyanogenMod 9:
    - Copy CM9 ZIP to your internal SDCard
    - Boot into Recovery
    - Flash CM9 zip
    - Reboot

    Using the noob-proof ODIN method:
    - Download CM9 Resurrection Edition
    - Download GApps and put it onto your internal sdcard
    - Open Odin
    - Choose cm-9-XXXXXXXX-ODIN-galaxys2.tar.md5 as PDA
    - Boot your phone into download mode
    - Connect your device via usb to your computer
    - Wait till Odin has fully recognized your phone
    - Hit the start button and wait till the flash process is finished
    - Device boots automatically into recovery
    - Flash GApps
    - Reboot into CM9
    - Follow above steps to update CM9 to lastest available version (Upgrading from earlier version of CyanogenMod 9)


    STOP!!!
    Did you read THIS POST fully, the FAQs and KNOWN ISSUES?


    Nightly builds:
    http://download.cyanogenmod.com/?device=galaxys2
    can also be found at ROM-Manager

    Google Apps:
    Get the latest Version from Rom-Manager. We recommend to use 20120317.
    Newer, unsupported versions can be found at http://goo.im/gapps

    CM9 Resurrection Edition for use with Odin:
    20120420: Download
    20120330: Download

    CWM flashable Modems:
    LPX Modem: Download
    LPW Modem: Download
    LPS Modem: Download
    LPR Modem: Download
    Have a look at ROM-Manager (Developer: codeworkx) for more Modems.

    http://changelog.bbqdroid.org/#galaxys2/cm9/next

    TEAMHACKSUNG SUPPORT CHAT

    Webchat: http://webchat.freenode.net/?channels=teamhacksung-support

    Server: chat.freenode.net
    Channel: #teamhacksung-support

    Don't expect any support if you:
    - are not running stock cm-kernel
    - have installed any mods
    - have modified system files


    If you're going to reuse our work, which we're doing for free, be fair and give proper credits.
    This is the only payment we're really demanding and we deserve it to be mentioned because of the countless hours we've put into this project.
    Open-Source doesn't meant Out-of-Respect!!!

    Thread for Developers only!!!
    http://xdaforums.com/showthread.php?p=20671183

    AdamG-, atinm, codeworkx, coolya, guiper, nebkat, Unhelpful, xplodwild, teamhacksung, the cyanogenmod-team.


    9XWih.png
    NLXAX.png
    LBnUm.png
    QCcry.png


    If you want to donate a few bucks for the work we're doing, goto teamhacksung website and hit the big donate button.
    Thanks to all donators!
    151
    Lets all hit thank button for CODEWORKS at least 5 times a day until he beats mike1986 who has "17032" thank votes

    +1

    great idea :p
    114
    CM10
    It's done when it's done. Don't expect a release withing the next days. If it takes weeks, then it takes weeks.

    I'll focus on I9100 development because it's the device with the most users.
    It will take us a lot of time to integrate all patches/hacks needed for samsung devices.

    Don't bug us or ask for etas, just be patient and let us work.
    That's the best what you can do.
    108
    Push me over 10k nao!!!
    103
    By the way.... got a interesting PM.
    "You Are an Elite Recognized Developer of XDA!"

    :p