yashsingh1/xdaforums huggingface dataset:
[LG Optimus 4X HD] juantech:
This is normal, but you can surpass this bug, in my case i removed the sim card and sd card and after some boots worked but you have to do various boots not only one.
[LG Optimus 4X HD] Osama kaleem:
1. I installed the

Rom

, then the

base Gapps

, then the

addon Gapps

such as webview etc, Switched on and then turned off, went in recovery installed

Xposed zip file

and

SU zip file

to gain back the root! whenever I installed Xposed I get multiple problems as hang at every minute, too much hang leads to the logo "android" and sometimes gets back to normal boot or else forget it..

2.How to clean cache without going in recovery?

3.Rom is amazing that's why I want it to work as normal cell phones do, sometimes m in emergency and the cell doesn't boots on until 15 mins..

I heard of the busy box that should be installed, is it true?

---------- Post added at 06:44 AM ---------- Previous post was at 06:41 AM ----------

Man its so annoying sometimes, like official jelly bean Rom never does that, I though my phone will get faster and fluent but it doesn't seem to! But the features of Marshmallow that's what I loved the most and its the only reason I want it to fit in my mobile without irritating.

---------- Post added at 06:53 AM ---------- Previous post was at 06:44 AM ----------

What is the function of Kernel and which latest kernel should I install to make it work perfectly with this Rom 6.0.1?

---------- Post added at 07:09 AM ---------- Previous post was at 06:53 AM ----------

How to install Doze?

---------- Post added at 07:22 AM ---------- Previous post was at 07:09 AM ----------

how to increase RAM??
[LG Optimus 4X HD] kessaras:
lol, search. its also up there on tools section.

https://xdaforums.com/optimus-4x-hd/general/zram-customisation-t3523785
[LG Optimus 4X HD] Osama kaleem:
Man you need to tell me how to increase Ram from the first step!!! What to do and What to take care of, What kernel to use to wht I should Install??m please I would appreciate as I've decided to throw my P880!
[LG Optimus 4X HD] kessaras:
really ? me i fully tweaked it and sold it for 100 euro :eek:

the phone is as fast as LG g2 or g3 if you follow the guides.

But i can't make it easier. The guide for the ram is already step by step.

The only thing left to do is to send you a video which i will not -_-
[LG Optimus 4X HD] Osama kaleem:
tell me only for P880 from the first step what should I do after flashing ROM and Gapps, plus gaining root through SU,, I would really appreciate , tell me just in Short because I cant understand that long lecture!!
[LG Optimus 4X HD] kessaras:
lecture :D looool

i explain only why compressed ram is better than swap on the disk :D

but i don't have the phone any more.

just ask in the ram thread and someone will help you, someone that still has that phone.

From my point of view , i don't know what changes are going on, on these roms anymore.

Open the right threads and ask questions.... p880 for me is history, my help wont be accurate, my knowledge over this phone is 6 months old.
[LG Optimus 4X HD] b886b:
To have root and xpose working for this rom, the correct step will be will be as follow, if u are coming from the same rom.:

- format /cache

- format /system

- apply ROM zip

- apply gapps ( I use pico opengapps)

- apply Webview from Delta Gapps

- apply SuperSU

- apply xpose.zip

- then reboot

Upon reboot, recovery will ask you to whether u want to fix root, click yes and u are good to go.

Do remember no reboot is required when you install all those files, and I am using CWM recovery as suggested by OP.

I have been rocking this rom for quite a long time with root and xpose, no problem what-so-ever, I am very satisfied:good:.
[LG Optimus 4X HD] b886b:
Now that I see 7.1.2 roms are available for our device, thanks to [MENTION=5799877]csk1jw[/MENTION]. Now that AOSP 6 is rock stable will that be possible to introduce something new in this rom?? Take for example, a 3.4 kernel???? I saw another day that nexus 7 has a 3.4 kernel, [MENTION=5799877]csk1jw[/MENTION] would that be possible to port this kernel for our device??? Link attached https://github.com/Unlegacy-Android/android_kernel_nvidia_tegra3.

Also I do notice that the force close problem of some applications on Nougat has been solved on nexus 7 with the link attached.

https://xdaforums.com/nexus-7/orig-development/wip-linux-tegra-nv-3-4-bringup-t3128195/page83
[LG Optimus 4X HD] csk1jw:
I think starting fresh from kernel-3.4 and porting it for LG-P880 is a pretty hefty undertaking. I don't know if there would be anyone else left hold on to this phone to really test and use it.[emoji14]I prefer to stick with existing CM-based kernel 3.1.10+ for rock stable experience. I have already ported several features from Google's kernel-3.4/3.10 into kernel 3.1.10+ in the past.

I don't own Nexus 7 to checkout the diffs from kernel-3.4. I have a Samsung Galaxy Tab 2 7.0 (GT-P3113WIFI) which is also supported by the same Unlegacy Android. Kernel-3.4 is in the work for OMAP4, but it is still far from stable. I prefer to cherry-pick features that matter and backport it into kernel-3.1.10+

For the link on fixing Nougat-7.x random app close issue, there was a patch by replacing libnvos.so, but the source code is not yet disclosed. If they manage to solve it, then we can probably leverage from them.
[LG Optimus 4X HD] ViperUSSR:
Yes, I understand that stability is first of all, but the mourta firmware was also quite stable on 3.4.112.

Can we count at least on experimental builds?
[LG Optimus 4X HD] b886b:
Thanks for your explanation. I totally understand your point :good:. Also I don't have nexus 7 tablet as well, just while browsing the xda and found something worth sharing and here I am sharing. :highfive:
[LG Optimus 4X HD] b886b:
﻿First off I would love to take the opportunity to thanks our developer for delivering such a stable ROM. I have been using this ROM since September 2016. The overall experience is Rock stable and the performance is decent as well. However, this phone seems to lag a lot after long time of usage, take for example if I didn't reboot the phone for a week or so, the performance starts to degrade. Which seems to be attributed to the slow writing speed of our flash drive and some xda user have solved the issue but migrating to f2fs. For me, I cannot bear the hassle of converting the file system as well as we do not seem to have a fully stable f2fs recovery. So I resort to other approach to improve the user experience on this ROM.

1. Download trimmer app from playstore and set it to auto trim every single day.

2. Download l speed from playstore and activate the settings as displayed in the screenshots and enjoy your phone:).
[LG Optimus 4X HD] b886b:
Further to my previous post, I have now activated flag tuner in l speed as well and it seems to work pretty well. However, I am wondering how it performs compared to f2fs system. Can anyone using f2fs share with us their screenshot of benchmark using cf bench?

Here is my benchmark after applying the tweaks from l speed.
[LG Optimus 4X HD] csk1jw:
Nougat 7.1.2 with /data f2fs.

I have updated kernel to be released next.
[LG Optimus 4X HD] b886b:
[MENTION=5799877]csk1jw[/MENTION], would that be possible for marshmallow user to have a flashable zip of your newer kernel????? Thanks.
[LG Optimus 4X HD] csk1jw:
Will do, but will take some time as I already killed the tree by moving to Nougat 7.1.1 and 7.1.2. Since I no longer need 7.1.1 build, I can switch it back to MM.
[LG Optimus 4X HD] jrcquinito:
Well, that's it. I leave the LG 4x HD forum after several years. I bought an Asus Zenfone 2 Laser 600KL (https://www.asus.com/es/Phone/ZenFone-2-Laser-ZE600KL/). I must say that I learned a lot in the Forum, and my thanks for the work of keeping it up to date with improvements. The old LG 4x has become obsolete and it's time to give it a retreat. It still works and will keep you as a backup for some emergency.

Thank you all and good luck.
[LG Optimus 4X HD] csk1jw:
Poor GPS during navigation

New build is up.
[LG Optimus 4X HD] Martin Lukas:
Gapps link Please?

I tried install gapps Marshmallow Base Gapps package for 6.0.1: gapps-601-base-20160520-1-signed.zip

http://xdaforums.com/android/software/app-minimal-gapps-gapps-lp-20150107-1-t2997368, but cannot install with TWRP 3.0 (error).
[LG Optimus 4X HD] CrazyWinner:
Install rom, reboot into bootlader , reboot recovery again , install gapps. I solved this problem with that method.
[LG Optimus 4X HD] Martin Lukas:
Thanks my problem is gone :)
[LG Optimus 4X HD] fukuli053:
I tried new build , I like it and I have a question ? Why doesn't work QR Scan. I usually use Whatsapp on PC and need to work.
[LG Optimus 4X HD] CrazyWinner:
Because this rom is using grouper blobs. If you really need it, try euphoria
[LG Optimus 4X HD] iSWORD14:
Clean installed build May 21, 2016 | 05:43AM

Apparently my Wifi problem hasn't been fixed yet. Here's a log pastebin

By the way I have my router wireless network mode set to N-Only. This has caused some problems on my device before, but in ROMs like CM11 I discovered that when Wifi refuses to connect to my N network, all I have to do is go to Wifi settings > Advanced > Country Code and set it to anything (it will unset itself every once in a while for some reason). Now I can't find this option in Marshmallow. I also tried looking into "/data/data/com.android.providers.settings/databases/settings.db" but that file isn't even there - I can only find settings.db-backup and I tried copying it over to settings.db and changing wifi_country_code to US in both global and secure tables but that didn't fix the problem either!
[LG Optimus 4X HD] csk1jw:
I don't have any issue with WiFi both at home and at work. I don't know why you would choose to force your WiFi router at N only. That could be the problem that caused interoperability issues. I think you should check out your WiFi router at Mixed mode, which is the factory defaults for most routers.
[LG Optimus 4X HD] iSWORD14:
Mixed mode causes my router to freeze frequently because it keeps going between N and G modes when I connect my P880. I think I'll just set it to G only for now.

Still, where did country code settings go in Marshmallow?
[LG Optimus 4X HD] csk1jw:
[MENTION=4530168]iSWORD14[/MENTION] I guess this is more likely the issue with your WiFi router. Check if you have any firmware update for the router that may solve the issue. I have not seen the country code setting both on Lollipop and Marshmallow ROM. Don't know where to look, I just work on AOSP repo from Google. CyanogenMod may have more knots to tweak, sometimes, but I very much prefer AOSP.

You can check /system/etc/wifi/bcmdhd.cal, but I advised against touching it, unless you really know what you're doing.
[LG Optimus 4X HD] iSWORD14:
Thanks for being so responsive. My router does indeed have the latest firmware. I never asked myself whether the country code setting was an AOSP feature or not.

Anyway, I changed my router wireless mode to Mixed (also tried G only) - and now I ran into a different problem that I also had on alfsamsung's Marshmallow ROM - I'll post the log here for you or other devs to review.

Wifi connects fine but then after 9-10 seconds it disconnects and reconnects again in a second. It's annoying because it breaks all requests when it disconnects. Looking at the log I figured that those 10 seconds were the WPA key renewal interval. So I changed it to 86400 seconds (24 hours) and now it works great - I'm sticking to this ROM - Ambient display is dope :)

But again, my 10 seconds renewal interval never caused any trouble on previous versions of Android on my P880 or my other devices. Could it be a bug in the Wifi driver?
[LG Optimus 4X HD] dimi89:
Fleshed rom and 3 different package of gapps and google gapps alwayse crash.Tested a bit rom without gapps and i didnt noticed any wifi problems.
[LG Optimus 4X HD] csk1jw:
Please read the 1st post on minimum required GApps. Use modular GApps from deltadroid. Android system webview is *required*.
[LG Optimus 4X HD] dimi89:
Downloaded webview beta from last page of gapps fleshed it and now it is working.
[LG Optimus 4X HD] InterrtuptoR:
I have a stupid question: can u somehow use stock and grouper blobs in same rom to make qr scanning work without making screen casting not work?
[LG Optimus 4X HD] csk1jw:
This really requires more research into how the camera HAL works. Every P880 ROM using grouper blobs already comes with 2 sets of blobs, one from LG and one from grouper. My wild guess that QR/bar code is not working is because grouper (Nexus 7 2012) does not have back camera which is used for QR/bar code scanning. How the past devs work to adapt grouper blobs for P880 on both front and back camera is still unknown to me. Grouper blobs seem to make new Android porting more feasible as they are from Google, and have less "secret" OEM hacks.

Camera is the most involved area of Android software. It requires Audio/Video/GPU/encoders/decoders/sensors, and most of the time, licensed software IPs, to work in concert to make things work. This is one area that custom ROMs are always held in the dark and can't compete with stock ROMs. Look at SONY Xperia open source portals. Even though SONY provides full support for building AOSP ROMs, they don't expect the ROM to have the same camera quality as the stock ROMs.

The movement of open sourced camera HAL has started to emerge, but this is likely only going to work for Qualcomm matured SOCs.
[LG Optimus 4X HD] dimi89:
So... anyway to fix camera delay while taking pictures with flash?this is the thing that moust bother me....

Послато са GT-I9301I уз помоћ Тапатока
[LG Optimus 4X HD] ericsyabi:
Hi all, flashed this yesterday, works fine. Is there an option to enable root in this rom?
[LG Optimus 4X HD] Mentah:
Download and flash SuperSU to get root.
[LG Optimus 4X HD] masmoe:
Thank for your effort.

By the way, is it support fake signatute package?

I use microG instead Gapps.
[LG Optimus 4X HD] terirem:
[MENTION=5799877]csk1jw[/MENTION], I wanna ask the same question. I really want to try this ROM but I don't intend to use GAPPS, so for me, signature faking patch is a must for a custom ROM. Please consider including it in next release.

https://github.com/microg/android_p...aster/patches/android_frameworks_base-M.patch

http://review.cyanogenmod.org/#/c/125637/
[LG Optimus 4X HD] iSWORD14:
I tried flashing Google Contacts & Google Dialer (Google Phone) from [MENTION=5227588]Deltadroid[/MENTION] 's GAPPS collection because the stock contacts app wasn't syncing contacts with my Google account properly.

Google Contacts works fine, and it synced all my contacts.

Google Dialer however was a mess. When you get a call it won't show up - there's no way to answer/reject the call, and when you make a call it won't show up, but it will make the call anyway (and there's no way to end it on your side..)

Anyway, just wanted to report my findings since [MENTION=5799877]csk1jw[/MENTION] didn't test these two packages.

Oh and I also created a flashable zip to restore the stock dialer in case someone else accidentally flashed Google Dialer and wants to go back to the stock one. You can find it in the attachments.
[LG Optimus 4X HD] Deltadroid:
Make sure that Google Dialer is set as the default dialer, otherwise it will not work properly and cause reboots.
[LG Optimus 4X HD] csk1jw:
AOSP contact and calendar both are working fine for me. All my calendar and contacts are syncing properly. I am trying to keep minimum Google's apps when AOSP version are working. My minimum GApps list is my preferred setup. The only the only thing missing in the list though is gapps-deskclock, which I recently found out the AOSP version FC when trying to add world clocks.
[LG Optimus 4X HD] iSWORD14:
I love how responsive you guys are! :good:

Personally, I don't like having any Google apps at all. I try to stay away from proprietary software as much as I can. But I'm waiting till summer to configure ownCloud on my Raspberry Pi as an alternative to Google sync services.

I just ran logcat on that "Word Clocks" crash and then found a fix on cm's gerrit. Apparently one of the support libraries needed to be excluded from ProGuard obfuscation.

It did not cause any reboots. It was just never there for me, you know what I mean? :)

I re-flashed Google Dialer just to confirm whether it was my fault or the ROM's. There's no way to set it as the default dialer since there's no other dialers installed. When I go to "Apps > Phone > Open by default" there's nothing to do there. [see attachments]

I made a call and again, the in-call activity never appears, but the call was sent anyway - and there's no way to stop it.

The problem is obvious in the logcat output,

ActivityManager: Unable to start service Intent { act=android.telecom.InCallService cmp=com.android.dialer/com.android.incallui.InCallServiceImpl (has extras) } U=0: not found

but I'm not sure what's causing it. I can clearly find "com.android.dialer/com.android.incallui.InCallServiceImpl" in the Google Dialer apk! [see attachments]

What am I missing?
[LG Optimus 4X HD] InterrtuptoR:
Try with google hangouts dialer or some other dialer from playstore, set it as default... Dont flash it, install it via playstore... Just to see if it works that way...
[LG Optimus 4X HD] Deltadroid:
To make the dialer default,

Settings --> Apps (select the cog in upper right corner) --> Default Apps
[LG Optimus 4X HD] CrazyWinner:
Hello i am using this rom and it's awesome. But baseband_xmm_power is waking up my device. So i cant get good battery life. Can it be solved or it's necessary wakelock ?
[LG Optimus 4X HD] fritzcola:
[MENTION=5799877]csk1jw[/MENTION] Could you please upload your device tree and your blobs. Would help me a lot. Thanks in advance

Btw great effort
[LG Optimus 4X HD] iSWORD14:
That fixed the problem! Thanks Deltadroid!
[LG Optimus 4X HD] -Raffa-:
Hi, right now I'm on alfsamsung's CM13 but when I receive a call the screen turns out for like 5 sec... and because of this I loose most of thesee call, is this ROM affected by the same annoying bug? It's stable enaogh to use it as a daily driver? (if it's not critical bug can be cionsidered stable enough)
[LG Optimus 4X HD] InterrtuptoR:
Not using it currently, but it is stable enough, but cause its using grouper blobs u cant use qr scanning (maybe smth else), but screen casting works...

I would tell you to use Euphoria 5.1 if u miss all the features of custom rom and wait for the custom stable marshmallow... But this rom is certanly worth a try...
[LG Optimus 4X HD] csk1jw:
2nd POST updated to include kernel patches and device tree. Feel free to PM me if you think something is still missing for anyone to re-create the Marshmallow ROM for P880.
[LG Optimus 4X HD] kessaras:
had only one little problem while installing using pico gapps. the 1st setup on 1st boot buged and couldnt finish it. so i removed the setup wizard apk from gapps ( removed them using adb, im bored to wipe and flash again ) and its working great. so gapps work if we remove setupwizard.apk from inside.

1st step: connect to a pc and do

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

This will solve the errors.

2nd step: go to settings and add your google account and sync.

Rom is working fine without errors or bugs with any gapps you want. great work.

Enjoy.
[LG Optimus 4X HD] kessaras:
i attached the screenshots to prove that i use your rom and that gapps are working at their fullest. play store does updates normally
[LG Optimus 4X HD] kessaras:
this is more like a pro way to handle things, i used logcat i saw what bugs the google service i disabled temporary the buged service and play store is working. image as proof now that im gonna make my own boot scripts.
[LG Optimus 4X HD] kessaras:
final stage of this rom after all my settings and scripts are active

finally i wanna share with everyone my optimus p880 using this rom fully functioning with gapps installed ( pico , i dont like face unlock and talking to my phone like a mad man. i cant even imagine what people around me will think when they hear me say hi google haha )

It took me some time to finish it. Since im not a developer and i know nothing, i used lucky patcher to handle the errors. I cant share what fixes i did because i have NO knowledge , i only used common logic and lucky patcher and a couple of scripts to execute on boot to fix the link to sdcard storage. I wish i had more knowledge to help everyone.

But , this rom is fast , stable and amazing. I wish to see it finished. Great Work !
[LG Optimus 4X HD] kessaras:
i want to add this info too.

im not a gamer so i dont really need more ram, but those who need more ram, use init.d scripts support app. create a script (best in internal storage so that it will be executed on boot for sure and wont have compatibility issues with the app, set delay 1sec so that supersu boots 1st before the script execution) and in that script swapoff , rm the swap, create new swap and select it and swapon again. information about that in google search or xda search.

The bad thing doing that , is that we delay our phone bootup procedure a bit. It needs a few seconds ofcourse to delete the previous zram config and create our new config.

Would be better though if this kernel in a later update will have the zram already disabled by default. This way it will be easier, we will be able to create our zram or swap file just once and the only thing we will have to do is use a 3rd party app to do the rest. this way everyone will be able to just setup their default ram setting the way they want depending on their needs.

So with google apps above and the zram information here, i think i have covered up everyone until now that i saw they had a problem with.

From now on this rom is my default choice for my aging p880. Great job again , csk1jw.
[LG Optimus 4X HD] InterrtuptoR:
Zram should be left as is, there are people that dont know to create a boot script but want to play games... If u want to "speed up" your device u create boot scripts...or build a kernel with no zram and whatever else u want and share it... U cant expect people to make boot scripts just cause they want to play games...
[LG Optimus 4X HD] kessaras:
im not the one that needs more ram. but ill post one small easy solution later. u r right. since i said that idea i should share at least once the solution
[LG Optimus 4X HD] b886b:
Well, I too believe that zram is needed as multitasking ability really depends on zram on this device. Without zram opening 3 or more tabs in a single browser would close most of the background apps. My major concern is the battery life of this rom, is it good???
[LG Optimus 4X HD] kessaras:
here it is.

Download the /zip , uncompress and copy it anywhere you want. best in sdcard ( storage/emulated/0 ) not in external sd.

use this free app from play store to select and run the script on boot.

This script will disable and remove the default zram of this rom. Set the app to execute the script with at least 1sec delay so that supersu runs 1st and the app can run with root privillages. Thats it. Now everyone can install any 3rd party app to setup their swap or zram they want. i have a screenshot of mine now having 2.5gb ram now.

**This doesn't work on any rom. This works on this rom and maybe any rom which uses the same path for default zram!
[LG Optimus 4X HD] kessaras:
true , but if you really want to gain something from zram you must install it in external sd card. if the swap file is in the phone, it will only slow it down in general use. imagine the hard disk trying to read/write for more tasks. any hard disk has its limit, they cant run so fast. so swap file must go in external sd.
[LG Optimus 4X HD] InterrtuptoR:
As far as i know zram isnt using memory card it is just compresed data on ram and it is dynamical, it doesnt use your ram until it activates (activation is based on swapiness). And what exactly did u set on 2.5 gb? Dont use swap use zram its much faster cause it uses ram instead of internal or external memory...