yashsingh1/xdaforums huggingface dataset:
[LG Optimus 4X HD] jrcquinito:
My experience with the rom is very very good. I had to make the installation process 2 times. The first was wrong, did not make me root, and some detail. A second attempt and if I went well. I did root and I could install the Xposed and gravitybox module. I think it's important for this module to completely customize the ROM. And with the app greenify the result is excellent in battery consumption.

I've only found a small bug; when I want to put on display the widget Direct call, and try to make the call tells me that the application is not installed, ....?. But if through the module gravitybox I put the same access direct call on the lock screen, run the call perfectly.

In short, for me it's a great room, and perfect for everyday use.

This small analysis is the version 20160709. I do not like change constamente if things are going well, so I'll wait a couple more versions to upgrade.

Greetings and again, an excellent job

Mi experiencia con la rom es muy muy buena. Tuve que hacer el proceso de instalación 2 veces. La primera no iba bien, no me hizo root, y algun detalle más. A la segunda intentona ya si salio bien. Me hizo root y pude instalar el xposed y modulo gravitybox. Creo que es fundamental este modulo para personalizar al completo la rom. Y con la app greenify el resultado es excelente en cuanto a consumo de la bateria.

Solo he encontrado un pequeño fallo; cuando quiero poner en la pantalla el widget de Llamada directa, e intento hacer la llamada me avisa que la aplicación no esta instalada, ¿....?. En cambio, si a traves del modulo de gravitybox pongo el mismo acceso de llamada directa en la pantalla de bloqueo, ejecuta la llamada perfectamente.

En definitiva, para mi que es una room excelente, y perfecta para el uso diario.

Este pequeño analisis es con la version 20160709. No me gusta cambiar constamente si la cosa va bien, asi que me esperare un par de versiones más para actualizar.

Saludos y de nuevo, un excelente trabajo
[LG Optimus 4X HD] terirem:
Reboot to recovery from GravityBox does not work, I don't know whether is possible to do something in the rom itself. Also, google's webview doesn't support webm html5 videos (or perhaps the codec is in issue here?).

But my biggest problem with this rom is the lack of LiveDisplay and CM Theming engine. [MENTION=5799877]csk1jw[/MENTION]: would you consider adding those? :)
[LG Optimus 4X HD] csk1jw:
Check the link https://github.com/Floens/Clover/issues/2

It requires NuPlayer which the ROM is not built for. I need to test if the grouper blobs are OK to enable it. Most of the old devices seem to always use AwesomePlayer.

You can also help to check out by changing the build.prop

-media.stagefright.use-awesome=true
+media.stagefright.use-awesome=false

[MENTION=5932996]terirem[/MENTION] I just confirmed that by changing the build.prop to enable NuPlayer, the sample HTML5 webm video is playing on Chrome.

Link to sample webm video http://www.webmfiles.org/demo-files/
[LG Optimus 4X HD] terirem:
I just tested myself, it works! However, if I play any html5 video (using webview) for some time, phone becomes hot. Do grouper blobs support hardware decoding?
[LG Optimus 4X HD] csk1jw:
I believe VP8/VP9 video formats are not accelerated. They use OMX.google instead of OMX.Nvidia. The best the decoders can do are NEON SIMD optimized. Actually, none of the SOCs released in the era of LGP880 can accelerate VP8/VP9 decoding.

If you want the best out of video experience, then H.264 is still the best format in mobile as it is well supported across SOC vendors. HW acceleration for Google's push for royalty-free standards in audio/video formats (VP8/VP9/Ogg/Opus) only arrived much later. And, Apple Iphones, as of today, still don't support VP8/VP9 natively (though the HW may be capable).

For comparison, VP8 is an equivalent of H.264 and VP9 is for H.265.
[LG Optimus 4X HD] Phil_Smith:
The installation process is definitely possible with the latest twrp.

All flashable zip files should be located under internal storage (not the sd card). I always got errors when I tried to do that differently.

I wipe cache, dalvik cache an system and flash the rom.

Afterwards i boot into the rom, enable the developer settings by hitting on "build number" (under settings/about this phone) for like 10 times or so, and then I go back to recovery. If I don't boot into the rom first, I get several errors trying to install gapps, but this way that should work.

So in recovery I flash (all in a row without any reboots in between) gapps (modular as recommended http://xdaforums.com/android/software/app-minimal-gapps-gapps-lp-20150107-1-t2997368 with the minimal components listed in the first post), the superuser su zip for root (https://play.google.com/store/apps/details?id=eu.chainfire.supersu), and while in there also the latest xposed-v86-sdk23-arm.zip (http://dl-xda.xposed.info/framework/sdk23/arm/).

To get rid of potential errors with gapps' setup wizard I follow the solution from CrazyWinner:

[...] you will see "setup has been stopped" error. Connect your phone to pc. Open an adb window and type this 3 lines

adb shell pm grant "com.google.android.setupwizard" android.permission.READ_PHONE_STATE

adb shell pm grant "com.google.android.gms" android.permission.ACCESS_FINE_LOCATION

adb shell pm grant "com.google.android.gms" android.permission.ACCESS_COARSE_LOCATION

Good luck and once again, thanks for this great rom to the developer :)
[LG Optimus 4X HD] carlos15black:
the sms app is not working :(
[LG Optimus 4X HD] Phil_Smith:
Was wondering the same thing :)
[LG Optimus 4X HD] kessaras:
you dont need greenify in android 6, its useless. in privacy settings has options to choose which apps keep working on background and in battery has more settings for each app .....

Android 6 uses Doze. The only usefull app maybe is forcedoze to force android 6 to go in Doze mode immidiately
[LG Optimus 4X HD] Visionek:
Maybe this could be helpfull:

http://xdaforums.com/optimus-4x-hd/general/rom-cm-13-unofficial-stock-blobs-beta-t3319013/page35

I hope there is a chance to make WiFi Hotspot work in this ROM.

BTW. It's the best custom ROM on this device! :)

Thank you for your amazing work and goodluck in development :)
[LG Optimus 4X HD] csk1jw:
Check the changelog in 1st post. I had already fixed it.
[LG Optimus 4X HD] Visionek:
I'm sorry, my bad :)

Thank you for answer :)
[LG Optimus 4X HD] Phil_Smith:
Strange... I changed the read ahead buffer for external devices from 2048kB to 4096kB (since I play my music from the external sd card), raised the audio buffer of my music app (deadbeef) from 32K to 64K and enabled the equalizer, which seems to have helped some people dealing with similar problems in other threads (why I don't know) - and voilà, no more distorted hanging or anything! But when reverting those changes to see what really had helped, I found out, that I don't need any of this stuff to be changed... For some reason the problem is just gone and I can't even reproduce it...

Maybe this a hardware defect in my very device, which definitely has seen better days... Since there was no confirmation of other users, I think the rom itself doesn't bring this bug.
[LG Optimus 4X HD] Phil_Smith:
Two more things I experienced with this ROM:

I often need to reboot twice, since my SIM card usually isn't recognized after the first reboot.

Not often at all, but sometimes, the device freezes and gets hot while quickly draining the battery.

Think this happens only while charging, but I'm not completely sure if I remember that correctly.

Other than that, everything is smooth, and I'd definitely say, this ROM is more ready for daily driver than any other costum ROM I know,

and is the reason why I'll keep using my p880 :)

Any general idea or hint how to increase the call volume (outgoing, but more important incoming) on this device? I still see the low call volume as one of the major downsides of our p880, but the issue was way worse in cm11, which is why I was temped into other custom ROMs in the first place.
[LG Optimus 4X HD] Androidmarketuser:
I haven't tested out your music player app, but with both GoneMad Music Player and with the internal SolidExplorer Music Player I didn't notice any lag or distortion. I can remember that problem, but that was long time ago. Now I've tested with closed recent apps and most apps hibernated.

Generally I'm impressed by this rom, very fluid and nice, but the battery usage is higher compared to Omni KK. I'm also using microG instead of GSF and GMS but with Google's Play Store. Concerning battery I've got some stats for comapring:

Around 10% of the screen of time, the device isn't in deep sleep. That 10% is caused by baseband_xmm_power (5%), radio-interface (2,5%) and the rest minor stuff (alarm, WakeLocks from apps)

The faster battery drain could be subjective, 90% deep sleep is quite good and looking at TricksterMod the device tries to use one core at a time and the frequencies are very spread, not only 475 and 1500Mhz for example.
[LG Optimus 4X HD] bs360:
I'm testing "p880-ota-eng.mob30rz" (20160715) and I'm really happy about it. This ROM has changed my mind about all the custom ROMs for P880.

It's really responsive and for my daily use is pretty good. Very light and smooth, no bugs for my usage. And all this without any further tweak

I've got only one reboot when using Dolphin browser (and btw this was happening with the original rom too!)

Thanks to csk1jw for bringing back to life my crappy P880 :D

PS: I've installed it with TWRP 3.02. I've got some trouble with gapps at the beginning, but at the end it was enough to flash:

ROM, gapps-601-base-20160723-1-signed.zip, gapps-lpmm-google-webview-20160608-1-signed.zip.
[LG Optimus 4X HD] Phil_Smith:
Can someone explain how to find that menu, in which you can decide which apps shall be allowed to work in the background while dozing?

I can find no "privacy" menu in this ROM. Under "battery" one can change the apps' respective permissions, but none of them says "background activities while dozing" or anything like that.
[LG Optimus 4X HD] InterrtuptoR:
i think its in battery settings, menu, battery optimization, switch optimized to not optimized...
[LG Optimus 4X HD] kessaras:
the phone right now is on my moms hands so i dont have it in front of me to check, but if there isnt any privacy menu in security settings or in memory settings , then use xposed and xprivacy. xprivacy just finds those hidden settings for you if you dont find them. and yes in battery choose to not optimized the app you dont want to auto hibernate. but no worries doze works anyway by default. even if you dont find the settings, all apps get auto hibernated and the system on its own chooses those that are for communication or more important to not hibernate them. but as far as the "not optimized" , you go there and manually choose the apps you dont want to hibernate when you are on low battery or all apps will hibernate.
[LG Optimus 4X HD] Phil_Smith:
Thanks, that wasn't clear to me before. Now the "optimized / not optimized" setting makes sense to me :)
[LG Optimus 4X HD] jrcquinito:
with the last update I have not installed greenify, the result is quite good. regards

---------- Post added at 12:02 PM ---------- Previous post was at 12:00 PM ----------

Problems when you upgrade to the latest version of the rom:

In recovery I make a cache wipe and wipe dalwik. Install the new vesion ... and it turns out that I lost the root, I lost the services of google play and the play store.

To install the new ROM, and make it work well, I had to install from scratch.

I do not know why. Or is to be installed first and then do the wipes.

Problemas al actualizar a la ultima version de la rom:

En el recovery hago un wipe cache y un wipe dalwik. Instalo la nueva vesión...y resulta que he perdido el root, he perdido los servicios de google play y el play store.

Para poder instalar la nueva rom, y hacerla funcionar bien, he tenido que instalarla desde cero.

No sé por qué. O es qué hay que instalar primero y hacer los wipes despues.
[LG Optimus 4X HD] Phil_Smith:
This has already been answered:

Ciao!
[LG Optimus 4X HD] kessaras:
doesn't matter when you will wipe. since you wipe, then /data/dalvik is empty and the installation creates new dalvik depending on the kernel/rom. Maybe you wiped the system by mistake. anyway since everything is fine... enjoy.

---------- Post added at 04:26 PM ---------- Previous post was at 04:19 PM ----------

yeah thats true too. since the new upgrade comes with the new android version, we need to wipe the system anyway just for precaution, so... in the end jrc would reinstall gapps for sure.
[LG Optimus 4X HD] Phil_Smith:
I think this could be related to the usage of a solar charger. It seems to always happen when the connection is disrupted and needs to be re-established over and over.

On other devices this problem doesn't occur though under the same circumstances.

---------- Post added at 12:23 PM ---------- Previous post was at 12:14 PM ----------

Is there a way to enable fast charge in this ROM?
[LG Optimus 4X HD] juantech:
Hello, i was searching a good 6.0 rom and arrived to here, but i have some questions:

Mhl or HDMI works?

it have much freezes(reboots)?

what its the performance on games? per example pokemon go works?

i will can use it for my daily usage and no worry for the bugs and freezes?

Thanks in advance :)
[LG Optimus 4X HD] InterrtuptoR:
no freezes/reboots, probably no hdmi/mhl and i think pokemon go should work. This is a good rom, first stable 6.0 for p880! :D
[LG Optimus 4X HD] ze7zez:
Is Pokemon Go it is a pandemic? ;)
[LG Optimus 4X HD] juantech:
Wow this is exactly what i was searching, something good and stable :D

Someone can confirmme the MHL/HDMI question?
[LG Optimus 4X HD] Phil_Smith:
I'm thinking about disabling z-ram in order to increase performance as I'm usually not doing heavy multi-tasking.

Since I'm rather new to the whole android thing, I just want to ask if someone has some theoretical background related pros or cons.

In Windows I find that disabling the paging/swap file (which is the z-ram pendant) can increase the overall system performance immensely, but that is only when you have 8GB of RAM or more, as otherwise the system runs out of memory way to often, so that the performance boost can't compensate for that instability.

Is there a transferable rule of thumb for the minimal amount of physical RAM needed to actually make disabling of the z-ram file worth while?
[LG Optimus 4X HD] InterrtuptoR:
it all depends on the mem apps are using... for games u will need it cause we have 1gb ram, even for some apps... So basicaly if u want to use android now when all the apps are made for phones that have much more ram than our device u have to use some sort of swap, for me zram is much better then regular swap...
[LG Optimus 4X HD] csk1jw:
Someone had confirmed that MHL/HDMI works on the Lollipop ROM. I don't have the cable but I can tell you that Screen Cast works with Chromecast which I have. If you have the cable, then please check it out and report it back here.
[LG Optimus 4X HD] juantech:
ok, when i install it i will say if works or not :good:
[LG Optimus 4X HD] terirem:
[MENTION=5799877]csk1jw[/MENTION] Please have a look at the comment here:

https://github.com/GravityBox/GravityBox/issues/1575
[LG Optimus 4X HD] Phil_Smith:
Okay... This definitely works smoother with the latest CWM recovery...

No need to have anything stored internally or anything. Assist starts without any problems.

And there are no further issues with contacts...

My bad, please really stick to / or move to the latest CWM recovery using this ROM!
[LG Optimus 4X HD] Phil_Smith:
Need a bit of help I think...

After some problems I set everything up again, this time using CWM recovery, and everything went fine.

But then, suddenly, when I rebooted, I was stuck on the "android" logo, the color was permanently changing slowly as usual, so it didn't hang, but it also didn't finish booting.

I rebooted many times, wiped cache and dalvik, then rebooted again, but still... Same error.

I then even decided to wipe cache and dalvik, format system and install the ROM with Gapps (openGapps nano and Webview) again, but strangely even then the error persists.

Shall I do a factory reset? Any other thing I can try out?

Thanks in advance!
[LG Optimus 4X HD] juantech:
I installed it and i confirm what MHL/HDMI dont works.
[LG Optimus 4X HD] CrazyWinner:
Gallery app is not working correctly for me. I tried google photos but same result. Images cannot be loaded like this
[LG Optimus 4X HD] csk1jw:
Would you be able to provide log from logcat? I would like to see if this is related to DRM issue. Are you playing DRM content or just mirroring the screen? I know I haven't got a chance to fix widevine DRM issue on this ROM. Can you also try out AOSP-5.1.1 Lollipop ROM to confirm if the same content can be played there? It is easier for me to debug if MHL/HDMI is working for AOSP-5.1.1 Lollipop ROM.

Gallery is definitely working for me. I used that all the time both videos and photos. I don't even install Google Photo or any other similar programs.
[LG Optimus 4X HD] CrazyWinner:
Maybe my filesystem is corrupted. I will format internal storage and try again
[LG Optimus 4X HD] juantech:
What i can say you its what my TV tried to connect with the phone, because when i connect the Mhl to it, i pulse info on my TV and says connecting.

I was mirroring only and i didnt test it in 5.1 molthenmotherboard.

And about give you the log... i was returned to 4.4.4 but i have to install other rom, this have a huge problem on games, i will install your 5.1 or 6.0 other time, when i do it i will can tell you more :)
[LG Optimus 4X HD] InterrtuptoR:
battery statistics isnt good. app consumption isnt in there... it doesnt calculate it...
[LG Optimus 4X HD] csk1jw:
The kernel I have is lacking uid_cputime support. I tried porting from other Tegra3-based kernel which has this, but I couldn't get it to work. My device stuck in LG boot loop. I had a hard time debugging this.
[LG Optimus 4X HD] juantech:
Now i installed 5.1 and after this 6.0, in 5.1 too dont works the Mhl, in 6.0 i could take a log:

View attachment 2016-08-05-10-10-33.txt

And a question, in the future would be possible have in the long press of the home button the list of running apps for can close it? or battery percentaje and wifi arrows of connection?

or screenshot?
[LG Optimus 4X HD] csk1jw:
I think that makes more sense as I can't imagine why MHL would work for 5.1.1 but not 6.0.1. Look like someone might have mis-reported the feature on 5.1.1. BTW, your log does not seem to tell anything on MHL/HDMI support. Can you check?

I can look at omni-4.4 to see if I can get any clue from there.
[LG Optimus 4X HD] InterrtuptoR:
[MENTION=5799877]csk1jw[/MENTION] Can u walk me through the memory management in your kernel cause i think u use zram and writing to nand memory in the same time.. zram should be the first that gets fully used and then it should be writen to nand... it seems that when zram was ported its relationship with the previous mmu wasnt defined, they run alongside eachoder at the same time... im not a real kernel dev but i noticed this by watching the stats of the device while i used it (ram intensive game) (like cpu usage from debuging in which i saw io overrhead and mmcqd and other things that indicate something is written to disk, and also an app that shows me swap usage which is zram usage...) So if u could confirm or deny my suspicions, explain to me what happens?

and also a lot of ppl are saying zswap and zcache are better than zram? can u implement them?
[LG Optimus 4X HD] juantech:
Well i revised logcat options and the buffer of logcat was only main now i enabled Main radio and Events.

I took 4 logs for if its usefull

View attachment 2016-08-06-09-49-13.txt

View attachment 2016-08-06-09-58-28.txt

View attachment 2016-08-06-09-59-44.txt

View attachment 2016-08-06-10-01-15.txt

If you fix the mhl you will be my hero, this is the most stable rom what i never seen for this phone, didnt give me no problems and i used for all things, have with this the Mhl would be my dream on this phone :D
[LG Optimus 4X HD] csk1jw:
[MENTION=6748691]juantech[/MENTION] Do you know which 4.4 or above ROMs have MHL/HDMI working? I see that you commented on OMNI-4.4 thread that MHL was working. I want to confirm if this is real. There is also someone reported that MHL is also working on the official CM-11 ROM.

[MENTION=6088368]matthewstate[/MENTION] reported MHL working on Lollipop ROM. I am not sure if he is still around to validate his point.

http://xdaforums.com/showpost.php?p=63981628&postcount=1127
[LG Optimus 4X HD] csk1jw:
[MENTION=6359525]InterrtuptoR[/MENTION] I don't think the kernel can do swap to ZRAM and internal storage at the same time. I followed AOSP recommendation for enabling swap to ZRAM. If you check /proc/meminfo, the swap is only the size of ZRAM. Even if you see mmcqd activity, you cannot imply that this is due to kernel swapping. There could be other disk activities not related to swapping.
[LG Optimus 4X HD] csk1jw:
New buid 20160806

New build is up.

https://www.androidfilehost.com/?fid=24651442761499351
[LG Optimus 4X HD] matthewstate:
Hey still active of sorts, can give it another test if you'd like :)
[LG Optimus 4X HD] csk1jw:
[MENTION=6088368]matthewstate[/MENTION] Glad to know that you are still around!:good:

Can you please help to check out MHL/HDMI support on this ROM? Are you sure that MHL/HDMI was working in Lollipop ROM as reported in your post there?

If possible, please also provide the picture of the MHL cable that you're using and the make/model on the TV being tested.
[LG Optimus 4X HD] InterrtuptoR:
When RAM is low there is some nand write going on, what is writen, why and where i dont know but device is slowing down...

Lets say we have unmodified android aosp, it has no swap, what happens if i open an app and it is ram intensive? I switched zram to 0, and did that there was just that write... is the purpose of it to free memory... if so it doesnt work well with zram... every write slows this device so much(in the end its not low ram that slows it, its the attemp to free ram with writing(maybe its freeing cache with writing, mabe its alternative to swap, idk, but its there, and it doesnt work well with zram))...

What about zswap? U didnt answer that, do u think its better than zram?
[LG Optimus 4X HD] csk1jw:
[MENTION=6359525]InterrtuptoR[/MENTION] Linux can cache file system read/write using available free memory. If RAM intensive app is loaded, Linux will reclaim the memory used as file system cache so that they can be given to the application. During such memory reclamation, the writes hold in cache need to be flushed out to file system. I believe this is what you are observing. This has nothing to do with swap to ZRAM. With fsync disabled kernel, user-space explicitly fsync calls has no effect to flush writes, so more writes are being buffered until kernel needs to reclaim memory.

I am not familiar with zcache & zswap. They aren't being recommended by AOSP. Their purposes seem to be reducing physical disk I/O from swap. If the swap device is ZRAM, then there is no disk I/O.

A good read on Linux page cache / buffered cache

https://lwn.net/Articles/572911/
[LG Optimus 4X HD] InterrtuptoR:
As i read somewhere zswap is using ram as swap until it cant put more compresed pages in it, then it copies those compressed pages to disk... I also read that zram doesnt do that, for instance if u where to compress that chace that is in ram with zram u would have to decompress it to write it to disk... so zswap seems as a more complete, better solution....

Smb said zcache is even better, but it is not included in linux mainline cause its not complete/stable yet...

http://askubuntu.com/questions/471912/zram-vs-zswap-vs-zcache-ultimate-guide-when-to-use-which-one

I guess this modules are trying to answer my question: can chace and writes be held in ram and writen little by little so they dont disturb the system much?

How can i turn off (or slow it down) chace reclaming due to memory getting low?