• 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

Okay, I have come to the realization that the WiFi problem I'm having is simply that it turns off WiFi when the phone is in "sleep mode". I have tried all three settings on WiFi turning off during "sleep" but they all yield the same result where WiFi does not continue. I don't know if I'm the only one having this problem, nor do I have any idea where to start for fixing it if I am the only one.
 
Okay, I have come to the realization that the WiFi problem I'm having is simply that it turns off WiFi when the phone is in "sleep mode". I have tried all three settings on WiFi turning off during "sleep" but they all yield the same result where WiFi does not continue. I don't know if I'm the only one having this problem, nor do I have any idea where to start for fixing it if I am the only one.[/QUOTE

In WiFi Settings-Advanced, what is WiFi Always on set to?
 
The 300 MB of RAM wasn't actually "lost" - I did some research and found out that it's actually those 300 MB of RAM that we are running out of. The EGL libs don't allocate in the user space of 740ish MB of RAM; they allocate somewhere in the kernel region which is housed in that last 300 MB. It doesn't matter how much zram you have or whether there's 1, 10 or 100 MB free in user space; if there's no space in the PMEM area, egl crashes.

I don't want to make PMEM bigger and reduce user memory (which might OOM something else). I don't have time right now to test the egl libs that noseph posted, so would someone having game crashes make a backup and try flashing this (it's a slightly modified B2 with the libs switched out)? It may or may not boot; if it does, could you please report on whether the game crashes improve or get worse?

So I pulled the entire system partition from ZV7 and tried several permutations of stock graphics libraries (everything from /system/lib/egl, then tried adding everything with "GL" or "GSL" in the name from /system/lib, then just tried replacing every proprietary lib). None of them booted. I'm going to restore and try a kernel workaround to KO the HD framebuffer and see if that gets enough PMEM free to allow egl to run normally.
 
I'll flash it and see what happens

EDIT: Won't boot, after LG logo the phone turns off...

For those of you having WiFi or EGL crash problems, could you try this version and see if it makes any progress on your issues? I changed the kernel slightly and disabled the HDMI output framebuffer (1920x1080x2) to see if that frees up enough PMEM for graphics to run smoothly. I also partially reverted TDM's wifi patch to narrow down the particular line that could be causing the shutoff.

It booted on my phone, but you should know the drill about backups already.
 
For those of you having WiFi or EGL crash problems, could you try this version and see if it makes any progress on your issues? I changed the kernel slightly and disabled the HDMI output framebuffer (1920x1080x2) to see if that frees up enough PMEM for graphics to run smoothly. I also partially reverted TDM's wifi patch to narrow down the particular line that could be causing the shutoff.

It booted on my phone, but you should know the drill about backups already.

Downloading now

EDIT: Still crashes...
 
For those of you having WiFi or EGL crash problems, could you try this version and see if it makes any progress on your issues? I changed the kernel slightly and disabled the HDMI output framebuffer (1920x1080x2) to see if that frees up enough PMEM for graphics to run smoothly. I also partially reverted TDM's wifi patch to narrow down the particular line that could be causing the shutoff.

It booted on my phone, but you should know the drill about backups already.

Fixed the Wifi for me.
 
Thank you for the fixes,I still noticed the boot screen hangs sometimes so I need to pull battery and wipe cache and dalvik cache
 
Is there a way to increase the voltage to the cpu? I always reboot while using my maximum clock speed at 1674 and I think it is because of the lower voltage.
 
Is there a way to increase the voltage to the cpu? I always reboot while using my maximum clock speed at 1674 and I think it is because of the lower voltage.

Not yet at runtime, as I haven't gotten a dynamic voltage patch that builds yet. I can make a flashable standalone kernel with voltages up a notch if you want. But it's probably better to set the max down to 1512 if this is the case.
 
How do I pull a log?

Since you're rebooting, try these commands in the folder where adb.exe is installed:

[HIGH]
adb start-server
adb logcat > logcat.txt
[/HIGH]

Run it in a terminal or Command Prompt window with the phone plugged in over USB. Then run your app until it reboots; then ADB should exit. The logcat.txt file ADB generates has the info we need to find the cause.
 
Quick question- the op says that the front camera hangs recording video, is that also true with skype? Kind of a necessity at this point!
 
Quick question- the op says that the front camera hangs recording video, is that also true with skype? Kind of a necessity at this point!

I have never tried this. It might just be a problem with the stock camera app (when Skype would work just fine) or could be a kernel issue (in which case Skype would not work at all). Since I don't have Skype, could someone else try it? My hopes aren't high, but a log pull might actually lead to a diagnosis.
 
Back
Top Bottom