yashsingh1/xdaforums huggingface dataset:
[LG Optimus 4X HD] McKevin78:
Hi [MENTION=5799877]csk1jw[/MENTION],

it is not an Android bug, it is an 7 years old Linux Kernel bug.

But thanks for the new build anyway.

Kevin
[LG Optimus 4X HD] Phil_Smith:
Wow, 7.1.2(!)

You're the first I have seen so far presenting that version anywhere!
[LG Optimus 4X HD] ze7zez:
First not, but one of the first. [MENTION=5044214]nitin.chobhe[/MENTION] did ROM on April 4.
[LG Optimus 4X HD] ze7zez:
ADB does not see the device in "charge this device" mode.

ADB sees device in "transfer files" mode.

Is this a feature of android 7.1.2?
[LG Optimus 4X HD] asgz:
What is difference between this builds ? 7.1.2 experimental build ?
[LG Optimus 4X HD] ze7zez:
Normal build, but you have to carefully use gapps.

The AOSP keyboard 7.1.2 from this ROM is obligatory to work.

Replacement of this version by Gboard - Google keyboard after installing gapps will cause configuration problems.
[LG Optimus 4X HD] csk1jw:
I understood, but I usually wait til Google published the kernel patch in AOSP security bulletin rather than searching the fix from upstream myself.

Windows or Linux box? My Win10 and Ubuntu box don't have the problem. You may want to update the adb version.

Actually, I am using GBoard on 7.1.2 from OpenGApps 7.1 20170404, but I didn't start everything from fresh through factory reset. I was already with GBoard on 7.1.1 and dirty flash to 7.1.2 and the same OpenGApps zip. Can you provide more information on the configuration problems?
[LG Optimus 4X HD] ze7zez:
Windows 8.1 pro 64-bit, Android Debug Bridge version 1.0.36.

Other ROMs react normally.

I used the older gapps package than yours.

I finish downloading open_gapps-arm-7.1-stock-20170407.zip and I will check. If problem occurs I will send logcat.

---- edit ----

The problem "Gboard has stopped" occurs after selecting:

Settings -> Languages & input -> Virtual keyboard -> Gboard -> Advanced

Settings -> Languages & input -> Virtual keyboard -> Gboard -> Preferences

Settings -> Languages & input -> Virtual keyboard -> Gboard -> Text correction

Settings -> Languages & input -> Virtual keyboard -> Gboard -> Glide typing

Settings -> Languages & input -> Virtual keyboard -> Gboard -> Dictionary

Settings -> Languages & input -> Virtual keyboard -> Gboard -> Search

---- edit 2 ----

From now on, for the next three days I will not have access to the PC.
[LG Optimus 4X HD] asgz:
[MENTION=5799877]csk1jw[/MENTION] , Here is the experience :

7.1.2 set-up vizard fc again and again, thats why can't finish the installation.

7.1.1 installed succesfully but my phone is in pain :) everything is extremly slow, I decide to restart but it's not restarting stuck at android logo.

If possible can we charge the battery when phone switch off ? Can u add this feature ?

Edit : Installed 7.1.1 again and work normal now
[LG Optimus 4X HD] csk1jw:
I can't reproduce those errors. My GBoard just work. All the settings options are accessible. I also can't reproduce the AndroidIME error in your logcat dump. Can you forced stop and clear the data/cache of GBoard and start over?

Regarding the setup wizard issue, well, I can't help. I dirty flashed from 7.1.1 to 7.1.2 so I didn't really go through setup wizard as if the device was factory reset. Did you somehow miss the WebView/Chrome package? Can more people confirm this issue?

I used to have the battery drained til it shut down itself. When I attached AC, it would still boot all the way into Android and showed charging from 0%. If you have the correct USB AC plug, then this should not be the problem. The phone can continue to charge even with OS booting.
[LG Optimus 4X HD] asgz:
Hi again,

After full wipe I installed rom, gapps, webview, superSU. Than I installed 7.1.1. Its ok now works pretty normal.
[LG Optimus 4X HD] ze7zez:
I did as you suggested, but nothing changed.

Do you have a SIM inserted?

Do you install from phone memory or SD memory?

Write checksum for CWM recovery.img.

Please write your steps exactly as you are installing 7.1.2, then I will repeat your procedure.
[LG Optimus 4X HD] csk1jw:
I currently use the phone as WiFi tablet and SIP phone with Android native SIP client. I don't have SIM inserted, but I presume that won't matter. I can check it out quickly by swapping in a SIM. I installed both the ROM zip and OpenGapps zip from microSD card using the official CWM for P880 with updated kernel, ie. I simply unpacked-repacked the recovery.img and replaced the zImage with the same one from Nougat ROM boot.img.

Can you get GBoard working if going back to 7.1.1? My GBoard has always been working on past ROMs and I always do the same dirty flashing for new ROM builds without doing a full wipe.
[LG Optimus 4X HD] ze7zez:
For testing purposes I always install fresh ROM and GAPPS. I installed stock gapps on 7.1.1 and have the same problem.

Of course gboard is not a problem, because after installing stockps gapps I can re-install the aosp keyboard from ROM. But I can not understand why gboard is working for you and not for me.

ROM 7.1.2 has been downloaded more than 50 times and no one except me has reported a problem with gboard. This is frustrating to me. :(
[LG Optimus 4X HD] csk1jw:
Were you doing a full wipe? From your OpenGApps it seemed that you were not. If you are willing to try with a full wipe, here's the instruction with CWM that I used:

1. Wipe data/cache

2. format /system

3. Install ROM zip

4. Install OpenGApps zip (use Stock version with gapps-config.txt)

5. Reboot

I just updated gapps-config.txt in the OP. This should be exactly the way I am testing on my device.

If you don't want to do a full wipe, then just skip step #1 and use the updated gapps-config.txt. That's how I do my dirty flashing.
[LG Optimus 4X HD] ze7zez:
The basic sequence works fine for me.

1. p880-ota-eng.n2g47jz.zip installation

2. gapps-klmn-google-keyboard-20170311-1-signed.zip installation

The problem came up when I tried installing the gapps stock on a fresh ROM installation.

Setup did not allow me to go through the installation process without the SIM and still restarted.

I have tried various tricks including TWRP, but just installing through TWRP causes a crash on google keyboard.

I tried gapps aroma and it works. I can freely limit the amount of installed components from google.

Thank you for your help.

---------- Post added at 02:08 ---------- Previous post was at 02:05 ----------

I do not have such option in CWM v6.0.4.5 (md5 390e4fe5e6b3c1828c92eae1da4e0322).
[LG Optimus 4X HD] b886b:
Format /system is under mounts and storage.
[LG Optimus 4X HD] csk1jw:
New build 20170412

New build is available.

Google had a coding typo in Nougat JobScheduler which is a significant revamp from Marshmallow. It prevents user tuning of JobScheduler configuration through job_scheduler_constants. This is now fixed.

The new Nougat JobScheduler default config is too aggressive for LGP880 I believe, which causes the phone to lag after waking up from Doze as it can launch up to 6 background jobs simultaneously stressing the I/O as most of them are data sync jobs. So we can now use job_scheduler_constants to tune it back to configuration similar to Marshmallow.

$ adb shell settings put global job_scheduler_constants fg_job_count=3,bg_normal_job_count=2,bg_moderate_job_count=1

So this limits background jobs to 2 when memory is normal and only 1 background job when memory pressure is moderate. The default for memory pressure level low and critical is already 1.

AOSP Nougat default is:

fg_job_count=4,bg_normal_job_count=6,bg_moderate_job_count=4

To go back to AOSP Nougat defaults, all you need to do is delete the row entirely.

$ adb shell settings delete global job_scheduler_constants

The settings will take effect immediately. No reboot is required. You can verify the settings are taken using:

$ adb shell dumpsys jobscheduler
[LG Optimus 4X HD] ze7zez:
ADB does not see the device in "charge this device" mode.

ADB does not see the device in "transfer files" mode.

ADB sees device in "recovery" mode.
[LG Optimus 4X HD] csk1jw:
Both my Win10Pro x64 box and Ubuntu x64 box are working fine with ADB. For Linux box, you need to update the udev permission rules.

For Windows, you may need to update ADB/FASTBOOT drivers. I got mine from

https://xdaforums.com/showthread.php?t=2588979
[LG Optimus 4X HD] ze7zez:
The truth is different.

This is very dependent on how the ROM is compiled.

I recently tested a lot of ROM for Nexus 4 because I discovered an interesting phenomenon >adb device unauthorized<. The problem was on my side, but if the problem was significant, it would affect all the ROMs I tested.

---- edit ----

I only have problems with the AOSP 7.1.2.

With AOSP 7.1.1 I do not have any problems with adb.
[LG Optimus 4X HD] csk1jw:
I got the ADB authorization prompt from my 2 other stock MM-based phones (OnePlusX, BLU R1HD) but not on LGP880.

ADB authentication is *NOT* enforced for "userdebug" build variant and "ro.adb.secure=0"

$ grep -A 2 -rnH ALLOW_ADBD_NO_AUTH .
./daemon/main.cpp:173: if (ALLOW_ADBD_NO_AUTH && property_get_bool("ro.adb.secure", 0) == 0) {
./daemon/main.cpp-174- auth_required = false;
./daemon/main.cpp-175- }
--
./Android.mk:330:LOCAL_CFLAGS += -DALLOW_ADBD_NO_AUTH=$(if $(filter userdebug eng,$(TARGET_BUILD_VARIANT)),1,0)
./Android.mk-331-
./Android.mk-332-ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
[LG Optimus 4X HD] ze7zez:
In N4 I tried changing ro.adb.secure = 0 to ro.adb.secure = 1 in build.prop, but it did not bring any changes.

The problem was the server side adb on my PC, and the client was cheating.

I suppose in case of P880 the problem is somewhere else.

The difference is 7.1.1 from 7.1.2 since:

7.1.1

ADB does not see the device in "charge this device" mode.

ADB sees device in "transfer files" mode.

ADB sees device in "recovery" mode.

7.1.2

ADB does not see the device in "charge this device" mode.

ADB does not see the device in "transfer files" mode.

ADB sees device in "recovery" mode.

stock

ADB does not see the device in "Charge only" mode.

ADB sees device in "Camera (PTP)" mode.

ADB sees device in "LG Software" mode.
[LG Optimus 4X HD] csk1jw:
Sounds like you have a problem with setttingsdb or propertydb corruption in your /data. Both 7.1.1 and 7.1.2 should have consistent behaviors.

- Make sure USB debugging enabled in Developer Options -
$ adb shell settings list global | grep adb
adb_enabled=1

- Charging mode -
$ adb shell getprop | grep adb
[init.svc.adbd]: [running]
[persist.sys.usb.config]: [adb]
[ro.adb.qemud]: [1]
[sys.usb.config]: [adb]
[sys.usb.state]: [adb]

- Transfer file mode -
$ adb shell getprop | grep adb
[init.svc.adbd]: [running]
[persist.sys.usb.config]: [adb]
[ro.adb.qemud]: [1]
[sys.usb.config]: [mtp,adb]
[sys.usb.state]: [mtp,adb]
[LG Optimus 4X HD] ze7zez:
must be: format /data

Bingo! :D

Generally I have not used CWM until recently and I do not know its weaknesses.

When I changed the ROM I chose

wipe data/factory reset
mount and storage -> format /system

It was a mistake!

Now adb has contact with aosp 7.1.2 after selecting:

wipe data/factory reset
mount and storage -> format /system
[B][COLOR="Red"]mount and storage -> format /data[/COLOR][/B]
[LG Optimus 4X HD] asgz:
I just can't stop myself and try to install 7.1.2 again. Full wiped. Set-up wizard force to close again, can't finish the installation. Is this happened just to me ?
[LG Optimus 4X HD] Salman Al-Badgail:
give a try for bank gapps with modular addons. Hope this help you. :fingers-crossed: and report back asap.
[LG Optimus 4X HD] ze7zez:
The problem applies to all AOSP 7.1.2 on all smartphones.

There is information that opengapps since 2017.04.13 is already good, but I did not check it.
[LG Optimus 4X HD] Phil_Smith:
As [MENTION=7114291]Salman Al-Badgail[/MENTION] said, dynamic Gapps (Banks) solves this issue in a lot of ROMs. Did anyone try this solution here? [MENTION=5596265]asgz[/MENTION] maybe?
[LG Optimus 4X HD] ze7zez:
I used >this< method.

I did not check, however, whether all Google services work as they should.

p.s.1

Still, I have a problem with the gboard described in my previous posts.

p.s. 2

Deltadroid gapps-712-base-20170403-1-signed.zip also works when it comes to skipping the Setup Wizard, but it does not include a set of services.

Full_Dynamic_GApps-7.1.x-20170215.zip is old.
[LG Optimus 4X HD] asgz:
So I install Rom like that, maybe my method has a problem, after full wipe :

install rom, install open gapps ( yesterday I flashed old vers. 20170407 ), install webview, install superSu and restart. Set-up wizard force itself to close, I restarted the phone a few times but can't finished the wizard. Than with this method installed succesfully again 7.1.1.

I will try this method when I get back home: https://xdaforums.com/showpost.php?p=71815923&postcount=6
[LG Optimus 4X HD] Phil_Smith:
You need the read the previous posts.

The problem is that openGapps doesn't work with 7.1.2, yet.

So either try Banks Dynamic Gapps and apply them as usual in recovery right after the ROM zip

Or Boot up system first after flashing the ROM, set up WiFi and then boot back to recovery to apply openGapps. This way the setup wizard won't start though. You would then have to add a google account and other things manually.
[LG Optimus 4X HD] csk1jw:
Hi everyone, sorry I can't test full wipe to check out the setup wizard. If you want to help, then please post logcat dump. I can take a look. Last time we had a dalvik heap issue due to AOSP settings for 1GB xhdpi phone.
[LG Optimus 4X HD] asgz:
This time I succesfully installed without set-up wizard 7.1.2 with this https://xdaforums.com/android/software/gapps-dynamic-gapps-t3487192 beans gapps with regular install method. I really surprised that 7.1.2 works amazing smooth.

I can't scroll down notification panel now it stuck at cell network notification.

All I can say that 7.1.2 not ready yet for daily driver. But fast really fast

[MENTION=5799877]csk1jw[/MENTION] thanks for your hardwork and keep this piece of crap stay alive :)
[LG Optimus 4X HD] kostarum:
Can anyone say to me how to install newest 7.1.2. ROM on bricked phone?

Only LG logo appears and nothing more.

Gesendet von meinem GT-I9295 mit Tapatalk
[LG Optimus 4X HD] Phil_Smith:
Can't enter recovery? Neither using hardware keys nor using adb?
[LG Optimus 4X HD] kostarum:
Yes, but Recovery don't work very good. That's why I don't know how to flash newest 7.1.2 ROM .... I don't know how to use adb, can you, please, be more precise and explain me all steps ? Private message is better,thanks.
[LG Optimus 4X HD] Phil_Smith:
Okay, if you can enter recovery, we'll fastly get this working again, don't worry! In 15 min or so, I'll be at my PC and we can write private messages.
[LG Optimus 4X HD] Phil_Smith:
Hey, anyone else experiencing problems with 7.1.2 and f2fs?

Using 2.7.1.0 f2fs recovery partitions are always reverted back to ext4 after ROM flash...
[LG Optimus 4X HD] bpjh58:
Hi all.

I've successfully installed 7.1.1 and open-gapps.

Thought I give 7.1.2 a go.

The ROM installs OK but I can no longer install Open-Gapps.

It fails with "failed to verify whole file signature; verification failed"

I've downloaded the open-gapps a number of times and same problem.

Also tried Delta Gapps (for nougat). It also fails but with a different problem: a wrong footer.

I'm using Linux Mint 18.1 and cleared the cache, factory reset each time (using CM recovery).

I tried changing the location of the gapps-config file from /sdcard/ to /sdcard/Open-Gapps/ but no change.

Anyone have a solution?

Thanks
[LG Optimus 4X HD] ze7zez:
sm command

[MENTION=5799877]csk1jw[/MENTION] !

I tried "Auto-formatting SDCard to Internal and SDCard storage", but >it< does not work, also in aosp 6.0.1.

Can you explain why?

more info:

Decrypting Android M adopted storage
[LG Optimus 4X HD] asgz:
If you can read a few page before this page, u will find the light, walk into it..
[LG Optimus 4X HD] bpjh58:
Thanks for the reply.

Had a read of the last 6 pages. Did a search before I posted.

Still in the dark!
[LG Optimus 4X HD] asgz:
The problem is that openGapps doesn't work with 7.1.2 yet. After a few attempts with wrong gapps I succesfly installed 7.1.2 with beans gapps

( https://xdaforums.com/android/software/gapps-dynamic-gapps-t3487192 )

but 7.1.2 has a problems, not good for daily driver.
[LG Optimus 4X HD] csk1jw:
Can you check if you can enable it the typical way, ie. having entire microSD card as adoptable storage through standard Android UI?

I didn't test adoptable storage. It is not very popular with older devices which media performance isn't that great. You may also want to check with others if anyone had tried it successfully. If it didn't work at all, then likely the old kernel-3.1 may have missed certain features for device mapper to work properly.
[LG Optimus 4X HD] bpjh58:
Seen the light!

Thanks for your help. Interestingly the ROM works well by itself but if Banks-Gapps is added it behaves in weird ways (for example the Home button no longer works.)
[LG Optimus 4X HD] ze7zez:
It works without any problem setting the memory as internal storage.

Data transfer also works.

After restart the memory is visible correctly.

I checked on aosp 6.0.1, because I had such a p880.

What can block the sm (probably short for 'storage manager') command?
[LG Optimus 4X HD] Black Manta:
Is there any performance mod or preset? It's quite a bit laggy. :D
[LG Optimus 4X HD] ze7zez:
Pure ROM does not lag.

You do not install gapps, then you will have performance. ;)
[LG Optimus 4X HD] Black Manta:
I will try. ;)

Anyway I only have pico installed. :D

PS:

20.000 Antutu :D
[LG Optimus 4X HD] Black Manta:
Thanks! Very smooth yet! :D
[LG Optimus 4X HD] asgz:
[MENTION=5799877]csk1jw[/MENTION] can you please upload 7.1.1 again to android file hots ? No longer avalaible
[LG Optimus 4X HD] kostarum:
Before four days I have installed 7.1.2 ROM, successful with open gaaps from 20.4.2017.

Problem is that system have lag problems and battery last only 12 hours. Is that normal?

Gesendet von meinem GT-I9295 mit Tapatalk
[LG Optimus 4X HD] asgz:
This time I choose different method for install, I installed rom, webview and SuperSU. Than I downloaded my favourite app's from internet. Rom works perfect, smooth, no lag or like something.

Just google play services and google play store crashed. Can u tell me the vers of your google play services and play store ? I will find and install of this vers.
[LG Optimus 4X HD] kostarum:
it's ther newest one...
[LG Optimus 4X HD] InterrtuptoR:
Hi guys! Nice to see [MENTION=5799877]csk1jw[/MENTION] still developing! My phone died some time ago... I just found this article about f2fs on op3 and op3t and thought about you xD

It shows that f2fs makes a difference :D

Im on nexus 5x now and getting the latest updates :D but bootloop might find me xD
[LG Optimus 4X HD] csk1jw:
New build 20170428

New build is available.

For heaven's sake, I came across the article http://events.linuxfoundation.org/sites/events/files/lcjp13_moriya.pdf. It caught my attention right away and I immediately tracked down the 2 commits from upstream kernel and then ported them from AOSP kernel-3.4. From my testing, this really helps reducing lag from apps startup and switching as memory reclaims no longer have to write-back page-cache and stall due to slow I/O.

Give it a try and tell me how yoy feel.:)
[LG Optimus 4X HD] asgz:
Without gapps rom works amazing. Phone is 5 years old, and still works with 7.1.2 even faster than latest official 4.1.2.

But when I install gapps lag is begin. Before, I try to install apk's of play store and playe services it doesn't works. How can we fix that gapps problem?
[LG Optimus 4X HD] kostarum:
Yes, you are right. Totally!

But we need Gaaps. Without it, some apps won't work at all or not correctly.

Can someone, please, solve this problem?

Gesendet von meinem GT-I9295 mit Tapatalk
[LG Optimus 4X HD] kostarum:
Another question : is there any way to increase RAM in our device, for example, where I can buy additional RAM and upgrade my mobile with it?

1 GB RAM is really too little... I would buy another 1 or 2 GB. Is that possible?

Gesendet von meinem GT-I9295 mit Tapatalk
[LG Optimus 4X HD] csk1jw:
Yeah... get a new 2017 phone. It's easier, more convenient and hassle-free that way. And, you also get better CPU, GPU and storage I/O performance.
[LG Optimus 4X HD] csk1jw:
Well, I don't know what you meant by installing apks. Play store and Play service apk should *NEVER* be installed directly through APK. They are meant to be system apps and *MUST* be installed in system partition through recovery. Use OpenGApps or modular GApps. I am pretty sure they work because I am using them on my LG-P880, too. Mine from OpenGApps 7.1 stock 20170425.

If you are starting fresh with full device wipe, then you need to wait a while for the data sync to complete after setting up the device. There will be quite a number of background sync jobs in the beginning. There will always be a certain level of lag whenever background sync jobs are running.

If you are stuck with SetupWizard forced close, then please provide details on which stage of SetupWizard crashed. There should be an option to complete SetupWizard without setting up any network. Try that to see if that works even though you can't restore your device from Google backup.

If SetupWizard is still the culprit, then please help the devs understand the issue by providing logcat dump.
[LG Optimus 4X HD] ze7zez:
We all agree that the AOSP alone works very briskly.

So there are 3 paths to use ROM with applications.

1. Install microG and your favorite applications

or

2. Install pico gapps or the like, and then install individual applications and observe their impact on the whole system.

or

3. Install gapps stock, and then disable apps that will not be used every day. I assure you that when you turn off unnecessary applications, the system will be fast again.

I have already written that I am very much in favor of the installation method described HERE.

Outside gboard, I have no problems with this aosp and gapps.
[LG Optimus 4X HD] csk1jw:
I prefer not being too skim on the GApps. It's meant to be Google experience anyway. As I said over and over again, you need to wait for sync jobs to finish the very 1st time. Subsequent periodic sync jobs are not that bad.
[LG Optimus 4X HD] kostarum:
@ ze7zez

But which microG ??? On this site, I see only GmsCore,GsfProxy,FakeStore, and BlankStore apks....Which to download and install ? Via Recovery or ?
[LG Optimus 4X HD] ViperUSSR:
I found that on the last build after rebooting the device, the date is reset to 1.1.2012, and the time is 9:00

I also noticed that the dialer icon is reset and replaced with sound prompts on the lock screen while the Google Assistant is disabled in the settings.. A similar error has already surfaced in previous versions. The first time I noticed her 3 version ago.

By the way, I do not know whether more information is needed about the crash of the SetupWizard - with a clean installation using Delta Gapps, Crash is not observed...
[LG Optimus 4X HD] ze7zez:
I

do not

confirm in its entirety.

---------- Post added at 12:50 ---------- Previous post was at 12:40 ----------

If the installation description is too difficult for you, see the installation description on the project page:

Installation
[LG Optimus 4X HD] asgz:
I reinstall the ROM and opengapps 29042017. Unfortunatelly I even can't login to google play because of google play service crash.

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

Real problem is for this phone is Cpu. Buy new one..
[LG Optimus 4X HD] ze7zez:
I have no idea where you made the mistake.

I installed a clean ROM and the same gapps and I'm in the store. :cool:

Have you thought about RAM by writing about CPU?
[LG Optimus 4X HD] kostarum:
People, I don't want new phone, please not talk in that way. I asked something and I expect clear answer on the that simple question.

Please don't tell me to buy new phone while I don't want to. Be respectful!

So, is there any way to buy additional 1 or 2 GB RAM and to hack that in phone?

Gesendet von meinem GT-I9295 mit Tapatalk