yashsingh1/xdaforums huggingface dataset:
[LG Optimus 4X HD] csk1jw:
Music app should be replaced by Google Play Music. This will be ignored.

Random crashes are somehow related to ANR, I found this will go away after no active background sync activities. Will come back to this after the audio issues.

No sure about the visual problem in recent apps. Can you show screenshots?

The top priority is to resolve the audio issue with bluetooth and remote submix to enable this ROM as daily driver. I myself can't do my own field trial without the issues resolved. This is going to take a while....
[LG Optimus 4X HD] csk1jw:
[MENTION=2633638]Ziyan[/MENTION] Hi, will you be able to test bluetooth A2DP and remote submix from any of your AOSP-7.0 ROMs such as Galaxy Nexus or Nexus 7 2012?
[LG Optimus 4X HD] fukuli053:
My phone and another nougat phone pictures attached. Sorry for my bad english.
[LG Optimus 4X HD] jrcquinito:
Hi, I tried the rom. The smooth installation. Rom, open gapps, webwiew and SuperSu. Starts very well. But I have had several problems when installing multiple apps. No end, or it seems, finished well installed.

Rom has huge potential and its development should be very good.

Congratulated for work, very good job.

regards

Hola, he probado la rom. La instalación sin problemas. Rom, open gapps, webwiew y SuperSu. Arranca muy bien. Pero he tenido varios problemas al instalar varias apps. No terminan, o lo parece, de terminar de instalarse bien.

La Rom tiene un enorme potencial y su desarrollo debe ser muy bueno.

Felicitar por el trabajo, muy buen trabajo.

Saludos
[LG Optimus 4X HD] vkhgdvv:
Thank you csk1jw! I have a problem with Iodak kernel v10, after flashing it th phone goes in bootloop any solution fo it? Thank you.
[LG Optimus 4X HD] CrazyWinner:
İodak kernel is not compatible with this rom.
[LG Optimus 4X HD] Phil_Smith:
Unfortunately I had an endless boot loop, which didn't go away, even after reinstalling the ROM.

I assume I would have had to make a total wipe including data and media to get it working again, but I moved back to my 6.0.1. backup for now.

I have to use my phone somewhat as a daily driver, and there were a couple of freezes, lacks, the bluetooth issue, sudden app crashes and now the boot loop.

Love the general feel of the ROM though, and I think the next updates will make this one of the top ROMs, if not the top ROM for this phone!

Great work OP! Will definitely test the new build again!
[LG Optimus 4X HD] vkhgdvv:
Ok, so is there any other custom kernel compatible with this rom? Thank you. :D
[LG Optimus 4X HD] Salman Al-Badgail:
Dont change the kernel, Already this rom is fast and stable. It has few minor bugs which will be removed in later update.

:good:
[LG Optimus 4X HD] csk1jw:
Audio issue

Finally, we will be closer to the fix for BT A2DP and remote submix audio issues. I was half right, there is nothing wrong in the a2dp or r_submix modules. The frameworks audio policy is also fine.

It's the damned kernel:silly::silly:

When I put the same kernel into MM ROM, then I had exactly the same issue. That's good! It is easier to sort out kernel issues rather than digging into seemingly complicated web of C/C++/Java frameworks. And, I already knew the kernel commit that caused this.

This makes a lot of sense as BT A2DP and remote submix code path shouldn't be device dependent once the primary audio path was brought up. The Broadcom libbt-vendor is fully source-based in AOSP, which simplifies BT stacks enabling on ROM porting.
[LG Optimus 4X HD] Salman Al-Badgail:
Good to see that, what about random crashes ???
[LG Optimus 4X HD] Phil_Smith:
Yes, I think you should ask yourself what you want to achieve with a custom kernel.

All of them I know haven't been updated since almost 2 years, and almost all of them turned out to have bugs, which are still there, as noone investigates anymore.

Back then it was the opposite approach that made sense - You installed a custom kernel, as there was someone constantly updating and trying to get the most out of the device, while the kernels that were used for the custom ROMs weren't renewed that often. Now that changed completely, as the device is getting older and older... So, I'd also say, stay with the kernel that is used here. As you can read in a previous post, csk1jw is just maintaining it (just to proof my point).
[LG Optimus 4X HD] b886b:
Iodak kernel is being developed during the kitkat era. It will not be compatible for lollipop and marshmallow. Actually there isn't any custom kernel thread in this forum that is made for LL and MM. Therefore, I suggest not to flash any custom kernel on LL or MM rom, but stay on the builtin one.
[LG Optimus 4X HD] raodone:
I get it

Excellent work with this ROM, could you facilitate the link of those gapps? It would be of great help to me please :D
[LG Optimus 4X HD] Uvneshkumar:
Build Guide

Can you please share me the build guide for this rom, how you made it.

I'm trying to build a LineageOS rom for this device and I'm struck at breakfast p880.

it shows error like

including vendor/cm/vendorsetup.sh

build/core/product_config.mk:249: *** Can not locate config makefile for product "lineage_p880". Stop.

build/core/product_config.mk:249: *** Can not locate config makefile for product "cm_p880". Stop.

build/core/product_config.mk:249: *** Can not locate config makefile for product "lineage_p880". Stop.

Device p880 not found. Attempting to retrieve device repository from LineageOS Github (ht-tp://git-hub-.-c-om/Line-ag-e-OS).

Found repository: android_device_lge_p880

Default revision: cm-14.1

Checking branch info

Default revision cm-14.1 not found in android_device_lge_p880. Bailing.

Branches found:

cm-10.1-staging

cm-10.1

cm-10.2

cm-11.0

cm-12.0

cm-12.1

stable/cm-11.0-XNG3C

stable/cm-11.0

cm-10.1.3

cm-10.1.3-RC2

cm-10.1.3-RC1

cm-10.1.2

cm-10.1.1

cm-10.1.0

cm-10.1.0-RC5

cm-10.1.0-RC4

cm-10.1.0-RC3

cm-10.1.0-RC2

cm-10.1.0-RC1

Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.

build/core/product_config.mk:249: *** Can not locate config makefile for product "lineage_p880". Stop.

build/core/product_config.mk:249: *** Can not locate config makefile for product "lineage_p880". Stop.

** Don't have a product spec for: 'lineage_p880'

** Do you have the right repo manifest?

What can I do?
[LG Optimus 4X HD] NicoKlius:
with this rom can i charge my phone when its power off ? thx
[LG Optimus 4X HD] Uvneshkumar:
Yes. You can. I've tested it
[LG Optimus 4X HD] Phil_Smith:
Really? I don't think this can be...
[LG Optimus 4X HD] Uvneshkumar:
[MENTION=5799877]csk1jw[/MENTION]

Can you please share me the build guide for this rom, how you made it.

I'm trying to build a LineageOS rom for this device and I'm struck at breakfast p880.

it shows error like

including vendor/cm/vendorsetup.sh

build/core/product_config.mk:249: *** Can not locate config makefile for product "lineage_p880". Stop.

build/core/product_config.mk:249: *** Can not locate config makefile for product "cm_p880". Stop.

build/core/product_config.mk:249: *** Can not locate config makefile for product "lineage_p880". Stop.

Device p880 not found. Attempting to retrieve device repository from LineageOS Github (ht-tp://git-hub-.-c-om/Line-ag-e-OS).

Found repository: android_device_lge_p880

Default revision: cm-14.1

Checking branch info

Default revision cm-14.1 not found in android_device_lge_p880. Bailing.

Branches found:

cm-10.1-staging

cm-10.1

cm-10.2

cm-11.0

cm-12.0

cm-12.1

stable/cm-11.0-XNG3C

stable/cm-11.0

cm-10.1.3

cm-10.1.3-RC2

cm-10.1.3-RC1

cm-10.1.2

cm-10.1.1

cm-10.1.0

cm-10.1.0-RC5

cm-10.1.0-RC4

cm-10.1.0-RC3

cm-10.1.0-RC2

cm-10.1.0-RC1

Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.

build/core/product_config.mk:249: *** Can not locate config makefile for product "lineage_p880". Stop.

build/core/product_config.mk:249: *** Can not locate config makefile for product "lineage_p880". Stop.

** Don't have a product spec for: 'lineage_p880'

** Do you have the right repo manifest?

What can I do?
[LG Optimus 4X HD] Phil_Smith:
Why quoting me for that? ^^

Also double posting (especially in the same thread) is never really useful and tends to rather annoy the people you want help from.
[LG Optimus 4X HD] raodone:
Please someone with knowledge on the issue of gapps I passed the correct link to download for this rom and if I could explain why this serious help?

Forgive my English

Thanks
[LG Optimus 4X HD] Uvneshkumar:
[MENTION=5799877]csk1jw[/MENTION]

I thought you compiled the ROM from source and i thought you might be knowing it. Don't you...?
[LG Optimus 4X HD] Phil_Smith:
I suggest you use openGapps stock as recommended by OP.

Get it here selecting "ARM", "7.1" and "Stock".

If you want to make the gapps installation a little more compact, make a folder (call it "gapps" or whatever) and put both the .zip file you just downloaded via my link and the gapps-config.txt file you see in the first post of this thread in it.

When doing this, the elements in the txt file will not be installed (doing this is also recommended by OP).

Go ahead and normally flash the .zip file in recovery.

Cheers!
[LG Optimus 4X HD] ze7zez:
Did you know that when you edit a post you can use icons to separate the code from the post?

It improves readability.

If the code is long, you can use the icon hide, which will hide the selected part of the post.

I wish you successes. :highfive:
[LG Optimus 4X HD] Uvneshkumar:
Thanks dude... I'm new to forum...
[LG Optimus 4X HD] raodone:
Many thanks for your help, my friend. :good: :D
[LG Optimus 4X HD] Phil_Smith:
Sure, no problem :)

One more thing - if you're planning to use the gapps-config file, make sure it is named exactly like that (gapps-config.txt).

Otherwise this won't work.
[LG Optimus 4X HD] NicoKlius:
hello !!!! emmm can I charge it when its power of? or not? thx!! hahah :P
[LG Optimus 4X HD] raodone:
Could someone explain to me what disadvantages the SElinux brings in enforcing mode?

There is an app called SELinuxModeChanger developed by xda member

Could you use it to make process? And so I would not have to work with ADB command? :confused:
[LG Optimus 4X HD] raodone:
Help me, someone explains me well the part of the commands by adb, I have installed the drivers and everything else, but I do not remember how to do it :(

Could you run the commands from an app with the mobile on and root access?
[LG Optimus 4X HD] eangel498:
My 4X is very slow with this rom :( . I returned to Android L 5.1.1 AOSP. The developer will follow updating Android Nougat for this phone and repairing problems to have fluency and stability like Android 5.1.1 AOSP :rolleyes:??
[LG Optimus 4X HD] raodone:
This can be done with the device on in normal mode, ie only with the debugging activated and for the commands? Without being in recovery :confused:
[LG Optimus 4X HD] ze7zez:
ROM without gapps is smooth.

More fluid rather not be.

Note that this is the case with any OS.

Newer OS is always bigger, has more features and consumes more resources.
[LG Optimus 4X HD] eangel498:
Yeah, I finally succeeded install and really is very fast but without using the cell phone, it begins to overheat :(
[LG Optimus 4X HD] raodone:
Just great, great job, testing 14/02/2017 :D

Apps are still being closed randomly, hopefully this bug can be fixed for the next update! (Y)
[LG Optimus 4X HD] Phil_Smith:
Try a terminal emulator. For example this one over here.

The commands will be a little different (of course you must not add "adb", and so forth).

Do a little research and I think you'll be fine.
[LG Optimus 4X HD] raodone:
thank you very much :D
[LG Optimus 4X HD] csk1jw:
Doing this from terminal emulator does not have immediate effect. It will only take effect after reboot as the file is parsed by init script. Hence, it's best to do it from recovery then reboot to boot normally.
[LG Optimus 4X HD] raodone:
I understand, you're still working on the development of this rom?
[LG Optimus 4X HD] dave2609:
Yes he is:good:
[LG Optimus 4X HD] mater2:
i found camera app for camera bug with flash .

lumio cam

https://play.google.com/store/apps/details?id=com.camtechstudio.lumiocam

but select flash always on or torch

don't use auto
[LG Optimus 4X HD] Salman Al-Badgail:
[MENTION=5799877]csk1jw[/MENTION] is there any fix with video calling (whatsapp / viber). I tried AOSP 4/5/6/7 the problem is same, The only ROM working is euphoria. Your help is greatly appreciate.

Thanks
[LG Optimus 4X HD] ze7zez:
Have you tried cm-11-20160815-NIGHTLY-p880.zip?
[LG Optimus 4X HD] Salman Al-Badgail:
Yeah I tried Cm11 last build and few other ROMs too.

List of ROM I tried

AOSP 4/5/6/7

CM 11/12/13

Nameless 5.x

Pac ROM 4/5

Mahdi KK

BlissPop

Slim 4/5

Resurrection_Remix 4/5

Vanir 4 & 5 (supports) but calls are coming from speaker and no headset support

Euphoria latest build only working (supports video calling)
[LG Optimus 4X HD] csk1jw:
Guess what? I tried Google Hangouts today with a tablet with official Nougat-7.0 ROM, and video call worked! Both device are on WiFi. I also tried with another tablet using XDA custom Marshmallow-6.0.1 ROM and video call also works after I gave the right App Permission for the Hangouts on the tablet. This is with the latest Hangouts from OpenGApps 7.1 stock 20170218.

I tried Whatsapp last time and video call with an IPhone didn't work for me. I think I am gonna double check it again since Whatsapp had gone through several Play store updates since then.

Video call issue should be reported with sufficient data for me to look into, such as the App version and OS flavors, and hopefully, the video call apps on LG-P880 must be from legit source such as Google Play store instead of sideload APKs.

There are lots of video call apps on Android. It's not possible for casual devs to check out all of them. Ideally, if the AOSP Camera works, any camera-based application should work.
[LG Optimus 4X HD] andy_96:
1080 video recording lags
[LG Optimus 4X HD] NicoKlius:
hello !!!! can I charge it when its power of? or not? thanks!!!!!!!
[LG Optimus 4X HD] ze7zez:
You read the whole page > 45 < from beginning to end, you not just get an answer, but in addition you have the chance to understand it.
[LG Optimus 4X HD] csk1jw:
No. The device will boot once power is applied. Any reason to keep it off while charging? I don't think it can make charging faster by keeping the phone off. As long as the device is idle and screen off, it will charge.

With standard 1A/5V USB charger, it will boot and charge properly even from 0% battery. OK, mine still use the same genuine LG battery out of the box since day 1. OEM replacement batteries can be different though....
[LG Optimus 4X HD] g3orge.florin.slim:
any prerequisites having a stock LG software ?

Hi, I have the latest version that LG provided(Android 4.1.2, Kernel version 3.1.10), never installed any custom ROMs. Do I need to perform any additional updates(a kernel update perhaps) before following the steps from the installation guide ?(If yes, can you please detail ?) Thanks in advance!
[LG Optimus 4X HD] Phil_Smith:
What does your baseband version say exactly? (Under settings -> about phone)
[LG Optimus 4X HD] g3orge.florin.slim:
Full software information

Android version: 4.1.2

Baseband version L6260_MODEM_SIC_02.1233.00

Kernel version: 3.1.10

Build number: JZ054K

Software version: P88020c-EUR-XXX
[LG Optimus 4X HD] ze7zez:
You have everything that is needed.

If you have not already done so, unlock the bootloader and flash TWRP 3.0.2.

In case of problems read [MENTION=7489364]oF2pks[/MENTION]'s post #738
[LG Optimus 4X HD] juantech:
Hello im using your 6.0.1 and In my case i can do the videocall but the other person cannot see me but me to him yes, i taked a log and this error repeats by infinte: NvOsDebugPrintf( 201): NVMEM_IOC_READ failed: Operation not permitted

I say for if this would be usefull.
[LG Optimus 4X HD] raodone:
Does anyone know if xposed is already available for this ROM? Or good for Android nougat. And another doubt has any use the bootanimation app on this device?
[LG Optimus 4X HD] b886b:
There isn't any xpose support for nougat if you want to use it, you will have to use marshmallow.
[LG Optimus 4X HD] ze7zez:
Google released a lot of new build

I sense that [MENTION=5799877]csk1jw[/MENTION] already working, because Google released new build.
[LG Optimus 4X HD] csk1jw:
New 20170307

Indeed... New build is up.

AOSP Launcher3 has been fixed by Google. If you don't like PixelLauncher, then it is OK to exclude it in from your GApps selection.
[LG Optimus 4X HD] ViperUSSR:
Many thanks for fix rendering "Recent Apps Menu" and camera shortcut on lock screen in the last build ^^
[LG Optimus 4X HD] 421rahman:
can anyone tell me why charging is slow on latest build. I applied AC power to it and it shows CHARGING ON USB. Its taking more than 3hr+ for charging from 17% to 90+ %. Can anyone tell me whats wrong.
[MENTION=5799877]csk1jw[/MENTION]
[LG Optimus 4X HD] csk1jw:
You have an incompatible AC charger if the device is showing "Charging on USB".
[LG Optimus 4X HD] 421rahman:
I am using original lg p880 box charger with the same battery (never replaced), 1 in 20 it shows on AC, rest 19 it shows on usb. Problem with this rom only, working great on aosp5/6 (CHARGING ON AC)
[LG Optimus 4X HD] ze7zez:
The power supply does not matter.

With a good USB cable, charging is indicated CHARGING ON AC.

Simply replace the USB cable to another.

----edit----

Just now I checked the charge with 6 different power different companies.

Everything okay at the ROM.
[LG Optimus 4X HD] 421rahman:
The problem continues, i am on aosp 5, working good and charging on same charger with same cable.. I dont know what went wrong with 7 or my charger..... Showing AC on aosp 5/6 and usb on 7. Same cable & socket.
[LG Optimus 4X HD] csk1jw:
If you're keen on trying out Nougat ROM, then I suggest that you check out the USB cable and AC charger. There is really nothing I have done that will mess with the power delivery system.
[LG Optimus 4X HD] 421rahman:
Thanks for replying. I appreciate your hard work. I am sorry for troubling you.. Nougat is fast and stable. I try once more and check what went wrong with adapter & cable. Again I am sorry for troubling you and co-members. Thanks:)
[LG Optimus 4X HD] ze7zez:
You can use a USB cable that has only two lines: VBUS (+5 V) and GROUND (The DATA- and DATA + lines are not connected).

With the help of such a cable you eliminate line breaks and you will always see CHARGING ON AC on each ROM with each power supply.

I do not know what the ROM will show when the power supply gives less than +5 V.

Maybe [MENTION=5799877]csk1jw[/MENTION] will tell us if there is an algorithm that checks this.
[LG Optimus 4X HD] raodone:
After the last update still the problem of closing apps randomly? :(
[LG Optimus 4X HD] ze7zez:
Yes.
[LG Optimus 4X HD] Alino A:
Percentual battery in status bar?
[LG Optimus 4X HD] Phil_Smith:
Nope... We're still waiting for xposed for nougat, to customise stuff like that in some aosp roms.
[LG Optimus 4X HD] andy_96:
Hey

http://wccftech.com/enable-system-ui-tuner-android-7-nougat/

on this build this is working now
[LG Optimus 4X HD] Phil_Smith:
Oh sorry, didn't recognise that. Thanks for the correction.
[LG Optimus 4X HD] Alino A:
Thanks :good:

you can possible change ext4 to f2fs with CWM 6.0.4.5?
[LG Optimus 4X HD] Phil_Smith:
No, that's not possible (yet, if ever) with any cwm-version, but with modified twrp-versions.

There has been a lot of discussion about f2fs lately in this old threat.

[MENTION=7489364]oF2pks[/MENTION] has created a new twrp version with f2fs support: ufoFFICIAL TWRP 3.1.0-0.

or if there are problems you can try this old version TWRP_F2FS_2.7.1.0.

I recommend having /cache and /data in f2fs and the rest in ext4.

f2fs benefit is write speed increase, while read speeds are a little worse (but not by much), and /system is mounted read-only while running.

You'll have to

- wipe everything except external sd

- for cache and data: wipe -> advanced wipe -> repair/change file system -> change file system -> f2fs -> swipe

- format data (the one where you'll have to approve by typing "yes" - look that it says "formatting data using f2fs")

- reboot to recovery

- flash ROM & Gapps (no reboot in between)

Edit:

And one more important thing I forgot..

I don't know whether this is solved by now in the latest twrp by [MENTION=7489364]oF2pks[/MENTION], but up to the point I followed the development it has always been a problem using the hardware keys to enter recovery when any partitions is in f2fs. Instead, to avoid data loss and reverting of your partitions to ext4, you'll have to use either an advanced restart menu (as far as I know not available in this ROM) or the following ADB command to enter recovery:

adb shell setup-recovery
adb reboot

And one more (not that important) thing:

To check from within the ROM whether your partitions really are in f2fs, you can use aida64, or type the following:

adb shell
cat /proc/self/mountinfo
[LG Optimus 4X HD] Alino A:
... Thank you bro! I successfully changed. Now the phone is very fast, but it does not ring, that is, the layout to respond dont appears ..any idea?

EDIT: I solved it by setting as the default dialer app, thanks for help me!
[LG Optimus 4X HD] Phil_Smith:
Thanks for sharing your solution :)
[LG Optimus 4X HD] andy_96:
Tnx man

This must be in the OP post
[LG Optimus 4X HD] Alino A:
Speakers crackles

the volume speaker crackles .. why? Headphone feels very good
[LG Optimus 4X HD] Phil_Smith:
The speakers aren't that great on our phone... You may try some EQ-settings. I personally don't listen to music without an external​ speaker or headphones on this device.
[LG Optimus 4X HD] Alino A:
I use the speaker every day and with all ROM. i use speaker with ALSAMIXER and moreover i set this app at maximum level the speaker don't crackles... maybe it's a problem of the rom?
[LG Optimus 4X HD] ze7zez:
Why do not you write, is it an internal Loudspeaker, an external speaker plugged into a 3.5mm jack, a wifi speaker or a BT speaker?

The sound of the internal Loudspeaker sounds good enough on a clean ROM.
[LG Optimus 4X HD] Alino A:
The normal speaker of the device. I dont plugged anywhere

With OMNI ROM the speakear is Ok, with this ROM crackles
[LG Optimus 4X HD] ze7zez:
To hear what you hear, you record through another smartphone some quiet piece of music and give links to:

1. Original WAV

2. Play sound (WAV) with OMNI and record via another smartphone (WAV)

3. Play sound (WAV) with AOSP and record via another smartphone (WAV)
[LG Optimus 4X HD] asgz:
I can't transfer or receive files via bluetooth from another device. Anyone have same issue ?
[LG Optimus 4X HD] ze7zez:
You always write more.

Does bluetooth pairing work?

What application do you use for sending?

In my opinion, this ROM works just fine.

I currently use Total Commander 2.80 beta7.
[LG Optimus 4X HD] asgz:
Ok, I am not using any 3 rd part app for sending or receiving files, when I am switch on bluetooth p880 detect my other phone also other phone detect p880 and I can pair , but iI can't send or receive files.

I agree rom is good but looks like I have bluetooth bug.
[LG Optimus 4X HD] ze7zez:
If you have not learned to upload files through BT then there is still no bug.

You can learn everything. Just use some application.

It does not send itself. :D
[LG Optimus 4X HD] Alino A:
I re-flashed the Rom Nougat and now the speaker is OK. What happened?
[LG Optimus 4X HD] Phil_Smith:
Glad it worked out for you this way!

But what happened... What happens exactly if you're PC isn't working and after a restart it does again? ^^ I at least don't know :)
[LG Optimus 4X HD] McKevin78:
Hi [MENTION=5799877]csk1jw[/MENTION],

is it possible to implement a kernel patch for CVE-2017-2636 in next release?

Thanks

Kevin
[LG Optimus 4X HD] csk1jw:
I just searched AOSP security bulletins https://source.android.com/security/bulletin/index.html and it is not published yet. I can only look into it when it is published.
[LG Optimus 4X HD] csk1jw:
New build 20170405

New builds are available.

- Android-7.1.2_r5 (N2G47J)

- Android-7.1.1_r38 (N6F26Y)