yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] pastime1971:
may i ask how you plan to fix this ?

Froyo/GB(?) libnvdispmgr_d.so exports an external function

#ifdef USE_LGE_HDMI
extern "C" void NvDispMgrAutoOrientation(int rotation);
#endif

which is used in frameworks/base/services/surfaceflinger/SurfaceFlinger.cpp to set the orientation.

ICS libnvdispmgr_d.so lacks this, and i don't know how to accomplish it. (i would be grateful if anyone knows the answer.)

---------- Post added at 07:31 PM ---------- Previous post was at 07:28 PM ----------

oh, i see.

i assumed from the name that it would just totally ignore NITZ at all.

my bad.

thanks, tony, as always.
[LG Optimus 2x] pengus77:
Hi there :)

Few hours i'm digging into this (almost fried my phone too in the meantime, but that is part of the game) and well, found out that the ICS implementation also disables the rotation sensors/logic, so basically the phone is locked in landscape mode no matter what. One trick could be to force-reenable the sensors/logic so that at least it would turn, but it's a mess. What i'm digging into now is the PhoneWindowManager.java that has some weird code for managing the rotation of the hdmi output. I think i got it by the way. Screen displays rotated by 270 degrees, so i'm adding a prop to lock the rotation and for now that will do... i hope... :)
[LG Optimus 2x] kamiar:
Pengus77, thanks again, in ICS official there is a feature, when the Alarm goes off you just need to turn the phone upside down to mute it... but it seems is not available in CM10, can you please shed some light on this....

btw, my wifi drain is working great with the fixes....
[LG Optimus 2x] pengus77:
CM10 doesn't use the same application for alarm as on stock ICS, so that feature is not yet available for now... and don't know if it will ever be. Depends mostly on the CM team and on rogue developers :)
[LG Optimus 2x] R0B3RTF1SH3R:
sorry tonyp, that jellybean keyboard. does the same thing =(. keeps minimizing all the time.
[LG Optimus 2x] pastime1971:
great. let me know how it goes.

i must say that i am a bit skeptical because PhoneWindowManager seems to control the window on the phone, but it has no control over how HDMI is displayed.

but i am a novice when it comes to android, so don't mind me. :D

---------- Post added at 08:54 PM ---------- Previous post was at 08:33 PM ----------

i'm confused. isn't that what "Flip action" is for ? Alarm > Settings > Flip action > Dismiss
[LG Optimus 2x] kamiar:
---------- Post added at 08:54 PM ---------- Previous post was at 08:33 PM ----------

[/COLOR]

i'm confused. isn't that what "Flip action" is for ? Alarm > Settings > Flip action > Dismiss[/QUOTE]

You are correct sir, thanks a lot, never knew that there is a setting for Alarm app on CM10... works perfect.

Now the only thing not working in this rom is the Panorama feature in Camera app.... thanks again to Pengus77....
[LG Optimus 2x] pengus77:
haha didn't know that was there either :D
[LG Optimus 2x] kamiar:
Sometimes the simplest things we dont see! Any chance to fix the panorama feature?
[LG Optimus 2x] orbital_71:
Pengus meaning of this in your OP:

"Do not, and i repeat, do not flash any official cm10 release when on the new booloader. It will just fail miserably" ?

Mine understanding is we cannot flash the nightly build? Tks
[LG Optimus 2x] pengus77:
Yes exactly, you can't flash anything coming from get.cm or jenkins... or anything that uses the old gb bootloader and partition layout.

This is kinda logic i think, considering that this rom uses the new partition layout.

When there will be changes in the cm base relative to the p990 i'll repack and upload a new version to flash via cwm, but not every day :)
[LG Optimus 2x] Kamui_:
Yeap poll is a little bit meaningless. Firstly, you must agree with a ROM cooker to use your "CM10 on new bootloader" method and release his ROM. People will download it flash it, the easy way, and use it for a couple of days. Then you can create a poll
[LG Optimus 2x] pengus77:
Yeah went in a rush and didn't think that through enough. I asked a mod to remove it :)

Just ignore it for now and focus on the call bug :D
[LG Optimus 2x] orbital_71:
So it mean we need ur modify CM10 rom right?
[LG Optimus 2x] pengus77:
Well for now apparently mine is the only cm* rom that works on the new bootloader. Imperticus is porting his cm10.1 too and you can follow the progress on the dev thread (seems to work just fine). Plus, all ICS based roms can be flashed. But yeah, no cm10 nightlies.
[LG Optimus 2x] orbital_71:
Tks now i fully understand Gd job mate....:good:
[LG Optimus 2x] maccumaccu:
Installed and working perfectly for now, I haven't bug calls for now .....
[LG Optimus 2x] cuttysark76:
We already have positive bug votes... The poll was usefull.
[LG Optimus 2x] wucinac:
After a couple of hours and a lot of multitasking, I had something similar to call bug.

In the first 1-3 sec call I did not hear anything, and on the other side of the same, thereafter, at 1 sec is the start speakerphone and then everything after that fell into place, there was audio on both sides of the call.
[LG Optimus 2x] pengus77:
That's awesome news !!!
[LG Optimus 2x] liti15:
Why do you say that 5 hours without call bug is not useful? Everytime with old botloader i had call bug after 2 hours or less, and i think that we are not idiots like you say because i am here to test and help with something
[LG Optimus 2x] SWTR:
Come on! Tonyp know what he says!

Gesendet von meinem LGP990 mit CM10.
[LG Optimus 2x] wucinac:
nice of you to want me to help, but tonyp a lot more done for this community and knows what story.

for me to call bug sometimes appeared straight away after boot, and sometimes only after 20+ hours.

so be patient and wait for a few days without rebooting the phone to see the results.

and maybe you shoud reed the post above yours!
[LG Optimus 2x] pengus77:
Come on guys... no fighting :) We're trying to hunt and kill a nasty bug all together :)

Anyway, updated OP with a nice finding :P
[LG Optimus 2x] Shadowchaz:
Just so you know, this actually happens for me on the v30a Topogigi rom - silence dor 1 -3 seconds, then it's like the call connects properly.

Just to give you a comparison.

Looking forward to testing your rom over the weekend! :)

I've always suffered with the 'waterfall sound' bug, so i'm interested to see how this goes.

Chaz
[LG Optimus 2x] Robin2:
And on the v30A from Django Manouche aswell!
[LG Optimus 2x] thaimeobeo1410:
does anyone have the call-sound bugs yet ?

sorry for my English
[LG Optimus 2x] pengus77:
And this is good news then imho... considering that v30a is mostly stable and call bug incidence is close to zero, if this rom behaves like that we have hope :D
[LG Optimus 2x] wfd:
On gb bootloader cm10 i am always get a call bug when moving from work to home. Always. Today with unlocked ics i still don't have it. But this means nothing. Need more time.
[LG Optimus 2x] pengus77:
Try flashing the swap zip in second post. Some users reported that it works when swap is enabled ;)
[LG Optimus 2x] kekks:
I was playing asphalt6 the game sound was through my speaker, I received a call & after the call when I started the game again. I am having no sound in the game, my phone volume is full not sure why the sound stopped after the call. Just want to check if its me or someone else with the issue.

Edit- Had to exit the entire game then started it again, now the sound is back
[LG Optimus 2x] Spekkie88:
When I woke up this mornig my phone was dead and when it booted battery was at 1%... Still that wasn't correct because, even while the phone wasn't being charged the battery was getting full :P

I also had a minor issue with wifi after flashing PMwifi, namely that after some time of deep sleep it was very hard to wake the phone again (buttons light up but screen doesn't or just before the phone would turn off the screen again) and when I finaly woke up the phone wifi was totally scrambled... I couldn't see any AP's and couldn't turn off wifi. Rebooting the phone fixed it though, and haven't got the same issue since, so I'm not sure yet if it was a one time thing...

Using CM10 26-12 with PMwifi, swap, SDswap and V6 supercharger...

I'll keep you posted!
[LG Optimus 2x] grimmyrippy:
After heavy usage in this rom with rugglez kernel, i can say i'm happy on its performance and charging fast compare to official cm10. Here's some of my battery use screenshot

Is it normal or i did miss something that draining my battery?

I'm using the wifi always, some gta gaming, watching youtube videos, browsing using dolphin, and some other stuff i, almost not letting my phone to sleep.
[LG Optimus 2x] Marsou77:
WiFi drain fix is a placebo effect since I let my phone alone for all the night (0h-10h30) with WiFi on and airplane mode, sync off.

Here is the result. 100% from 17 without touching it!

Sent 2X faster with my LG.
[LG Optimus 2x] Alexandersch:
What about Face Unlock? This doesn't work too.
[LG Optimus 2x] solrakk6:
i see you work around kernel! powersaver And about nightly 27?! i can't wait to install this new one pengus :D
[LG Optimus 2x] MaNFr3:
Can I start from an nvflashed TG28g that's include new cracked bootloader?
[LG Optimus 2x] massimo69:
yes you can. Follow the instructions in the OP, the first part is for new bootloaders.
[LG Optimus 2x] flopower1996:
Same for me wifi battery drain is huge

Gesendet von meinem IdeaTabA2109A mit Tapatalk 2
[LG Optimus 2x] klappstuhl218:
Same for me. I'm using the new FullPM-V2 and tested wifi power consumption over night.

Result:

Reception was always good, but at some point in the night wifi lost connection and refused to establish it again.
[LG Optimus 2x] feav:
Did you try WiFiPowerTx v2?
[LG Optimus 2x] R0B3RTF1SH3R:
irregular readings of battery, is usually a baseband issue.
[LG Optimus 2x] :
Garbled audio

Hi,

Just to let you know i got today the infamous problem of garbled audio in a call, preceded by a no dial tone.

I'm on TonyP's 2712 ROM with V30a baseband, with less than 24 hours of uptime.

A reboot fixed it, so at least for me its not a bootloader or partition issue.

BR.
[LG Optimus 2x] R0B3RTF1SH3R:
so the more i read, the more it sounds like a RIL issue. yet some v30 roms have no ril. so ? haha see what i did there
[LG Optimus 2x] swifer_lf:
i am with you. from the begining, i thought audio in call problem is not bootloader or partition issue. but using new bl or partition system is a way to hide the problem. but the problem is in any media library cause when you get in call audio problem, apollo usually crashed trying to open!!!
[LG Optimus 2x] Andy HOT:
Terrible news..did you flash anything else besides the rom?..did you full wipe?..do you come from a 28t/e/g nvflash rom?(it could be the unlocked bootloader from those versions)
[LG Optimus 2x] orbital_71:
U must provide logcat so Pengus can have a look
[LG Optimus 2x] klappstuhl218:
I had the same problem, but at first I wasn't shure if it is related to the wifi fix.
[LG Optimus 2x] :
I came from Civato Rom, based on V30a, and yes, did a full wipe as instructed on OP.
[LG Optimus 2x] solrakk6:
pengus77 when you release the nightly 27/12 ?? :silly:
[LG Optimus 2x] swifer_lf:
i did on cm10 bug logcat thread lol it was an issue on cm10 old bootloader, but multimedia related...
[LG Optimus 2x] disti84:
Then can you explain us why the ics of tonyp for old bootloader have the call bug?
[LG Optimus 2x] swifer_lf:
can u explain us why many people having any call bug or similar with the new one? :cowboy:
[LG Optimus 2x] disti84:
No I am not dev :p. However it was only question i didn't want to polemic .
[LG Optimus 2x] BigD18t:
Remember first rule of XDA, dont ask for dates ;)

Penguss77, since flashing the wifiv2 fullzip i have had a couple bsods and it has felt sluggish in opening apps and awaking from standby, havent had chance to get a logcat though.
[LG Optimus 2x] pengus77:
Hey yeah, I'm checking that out already. Seems like there is a little glitch in the way deep sleep is handled in the driver. I'm testing a couple fixes.

Anyway guys, this is an experimental rom in development section based on an unfinished cm10, can't be perfect after a week right? ;)
[LG Optimus 2x] pengus77:
That logcat is a bit old.... and btw shows an Apollo crash not due to the audio system, but to an indexing error in Apollo itself.
[LG Optimus 2x] pengus77:
Uhm that's interesting. What apps were running when you had that problem?
[LG Optimus 2x] MaNFr3:
Thanks, i provide to use nvflash bit i can't put device in nvflash mode pressing vol + and -' I come from stock v30a...
[LG Optimus 2x] pengus77:
Uhm ok :)

So please explain to me why i get this in standby overnight considering that it's a plcebo effect hehehhe
[LG Optimus 2x] carburano:
Great job Pengus!

I will try to port your WiFi drain fix to stock kernel...

Hugs

Sent from DjangoManouche!
[LG Optimus 2x] pengus77:
Hey there ! Need some moar love, but i'm almost there...

P.S. i got hdmi to rotate and to show the image in portrait correctly. Now i need to initialize the framebuffer in landscape and hdmi is squashed too :P
[LG Optimus 2x] Impact7:
Woooooth :eek:

What baseband are you using and was airplane mode on? Because you have no network
[LG Optimus 2x] tr@p:
I didn't have any issues so far. Your nightly with full wifi v2 fix. Battery drain seems to be better.
[LG Optimus 2x] pengus77:
Mostly because i have no sim card in there at all :D

I'm testing raw wifi power consumption and i can't have anything else impacting on the tests for now. I need sort of a clean room environment :)
[LG Optimus 2x] :
As far as i can remember, only Viber.

Thanks.
[LG Optimus 2x] pengus77:
Oook, all i can say is that i kinda suspected it. Would you believe me if i told you that as soon as i installed Viber on my Galaxy Nexus i've been experiencing random problems with audio too (garbled sound and no ring tones on calls) ? I removed it and all is fine again. Seems like a widespread problem, search for it :)
[LG Optimus 2x] :
Sure, i believe you :)

But the fact is, with V30a and Viber, i never got that problem with uptimes of around 5 days...

Thanks.
[LG Optimus 2x] Andy HOT:
Just had a stupid BSOD..was just copying a file in root explorer..
[LG Optimus 2x] pengus77:
Wifi Fixes Updated

I uploaded a new set of fixes in second post. I think i found the cause of the bsods while sleeping so let's test if it's true :)
[LG Optimus 2x] chacal33:
Hi,

I updated to the 20121226 ROM.

Clean installation, then installed gapps and wifi fix made by SUPER Pengus77. It does work like a charm.

However, I still encounter a couple of issues:

- Unable to receive / send MMS

- Unable to share a contact via SMS / MMS

- Flash doesn't work when taking picture

- BT disconnects when phone goes to sleep.

These are not unbearable issues. But would anyone have any suggestion to fix this???

BB V20L (not sure if it has any impact on my problems, but you never know ;) )

Cheers
[LG Optimus 2x] Marsou77:
No SIM in mine too !

Sent from my all new Sony Xperia ion.
[LG Optimus 2x] punyategar:
Hi pengus. Im on 20121226 rom. The notification sound i have is quite small. Is this ubiquitous or just mine? Shoud i provide logcats? Thanks.
[LG Optimus 2x] pengus77:
And by "small" you mean "low volume" ? If yes, it's a known problem but it's low on the list of bugs. There are plenty of apps and mods to raise the global volume and audio quality of the phone. Search this thread, it's been discussed already.
[LG Optimus 2x] Alexandersch:
Maybe a dumb question... but you named the modules a bit confusing. You say the FullPM is conservative and less wifi reception.

But on the other hand, FixedPM will go in

FULL

mode and

FULL

wifi reception.
[LG Optimus 2x] pengus77:
LOL yeah maybe... in my mind FullPM == increased power management support, while FixedPM == standard power management support :)

But you're right, i agree, i'll rename them in a more sane way. What about ExtremePM and NormalPM ? :)
[LG Optimus 2x] hyyuga:
Lol so I chose the wrong one ..:o
[LG Optimus 2x] Alexandersch:
Haha, you see, I'm not the only one :D

I understand you're way of thinking. What about ConservativePM and NormalPM?
[LG Optimus 2x] pengus77:
Yeah i like that, i'll go for it :)

Edit: renamed zips in second post as per suggestion of Alexandersch.
[LG Optimus 2x] Kyrandialegend:
I flashed V3 over V2 PM fix and all is fine up to now.

This ROM is nearly bug free right?

Great work pengus , you made JB daily usable on our device.
[LG Optimus 2x] mimm.m:
What do you guys think about the idea that the Touch Button Bar is also used as a Notification Bar (same as in CM7) ....

I don't know if it is possible, because in the official ICS there aren't they too. But I thought it very usefull if you have to be very quiet you can look onto your mobile without turning the display on.

So far so good, thank you for reading. Sorry for my english.
[LG Optimus 2x] pengus77:
No spoilers... :P
[LG Optimus 2x] rzlatic:
i would rather see led notification lights working again - a lot of stuff we once used could be useful, but let us leave developers do their work without jumping on their back with wishes and desires :laugh:
[LG Optimus 2x] tonyp:
I already fixed that in my code, will make a testbuild in a couple hours. Should work :)
[LG Optimus 2x] Alexandersch:
Maybe we should make a list of things that need a fix in the future. Maybe pengus can add it to the OP.

Like: HDMI, Face Unlock, Touch Notifications, etc. Does someone agree?
[LG Optimus 2x] Andy HOT:
Hey tonyp i miss your less button touch vibration in the hackfest:))..maybe ull add that too
[LG Optimus 2x] tonyp:
Yes, I miss that, too. I was planning to bring it back in PA by default, at CM10 I disabled vibrations as I hate the default ones.

But actually there's no reason why I shouldn't fork pengus77 repo and change it for my builds as well - good idea :)

Face Unlock.. didn't someone fix that for the ICS ROMs, does that fix work here as well?

Personally I don't care about Face Unlock at all, but someone who does could so a little research.

Edit: I found the thread - but I'm not so sure anymore if this is the problem:

http://xdaforums.com/showthread.php?t=1984395

Anyways, face unlock isn't a priority at all :p
[LG Optimus 2x] lucfig:
Was that a spoiler? :D

Enviado de meu Optimus 2X usando o Tapatalk 2
[LG Optimus 2x] natalya:
Too many changes happening too fast. Getting confused... Take it easy on us :P
[LG Optimus 2x] pengus77:
Damn i love spoilers... now need to fix the rotation but that requires some reverse engineering of nvidia libs, so it's going to take a little while ;)
[LG Optimus 2x] CarloIT:
and what about sleeping at 4.53 A.M. ?? :laugh:
[LG Optimus 2x] pengus77:
LOL no it was actually 5.43pm, but without 24h and nitz fix :D
[LG Optimus 2x] x_justin:
Wow Pengus77 and TonyP and maybe other devs which I forgot now, your work is amazing! This rom is not only my new daily driver, it made the phone how it should be! It's better than ever, way better! There are some nice features to implement but I love it already a lot.

The only bug I am facing more and more since WiFi power consumtion is almost unnoticable, is the data connection which is not coming up after long wifi usage. I know it's a known bug, but I hope it will be solved.

Strangely enough the bug is present for a very long time already, not only in ICS + JB roms. It's also present with all BB and RIL combo's I ever tried (almost all)

- Stock Froyo (all v10) - Data connection just comes up after long time WiFi

- Stock GB (all v20) - Data connection is stated 'unknown' when you want to check it at settings>about phone.

- MIUI based (MIUI, WIUI, WAJKUI) on CM7 - Data connection is stated 'unknown' when you want to check it at settings>about phone

- CM7 nightlies and stable - WORKS GREAT! No matter what and how, when using CM7 the bug is gone, even when using the same nightly as the miui or wiui uses

- CM9 hackfest, CM10 hackfest, V30A, CM10.. they all have the same bug.. no data after WiFi.

I know not everyone has it but if you wanna try to reproduce it:

1) Enable Wifi in sleep mode so it keeps on all the time (love that since the newest power saving wifi module)

2) Wait for at least one hour, for me 45 minutes seems to be enough but just to be sure

3) Disable Wifi and do nothing.. even after hours, no data connection is active.

No way internet works. Only way for a quickfix is to toggle airplane mode on and off. Best workaround so far: WiFi sleep when screen off. But if I play a while on my phone, it's often enough to kill the data connection.
[LG Optimus 2x] pengus77:
Hey there ;)

The fix for that bug should be in cm7 repo on github. When we're done with all the other things i'll take a look for a port :)
[LG Optimus 2x] Alexandersch:
Thanks, I'll look into it.

Actually it's just for the completion and testing of the ROM.
[LG Optimus 2x] MetaIIica:
can any say me how can i set my clock in the statusbar centered?? With JellyBam, P.A.C., PA or other specially Custom i can set it to centered.

But here with the unofficial CM10 i have not the option. How can i realize it? Witch file and line in SettingsUI.apk and frameworks.apk ( i know both files must me decompiled) must be modified?
[LG Optimus 2x] jeroenqui:
Great! Facing that bug for a long time too, just give a shout when you need logcats!
[LG Optimus 2x] Custom40:
Nice question!
[LG Optimus 2x] tonyp:
Okay, Notification Lights do work again :)

Will be enabled by default, who doesn't want to use that feature can disable them at Settings - Dispaly - Notification Lights.

Edit: Build is uploaded:

http://goo.im/devs/tonyp/P990-stuff/JB/cm-10-20121228-UNOFFICIAL-p990.zip

Changelog compared to pengus77's last build:

- pengus77's wifi bsod fix is included

- Notification lights are back

---------------------​

I never ever encountered that bug. Data did always come back after Wifi, it seems it's indeed an issue on some phones / carriers / etc. only :(

That's not a CM feature.

You either need to write that feature yourself or cherry-pick it (and fix conflicts).

Someone has committed it to CM some time ago, but they didn't merge it. Unfortunately gerrit is down at the moment, so I can't link to them.
[LG Optimus 2x] x_justin:
Tnx, that will be nice! I bought you three beers, not much but a small amount of appriciation because I was always convinced this whole call issue would be ever worked around by using the new bootloader.

When using LG's software, this phone is crap, but two years after the launch it feels like the software is finally optimized (and GREAT) for both the user and the hardware.
[LG Optimus 2x] MetaIIica:
i know that its not a CM Feature... that was not a official request^^ i like this feature and i have no problem to mod it self. But i dont know what i must modify :D
[LG Optimus 2x] pengus77:
New rom uploaded

This time compiled and uploaded by tonyp !

As usual download in first post and full changelog in third post.

Penguins Galore Edition... now with lots of blinking lights :D
[LG Optimus 2x] CarloIT:
I'll wait for substantial fix/changes

Now it's quite perfect :)

Inviato dal mio LG-P990 con Tapatalk 2
[LG Optimus 2x] pengus77:
Read the changelog ? :)
[LG Optimus 2x] mbaier:
downloading :good:
[LG Optimus 2x] imayoda81:
yuppie leds are back :D

thanks a lot
[LG Optimus 2x] tr@p:
Nice work guys... this rom is getting more awesome everyday. Waiting for kernels to be updated too (it's nice to have some ramhack, OC isn't really important to me).

BTW. data after turning off wifi works fine here too. It connects almost immediately. :)
[LG Optimus 2x] nelty:
There seems too be a bug with the led notifications.

No matter what options I pick, if there is a led notification, the leds just stay turned on instead of blinking...