yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] MatteoB92:
I hope [MENTION=3951330]timduru[/MENTION] could help us, he is a God doing an amazing work on my Transformer TF101 !
[LG Optimus 2x] NoDze:
Some good news. The folks at the Captivate Glide forums have an almost stable and fully functional CM12/5.0 Lollipop build. Why is that relevant? Because the Samsung Captivate Glide uses the exact same chipset as our LG Optimus 2X P990 - AP20H.

Link here :)

Edit: Well, ****, I didn't see that TonyP posted exactly the same thing 2 posts before me. Just ignore this and move on.
[LG Optimus 2x] Frecciablu(2):
I have contact [MENTION=3951330]timduru[/MENTION]

:D

Here his reply:

So [MENTION=309623]TO[/MENTION] developer

If have any immediate quest, ask him, he will reply as he can :)
[LG Optimus 2x] gucky01:
Thank you very much, Frecciablu!

My basic idea was, that he should look at Tonys device and vendor tree, if there should be changes to work with his(AOSP) sources.

Actually I'm trying to build a rom with Timdurus sources again, made small changes, but in my opinion it will not flash or boot, because he made many changes in frameworks etc to improve the power for his Tf101.

---------- Post added at 07:09 PM ---------- Previous post was at 06:56 PM ----------

I tried both ways, actually I try to include the fixes for cm12 Tony posted above. Oh man, sometimes I run out of steam:crying:
[LG Optimus 2x] MatteoB92:
If we only were able to implement HDMI-out, as I use successfully with his ROM for the TF101 :)
[LG Optimus 2x] gucky01:
CM is back again

Hi all, after several weeks I could wake up the CM-sources to work with our phone again.

First I tried the CM-sources + Tonys device and vendor tree and added the changes to build(I posted some weeks ago). I used TARGET_CPU_VARIANT := generic in boardconfig. This build stops with the known ffmpeg error.

In the second build I used the patches made by bubor(https://github.com/buborh/android_device_samsung_i927/tree/cm-12.0). @ Wulsiv: Did you see, that he is using your ffmepg patch? Again I used the generic command. Now build finishes, but I`ve got a bootloop. Logcat shows the known /F error in libc.

Third try: I changed TARGET_CPU_VARIANT in boardconfig to tegra 2. Now the rom boots up! I think, the tegra fix made by bubor is the reason! Credits goes to him!

This rom crashes after some seconds, it was too late yesterday to get a logcat. I will post the results in the evening and will upload the build, if you want.

With new hope,

Gucky01
[LG Optimus 2x] Frecciablu(2):
Publish it ;)

But ill have low time to test :$
[LG Optimus 2x] MatteoB92:
Here I am during these days, but you must say me which app you use to test the system because if I understand well CatLog isn't working appropriately on Lollipop :(
[LG Optimus 2x] Frecciablu(2):
Syslog 1.8.1 my friend ;)
[LG Optimus 2x] TheMysteryouse:
Thank you

Thank you gucky just...thank you.For all of your work for this rom.The rom could never be finished without you.Hope you can upload your rom so I can test some things and see if we can get it fixed.Thank you.
[LG Optimus 2x] roc.mateo:
:D

Can't wait.

Happy to hear that someone is working on 5.0 for LG 2x

Thanks man :D :D :D
[LG Optimus 2x] kayuz:
if I can I will help you :D
[LG Optimus 2x] Borias:
Awesome guys[emoji106] , keep up the good work! And if you need a noob tester, here I am[emoji4]
[LG Optimus 2x] gucky01:
Intermediate result: I checked nearly 50% of the 40 files in framework. 3 of them I discovered to be replaced by those from kitkat. I don't think, that I will be ready this evening. At this moment I'm checking letter "e"

Ok, here they are:

android.policy.jar

conscrypt.jar

core.jar

If you want to check it out, too, replace these files and all files up to letter "e".

Or wait till tomorrow.
[LG Optimus 2x] TheMysteryouse:
D:

Tell me in PM step by step guide how to make it boot D: Me is stuphed lol
[LG Optimus 2x] kayuz:
really goood :D

I'll try is as a blasting thunder :D
[LG Optimus 2x] natalya:
Are you guys seriously trying to get this thing booted with your eyes closed? Drop some logs and then debug.
[LG Optimus 2x] TheMysteryouse:
hehe

Like in my land how they say : It's easy to say but not easy to make. We got it booting and everything but something isn't right.We are curentlly using other frramework items form other rom so we can investigate.We cant make a ADB connection in the bootanimation in the first rom so we need to go this way.This annyoing ' Unfortunately the process android.SystemUi.apk has stopped. Such annoying omg. lol
[LG Optimus 2x] wulsic:
Well, if you know where it goes wrong then you could investigate the leads a bit. Could you tell us maybe which lines you got in your local_manifest? It's located in your Cm12 Repository/.repo/local_manifests/local_manifest.xml

If you can't do that, could you maybe say like where you picked also sourcecode from? Could you also maybe upload your device tree to github? Or just then simple in a zip :p if you edited something.

I will try to get my hands soon on a 2X so I can participate in this project with porting CM12 to the 2X, Old memories are coming up.

If it also can't make adb connection in the boot animation then I also suggest to check your ramdisk since that could also be the cause but there are ofcourse more things why a rom can't make adb connection but most of the time it's related to the ramdisk in my experience. (Psst. I am still a noob:good:)

If we can get adb to work then we could get the reason why it won't boot properly cause we can't hold the dirty port files from kitkat for framework.
[LG Optimus 2x] TheMysteryouse:
For gods sake

For Gods sake o; I haven't build this rom for source o; I merged the 2 roms that i said above and made it kinda work but still.I can't share the device tree or the manifest because i didn't build the rom from source.I dont have the time now to build it, se yeah
[LG Optimus 2x] wulsic:
Well sorry then :l I will compile it soon when I have time and when I have borrowed the almighty 2x from my dad. I will see how neon will go if it boots
[LG Optimus 2x] amarprat87:
[MENTION=5124291]Firtecy[/MENTION] , I wonder if he is watching this space. He also knows a lot about this device as he worked on Kernel...
[LG Optimus 2x] Frecciablu(2):
I would generally know if he is still on forum... :S
[LG Optimus 2x] TheMysteryouse:
hehe

hehe who knows ma friend.....who knows.... And where the f is gucky all day lol
[LG Optimus 2x] gucky01:
Dear guys, today I worked on my own lollipop-build. I use Tonys device and vendor tree of cm11. After some modifications the building-process fails near the end. But the "system-folder" is complete, so we can build a zip manually. I used the rom by Mysteryhouse, made some little changes and its done.

BUT. This f* rom has a bootloop, too. If you want to check it out and help us to make it work, the link is downside,

I uploaded the recovery-log so you can see, if theres a main- error inside-

Second rom ist Mysterys. I changed somes files to get it boot, but errors remain because of the kitkat files.

I will go to a party this evening, try to forget this grey day and hope someone has ideas to fix the issues.

https://sourceforge.net/projects/lgoptimus2x/files/P990/Testings/
[LG Optimus 2x] TheMysteryouse:
Its okay buddy

Awwww it's sad to hear that but dont worry buddy.DOnt be sad.We gonna make it work.I promise.Even if we need to ask tony or someone else for help, but we will do it. Enjoy the party my friend ;)
[LG Optimus 2x] zerocoolriddler:
The "build.prop" points to "libdvm.so" which doesn't exist in /system. Maybe that's a Problem? Changing it to "libart.so" seems like a good Chance. Maybe...:confused:
[LG Optimus 2x] TheMysteryouse:
Good call

Ill try it.I dont have ANYTHING to lose tbh
[LG Optimus 2x] TheMysteryouse:
Nope

Changing it to libart.so didnt fix it, but it is part of the fix i think.Anyways lets go deeper in the source. [MENTION=1200697]DJNoXD[/MENTION] where are ye hiding? :b
[LG Optimus 2x] MatteoB92:
I found newer 1.9.0 in the Play Store https://play.google.com/store/apps/details?id=com.tortel.syslog, however if [MENTION=5021221]gucky01[/MENTION] uploads his release we can test it :)
[LG Optimus 2x] droide_volante:
Here i am , i' m using p990 as secondary phone , i can test it whatever rom!!!
[LG Optimus 2x] gucky01:
Hi again, please be patient. I'm currenty building two clean roms (omnirom and cm) with Wulsic device tree included the changes I posted above. Should be ready in the morning. Cause I upload under windows, you have to wait till tomorrow evening, ok?After that we can check the differences. In my logcat from my build yesterday I can see two different /f errors. The last with art could be the reason for the crash.?
[LG Optimus 2x] gucky01:
Sourceforge is down actually. I try to upload to basketbuild.

My building of omnirom failed with the new changes. Have to dig for the reason later.

CM build works well, boots up, but crashes after 2 or 3 minutes. I tried to boot again and saw, that wifi works. That's fine!

After some time it crashes again, we have to analyse the logcat to get further.

I`ll kill my basketbuild account!

Here is a working link:

http://www.share-online.biz/dl/RH6TOKJNOD

This build uses Wulsic`device tree!
[LG Optimus 2x] wulsic:
[MENTION=5021221]gucky01[/MENTION] maybe it doesnt matter so much but the log that you posted was also whining about a implified prefix so fstab thingy. I wonder when we will have a stable cm12. I am also currently still busy with school so not too much time for it. I have the weekend and next week maybe time for it. after that I might will also stop for the p990 and also some other devices development.

I still cant believe that this device even managed to have android 5.0 working since this is from 2010. And again.5 years have almost past. Time goes so fast xd
[LG Optimus 2x] Frecciablu(2):
I cant manage to download @.@

Can you use mega?

--edit--

Downloading...
[LG Optimus 2x] Frecciablu(2):
I have to call it "the 30 second rom" maybe its about what you told

Anyway its no a crash.. At last i no get crash msg or reboot, but phone cometly stuck, and you need to put in battery and reboot phone :S

Later ill post a complete buglist. And ill try provide logcat.

About the status 7 error on flashing, what is it? Its about memory? :S

Please gucky keep try for this cm12, lock v nice :)

Iden if i guess we need a new kernel or m1 build (you already tried build with m1?)
[LG Optimus 2x] DJNoXD:
Someone likes to try the new trwp 2.8.5.0 with lolipop and tell me if its working?
[LG Optimus 2x] Frecciablu(2):
You mean try flash lollipop with that twrp version?

If so provide me link pls and ill try :)

About status 7, you know something?

I had just modify the cm12 zip adding apk and buildprop as did with omnirom and pa, but in this case i get that error :@
[LG Optimus 2x] DJNoXD:
http://xdaforums.com/showthread.php?t=2794953
[LG Optimus 2x] TheMysteryouse:
Testing

Hello there everyone.I managed to download and flash the cm12 rom and I must say that I am immpressed.Of the looks of it it is much smoother than the Omnirom.I can agree, it crashes after 1-3 minutes.Highly unstable to use but we could fix that somehow.In the looks of it in the fixed list we can put

Wifi - fixed

Battery 999% - fixed

Keyboard - fixed

I am really ipressed we got Cm12 working and the best part is it runs smooth without you could say lag.I am sad that therom crashes but well, with a little bit help of logs we can fix it maybe.I love the new bootanimation btw.I will try to make some logs and send them here.

Thank you gucky, wulsic and the other guys who helped in this project.
[LG Optimus 2x] salmanfarisy:
About status 7 when flashing a ROM:

http://xdaforums.com/showthread.php?p=35901166
[LG Optimus 2x] Frecciablu(2):
Thanks, but its no my case .-.
[LG Optimus 2x] TheMysteryouse:
Some Screenshots

I just saw that the screenshot problem we had earlier is fixed so I made some before the phone crashed for thoose who want to see it runing on our phone :)
[LG Optimus 2x] Frecciablu(2):
[MENTION=1200697]DJNoXD[/MENTION]

New twrp version work great :)

Flashed Lollipop without problem

m.m"

It had show me the effect of screenshot, but then it notific me "not enough memory or app is no able to do screenshot"

:S

You had way to take logs?

If we take away and in battery we should be able to take them, right?

Anyway

New bugs:

- Stuck after ~1min

- Sim detect

- Gallery no detect image and video

- Music player no detect songs

- Clock app no work

- ¿root? I had no success on get it work

Improvements:

-wifi work (also keyboard)

-cm12 seems very fast.. Before stuck

-working softkey brightness

-better change user experience

+ little thing, on this rom in recents app you not see whithe card, but the img of the app (as an usual multitasking) [emoji14]
[LG Optimus 2x] gucky01:
I did'nt activate my github account yet. So I'll post some useful changes I found out so far. Perhaps Wulsic can integrate them into his sources.

1. Change the files in the patches folder with Bubors + his vendorsetup.sh

2. In boardconfig.mk change target_cpu_variant to tegra2

3. In boardconfig.mk delete the entry target_uses_logd= false, because this entry causes adb logcat to fail!

4. After checking the logcat I found one simple error: The file media_codecs_ffmpeg.xml isn'nt copied during building. If I integrate it into the rom manually, the error is gone. Perhaps someone has an idea to include it via the device tree.

Update: Simple solution: Copied the file to device tree and integraed it into the p990.mk

Actually I'm building a new rom with one fix I posted to the omnirom version. I checked it again. If I didn't revert the commit., the omnirom crashes. So I've got some hope, that this will fix the crash in CM, too. (https://github.com/CyanogenMod/andr...mmit/3da82d42aad56098134c17c6307697e7e18b5d20)

Update: Doesn`t work! :crying:

Gonna test a rom with newest sources today.

Since sourgeforge works again, Here is a mirror to my last working rom:

http://sourceforge.net/projects/lgo...M/cm-12-20150212-UNOFFICIAL-p990.zip/download

Logcat to this rom:

soon
[LG Optimus 2x] gucky01:
F/art ( 426): art/runtime/base/mutex-inl.h:203] Unexpected state_:-1 for mutator lock

This last entry in the logcat should be the reason for the crash in cm12. Friends, please help me to understand, what this means and what part of the code is related to.
[LG Optimus 2x] TheMysteryouse:
Google, [MENTION=3605868]tonyp[/MENTION] or other advanced developers will need to help us here I think.I will update this msg if I find ANYTHHING on google that is related to this problem
[LG Optimus 2x] Frecciablu(2):
Tested, still same stuck problem and same bugs.

Searching for the error u had report i have find a remind to s3 topic on xda.

But i no had find solve problem.

You can try ask to developer of that rom or to [MENTION=3951330]timduru[/MENTION]

Maybe he can reply this?
[LG Optimus 2x] head_banger:
That error might have something to do with dex fuzzing, look that up, somethin to do with mutation
[LG Optimus 2x] sgspluss:
I saw that the samsung galaxy note 2 had the same problem with mutex.

They fixed it with following changes:

https://github.com/DerTeufel/android_frameworks_base/commit/f8146d56eab71245cf6b86d0c5a4725c528d8a0b

If this are just a part of more, contact the developer maybe he can help here out ;)
[LG Optimus 2x] awais_2:
Logs

I have installed the ROM on top of the previous OMNIROM rom.

You can see if there are any differences.

Thanks,

Awais
[LG Optimus 2x] gucky01:
Thank you very much sgspluss:good:, I didn't found that commit..

Edit: The fix is included in official cm code already:crying:.

But omnirom has got 5 commits for this issue. I'll give it a try.
[LG Optimus 2x] sgspluss:
Dont worry my friend, good things need times :highfive:

Can you share the mutex-inl.h from art/runtime/base/ or the line 203?

Also i will hold open up my eyes, maybe i found more which could be help.
[LG Optimus 2x] wulsic:
https://github.com/omnirom/android_art/blob/android-5.0/runtime/base/mutex-inl.h

This is the mutex-inl.h, the whole file gives a better view then just a piece of code:cowboy:

I will maybe also look into some issues later this week and in the patches to fix it but can't promise anything. I will also cherrypick the fixes or they must make a pull request to me :l but I guess I will just pick them away :)

Further nice guys that you are making 5.0.2 to work better:fingers-crossed: I don't have too much time for these things anymore to be honest.
[LG Optimus 2x] sgspluss:
Have compare it with some other, there it isnt anything wrong...

Let me talk to some developers maybe they have any idea ;)
[LG Optimus 2x] wulsic:
Alright hope they can help us ;)

I also updated my omni-5.0 branch with commits cherry picked from [MENTION=3605868]tonyp[/MENTION] [MENTION=1200697]DJNoXD[/MENTION] [MENTION=5543120]Puri2013[/MENTION]

https://github.com/wulsic/android_device_lge_p990/tree/omni-5.0

Could you guys also check maybe if I have missed something but I believe that I cherry-picked everything important for a clean base. I will also update later my cm-12.0 branch with all the commits.

I will also do some small research on the patches :good:

[MENTION=5021221]gucky01[/MENTION] I also saw some mentions of OMX.BRCM in your logcat, so could you also update your sourcecode a bit to mine because that OMX.BRCM was just a dumb fault of me while making the branch to lollipop :l.

EDIT: I am now also compiling omnirom and I will see later or the audio patch is working now or not. I already pushed it to my omni-5.0 branch but I am still not sure or it works but I might lose the updated patches if I wouldn't push it :l

IF the audio patch works fine then we should have all the old patches except for SKIA cause yeah, they really updated it and I am not sure whether it's now neccesary or not anymore, I believe not but I ain't sure. I am now making everything for Omnirom first and after that I will update everything for Cyanogenmod.

EDIT2: The build process started complaining about presentation which I had to do outside the #endif. I will try to fix the Audio.H patch tomorrow.

EDIT3 We must also make some new patches :p

https://github.com/TeamRegular/andr...mmit/d4e6d9e17a132b08d3a378f5ac50544083470938

https://github.com/TeamRegular/android_frameworks_av/commit/080aefedc2f0b50ee93f0c2cb05501666e6997d0

and we already got this :p

http://review.cyanogenmod.org/#/c/79717/
[LG Optimus 2x] sgspluss:
Well dont see any differences to an other from omni, so there arent be the fault.

But found this: https://android.googlesource.com/platform/art/+/590fee9^!/

Maybe this could help to fix the mutex error...
[LG Optimus 2x] trocopassu:
LOG's

A Log's from "cm-12-20150212-UNOFFICIAL-p990.zip" "gucky01" ROM...as always, I hope they have some use.

Thanks to All of You, Guy's.
[LG Optimus 2x] gucky01:
Hi Troco, thanks again for your support. Which tool did you use for these logcats and how did you install it? I've got an idea after reading the radio log and wanto to check it out...
[LG Optimus 2x] trocopassu:
Hi, Buddy!

I use a Great Tool from SpyrosK - Thank Him -... AIO P990 ToolKit v6.0;
[LG Optimus 2x] gucky01:
:o I didn't realize, that AIO has got this option....

Thanks again!
[LG Optimus 2x] wulsic:
Maybe the mutex error is also caused by the audiohardware and those related files :l But gucky I am not always having the time to read everything but now I read back to when you was talking about bubor and I think that we must also focus on his device tree and his patches since we could maybe use those also to get it faster like out of the alpha phase.
[LG Optimus 2x] sgspluss:
Maybe yes, but i think (because of the screen issue) its something with stings about mutex on screen.

Do not really know what it could be but as i have said, will talk to other developers maybe they should know it.

Also dont think we need to rush with it, because kitkat and else are working quite good.

Means takes all the time you need to get it work :highfive:
[LG Optimus 2x] gucky01:
I'm not really sure, if it's an error. As I described I had to revert one commit in Omnirom to get it work. If I remain on standard settings logcat shows the same error as in CM. So my theory is, that it's caused by too many large processes in the backround.

I looked into the differences of Omnirom and CM again and found out, that there are more files changed in CM. In this way it isn't enough, to chance the phonefactory.java file alone.

Update: Phonefactory.java was the reason!!!

I tried to build with an older CM-file, had to integrate some changes and now....

Error is gone!

I will upload this build in the evening. The known bugs are present. Sim card, music, camera, but this build doesn`t freeze:)

Perhaps we can use the original phonefacory file later, if we got fixed the sim card issue. This is the next step I want to concentrate on.

Loooking forward!
[LG Optimus 2x] gucky01:
New CM rom

As promised here my newest CM-rom.

http://sourceforge.net/projects/lgo...M/cm-12-20150222-UNOFFICIAL-p990.zip/download

Please read the info to the rom in my posting above!

Testers, have fun, and post your results...
[LG Optimus 2x] pijas82:
Wow nice, thanks

I will test ,more 3 hours,and i repórt:)

Sent from my A0001
[LG Optimus 2x] TheMysteryouse:
Oh trust me, I will have fun testing it. It will we SOOOOO much easier now to est stuff when it doesn't crash.Well soon we are out of the alpha stage but there is still alot to fix haha. I will post issuess I find here.Thank you once again.

EDIT: By the way, gucky, you should make a CM12 exclusive thread because this one is for OmniRom.
[LG Optimus 2x] Frecciablu(2):
You should rename this topic to generally "Lollipop" so developers that are working or want work on a lollipop rom can share here their experience.

And make a new cm12 topic, yes ;)

Anyway really thanks for the bugfix.

I would really test, but must wait another wek :(

Ill help as soon as i can :S
[LG Optimus 2x] gucky01:
Mystery, Freccia's hint is good. In my opinion we should rename the thread to Lollipop for 2x...

If it's necessary later we can open up new threads.

Perhaps you can link to the 3 available roms(omnirom, puris and cm like you linked to my omnirom builds in the first posting?]
[LG Optimus 2x] trocopassu:
Hello.

I did the installation of this new update that in the previous, is much more stable.

I flash the ROM with TWRP and everything went perfectly well without any complications ... just not a sign of my mobile network. I have not tested anything more, because I'm working and have no time.

For now, Thank You "gucky01"
[LG Optimus 2x] droide_volante:
I test this rom now [MENTION=5021221]gucky01[/MENTION] !!!!

---------- Post added at 09:48 PM ---------- Previous post was at 08:53 PM ----------

I got freezes when i try to test this rom:
[LG Optimus 2x] DJNoXD:
ffmpeg

As far as I found while reviewing the code, we don't need ffmpeg.

CM add ffmpeg to media_codecs.xml for some formats. (I guess this has something to do with replacing google stuff)

Until we don't use / add any of this to our file, ffmpeg should not be needed.

Did I missunderstand something, or am I right?
[LG Optimus 2x] essezeta:
pls what kind of gapps we may use?

thanks
[LG Optimus 2x] wulsic:
No we indeed don't need ffmpeg. Gucky01 and I are now mostly doing things on omnirom as they don't have somethings included like cyanogenmod has to also prevent problems and comparing.

Well light gapps lets say paranoid android gapps core or mini? And then you might have to remove the keyboard out of it? But I am not sure.
[LG Optimus 2x] MatteoB92:
Gucky has written me into PM, my TF101 is available for a logcat comparison if you need :)
[LG Optimus 2x] gucky01:
Thanks, Matteo. I want to compare the mainlog and the radiolog from tf101 with the logs from our 2x. Perhaps we can find details, to resolve the main issues.

Unfortunately I don't know, which tool works well to create logcats for the tf101. You can try some tools from playstore.

Good luck for your exam!