yashsingh1/xdaforums huggingface dataset:
[LG Nitro HD] tdm:
Interesting theory about the lte radio. I'd need to dig into the ril layer to figure out what's going on with lte.

As for the cpu frequencies, it's possible that mpdecision is disabling cpu1 before the init script gets a chance to set its frequency. Again I'll need to look into it.
[LG Nitro HD] X0dus:
N/M I answered my own question.
[LG Nitro HD] tdm:
Playing with a bluetooth keyboard today. Got it to pair but couln't actually connect. Has anyone used a bluetooth keyboard successfully?

Also, in my frustration, I turned off bluetooth while it was trying to connect. Instant reboot with a kernel BUG. /data/local/tmp/last_kmsg.0 shows this:

[ 337.314697] kernel BUG at arch/arm/mach-msm/gpiomux.c:98!

This code is verifying that the reference count on an object is not zero. The fact that it is zero indicates something tried to "put" the object twice -- similar to a double free bug. I'll try to track that down.
[LG Nitro HD] RealyPssd:
I flashed gapps when I first installed b3, not after wiping cache & dalvik then flashing b6.
[LG Nitro HD] X0dus:
Each ROM update formats the /system/app directory so you will need to flash Gapps again.
[LG Nitro HD] lionman229:
CM10 updates dont require you to reflash the apps....
[LG Nitro HD] tdm:
But aokp41 does, it doesn't have the save and restore hooks.

On a side note, I have mixed feelings about the hooks. They are convenient but they make the install "impure" and subject to external issues beyond my control.
[LG Nitro HD] lionman229:
So if I download the CM10 part of your post will it update like regular CM? Once I get a confirmation from someone that LTE works (so someone not on straight talk) I will hop on this rom. Thank you so much for your work and i am looking forward to helping you debug this phone!
[LG Nitro HD] tdm:
Yes just flash like any other Rom. It does not have ota updates.
[LG Nitro HD] Flyview:
Hey tdmcode,

I know you've already got tons on your mind with respect to this ROM alone. I was wondering if you're planning to add CPU voltage control at some time in the future?
[LG Nitro HD] tdm:
Not sure... maybe after I get other issues sorted out.
[LG Nitro HD] hereric:
LTE works for me on AOKP with Bell Canada (AWS band)

Network settings can be changed with *#*#4636#*#* from dialer
[LG Nitro HD] Flyview:
Nice thanks! I'm on Fido and just wanted to make sure it's disabled. I selected "GSM/CDMA auto" and seems to have done the trick, although can't really be sure. I'm guessing ”WCDMA preferred" still checks for LTE?
[LG Nitro HD] hereric:
Dunno, I use "WCDMA only" (Bell has no GSM)
[LG Nitro HD] pcguru000:
FYI latest version of gapps- doesn't work with this.

I was grabbing this rom via my browser (in android) and I just used goo.im to grab that latest JB gapps...

Installed it all- but i was getting constant (like every 3-4 seconds) "AOSP Keyboard" force closes. This problem was in 2012-12-12

I rolled back onto 2012-10-11 and everything was perfectly fine.

Thanks for the nice rom!
[LG Nitro HD] X0dus:
12/12 Gapps is for JB 4.2 so that's why the issues.
[LG Nitro HD] pcguru000:
That makes sense, but i does specifically say on their release that it is backwards compatible with 4.1 :/
[LG Nitro HD] pcguru000:
Hopefully turning the swag toggle on is gonna help me.

I must be drunk.

"Should be backwards-compatible with 4.1.1. " - it's on the 10-11 version... but somehow I must have mixed them up.

Either way i'm up and running just fine. Thanks again.
[LG Nitro HD] X0dus:
How are the bsod since implementing the cpu crash fix in beta 6?
[LG Nitro HD] Flyview:
Been getting reboots every 8 hours or so. I have attached a kmsg. This one happened while I was watching youtube. Haven't seen any "black screens of death" at all. They all reboot successfully.

I have a bunch of kmsg saved thanks to your script, nice! They all seem to end like this:
[LG Nitro HD] tdm:
Spent the day getting the kernel cleaned up for cm10.1 and fixing the crash I found the other day. Also unified the qcom boot scripts, cleaned up the device tree, and fixed the baseband version. And fixed the aokp audio and eri.xml for ivzw.

Ran out of time to wrap things up so I'll be releasing a build and syncing with github tomorrow.

The next build will probably be rc1 if it works out like planned.
[LG Nitro HD] tdm:
Hmmm ... if your phone is the only one with modem issues, I'm inclined to think that either your hardware is flaky or your baseband has issues.

Which baseband are you using? Try flashing a different one. I've used 10f and 20c with no issues.
[LG Nitro HD] Flyview:
V10J. Could it be due to an old failing *edit* SIM card? Would pulling the SIM card out cause the same thing? Also just had another reboot but can't find any errors in the last_kmsg.0. It was indeed a full reboot to LG logo, saw it happen.
[LG Nitro HD] tdm:
No, it seems pretty clear that the issue is with the radio/modem. I don't see how that could possibly be affected by the sdcard.

Try flashing V20c. I am using it now.

If that doesn't work, are you on warranty? Maybe you could ask for a replacement. Otherwise ... time to start shopping for a Nexus 4. ;)
[LG Nitro HD] Flyview:
Oops I meant SIM card lol. Updated to v20c last night, up 7hours40minutes now. Fingers crossed!
[LG Nitro HD] Flyview:
After 13 hours of stability with v20c basedband, phone froze. Screen eventually turned off but the phone did no reboot and I got impatient and turned it off myself by holding down the power button. I believe this is the last_kmsg (attached). I don't think it has to do with the modem now, so please check it. If it helps, I noticed right before the freeze that CPU1 was no longer going offline for about 30s preceding the freeze Thanks!

EDIT: I'm not sure this is the right last_kmsg based on the size but the next last_kmsg is from last night... This one might be from when I started the phone after turning it off manually after the crash?
[LG Nitro HD] tdm:
Probably no release today. I screwed up the init trying to add the baseband version and rearrange the init files all at once. It took too long to track the issue down and I ran out of time. Turns out the vs920 requires the firmware be mounted earlier than the p930.

Now that I know what needs to be done and when, it won't take long to make it happen. So tomorrow for sure.
[LG Nitro HD] tdm:
Yeah that's a manual reboot from user space.
[LG Nitro HD] Flyview:
Wonder what happened to the right one. Is it possible it never saved cause I manually forced shut down by holding power button?
[LG Nitro HD] woodardbg:
Suddenly having a lot of WiFi problems. In particular "failed to connect". I don't know if its related to the beta 6 or not. Anyone else having WiFi issues ?
[LG Nitro HD] Flyview:
No wifi issues here.

Had a UI reboot (*not* to LG logo), so I grabbed the logcat (attached). I believe the restart is complete at 13:34:53 as that's where I found "BOOT_COMPLETED", but I'm not sure what to look for to see what caused it or even to find exactly where the reboot happened in the log (13:34:10?). Someone who knows how to read these things please take a look.

Otherwise the kernel has been stable 22+ hours which is saying a lot for CM10 on this phone before tdmcode came around. Much appreciated.
[LG Nitro HD] tdm:
beta7 is up. This is intended to become rc1, so please let me know of any new issues or things that aren't working.

Changes since beta6:

* Reworked the kernel sources to use a single branch for all models, mainly for ease of building CM 10.1. Switched to github.com/thebigq/lge-kernel-iproj for this.

* all: Fixed kernel crash turning off bluetooth while connection attempt is in progress.

* i_vzw: Fixed eri for proper lockscreen text.

* i_vzw: Fixed voicemail to dial own number.

* all: Fixed baseband display.

* i_vzw: Cleaned up init files.
[LG Nitro HD] lordcheeto03:
Does the baseband display fix work for properly displaying baseband version v20x?
[LG Nitro HD] tdm:
Should work for all basebands. I believe I tested against P930 V10f and P930 V20c. I'm currently on V20c and it works.
[LG Nitro HD] lordcheeto03:
Nevermind... mistake found, question removed lol.
[LG Nitro HD] lionman229:
Downloading and installing now. Curious, what CM version is this based on (nightly date)?
[LG Nitro HD] Flyview:
1/15
[LG Nitro HD] Flyview:
Hmm was something changed about how etc/init.d/ scripts work? My oc/governor script wasn't working while in init.d anymore.

I opened 90userinit and got the gist that it was trying to run user scripts from /data/local/userinit.d/. I placed my script in there and now it works!
[LG Nitro HD] lordcheeto03:
Would the baseband not being reported correctly have anything to do with the fact that I've been having problems with the play store telling me that certain apps, such as Gmail, are incompatible with my device? I've logged in through my computer and it even says "This app is incompatible with your AT&T LGE LG P930." I'm really starting to wonder because I flashed a ROM yesterday with v10j and it worked; I changed ROMs and swapped baseband to v20c, it doesn't. I flashed back to that same ROM today, using v10j, and it gave me that error; same exact ROM version from a clean flash each time, and same exact bb/fw files... How can it be compatible one day and incompatible the next with the exact same setup each time?
[LG Nitro HD] drumist:
Baseband doesn't matter. If you look at your build.prop file you'll see a setting called "ro.build.fingerprint". This is what gets sent to Google Play to identify your device and indicate what apps are compatible with it.
[LG Nitro HD] lordcheeto03:
So what you're saying, is that I could effectively modify that line and the files should work? I mean, I don't see why it doesn't work as is: ro.build.fingerprint=lge/lge_iproj/lgp930:4.0.3/IML74K/LG-P930-V18f.1c09112307:user/release-keys...

Could it be because that line shows 4.0.3 instead of 4.0.4?
[LG Nitro HD] drumist:
Yes, changing that line and rebooting will change whether Google Play allows you to install certain apps. I'd recommend just taking the entire line from CM10 and using it. (Edit: I think that's the same string though, so I don't know.)
[LG Nitro HD] lordcheeto03:
According to github.com/CyanogenMod/android_device_lge_p930/cm.mk, branch (both jellybean and jellybean-stable) that IS the line from CM10...

"PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=lge_iproj BUILD_FINGERPRINT=lge/lge_iproj/lgp930:4.0.3/IML74K/LG-P930-V18f.1c09112307:user/release-keys PRIVATE_BUILD_DESC="i_atnt-user 4.0.3 IML74K 47c54a96 release-keys"
[LG Nitro HD] drumist:
No idea *shrug* I just know that value is what Google Play is looking at when determining what your phone can install. I have no idea if it's actually the source of your problem though.
[LG Nitro HD] lordcheeto03:
Well thanks anyway. I'll try changing it to a gingerbread entry, see if that changes anything. There's more to what the play store wants than just that line.

Edited the build.description and build.fingerprint to match both GB and ICS official, and it still doesn't work. Anyone have any other ideas?
[LG Nitro HD] lionman229:
My wifi is using so much battery. Its like in a perma wake lock because of it.
[LG Nitro HD] lordcheeto03:
Under your advanced wifi settings, do you have it set to stay on during sleep? You can set it "never" and it drops the battery usage considerably.
[LG Nitro HD] Flyview:
This has been a nasty problem an all CM10 builds... no one knows why as of yet. 6-8% battery drain / hour with WIFI on and screen off!
[LG Nitro HD] lordcheeto03:
I get 6-8% on any CM10 build with wifi off anyway... and after switching back to the stock battery it makes CM10 unusable for me!
[LG Nitro HD] Flyview:
You get 6-8% / hour battery drain with wifi and screen both off??

---------- Post added at 04:45 PM ---------- Previous post was at 04:42 PM ----------

Nevermind, I can't get my init.d script to set CPU frequencies no matter what I do :( I can tell my script is running based on a file it creates in local/data (cpu_protection). However, quickly after, something sets the CPU frequency to 1.24GHz no matter what I do. The performance setting for "apply on boot" is unchecked. Even with it checked, same thing happens! Ughhhh, was working fine on beta6.

I know the script is fine because if I run it manually after boot, it sets everything just fine.
[LG Nitro HD] lordcheeto03:
Yeah. It's terrible... LTE is off, WiFi is off, got Juice Defender Ultimate running...
[LG Nitro HD] Flyview:
Ummm that's weird. I tried Juice Defender months ago. It creates more wakelocks than it's worth... I really don't see the point of it.

I'd get BetterBatteryStats off xda (it's free) and see what's going on in terms of partial wakelocks and kernel wakelocks.
[LG Nitro HD] lordcheeto03:
Thanks, I'll give it a shot!

I've had pretty good results with JDU on CM9 with pretty strict settings; but they don't seem to have an effect on CM10.
[LG Nitro HD] tdm:
Strange. I didn't change anything that should affect either init.d running or cpu frequencies.
[LG Nitro HD] Flyview:
Even after running my script manually again after boot, eventually cpu frequencies get set to either 1.24GHz or 1.67GHz whenever the cpu goes offline/online. This happens very quickly for CPU1 as it goes offline often. I'm not sure why sometimes the frequencies reset to 1.24GHz and sometimes to 1.67GHz, so weird!!!

I was seeing the same thing on beta6 but I'm pretty sure it was only with the "set on boot" checked in the performance settings.

What can I search logcat for to see whenever a max_cpu_frequency change is requested? Maybe that way I can see what exactly is requesting changes after the script is run on boot.

EDIT: I searched logcat for "freq" and saw a bunch of these lines:

then I found this http://xdaforums.com/showthread.php?t=1920077

Looks like the trouble is in /etc/thermald.conf:

Even if it was too hot (above the threshold), why doesn't it reduce it temporarily and then put it back to what I set in my script rather than 1674000?

In logcat, Android Tuner is reporting this whenever I go to the thermal tab:
[LG Nitro HD] tdm:
RC1 is up. Changes:

* i_vzw: fixed boot issue with baseband script.

* Full rebuild.
[LG Nitro HD] lionman229:
Is flashing over okay if you wipe caches?
[LG Nitro HD] tdm:
Yes
[LG Nitro HD] tdm:
Great work thanks I'll look into a fix.
[LG Nitro HD] Flyview:
Hey tdmcode, check this out! http://xdaforums.com/showthread.php?t=1424345
[LG Nitro HD] chatnever:
My CM9.1 is still good for me. But I'll try AOKP in near future (maybe next few weeks, when Quattrimus has the final release)
[LG Nitro HD] lionman229:
I'm on the latest beta (downloading rc) besides wlan RX in better battery stats causing my phone to be in a wakelock this ROM is perfect. Better battery life by a factor of two, fast, boot is ridiculously faster. All around amazing. Good work man! No bugs to report so far!

edit: got it! never mind.
[LG Nitro HD] lionman229:
I need help :( after many mistakes im at the point where I have a dirty install of cm10 rc1 but no google apps installed. I am trying to reboot into recovery but cant figure out how.... I am having trouble finding an apk without google play for clockwork mod.
[LG Nitro HD] lordcheeto03:
The play store is included in the gapps package. If you have not flashed gapps for 4.1 then that would explain why you don't have the play store. The link is in the OP. Also, to enter recovery, turn your phone off. Once it is off, hold volume down and the power button until you see the factory reset message. Press power once to agree, then press it again to confirm. You'll be taken into whichever recovery you have installed.
[LG Nitro HD] lionman229:
crash report: google play was reinstalling all my apps and then it soft rebooted (only CM spinning no LG logo)
[LG Nitro HD] tdm:
Need a logcat asap after the crash to have any hope of diagnosing.
[LG Nitro HD] tdm:
@Flyview: http://code.google.com/p/spectrum-cm10-aokp41-issue-tracker/issues/detail?id=23
[LG Nitro HD] Flyview:
Got another rare freeze (only saw one before). This time I was luckily connected to adb and grabbed the logcat. Screen froze, touch buttons were still lit/coming on when touching screen. Tried turning screen off, went off, didn't come back on. NO reboot (waited about two minutes)! Had to manually reboot. So it's like a black screen of death without reboot.

I attached the logcat filtered for warn+errors and up, and another one filtered for debug and up. I saved about 30s extra before the freeze, which you can see right at 19:09:59 with an ANR while scrolling Instagram....
[LG Nitro HD] hereric:
So when you released RC1 I decided that I would do a clean install, and use CM10 instead of AOKP. What a bad idea. CM10 lags and has the flickering issue more prominently. Going back to AOKP now, hopefully it will be as smooth as I remembered.

Guess I'll just have to disable hardware overlays every time I restart for now, haha.
[LG Nitro HD] tdm:
Looking at adding an auto-wipe to the installer script. It would work like this:

If the ROM being installed does not match the existing ROM (eg. android version and vendor), then wipe system data and dalvik cache. All user data from user installed apps would be preserved in any case.

This would pretty much eliminate the ever-present "do I need to wipe?" posts.

Comments?
[LG Nitro HD] Flyview:
Yea sounds good except all the system settings will be lost. I set custom screen auto brightnesses, etc. If it's needed, it's needed though. I always wondered if when you "wipe cache" it wipes dalvik cache too. I always do full backup, wipe cache, wipe dalvik cache, then install ROM.
[LG Nitro HD] tdm:
Yes it would lose system settings on upgrade, but that is really the point. If you upgrade or change android version or vendor, things frequently stop working. And really, most system settings are usually not that hard to restore with a few minutes of poking through the system menus. Off the top of my head, the ones that are a pain to restore are alarms and email config.
[LG Nitro HD] tdm:
Interesting. The spectrum users generally say that aokp lags more. I only use aokp myself, I'm addicted to the custom ui lol.
[LG Nitro HD] lionman229:
Sadly have more bugs the report:

Another market installing a lot of apps soft reboot

YouTube HD video through app caused sift reboot.

I can not logcat since I don't have a USB cable to plug into my computer for another few weeks. Sorry :(

These bugs seem easy enough to reproduce though!!!
[LG Nitro HD] tdm:
You don't need a computer, you can open a terminal and run something like:

logcat -d > /data/local/tmp/crash.log

Sorry I cannot investigate crashes without a log.
[LG Nitro HD] Flyview:
You can also install catlog from the market. I caught 3 YouTube soft reboot logcats. It would reboot every 15-20min while I was watching a documentary one day. I was gonna post them but I thought that freeze was more important to figure out first.
[LG Nitro HD] lionman229:
Ill be looking into the logcat thing this afternoon. However I found another thing. Its not really a bug but more a feature missing. In CM10 swtichting between 3g and lte was very easy (there was a switch option in the notification bar and in the system settings) but with this rom it seems that *#*#4636#*#* is the only way to change and it doesn't stick/work very well. Was this intentionally left out?
[LG Nitro HD] Flyview:
Damn, got another freeze. It looks like it's looking for the ondemand governor but I'm using conservative:

01-19 16:45:59.401: E/Trace(841): error opening trace file: No such file or directory (2)

01-19 16:46:36.057: E/Trace(898): error opening trace file: No such file or directory (2)

01-19 16:46:37.038: E/Trace(926): error opening trace file: No such file or directory (2)

01-19 16:46:42.273: E/I-Project PowerHAL(452): Error opening /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate: No such file or directory

01-19 16:47:27.817: E/Sensors(452): poll() failed (Interrupted system call)

01-19 16:50:24.910: E/I-Project PowerHAL(452): Error opening /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate: No such file or directory

01-19 16:50:51.356: E/I-Project PowerHAL(452): Error opening /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate: No such file or directory

01-19 16:50:56.270: E/I-Project PowerHAL(452): Error opening /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate: No such file or directory

01-19 16:50:56.280: E/I-Project PowerHAL(452): Error opening /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate: No such file or directory

01-19 16:54:04.674: E/I-Project PowerHAL(452): Error opening /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate: No such file or directory

01-19 16:54:09.949: E/I-Project PowerHAL(452): Error opening /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate: No such file or directory

01-19 16:54:09.959: E/I-Project PowerHAL(452): Error opening /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate: No such file or directory

01-19 16:54:39.428: E/AudioHardwareMSM8660(220): value of device and enable is 2 0 ALSA dev id:14

01-19 16:54:49.778: E/I-Project PowerHAL(452): Error opening /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate: No such file or directory

01-19 16:54:52.581: E/I-Project PowerHAL(452): Error opening /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate: No such file or directory

01-19 16:54:52.581: E/I-Project PowerHAL(452): Error opening /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate: No such file or directory

: E/(): Device disconnected

This time the screen turns on and off, but it's just frozen and each one of those lines comes up when I turn the screen on or off. The song I was playing kept playing until it finished.

Debug level log attached.
[LG Nitro HD] tdm:
By "this rom" do you mean my CM10 or AOKP41 build? Because my CM10 build should be pretty much identical to the official one, except for a few bug fixes, mainly in the kernel.
[LG Nitro HD] tdm:
The PowerHAL messages are benign, but I should investigate. This is code that we inherited from CM10's p930 device repo so it should be present in official CM10 builds also. rmcc is the author.
[LG Nitro HD] lionman229:
I mean your rom on this thread. it IS present on the one from get.cm

very weird...

---------- Post added at 06:32 PM ---------- Previous post was at 06:31 PM ----------

I am getting constant reboots in relation to opening my messaging apps. I promise to start log cating tomorrow. Disclaimer: I have ALOT of messages.
[LG Nitro HD] Flyview:
This thread actually has two ROMs , CM10 and AOKP. I think you mean CM10, I don't have the LTE toggle either.
[LG Nitro HD] tdm:
If my CM10 builds is missing the LTE toggle but it's there in the official CM10 builds, that's definitely a bug in my build. I'll try to remember to investigate. Or perhaps you can file a bug in the tracker to remind me.
[LG Nitro HD] woodardbg:
has any1 tried tablet ui for this rom? if so what settings did you use to get the status bar to show. no matter what lcd density or other settings i apply will show the status bar, which should move to the bottom
[LG Nitro HD] tdm:
I tested it a few weeks ago on both cm10 and aokp41. Which are you using and what is your lcd density?
[LG Nitro HD] bennet46:
@lionman229 Are you still running a dirty flash of CM10 rc1? If so I suggest you do a clean install before you start reporting any bugs or posting any logcats since the dirty flash might be causing a lot of the issues you are having. The AOKP version has been pretty solid for me so far.

Also make sure for future bug posts you make it clear what ROM you are using. Saying "the one in this thread" is useless because there are TWO, AOKP and CM10
[LG Nitro HD] lionman229:
No no, the second i found out how to reboot into recovery without clockwork I re did a install to make it clean (factory reset, clear caches) all bug reports are from clean install.
[LG Nitro HD] woodardbg:
im using aokp. i used various lcd density settings and none would show status bar. it would show the toast notifications when something was received but i could not access it. had to use a gesture setting in nova launcher to access it. but i like to be able to see the time and so forth on the screen at all times