yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] wulsic:
[MENTION=2073264]michael.santos[/MENTION] It's definitely not easier since the security from nougat got enhanced and we would have to try and get it to work with the old binaries properly and despite there is a relatable phone or tablet it still takes some effort and management and most of us here have just enough time to work on one project. If I would have time too I could try to do it but can't promise anything especially not many builds as I do not specifically own and or use the phone myself anymore.
[LG Optimus 2x] Kpsr94:
Doesn't work at all. Tried 10 times with many others gappses. There is always bootloop.

Don't do this- it's waste of time.
[LG Optimus 2x] .PKZ.:
Please Gapps where ? No other way!
[LG Optimus 2x] pijas82:
you need non neon gapps, its not easy
[LG Optimus 2x] .PKZ.:
Ok...
[LG Optimus 2x] dewois:
Use SlimROM and have no problems with opengapps!
[LG Optimus 2x] stellair:
I have a backup phone LG-P990 and I want to know what latest rom exists for this? Is KitKat the best I can get on this phone or is Lollipop or Marshmallow doable?

Thanks
[LG Optimus 2x] MatteoB92:
KitKat is the latest stable, Marshmallow would be an utopia.

Inviato dal mio LG-H815 utilizzando Tapatalk
[LG Optimus 2x] TheMysteryouse:
Yeah but

Yeah it would be good but the 2.6 kernel is outdates like old.I dont think that the 2.6 would handle Lollipop.I dont know we will try everthing haha :D
[LG Optimus 2x] Frecciablu(2):
Better to make it boot and "work" on newest kernel.

Just later would be nice to make a 2.6 version.

Just opinion of a ignorant xD
[LG Optimus 2x] azharshaikh7866:
cm12 ERRORS

have a look

http://xdaforums.com/showpost.php?p=57394641&postcount=231
[LG Optimus 2x] gucky01:
Building CM12

Hi all,

for those of you who want to compile your own rom some tips to get it work actually. You will get some building errors. My buiId works in this way:

1. local manifest:

<project path="device/lge/p990" name="tonyp/tonyp_device_lge_p990" revision="cm-11.0" />

<project path="vendor/lge" name="tonyp/proprietary_vendor_lge" revision="cm-10.2-newbl" />

2. BoardConfig.mk in the device folder - replace/ add:

TARGET_CPU_VARIANT := generic

#TARGET_CPU_VARIANT := tegra2

3. android.mk delete and replace with:

LOCAL_PATH := $(call my-dir)

ifeq ($(TARGET_BOOTLOADER_BOARD_NAME),p990)

include $(call all-makefiles-under,$(LOCAL_PATH))

endif

4. audio.h :delete this file

5. config.xml in device/lge/p990/overlay/frameworks/base/core/res/res/values

delete the "torch" entry

Sometimes there`s a error with the charger. If its lost copy the file from device/prebuilt to the out folder in your working directory.

At least, nearly at the end of the building process there is an error in packing the zip file. I was not able to fix this error, perhaps someone else can do this!!!

But you can copy the system files from:

/out/target/product/p990/obj/PACKAGING/target_files_intermediates/cm_p990-target_files-xxxxxxxx

and replace the folder with an existing cm11 rom.

Actually this rom doesn`t boot completly as described in the postings before!!!!

Looking forward!
[LG Optimus 2x] azharshaikh7866:
error2 build success and after that i ran this solution to get zip in out folder

device/lge/p990/releasetools/p990-newbl_ota_from_target_files -v \

-p out/host/linux-x86 \

-k build/target/product/security/testkey \

--backup=true \

--override_device=p990 \

out/target/product/p990/obj/PACKAGING/target_files_intermediates/cm_p990-target_files-782fbdb80d.zip out/target/product/p990/cm_p990-ota-782fbdb80d.zip

in the makefile --block causes error i compared to tonyp makefile and deleted --block

i got the zip it is 236mb

Edit...Getting error while flashing on phone
[LG Optimus 2x] gucky01:
Thank you, my friend. I will try tomorrow.

Update:

Building finishes like you described! Very good!!!

But flashing fails dito.

If you use Mysteryouse' rom(just use your system files) everything is ok.

I began to dig for the reason. It's not the meta-inf files or the recovery files alone. Something like a combination.

We will find it out!!!
[LG Optimus 2x] TheMysteryouse:
Also it gets flashed when u put my files? If yes, send me your stuff and I'm gonna search for a looong time for the prob
[LG Optimus 2x] gucky01:
Thank you!

Some testings left, then I will upload the zip.:)
[LG Optimus 2x] TheMysteryouse:
Do you know the actual problem? It wont even flash or it flashes but doesn't boot? Give me EVERY detail of it you can give me lol. I will try my best ( I never thought i would say that tbh )
[LG Optimus 2x] azharshaikh7866:
----- Making recovery image ------
Copying baseline ramdisk...
cp: not writing through dangling symlink ‘/home/azhar/cm12/out/target/product/p990/recovery/root/charger’
make: *** [/home/azhar/cm12/out/target/product/p990/ramdisk-recovery.img] Error 1
make: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
/home/azhar/cm12/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.gold: warning: hidden symbol '__system_property_get' in /home/azhar/cm12/out/target/product/p990/obj/STATIC_LIBRARIES/base_base_gyp_intermediates/base_base_gyp.a(sys_info_android.o) is referenced by DSO /home/azhar/cm12/out/target/product/p990/obj/lib/libcutils.so
/home/azhar/cm12/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.gold: warning: hidden symbol 'SkBitmap::lockPixels() const' in /home/azhar/cm12/out/target/product/p990/obj/STATIC_LIBRARIES/skia_skia_library_gyp_intermediates/skia_skia_library_gyp.a(SkBitmap.o) is referenced by DSO /home/azhar/cm12/out/target/product/p990/obj/lib/libjnigraphics.so
/home/azhar/cm12/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.gold: warning: hidden symbol 'SkBitmap::unlockPixels() const' in /home/azhar/cm12/out/target/product/p990/obj/STATIC_LIBRARIES/skia_skia_library_gyp_intermediates/skia_skia_library_gyp.a(SkBitmap.o) is referenced by DSO /home/azhar/cm12/out/target/product/p990/obj/lib/libjnigraphics.so
/home/azhar/cm12/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.gold: warning: hidden symbol 'SkBitmap::notifyPixelsChanged() const' in /home/azhar/cm12/out/target/product/p990/obj/STATIC_LIBRARIES/skia_skia_library_gyp_intermediates/skia_skia_library_gyp.a(SkBitmap.o) is referenced by DSO /home/azhar/cm12/out/target/product/p990/obj/lib/libjnigraphics.so
azhar@azhar-GA-78LMT-S2P:~/cm12$
[LG Optimus 2x] TheMysteryouse:
wau

You are pretty good at fixing problems to be honest lol.Keep up the fixes , or was this the log for the error? lol
[LG Optimus 2x] gucky01:
Few time today. Currently I`m uploading the zip to my testings-folder.

If you try to install, flashing stops. Definitly the updater-script isn`t correct. There are missing set perms. Tomorrow I`m back to our party.
[LG Optimus 2x] TheMysteryouse:
Have you?

​

Have you tried with my updater script maybe?Also from my rom?
[LG Optimus 2x] azharshaikh7866:
Lolzz it was error....

Is thr a way to reset cynogenmod source i mean deleting device specific codes.....

I tried

Git reset hard
[LG Optimus 2x] wulsic:
Azhar the error you had with your ramdisk with that dangling symlink means that the target is invalid/doesn't exist.

If you mean with deleting device specific codes as in deleting the patches from the sourcecode then you could try multiple things,

git reset --hard which wasn't working for you

Make a new branch and delete the old one, rename the new one to the old one.

The most simplest thing maybe, delete the folder which has the patches and then do a repo sync since it syncs everything to how it was before the changes were made from the .repo folder.

I am not a Pro at git resetting sourcecode since I am also still learning git and java:good:
[LG Optimus 2x] gucky01:
I`m not sure. Perhaps you tried to build again and the charger isn`t there. Copy the original one to the out folder!
[LG Optimus 2x] TheMysteryouse:
?

Gucky i cant find your new rom u said u uploaded.It tells me there are 4 items in the ' testing' folder but there are only 3.Wut happened?I wanna play with it lol
[LG Optimus 2x] gucky01:
Sorry guys, just saw, that my sourceforge-upload failed:crying:

Here ist a working link:

http://www.share-online.biz/dl/5OU8EJGNELW

Update: Sourceforge works again.

http://sourceforge.net/projects/lgo...s/cm-12-20141212-UNOFFICIAL-p990.zip/download
[LG Optimus 2x] TheMysteryouse:
...

gucky im sorry to say it but...i managed to get it booting it was a prob in the updater binary.But its stuck in a bootloop...
[LG Optimus 2x] gucky01:
Very well done! You are a specialist for the updater-settings. :good::good:

I can confirm, that flashing works if we take the updater binary from Mystery's rom.

Later I will check, if its work with an updater binary from my cm11 roms as well.

Perhaps someone can give us an advice what has to be changed in the sources? Tony?

Update: Flashing works with an updater binary from an old 3.1 build of mine, too.
[LG Optimus 2x] gucky01:
Tony, I changed the 3 files in the sources and added "true" like you described. Adb logcat doesn't work.:crying:

Did I forget something?
[LG Optimus 2x] TheMysteryouse:
idk

To be honest I'm not gonna install a rom over the test build over again.Sick of everytime setting up google and installing my apps.Sick of it.I'm gonna play with this rom all day long but to be honest i dont know what to do anymore.Yeah i could change stuff in the rom but that's not it.Till tony or some good devs help us, there is no chance to get it fixed.I will play with it.
[LG Optimus 2x] trocopassu:
???Guy's, Thank You All for the YBW...Your Best Work! ???

LG O2x P990@TapaTalkVIP v4.8.3
[LG Optimus 2x] natalya:
Easiest solution would be to add this in build.prop:

persist.service.adb.enable=1

persist.sys.usb.config=mtp,adb

You can try that. But I am pretty sure you need to enable it in ramdisk.
[LG Optimus 2x] Genie's:
I asked to [MENTION=4414973]wkpark[/MENTION] how to enable adb while phone is booting in Korean Forum. (Same Korean with him. :) )

I will also ask to [MENTION=5543120]Puri2013[/MENTION], too.

I hope that two of them know how. :D
[LG Optimus 2x] Genie's:
Is this content related to enable adb: Enable su during boot?

I don't know about it well, sorry about that.

:(
[LG Optimus 2x] TheMysteryouse:
Kinda

Well Genie, thanks for your reply in any way but we cant rly much do anything with that right now because we cant even get in the settings bcs its stuck in boot so yeah.nope lol
[LG Optimus 2x] TheMysteryouse:
OMG

Oh my god i managed to get adb connection.f*** yeah! [MENTION=5021221]gucky01[/MENTION] lets do this baby!
[LG Optimus 2x] manix01:
More information's please!!:)
[LG Optimus 2x] TheMysteryouse:
Alsoooo

ADB connection ----> Logs -----> knowing the problem ------> fixing the problem ------> get it booting . lol Got it? :D
[LG Optimus 2x] natalya:
He was asking how you managed to get adb connection ;)
[LG Optimus 2x] TheMysteryouse:
Thanks to you my friend

Im just gonna say, thanks to you my friend lol.The codes u have sent here i added in the build.prop and it worked but i have a problem? when i want to pull the logcat it tells me thats it's waiting for device, and when i type' adb devices ' it tell some things for the port i think and on the right side ' unauthorized ' Will that be a problem? Sorz i thought gucky added the codes in the prop lol
[LG Optimus 2x] Surplus:
Could you guys be a little bit more professional?

Instead of writing "wohoooooo i did it mom" or whatever, could you actually write the process which took you to fix the problem? There are other people here interested in getting Lollipop working for our old device as well but posts like those are pretty much worthless and don't contribute to the porting progress.

Sorry if I came off rude, but it had to be said.
[LG Optimus 2x] TheMysteryouse:
No problem

No problem dude i was just too excited lol. I'm runing throught the house like cray cray lol.Above ur post i wrote how to do it so yeah. :)
[LG Optimus 2x] natalya:
Rofl a first guess and you have adb working? Oh well glad I could help.

But hey, I must give proper credits. [MENTION=3783116]pengus77[/MENTION] told me about that build.prop change a long time ago. He is the master mind behind it :)
[LG Optimus 2x] TheMysteryouse:
Yep

hahaha i knew about that code but i thought when gucky made the sources that he added the code but apparently he forgot lol.Thanks to you and pengus that u reminded me haha.I'm so excited and happy and mad at the same time lol
[LG Optimus 2x] TheMysteryouse:
um

um......idk why but a driver doesn't want to install.It's the MTP driver.Every driver installs fine just that doesn't it just fails ;(
[LG Optimus 2x] tonyp:
I believe you need both, the source change and the change in build.prop - I thought I already posted about that.

Regarding the unauthorized device, you can try to add the following lines, first:

ro.adb.secure=0
ro.secure=0

If they don't work, you need to dig up one of my last posts where I wrote about copying the adb_keys file to the device via recovery, this will manually authorize the computer.

But it looks good, with adb and logs you guys can try to fix the issues there. But from there on you NEED to do everything in code, without the knowledge of doing changes in the source code and compiling your own ROM you're out.

And I fully agree with [MENTION=5408790]Surplus[/MENTION] - keep it on topic and stop the random posts which don't contain any new information.

If you made a breakthrough, post the exact steps how to reproduce it.

I'll keep reading this thread to check if there's anything I can do to help without getting fully involved but if it's too messy I - and everyone else who's interested in helping - might miss some important posts.
[LG Optimus 2x] gucky01:
Hi. I'm back to the party!

I integrated Tony's changes in 3 files in framework/base, but this doesn't work.

I tried his other advice(changes in system.prop) some days ago with no result.

Actually I'm testing Natalya's advice. It's the first time LG 2X is showed as a new device in my Ubuntu-PC. Very good!

But that's not enough. Logcat doesn't work. I'm very hopeful,that we will get it to work this evening..
[LG Optimus 2x] TheMysteryouse:
Aye

Aye aye Captain! Lets finish thins thing this evening lol
[LG Optimus 2x] gucky01:
Partys sometimes are loud and heavy. So keep cool my friends. This community is amazing and the members work together!

LOGCAT WORKS!!!:o:o:o

I followed the last advice by Tony and copied the adbfile via recovery. This works!

Logcat will follow.
[LG Optimus 2x] TheMysteryouse:
woohoo

Good game my friend...good game :D So lets see what we can do when you update the logs :D
[LG Optimus 2x] gucky01:
First logcats

Hi guys, it`s the first time that I work with a logcat. Need some input, because the logcat stops!

And another question. Where is the button to paste the files into the message?:confused:

Ok, here`s a link

https://sourceforge.net/projects/lgoptimus2x/files/P990/CM12/LOGS/
[LG Optimus 2x] MatteoB92:
Mate, you can also upload to a Dropbox account and give there the link, I use Catlog app and then this way
[LG Optimus 2x] TheMysteryouse:
dayum

This is geting complicated tbh.It's my first time too to work with logs.I dont even understand how we pushed this to this point with my help bcs i am pretty much a nobody for coding.Hope i learn it soon so we can finally finish this!
[LG Optimus 2x] natalya:
Try take the framework.jar from a working P990 CM11 ROM. Then take another logcat to see how it responds.
[LG Optimus 2x] gucky01:
Good morning guys,

for those, who want to support us...

I`ve uploaded my rom, so who wants can create logcats.

But remember!

1.This rom doesn`t boot completely.

2. You have to copy the adb_key from a working cm11-build like Tony declared.

(/data/misc/adb/adb_keys). I copied the key with the explorer to the external card and after installing the rom I copied it via recovery into the emty folder.

Here is the link to my rom:

http://sourceforge.net/projects/lgo...2/cm-12-20141212-UNOFFICIAL-p990.zip/download

Have a good day!
[LG Optimus 2x] Puri2013:
please help

/tmp/cc1HXG5w.s: Assembler messages:
/tmp/cc1HXG5w.s:8091: Error: selected processor does not support ARM mode `veor d0,d0,d2'
/tmp/cc1HXG5w.s:8092: Error: selected FPU does not support instruction -- `vmul.f32 d0,d0,d1'
/tmp/cc1HXG5w.s:8209: Error: selected FPU does not support instruction -- `vmul.f32 d0,d0,d1'
/tmp/cc1HXG5w.s:8384: Error: selected processor does not support ARM mode `veor q0,q0,q2'
/tmp/cc1HXG5w.s:8385: Error: selected FPU does not support instruction -- `vmul.f32 q0,q0,q1'
/tmp/cc1HXG5w.s:8517: Error: selected FPU does not support instruction -- `vmul.f32 q0,q0,q1'
In file included from bionic/libc/include/inttypes.h:22:0,
from external/ffmpeg/libavcodec/acelp_vectors.c:23:

someone knows this error please help me:crying::crying:
[LG Optimus 2x] TheMysteryouse:
Well the assembler obviously doesn't recognize those Neon-specific mnemonics.

Try to compile with -mfpu=neon. Try adding this line to your Android makefile:

CFLAGS += -mfpu=neon
[LG Optimus 2x] Puri2013:
Oh! Thanks!!:)
[LG Optimus 2x] tonyp:
Holy ****, do NOT do that.

Out tegra2 SoC doesn't support neon, so why the heck would you want to compile something with neon instructions?
[LG Optimus 2x] TheMysteryouse:
ay ay ay

Aww s*** forgot that it doesn't support neon.What the hell was I thinking D:
[LG Optimus 2x] Puri2013:
Ok I understand
[LG Optimus 2x] gucky01:
I get this error too, Puri. It's caused by changes CM made in the last days. Just looking for the exact reason.
[LG Optimus 2x] Puri2013:
I think this commit is problem
[LG Optimus 2x] wulsic:
We are close to a booting lollipop I see :)

E/cutils-trace( 844): Error opening trace file: No such file or directory (2)
E/memtrack( 844): Couldn't load memtrack module (No such file or directory)
E/android.os.Debug( 844): failed to load memtrack module: -2

But we also gotta fix that issue soon :) I wish I could've helped more but I am still having 2 tests to go so I can also watch into these things at Thursday :good: I think that we will see soon a working Lollipop alpha for the 2X :good: It maybe
[LG Optimus 2x] TheMysteryouse:
i hope

Well I see out teamwork here so it will be soon I think.There are like 4-5 people working on a lollipop ROM rn.Hope to see it soon :D
[LG Optimus 2x] wulsic:
We should also create a git repository (Github preferred) which we all use as a base to also push fixes/updates to the repository for lollipop cause it would be not smart if we would go all our own way:good: I am going to ask again for the LG 2X or I can borrow it in the vacation:silly: There are also some deprecated things in the cm12 rom so I want to make some changes to the sourcecode and if we work like that together then we could fix issues and get a better overview.
[LG Optimus 2x] natalya:
O2X owners once decided to get [MENTION=3783116]pengus77[/MENTION] back on the horse by donating an O2X.

Consider doing the same for [MENTION=5403922]wulsic[/MENTION].

PS: my old o2x is with my dad so I wont be flashing anything on it but try like I said before. Replace framework.jar in the CM12 zip with one from P990 CM11, flash it and take logs.

Sent from my LG-D802
[LG Optimus 2x] MolecularConnector:
I can flash any ROMs you guys want and test it. Just PM me if I can help with something.
[LG Optimus 2x] wulsic:
Nahh no need to do that, it's nice and kind of people if they want to do that but I think that they should have fun with it instead of donating it to me and then they're actually gifting me something like 50-70 euro and I don' t know or I could accept something like that. I will try to borrow it from my father since I sold mine O2x like 2 years ago.

I don' t know or replacing framework.jar is such a good idea since it could also give another problems which wouldn't exist in the cm12 build and maybe will hide issues which are currently in cm12. I will have also tomorrow and 2 weeks from then time to also help with the 2X project and I will also try for you guys and also for myself to get the Unbrickable god Optimus 2X to get CM12 working.

EDIT: To save a post in this thread [MENTION=4758247]natalya[/MENTION]

I got the 2X :D I am now busy with copying CM12 Folder for the 2X so I have my proejcts seperated and then I will start compiling since my vacation almost officially started :good:

But how is your G2? I am going to join the LG G2 Community soon :cowboy:
[LG Optimus 2x] natalya:
It is a good idea, especially when the log will tell you what libs/what exactly is interfering.

(Only logs are interesting and I barely see any)
[LG Optimus 2x] wulsic:
Well bumped this thread :l I am now having the device repository which I am currently using here:

https://github.com/wulsic/android_device_lge_p990

My Manifest which I am currently using. Btw I removed bootable/recovery from the main manifest.

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="wulsic/android_device_lge_p990.git" path="device/lge/p990" remote="github" revision="cm-12.0"/>
<project name="tonyp/proprietary_vendor_lge.git" path="vendor/lge/p990" remote="github" revision="cm-11.0-bcmdhd"/>
<project name="Firtecy/kowalski.git" path="kernel/lge/p990" remote="github" revision="exp-dt2w"/>
<project path="bootable/recovery" name="omnirom/android_bootable_recovery.git" remote="github" revision="android-5.0"/>
</manifest>

I am still busy with applying the patches manually and now fixing some small issues but I will continue it tomorrow/Later today cause it's now 00:57 AM :l but when I am back from school tomorrow then I will continue it :good: Let's just hope that I can get the compile process working and also booting lollipop but yeah we will see that later :good:

Thanks to Tonyp and the contributors for the device tree's/patches. I think that the 2X community will see soon lollipop :D I also noticed that some 2X roms are damm stable and smooth now after not using the 2X for like 1-1.5 year so the developers made a goodjob. Still remember the hackfest roms, good times xD No hardware acceleration.
[LG Optimus 2x] TheMysteryouse:
GG

GG m8...gg. Good luck at compiling and that stuff.Really appreciate your work :D
[LG Optimus 2x] natalya:
My G2 - Could not wish for another phone. I was a bit split between Nexus 5 and G2, both are sold at about same price where I live. G2 gives bigger battery and more features for the same price. Throw everything you can at it this beast does not slow down, especially if you disable some of the bloat. So great purchase :)

Sorry for off topic.
[LG Optimus 2x] gucky01:
I just uploaded 2 logs, one original and one with an exchanged framework.jar.

Personally I don`t see any improvement.

https://sourceforge.net/projects/lgoptimus2x/files/P990/CM12/LOGS/
[LG Optimus 2x] wulsic:
Well guys status update,

Build failed because the patches that I applied aren't all good anymore and they need to be a bit adjusted but now I am building again so I hope it will go good :good: The only thing I had real issues was now with the Tegra2 Bionic and with audio.h I am now trying something and I will see how it will go. Feel free to push commits to the device repository or suggest me things so that we can make all together a working android 5.0.

EDIT: Still compiling... I used also the bionic patches for the tegra2 and I had some issues with it, could have been a bad build or because of the bionic update's but I will check that out when the buidl fails again.
[LG Optimus 2x] TheMysteryouse:
Disable

For the Audio.h u can i think disable it for now and later on we will add it againt if it boots.
[LG Optimus 2x] azharshaikh7866:
Have u tried this?