yashsingh1/xdaforums huggingface dataset:
[LG Optimus 4X HD] KSH2014:
There is a simple feature in CM11 which is crucial for me. Forced 2G and 3G network mode selection. I couldn't find this feature in this rom.

Is there any way (3.party app?) to make this possible?

Thanks in advance.
[LG Optimus 4X HD] derders:
Here you go :) Toggle Network Type 5.0
[LG Optimus 4X HD] oF2pks:
This option is included in /Settings/CellularNetworkSettings... Use top-level aimsicd.apk (Android IMSI-Catcher Detector) to countercheck your cell ids (and feed microG opencellDB).

Use twrp MultiROM to compare/multiboot (all!) roms' behaviors (

Nougat AOSP

works only on regular primary/internal).

I will update MultiROM thread today, with fresh new release including: Magisk support for 2nd slot-roms + auto-reboot ticked box on screen/zip_install + others fixes...

I remember you that if MultiROM & Magisk are fully open source (gpl3) , SuperSu 2.82 remains better performance/secure option for root (cm11/12 & los13). Also I advise moving off Xposed due to random reboots: https://www.reddit.com/r/LineageOS/...stion_about_the_new_sticky_since_its/dkh003b/
[LG Optimus 4X HD] derders:
it can be installed as secondary ROM if line 5 of file system.transfer.list has been deleted befor flashing ROM

"erase 14,66050,97792,131586,163328,197122,228864,262658,294400,301456,327168,328194,359936,360962,393216"
[LG Optimus 4X HD] Izzysoft:
I've finally flashed this ROM last Sunday (full wipe before, including format /system). Just 3 days later, it gets extremely laggy: 2-5s or more before there's a response to a touch, and an incoming phonecall doesn't turn the screen on before the caller hung up. If I worked in an app for about 5 minutes, it becomes "just laggy" (without "extreme") – i.e. touch-reaction in less than a second.

Any ideas what to look for and to change so it behaves normally?

The phone issue I remember from your CM12 ROM [MENTION=7489364]oF2pks[/MENTION], where we got it fixed in the end (and I was using it happily for about a year). Could it be something similar here? Am I the only one experiencing this? It's not that I "overloaded" my device with apps – I've installed maybe 10: Xposed with 4 modules incl. XPrivacy, microG with 2 modules (integrates fine thanks to signature spoofing), AdAway, Tasker, Plume and FeedR – that's it basically. SuperSU I've got from the mentioned link (2.82 as also already mentioned here). Did none of the "recommended settings adjustments" yet. When I check, RAM is never "fully filled up" (always around 700M). Didn't check CPU yet in this context (hard to do with that slow reaction); any command to show useful info on all 4 cores via ADB, and I'll do it.

Could check if "a reboot a day keeps the lagger away" – as this started only after an uptime beyond 36h. But I'd prefer not to boot too often, if it can be avoided ;)

PS: I've enabled the CPU overlay (developer settings). Got a shock: load is always above 1 (which is about 3 times as much as I see on my PC). When switching on the display, it's usually even over 5, sometimes over 7 (with the process list filling the entire screen) – and then "calms down" to ~1 within a few minutes (and the process list shrinking to about 1/3) – which is when apps become "almost responsive" again. Almost always amongst the top processes is the system_server. Does that ring a bell for someone?
[LG Optimus 4X HD] oF2pks:
This link could explains many...

This Los13 is already patched with MicroG, exactly like official Omnirom is: every MicroG feature should work without xposed module needed.

Lineage has powerful up-to-date SafetyGuard in board: long-press on apps (SafetyGuard menu) give all restrictions needed; adding an xposed module on it could bring serious incoherency.

(Removing xposed framework always needs wipe cache/dalvik)

I've never used Tasker( or similar: looks too much tricky "overloaded" behaviors for old tegra3).

I also recommend ondemand governor + AFWall & Recently.

For privacy/safety/efficiency I will probably swap old Gello to 'funky/smoothy' Jelly(Los signed) https://xdaforums.com/showpost.php?p=74121376&postcount=204 ; and thus, for your own private accounts, you should move to secure/fast/light Ghostery (no ads/analytics)to replace Gello ,while Jelly will be more useful for general browsing (multi frame webview). I remember you that webview is now embedded in Los13.

Like attached 'classic' apps in post#3 , these apps are free of ads/analytics ; [MENTION=3039128]Izzysoft[/MENTION] , I really enjoy https://apt.izzysoft.de/fdroid/index/info and hope you could bring some help for more info, so we could develop a floss (non commercial)(~2018) fdroid apk to perform https://public.addonsdetector.com/what-we-detect/ (Izzysoft)Library scan "APK files are also checked for libraries they are using. This is done locally, using LibRadar (plus some additions of mine). Findings are grouped into three categories". I'm pretty sure xda_primokorn will be interested.

Back to Los13, I didn't get your 'ps' on CPU overlay, and you should test back without Xposed stuff and Tasker. I will soon upload all device tree with alfsamsung patches in-used, up there https://bitbucket.org/oF2pks/cmp880devkernel/commits/branch/Los13

All suggestions and patch are WELCOME ; it would be more simple/powerful if csk1jw could release his own device tree (aosp7) and gpl2 obligatory compliance for kernel aosp6 & 7.
[LG Optimus 4X HD] Izzysoft:
Wow. It's the middle of the night, so I might just have a nice dream – but it seems like you've nailed it, [MENTION=7489364]oF2pks[/MENTION]: I've setup permissions with the built-in PrivacyGuard, disabled the XPrivacy module (only that one – the rest of Xposed I kept untouched), and did a reboot. While daydreaming, the load now is almost a constant 1.0 – while using the device it looks the same as before. BUT: While I already started thinking I'm in the age of glorifying the past, the device is really snappy again! Can't remember when I last had that "snappiness". Give me a few more days to be sure it's not just a short dream :D

Besides, PG is a bit confusing when walking through the "Advanced" tabs: on the Location tab it shows no location permissions for some apps that certainly have it; for many (system) apps it doesn't give any option to turn things on/off – and I strongly miss an option to deny access to identifiers. Apart from that, it's mostly "getting used to" – not more weird than XPrivacy at least.

Thanks for now, and I'll report back in a few days (ping me if not – but usually "not" means "no problems" :p)

PS: Shove the load average, that's simply bulls**t. Just ran "busybox top" via "adb shell" and pressed the "1" (number one) key: 3 cores idle, one going between 5 and 25% – perfectly normal.
[LG Optimus 4X HD] Izzysoft:
After 3 days smoothly running, I just wanted to confirm the issue solved – when at the very same moment the device again rebooted on its own. But nevertheless, the situation is heavily improved, and you even caught a second bird with the same stone: I cannot remember the day I returned home after 12h with still 80% battery charge left! Must have been ages ago (pre-Lollipop for sure). And a sudden reboot on the 3rd day is much to prefer to sudden freezes every day for sure :) For now, I count this sudden boot a "freak event" (unless it repeats regularly – in which case I'll report back); might still be another Xposed module (or the very same XPrivacy, as I've only disabled it but not yet uninstalled – which I will now do right away).

Summing up: Don't use XPrivacy on this ROM.

A few things left I want to ask you about, [MENTION=7489364]oF2pks[/MENTION]:

if it's possible, could you make "top" a symlink to "busybox" (currently: toybox) per default on future builds – or would that have side effects? The toybox "top" is horrible. Oh, speaking of busybox: the latest build is 2 versions ahead (1.24.2 vs. the installed 1.22.1). Not a big deal, just wanted to mention it ;)

it seems all apps requiring to write on "external storage" have trouble doing so, despite of having aquired the respective grants. I need the "Marshmallow SD Fix" Xposed module to make them work properly – otherwise YalpStore cannot store downloads, Titanium Backup reports "not enough space" on performing backups, and FolderSync failed syncs. If it's only me, and anyone suspects other causes: hints are welcome.

in the initial post you've listed in the ROM features "QR&barcode". As much as I've looked around, I couldn't see anything related – so you obviously didn't mean a specific app to be present. From an issue I had with your LP build (where barcode readers didn't seem to work) I assume you wanted to say that now they should?
[LG Optimus 4X HD] Izzysoft:
Update: Again day #3. So it runs nice and smooth for 3 days, and then it reboots on its own. After that, repeat. Well, much better than before, definitely. As it seems to be almost exactly 72h in between, I could connect logcat on Sunday to see what goes on at that very moment … Or on Wednesday, when having captured the exact time of the Sunday reboot. Strange still that I've always used the device when it happened …
[LG Optimus 4X HD] oF2pks:
0) That sudden reboot is a soft reboot and is my priority: will upload soon a new build with CVE_Nov. Webview60 + Jelly, with few attempts to fix that reboot (testing now). For now you should consider uninstalling Xposed framework (wipe Dalvik/cache) for accurate testing, but if rom doesn't soft reboot anymore, I will test Xposed again.

1)Toybox is modern Lineage's official; will have look to Los14/15' edition in late 2017.

2)Marshmallow SD Fix "WRITE_MEDIA_STORAGE" should already be patched since cm13 and included via global "WRITE_EXTERNAL_STORAGE" permission : check attached picture, Storage under MicroG dynamic permission (apps like Yalp are respectful and thus don't ask to grant it on install).

3) https://f-droid.org/packages/com.google.zxing.client.android/ QRcode + barcodes

Also remember you that LineageOS provides /Settings/Buttons/Home to straight call answers, to avoid freeze & miss answering, while "heavy" using your device.

Ondemand governor and 100M Zram are much than enough.

For interactive pie xda_LMT works perfect (instead of Xposed GravityBox pie). Thanks to AFWall, the only Xposed misses are InstallerOpt GreenifyExtra MediaScannerOptimizer.

For direct feeling, I always have /Settings/DeveloperOptions/Show_touches on.
[LG Optimus 4X HD] Izzysoft:
As I wrote, I also favor a "sudden reboot" all 3 days above a device going to freeze. If one isn't just using the device when it happens, both won't be much noticed – but with a reboot, the device is operational again a few minutes later while with a freeze it is not ;) Looking forward to that new build then (a "dirty flash" should be enough for updating, right?), fingers crossed!

Thanks! Nothing urgent with that symlink (one can always call "busybox top" explicitly), just a piece of convenience :D

I thought so, too – so imagine my confusion. And I was not the only one; a few more Yalp users reported that. For now, I'm working around that with the mentioned Xposed module – which is one reason I'm hesistant to disable Xposed altogether.

Yeah, I know that app :p OK, I count this as "your guess was right: it means on this ROM QR-Code apps do work". I'm well aware of other P880 ROMs where this is not the case, so a big thumbs-up!

That's what I've configured about a week ago. Strangely, pressing the "Home" button didn't accept any call whenever I tried – but at least brought up the screen so I was able to swipe to accept.

Thanks for the hints! I guess that's what you setup as defaults? And still my question remains: Did I miss any menu, or do I need an "external app" (like Kernel Adiutor) to adjust those settings if needed?

Hm. Looks like I have different needs at this point: InstallerOpt of course, MediaScannerOptimizer is fine – but I also need BackupAllApps (for those having opted out), the SD fix, and GravityBox. Speaking of which: If I use GB to increase the number of columns in QuickSettings, that doesn't work – but even seems to partly break QuickSettings. No such issues on my Wileyfox Swift running CyanogenOS 13.

Confuses me too much. Good for testing, but irritating in daily use :silly:
[LG Optimus 4X HD] KSH2014:
This is just what I need! Thank you! I'm testing this useful app right now.

Thanks for informing me about IMSI-Catcher Detector.

/Settings/CellularNetworkSettings only sets "preferred" network mode. It's not forcing 3G like CM11. This feature is VERY important for me when downloading non-resumable large file downloads.

Toggle Network Type 5.0 seems to be OK for now.

So far here is what I've tested.

(just info for anyone interested)

- MHL is producing black screen or static grain. (It's not working properly in any custom rom after CM10.1 anyway)

- I've encountered ROOT problems with some apps. Apparently, my ignorance of the CWM ROOT notification after ROM install was the culprit. If CWM is asking you to ROOT after ROM.zip installation say yes! Don't forget to enable Developer options and select root access "App only".

- FM Radio is working! (APP= Spirit FM Light v2014-12-04 (264) )

- I was using cm-11-20160815-NIGHTLY-p880 + WWJB_v010_anykernel-2014-12-24_1303 combination. Which produces a very fast and responsive rom but unfortunately, kernel is very old compared the rom and there is the annoying cold boot random bootloop problem. Other than that, this combination was the fastest for my daily use.

I've tried many ROMs out there and they always felt slow to me but this is different. This is faster than average custom roms. (I'm still testing.) Good job!

- Firefox

after

52.0.2 (last non-neon) became impossible to use for me with aforementioned CM11 setup. I was getting constant crashes. (Firefox v56) The same Firefox version is working perfectly with your Lineage OS.

(Firefox is very heavy on system resources. A few open tabs and you see 300 MB + ram usage ! )

I also think, ZRAM and swap is a must have for 1GB ram devices. Coupling it with a lightweight, bloat free, up-to date Linage OS is the smartest move one can make.

Thank you very much!

I have some questions too.

1- My current 64gb micro SD card is formatted with NTFS. Because CM11+WW10 kernel is buggy(random unmount) with exFAT. That leaves NTFS as my only option for windows compatibility and large file support.

What is your recommendation for micro SD file system for this rom? (with cluster size)

2- My next aim is to bring back status bar network indicators.( A must have! :cool: ) Are there any hidden options for this?

If not, I've found this guide. I'll try this one.

https://xdaforums.com/android/general/mod-status-bar-network-traffic-separate-t3024878
[LG Optimus 4X HD] ze7zez:
What are you writing?! :confused:

Of course, MHL works well in custom ROM CM11! In a good custom ROM.
[LG Optimus 4X HD] KSH2014:
By "properly" I mean landscape mode. In CM11 official, MHL is producing a 720x1280 resolution on the monitor and you can't change it to 1280x720.

Do you know any way to solve this?
[LG Optimus 4X HD] ze7zez:
A. This method is completely impractical, but it works.

1. In build.prop:

ro.sf.lcd_density=80

2. Reboot

3. In terminal:

su
wm size 1280x720

B. Ask OP because he knows the system's capabilities well.

C. Find your own method. Google is full of inspiration.
[LG Optimus 4X HD] KSH2014:
It has never been properly fixed. :(

Thanks for the info anyway. I'll try that one if I return to CM11.
[LG Optimus 4X HD] oF2pks:
CVE-2017 November

New build is up : https://androidfilehost.com/?fid=962021903579495759

-CVE2017 November

-Webview 60

For testing (random reboots) I made few 'moves' :

CONFIG_MM_OWNER=y

CONFIG_LSM_MMAP_MIN_ADDR=32768

removed: dalvik.vm.jit.codecachesize=0 which also now create multiple log's Warnings....

Zram void with zero, but you can still use any amount with KAdiutor (post#2)

I'm still looking to fix these random reboots (for info, "MALLOC_IMPL := dlmalloc" doesn't boot.)

For random reboots, android use "rolling" data/tombstones{0-10} for debug: check date of file, generally there are 2 heavy ones, but reading is quite technical...

name: InputDispatcher >>> system_server <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xffffffd8

Home button should work ( if not over-defined by GravityBox...)

IMHO Ghostery is a better all-in-one light browser free of analytics and ads (but not open source anymore); I didn't implement Jelly yet because of tricky/buggy refresh, but you can install it from here.

GravityBox/Xposed provides (pie and) status bar network indicators, but these indicators are heavy on battery whatever tool you use. Open source Network Log provides much more info and can be shut down when unneeded.
[LG Optimus 4X HD] pesartom:
Is there a chance we will get wireguard on our device?
[LG Optimus 4X HD] oF2pks:
Our kernel looks too old 3.1.10
[LG Optimus 4X HD] pesartom:
With this new android oreo go edition, is there a chance we will at last get android o?
[LG Optimus 4X HD] Yanguang:
Thank you for making this work.

This ROM is the only reason why I'm holding on to this battered device after two replacement batteries, a deformed metal strip requiring a pair of tweezers that's left from what used to be the power button and a half-peeled exterior (apart from being unable to afford a suitable replacement device that is).
[LG Optimus 4X HD] oF2pks:
New CVE January testing LineageOS13 built is out https://androidfilehost.com/?fid=818070582850491178

I could not find patch for randoms reboots, so I moved back to cm11-KitKat (@Adam77Root) vendors and HEX-edited libnvos.

You can flash over Los13Hybrid, but this rom needs Deltadroid Webview flash once again.

Actually Music/AudioFX is ok, but these features are broken:

- native Webview (flash Deltadroid's)

- QR/barcodes (Goggles)

- video thumbnails blurred (?!).

Since some have troubles to understand GPL mandatory or open-source advantages (or MicroG benefits ...), attached is complete changes (full repo snapshot). Feel free to ask any adds or advices to the rom, especially concerning the video_thumbnails blurred.

If you have time for testing, I will try this "base" soon for Los14, thanks.

EDIT: new CVE Feb. uploaded with included & working

Google

Webview 64.0.3282.137 (upgradable via Playstore & no Firebase analytics)
[LG Optimus 4X HD] ze7zez:
I tried different settings, but still at rest in airplane mode and without SIM I have a battery consumption of 4 to 30 %/h. :confused:
[LG Optimus 4X HD] svv3000:
The number of restarts and fading decreased. And it's wonderful!

What about QR codes? Is there any hope that it will work in the near future? This is one of the few, but very important (for me) differences from AOSP, the lack of which all the benefits of ROM to minimal.
[LG Optimus 4X HD] eekthecat:
Thanks for keep P880 alive!!!
[LG Optimus 4X HD] oF2pks:
JuneCVE uploaded https://androidfilehost.com/?fid=5862345805528051373

Also uploaded :

-µG 13.9.99_gms https://xdaforums.com/showpost.php?p=76769608&postcount=4754

-Mozilla Klar with GeckoView https://androidfilehost.com/?fid=11050483647474830201

-CarbonROM Quarks (Jelly & AdBlocker) https://xdaforums.com/showpost.php?p=77104173&postcount=299
[MENTION=3039128]Izzysoft[/MENTION] (maybe Quarks is eligible for F-droid(?)), rom is built with Busybox Full 1.22.1 (latest with android.mk support)
[LG Optimus 4X HD] b886b:
Wow, another update, thanks for your support, is the random reboot thingy solved?????
[LG Optimus 4X HD] KSH2014:
Excellent news!

Thanks for the June update.

@[MENTION=4453006]b886b[/MENTION]

On my latest tests with latest CM11 nightly, which is maybe the lightest of all P880 roms, It's impossible for me to use any internet browser without app crashes and random reboots.

I know the devs are against SWAP but, I tried a 1GB SWAP partition created on a fast exteral-sd. No third party apps. Fully automated with init.d

Now I can browse the internet with Firefox or Ghostery browser (thanks for the ghostery browser advice @[MENTION=7489364]oF2pks[/MENTION]). I can load up to 10 tabs! Once I tried loading 10 tabs on Firefox and 5 tabs on Ghostery. Swap usage went up to 500Mb.

On a normal session SWAP usage is around 100Mb.

I know SWAP is slow. IMHO losing the whole session is worse than using it a little slow.

I know SWAP may degrade the nand memory faster but it's replaceable external-sd. No problem for me.

I think for internet browsing, 1GB or larger SWAP partition on external-sd is the ultimate solution for this device. It's better than zram.

You can try it too and decide for yourself.

I will try this newest June LOS13 too.
[LG Optimus 4X HD] svv3000:
Thanks for new update! It's more faster.

BUT! Still problem with QR-codes!!!

Is it possible to be solved?

As for me, QR-code reading is necessary thing in phone.
[LG Optimus 4X HD] Izzysoft:
Sorry for the late reply, I somehow got no notification of the mention. Is this the repo it belongs to (and should be build from)? And is it completely source based (so no binary blobs)? Otherwise it won't be accepted by F-Droid (and lacking releases make it harder to detect updates, plus no APK so I cannot take it in my repo). Further, the linked thread says "discontinued" – if that's true I'm not sure if it makes much sense to introduce it to F-Droid.

BTW: Any progress on LOS14? Just being curious.
[LG Optimus 4X HD] oF2pks:
There is no

stable

kernel compatible with QRcode, or complete Nougat source. Thus I will end on Los13 for p880

CarbonROM is not discontinued , I posted in the unofficial "discontinued" Jelly thread because

- Quarks and Jelly are same origin (works on >MM)

- [MENTION=7302398]PixelChris95[/MENTION] pushed github links and others useful notes

For me CarbonROM is automated aosp based, free of ads & analytics, and always with stable releases: also includes µG patches, (f-droid)VanillaMusic and others. imho carbonrom has the best browser(quarks) and Gallery(2) ever released... [MENTION=3039128]Izzysoft[/MENTION] you can pm me on f-droid for more info, I checked https://gitlab.com/fdroid/rfp/issues but don't have enough time for active contribution now, and I need to get familiar with fdroid debian automation (I always use arch bbqlinux)
[LG Optimus 4X HD] Izzysoft:
[MENTION=7489364]oF2pks[/MENTION] You can ask me anytime if you have questions on F-Droid (I'm meanwhile "official contributor" there, my nick in the forum is Izzy; if you PM me there I'd give you other direct communication channels like mail, XMPP etc). As for Quarks, I just started opening an RFP when I noticed the repo doesn't mention any license. No way to get it going without that.

A pity. I just remembered you had plans. Well, every device has its EOL (my p880 slowly starts falling apart at the "borders", the lower side where the USB plug is is now already blank). Thanks for making it live that long! I plan to flash your latest ROM this weekend (guess a "dirty flash" should do: ROM, SU, Xposed – or would you recommend wiping anything? Didn't plan to reconfigure ;)
[LG Optimus 4X HD] svv3000:
Thank you [MENTION=7489364]oF2pks[/MENTION] for your response and work with P880. Six years is a long lifetime for the device. Apparently, it's time to leave it in our memory as a good memorial. "New miracles" are not suitable for old hard.
[LG Optimus 4X HD] oF2pks:
For cm11 give a try to Fennec : it has his own webview engine (Mozilla gecko), is secure and very fast.

Los13 is built with upgradable (via Playstore) webview 67 free of ads & analytics (no Firebase) and includes widevine L3 (for video broadcast)

I've many ideas for F-droid (maybe next winter), for oreo compatibility I remember these useful 2 just needs sdk rebased (will look at them soon and pm you the diff) :

https://github.com/GodsMoon/Flashify

https://github.com/miracle2k/android-autostarts

For µG I've uploaded a specific edition boosted to gms compatibility until 13.9.99 https://xdaforums.com/showpost.php?p=76769608&postcount=4754

If one can convince [MENTION=5799877]csk1jw[/MENTION] to release his kernel and device tree, we could get one more year on adapted Los14 with cve updates; all others nvidia T3 devices are on 3.4 kernel for Nougat...

https://bitbucket.org/oF2pks/cmp880devkernel/commits/branch/Los13