yashsingh1/xdaforums huggingface dataset:
[LG Nitro HD] xordos:
I concur I notice the exactly same thing, even I use "System Tuner" manually to set CPU to 1.5GHz, it will lower it a few minutes later. But my phone its got lower to ~1.24 GHz.

And the help text of the CPU+GPU test explain the lag of rendering is because it is doing accuracy check.

Anyway, so I switch back to my "famous" game, and successfully reproduced the GUI restart. The game is just "Unblock Me"...not GPU extensive at all. And looks like thermald is not been triggered.(see below for my further explanation)

I use following modified thermald

cat /system/bin/thermald
#!/system/bin/sh

if [ -f /data/local/tmp/thermald.strace ]; then
mv /data/local/tmp/thermald.strace /data/local/tmp/thermald.strace.old
fi

[B]date >> /data/local/tmp/thermald.txt
echo "$@" >> /data/local/tmp/thermald.txt
[/B]
exec /system/xbin/strace -f -s 256 -o /data/local/tmp/thermald.strace /system/bin/thermald.real "$@"

After made the above change, I reboot the phone at 19:02 (local time), the /data/local/tmp/thermald.txt successfully created.

Then tried about 10min StabilityTest, then play the game, and GUI restart happened at ~19:36.

my "adb shell" is connected all the time, but I only see following content which is created at 19:02.

2|root@android:/ # cat /data/local/tmp/thermald.txt
cat /data/local/tmp/thermald.txt
Wed Jan 30 19:02:21 CST 2013

root@android:/ #

This is the timestamp of my files /data/local/tmp:

-rw-rw-rw- root root 247348 2013-01-30 19:00 logcat_events.0
-rw------- root root 0 2013-01-27 11:45 logcat_events.1
-rw-rw-rw- root root 248180 2013-01-30 19:00 logcat_main.0
-rw------- root root 590 2013-01-27 11:45 logcat_main.1
-rw-rw-rw- root root 244628 2013-01-30 19:00 logcat_radio.0
-rw------- root root 0 2013-01-27 11:45 logcat_radio.1
-rw-rw-rw- root root 247445 2013-01-30 19:00 logcat_system.0
-rw------- root root 0 2013-01-27 11:45 logcat_system.1
-rw------- root root 510429 2013-01-30 19:36 thermald.strace
-rw------- root root 30 2013-01-30 19:02 thermald.txt

I also noticed the thermald.strace file keep chainging, when I "adb pull" the file, it timestamp and sized changed to current time:

-rwxrwxrwx root root 605945 2013-01-30 19:55 thermald.strace
-rw------- root root 30 2013-01-30 19:02 thermald.txt

attached is the thermald.strace.

Maybe this instance of GUI restart is not because of thermald?
[LG Nitro HD] xordos:
OK, after running "CPU+GPU" test for ~20min, got a GUI restart at ~20:43:

-rw-rw-rw- root root 247445 2013-01-30 19:00 logcat_system.0
-rw------- root root 0 2013-01-27 11:45 logcat_system.1
-rwxrwxrwx root root 1320229 2013-01-30 20:43 thermald.strace
-rw------- root root 30 2013-01-30 19:02 thermald.txt

Still thermald.txt timestamp is 19:02, and no thermald.strace.old, pls see attachment for thermald.strace
[LG Nitro HD] tdm:
This is because /data/local/tmp/thermald.strace is a "live" trace of the thermald process.

The bit of code at the start of the script looks for a trace from the previous boot and renames it to thermald.strace.old. This one will not be "live" and, if thermald is calling reboot, should show the reboot command at the tail end.
[LG Nitro HD] miroslav_mm:
tdmcode

Thermald

This daemon monitors thermal/temperature sensor data and performs actions based on a configuration file (default is /etc/thermald.conf).

CPU management:

thermald.conf

thermald

libthermal_mitigation.so

libthermal_mitigation_fusion.so

+ kernel\drivers\thermal\****

Configuration file format:

~~~~~~~~~~~~~~~~~~~~~~~~~~

{debug}

sampling <default sampling rate in ms>

[<temperature sensor section>]

sampling <sampling rate in ms>

thresholds <threshold values in degree Celsius> ...

thresholds_clr <temperature value to clear thresholds> ...

actions <action to perform at threshold; multiple actions separated by '+'> ...

action_info <additional info for action; multiple action_info separated by '+'> ...
[LG Nitro HD] lyfkevin:
Hi, everyone

Im compiling lge-kernel-iproj kernel. used clean cloned source code from CM.

But found that no sound after flashing the kernel.

Afterward, i tried to "pull /proc/config.gz" and used the config setting(from cm10 nightly rom with sound working) to compile once more.

The problem still exists. I cannot figure out how come. :[

Its so weird.
[LG Nitro HD] aquariuz23:
Hi TDM,

so it happened again not long ago. The phone froze as I was about to wake it up to view an incoming text and few seconds later, it rebooted itself, but then got stuck at the bootanimation again.

Here is the logcat:

http://pastebin.com/0sTYu26m

Fudge! I apparently ran a logcat command instead of dmesg! So I don't have the log for dmesg, sorry. Hopefully the logcat will help for now. If it happens again, I'll make sure to get both.

Also, I managed to get my phone running again, but it involves me wiping cache and dalvik cache.
[LG Nitro HD] tdm:
Yet another Adreno/KGSL out of memory error.

I'm going to add some kernel debugging to try to track this down.
[LG Nitro HD] Flyview:
Had something new happen today. Was listening to TuneIn radio, went to turn the screen on and it wouldn't come on. Music was still playing. Here's the logcat. All those errors would happen every time I clicked the power button to turn the screen on.
[LG Nitro HD] tdm:
rc3 is up. Changes from rc2:

* Use correct audio routing lib, fixes voice search etc.

* Use p2p wifi firmware.

Notes:

wifi-p2p is untested. It seems to work for i_atnt (p930). The kernel instantly panics for i_vzw (VS920) when connecting in client mode (eg. accepting an invite). Server mode (eg. sending an invite) seems okay. This is under investigation.

I'm considering ditching the multi-rom setup and creating individual roms for each phone variant. This will reduce the rom size by about 30mb, but will add a significant amount of compile time, disk space usage, and upload time on my end.

The auto-wipe script is not included yet. It needs a bit of polish. Feel free to dirty flash from rc1 or rc2, but switching between cm10/aokp41 may be finicky and require wiping data for certain system apps. This is untested, but it was the case in ICS.

I've been really busy at work and will continue to be busy for the next week or two. Updates will be slow/sporadic.
[LG Nitro HD] notzippy:
Appreciate work done, ROM is looking great so far , if I can help out let me know

Nz
[LG Nitro HD] aquariuz23:
Would love to try rc3, but I'm afraid my phone might not wake up from it lol! As much as I can I try to avoid having to reboot the phone so as to not encounter that bootanimation issue again :D
[LG Nitro HD] bennet46:
Don't! You're already doing everyone a favour by developing for this rom, you don't owe us anymore. 30mb is nothing considering the time it will cost you. If someone so desperately needs 30mb more of space and they won't delete anything then they can either go a buy a larger SD card if their phone takes one, or find a different ROM.

Thanks for all the development you've done for us and for being a very active member on the scene. It is much appreciated!
[LG Nitro HD] aldo90:
RC3 smoother than ever, great job you are doing mister!

EDIT: Does anyone have experienced this kind of problem with the video in CM10? this happened yesterday several times

http://www.youtube.com/watch?v=cJPhF5QpBwU
[LG Nitro HD] tdm:
Weird. Let's try to narrow it down....

Does it happen on official cm10? Does it happen on aokp41?
[LG Nitro HD] aldo90:
happened with CM10 RC2, the first time was when I was recording and zoom in, 1080p... it didn't happen again anyway
[LG Nitro HD] tdm:
Interesting fixes just pushed by Google...

http://m.androidcentral.com/aosp-updated-revision-12-build-jop40g
[LG Nitro HD] tdm:
Started noticing a blue flash sometimes when I swipe a notification horizontally to dismiss it from the notification shade. Not every time, and only a momentary flash. Hope this isn't a sign of impending doom...
[LG Nitro HD] _b_ship:
I've been noticing this occasionally too, not just RC3 though, previous versions as well. Not a big deal though, just assumed it was an ongoing issue. Again I'm on AOKP foot reference.
[LG Nitro HD] WinSuk:
I'm having a problem, and I think thermald is to blame...

My clock speed will just set itself to max (1674 or whatever), even if I have it set to like 864.

I haven't looked at any logs to confirm, but I think it's throttling down because of heat, then just resetting it back to max (because that would normally be 1512 on LG's ROMs, and no underclocking).

I don't like to overclock so this is like "aaaahhhh bad" to me :p

Can't really do much without source for it, but I figured it would be good to know :)

Mine does that all the time, on plain CM10 too. Doesn't really seem to be connected to notifications or anything for me.

It's usually on just the bottom half of the screen though
[LG Nitro HD] aquariuz23:
Like _b_ship said, it actually isn't something new. It has been around for a while now but I've never rly paid mind to it since I thought it was just a graphic glitch.
[LG Nitro HD] Flyview:
Read through my posts in this thread. It's a known bug. After throttling is finished and temperatures are back under threshold, the absolute max CPU frequency is set. The only solution I've found is to modify thermald.conf and increase the temperature thresholds so that they aren't reached in normal scenarios...
[LG Nitro HD] tdm:
Woke to a bsod this morning for the first time in weeks. Only had a couple minutes to look at it, but "ps" hung in an adb shell. There was one particular process which could not be listed. I think it was googlesearchservices. After that, tried reboot but that hung also... presumably trying to kill that process. Definitely strange and definitely a kernel bug. I will poke through the kernel code later.
[LG Nitro HD] michaelbmx29:
My phone turned off, and now it won't turn on. It wont turn on when plugged in, or when the power buttons is pressed. I plugged it in to my computer and it makes the noise that's made when you plug the phone in the computer, but that's it. Any suggestions?
[LG Nitro HD] aquariuz23:
Hi TDM, so this morning I attempted to flash RC3 as well as Gapps, and managed to go through it unscathed, only to find out I flashed the wrong Gapps. So I went back to recovery, wiped both caches, and flashed the correct Gapps. Since then until now, the phone has not managed to recover itself and is still stuck in bootanimation no matter what I tried (except wiping data, which I have not done yet). Here are the logcat and dmesg for this instance. I hope you can find an answer soon :) I'm about to break my phone in half trying to boot it back to normal LOL!

Logcat: http://pastebin.com/6HWap5JZ

dmesg: http://pastebin.com/cJamH0Ci
[LG Nitro HD] michaelbmx29:
I THINK MY DEVICE IS BRICKED when Iplugged it in it showed a driver for QHSUSB_DLOAD anyone know what this means?
[LG Nitro HD] tdm:
Adreno memory issues. Let me know if you can narrow down the problem data. I'll have some kernel diagnostics soon.
[LG Nitro HD] tdm:
Puts and hold the power button for ten seconds to reset it, or just pull the battery. Then turn it on like normal.
[LG Nitro HD] michaelbmx29:
I've tried all that
[LG Nitro HD] WinSuk:
I see, my bad :) probably somewhere in the middle I haven't been yet..

After I get home I might compile the kernel without the extra speeds
[LG Nitro HD] aquariuz23:
hey guys, does anyone know if there is a way I can flash gapps without having to reboot into recovery? for some reason, i'm not connected to Google (if I go to google play app, I get server error) and I'm afraid that if I reboot to reflash gapps, I might not be able to boot back up properly again.
[LG Nitro HD] tdm:
You need to reboot after installing it anyway, so might as well do it in recovery.

I'm guessing that the dalvik cache population will tend to make the boot smoother wrt. Adreno memory usage anyway.
[LG Nitro HD] tdm:
How bout that...

http://feedproxy.google.com/~r/androidcentral/~3/7mm20IS0AHo/story01.htm
[LG Nitro HD] aquariuz23:
Yeah saw that news a bit ago. Pretty interesting stuff.
[LG Nitro HD] notzippy:
Although I think wine on android is an amazing technically feat , i feel the worthfulness of this to be somewhat less then useful. I do not need windows bloatware on my device ...

On another topic, I changed the DPI density to 240 (through rom control on AOKP) and everything appeared to work great (after a reboot) - but then I found that the Contacts refused to load - got the following error

E/AndroidRuntime( 1910): Caused by: android.content.res.Resources$NotFoundException: File res/drawable-sw580dp-xhdpi/list_activated_holo.9.png from drawable resource ID #0x7f02006b
E/AndroidRuntime( 1910): at android.content.res.Resources.loadDrawable(Resources.java:1964)
E/AndroidRuntime( 1910): at android.content.res.Resources.getDrawable(Resources.j
[code]

it appears that the graphics are optimized out of the build. So I modified my source trees build properties (ro.sf.lcd_density=240) and recompilied the Contacts.apk and then replaced the version with the one I compilied.. After a wipe of the dalvik cache (and reboot) the issue was gone...

Just a heads up for some people..

Nz
[LG Nitro HD] tdm:
Indeed, I was mostly interested from the "gee whiz that's neat" perspective. The only thing I use Wine for is pulling up msoffice docs at work (and half the time openoffice works for that). Plus, if I read it right, this only runs Windows/ARM binaries. Which makes total sense but severely limits app choices.
[LG Nitro HD] tdm:
I think I just witnessed a bsod happening real-time this morning.

I unlocked my phone and went to pull up an app, and the screen froze. No response from anything except the power button. But pressing the power button did turn off the screen, and then turn it back on again. I even waited about 10 seconds to check if the lock screen would engage, but it didn't. So I had some other things to do for the next 20 minutes and left it alone.

Then I picked it up again and the screen won't come on when I press the power button. adb connects, and it's got that weird issue where "ps" hangs. But the app is different (it's Google+ this time). Any attempt to access anything under /proc/<pid> that deals with the VM hangs. This includes cmdline and maps. But surprisingly, stat, statm, and status are okay....

# cat /proc/24462/stat

24462 (droid.apps.plus) D 205 205 0 0 -1 4196672 29250 0 24 0 381 87 0 0 20 0 18 0 8775412 497606656 24216 4294967295 32768 37120 3203951632 3203950500 1074693472 0 4612 0 38120 4294967295 0 0 17 1 0 0 0 0 0

# cat /proc/24462/statm

121486 24216 3868 2 0 6739 0

# cat /proc/24462/status

Name:	droid.apps.plus

State:	D (disk sleep)

Tgid:	24462

Pid:	24462

PPid:	205

TracerPid:	0

Uid:	10008	10008	10008	10008

Gid:	10008	10008	10008	10008

FDSize:	256

Groups:	1006 1015 1028 3002 3003

VmPeak:	489976 kB

VmSize:	485944 kB

VmLck:	0 kB

VmHWM:	96864 kB

VmRSS:	96864 kB

VmData:	26820 kB

VmStk:	136 kB

VmExe:	8 kB

VmLib:	28092 kB

VmPTE:	194 kB

VmSwap:	0 kB

Threads:	18

SigQ:	0/5924

SigPnd:	0000000000000000

ShdPnd:	0000000000000000

SigBlk:	0000000000001204

SigIgn:	0000000000000000

SigCgt:	00000002000094e8

CapInh:	0000000000000000

CapPrm:	0000000000000000

CapEff:	0000000000000000

CapBnd:	ffffffffffffffff

Cpus_allowed:	3

Cpus_allowed_list:	0-1

voluntary_ctxt_switches:	228

nonvoluntary_ctxt_switches:	285

So next I killed surfaceflinger and the bootanim comes up, but won't go away. And that pesky 24462 process is still hanging around causing trouble.

Tried to run "sync". It hangs.

Tried to unmount filesystems. Seems like ext4 read/write filesystems hang (/mpt, /tombstones) but readonly fat filesystems don't (/firmware).

It seems like there is a lock that is held but never released. Possibly in the filesystem code. But I'm sure it won't be easy to find.
[LG Nitro HD] michaelbmx29:
When I plug my phone in it asks for a QHSUSB_DLOAD driver? Any suggestions?
[LG Nitro HD] tdm:
Found some suspicious mutex code in the jb update that rmcc applied from CAF. Naturally, I enabled the mutex debugging options in the kernel to see what happens... and what happens is that the msm framebuffer code panics the kernel, for some reason that is not readily apparent. Apparently there's some really bad mojo in there that's going to be a huge pain in the backside to diagnose and fix. At this point, I don't even know who to blame... Qualcomm, LG, or CAF. :mad:
[LG Nitro HD] tdm:
I fixed two mutex issues in the MDP (display) code. If anyone is running into bsod issues, please try these. All I ask is to report back on whether the fix worked, and to check if either of the below messages shows up in the kernel log (dmesg) at least a couple times per day. Simply run "adb shell dmesg | grep mutex" from your computer, or open a shell and run "dmesg | grep mutex" directly on the phone.

Diagnostic messages:

mdp4_overlay_play: mutex double unlock avoided

mdp4_dtv_overlay: spurious mutex_unlock avoided

Instructions:

1. You should be running Quattrimus CM10 or AOKP41 rc1, rc2, or rc3.

2. Download the appropriate boot image for your device from below.

3. Name the image boot.img

4. Reboot into recovery.

5. Run these commands exactly as shown:

adb push boot.img /

adb shell dd if=/boot.img of=/dev/block/mmcblk0p8 bs=4096

adb reboot

http://getquattrimus.com/roms/quattrimus/iproj/

dc5027c302f0b6e59c7d1d4ce9936c49 boot-i_atnt-aokp41.img

91d79518f4c7d6881a0e019ce9a3eba2 boot-i_atnt-cm10.img

64e148431d7c72d3282c7211f2ab3fcb boot-i_vzw-aokp41.img

3743619538ac87bede47494032cb840e boot-i_vzw-cm10.img
[LG Nitro HD] aldo90:
I cant run adb shell in recovery, it says device not found...
[LG Nitro HD] tdm:
You can do the same thing from android, you just need to remount / read-write first, or put the boot image in, say, /data/local/tmp
[LG Nitro HD] aldo90:
I put the boot.img in the sd card and is ok if I put this on the adb? "dd if=/sdcard/boot.img of=/dev/block/mmcblk0p8 bs=4096" ?
[LG Nitro HD] tdm:
Yes that looks fine. :thumbup:
[LG Nitro HD] salimbaba:
I am getting Symlink errors . cwm 6.0.5 . Korean GB 2.3.5 rooted.
[LG Nitro HD] tdm:
Please don't quote the entire first post.

What exactly are you seeing?
[LG Nitro HD] salimbaba:
The log says :

Symlink: failed to symlink /system/fonts/DroidSans-Bold.ttf to Roboto-Bold.ttf: No such file or directory

Script aborted: symlink: some symlinks failed

Symlink: some symlinks failed

E:Error in /sdcard/quattrimus-iproj-cm10-rc1.zip

(status 7)

Installation aborted
[LG Nitro HD] chatnever:
The rc3 is ready, why did you still use rc1?
[LG Nitro HD] salimbaba:
Tried Rc3 too , exactly same error except for rc3 in filename.

---------- Post added at 11:15 AM ---------- Previous post was at 11:01 AM ----------

btw, when flashing this Rom, it selects model to i_atnt... even when I have build_id = 8660-AAABQNBYA-30552040 . which i suppose is correct build_id for su640. right ?
[LG Nitro HD] tdm:
The P930 and SU640 have the same build_id. So the model must be determined by the properties in the recovery.

Which recovery are you using?

Can you send me a copy of your recovery log? This should be at /cache/recovery/last_log
[LG Nitro HD] notzippy:
I see CM 10.1 nightlies are up !

https://plus.google.com/u/0/117962666888533781522/posts/JCpweUi3a1h http://get.cm/?device=p930

Time to do some new builds :D
[LG Nitro HD] tdm:
Sweet. I will take a look. Should have a build in the next couple days.
[LG Nitro HD] salimbaba:
After trying to flash the ROM and getting error, I am unable to adb while running recovery. So i have to restore the backup. Would the log file still be useful ?
[LG Nitro HD] salimbaba:
Please check the very next post too ...

Here it is..the log file is attached.
[LG Nitro HD] salimbaba:
Ok looking at the log i realized I am running a P930 recovery somehow... so i have flashed proper recovery for Su640, with same results except this time it does determine the model as i_skt which is Korean SU640 .But to no avail on flashing the rom. failing with symlinks failed error

attaching new log file with proper recovery version;

last_log_i_skt file
[LG Nitro HD] tdm:
Yes .. I just want the property list.
[LG Nitro HD] tdm:
Verify the md5sum on your ROM file, it looks like it might be corrupted.
[LG Nitro HD] salimbaba:
ok verified bad md5sum, so i downloaded again from 2nd mirror... install success.

But now I am stuck at LG logo, and I think the phone is rebooting over n over again to LG logo.
[LG Nitro HD] tdm:
Can you get a logcat?
[LG Nitro HD] salimbaba:
Nope, adb devices does not list my device during the logos.

Phone starts with LG logo, then black screen for a second and second LG logo appears which stays for a while (10 to 15 sec) and I see an error on my laptop

"the usb device connected has malfunctiond ..." and the phone reboots again to follow the same loop.

gonna wipe again and reboot. any other ideas ?
[LG Nitro HD] tdm:
Generic iproj build succeeded. Now on to all the device models...
[LG Nitro HD] salimbaba:
No luck wiping :(
[LG Nitro HD] tdm:
I will look into this issue, but I really need a dmesg and logcat.

You said that you cannot connect adb while in recovery? That is going to make things much harder. Perhaps you can try to fix this while I'm looking...
[LG Nitro HD] notzippy:
What recovery image are you using ? TWRP ?
[LG Nitro HD] tdm:
Got CM10.1 built and running on i_vzw. I plan to put up a new thread tomorrow. After that, I'll start on AOKP42 and see about setting up nightly builds for both.
[LG Nitro HD] tdm:
First CM approved change! :D

http://review.cyanogenmod.org/#/c/31105/
[LG Nitro HD] lionman229:
Congrats!!
[LG Nitro HD] lordcheeto03:
It appears you've got more than just one approved change! ;)
[LG Nitro HD] ahdoublexl:
I hate to ask, and this may be a stupid question.. But does this fix the random reboot issue?
[LG Nitro HD] tdm:
Yes, many of them. There are still one or two issues remaining.
[LG Nitro HD] notzippy:
Do you know if this rom works with MHL (usb to hdmi) ? I just got a cable but could not get it to work. I tried reflashing the rom to HONO's signed_HO!NO!_P930_V20f-CWM-Flashable, but it did not work as well. So I was wondering if I got a bum cable.. On the stock rom when I tried to open the camera application there was a warning saying that it could not open that application while the HDMI was enabled, but no such error on this rom..

thanks

Nz
[LG Nitro HD] xordos:
MHL works in my phone with this ROM. BTW, make sure you plug in power as well.
[LG Nitro HD] notzippy:
Damn must have a bum cable. I had power connected to it already , the TV senses the HDMI,but doesn't find the signal..

Thanks for letting me know....

Sent from my LG-P930
[LG Nitro HD] mpsantiago:
kudos...

Props to the dev, this is a great ROM :good:

I can't wait until your 4.2.1 ROM is 100% ready for prime time!

Battery usage seems a bit high on this one, but I guess that's just the nature of the CM10 beast. Are there any tweaks I should apply to stretch battery life as much as possible? I already run Green Power Premium and I adjusted the auto-brightness parameters to keep it dimmer (it was too bright IMO and "display" was my #1 battery consumer). Should I make any changes to the governor/scheduler to favor battery life over all-out performance? I don't game much.
[LG Nitro HD] tdm:
I use DS Battery Saver. It works wonderfully. :good:
[LG Nitro HD] Flyview:
When is this being incorporated into the ROM? Get any helpful feedback?
[LG Nitro HD] tdm:
No reports of a hit yet but I'll probably commit the fixes anyway because the current code is obviously wrong.
[LG Nitro HD] tdm:
I'll probably have new builds ready on Monday. Changes are pretty minor, just install related.

Both versions will have my new autowipe script. There is an override for it for the brave and/or foolhardy.

CM will no longer run modelidcfg.sh, it's not for our phones.

AOKP will get addon.d support, which saves and restores gapps and /etc/hosts.
[LG Nitro HD] tdm:
Oh, and I'm planning to drop i_skt and i_lgu support in the ROMs for now due to reports that it's not working.

Anyone with i_skt needs to contact me to verify it works or help diagnose the issue.

I have an i_lgu tester and I'll be in touch with him to continue working on support privately.