yashsingh1/xdaforums huggingface dataset:
[LG Optimus 4X HD] Deltadroid:
Before flashing the base gapps, open console and enter this to create the switch:

touch /sdcard/.removesetupwizard
[LG Optimus 4X HD] Salman Al-Badgail:
[MENTION=7008914]Phil_Smith[/MENTION] its better to use bank gapps and google web view (post 261) , however you need to install addons later for personal requirements. Hope this help you. Also you can use 700 and 711 base gapps by deltaroid, follow instruction #268 post
[LG Optimus 4X HD] Phil_Smith:
Why exactly would you say it is better to use bank's gapps?

Actually I'm personally a big fan of keeping the gapps installation at the minimum at first (for later there is the play store anyway).
[LG Optimus 4X HD] Salman Al-Badgail:
It has minimum apks and uses low memory. However you need to install chrome laterly from addional addons for webview.

Flash Rom

Flash B gapps

webview :)
[LG Optimus 4X HD] Phil_Smith:
Ok, thanks for the info. I think I'll stick to modular for now, but I'll have a look at this.

---------- Post added at 04:03 PM ---------- Previous post was at 03:59 PM ----------

I'm sorry for having to ask again, but I'm not quite sure how to do that...

I'm using CWM recovery - so when I wiped everything and installed ROM, where exactly am I supposed to type in that command?

Do I need to use a recovery with an integrated console or something like that?

Or can I use adb somehow to achieve this?

Thanks in advance!
[LG Optimus 4X HD] Salman Al-Badgail:
Check attachments, ;)

Less apk crash compare to 7.0 October build.

Thanks [MENTION=5799877]csk1jw[/MENTION] again
[LG Optimus 4X HD] Deltadroid:
You can enter that console command before booting to cwm. It just created a file.
[LG Optimus 4X HD] Phil_Smith:
Okay, setup wizard kept failing, although it should have been disabled, but I decided to go with the approved approach and flash banks gapps and webview, which is working (after one restart).

Glad to be on the new build :)

---------- Post added at 05:29 PM ---------- Previous post was at 05:19 PM ----------

Just posted another brief question in V20C Germ/OpenEur/Ita upload by dimi89 regarding RIL and baseband version, but maybe someone here can take a look at this as well. Thanks in advance!
[LG Optimus 4X HD] asgz:
[MENTION=5799877]csk1jw[/MENTION] First of all thanks for your hard work and. Because of you and a few developer this old crap still alive :)

If possible I'd like to ask why install of your rom so complicated ? I mean why can't we just install rom, gapps and reboot ? :) And if possible please change the name of your files. p880-ota-eng.nde63xz.zip inside of this file is there 7.0 or 7.0.1 ?

I think I missed something in somewhere :) Please help me to undertsand :)
[LG Optimus 4X HD] csk1jw:
Well, it used to be that easy, one zip file for OpenGApps with the correct config file, until OpenGApps 7.1 had issues, which I can't help. Hopefully, OpenGApps 7.1 will sort out given some time for more devs to bring Nougat-7.1 ROMs to older devices.

I am lazy and prefer Google standard build tag naming.

https://source.android.com/source/build-numbers.html

You are free to download and rename to your liking.
[LG Optimus 4X HD] csk1jw:
OpenGApps 7.1 issues

Ok, after some research on XDA, thanks to Xperia M devs, it looked like 1GB RAM device would have issue with setupwizard heap allocation and require the following fix.

http://xdaforums.com/showpost.php?p=69651374&postcount=474

Any brave souls would help me to verify this with factory reset?
[LG Optimus 4X HD] Phil_Smith:
You can download the "complete changelog" (link in first post) in order to allocate the version number to the build declarations.
[LG Optimus 4X HD] AndreaFar:
In what order this patch should be installed?

After the ROM installation and before Open Gapss??

In addition is not clear what exactly is the Camera Fix included in latest update. Now is It able to scan QR and all similar tasks?
[LG Optimus 4X HD] Salman Al-Badgail:
You have to do a factory reset and install the files in this order rom, last gapps and patch configuration wizard.

Hope this help. Thanks to [MENTION=4787757]jihey[/MENTION]
[LG Optimus 4X HD] csk1jw:
SetupWizard

[MENTION=5227588]Deltadroid[/MENTION]

I confirmed that SetupWizard v225 as from 7.1 is a specific version for Google Pixel phones. It contains initial animation with an image of the phone. SetupWizard v224 is the more generic version for Nexus phones and the rest of the AOSP derivatives. Hence, SetupWizard v225 uses more resources, and for 1GB RAM phone, the AOSP default phone-xhdpi-1024-dalvik-heap config would not work. For 2GB RAM phone, AOSP default phone-xhdpi-2048-dalvik-heap works fine. That's explains why [MENTION=4810659]ze7zez[/MENTION] Nexus 4 doesn't have any issue with OpenGApps 7.1.

1GB phone requires the following changes to be able to run the new SetupWizard specific to Pixel.

dalvik.vm.heapgrowthlimit=144m
dalvik.vm.heapsize=384m

I am interested to see if Google will release a more generic version of SetupWizard when Nougat-7.1 is finally available to Nexus line of phones.
[LG Optimus 4X HD] Deltadroid:
I wonder if v225 provides any extra functionality than v224, besides the initial animation.

I think the Nexus 6 is the only 32bit Nexus device left that should still officially get Android 7.1 from Google. Although, the Nexus 6 factory image requires deodexing, unlike the pixel factory image, and the current deodex toolsets have issues at the moment. It is better to not have to use a factory image that requires deodexing because the end results are not the same as the original dex file.

If we omitted the installation of Google's setupwizard all together for devices with 1G RAM, the only functionality that would be missing is the ability to automatically restore play store apps upon initial installation.

I have also noticed that there are reports of several devices that are not being prompted to automatically restore Google play apps upon initial set-up when using v225.
[LG Optimus 4X HD] csk1jw:
New build 20161117

New build is up.

You can now use OpenGApps 7.1 AS-IS. No more hacks for OpenGApps installation.
[LG Optimus 4X HD] Salman Al-Badgail:
Thanks, what about camera (video recording) it shows color lines on screen while recording in low quality.
[LG Optimus 4X HD] csk1jw:
Use 720p or higher for rear camera. 480p is OK for front camera.
[LG Optimus 4X HD] kessaras:
aroma gapps installer error 20, now downloading banks to test
[LG Optimus 4X HD] Salman Al-Badgail:
Try stock or mini, banks was working previously when it was having problems with setup and for now also it will work.
[LG Optimus 4X HD] irmaj:
If You on TWRP, after installing ROM go to TWRP Reboot menu, and Reboot to recovery. Then install gapps etc.
[LG Optimus 4X HD] kessaras:
yea figured that out just a few minutes ago :D thank you. downloading stock

that doesn't work. it was the first thing i thought too.
[LG Optimus 4X HD] ze7zez:
How then explain to the open_gapps-arm-7.1-pico-20161111.zip

working properly

on Android 7.1 on the device with 768 MB of RAM?

Is the action may decide smaller screen resolution for the HTC Sensation?
[LG Optimus 4X HD] Salman Al-Badgail:
[MENTION=5461026]kessaras[/MENTION] did you try open ??? any updates on that ???
[LG Optimus 4X HD] csk1jw:
Error 20 means the OpenGApps version was incorrect for the ROM. You cannot use 7.0 OpenGApps on 7.1 ROM unless you hacked the installer.sh script. Obviously, you didn't.
[LG Optimus 4X HD] kessaras:
yeap :) i made my own gapps with pico plus those mentioned in the op that are necessary, so its all great. in a few ill post some pics ;)

the only problem of the rom is a little lag, but this is cause of the cpus going online and immidiately offline all the time. if it had a better hotplug plan it'd work like a charm

---------- Post added at 22:51 ---------- Previous post was at 22:49 ----------

nop. and it was my 1st time see error 20. this happened with all gapps to me and after reboot it flashes fine.

only aroma installer after reboot keeps saying error 20, but thats not a problem since i made my own gapps package

~~~

**EDIT:

It took me some time, because i was trying to make my own gapps to get a clean flash + when i'll do the updates later to avoid debloating.

So now here is the result. And its permanent, until xposed comes to sdk25 and i start modifying everything :D

Full Dark MoltenMotherboard Nougat
[LG Optimus 4X HD] kessaras:
hi again. is it possible to add faux123 and show-p1984 cpu hotplug plans ? it would make the phone run a lot lot smoother.

The default hotplug plan if we watch it carefully, it sents the cpus offline immidiatelly and creates a very small lag.
[LG Optimus 4X HD] sourly64:
Hi!

I try build from 17.11 but after the necessary wipes,it stuck by installtion.Wait more than a half hour :confused:So iam on TWRP 3.0.2.0.

So i think the zipfile is wrong and downloaded again ,same solution :confused:

Reboot recovery many times, no success.Going back to N7.0 that works fine :good:

Any ideal?

Regards
[LG Optimus 4X HD] masmoe:
Latest build + Delradroid Gapps + Webview

Stuck on setup wizard. Not yet try the Open Gapps.

Currently running without Gapps, ROM run good and smooth, but MTP host always FC.

I will try Open Gapps later.
[LG Optimus 4X HD] Salman Al-Badgail:
MTP FC can be removed by pressing back button and you will be entered in INT/EXT-SD menu, This can be ignored not a big issue.

[MENTION=6324790]sourly64[/MENTION] give a shot with cwm, I got problem with twrp so I changed my recovery, Hope this might help you.

[MENTION=5461026]kessaras[/MENTION] please provide link for xposed, I want to change my notification color, its look awesome.

Thanks
[LG Optimus 4X HD] kessaras:
xposed doesn't support sdk25 yet. its substratum.

Vivid quick settings

Statusbars
[LG Optimus 4X HD] Salman Al-Badgail:
Thanks Man, ;) I will try and let you know asap
[LG Optimus 4X HD] masmoe:
Latest build + OpenGapps pico + webview..

No problem during flash and setup. ROm runing smooth so far.

Which SuperSU version are working for Nougat?
[LG Optimus 4X HD] Salman Al-Badgail:
Check here and download from attachment	SuperSU-v2.78.zip

Special Thanks to [MENTION=7008914]Phil_Smith[/MENTION]
[LG Optimus 4X HD] Phil_Smith:
Running the new build (20161117) and it is very fluid and pretty stable so far. Only some app crashes from time to time, but not a big deal.

For me it seems that the overall speed is increased over and over in any new build by [MENTION=5799877]csk1jw[/MENTION], which compensates completely for the crashes!

Turn off animations in developer settings, if you don't want them anyway, to even increase that.

Installation is now possible with Modular base package and Webview for a completely minimalistic Gapps configuration (you can use the Play Store for the rest when needed!).

The battery life has gotten way better for me since the first build, and the doze mode seems to work very well without any extra app.

Adaway now can be used without any cmd hack.

And..... I finally found out what causes these sound hangings and distortions when playing music while entering or leaving the lock screen (don't know if many of you had this, but I had it on every single ROM and it drove me mad!) - It's NFC! As soon as I disable NFC everything is fine and I could prove this for myself several times by reproducing the error and solving it again immediately by turning the option off.

NFC seems to work strange anyway, since once turned off, it cannot be turned on again (I don't care as I don't use it and it only messes up my sound^^, but maybe someone does...).

Overall great build and thanks a lot to the keeper of our p880 - [MENTION=5799877]csk1jw[/MENTION] ! :)
[LG Optimus 4X HD] Salman Al-Badgail:
[MENTION=7008914]Phil_Smith[/MENTION] nfc is working fine here. Anyway glad to see you're on 7.1 latest build. Enjoy

Also can you please send me your storage picture from settings it shows me Internal Shared Storage 14.56 GB and System 2.30 GB can anyone confirm this, previously it was not showing any system storage in 7.0 build October. All it was showing was 12GB only as INT-Storage (I want to know for info only) Thanks
[LG Optimus 4X HD] Salman Al-Badgail:
[MENTION=7008914]Phil_Smith[/MENTION] try ShareIT apk and tell me, I am unable to transfer file, could you please let me know if you have the same problem
[LG Optimus 4X HD] Phil_Smith:
Completely confirmed.

Gesendet von meinem LG-P880 mit Tapatalk
[LG Optimus 4X HD] Phil_Smith:
Don't have the time right now, but I'll try that out tomorrow!
[LG Optimus 4X HD] sourly64:
Change Recovery from TWRP 3.0.2.0 to CWM 6.0.4.5

Can install Rom,Basegapps 7.1,webview 01.11 and finally Super Su 2.78

Reboot to System and get setupwizard Crash by searching for WLAN and Mobildata connection. With the option to retry :eek:WLAN seems Ok, but with Mobildata it stopps and the Crash Messages is coming up. At this point ,i cant going on

Any Tipps :confused:

Regards

Update!!!!!

After a few attemps, i get the message to go on without network connection and get success :good: Can go to Play Store and also Super Su is working ;)

Rom seems very fast and smooth :good:

Thanks for developering :fingers-crossed:

Is possible for the further to get function for barcode using:rolleyes:,for me this is important
[LG Optimus 4X HD] Salman Al-Badgail:
Thats strange, try open gapps mini or stock and update. Still having problem use banksgapps
[LG Optimus 4X HD] Phil_Smith:
I don't have any problems sending or receiving files with shareIT.

---------- Post added at 01:50 PM ---------- Previous post was at 01:46 PM ----------

This is not necessary anymore. I'm doing fine using TWRP with the 7.1.0 build.

I had this problem too with Modular. But one or two restarts and everything works, so no big problem.
[LG Optimus 4X HD] Salman Al-Badgail:
Thanks for updating me, For now I will be testing it with TWRP Open Gapps either with Mini or stock
[LG Optimus 4X HD] FaySmash:
just read the op... -.- it's not possible to get this feature working with grouper blobs! just use an app to scan the qr code after you took a photo of it..
[LG Optimus 4X HD] Phil_Smith:
Can someone recommend some themes and designs app?

Gesendet von meinem LG-P880 mit Tapatalk
[LG Optimus 4X HD] Salman Al-Badgail:
Pixel launcher, Google wallpapers and Pixel Icons. Its good.
[LG Optimus 4X HD] ViperUSSR:
By the way, not who do not have problems with the use of Wi-Fi 5 Ghz Only ? :confused:
[LG Optimus 4X HD] kessaras:
substratum

quicksettings

navbar

status bar

free dark theme but

** don't theme the ui or you will get bootloop, it doesn't support nougat 7.1 yet

dark theme complete,paid
[LG Optimus 4X HD] Deena Khanam:
[MENTION=5799877]csk1jw[/MENTION] please recommend gapps stock or mini??? [MENTION=7114291]Salman Al-Badgail[/MENTION] please let me know launcher and assistance forum, Thanks
[LG Optimus 4X HD] Phil_Smith:
Thanks, like those a lot! :)
[LG Optimus 4X HD] masmoe:
I use Open Gapos Pico + Detadroid webview.

No problem during installation and operational.
[LG Optimus 4X HD] Deena Khanam:
Thanks Mate :)
[LG Optimus 4X HD] Phil_Smith:
Does someone have the latest twrp as a flashable zip file?
[LG Optimus 4X HD] Deena Khanam:
[MENTION=7008914]Phil_Smith[/MENTION]

Currently No .zip are found. Check below

Link XDA : HERE

Official Link : HERE.

Hope this help you, Thanks [MENTION=7114291]Salman Al-Badgail[/MENTION] due to some problem he was unable to post in thread, However he asked me to do.
[LG Optimus 4X HD] Salman Al-Badgail:
[MENTION=7211874]Deena Khanam[/MENTION] appreciate for your help, :) [MENTION=7008914]Phil_Smith[/MENTION], If you want I can attach .img here please let me know
[LG Optimus 4X HD] kessaras:
i will extract it from my phone in a minute

**here it is. i will make it flashable through adb tomorrow cause i have to go to work in 1 hour
[LG Optimus 4X HD] Phil_Smith:
Great, thanks.

Could you briefly describe the steps to change a *.img into a *.zip?

I tried a couple of times, flashing says that it succeeded, but when I reboot to recovery, the old recovery is still running.

Therefore I must be doing something wrong...
[LG Optimus 4X HD] kessaras:
Use the old recovery to flash the new one then. Press install, press then on the Images… button on the bottom-right of the screen, find the image and install it. I'll explain the rest tomorrow when I'll be at home
[LG Optimus 4X HD] Salman Al-Badgail:
TWRP 3.0.2-0-p880.img TOUCH

Put first the attached Latest TWRP recovery image to the root directory of your internal storage. (Just copy paste to internal storage, I don't recommend you to make any folder and put-in and lastly rename the recovery to your own choice, Remember the name and replace the recovery name with your name in Emulator) Give any name (recoveryname.img)

Also install Android Terminal Emulator from the attachment and follow the below code.

Open apk and type below code and

su
cat /sdcard/recoveryname.img > /dev/block/mmcblk0p1

Follow the code properly (space / etc)

Now reboot in recovery and you are good to go, Hope this help you [MENTION=7008914]Phil_Smith[/MENTION]

Thanks to [MENTION=5461026]kessaras[/MENTION] for helping out PHIL.

Special thanks to [MENTION=5054038]gordon0001[/MENTION] for guiding me. You can find this thread HERE

For now I am using latest twrp touch recovery.

THIS ABOVE CODE CAN BE USED FOR INSTALLING ANY RECOVERY (CWM, TWRP and PHILZ). This code can be used for replacing any stock or custom recovery.
[LG Optimus 4X HD] kessaras:
Salmans' way is the best here. there is no way to fail if you directly paste the .img in its folder. Forget the .zip , my mistake. recovery is only flashed through fastboot or inside recovery, the zip will fail because recovery must be placed in /system inside the .zip but must be flashed outside /system. So it not possible using the zip way. Did you do it, everything is ok ?
[LG Optimus 4X HD] Phil_Smith:
I'm okay, thanks guys :)
[LG Optimus 4X HD] Salman Al-Badgail:
For me it has worked, which I had mentioned above in my post #327

I am on TWRP, if you want i can add screenshots [MENTION=7008914]Phil_Smith[/MENTION] glad to see that, please remember the code ;)
[LG Optimus 4X HD] derders:
I have added the attached twrp-3.0.2-0-p880.img to my older flashable recovery zip that I used long time for TWRP on P880.

Have no P880 here at the moment to confirm that it works with this 3.0.2 but found it on my drive and changed it for you.

Just rename newer TWRP files to recovery.img and drop it to the zip-file...do not extract and rezip. drop and replace .img file in it.
[LG Optimus 4X HD] Salman Al-Badgail:
UPDATE :

I Installed latest TWRP and now the problem is I backup everything to ext-sd and when I try to restore it, It says read only -Error

Anyone up for helping me,
[LG Optimus 4X HD] AndreaFar:
Do you have the link of latest Super Su 2.78 as flashable zip file?
[LG Optimus 4X HD] Phil_Smith:
You did recognize the message at the very start of booting into recovery, where you would have to swipe to allow modifications and not keep the "read only" setting?
[LG Optimus 4X HD] Salman Al-Badgail:
check attachment
[LG Optimus 4X HD] Phil_Smith:
I attached two screenshots.

I assume you don't see the menu where you can "swipe to allow modifications", so maybe you need to uncheck "mount system partition read-only" under 'mount'.
[LG Optimus 4X HD] zikomik:
Which is the best rom for performance and battery? AOSP Nougat 7.1.0, CM-13 Unofficial, AOSP Marshmallow 6.0.1 , AOSP Lollipop 5.1.1, or Kitkat?
[LG Optimus 4X HD] asgz:
Best rom was kit kat for P-880, I suggest yo to flash Cyanogenmod.
[LG Optimus 4X HD] Salman Al-Badgail:
Best ROM in what sense??:confused:
[LG Optimus 4X HD] zikomik:
for best performance
[LG Optimus 4X HD] Salman Al-Badgail:
Better stay on 4.0.3 ICS stock and get rooted or Try even AOSP 6 and 7.0 (OCT BUILD) and 7.1 (Latest build). Every ROM is good and fast. Some ROM are up with many features some are not, It is you, you need to decide, It Totally depends on your usage. However my personal suggestion is try AOSP 7.1 (less crash but on other hand your on latest build). I am up with 7.0 for more than 1 month and for now I am on 7.1 :)

Thanks to CSK1JW :)
[LG Optimus 4X HD] KSH2014:
Has anyone tried offline GPS (Device Only-without Agps) with this rom? Is it good?
[LG Optimus 4X HD] oF2pks:
[MENTION=5799877]csk1jw[/MENTION] , due to KSH2014 description, don't you think [MENTION=3081601]alfsamsung[/MENTION] patch looks a bit more reliable :

https://github.com/alfsamsung/andro...otloop-when-using-old-gps.tegra.so-blob.patch

Thx for advice.

(Nota : F-droid' FasterGPS should also help for device only pre-localisation; and Settings/AboutPhone/Baseband should point on kdz_Id/year instead of firmware number)

BTW : can some give info on sot evolution for aosp5/6/7,

and are you able to "visualize" JIT/AOT benefits/behaviour in aosp7 per app?

https://source.android.com/devices/tech/dalvik/jit-compiler.html
[LG Optimus 4X HD] kessaras:
is there any way we can get a custom kernel working on this rom ?

we have a few from werewolf, adam, iodak, morta... anyone can port it working for cm14.1 or show me how to do it ? i tried once get the repo , but then i got lost i didn't know what to do.

I have basic script, c++, pascal , html, java , xml , and more knowledge , but i've never created something for android. The best i created was a website.
[LG Optimus 4X HD] oF2pks:
Following [MENTION=5799877]csk1jw[/MENTION] past explanations you need 3 adaptations: doze+boot/load-compression+...JIT/AOT

So it gives us a single good choice : https://github.com/alfsamsung/LG_X3...arm/configs/cyanogenmod_x3-light-MM_defconfig (uber toolchain ?)

Due to [MENTION=5799877]csk1jw[/MENTION] success/logs on aosp7' native source, IMHO, this discussion should move to [MENTION=3081601]alfsamsung[/MENTION] cm13/thread (? & check also my recent post on building CM&kernel); so you could focus here on kernel/logs for a better standard kernel towards aosp7.1/sdk25 (and cm14).

I'm still wondering what the best generic GPS fix between almost similar [MENTION=5799877]csk1jw[/MENTION] & [MENTION=3081601]alfsamsung[/MENTION] patches, can some help?

Thx.

with same vendor/ gps.tegra.so

//hack for old gps blob.Don't set native_set_agps_server during boot.

private boolean mFirstBoot = false;

...

if (mFirstBoot && mSuplServerHost != null

&& mSuplServerPort > TCP_MIN_PORT

&& mSuplServerPort <= TCP_MAX_PORT

&& !mLegacyGpsHAL) {

native_set_agps_server(AGPS_TYPE_SUPL, mSuplServerHost, mSuplServerPort);

}

mFirstBoot = true;
[LG Optimus 4X HD] csk1jw:
New build 20161207

New build is up.

OpenGApps 7.1 now uses SetupWizard v224 the generic version, so I reverted the change in last build to deal with the dalvik vm heap issue. It is now back to AOSP standard settings.

The kernel was updated with several 2016 CVEs. The most critical and notorious one is the Dirty COW vulnerability. The changlog list may not the complete. Refer to attached patch in 2nd post.

I usually picked the easy ones from Android Security bulletin for kernel CVEs. If anyone has a way to find out which CVE is missing, then feel free to let me know. I will review the upstream patch or Google's patch to implement it.
[LG Optimus 4X HD] b886b:
[MENTION=5799877]csk1jw[/MENTION], I am still using your latest MM rom and I have encounter some slow downs during browsing (which I believe is the slow I/O that leads to that). While browsing through Nexus 7 forum, I saw something called parrotmod which seems to have unleash the power of OEM Nexus 7 by speeding up the I/O. Is that plausible that this device can benefit from a mod similar to that as well?

And again we really do appreciate your hard work, never ever thought that this device will be able to run 7.1.1.
[LG Optimus 4X HD] oF2pks:
1000xThks for post 2; so ..., your past patch-git.fsync.diff is included in 0003-kernel-Misc-Android-M-updates.patch, BUT is your patch-git.cve-2015-1805.diff, from aosp6 (/pipe.c)

*

7

x-x

romX-Xmas

|​

Please, an aosp7 device tree would be an awesome gift to your fans for 26thDec...

Also any suggestion on rom/gps (versus [MENTION=3081601]alfsamsung[/MENTION] with same vendor/ gps.tegra.so) light patch ?

Nota ?: a good Santa Claus always have a good pipe and >666 thx