yashsingh1/xdaforums huggingface dataset:
[LG Optimus 4X HD] csk1jw:
Can you provide more details on your issue with NFC? If simply switch ON/OFF is causing phone to freeze, then can you also provide the logcat dump when you toggle NFC?

How do you check out NFC actual functionality? Do you use the built-in Android beam to send something to another NFC phone?

If you can provide more relevant details for the devs, then it is more likely for the devs to fix the issue.

Can you do NFC testing with just the ROM and no GApps and after a full wipe of data/cache? I know this may not be possible for you if you still use the phone actively.

For RIL, I think my MM & NG ROMs are in better shape compared to CM11. But again, RIL is hard to debug as it may be region & provider specific.
[LG Optimus 4X HD] b886b:
For what I have tested is using Beam to send files using NFC, and it does so quickly, toggling on and off of NFC didn't cause any problem. Regarding RIL, I do believe it has something to do with provider... strange enough I do notice a better reception with custom rom than on stock rom...
[LG Optimus 4X HD] Phil_Smith:
Can someone please provide me with a valid download link for v20c german?

Can't find anything that works ...
[LG Optimus 4X HD] Phil_Smith:
Oh, nevermind: Thanks [MENTION=7114291]Salman Al-Badgail[/MENTION]
[LG Optimus 4X HD] Salman Al-Badgail:
:D Welcome, but make sure you download it for correct country.
[LG Optimus 4X HD] InterrtuptoR:
I allready gave u logs but for older version in this post:

http://xdaforums.com/showpost.php?p=67480477&postcount=139

i cant go back to aosp 6 now but i might later.

NFC when togled slows down device or freezes it, when i togled it on cm11... after a couple of restarts and multiple nfc togles it was getting faster... nfc seems to work im using it to connect to my speaker...

nfc is not that big isue to me, but ril is biger...

i found this program that warns you when ril is down so i might use it with aosp 6 then...

this is my software info screenshot:
[LG Optimus 4X HD] juantech:
I dont know if was because i tried to boot the phone various times withouth the sd card and the sim card but i surpassed the no boot problem and now i can continue using the room withouth erase nothing, when appears the updating apps, here its when booted, really buggy in the beggining but in the next boot booted well and the room continues working well.
[LG Optimus 4X HD] InterrtuptoR:
Sry for the ril log, didnt know...

What do you mean what was i trying to do with it? I just pressed a button to turn it on/off then that happened...
[LG Optimus 4X HD] csk1jw:
I was trying to understand how you used NFC. Anyway, I read that you use it to connect to speakers. I don't have any NFC-capable bluetooth speakers to check this myself. You know... if there is a way for devs to replicate the issue, then it is more likely for the issue to be fixed.

I can find something to check out NFC Android beam. Can you check if NFC Android beam works for you when you decided to go back to my MM or NG ROMs? Someone already reported that NFC Android beam works on MM ROM.
[LG Optimus 4X HD] InterrtuptoR:
Im sure it will work, will try it with friends phone when i have a chance...

The bug is only when i turn it on/off, it slows down the system, even freezes it, before attended use...

I dont use nfc that much, u dont have to waste your time trying to fix it when nobody else has that problem...

But ril fix, if possible, would be nice :) will give you logs ofc, when i get back to mm aosp...
[LG Optimus 4X HD] csk1jw:
[MENTION=6359525]InterrtuptoR[/MENTION]

I attached my NFC log from Android startup into home screen, then toggled NFC to OFF then ON again. NFC has been set to ON prior to rebooting Android.

Nothing looks suspicious, and from the time stamp on the log you can see that everything happened within seconds.

This is from Nougat ROM though, but I believe MM ROM is similar.

If you got a chance to try out my MM or NG ROM again, then please capture NFC log with grep filter. It is easier to devs to look at logs with appropriate filters.

$ adb logcat | grep -i nfc

Do you happen to install any NFC-aware apps that toggling NFC may have triggered events processing from the apps?
[LG Optimus 4X HD] juantech:
Video call on whats app works bad, i can see who is calling me but the person cannot see me.
[LG Optimus 4X HD] InterrtuptoR:
I dont think that i have any nfc apps...

nfc now stuck at off position (probably until reboot), no freeze...

ril broke for short time, hope u can find it in logs, i was in a place with bad reception till arround 18:30 then i was going home by bus, arround the time i arrived home the ril broke with previously good reception (didnt look at clock :( ).

i had ril brake earlier today also but for some reason the log starts at 18:00...

Also app that is suposed to notify me when ril goes down dosent work for some reason, so i notice ril brakeing while using device...

logs are attached...

i think i found the part of the log where i try to make a call on ril down, maybe it will help you so u dont have to search for it... signal came back quickly after that...

11-16 19:47:04.646 1114 1114 D DCT : [0]setupDataOnConnectableApns: apnContext {mApnType=dun mState=IDLE mWaitingApns={null} mWaitingApnsPermanentFailureCountDown=0 mApnSetting={null} mReason=radioTurnedOff mDataEnabled=false mDependencyMet=true}

But in call history the call timestamp is 18:56... the call i tried to make without ril and after that made it when ril came back... maybe this piece of log is smth else.............

Thank you for the help :)
[LG Optimus 4X HD] csk1jw:
I can see from your radio log that you are losing signals, but that is normal if your area is weak on coverage.

Really, the Android ROM devs can't do anything about radio handling. This lives in an entirely separated domain from the Android OS. I don't work for LG or Infineon/Intel to have the knowledge of how radio firmware works. The best ROM devs will do is to enable the reuse of pristine OS space radio blobs. The low-level C handling radio libraries can mostly be reused AS-IS from stock ROMs. The telephony framework customization, if any, would likely be lost. Past P880/CyanogenMod devs had tried their best to re-create this missing telephony framework customization which is part of the ROM device tree, but that is not always perfect.

In common sense, we believe the radio firmware, the OS space radio blobs and the hacked up X3RIL telephony framework customization would work for most of the cases.

For NFC, I think your device may have HW problem as my NFC log never logged any error on NFC stack dead-locked.
[LG Optimus 4X HD] InterrtuptoR:
It didnt lose signal because of low signal, that low signal is in another place another time i lost signal when i came home where the signal is full, when trying to make a call at 18:56...

Nfc works without problems on stock so i dont think it is a hardware isue, same applies for ril.

Nevertheless thank you for trying to help me.
[LG Optimus 4X HD] b886b:
An update on the user experience of this rom, I was on a trip last week. Which I rely heavily on my phone to navigate my way, while I use google map for navigation, the screen went black and then my phone hangs. I thought that it might be a situation which the ram runs out so I waited and waited. After a few minutes I was able to pull up the recent app screen which shows that I only have 1xx free ram, at that point I tried to swipe away some background apps since the device lags like hell. I managed to close all my recent apps including the resource hogging google map. However, the free ram still remains the same and the device lags like hell. I tried to reboot the device but to no avail. Then I have to pull the battery out in order to reboot the phone. After doing so, I noticed that it shows the booting animation but it cannot into the system. Then I remember seeing guys from the xda that they experience stuck in boot animation. However, that was at the time I desperately needed my phone to work because I was kinda of lost in a foreign country..... Luckily after waiting for 15 mins or more my phone finally boots up and every thing seems fine.

After I come back from my trip, I notice that my phone has some kind of weird behavior like the default launcher redraws all the time when I take a photo and share it to my whatsapp.... I love this rom but it seems to have some minor issue. Maybe I will try the nougat rom after it has xpose support.
[LG Optimus 4X HD] Phil_Smith:
Hey, I'm now using RAMEXPANDER and your trick to increase ZRAM under [MENTION=5799877]csk1jw[/MENTION] 's 7.1.0.

Seems to work so far, so thanks for that!

Two questions I have though:

In the status bar RAMEXPANDER shows no value under "TOTAL Memory". It's just blank. I think this means nothing, as the program shows the size under "swap info" and 'cat /proc/swaps' also finds the right sized swap file. Anyway, maybe you know why it doesn't show up in the status bar.

I chose to let the program set the optimal values automatically and a swap file of about 3GB and a MinFreeKB value of 64MB seem to be reasonable. But it pumped the Swappiness up to 100, which seems a little aggressive for me. But on the other hand I don't know too much about setting the best swap values for systems that are rather low on RAM. Do you think the values are fine?

Thanks in advance and greetings!
[LG Optimus 4X HD] kessaras:
linux by default (same goes for android) will cache to disk and only keep in active ram the amount that needs to read ultra fast the procedures that are executed,

so only swap if you really need more than 700 MB of active ram which is more than this phones' ram can handle.

swappiness 100 means that it swaps the half. if an app needs 1GB of ram , it will swap 500MB. it isn't bad nowdays. when i wrote it i could never imagine that apps will need so much ram.

if you don't play games or don't use many apps running in the background at the same time, such as a "heavy" launcher , apps that handle the silence mode automatically, etc , don't swap at all.

this phone has a very slow read/write hard disk speed comparing to the new phones and you lose speed but you will be more stable and smooth,

so it depends on the needs.

And yeah a swappiness of 100 with only 1GB physical ram and only around 700MB available active ram is correct for the above reason; that 100% means that it swaps half.

~EDIT: since you are testing it in 7.1 and since the apps nowdays need more ram , keep us up to date. if it goes smoothly, more people should use it. (me too :D)
[LG Optimus 4X HD] juantech:
Hello, i taked a log of a videocall and after begin the videocall the next error repeats by infinite until end the video call: NvOsDebugPrintf( 201): NVMEM_IOC_READ failed: Operation not permitted

This could be solved? i think its the problem of the impossibility of see me the other person in a videocall because the videocall works and i can see the other person but him to me not.
[LG Optimus 4X HD] Salman Al-Badgail:
Same problem in AOSP 7
[LG Optimus 4X HD] Huzergackl:
No phone signal after flashing

Good job, this is an amazing rom! Unfortunately i cant use it at the moment because i dont get phone signal. It seems that the sim is not detected. Another card from my family just worked fine. Mine is a 4 year old card of german telekom.

The strange thing is that my card just works fine with the stock rom 20c. Is there somebody with similar problems and how could this be solved?

I noticed that the baseband switched to

LGP880AT-00-V20c-EUR-XXX-OCT-07-2014

With this rom. On Stock 20c i had

L6260_MODEM_SIC_02.1233.00

I installed this rom with teamwin recovery 3.x after doing a clean install by flashing the kdz
[LG Optimus 4X HD] juantech:
Try to go to settings- more- phone network- and select your company of phone, this worked for me on Omni 4.4.4.

But you will have to do this on every boot.
[LG Optimus 4X HD] b886b:
I didn't have such problem, but u do have to remember that after a reboot or so ur device need sometime to detect your sim card, for me after a reboot my device will show that no sim is inserted but then after 1-2 minute the sim will be detected and connect to the network.
[LG Optimus 4X HD] InterrtuptoR:
Can u replace your sim in your provider's office with a new one? I had a problem with loosing connection but not on the stock, i had a old card but i didnt switch sims i swictched phones xD, so im interested will switching your sim with the newer work...
[LG Optimus 4X HD] Huzergackl:
All entries are grayed out there. On the lock screen i get the following text: "No sim Card - Telekom.de". So the provider seems to be detected somehow but not the sim card. Thats strange...

Hmm interesting. Something must be different here. I had it running for over an hour. The only change i noticed is that the above mentioned text appears on the lock screen.

XD I will try this. The replacement of a "broken" card is free. So i have nothing to loose ;)

Btw: Here are some errors i noticed from adb logcat. Some could be related to my issue:

01-01 11:20:57.355 203 203 E EmojiFactory_jni: Failed to load libemoji.so: dlopen failed: library "libemoji.so" not found

01-01 11:20:58.705 192 547 E LGE_DRM : lge-ril-drm : AP_NV_write : Could not open device file

01-01 11:20:58.705 192 547 E LGE_DRM : [setDeviceId] AP_NV_write FAIL!!!

01-01 11:20:58.707 200 200 E LGDRM : [DRMERR] drmLibGetFlexInfo() : Fail to read OpCode

01-01 11:20:58.733 200 200 D LGDRM : [drmLibGetSystemId] AP_NV_read Success. ID = 352967056231230

01-01 11:20:58.734 200 200 E LGDRM : [DRMERR] drmLibGetFlexInfo() : Fail to read OpCode

01-01 11:20:58.737 200 200 D LGDRM : [drmLibGetSystemId] AP_NV_read Success. ID = 352967056231230

01-01 11:20:58.739 200 200 E LGDRM : [DRMERR] drmLibGetFlexInfo() : Fail to read OpCode

01-01 11:20:58.742 200 200 D LGDRM : [drmLibGetSystemId] AP_NV_read Success. ID = 352967056231230

01-01 11:20:58.743 200 200 E LGDRM : [DRMERR] drmLibGetFlexInfo() : Fail to read OpCode

01-01 11:20:58.745 200 200 D LGDRM : [drmLibGetSystemId] AP_NV_read Success. ID = 352967056231230

01-01 11:20:58.745 200 200 D LGDRM : [DRM] Cert_ReadCertFiles(): Read 5 cert files

01-01 11:21:22.180 195 195 E RadioService: couldn't load radio module radio.primary (No such file or directory)

01-01 11:21:25.175 548 548 E NetdConnector: NDC Command {8 strict enable} took too long (1069ms)

01-01 11:21:25.177 548 593 E NetdConnector: NDC Command {9 interface getcfg p2p0} took too long (767ms)

01-01 11:21:49.428 1430 1430 W KeyguardUpdateMonitor: invalid subId in handleSimStateChange()

01-01 11:21:59.729 1175 1195 D GpsLocationProvider: received SIM related action:

01-01 11:21:59.751 1175 1195 D GpsLocationProvider: SIM MCC/MNC is still not available

01-01 11:22:14.049 1758 1869 E DcSwitchStateMachine-0: EVENT_DATA_DISALLOWED failed, com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED

01-01 11:22:15.126 1758 1758 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: No UICC
[LG Optimus 4X HD] b886b:
If u can replace the old sim with a new one easily then I suggest u try replacing that first instead of trying other option, as I have seen comments in cm11's thread that changing their old sim card with a new one solves their problem.
[LG Optimus 4X HD] Osama kaleem:
which adb file?

]Sorry to ask but which adb file? from the attachment?
[LG Optimus 4X HD] csk1jw:
New buid 20170112

It seems that Android-6.0.1 branch has finally reached its EOL. So I made a last refresh from Android-6.0.1_r77 to include all the applicable changes from Nougat. Android Marshmallow 6.0.1 is really stable, and with the latest OpenGApps 6.0, it also gets the cool stuffs such as PixelLauncher.
[LG Optimus 4X HD] ze7zez:
p880-ota-eng.m4b30zz.zip

Link in the first post thread directs logging, instead of a directory.

Link to file is as follows: p880-ota-eng.m4b30zz.zip

Thank you for your extensive and wonderful work for users P880. :good:
[LG Optimus 4X HD] sourly64:
New build works fine:good:

Use TWRP 3.0.3.0 with webview.ZIP and

OpenGapps pico from 12.1.2017

SuperSu 2.79

Thanks for development:good::good:

Regards
[LG Optimus 4X HD] csk1jw:
Fixed link in 1st post.
[LG Optimus 4X HD] b886b:
Thanks for your continuous contribution on this device.

[MENTION=6324790]sourly64[/MENTION], is xposed running alright on the new build??? I will update to the new build this weekend!!!
[LG Optimus 4X HD] sourly64:
I dont know,because i dont use xposed (trying sometime on other builds,but for me not nescessary:angel:)

New build is stable and for me good enough for daily use like facebook ,whatsapp and also gaming like real racing :good:

Sometimes is it a little bit slow,for example by opening settings need some seconds after first start and if you start again

it is more fast :confused:

Also apps who need internet connection are very slow and google maps dont find a gps fix,so you can not use navigation:eek:

For battery use,after deepsleep a few hours and you wake up the phone,it shows in settings about 3days for using and after a

few minutes in use it shows only 2 hours for using. Thing the calculation is not really right

Nevertheless for me in the moment the best rom !!!

Thanks csk1jw for development

Regards

P.S. Need barcode scanning (knowing thats not possible for AOSP) so waiting for CM in LineAge OS ;)
[LG Optimus 4X HD] Phil_Smith:
This is actually not confusing at all.

This is just the way caching and RAM work.

Cache (CPU-cache - not hard disk cache!) is faster than RAM and RAM is way faster than any hard disk / flash drive.

When cache and RAM are empty you obviously have to load your program from the disk where it is stored.

Then there are different caching strategies, but they all have the common goal that applications that are likely gonna be used again next are the ones that shall rather be cached or present in RAM than others you almost never used (or didn't use often recently).

So when your application is opened for the second time, it is that much faster, as it isn't loaded from the slow disk, but rather quickly executed from cache or RAM.

This can also be explained, as the calculation seems to estimate the remaining battery in case that the recent phone usage stays about the same in the next time, which obviously has to be redrawn when suddenly starting normally using it after a long period of deep sleep.
[LG Optimus 4X HD] sourly64:
[MENTION=7008914]Phil_Smith[/MENTION]

Thanks for the explanation :good:
[LG Optimus 4X HD] ze7zez:
I do not have a SIM. At the first start, just after the WiFi connection I get the message:

Unfortunately, Google Play services has stopped.

It's the same when I open the Browser:

Unfortunately, Browser has stopped.

Do you have contact with your google via WiFi?
[LG Optimus 4X HD] sourly64:
Do you have flashed in recovery google webview ?
[LG Optimus 4X HD] ze7zez:
In CWM 6.0.4.5 installed consecutively:

- last ROM zip

- Last gapps pico zip

- Last SU 2.79 SR2 zip

Is it something I did not do?
[LG Optimus 4X HD] oF2pks:
You just miss webview (before gapps ?) https://www.androidfilehost.com/?fid=457095661767122612 ; also deltadroid Gapps are working OK.

Can you tell me how long did take the rom zip flash with CWM: with my new multirom I need

15~20 mn

waiting before flash succeed on 2nd slot/roms !?
[LG Optimus 4X HD] ze7zez:
Thanks. Everything works.

The installation time by official recovery-clockwork-6.0.4.5-p880.img :

4'12" - ROM

9" - WebView

1'45" - Gapps

28" - SU

3'55" - First run

---- edit ----

There is no synchronization between the video and audio when recording camera.

I tried a few cameras and is just as well not.

Open Camera has a problem with access to resources so you can not record anything. It has full permission.
[LG Optimus 4X HD] dave2609:
Hey guys,

Is this better than the 7.1 one??

On 7.1 I've got lags and wifi issues.

Thnx
[LG Optimus 4X HD] Phil_Smith:
Definitely more stable and way less lagging /FCs.

But 7.1.1 is faster in general (when not just lagging).

What kind of wifi issues?
[LG Optimus 4X HD] dave2609:
Thnx phil

When im connected to wifi is goes : connected..... Disconnected. Connected.......disconnected.

That repeats itself every 20 seconds.

So you cant watch any videos or sites.

Do you know how to solve?

P.s. this does only appear with the wifi upstairs.

It has a wep security.

Wifi downstairs does work correctly but has wpa2 security.
[LG Optimus 4X HD] Phil_Smith:
Oh, I just saw [MENTION=5799877]csk1jw[/MENTION] has released a new 7.1.1 version.

Would suggest you definitely try that new one first!

Can't say where those wifi issues come from... better post that into the 7.1.1 forum directly.

Makes little sense to discuss that here, actually :)
[LG Optimus 4X HD] eangel498:
I can not install the ROM in my phone :crying:. I do the following:

- wipe data-factory/ cache/ data/ system

- Install ROM (Install p880-ota-eng.m4b30xz.zip)

- Reboot Recovery

- Install GApps from OpenGApps (Pico)

- Install zip of AndroidWebWiew

- Reboot

And always stays in the Android logo (No LG)

What I can do? I want use this ROM :crying:
[LG Optimus 4X HD] ze7zez:
Try this:

- Factory reset in CWM/TWRP

- Install last ROM (p880-ota-eng.*.zip from AFH)

- Install Google WebView (gapps-lpmm-google-webview-*-signed.zip from Deltadroid)

- Install gapps from OpenGApps (Pico) or gapps-601-base-?-signed.zip from Deltadroid

- Reboot

If it does not pass, then we think later.
[LG Optimus 4X HD] Phil_Smith:
Yeah, sometimes you can only get by situations like that by also formatting /data & media.

Also no reboot in between installations is a good idea indeed.
[LG Optimus 4X HD] eangel498:
I tried with this and is the same problem. :(

- I installed p880-ota-eng.m4b30zz.zip

- Then I installed gapps-lmn-google-webview-20161213-1-signed.zip downloaded from this forum.

- Later I installed gapps open_gapps-arm-6.0-pico-20170211.zip from OpenGApps

And the problem continues. Never starts to run Android.

I tried installing Android Nougat from this forum and started it but this version puts the phone very slow. I suppose that I'll return to Lollipop AOSP :crying:
[LG Optimus 4X HD] ze7zez:
In TWRP you can save log on sdcard.

Advanced -> Copy log -> Swipe to Confirm

Do it and show it.
[LG Optimus 4X HD] eangel498:
I have CWM 6.0.4.5 :confused:
[LG Optimus 4X HD] ze7zez:
It's obvious that to have TWRP, you need to flash the TWRP.

Otherwise no one will know why you can not flash the ROM.
[LG Optimus 4X HD] eangel498:
Yeah, I know that is obvious :rolleyes: but I wanted know if it could be done using CWM. In a moment install TWRP
[LG Optimus 4X HD] eangel498:
Someone knows why the camera no open? None of the 2 works and flash neither
[LG Optimus 4X HD] ze7zez:
Normally, the camera operates. Not great, but it works.

If not for you, you would have to write something more.
[LG Optimus 4X HD] csk1jw:
New build 20170307

New build is up.
[LG Optimus 4X HD] jrcquinito:
Oh, thank you, I'll install it today. I use this Rom from the beginning and I'm doing very well. I appreciate you not abandoning the project and improving Rom :good:
[LG Optimus 4X HD] b886b:
Thought that no more new build will be available. Then I notice this. It's a great ROM, rock stable and the speed is good. Nothing to complain about, for me this is the go to ROM for anyone who want to tryout KitKat plus ROM.
[LG Optimus 4X HD] rafradek:
An excellent post-kitkat ROM that is stable and pretty fast , i hope i will stick with it as long as my phone lives.
[LG Optimus 4X HD] Osama kaleem:
what to install after ROM and Gapps to make P880 working perfectly?? Mine works good for 2 to three weeks and then the rom gets corrupted and when I restart phone, it stays for hours and hours on the starting logo "android" and then I have to install Rom and Gapps again!! I lost so much data due to this since 2 months.. what kernel, frame work i should install?? anyone? with links !!

---------- Post added at 05:45 PM ---------- Previous post was at 05:43 PM ----------

help bro!! XD
[LG Optimus 4X HD] ze7zez:
1. You write exactly what you have installed on this ROM.

2. If you are heavily using multiple applications, you should clean your cache periodically.

3. It is good time to thank the author for the ROM by clicking on the THANKS icon under the first two posts of this thread.