yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] tonyp:
Had been away over the last days, merry christmas everyone!

The SIGILL error in the log almost certainly means that it's a neon related issue.

If CMs ffmpeg creates that many problems you could try to use AOSPs version (or whatever the other T2 lollipop devices use).

[MENTION=5403922]wulsic[/MENTION]: Regarding your boot problems.

I'm quite sure it's a kernel related issue. To verify you can just flash the kernel from pengus thread after flashing the rom.

As I told you before pengus kernel needs to be compiled with a toolchain that supports graphite, which the AOSP one, afaik, does not.

So you'd need to use a special toolchain for the kernel (like linaro) - or just use the precompiled kernel again as it's of no use to compile a kernel that doesn't receive any updates, anyways..
[LG Optimus 2x] gucky01:
Yes, I agree. But where to search for? And why does building doesn`t fail, if NEON was used in the code?
[LG Optimus 2x] wulsic:
The weird thing is, I was using a prebuilt kernel :confused: it was ramdisk related I guess because of some boardconfig stuff I think but I still gotta figure it out.
[MENTION=5021221]gucky01[/MENTION] we must look where it failed and then look for the neon there. Or we should get the tegra bionics to work. But djnoxd used generic aswell in his kitkat builds right?
[LG Optimus 2x] gucky01:
Wulsic, your rom doesn't fail because of the kernel. I checked Tony's advice with a m1 and 3.1 kernel. Nothing worked.

My building process stopped again last evening with a new error. No time to search for the reason yet

When I arrived home today I set up a new build with the aosp sources. Now, after 2 hours of building it goes on without any problems.:fingers-crossed:

Tomorrow I have to work again and then 5 days time to fix the issues with your help, my friends. I am very hopeful, that the new year will see a Lollipop 2x soon.
[LG Optimus 2x] tonyp:
Yeah, unfortunately I couldn't spot any related binary in the log either which would explain the neon code.

The BoardConfig seems to be okay, too (vfpv3-d16 etc.).

Apart from that I'll drop three more links:

First some great tips on some advanced commands for repo:

http://xda-university.com/as-a-developer/repo-tips-tricks

Second timdurus repos for frameworks/native and frameworks/av with lots of T2 compatibility commits.

Check everything committed by timduru after Nov 7th.

https://github.com/timduru/platform-frameworks-native/commits/katkiss-5.0

https://github.com/timduru/platform-frameworks-av/commits/katkiss-5.0

I'll keep my fingers crossed!
[LG Optimus 2x] TheMysteryouse:
Again, offtopic but Happy New Year everyone.Hope that this year is gonna be the best for you if the last one wasn't.Forgot to post on 00:00 haha :D
[LG Optimus 2x] TheMysteryouse:
Is....this project still alive?
[LG Optimus 2x] Peppe91:
Dude, I don't want to be rude but it's not nice to ask right now.. It's holidays time and the devs are not paid and not forced to do anything here.. Just don't ask and happy new year. ;)
[LG Optimus 2x] TheMysteryouse:
nonono i dont mean that.I dont even know when the holiday time is fro you guys but i mean it's been a while for progress.Hope no one meant it in a rude was:(
[LG Optimus 2x] wulsic:
It is as far as I know but my progress went further but I didnt achieved something really new yet. I had compiled today omnirom 5.0.2 and the charger was good copied and the updater-binary still had issues. Also the updater-script was using the old edify without selinux metadata stuff so... No real big progress further but I am trying it. I am also trying to make progress but I need to learn for a week with tests only and after/during that I will try to make some more progress but I am not a pro developer or what, just a android geek with soms computer knowledge :good:
[LG Optimus 2x] MatteoB92:
I go a little off topic : this afternoon I flashed Lollipop 5.0.2 to my Asus Eee Pad Transformer TF101 (thanks to the guru timduru) that has 768MB and not ’only' 512, but the same Nvidia Tegra2 chipset.

This is the best score that I was been to record

Just to show the makings of a CPU (stock at 1.0Ghz but in my case overclocked to 1.64) if well used!

I remember that at ICS'times the 02X flied when I OCed it to 1.5 with a custom kernel..

So I hope this dream could be true, again : good luck with the development my friends, unfortunately I'm such a noob and can't help in a whatever way, but I believe into You :)
[LG Optimus 2x] gucky01:
:):(Hi guys, since my last post I worked on 3 different Lollipop-versions for our 2x.

1. CM-sources: The ffmpeg bug ist still there. I tried very much to fix it, but no success so far.

2. Timduru(AOSP)-sources: I used Timdurus device tree and modified many files and settings. Actually this rom fails in flashing with an error in the updater binary.

3. OMNIROM-sources: I used omnirom + Tony`s device tree. Actually this rom fails in flashing, too. I know, that Wulsic ist working on it, perhaps we can fix this issue together.

I will upload the roms + my modified device trees in the evening, so you can play with it(@Mysteryouse) or check the settings, if there are errors.

Here is the link: Please think about, that no rom boots completely!!!

https://sourceforge.net/projects/lgoptimus2x/files/P990/
[LG Optimus 2x] Frecciablu(2):
Just now first cm L nightly are going to be published.

There is many time ;)
[LG Optimus 2x] pijas82:
Sorry offtopic

Sent from my A0001
[LG Optimus 2x] gucky01:
LOLLIPOP!!!!!

Gucky01 proudly presents:

Lollipop on Optimus 2X

Here the first picture. Rom and instructions will follow soon...

http://sourceforge.net/projects/lgoptimus2x/files/P990/Lollipop/Lollipop.jpeg/download
[LG Optimus 2x] pijas82:
Wowwwweeeee :D:D:D:D:thumbup::thumbup::thumbup::eek::eek::eek:

Sent from my A0001
[LG Optimus 2x] wulsic:
[MENTION=5021221]gucky01[/MENTION] I see that you used omnirom because it doesn't contain FFMPEG, wise decision for now ;) Nice that you got it booting, could you upload your sources and say maybe what you changed that you got it booting? I tryed again yesterday but it resulted again in a LG bootlogo bootloop but I don't know what it was then.

One of the awesome things that would make android more awesome is verbose instead of bootanimation, also usefull if you are getting a rom to work which is in bootloop but sadly in my case that wouldn't work.

Goodjob :good:
[LG Optimus 2x] gucky01:
Here it is

Hi guys,

after weeks of hope and hopeless I managed to build a booting rom for our 2x.

First: This rom is an alpha!! Quite nothing works..

For those, who want to have a look, want to test....

Please first backup your working system!!!!!

Install latest TWRP by DJNOXD. Then make a full wipe and install the rom.

Flashing needs about 10 minutes, booting dito.

[MENTION=5403922]wulsic[/MENTION]: Perhaps you can test the changes in the updater script(compare to yours, that was the problem) with your rom. It should be useful, if you push the sources to github, so we can work on the improvements.

Here is the link:

http://sourceforge.net/projects/lgo...mni-5.0.2-20150107-p990-HOMEMADE.zip/download
[LG Optimus 2x] pijas82:
Twrp djnoxd link, please

Bugs?

Sent from my A0001
[LG Optimus 2x] gucky01:
http://xdaforums.com/showthread.php?t=2794953

And please read my post carefully! Working parts and bugs should be posted by the testers!
[LG Optimus 2x] Frecciablu(2):
You was mean "quite nothing work" i guess..?

Or.. U mean all work? O.o

Ill try as soon as i can! :)

Great work bros :D

Sorry for lil offtopic, but what change betwen omnirom and official lollypop?
[LG Optimus 2x] NoDze:
Flashing, will report soon. On a side note - flashing is extremely slow for a >200MB file. Maybe the compression is high?

Update: flashed, waiting for it to boot :)

Update 2.0 booted in 4 minutes, but on lockscreen softbooted, or maybe I'm missing something?

Update 3.0 (even though wooby already posted, but whatever)

What works so far:

- Touchscreen and display

- Stock apps

- Reading from internalSD

- Hardware buttons/Capacitive keys

- Brightness

What doesn't work:

- WiFi

- Bluetooth

- Mobile Networks

- Writing to internalSD

- Audio

- Random softboots and freezes

- Sensors

- Battery indicator

- Camera

- Usual CM bugs?

I did actually take a few photos, if you guys are interested? Nothing fancy, but God, it was an amazing feeling having 5.0 on this old device. Your blood starts pumping when you pull down the notification bar :D
[LG Optimus 2x] Wooby:
Ok there is like 200 mb ram free, the rom works fine

Bugs:

No WiFi

No brightness

Camera don't work

Battery bug 999%

No service

Music Don't work

What is working :

Settings

Easter egg

Gallery

Calculator

Browser

Dialer

SMS

Wallpaper

Clock

I think it everything if not write what worked for you and what not :)
[LG Optimus 2x] wals46:
Quick test with djnoxd twrp: it boots, changed language to italian, but no net, no wifi, lost root, no camera, kovalsky app cracks (missing root)

Thanks for your efforts
[LG Optimus 2x] wulsic:
Well official lollipop real AOSP based needs alot of patches and more work. Changes between Cyanogenmod and Omnirom is also not too big but Omnirom also doesnt has ffmpeg included, maybe it has somehow or some replacement but okay, so that helps us because ffmpeg compiling was all the time a pain in the ass related to neon.

Till now as far as that I've read the bugs its not that bad and we could probaby fix this month already more then the half of the buglist.
[LG Optimus 2x] natalya:
Great stuff guys, hard work pays off ;)

Drop some logs while the rom is running, would like to help but cant flash it since O2X is not with me. I am sure [MENTION=3605868]tonyp[/MENTION] would take a look at the logs too. [MENTION=5124291]Firtecy[/MENTION] and others as well :)

Sent from my LG-D802
[LG Optimus 2x] wulsic:
[MENTION=5021221]gucky01[/MENTION] Sorry for uploading my device tree late gucky01 but I am very busy atm, and I will also compare the updater-scripts :good:

Here is my omnirom device tree: https://github.com/wulsic/android_device_lge_p990/tree/omni-5.0

Also, did you used in your sourcecode which you used to compile omni, jemalloc instead of dlmalloc or?

I also still have to look why I changed wifi in boardconfig? Cause it's already been a time ago that I opened the omni device tree. I also used a smaller fonts footprint to save some space and included a updated Android.mk, which I will also add back to Cyanogenmod sourcecode later.

So things what I have to do with my sourcecode is,

Update patches,

Find out why I changed some stuff related to Wifi in the boardconfig?

and whether I need to use jemalloc or dlmalloc.

again Goodjob gucky with your booting Android 5.0 and the 2X community will together fix the issues I guess :good: I am now also still working on this but I am now also working for my own phone for multirom something and school so I can't promise to you guys that I will spend 100% of my time into it.

EDIT: The differences between yours and mine is also that yours is using set_metadata and mine is still the old updater-script style before real SElinux was introduced so that was also the problem. I gotta find it now whether or its in the core from omnirom or just something in my device tree.
[LG Optimus 2x] awais_2:
Logcat

Hello,

Will creating a log help at this stage of the development cycle?

Thanks,

Awais
[LG Optimus 2x] gucky01:
Hi, I didn't change the omnirom sources, just modificated the device tree.

My build produced no set_metada entrys and I patched the updater script manually.

Tomorrow I will compare our device settings, but a first look shows no big differences.

Actually I'm building a rom with the good old M1 kernel to see if it works too.

Looking forward!
[LG Optimus 2x] wulsic:
Yes it will help :)

I guess that we have to manually define that we want that in the omnirom boardconfigs.

I also tried several things for ffmpeg but I got the whole time same error,
[LG Optimus 2x] natalya:
No worries. That happens with most phones, including my G2. Likely because dalvik is history and ART is the new default.

Sent from my LG-D802
[LG Optimus 2x] TheMysteryouse:
No words

[MENTION=1622512]gucky[/MENTION]1 i cant belive u got it.I thought that we will you could say never get it work but well I was wrong.Thank you and tony and wulsic and EVERYONE that participated in this project. If nothing, I want to be a tester but links are dead -.- . :crying:
[LG Optimus 2x] awais_2:
I am sorry but I can not create a log as I am not able to install the apk.

I have tried installing it through the browser i.e. file:///sdcard/xxx.apk.

And

I have tried creating a html file to access and install the .apk i.e. file:///sdcard/apkfolder/apkinstall.html

But both methods do not work.

I receive the error can only download "http" and "https" URLs.

Sorry,

Awais
[LG Optimus 2x] gucky01:
Good morning, I uploaded a first logcat to my folder. Hope our profs will have a look at...

http://sourceforge.net/projects/lgoptimus2x/files/P990/Lollipop/logcat.txt/download

By the way.

I pumped up my 3.1. kernel version with Firtecys kernel- very much better!

I tried Timdurus links with su and gapps. These worked after I first installed the rom and did a first boot.

My build with m1 kernel works well, same problems but better speed.
[LG Optimus 2x] Frecciablu(2):
I tested the rom.

Hv saw just already mentioned bug.

A part some freeze, rom have a nice speed, but hadnt test many app, so ram usage was low (dunno how install new apps). :)

Anw how can i make logs?

*edit*

I forgot to point out that

-gyroscope work (so landscape mode do)

-read external sd work too.

*screenshot no work

To who had crazy lag or freeze, or softbot each lockscreen (automatic or not).

I suggest to set screen out to 5min.

Off phone then on and wait that 4~5min.

No rebot at lockscreen and faster experience.
[LG Optimus 2x] TheMysteryouse:
Testing

Testing :

What doesn't work:

*Sim card

*When pressing the ' Chnange user ' button in the lockscreen (softboot)

*Camera ( crash )

*Kowalski Manager ( crash )

*Wifi

*Music ( DSP manager crash error )

*When turning off screen ( softboot)

*Gesture typing on keyboard (crash)

*Light in the capacitive buttons doesn't work and u have the feeling that they won't work but they do and u dont have the vibration on them when u press them

*Alarm ( bcs of the audio crash )

*Voice dialer (crash)

*Setting password lockscreen ( softboot )

* Pretty laggy

What does work :]

*Browser ---

*Calculator \

*Calendar |

*Clock |

*Contacts |

*Dev tools |

*Downloads |

*E-Mail | - These are working APPS

*Gallery |

*Messaging |

*OmniSwitch |

*Dialer |

*Search /

*Settings _

*Bluetooth

*Brightnees control

*New Volume control

*Pattern Lockscreen

*Airplane mode

*Location ( I guess )

*Performance section in settings

*The sweet easter egg

That should be it from my report. I will update this when i find something more.The hype is real right now.I am so happy for the Lollipop it's unbeliveable.I would try to make logs but I dont rly know how when we have no wifi on the phone so we can't download the logcat taker app.Playstore is missing and the operationing is kind of rly laggy like when you are in the Multitaks manager.It's a bad lag when you swipe apps away and that stuff.Anyways, I will report if i find something. Cheers and good job again :) [MENTION=5021221]gucky01[/MENTION] Morning there I just saw your post with the M1 kernel and Firectys and I want to ask, can we normal install the kernel on the rom or should we wait till you upload new rom? Thanks
[LG Optimus 2x] gucky01:
logs

Please read Tonys advices in his thread in this forum.

I'm using ubuntu as building machine. So I configured it in this way:

http://wiki.cyanogenmod.org/w/Doc:_adb_intro
[LG Optimus 2x] TheMysteryouse:
I managed to get Kowalski manager and root working

Oh and I forgot, whatever you do, dont let the screen turn off! hahah :D

Apparently when u flash the rom with Firectys kernel the softboot when u press the power button is gone....sometimes..
[LG Optimus 2x] Wooby:
LOL i dont had a bug like you i could turn off my screen and didnt had softboot¿?
[LG Optimus 2x] natalya:
Priority should be fixing storage.

Do you have these commits?

https://github.com/tonyp/tonyp_device_lge_p990/commit/9254f1a7db5c23d39929233c837913282bd8beb5

https://github.com/tonyp/tonyp_device_lge_p990/commit/b15c6d509ab92a5564cb3ad2ecd667de1ea28464
[LG Optimus 2x] TheMysteryouse:
WIFI problem

I was working on the rom a lil while and I installed a catlog app.It gives logcats and I wanted to see what to do about the WIFI issuie.That is the main thing I want to fix actually.The only error actually is ' Invoking mWifiStateMachine.setWifiEnabled ' also the problem is the Wifi state machine.If anyone who knows where that thing is be kind to tell me here i would greatly appreciate it :)
[LG Optimus 2x] trocopassu:
Hello.

I have been doing some tests with the new ROM, I want to congratulate everyone involved.

I leave here some LOG's I could do, I hope they are useful in order to gain one more step in the implementation of the port for our LG.
[LG Optimus 2x] wulsic:
[MENTION=3430536]trocopassu[/MENTION] sadly the kmesg and and another log wefent so usefull but your 2 logcats are also usefull. I will try to look tomorrow into all the logs.

[MENTION=5021221]gucky01[/MENTION] could you share your sourcecode you have now so I could compare it with mine?
[LG Optimus 2x] gucky01:
Here is the device tree I used for my rom, no time to compare to yours yesterday. but I hope this evening...

http://sourceforge.net/projects/lgoptimus2x/files/P990/Lollipop/p990.rar/download
[LG Optimus 2x] Puri2013:
Oh Thank you
[LG Optimus 2x] gucky01:
@ Wulsic:

There is bad and good news.

First the bad: I built a rom with your sources and it fails in flashing. So it`s necessary to look deeper in the differences.

Now the good news: I could fix the set_metadata problem.

1. Delete the entry "USE_SET_METADATA := false" in boardconfig.

2. Delete the entry "ifneq ($(SKIP_SET_METADATA),true)" in build/core/makefile

That`s it.
[LG Optimus 2x] awais_2:
Hello, thank you for your help.

I'm sorry but I can't figure out how to get the ADB working so I cannot create the log. (I'm using Windows 7)

Awais
[LG Optimus 2x] wulsic:
Well the same problem I experienced the whole time, well you also have generic and I have cortex-a9 as cpu variant that's one difference,I will also make one build with generic once. I suggest to you if you also want to compare it use meld or some other folder comparison program.

I already thought that I had seen something like that somewhere but I didn't went digging to it.

I removed the lines so set_metadata will now be fine in Omnirom.

EDIT: I think that we have to use generic temporarily until we have decided to then use the cortex-a9 non neon bionics from timduru:

https://github.com/timduru/platform-bionic/tree/katkiss-5.0/libc/arch-arm/cortex-a9

EDIT2: This message is only for the developers/hobbyists here,

I am now updating omni-5.0 sourcecode first and if I know for 100% sure that everything is fine then I will update the things to the Cyanogenmod device tree, I know that somethings can be updated already but I would rather await it a bit until I succesfully booted android 5.0. I still gotta find out whether or it's the cortex-a9 bionics or it's the tegra2 layer dump patch. I am trying to compile a build with tegra2 layer dump patch and cortex-a9 Modified bionics and if that also bootloops then yeah, then I will try a build without patches and with generic instead of cortex-a9. Actually I have to do first without patches and then with but that's just my self will and it's already progressing but I have to continue it anyway later.

Also a tip for developers who are using dualboot ubuntu, try also ubuntu or zorin os in my case as a virtualmachine in windows or mac whatever you are using and symlink your dualboot ubuntu's home folder to your virtualmachine's homefolder so it kinda replaces it. It might be also a bit risky depends on what you are doing and how but for me it's now working fine :good: I suggest this rather then trying to boot into your dualboot ubuntu cause I broke my lightdm and some other things which I gotta fix, but it's running pretty fluid in my case on vmware workstation 11.
[LG Optimus 2x] gucky01:
I made a clean build with Wulsic' sources over night. I can confirm, that flashing of the rom works if "generic" is set(. :) That's the only problem [MENTION=5403922]wulsic[/MENTION])

With his last changes "set_metadata" problem is solved if you change the makefile, too(I described above).

Wulsic is going to make a patch for this makefile soon, so I think, that his device tree should be the basic now for the next steps.

After work I collect the main errors I found in the logcats so far and post it here. So we all together can dig for the reason.

Update: I`m very sorry, Wulsic. The rom with your device tree crashes if you change settings, choose music etc. :(
[LG Optimus 2x] wulsic:
[MENTION=5021221]gucky01[/MENTION] thanks for compiling, I will resume today my compilation with the modified cortex-a9 bionics. I will see the crashes when I have flashed it and I will try to fix it in the device tree. We will get a good working lollipop soon.
[LG Optimus 2x] gucky01:
what a mess!

Oh my god, perhaps I should retire.

Just noticed that my both omnirom builds (with Tonys and Wulsics' device tree) have the same big error!

I used the false vendor tree for newbl and not for bcmdhd.

I'm very sorry, will see if our Lollipop works better with the correct one.

Status: rebuilding!
[LG Optimus 2x] wulsic:
Oh well that ehhm sucks, but you are a human mistakes can happen :) I made worse mistakes.

Oh and btw, lets say that someone has compiled Lollipop either and it booted also [emoji14] with cortex-a9 modified Bionics. so HELL YEAH it booted, Gucky I removed the second line what you said when it was busy with making it so I don't know or it got included or I already removed it. But I will rebuild tomorrow again and I will see with the normal or it will also go :good: also no binary error or charger copying madness. Only just a Omnirom alpha build but I won't upload it since it's probably almost the same as the one from gucky but I can't test too much cause I got to go to school tomorrow again.

I will share the bionics after I am back from school but you can find them from timduru. I am only confirming that its working. The lollipop is really a Alpha build so far but we will get it higher to the beta aint that right guys? The LG Optimus 2X is old but gold.

[MENTION=5021221]gucky01[/MENTION] I will also try to flash the updated recovery tomorrow and I will look into the logcats and the device tree also to things like transparency.

[MENTION=3430536]trocopassu[/MENTION] you not enough knowledge? I guess I just entered a reversed world since I am not too knowledged either if we are talking now about lollipop.
[LG Optimus 2x] trocopassu:
:laugh:Guy's, a little off topic, but ... I'm sorry for not having enough knowledge to help You in this fight:o ... I can only highlight all Thy performance and thank Thee all that You have been doing every passing day:fingers-crossed:. Thank You for Everything :good::good:
[LG Optimus 2x] TheMysteryouse:
Nice to hear that wulsic.You got it too booting.Really nice, but does your rom likehave alredy fixed some problems that guckys one had like wifi and simcard? Good job again bruh :D
[LG Optimus 2x] wulsic:
Nope not yet but I will defenitely look into it. If possible tomorrow :) I know that by lollipop there were some changes, I only gotta look into it tomorrow but with the great 2x community we will get it soon working.

I am still thinking whether I would use now generic bionics or modified cortex-a9 bionics from timduru. I was just so retarded for not seeing that timduru had a modified cortex-a9 bionics folder.

What would you guys suggest to use as bionics to this noob:) maybe we could get later the tegrs bionics to wrk but Idont know or its really better.