yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] Frecciablu(2):
Ehi bro, (just to be sure)... Have you problems with battery, reboot and phone off?

Im experiencing some reboot or automatic phone off at 50~10% battery.

Im pretty sure the problem is battery itself, enfact im buy a new one...

But..

it appen especially out home, when im use data and high brightness istead of wifi and minim bright...

Any idea/feedback?
[LG Optimus 2x] gucky01:
Finally I found some time to confirm your results. Very interesting, like Tony said!

The question is: Does this combination work because of the installed framework+the Kitkat Bugfixer or is just the Bugfixer needed. I will try to build a rom including the 2 fixes only in the next days to check this out.

Second point(charger) after this step.

Thank you very much for your advices!
[LG Optimus 2x] tonyp:
I checked the code today and can unfortunately confirm that the Xposed Module won't make any difference as the two commits it includes have already been merged by CM:

https://github.com/tonyp/tonyp_frameworks_base/commit/bf6258e4bab61a2dca29cb2d8b6ba77b5f4254bd

and

https://github.com/tonyp/tonyp_frameworks_base/commit/f34f9ce81e36969db5697af32c9ba92b048f62f3

It's still an interesting find that it won't happen when the charger is plugged in.

As I've tried a lot of angles in the ROM side some time back I still suspect it to be a kernel problem, maybe it puts the device / bluetooth in a deep sleep state which messes up Bluetooth.
[LG Optimus 2x] omar93:
Hi guys i have an issue with the phone it shuts off often latly ans it wont boot only after l'île 5 min any ideas
[LG Optimus 2x] gucky01:
Hi Tony,

this is the code in your existing ActiveService.java

if (sr.app != app && sr.app != null && !sr.app.persistent) {

This is the code after commit you posted:

if (sr.app != null && !sr.app.persistent && sr.stopIfKilled) {

So there is a difference.

I built a rom with these changes, but bluetooth bug is still there. Even if I install the Xposed module an pull in the charger.

I will test more in the evening when I arrive home.
[LG Optimus 2x] trivius:
Bad news, guys. After really long time playing without crooking, today I am back at the beginning. Altough I did nothing, BT bug is back again.

After that, I tested it with/without charger, with/without Xposed, and with/without Xposed+Fix module. All combinations accompanied with bug within 5 mnutes.

Sometimes it looked like charger presence extends delay after which bug comes. For some time, it looked like amount of ZRam determine delay after which bug comes. But nothing of this I can not tell with 100% sure.
[LG Optimus 2x] gucky01:
Don't worry,my friend! Things will come to an end. Earlier or later.

I've got a new theory. The connection between our phone and the bluetooth-speeker seems to interrupt. After this effect its more or less difficult to get a new connection.

Here are the results of my testings :

I made a new build with the little change I posted above. Result bad. Now I installed Xposed too. Result bad. Charger always on

After that I uninstalled Xposed again. Now I searched for a tool to observe the bluetooth connection, if there are breaks or something like that .

I found the little app "bluetooth spp" and installed it. And now.....

Bluetooth works without any error!!!

If I disable the tool, the error is back again. I could confirm this effekt 3x. If spp is working everything works fine. I let Apollo play nearly 1/2 hour without any problems. The phone was not plugged into charger!!!.

So I come to this conclusion: The bluetooth driver or another part of the code has to be changed in this way that the connection is more stable.

hope that some users can confirm my results and anyone is able to fix it

I will upload my new build tomorrow.

Looking forward!
[LG Optimus 2x] trivius:
It looks very promising, Gucky, thanks. Few days ago I was thinking in the same way, so I tried to install bluetooth related Xposed modules, but none of them has effect. However, I am impatiently looking forward to next build. Just one small note - cm-11-20141022-UNOFFICIAL-p990.m1.zip has troubles with ZRam settings - it halves its value after reboot ( and sometimes during operation also). If you can, try look around and pick some (even older) stable version for your build, please.

Thank you, and thumbs up.
[LG Optimus 2x] skejpa:
Does it mean, this could help even with bluetooth calls ?
[LG Optimus 2x] gucky01:
Don`t know. We will see, if there will be a solution for the music/ video problem.

After that there might be a solution for the calls...

---------- Post added at 07:10 PM ---------- Previous post was at 06:52 PM ----------

:fingers-crossed:

New build is online.

http://sourceforge.net/projects/lgo...m-11-20141103-UNOFFICIAL-p990.m1.zip/download

Beside the little change I posted above its pure "Tony" code.

It would be very useful, if other users test the bluetooth "workaround"

I tested it in this way:

1. Install the app bluetoth spp

2. play some music with Apollo.

3. Switch on bluetooth and connect to the bluetooth speakers.

4. Switch on bluetooh spp

My bluetooth speakers are very cheap and connection sometimes need some time to start. But if I keep spp working,the bug does not appear. After 10 or 15 min switch off spp and see the dfference.

Thank you for reporting.

By the way. I try to dig for the reason of the zram problem and will build a new rom if I`m successful!
[LG Optimus 2x] vanko11595:
What is so called bluetooth bug? I have problem only with bluetooth calling - microphone doesn't work. As for playback and listen music through bluetooth devices (headset, docking station etc.) I have no problem. It is working just fine for me.
[LG Optimus 2x] Peppe91:
Unfortunately i can't test the workaround cause i don't have any bluetooth speaker.

Sorry for none helping.
[LG Optimus 2x] trivius:
It is wrong behavior of the Bluetooth A2DP profile. If you pair your phone with BT speakers and play some music, in quite short time replay speeds up - like if you run fast forward at CD audio player. This problem is registered at CM11 ROMS with m1 kernel.
[LG Optimus 2x] vanko11595:
I do not have this problem. I play music almost all day, everyday with bluetooth, so may be this is not a problem of the rom. Check your settings, memory profile. May be your phone just have too many apps which eat ram. Listening music with bluetooth have never been a problem for me both on M1 or 3.1. I use Philips docking station, Nokia headset, Sony headset. Spotify, Grooveshark, Tunein mostly.

edit: I did not test offline playback, because I do not listen offline music.
[LG Optimus 2x] trivius:
Lucky you, Vanko. I tried almost everything I could from user side - reduced apps and services at startup, tuned free RAM to be above 55MB, purged cache, switched CPU cores settings, fiddled with Performance Control app. I know that there are users having absolutely no problem with this - that was why I was tweaking parameters. Results was, that I was just able to postpone bug to later time.

If I remember well, the Bluetooth Fast Forwarding bug was known at CM10 too, and Tonyp had solved it by substituing core bluetooth with Bluez. But it was quite complicated hardcodings, so I understand why he is not into repeating this kind of fixes at CM11.

Thanks for your hints, if I fail with Gucky's build, maybe I will later ask you for detailed Performance Control and Kowalski manager apps. Till then, wish me luck :)
[LG Optimus 2x] trivius:
OK, I have installed ROM you uploaded. Without any further change BT bug is there, so I suppose that BT fix is not part of it yet.

Now I'd like to install Bluetooth SPP, but I am confused a bit from apps, that Playstore provides.

From these similar apps:

https://play.google.com/store/apps/details?id=mobi.dzs.android.BLE_SPP_PRO

https://play.google.com/store/apps/details?id=at.rtcmanager

https://play.google.com/store/apps/details?id=de.widemeadows.android.bluetoothspptest

https://play.google.com/store/apps/details?id=com.aesopower.android.apps

https://play.google.com/store/apps/details?id=mobi.dzs.android.BluetoothSPP

I guess that it is the last one ( #5: mobi.dzs.android.BluetoothSPP), but Playstore refuses install it with message, that it is not compatible with my device LGE LG-P990. Am I doing something wrong?
[LG Optimus 2x] manix01:
Yes, is correct. It is the last one , but for me Google play give permission. Very interesting.
[LG Optimus 2x] trivius:
Still have no idea why Google Play reports Bluetooth SPP as incompatible with my LG P990 ... maybe because it is replaced by Bluetooth spp tools pro.

However, after I overcame troubles with Google Play permissions, I have installed apk of the Bluetooth SPP application manually on the cm-11-20141103-UNOFFICIAL-p990.m1.zip ROM. Immediately after installation, BT FF bug was present. But after reboot, and without switching to BluetoothSPP app, I successfully played apx 10 minutes of locally stored songs, plus few classic from youtube (check the Bach's Ouverture No. 3 in D Major - Air , it's amazing )

Now I keep A2DP playing at my Zii Sound T6 speakers and it has not been interrupted by BT bug even once so far.

So altough is too early to celebrate, things look much better now :) Thanks !

PS: And as usually ... anybody other can confirm it works?
[LG Optimus 2x] gucky01:
I'm very sorry that I didn't post the link to spp. It's the version by Markus Mayer

https://play.google.com/store/apps/details?id=de.widemeadows.android.bluetoothspptest&hl=de
[LG Optimus 2x] Avenger2040:
Well, I can confirm this, currently I'm listening music by BT in my LG ND8520, nice!
[LG Optimus 2x] trivius:
Never mind, I will try to continue testing with SPP app I have installed as a first. It seems that after reboot it does not need SPP app to be running. Lately I will share how it went.

And there is no reason to be sorry... the more important is, that you found this app and brought usefull workaround for us. That's amazing, thanks again for that, Gucky.
[LG Optimus 2x] wals46:
Thank you Gucky. The Cyano changelog says "CM11 M10", is it correct?
[LG Optimus 2x] gucky01:
Tony didn`t update the changelog yet, thats all!
[LG Optimus 2x] sudden36:
[MENTION=297315]offtopic[/MENTION] atleast he isn't one of these devs who first update the changelog and then do nothing ;)
[LG Optimus 2x] Firtecy:
Good News for everyone: It seems like that a very good dev (@timduru) in the tf300t forum managed to get a booting I version. The tf300t also has a tegra chip, but a tegra 3.

That doesn't mean the p990 can get it, but it is still a good start.

http://xdaforums.com/showthread.php?p=56550884

Gesendet von meinem LG-D855
[LG Optimus 2x] Frecciablu(2):
Well, even google asus nexus 7 2012 will get L.

But still tegra3

Aniway, im not a dev, people as you know if its possible to hope, or its very low related..
[LG Optimus 2x] yumeiki:
I've flashed the new cm-11-20141103-UNOFFICIAL-p990.m1.zip and i've this bug.

Connected the phone to the macbookpro, switched to usb mass storage, copied some file, unmounted the 2 sdcard from finder, pressed the button "turn off USB mass storage" the system reboot, like a soft reboot, it takes just few seconds, it show just the cyanogenmod boot screen, so the phone come back the previous view USB Connected.
[LG Optimus 2x] aoh1996:
He is a TF101 developer too, which has Tegra 2, as I remember... So we have a hope [emoji1]
[LG Optimus 2x] tonyp:
I did, but CM didn't ;)

The changelog is in the vendor/cm package, but they forget to update it quite often hehe

For my CM10.2 ROM I used a couple fixes from the amazing timduru - which are still in CM11.

Actually.. Without him we wouldn't have a working camera, he helped me to bring it up :)
[LG Optimus 2x] TheMysteryouse:
hmm

Also the timduru dev said in his post '...i will first make the Android L rom for the tf300t, and than comes the tf101 next....' and the tf101 HAS the Nvidia Tegra 2 chipset so we have a really good chance of L on our device. So hyped :laugh::laugh:
[LG Optimus 2x] sgspluss:
Maybe yes maybe no... This will show the time ;)

But anyways dont dream about lollypop if kitkat not really bugfree.

First lets made kitkat bug fixed, then who knows what will happens...
[LG Optimus 2x] TheMysteryouse:
I really would help to fix the bugs with you guys but problem is, i have 0% knowledge of source codes and coding so i am not really much of use :/
[LG Optimus 2x] Frecciablu(2):
Beh, kitkat with m1 is yet pratically bugfree.

If im no wrong, old jelly bean rom had more bug? (I hv start root from kk so im no sure..)
[LG Optimus 2x] PYCON:
Uhm sure ? :confused: ANd HDMI ? BT Calls ? :rolleyes:
[LG Optimus 2x] bentcissé:
For people that not use these functions this ROM is considered stable ;)
[LG Optimus 2x] PYCON:
Ahhhhhh ok, that's sure :)
[LG Optimus 2x] Frecciablu(2):
I had also hear that hdmi was work.. Just had stucked orientation.. Or im wrong?

Aniway yes, i not use these features.

And comparing to other rom jb, this have working camera
[LG Optimus 2x] skejpa:
Last completly bugfree rom i can think of is Tony's T-Build 05 of CM 10.1, which had working BT calls, HDMI and so on. Newer roms still had some at least minor bugs.
[LG Optimus 2x] tonyp:
If I remember correctly HDMI doesn't work in any of the 4.0+ CM ROMs.

But yes, in general the newer the Android version the more bugs you'll have for the LG 2x. That's the tradeoff for using a newer version of Android that wasn't intended by the manufacturer.

The problem is quite simple, we are using a base ROM with blobs and a kernel build for Android 4.0 (ICS) . The newer the Android version the more hacks are needed to bring it up and thus the buggier it gets.
[LG Optimus 2x] natalya:
If LG L9 can get Lollipop, so can we: http://xdaforums.com/optimus-l9/development/android-5-0-lg-optimus-l9-aosp-t2937142

[MENTION=1200697]DJNoXD[/MENTION] [MENTION=5600347]hjunii[/MENTION] [MENTION=3605868]tonyp[/MENTION] [MENTION=3783116]pengus77[/MENTION] [MENTION=5302855]CNBLACK[/MENTION] [MENTION=5124291]Firtecy[/MENTION] [MENTION=5543120]Puri2013[/MENTION]
[LG Optimus 2x] trivius:
I am back at the beginning. For a few days, BT A2DP playback was being OK (cca 30min of playback in a day) . Yesterday, after about 50min of playback, BT FF bug came again.

Since then, in every another playback, the bug is back in a minute.

How about others, are you OK with this?
[LG Optimus 2x] gucky01:
Hi, I checked out several conditions during the last days. Best method to make it work is the workaroud I posted above. But this isn't a satisfying solution! Meanwhile I think, that it is a kernel issue combined with cm11. In 3.1. this bug doesn't exist. I checked an old cm10 rom by Pengus-everything fine. I discovered too, that the connection between the phone and the speakers at first time in these roms is much quicker(and probably more stable).

I will try to change some bluetooth settings in the m1 kernel and will post the results if I'm successful!
[LG Optimus 2x] tonyp:
It works in cm10 because that's using bcm4329 instead of bcmdhd. Same goes to my PA ROM (based on CM10) and the cm10.1 one where I replaced bcmdhd (which was introduced with Android 4.2) with bcm4329.

LG never released a kernel with bcmdhd support, so all the support is kind of hacked in.
[LG Optimus 2x] Hugo-PT:
CM11 m12 rolls out

CM11 m12 rolls out :) Is the final update in the Android 4.4.4 KitKat-based CyanogenMod 11 series. Next month, comes the CM12. :p
[LG Optimus 2x] tonyp:
I've merged M12 to my repositories.

It's mainly a bugfix release from CM, but comes with one (hopefully) interesting change for our low end device:

From Codeaurora comes a commit which optimizes the lowmemorykiller values for low end devices.

https://github.com/tonyp/tonyp_frameworks_base/commit/f1f92ced077e0d97472773dc4108fa383f00442b

Once you get the update please disable customized lmks (e.g. the aggressive profie in PerformanceControl) and post your feedback how it works.

I've removed the option in the Settings to use my customized values. All in all I think they didn't work too well in 4.4 anyways, I tested and set them for 4.3 which does handle memory quite different.
[LG Optimus 2x] TheMysteryouse:
woot

Did i read corectly? Cm12?!?! WOOT alredy? :o I' impressed man.You guys are the life bringer of our phone good job :)
[LG Optimus 2x] gucky01:
I'm building right now. First m1, which will be ready and online early tomorrow. 3.1 should be ready on Saturday.

As always I'll post the links when it's done.

:o
[LG Optimus 2x] lukino993:
[MENTION=5021221]gucky01[/MENTION] after this that i think will be the last cm11 build do you have any plan to try to port lollipop ? :)
[LG Optimus 2x] wals46:
[MENTION=2514605]themistery[/MENTION]ouse

CM11 M12, read again
[LG Optimus 2x] lukino993:
After m12 i think that cyanogen will not release another cm 11 monthly so my question have sense ,i m only asking if he will try to porta cm 12 lollipop when the first cm12 build will be available
[LG Optimus 2x] gucky01:
Perhaps in some weeks, my friend. Actually I want to concentrate on the existing bugs in cm11. I think this is more useful at the moment.
[LG Optimus 2x] wals46:
Be satisfied of what you get now.
[LG Optimus 2x] lukino993:
Yes of course i'm satisfied..i was only asking [MENTION=4419380]wals46[/MENTION],we have to thank you all p990 developers without them this phone will not be the same. end of ot. [MENTION=5021221]gucky01[/MENTION] OK mate thank you
[LG Optimus 2x] soulripper24:
Hi gucky... That´s great news from you :) I have a request to make to you.... It is possible to integrate, in the new rom update, the app Messenger from google? And perhaps new google keyboard? Thanks in advanced ;) And by the way, in name of all of us... THANK YOU and THANKS TONYP for your massive work....
[LG Optimus 2x] gucky01:
CM11 milestone 12 with M1 kernel is up

:ohttp://sourceforge.net/projects/lgo...m-11-20141113-UNOFFICIAL-p990.m1.zip/download

Here we go, guys! As promised, here the first build. It`s 100% Tonys work. So we have to thank him for his great work!

All the best to you!
[LG Optimus 2x] trocopassu:
:good:Thank You, Guy's!...:good:
[LG Optimus 2x] PYCON:
Incredible :eek:

It's first lollipop rom for our P990 ? :confused:
[LG Optimus 2x] Hugo-PT:
Noup! Read again ;)
[LG Optimus 2x] PYCON:
Ops sorry :good:
[LG Optimus 2x] MatteoB92:
Excuse me mate, which is the difference between tonyp version and yours?
[LG Optimus 2x] bentcissé:
I have to flash the patch for the Italian translation?
[LG Optimus 2x] gucky01:
Hi Matteo, I built some roms in the past(you can find them in my own thread). These are based on Tony`s sources+ optimizations or some modifications by my own.

This newest rom ist based on 100 % sources by Tony. To differ the roms I used different folders to download. Because Basketbuild had many problems I use Sourgeforge since some weeks.

Hope I could answer your questtion.
[LG Optimus 2x] wals46:
The changelog says M11, pls confirm that this is M12.
[LG Optimus 2x] Peppe91:
Gucky01, does the latest build m12 includes the xposed module kit kat bugs fixer?
[LG Optimus 2x] tonyp:
I've already written in one of my last posts that CM had merged both patches for quite a long time, so they are already included in all the recent builds and the bt fixing was a placebo, unfortunately.

Damn CM just can't update the changelog properly :D

But I've updated all repos relevant on my github so it should be.

You could check if there's the memory optimization setting in Settings - Performance - Memory (it shouldn't), and of course can verify with the build date in about phone.
[LG Optimus 2x] Hugo-PT:
Yes it is m12! cm, just didn't update the changelog. ;)
[LG Optimus 2x] Peppe91:
The new memory management it's really worse than Tonyp memory optimization.. Any other feedback?
[LG Optimus 2x] MatteoB92:
Understood, go on your incredible work :)
[LG Optimus 2x] lukino993:
yes also for me latest version is slowly than the previous
[LG Optimus 2x] droide_volante:
[MENTION=3605868]tonyp[/MENTION]

This is what i see:

-changelog

-about phone

-performance-memory
[LG Optimus 2x] yumeiki:
Fleshed cm-11-20141113-UNOFFICIAL-p990.m1.zip after a full wipe but i'm experiencing problem with maps, it crash most of the time and do not download map images. I've installed twice after another full wipe.

Here's the log after a few crashes.
[LG Optimus 2x] wals46:
For the converted to oldbl it is slower, too. More exactly, sometimes it's smooth and sometimes it's very laggy.
[LG Optimus 2x] Jackson-five:
have you installed the newest maps (with material design)? It also crashes on my CM10.1 (tonyp). The last version (8.xxx) works like a charm. The new version crashes after 5-10 secs (it works, can use it for some seconds - than white screen and a crash follows). ...Maybe it´s just the new version of maps. cheers.
[LG Optimus 2x] Hugo-PT:
I am also having the same problem with the latest version of google maps. Maybe it's a app problem.

About being slower and sometimes laggy, does not happen on my. I even think, that is slightly faster compared to the previous version! I'm with the stock optimizations, and without any tweaks

tonyp, gucky, thank you so much for this final version of CM11. You guys are awesome :highfive:

Cheers,

Hugo
[LG Optimus 2x] kennyFF92:
I'm still with M11 3.1 and last version of maps works good on it. Firtecy Kernel 5.
[LG Optimus 2x] gucky01:
3.1 build is up

http://sourceforge.net/projects/lgo...-11-20141114-UNOFFICIAL-p990.3.1.zip/download

Have a good weekend!
[LG Optimus 2x] TheMysteryouse:
Downloading right now..Testing is on!
[LG Optimus 2x] trocopassu:
Thank You, My Friend. A Very Good Weekend to You too...and a BIG Thank You for Your hard Work![emoji2] [emoji2] [emoji106] [emoji1] [emoji1]

LG O2x P990@TapaTalkVIP v4.8.3
[LG Optimus 2x] bentcissé:
Thank you a lot!

This version with the firtecy exp 6 would be amazing maybe even with dt2w full working ;)
[LG Optimus 2x] mpoumpis:
Are we able to dirty flash the newest version (M1) over the rom with gucky01 mods?
[LG Optimus 2x] Hugo-PT:
Yes, you can. But I recommend to make a backup before, just in case.
[LG Optimus 2x] vanko11595:
wifi tethering do not start with this latest version of ROM. cm-11-20141114-UNOFFICIAL-p990.3.1.zip
[LG Optimus 2x] TheMysteryouse:
wut

Playing with the M1 version and I need to say.......holy moly the available memory and processing speed is horrible.I mean just...wow.I have only like 30-40 mb free with nothing running in th e background. But oh well what can ye do about it.Anyways thanks for ye hard work really appreciate it <3
[LG Optimus 2x] yumeiki:
Tested during this weekend but it's way too lagging compared to the last M1 by Tony.
[LG Optimus 2x] sgspluss:
I dont know but what you can try to do, disable zRam and set swappiness to 40, this should be solve this.
[LG Optimus 2x] DaChris2k13:
if you're don't using swap or zRam the swappiness settings are still not working because swappiness works ONLY when swap or zRam is enabled without swap or zRam is there nothing to swap

[MENTION=5886593]TheMysteryouse[/MENTION] disable zRam and push THIS file to /system/etc/init.d with chmod 755 and your phone will run faster, for me and some friends it works perfectly....

Note: The file enables 256MB Swap storage on unused partition but this file is only for NEW Booloader
[LG Optimus 2x] TheMysteryouse:
Such confuse much stupid.wow

sorz dude i forgot how u disable zram and change swapiness lol.Can ya maybe tell me? lol
[LG Optimus 2x] trivius:
Do you have any news about Firtecy's kernel #6 existence or preparation?
[LG Optimus 2x] bentcissé:
It is in the test phase
[LG Optimus 2x] May.Assem:
Hello,

Could someone please help me with the best settings for smooth performance? The ROM is for my mother, who has minimal requirements when it comes to features. She just needs the phone to not freeze while she's using Facebook or WhatsApp and decent battery life.

Thanks in advance.
[LG Optimus 2x] MarimoMusicHead:
I'd suggest CloudyG3 1.2 on ART, all you need...
[LG Optimus 2x] Slowdeath:
Correct me if I'm wrong but there is no CloudyG3 1.2 ROM for LG P990/Optimus 2X... I think it is only for G2. :)
[LG Optimus 2x] May.Assem:
Where in settings can I find that?