yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G2x] pmorrsn:
I quickly tried the new test build and had shutdowns. So, I went back to faux 54 SV and all seems well again, maybe. I think google music downloading over wifi seemed to correlate with my crashes, so I don't know true cause. Since I finally synced all the music, it seems more stable, but only time will tell. I have the last CM7.2 stable running now.
[T-Mobile LG G2x] towelboy:
The newest experimental build is insanely fast but I'm also experiencing SOD's when I connect the charger and leave it overnight
[T-Mobile LG G2x] Mazout360:
Okay guys you need to help me out, this is a damn development thread after all. My phone does not SOD or crash anymore so I can't magically guess what you're doing wrong or what my kernel does wrong with minimal informations. I'll make a quick checklist once and for all :

Situation A - No bugs

DO

- I always appreciate constructive comments, ideas and suggestions.

- Asking questions (please do a minimal googling before though) and answering questions.

DON'T

- Out-of-context posts

- Be disrespectful

Situation B - Suspected bug

You can make a difference. Providing useful information may help me finding out the remaining bugs in this kernel so that everybody could benefit from a fully working device before it EOL's definitely.

What's useful ?

- Providing new information/theories about a specific issue. Please take some time to read older posts, things tend to become very repetitive in this forum.

Or

- Post kmsg (Bonus points!) taken while the bug is occurring (let it run overnight, in case of SOD)

How to get kmsg logs from your computer

1) Open a terminal (command prompt in windows)

2) Setup ADB (please, no questions. Google it)

3) Plug your device via USB then, in the terminal, type "adb shell" enter, "su" enter, "cat proc/kmsg"

4) Copy-paste the output

How to get kmsg logs from your device

1) Open the terminal emulator app

2) Type "su" enter, then "cat proc/kmsg"

3) Copy paste the output using long press (depends on the terminal emulator used) in a text file

4) Transfer it the way you prefer to XDA.

Or

- Post the last_kmsg (If your phone died). You have to do this as soon as you rebooted and hopefully it will log what went wrong. See the procedure for kmsg, but replace "cat proc/kmsg" with "cat proc/last_kmsg".

Or

- If you can't get a kmsg, give as much information as possible. Wifi/bluetooth/mobile data on/off during the bug, battery capacity, ROM used, kernel used, mods used, system tweaking apps used and it goes on....

Or

- See situation A

Thanks!
[T-Mobile LG G2x] Pain-N-Panic:
Instantly fixed by selecting "stay awake" option while charging
[T-Mobile LG G2x] towelboy:
Where can I find this?
[T-Mobile LG G2x] Pain-N-Panic:
Go into "settings" --> "applications" --> "development" and check the box for "stay awake."

---------- Post added at 01:37 AM ---------- Previous post was at 01:33 AM ----------

I am under situation B.

Phone will enter SOD ONLY when connected to a weak wifi source where i lose connection while the screen is off. This has happened with wifi calling enabled and disabled so i do not believe wifi calling s triggering the sod. I am running cm7 latest nightly with your latest beta kernel build.
[T-Mobile LG G2x] Mazout360:
Thank you

Try this one :

Mazkrnl_0417EXPNoDS

If it's wifi-related it should work now.
[T-Mobile LG G2x] Pain-N-Panic:
Sweet thanks man. But does that build have the modifications as your beta? Because i really enjoy the speed....and ill take occasional sod over a loss in overall performance
[T-Mobile LG G2x] mansa_noob:
Would something like this work better to make sure you get everything before a crapout :D

$ su

# cat proc/kmsg | tee /sdcard/kmsg.log

Edit: this will keep a running log on the sdcard.
[T-Mobile LG G2x] Pain-N-Panic:
Does this copy the kmsg to the SD card?
[T-Mobile LG G2x] mansa_noob:
Yeah. Just tested it and it works great. Just don't exit out of the terminal... use home to go back. Most terminals just keep running. I am using Terminal Emulator and it shows a notification saying it's running.

Edit: Maz, I think you are going to get a c#@0 load of logs now :)
[T-Mobile LG G2x] Pain-N-Panic:
Good stuff man. So forgive me since I'm still aa newb here, but basically what this does is have the terminal running a log which is being stored in the SD so when you get a crash, sod etc you can just go to the log to identify the problem?
[T-Mobile LG G2x] n30wav3:
Mansa as this is logging on sdcard will it save the last kmsg on SD card too if it craps out?
[T-Mobile LG G2x] mansa_noob:
You got it. Hopefully the last few lines will contain what Maz needs to fix the issue.

---------- Post added at 11:03 PM ---------- Previous post was at 11:00 PM ----------

It should work until the grim reaper enters, so IMHO should work all the way... however for good measure you can run the command Maz stated after SOD to create another log and paste that in another file to compare.
[T-Mobile LG G2x] mansa_noob:
Mine SOD'd (never been happier).

Here is the file. Let's hope it tells something.
[T-Mobile LG G2x] Pain-N-Panic:
Haha nice man. Hopefully something good comes out of it!
[T-Mobile LG G2x] Bulletblitz27:
I've had no issue with this on CM7. Has anyone tried it on Hackfest. I might go back to it. I miss Jellybean :/
[T-Mobile LG G2x] Pain-N-Panic:
How do you miss jelly bean when nothing works on it lol
[T-Mobile LG G2x] mansa_noob:
By a mile at least :D
[T-Mobile LG G2x] Bulletblitz27:
A half-baked Jelly Bean ROM is more intuitive and snappy than Gingerbread. At least from my experience. Let's stop clogging up the development forum anyhow.
[T-Mobile LG G2x] Darkknight512:
PA Hackfest runs great for me, no lag and the issues don't really bother me, "nothing works on it" apparently does not apply to me. It's all personal preference.
[T-Mobile LG G2x] Pain-N-Panic:
Agreed, preference is what android is all about anyway. I was on ics for a while and not being able to use some basic features drove me nuts.
[T-Mobile LG G2x] n30wav3:
Finally an SOD!

Ok I couldn't get the last_kmsg. It was blank for some reasons but I think this one has what I need.

Config is

Kernel : V.0323 OC (1015MHz)

Rom : HFP 2.4.2

Tweaks: V6 Supercharger

I m really surprised with this kmsg log. I initially thought it was just crashing. Turns out its killing all of my system and non system apps after calling a gpio function

Hope u find something in it Mazo
[T-Mobile LG G2x] saijaiantonio:
Great work! After flashing this kernel everything has been snappy! Keep it up :)
[T-Mobile LG G2x] Pain-N-Panic:
I know benchmarks aren't really worth much...however i think they're worth ENOUGH to mention that i scored significantly higher on this beta kernal that can't go above 1000mhz than i did on your 032oc build overclocked to 1015. I know the difference isn't huge in the CPU, but i scored over 1000 higher on my benchmark. I also tried out faux's kernel as well which was directly on par with maz's oc kernel.
[T-Mobile LG G2x] saijaiantonio:
So I just formatted using AIO and did a clean install of paranoid hackfest w/ mazout's stock voltage kernel but for some reason my computer is not detecting MTP. I can't switch it to PTP or mass storage neither. Any ideas?

Edit : System would just crash when attempting to switch to PTP or mass storage.

Instead of the media device showing up I would get two empty drives ( F:/H: )

So I did a new flash.. with stock tonyp's kernel and with this kernel. Is this a native problem with the current kernel?
[T-Mobile LG G2x] mansa_noob:
The silence on this thread is deafening.

---------- Post added at 02:59 AM ---------- Previous post was at 02:53 AM ----------

Were you using the phone when it died or was it being charged? Activity suggests being used. Just curious.
[T-Mobile LG G2x] EEngineer:
I'm pretty happy with Mazkrnl_0323GBOCnoDS. However, I'm on 2G (EDGE) when at home because when I set it to 3G the signal really sucks. That gives me nice battery life.

Are you using an LG battery? non-LG batteries don't have temperature sensors, overheating on non-LG batteries can destroy battery life and damage your phone.

Two words: Hardware Acceleration.

Some of use watch videos and use cameras. My G2X isn't a toy, it's a needed tool and on this kernel with CM7 it performs wonderfully!
[T-Mobile LG G2x] Волк:
What are the specs of your computer?

Have you tried the modified drivers from Tonyp?

Which system crashes, PC or G2x?
[T-Mobile LG G2x] redmonke255:
Stock LG battery. Battery life got a bit better after removing my vpn app, but it still gets like 7 or 8 hours.

Thinking it's the battery. Once I hit 30 percent it drops off so quickly. Not buying another battery, this phone isn't worth it :P
[T-Mobile LG G2x] EEngineer:
Your battery needs to be calibrated.

Get the Battery Calibration app. Charge your phone to 100%, the click Calibrate. This deletes your batterystats.bin file. Remove charger, turn phone off. Remove battery, wait 30 seconds, insert battery and turn on. For the next two cycles run the phone until the battery is at 0% and phone shuts off. The first cycle you'll get lousy battery life, the second time better. After that your battery life will improve and the battery gauge will be more even.
[T-Mobile LG G2x] Darkknight512:
Deleting batterystats does not do anything, it has been confirmed many times.
[T-Mobile LG G2x] TheCoutures:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel (Faux kernel revived!) [2.6.32-60][V.01

I'll try that tonight when I have some more time.

Sent from my LG-P999
[T-Mobile LG G2x] xblitzz:
Thank you mazout!! very happy to see that even with all your time with ICS/JB you also give some time for GB ! Just donated for all of your great work!

What I/O Scheduler would you recommend?
[T-Mobile LG G2x] adamiscool:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel (Faux kernel revived!) [2.6.32-60][V.01

Tried on Weapon G2x, with interesting results. (Mazout, I'll need to learn how to kmsg or whatever if you need anything from me)...I flashed and when I pressed power button or let the screen time out to let the phone sleep, it doesn't want to wake up. Tried flashing over stock kernel first, then tried a completely fresh install of rom + kernel in cwm. Maybe it's just like one guy said, that it isn't really good for a modded stock rom?

Sent from my LG-P999
[T-Mobile LG G2x] Mazout360:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel (Faux kernel revived!) [2.6.32-60][V.01

Reinstall the kernel..you shouldn't drop to ~120M RAM ever.

I can make a special version with 400M RAM too but this will be at the cost of video performances for 3D gaming. Though, if you do not play games this could be interesting indeed.

Thank you very much, this is very generous!

With smartassv2, if I take a look at the benchmarks, you should use SIO. I think that's the one by default already. You can try V(R) if it's there (I'll include it in next build if it's not), which will give you better benchmarking results but less stability overall.

I'll try to get ROW to work on Linux 2.6.32. First tests weren't very positive stability-wise though, but this would definitely make this kernel a must :P

First things first, CM7 users is this working all right for you guys?

CM9/10 hackfest users, if you managed to boot with it please confirm. For those who had issues I will upload a version for you soon.

Modded 2.3.7 users, what kernel do you normally use? I will investigate this and upload a version for you too if there's something wrong.

Envoyé depuis mon LG-P999 avec Tapatalk
[T-Mobile LG G2x] xblitzz:
I use setCpu (should I use something better?) and I only see these schedulers:

NOOP, Anticipatory, deadline, cfq, bfq

and I think this is normal, i cant choose the CPU Governor .. so it should be smartassv2 if i understand correctly
[T-Mobile LG G2x] grantusmantus:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel (Faux kernel revived!) [2.6.32-60][V.01

Its running flawless on Hellfire Pheonix 2.4.2.usually ran faux so this wasnt much of a jump, but i am seeing a little bit better battery. Another thing too. I didnt have to set my alarm for morning so i just keft it alone and let it sleep while charging. Woke up this morning to a cool and fully charged and functioning phone. No BSOD so far. Will keep testing.
[T-Mobile LG G2x] Mazout360:
This version should be compatible with the hackfest (ICS and JB) : http://goo.im/devs/Mazout360/KernelP999/Mazouts_HFkernelp999_0130b.zip (touchscreen should be fixed now!)

Please confirm and I will push to the OP.

I confirmed with faux that this kernel should be compatible with modded stock versions, but some changes may cause issues. So..good news for AOSP/Weapon G2X users. Please list the errors you are getting and, if possible, send me a kmsg by PM. I will revert or fix whatever may cause compatibility issues.

Oh there's no SIO or V(R) ? That'll be next on my to-do list. You can use deadline for now.
[T-Mobile LG G2x] PowSniffer0110:
Anyone else getting no notification sounds? Sounds work.... they don't play when I receive a text or anything else that should trigger it. Go into sounds and change the sound, no different. Any help

Nvm got it
[T-Mobile LG G2x] TheEnternal:
1-1-13 CM7

I've had no problems with this new Kernel. I had various FC, reboots, freezing with Faux. It wasn't an every day thing when on Faux, but so far this one has been good. Its quadrant scores are slightly lower at the same clock speed than original faux, but stable > Speed.
[T-Mobile LG G2x] n30wav3:
nope nope nope ... dun decrease gaming performance. i'll try re-installing the kernel. i think i know the reason. can u provide the cwm flashable zip for boot.img version? i can try creating the zip file but i dun know which files to go along with the img file to flash.
[T-Mobile LG G2x] Ravinxx:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel (Faux kernel revived!) [2.6.32-60][V.01

I can confirm the new build in your post works on tonyp's JB hackfest.

Everything seems smooth now but I'll test it through the day. Thanks for the fix!
[T-Mobile LG G2x] Mazout360:
Yes I did sacrifice some performance and maybe battery life for stability. Though, the performance loss should be attenuated by the addition of cleancache and zcache. You will get a lower benchmark score, but that should not translate to the everyday use and the phone will stay smooth and fast.

My main goal for now is to fix the lack of compatibility and stability on the latest Faux kernel. I removed RAM OC and GPU OC because it stresses those parts and reduces stability. Furthermore, I don't think the difference is noticeable.

I still have Zram and smartassv2 to adjust properly, so it should get better.

If you don't mind waiting I can do this tomorrow, but now I don't have time.

If you want to do it just download any kernel that has a boot.img and change it with the one I uploaded for you.

Thank you Ravinxx for your feedback! Link has been moved to the OP. Hackfest users, please update, I will not take your bug reports if you don't use the new hackfest version.
[T-Mobile LG G2x] n30wav3:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel (Faux kernel revived!) [2.6.32-60][V.01

Are u sure? The only reason I didn't do that already. Because of the files in system/lib/modules and system/etc/init.d/ folder .... dun I need any of those to flash with ur kernel?
[T-Mobile LG G2x] Mazout360:
Oh sorry...yes replace the whole system/ folder and the boot.img.

Though, the worst thing that could've happened is no wifi :p
[T-Mobile LG G2x] n30wav3:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel (Faux kernel revived!) [2.6.32-60][V.01

:-s seems Ill have to modify the updater script to make it work then
[T-Mobile LG G2x] Mazout360:
You shouldn't have to. Most of the updater scripts simply use a package extract function to copy-paste system/ to the system folder of your phone. The files you put in there doesn't change anything and would simply be moved to the phone. Permission fixes are applied on the module/init.d folder itself, not the individual files.
[T-Mobile LG G2x] n30wav3:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel (Faux kernel revived!) [2.6.32-60][V.01

Then what's the cause of Wifi MAY not work? I thought it was related to updater script

Sent fr99 using Tapatalk 2
[T-Mobile LG G2x] Mazout360:
The wireless.ko module. If you don't change the module (in system/lib/modules/) with the one in my zip file, my kernel will not enable it as it will detect that it has been compiled for another kernel version. So...no wireless.
[T-Mobile LG G2x] n30wav3:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel (Faux kernel revived!) [2.6.32-60][V.01

And that's what I was doing when u said Though the worst thing ........

That made me confused anyway .... thanks alot ... got to get it working right this time.
[T-Mobile LG G2x] TheCoutures:
I can't seem to get this to overclock on my device, not sure why tried it with just using Cyanogenmod Settings and still not dice.
[T-Mobile LG G2x] saijaiantonio:
Athlon Phenom X II at 3.8ghz

4GB 1600mhz ram

Radeon 5830

Windows Ultimate 64 Bit

No what modified drivers? Can you link me? -- Never mind fond them with a simple google search. It wants me to find LG p999 but I don't see that in my device manager to update the drivers from

My g2x system crashes.

I'm not sure if this is the cause but I updated busy box to it's latest version. Although it shouldn't be causing it since I flashed the hackfest v8 all over again without the kernel (but with busybox v1.21 I think that is the version number) and mtp worked.

Thanks for taking time out for me :D

Edit: I tried installing tonyp's drivers again but it does not allow me to because the drivers are not compatible with 64bit systems so no go there

Just did a full wipe w/ only the hackfest. MTP worked before I flashed the kernel and did not after
[T-Mobile LG G2x] EEngineer:
You're wrong. I've confirmed it and many others have, too. Fixed many an inaccurate battery meter that way.

If you look at the reviews for the Battery Calibration app you will see many, many people that verify the app works. Ignore the anonymous "A Google User" negative reviews that all look like they were written by the same person.
[T-Mobile LG G2x] bluenote73:
Maybe you should tell that to the google engineer referenced in this article.

http://www.androidcentral.com/wiping-battery-stats-doesnt-improve-battery-life-says-google-engineer

Here's the direct google+ link referenced for dianne hackborn from Google where she talks about this:

https://plus.google.com/u/0/105051985738280261832/posts/FV3LVtdVxPT

There's tonnes of android myths around XDA and for some reason I even see reasonably accomplished developers spouting them. Anyways, let's not debate this. I felt I had to provide the info so people can make up their own minds and give you, EE, the chance to reconsider your opinion.

Some interesting terms to explain phenomena like this:

confirmation bias, placebo effect, post hoc ergo propter hoc
[T-Mobile LG G2x] EEngineer:
[MENTION=1483539]bluenote73[/MENTION], some interesting terms to explain phenomena like you:

Robot. Follower. Slave. Tool.

Yes, batterystats.bin collects info on the apps you use and how long you use them (ex: Angry Birds: 45 hours). This data is sent back to Google so they can track your phone usage. There is no other mechanism for Google to track what apps you are using and how long you use them other than batterystats.bin. So naturally Google doesn't want you to delete it. Make sense?

Of course, we all know how honest Google is when it comes to collecting private information about you.

It's not like they sniffed your WiFi connection... oh, wait...

Best bet is don't believe any of it, just try it yourself and see. That's reasonable, isn't it? I ran my own experiments and figured out exactly how these things work.. You should, too, [MENTION=1483539]bluenote73[/MENTION]. Or you can be an unquestioning tool for Google. It's up to you.
[T-Mobile LG G2x] Pain-N-Panic:
Can anyone else confirm or deny engineer's post about battery calibration? I'm interested as I'm now using Trinity kernel and it's give battery hog even when underclocked.
[T-Mobile LG G2x] redmonke255:
I'll give it a shot, though I swear when the phone gets recharged it deletes the file automatically. And I've had something like 20 full cycles since I have to recharge halfway through the day (woke up at 9:30 today, battery is already at 50% after only 5 hours).
[T-Mobile LG G2x] Pain-N-Panic:
Well I'm desperate so ill give it a go!
[T-Mobile LG G2x] bluenote73:
Please cite a source to support the fact that google collects your batterystats information? I wasn't able to find anything when I googled. Or surely an empirical guy such as yourself would have some experimental evidence backing that claim up?

I don't need to run my own experiments for using myths to help my battery life. I've always been able to solve any battery problems using better battery stats, checking my logs, and sometimes clean flashing. For example, did you know if you remove wifi calling it will continue to attempt to be launched, constantly (like every second IIRC) , but quietly, with no outward signs something is wrong?

I understand someone who doesnt know how to look at a log might prefer to figure they are an expert and dance around their phone naked at midnight but it still doesn't make it right.

I expect these posts to be deleted, and I apologize to everyone else for (again) sidetracking a dev thread. It wasn't my intention and I'll stop replying now.

If you want to continue the conversation EE feel free to PM me.

(or alternatively, here: http://xdaforums.com/showthread.php?p=28407006)
[T-Mobile LG G2x] redmonke255:
Update: 45 minutes later and I'm down to 30%. I'm so sad.

Anyway I'm off topic sorry. I'll see if I can get a log over the weekend to pinpoint my issue.
[T-Mobile LG G2x] EEngineer:
And I don't believe everything I read on the internet. That's why I run my own experiments.

Oh, just stop taking this so personally, you'll live longer... :D
[T-Mobile LG G2x] saijaiantonio:
Does adb/mtp work for anyone else while running paranoid hackfest?
[T-Mobile LG G2x] mansa_noob:
Maz, was the log helpful? http://xdaforums.com/showpost.php?p=40491148&postcount=563

Also on another note I wonder if you can look into an issue I have had since the beginning of time with this phone. Any kernel that has DS breaks my bluetooth. Let me explain a bit:

* Bluetooth connects fine (I have two different but both are blueant. Haven't tried any other brand).

* Shows connected continuously.

* Works until some time in DS it gets disconnected, but here is the funny bit. It would not show as disconnected on the phone. Just that if a call comes in the audio will not be routed through the bluetooth.

* Power cycling the bluetooth on the phone resolves the issue but it occurs again after a while (there is no pattern, sometimes when I get a call after hanging up from the previous one within a few minutes the problem can occur).

I suspect power management of the bluetooth is the culprit. Likely keepalive is not working as it should (on a reduced frequency of pings to save power instead of holding a steady connection). Is there a way to disable it in the kernel?

Edit: When the phone does not enter DS at all the problem never occurs. I have tested that for months at a time, however battery life (as you would expect) is horrible (lucky if I get 7 hours of idle).
[T-Mobile LG G2x] Pain-N-Panic:
I would love it if someone could get blue tooth running on 2.3.4
[T-Mobile LG G2x] mansa_noob:
Already does... just stay stock or stock based.
[T-Mobile LG G2x] Pain-N-Panic:
But i love cm7 :)

I guess i should have said i would like to see 2.3.4 Bluetooth working on custom roms such as cm7.
[T-Mobile LG G2x] bluenote73:
Since it seems like hope for full JB is dimming the Holy grail for me would be latest baseband, cm 7.2 and working bluetooth calls.
[T-Mobile LG G2x] Mazout360:
Yes sorry for the delay it's the busiest week of the year for me right now. n30wav's log has some kernel panics so I'll try something out to fix that first and yours seems to hang when the device changes it's suspend mode. I'll get back on this asap.

I also set up a working CM7 source, so I'll work on bluetooth calling on the newer baseband.