• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

[ROM][BETA] CyanogenMod 10 for the LG Lucid

Any reason why my phone keeps restarting when playing games? I tried different CPU frequencies and governors, still does it. I also reflashed ROM...

I've had the same problem... if you figure it out let me know. It might have to do with ram. The device reboots when ram is overloaded to clear it out. I have zram and ksm enabled and it only happens when I'm on a GBA emulator.

If you can pull a log (see instructions in faq post), I can look into the crash. The few games I've played have not crashed at all. Pretty much the only crashes I've ever had are me forgetting to wipe cache or coding mistakes in test ROMs.

I'm assuming that it's not a heat problem if you tried different frequencies. I don't think it's likely a low ram problem either. Perhaps the voltages are a bit too low for your phones on the higher frequencies. Try a "Long stress test" in SetCPU or something similar for 15-30minutes on max frequency (set performance governor) and see if you can reproduce the crash.
 
If you can pull a log (see instructions in faq post), I can look into the crash. The few games I've played have not crashed at all. Pretty much the only crashes I've ever had are me forgetting to wipe cache or coding mistakes in test ROMs.

I'm assuming that it's not a heat problem if you tried different frequencies. I don't think it's likely a low ram problem either. Perhaps the voltages are a bit too low for your phones on the higher frequencies. Try a "Long stress test" in SetCPU or something similar for 15-30minutes on max frequency (set performance governor) and see if you can reproduce the crash.[/QUOTE

So I ran the Stress Test with Performance and 1188Mhz set, as I did when I played TR2. After 30 minutes, no crash, but I noticed the phone wasn't as hot. Any ideas?
 
So I ran the Stress Test with Performance and 1188Mhz set, as I did when I played TR2. After 30 minutes, no crash, but I noticed the phone wasn't as hot. Any ideas?

At this point, not much other than a log pull will help me to find this at this time, as I'm not an Android expert by any means (more of a C/kernel type).
 
At this point, not much other than a log pull will help me to find this at this time, as I'm not an Android expert by any means (more of a C/kernel type).

Logcat from crash: https://www.dropbox.com/s/29zxuzaa4ulhnds/logcat.txt

These lines: E/Chartboost( 3939): Exception on http request: End of input at character 0 of

I/Unity ( 3939): didFailToLoadInterstitialEvent: PostGameMenu

I/Unity ( 3939):

I/Unity ( 3939): (Filename: ./Runtime/ExportGenerated/AndroidManaged/UnityEngineDebug.cpp Line: 43)

I/Unity ( 3939):

E/Chartboost( 3939): Exception on http request: End of input at character 0 of

I/Unity ( 3939): didFailToLoadInterstitialEvent: PostGameMenu

I/Unity ( 3939):

I/Unity ( 3939): (Filename: ./Runtime/ExportGenerated/AndroidManaged/UnityEngineDebug.cpp Line: 43)

I/Unity ( 3939):

E/Chartboost( 3939): Exception on http request: End of input at character 0 of

I/Unity ( 3939): didFailToLoadInterstitialEvent: PostGameMenu

I/Unity ( 3939):

Are from TR2, so I guess those can be ignored. My best guess is it looks like the phone either is or thinks it's out of RAM, panics, and reboots.
 
Logcat from crash: https://www.dropbox.com/s/29zxuzaa4ulhnds/logcat.txt

These lines: E/Chartboost( 3939): Exception on http request: End of input at character 0 of

I/Unity ( 3939): didFailToLoadInterstitialEvent: PostGameMenu

I/Unity ( 3939):

I/Unity ( 3939): (Filename: ./Runtime/ExportGenerated/AndroidManaged/UnityEngineDebug.cpp Line: 43)

I/Unity ( 3939):

E/Chartboost( 3939): Exception on http request: End of input at character 0 of

I/Unity ( 3939): didFailToLoadInterstitialEvent: PostGameMenu

I/Unity ( 3939):

I/Unity ( 3939): (Filename: ./Runtime/ExportGenerated/AndroidManaged/UnityEngineDebug.cpp Line: 43)

I/Unity ( 3939):

E/Chartboost( 3939): Exception on http request: End of input at character 0 of

I/Unity ( 3939): didFailToLoadInterstitialEvent: PostGameMenu

I/Unity ( 3939):

Are from TR2, so I guess those can be ignored. My best guess is it looks like the phone either is or thinks it's out of RAM, panics, and reboots.

[HIGH]
W/Adreno200-GSL( 205): <gsl_ldd_control:225>: ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory
W/Adreno200-GSL( 205): <gsl_ldd_control:225>: ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory
W/Adreno200-GSL( 205): <gsl_ldd_control:225>: ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory
W/Adreno200-GSL( 205): <gsl_ldd_control:225>: ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory
F/libc ( 205): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 390 (SurfaceFlinger)
[/HIGH]

You hit the nail on the head, we are indeed out of memory. I will go dig in the kernel to find out where the missing 300 MB is going.

In the meantime, try closing apps (Settings > Apps > Running Services) that are running before starting your game. Google Services should be left alone, but you can stop the play store services and DSPManager. A manual task killer might actually work wonders until I can get us more memory to use.
 
awesome rom man! love reading through the development of roms! been reading though this one for the wifes phones and now i finally like it more than mine lol. glad we already found a reason for the reboots! she was comnplaining. awesome work man!
 
Just a small bug I've found using the B1 ROM: when playing music from headphones (or using the aux cable in my car) the voice & speech to text functions cause the headphones to stop working. For example I play music with Pandora or Google play music and try to speak a text, the music stops while I'm using speech-to-text but once I'm done the music resumes from the phone speaker and not the headphones (even though they're still plugged in). I have to unplug the headphones, plug them back in, then resume the music.
 
[HIGH]
W/Adreno200-GSL( 205): <gsl_ldd_control:225>: ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory
W/Adreno200-GSL( 205): <gsl_ldd_control:225>: ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory
W/Adreno200-GSL( 205): <gsl_ldd_control:225>: ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory
W/Adreno200-GSL( 205): <gsl_ldd_control:225>: ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory
F/libc ( 205): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 390 (SurfaceFlinger)
[/HIGH]

You hit the nail on the head, we are indeed out of memory. I will go dig in the kernel to find out where the missing 300 MB is going.

In the meantime, try closing apps (Settings > Apps > Running Services) that are running before starting your game. Google Services should be left alone, but you can stop the play store services and DSPManager. A manual task killer might actually work wonders until I can get us more memory to use.

Same thing affects iproj. Would be awesome to get it fixed.
 
Same thing affects iproj. Would be awesome to get it fixed.

I assumed you've tried obvious fixes like taking the stock graphics libraries from several different versions of ROM. Any chance that a lucid ICS version would fix it?
 
Revision B2 is up. While I haven't made any progress on the out of memory EGL crash, I did try to fix the 4G LTE toggle and believe that internal storage should be accessible this time. I also applied TDM's two most recent patches for logspam and WiFi power use.

Some people mentioned that they tried ZRAM to fix the game crashes, but it turns out ZRAM wasn't actually enabled in the kernel (oops). Try this one and see if it delays the crash (make a backup in case it's worse!).
 
Suh-weet! If there's anything ya need for the memory crash work, let us know. If I have to listen to.the wife cry about losing her candy crush game one more time I'm putting it back to stock n chucking it at her lol
 
Does Settings > Storage > [press menu button] > USB computer connection > MTP not work for you? It's kind of hidden but appears to work.

Works for me. Right now on B1 it only shows the external SD card but I will flash B2 and check again.

EDIT: B2 still only shows external SD, with both MTP and regular mass storage.
 
Works for me. Right now on B1 it only shows the external SD card but I will flash B2 and check again.

EDIT: B2 still only shows external SD, with both MTP and regular mass storage.

Can you actually see and write to the external storage at /storage/sdcard1? That's what I'm hoping to fix before I try making it visible on MTP.
 
Today at work, my phone cut off by itself, and now i can't get past the boot animation, I am running "B1" when I power on, it runs normal til the animation screen and then it vibrates 2 times and won't do anything
 
Today at work, my phone cut off by itself, and now i can't get past the boot animation, I am running "B1" when I power on, it runs normal til the animation screen and then it vibrates 2 times and won't do anything

That happened with me too (but I didn't get around to report it) twice. I was able to rotate the phone into landscape and was able to reboot the phone. After a reboot, the phone worked normally.
 
That's happened to me before too, try pulling the battery and wait a few seconds, then re-insert the battery and turn it on.
 
It FINALLY booted up for me, but when I flashed B2 and rebooted, it is doing it again...this is the first time it happened to me, could it be something to do with b1?
 
Back
Top Bottom