yashsingh1/xdaforums huggingface dataset:
[LG Optimus 4X HD] oF2pks:
moved back to cm11-KitKat (@Adam77Root) vendors and HEX-edited libnvos.​

source = p880DEV/aosp6 kernel + originalLG vendors + [MENTION=3081601]alfsamsung[/MENTION]patches + mourta widevine

cons: blurred video thumbnails & QR&barcode not working due to CM11vendors.

[SIZE="1"]<manifest>
<remote name="bitbucket"
fetch="https://bitbucket.org/" />
<project name="LineageOS/android_external_busybox" path="external/busybox" remote="github" revision="cm-14.1" />
<project name="LineageOS/android_external_stlport" path="external/stlport" remote="github" revision="cm-13.0" />
<project name="lenzwagner/android_device_lge_p880" path="device/lge/p880" remote="github" revision="marshmallow" />
<project name="oF2pks/cmp880devkernel" path="kernel/lge/x3" remote="bitbucket" revision="Los13" />
<project name="oF2pks/proprietary_vendor_widevine" path="vendor/widevine" remote="bitbucket" revision="Vanir-N" />
<project path="vendor/lge" name="lenzwagner/proprietary_vendor_lge" revision="marshmallow" />
<remove-project name="LineageOS/android_packages_apps_CMUpdater" />
<remove-project name="LineageOS/android_packages_apps_Gello" />
</manifest>
[/SIZE]

Rom features:

-ScreenRecorder

-Xposed-able https://xdaforums.com/showthread.php?t=3034811 (checked , GravityBox, InstallerOpt )

-kexec-ed (MultiROM)

-ButtonBacklight

-Widevine L3 (drm broadcast)

-WakelockBlocker

-AlarmBlocker

-f2fs Ver1.6 (wip)

-Reboot to Recovery

-(NO more keyboard BugFix & NoOverlayWarning & WebView & CM12audioFX-music.zip needed)

-MicroG-ified

-Bromite latest webView v76 with ad-blocking

Installation : wipe and flash in order

a)

ROM https://androidfilehost.com/?fid=4349826312261650905

z)Xposed

z)Gapps ( or PlaystoreONLY and Google CalendarSync addon)

z)SuperSU & reboot =>2x auto-boot

Nota: MicroG & CalendarSync need specific in-built permissions to be granted.

Recommended app : SuperSu attached 2.82 twrp/zip + app install), Deltadroid's GApps, Greenify, BetterBatteryStat;

Kernel (cm/aosp7): take time to check with Kernel Adiutor(0.9.9.4 attached post#3), that swap meet you desires, disable KSM + rise dirty_writeback&expire for better battery

echo "0" > /sys/kernel/mm/ksm/run;

sysctl -w vm.dirty_writeback_centisecs=2000;

sysctl -w vm.dirty_expire_centisecs=1000;

sysctl -w vm.vfs_cache_pressure=50;

sysctl -w vm.swappiness=50;

GPL* aosp7 SELinux permissive

-check attached image from @ csk1jw 's aosp7-2016-12-07 post#2

-multirom : http://xdaforums.com/showpost.php?p=67882937&postcount=21

-livedisplay/bandwith : http://xdaforums.com/showpost.php?p=68213357&postcount=670

-perl/timeconst : http://review.cyanogenmod.org/#/c/104105/

Kernel GPL
[LG Optimus 4X HD] oF2pks:
microG compatible PlaystoreONLY (including Google ContactsSyncAdapter), to flash simultaneously with rom : https://www.androidfilehost.com/?fid=889764386195912422 ; once rebooted it will auto-update to latest version and survive OTA (thx @Deltadroid ); same for GoogleCalendarSyncAdapter.

Bromite latest webView v76 with ad-blocking, upgradable via F-Droid repo https://fdroid.bromite.org/fdroid/repo (Bromite 76 returns a 74/SamsungS9 webclient https://github.com/bromite/bromite/issues/156#issuecomment-445449741: Mozilla/5.0 [Linux; Android 8.0.0; SM-G960F] AppleWebKit/537.36 [KHTML, like Gecko] Chrome/74.0.3729.157 Mobile Safari/537.36); if v76 seems too selective, upgrade to latest Bromite without ad-blocking (v78).

Otherwise switch to official com.google.android.webview via regular install + 1 reboot.

Latest custom MicroG edition can be found here : https://xdaforums.com/project-trebl...arm64aosp-9-0-0r21-microg-ufofficial-t3878115
[LG Optimus 4X HD] oF2pks:
News

With LineageOS 13 you can :

-answer phone call straight with home button, whatever busy is android M

-launch Camera on sleeping phone with 2x power button

-flash LineageOS' addonsu https://download.lineageos.org/extras

-manage Doze settings directly: https://xdaforums.com/android/apps-games/root-doze-settings-editor-android-t3235130

-lightweight p880 with SuperSu Recently

...
[LG Optimus 4X HD] Salman Al-Badgail:
Video Calling ??? Any update???
[LG Optimus 4X HD] oF2pks:
You tell me... Best will be to track Euphoria 5 to understand it: I tried once but didn't see any thing related; vendor in los13 are same origin (alfsamsung) than Euphoria 5 but they are hacked to fit Marshmallow new policies : http://dmitry.gr/index.php?r=06. Thoughts&proj=04. Android M on Grouper

To get all things better we could move to further modif like https://github.com/Unlegacy-Android/proprietary_vendor_nvidia/commits/aosp-6.0/grouper
[LG Optimus 4X HD] b886b:
I am kinda confused, is this ROM has aosp6 kernel or the newest in aosp7?
[LG Optimus 4X HD] oF2pks:
New build CVE-2017 June

New build : CVE-2017 June https://www.androidfilehost.com/?fid=817550096634778703

With [MENTION=5227588]Deltadroid[/MENTION] packages : no need to reflash Webview\Gapps\CalendarSync on upgrade, only [Rom+CM12audioFX-music.zip(+Xposed+su)].

Kernel aosp7 2016-12-07

GPL* aosp7 SELinux permissive

-check attached image from @ csk1jw 's aosp7-2016-12-07 post#2

-multirom : http://xdaforums.com/showpost.php?p=67882937&postcount=21

-livedisplay/bandwith : http://xdaforums.com/showpost.php?p=68213357&postcount=670

-perl/timeconst : http://review.cyanogenmod.org/#/c/104105/
[LG Optimus 4X HD] ulpauczu:
Thanks for the work she still invests into this device
[LG Optimus 4X HD] Izzysoft:
Just to make sure I've read this right:

microG is already built-in?

It's MultiROM compatible, but MultiROM is not a requirement? (I rarely boot, so for me MultiROM would be overkill – no need keeping everything twice)

NO GApps are built-in (so one can keep it Google-free)?

As it's LOS based, no Superuser capabilities are built-in (but must be flashed afterwards if wanted)?

If I'm right with that, anyone tried it with Magisk? I'm considering to switch from "hard SU" to systemless root with Magisk (and what better time to do so then with a fresh install?), but if someone has experience with that (especially on this ROM), feedback would be very welcome!
[LG Optimus 4X HD] ze7zez:
For me it's complicated.

You recommend the supers 2.79, and give the link that directs to version 2.82. :confused:

Did you mean recommendation supersu stable?
[LG Optimus 4X HD] oF2pks:
Stable 2.78 works fine on both primary and secondary rom, I'm not 100% sure but 2.8x focus on N and O new security stuff, so I didn't try them

already

, but some beta can bootloop on secondary install; anyway, once flashed, you can still upgrade app 2.7x live to latest and reboot.

Also you can patch LOS with su addons https://download.lineageos.org/extras .

( [MENTION=7288970]svv3000[/MENTION] , Post #2 updated with minimal PlaystoreONLY.zip for microG + paid app.)
[LG Optimus 4X HD] svv3000:
Thanks, [MENTION=7489364]oF2pks[/MENTION]! PlaystoreONLY is not necessary. I have tried a X-los13-201706-ufoHYBRID-p880.zip and fully satisfied. Many thanks for you one more time!

SuperSU 2.82 works fine and stable, by the way, on this ROM.

MicroG + patched Playstore also work. I had a some troubles with authorization in Google services (as result, MapsAPI was dead too). After success with authorization I had a problem with access to the Playstore content (and maps). But, a little bit of shamanistic dances with a tambourine... and all is fine.

GPS is OK. Camera (photo and video) is OK. Calls (except video calls - haven't try) is very good, but a small delay with the output to the screen is present. No freeze and reboot. Very good battery using (0.5-0.8% per hour with my very old battery, when I don't touch a phone)! Time to time a slight lethargy is happened, especially when using one of number opened apps and receive an incoming call.

But, in total - it's best ROM for P880 of all tested (original, Euphoria, AOSP, CM...)
[LG Optimus 4X HD] oF2pks:
-(Google)CalendarSync needs Calendar permission (check also native Calendar & CalendarStorage permissions)

-Spoof package Signature in all permissions section needs: on for microG services app. (this is the buit-in secure Marvin ROM patch).

-Latest microG app 2.4.9x needs registration activated in microG_app/menu for official Playstore (?) and could needs one reboot.

SuperSU works fine and

always

has real better efficient security checks (thx Chainfire).

Warning: on all MM &N, if you have wifi extender on same general router, switching from extender wep, to general router wep won't allow you to come back to extender connection (infinite waiting). I checked that on both p880 & Asus_tf700 and I'm 99% sure it's not kernel (works ok with same kernel on L with both p880 & tf700, or other modern devices with MM or N), neither rom or device tree: probable missing vendor location normalization (check post#5), since MM new policy. Also audio/music is not as cleared than my latest cm12.1

The working trick is to use multirom: forget wifi router on MM &N, reboot to L KK or even lgJB and switch twice, then reboot to MM and open wifi extender wep.

Latest multirom : https://www.androidfilehost.com/?w=files&flid=146943
[LG Optimus 4X HD] svv3000:
One more question. I didn't find a "performance" option in "settings", like on CM13. And in statistics of BetterBattery I saw 1500 as maximum frequency of CPU. Is it possible to rise up a frequency to 1700 on this ROM and how (by system settings, not by App's)?
[LG Optimus 4X HD] Izzysoft:
As this wasn't answered yet: If I got that right, other than CM, LOS does NOT ship with any superuser built-in. So did anyone try the ROM with Magisk and MagiskSU? For one, that'd be a FOSS solution, and then there are several nice features it offers. So my thoughts were whether it would be worth a try when "starting from the scratch" anyway.

Thanks for updating the initial post! Could you include some details on the quoted line, maybe in the "spoiler section"? Especially for the microG part. Again: I understand correctly that "MicroG-ified" just refers to the signature patch, but one would need to install the framework separately? Must be so as otherwise one couldn't flash Gapps, I guess :p

And one more question: When you finally update the first post with the TWRP stuff you've planned for it (especially which TWRP version [link] you recommend), I'm still confused on the MultiROM part. I've never used that. So: Does your TWRP build already include MultiROM? If not, in which step must MultiROM [link] be flashed? And if I have your LP build running before I start the procedure on MM, can I then simply install this LOS build as second ROM, keeping LP as first?
[LG Optimus 4X HD] oF2pks:
(Sorry for delay: broken computer os)

No our aosp/cm kernel does not support, personally I even go for ondemand governor.

Everything can be set with KernelAdiutor or similar control/performance app.

I use microG+Playstore (Cal_sync)+embedded email and NO GoogleSearch or others; if you need Gmail.app, imho, it's better to use normal Gapp for battery and performance.

Concerning Multirom you can use latest

twrp for all flash operations : https://www.androidfilehost.com/?fid=529152257862714405

multirom.zip which patch first rom boot.img with menu selection (& all adb operations) https://www.androidfilehost.com/?fid=817550096634757304

All my kernels are kexeced https://en.wikipedia.org/wiki/Kexec

You can use Cyospak on top of aosp7 (but primary rom only) and get all your roms (KK L MM) on secondary or even use a boot.img only on primary . I usually use primary for rom testing because flashing via twrp is much faster on primary vs 2nd. Then when I need access to 2nd, I just flash multirom.zip ; once done you have 3 diff linux : twrp + multirom stand-by + rom (+all 2nd). It can be useful to keep secure f2fs/data (wip) on one rom only.

Try to flash rom with no more update on 2nd. I will update more explanation...
[LG Optimus 4X HD] svv3000:
Thanks for your reply. I think your opinion about customization of the performance (and others too) is correct. Of course, KernelAdiutor is quite convenient to use and will satisfy most of the needs in the configuration. Never had problems with using it.
[LG Optimus 4X HD] 4xhd noob:
hi guys, noob here

just installed the rom, and now ive lost root access and dunno how to boot to my recovery (twrp 3)

i used third party apps to boot to twrp but now they request for root access which i dont have

i dunno the key combination for accessing the recovery

so now i want my root access back and a way to access my recovery

thx so much guys really need ur help
[LG Optimus 4X HD] oF2pks:
Magisk is really useful for modern devices to provide SafetyNet : using it with Oneplus5, Google always fight to broke it every week (AndroidPay) and when you loose Magisk, you loose all your setups; thus, imho ,SuperSu provides a much stable &

secure

with old p880 regular/system. But you should try installing csk1jw's ('pure') AOSP as primary rom, without Gapps, and with Magisk + MicroGNanomod https://xdaforums.com/apps/magisk/module-nanomod-5-0-20170405-microg-t3584928

Then flash kexeced Cyospak to access Multirom with los13 & others as secondary. I didn't have much time, but I will try this soon; for now I have los13 on primary due to fastest flash time (vs 2nd slots).

Will update los13 on next August Cve upgrade.

Fist, if you were using SuperSu before, try easy install back SuperSu.apk only ( and check binaries).

Otherwise

-PowerOff : press [Volume Down & Power Button] until logo

or (check Developer Options)

-USB/adb : adb shell setup-recovery + adb reboot

BTW , reboot to recovery is included via AdvancedReboot option , (check Developer Options)

Coming with MM (& N), are dynamic permissions, and so is build MicroG: if you don't grant permission explicitly, security won't allow signature faking; and CalendarSync needs Calendar permission. I will post attached screenshot very soon.

Concerning Multirom, I will update the dedicated thread with more info, but the whole thing is open source (from the beginning) : https://github.com/Tasssadar/multirom/wiki/Introduction
[LG Optimus 4X HD] douardda:
I agree, this ROM is by far the best one for this old but (theorically at least) still capable device.

Thanks a lot oF2pks

David
[LG Optimus 4X HD] Mahdigh08:
i install CVE-2017 June everything works , video calling works perfect too , i used supersu 2.8.2 , i tested every Rom in XDA for my phone, but this one is something els, Thanks a lot
[LG Optimus 4X HD] Mahdigh08:
After using for 6 days, the time of Boot is so long ,after each restart it took around 10 minute to get boot , sometime it didnt get boot and stuck at lineage logo
[LG Optimus 4X HD] svv3000:
You may try to disable loading of unnecessary app's after startup (and other cases). For me, it's always very helpfull. Especially if you have a lot of installed app's on your device. I use for this option ES Task Manager (Startup Manager).

And you may freeze (or uninstall) an "system" app's/components, which you don't use or use alternative app's instead it. I do it with 'Link2SD'
[LG Optimus 4X HD] Mahdigh08:
great work but serious problem on Boot , i do everything but most of the time it cant boot even with this rom after restart screen goes green and cant get charged , i roll back to Beanstalk,
[LG Optimus 4X HD] KSH2014:
LineageOS for P880 ???? WOW!

There are two types of great developers, first type creates great achievements when the phone has high popularity. The second type never gives up. They make that device as recent as they can.

All P880 users around the world are lucky to have a developer like you for their phones. Thank you.

I'll try this one.
[LG Optimus 4X HD] Salman Al-Badgail:
[MENTION=7489364]oF2pks[/MENTION] are you still up with this project?
[LG Optimus 4X HD] oF2pks:
New build CVE-2017 August

New build CVE-2017 August : https://www.androidfilehost.com/?fid=817550096634797067

Take care with latest Webview : Playstore version from 60.x includes Firebase Analytics , use clean 59.x : https://www.androidfilehost.com/?fid=673368273298968606 or apk https://www.androidfilehost.com/?fid=961840155545592751

(Check post#1 for complete install.)

Yes, next build will come with a new core (ufo)feature : AlarmBlocker. Also I will test soon vendors like https://github.com/Unlegacy-Android/proprietary_vendor_nvidia/commits/aosp-6.0/grouper ; if it gets better, maybe I will give a try with Lineage Nougat, but it seems all 7.1.x have battery drain, whatever device., and no working xposed.
[LG Optimus 4X HD] 5n00p3r:
Currently I've running Euphoria on my P880, but it's not so satisfying as I hoped. Now I want to try this ROM, but I don't understand, what to wipe. In OP there is only "Installation : wipe and flash in order".

Where can I find, which Apps are included in Deltadroid's GAPPs like "Base"?

Thanks in advance
[LG Optimus 4X HD] oF2pks:
New build CVE-2017 September

New build CVE-2017 September : https://www.androidfilehost.com/?fid=889764386195931824

This build comes with

-NEW (ufo)feature : AlarmBlocker in Settings/DeveloperOption

-CVE September with BlueBorne patch

Look like, you needed Xposed NoOverlayWarning (?)

Time of boot is long indeed, and you gets better battery with Airplane Mode idle rather then power off.

If you need full Gapps with Gmail+Youtube+... , you'll have better rom with aosp7; this rom is build for privacy, battery and MicroG : https://xdaforums.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616
[LG Optimus 4X HD] 5n00p3r:
Thanks for your reply. But I wanted to know, what I Do need to wipe before/after installing this ROM. As a second I don't need full Gapps. Better a minimal one. The less unnecessary Apps running on the device, the better. :good::)
[LG Optimus 4X HD] oF2pks:
Like most roms, you need "regular" wipe 4: cache +Dalvik +sytem +data,; no need for any wipes after flash. If you use twrp Multirom to flash as second rom, no wipes are needed since 2nd slot is created "fresh".

In both cases, your personal files won't be erased by twrp.

At every Lineage13 update, Xposed +SuperSu +CM12audioFX-music.zip have to be flashed without any wipes.
[LG Optimus 4X HD] pesartom:
The link goes to cyospak7-2016 kernel, and ive tried 2 of your cyodak kernel. Non worked, i get a infinite loop of showing the lg logo and reboot after it.

---------- Post added at 07:28 PM ---------- Previous post was at 07:14 PM ----------

By the way, does iodak, cyodak work on roms newer than kk?

Those if tested, doesnt.

Has anyone done this and succeded?
[LG Optimus 4X HD] oF2pks:
Sorry for typo : cyospak indeed (right linked) ; I just checked it ok on latest csk1jw's aosp7, here are few tips for cyospak on primary (=regular recovery install):

- let aosp6/7 boot once with original kernel (, after first install or rom upgrade), before flashing cyospak

- flashing cyospak means new boot.img , and thus su/magisk (and multirom.zip) have to be flashed after this anykernel.

- no needs for wipe Dalvik or cache

- every rom update will erase boot.img, and thus cyospak has to be flashed again.

- my latest cm12/13 and Lineage13 are already including kexec-ed kernel

With latest twrpMR and Multirom , you can now multiboot 2nd without kexec-ed kernel on primary : https://xdaforums.com/showpost.php?p=70430544&postcount=2 ; but kexec-ed provides faster reboot with MultiROMMgr.apk or Multi-boot zip menu
[LG Optimus 4X HD] pesartom:
thanks, but my 2nd question wasnt answered,

can i flash iodak or cyodak on android 5 and up, im a gamer and cyopak does not have gpu oc.
[LG Optimus 4X HD] AndreaFar:
I don't know is something gone wrong during the flash but I have tried this ROM + Nano Gapps and is slow as the hell on my device, far more laggy than my previous Euphoria Lollipop + Nano Gapps and not suitable for daily use.

EDIT

Reinstalled formatting /system partition and now works better, seems wipe and factory reset isn't enough
[LG Optimus 4X HD] oF2pks:
New build CVE-2017 October

New build CVE-2017 October : https://androidfilehost.com/?fid=889964283620757053

NEW : Lineage 13 built includes

-Webview 52 ready (clean & static) https://github.com/LineageOS/android_external_chromium-webview/tree/cm-13.0/prebuilt

-Bugfix for No Overlay Warning

-embedded CM12audioFX-music.zip via /exxtra when rom.zip is flashed

-Lineage_updater.apk removed.

*BEFORE install : delete /system/addon.d/94-gapps-webview.sh ; otherwise you will have another dynamic Webview which will be (via Playstore) updated (60/61) with bloated Firebase Analytics https://xdaforums.com/showpost.php?p=73674791&postcount=204

*OR Wipe /system.

Nota: maybe Lineage13 will move soon to modern faster multi-tabs WebBrowser Jelly : https://xdaforums.com/showpost.php?p=74121376&postcount=204

For now, I strongly advise (for private data & accounts) to anticipate and leave "old" embedded Gello and move to best secure Ghostery browser https://play.google.com/store/apps/details?id=com.ghostery.android.ghostery&hl=en (which is also light, stable & "Analytics-less" comparing to top Firefox Focus...)

(Kernel GPL is fully provided here https://bitbucket.org/oF2pks/cmp880devkernel/commits/branch/Los13 )
[LG Optimus 4X HD] AndreaFar:
Is the new webview integrated? If no what is the zip file now?

Could I over-flash on the previous release or I'm forced to wipe everything?
[LG Optimus 4X HD] bluRNG:
Different model issue?

I have p880 model but after I try to install this zip, I get info that my phone is 3X and it cannot be installed.

>see error here<

Any idea what to do now? I can't seem to find ROM for 3X specifically...

Thanks.
[LG Optimus 4X HD] bluRNG:
Thank you for the quick response.

Do you have maybe estimation on date of delivery for the aforementioned next build? Just out of curiosity ;)
[LG Optimus 4X HD] oF2pks:
Nota : "old & classic" KernelAdiutor 0.9.9.4 is added to post#3 for better/simpler tweaks.

Need to finalize first kernel blueborne security fix : https://review.lineageos.org/#/c/192963

Lineage already patched KRACK safe on Los13; then, next is cve Nov.

Anyway, even with 'x3' added as an assert device, your cwm must really be outdated; for custom rom (>=KK) you need latest Cyanogen11 cwm6.0.5.1 ot twrp flashable (via your old cwm) zip: https://xdaforums.com/attachment.php?attachmentid=4069774&d=1489179175
[LG Optimus 4X HD] bluRNG:
I think i did something wrong... I'm getting this >error<

Can you give me some step by step for the step 2. Thanks!
[LG Optimus 4X HD] Salman Al-Badgail:
[MENTION=7489364]oF2pks[/MENTION] I want to try latest build from this version, Can you please tell me what are recommended apk(s)/Gapps? Also I want to know that can we expect LOS14 from you?
[LG Optimus 4X HD] oF2pks:
I recently uploaded two "classic" apk in post#3: KernelAdiutor and F-Droid that fit better with old p880, you should give a try to MicroG (via F-Droid repository) then add Playstore or Yalp store.... Otherwise use Deltadroid Gapps and CalendarSync (without additional Webview).

I already build Los14 for Oneplus5, but p880 needs specific patches to rom's core, that are incompatible with other usual devices, and Los14 is still in "weekly" stage. So when I'll move Oneplus5 to Los15, I will give a try to p880 patches on my local Los14 ("monthly" stage & cve): probably by February.

I did pm you with related threads for proper p880's bootloader & firmware.
[LG Optimus 4X HD] Mustafa Polat:
Can you share rom images with us? even if it is video
[LG Optimus 4X HD] boothroyd:
Encryption Working?

Hello,

Great ROM and thank you!

My apologies if this is a complete NOOB question, but does encryption work in this ROM?

I was running cyanogenmod 11 successfully with encryption.

I used TWRP to wipe the partitions, and then installed the following files with TWRP:

X-los13-201710-ufoHYBRID-p880-7105fa233f.zip

SR4-SuperSU-v2.82-SR4-20170918204844.zip

I have no need for gapps or xposed, but I do need encryption.

I have enabled a pin for screen lock, but when trying to activate encryption in security settings, it ran all night with no result.

Am I doing it wrong?

Thanks,

Boothroyd
[LG Optimus 4X HD] Mustafa Polat:
Uses or developers can illuminate us a little.

How's the speed? Do they get stuck?

How's the charging situation?

Is there a heating problem?

If I use Euphoria 5.1.1, will it be more efficient if I install it?