yashsingh1/xdaforums huggingface dataset:
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] messi2050:
LineageOS is a free, community built, aftermarket firmware distribution of Android 8, which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.

What's working :

RIL (Calls, SMS, Data)

Wi-Fi

Bluetooth

Video Playback

Audio

Sensors

GPS

FingerPrint

tap 2 wake

Known issues:

Volte

you tell me!

Follow Instructions Carefully otherwise you will get error :

Use this 64 bit twrp to flash http://www.mediafire.com/file/i1911qqxlx9v6sm/twrp-3.2-x64-ph2n.zip

Wipe cache, dalvic cache,system,data

Flash ROM-Flash Gapps [Arm64-8.1]

Done-Reboot Now

Enjoy the clean rom

Downloads :

https://www.mediafire.com/download/t9b8g097ihhu7b4

Credits:

Lineage Team

Please Consider donating if you appreciate my work

https://paypal.me/messi2050

Sources:

Device:

https://github.com/messi2050/android_device_lge_ph2n

https://github.com/messi2050/android_device_lge_msm8937-common

Kernel:

https://github.com/messi2050/android_kernel_lge_msm8937

XDA:DevDB Information

[ROM][64BIT][8.1] UNOFFICIAL LineageOS 15.1 for LG STYLO 2 PLUS, ROM for the LG Stylo 2 Plus

Contributors

messi2050

Source Code: https://github.com/LineageOS

ROM OS Version: 8.x Oreo

ROM Kernel: Linux 3.x

ROM Firmware Required: Nougat bootloader

Version Information

Status: Abandoned

Created 2018-05-03

Last Updated 2019-05-09
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] messi2050:
Reserved

2018-june-13 build changelog:

-June security patch

-Update power scripts from last caf

-Fix vendor mismatch error message

-enable dual wifi bands

-build using last sources
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] br0adband:
Thanks for the ROM, messi, it's greatly appreciated even if development stops cold after the post you just made. :)

And for those that might care, the MD5 of the archive is: 00dd56ee08963da05195915dd528d9b1
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] br0adband:
The headphone audio output on this ROM is rather weak, but that's not messi's fault, it's because of how Oreo is working on this device. There appears to be no mixer_paths.xml file in Oreo now, and I added the older mixer_paths.xml (with permissions 0644 as required) with the necessary adjustments to boost the audio output from the default of 84 to 92. It had zero effect so it seems the audio subsystem in Oreo is now working differently for whatever reason, not sure if there's a way to adjust the defaults at all. :(

Also, the kernel for this ROM appears to be defaults to just 6 core operation: I've installed the ROM twice now on my S2P and when I check the core activity with CPU-Z it always shows 2 little cores active, 2 offline (always), and all 4 big cores active. And of course the minimum CPU speeds are 960 for the little cores and 768 for the big cores - they should be (or at least I should say they could be set in the kernel parameters down to the minimum of 384 MHz and that would save a bit of battery life.

Overall it's been great so far, really, everything seems to work fine. The flashlight didn't work so I installed a flashlight app then suddenly the toggle started working so, there's something funky going on there but everything else so far has been great. Would be nice if there was a more customized kernel available, yes, with more governors and perhaps even some undervolting potential but I know this device just doesn't have much developer love at all.

Regardless, it's very cool to be able to run Oreo 8.1 now since I have never really given a damn about it at all previously. I may go back to running the stock T-Mobile 20a rooted ROM on my S2P however, it depends on how things work out.

:good:
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] messi2050:
Mixer is moved to vendor/etc in o
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] br0adband:
Geezus, I spent an hour looking for that information on multiple forums and websites and you're the first person to point out where it is, damn. :)

Thank you, thank you, thank you. Adjusted the default path name="headphones" from 75 to 90 and w00t, much much better now. :P
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] Kasimpasali1921:
I want to ask a question. This Custom ROM support the LG Stylus 2 Plus K520TR model?
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] br0adband:
There are two issues I've noticed, can't say they will, would, or do affect other people and I'm using the MetroPCS model with T-Mobile (I was using the T-Mobile stock ROM originally).

- the Mobile Hotspot does not function. It says it's working in the Settings submenu but the actual hotspot never does function, it never shows up as a visible AP for another device to connect to, the SSID is not broadcast, etc

- the USB options when you plug in a USB cable will not stick, I've got into the Developer Options and I have it set to always MTP and every single time I plug in I have to go manually change it from charging to MTP to get it working

They're not massively important things but for me the Mobile Hotspot could be useful for my Wife when we're out and about; her Flex 2 doesn't have cellular service so in the past she'd just tether to my Stylo but now that's not possible.

Not sure this can even be resolved given the nature of the usage but it would be nice to have those two nitpicks working properly. Aside from that this ROM so far has been spectacular: I'm getting 7+ hours of SOT at 50% brightness, with cellular and Wi-Fi enabled constantly, and using L Speed to handle background performance.

So far so good. ;)
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] rsuthers08:
I am getting a vendor ID error every time I restart the phone. T-Mobile version stylo. Clean install followed to a T. I also noticed some games aren't working either like they cannot community ate with the server mainly Paladins strike that game also starts with an error.

I'll try to screenshot the error and write it down as well as the vendor id it says I need to match
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] rsuthers08:
Did a full reflash and the vendor id error persists. Also not sure if its because of that but most of the apps and games I try to play are giving me network errors and not downloading the content. I can download from the app store no problem but its within the app that problems with network start. My APN is correct as well.

Wondering if I missed a nougate update that is causing the vendor id error.
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] c0mpl3xy:
I believe the vendor id is used to pass safetynet easier. Expected behavior
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] rsuthers08:
Anything going on with this rom?
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] c0mpl3xy:
[MENTION=4929843]messi2050[/MENTION] said he was done with this phone and I haven't heard anything from him since, so no. [MENTION=4222965]deadman96385[/MENTION] [MENTION=4711784]Travisholt92[/MENTION] [MENTION=5993532]xRaZeR_FuZioNx[/MENTION] and [MENTION=6814263]cospalet[/MENTION] are all working on roms still. If you wanna talk to them and see what their plans are, we have a telegram group, but you'll have to find it yourself
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] rsuthers08:
Ya I'm not looking to pay for nightlies of an unfinished rom
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] br0adband:
The ROM works, the only thing that doesn't for me is the hotspot but that's a given anyway and nothing can really be done with it.

Only thing I wish we had at this point is a custom kernel to get the idle speeds down from the current ones of 960/768, they should be 384/384 and it would help with battery life (which is fine even in spite of this current limitation). Maybe some more governors would be nice too but so far I've been running this ROM since it was put out and haven't had a single thing to legitimately complain about unlike others it seems. :D

Use it, don't use it, but for Pete's Sake® STFU about it and messi, will ya? :eek:
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] nickyhicky:
I just got my computer up with 14.04.5 TT and set up my build envir. I just need the time. I cant leave my computer set up at home right now and thats where i have the best connection. Its my first time so i intend to do a couple dry runs first, maybe play around with the kernel. But i never have to time to get rling with it
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] lixer8:
Google lens

I can't believe it but Google Lens actually works on this ROM. I haven't done a lot of testing but so far so good.

---------- Post added at 06:08 AM ---------- Previous post was at 05:42 AM ----------

I can't believe it but Google Lens actually works on this ROM. I haven't done a lot of testing but so far so good.

Edit, I haven't found anything not working.
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] nickyhicky:
Did you ever find a fix for the mismatching vendor.img? I feel dumb bit its been years since i've fiddled with android internals. They've change quite a bit since lollipop lol
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] br0adband:
So, for you, if you have cellular service, can you test out the hotspot functionality and let me know if you're successful with getting it to work? It's the only thing that doesn't work for me, so I switched back to the 7.1.1 ROM where it works just fine. I'd love to continue using the 8.1 ROM but without that hotspot it's a problem.
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] lixer8:
Yeah I've tried everything I know and all the apps I would normally use but none worked, I also am having a problem with USB tethering it keeps saying DNS error.
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] messi2050:
Yes hotspot is currently broken, added to known bugs in first post.
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] messi2050:
New build is up

Changelog

https://xdaforums.com/showpost.php?p=76805780&postcount=2
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] deadman96385:
Would be nice if i got credited for the changes i did
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] messi2050:
Which changes ? i didn't use a single commit from your repos :p, you even don't have oreo sources yet :p
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] deadman96385:
You just so happen to enable dual band wifi, and update the power scripts to the latest caf all on your own and not get it from the sd4xx repos? Even though we committed the same thing weeks ago The changes apply to both oreo and nougat.
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] messi2050:
Yes, what's your problem, there is no reason i won't give you credit if i used your changes. I don't really care about what you think :p
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] Charmingchris89@gmail.com:
Netshare no root tethering resolves mobile hotspot issue.Theres a modded unlocked version available from AC Market.
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] messi2050:
Added to first post, ty
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] br0adband:
Just to ask, using the latest version of this ROM (currently posted, build #4) is anyone else having issues with stable Wi-Fi connections? I have an 11ac router and of course I get the 11ac connection but there just seems to be something going on with this ROM (build #3 didn't do this, is my meaning, nor does this happen with the Nougat ROMs) where the Wi-Fi at random times just drops and then goes through the whole reconnect process and I can't honestly figure out why it's happening.

Just figured I'd ask if anyone else has noticed any such issue. Everything else - minus the hotspot of course - is working fine so far, at least for me.
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] messi2050:
you connect to 2.4 or 5ghz network ?
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] br0adband:
5 GHz only, 11ac, my router, no issues with any other devices or ROMs, just this one with build #4 for some reason.
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] messi2050:
Not sure if it will fix your problem but you can try to download this file

https://github.com/messi2050/android_device_lge_msm8937-common/blob/cm-14.1/wifi/WCNSS_qcom_cfg.ini

And replace the one in system/etc/firmware/wlan/prima directory by it and set correct permission 0644 i guess then reboot
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] br0adband:
Can't hurt to try it I suppose, will give it a go later today, thanks.
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] betatest3:
Would this ROM work if I flashed it on a Stylo 3 Plus? Seeing as the two devices are very similar, and I know some phones where ROMs are interchangeable with minimal modifications(I can flash an ATT LG G2 ROM onto a T-Mobile LG G2, just need to switch the kernels, and everything works, except WiFi, Bluetooth and Mobile Data...)
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] messi2050:
No kernel is different.
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] br0adband:
OK, so from what I can tell between the 'stock' ini file and the one posted above there's one single item that's different which is this:

# We don't officially support channel bonding in 2.4GHz
gChannelBondingMode24GHz=0

The 'stock' ini file that comes with the build #4 ROM has that set with 1, so I simply altered the stock file and edited it from a 1 to a 0, then saved the file and now I'll see how it goes and report back if things improve.

EDIT:

That didn't take long. After the reboot I decided to do a speed test using the Speedtest.net app (paid version) and it won't even finish a single test. When I reset that variable back to 1 at least then it does finish.

Weird, I suppose I'll just have to live with the random disconnects now and again, but it's truly weird. As I said above, my home Internet connection by way of the router (a Hitron 11ac capable router, supplied by Mediacom as I've never bothered to buy my own cable modem/router/AP yet) works fine but I don't have the 2.4 GHz radio enabled in the router - it's 5 GHz operation only 'cause all my neighbors have APs (23 of 'em) crowding up the 2.4 GHz band here in my apartment building.
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] messi2050:
I added an important notice for performance on first page check it
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] greerdd:
Well, I tried it, did not have much success with it.

The first problem was that 64 bit twrp from http://www.mediafire.com/file/i1911qqxlx9v6sm/twrp-3.2-x64-ph2n.zip did not work for me at all. I would flash it, then go into the recovery mode, then click [YES] and [YES] but instead of going into TWRP the system would wipe the data and do a factory reset.

So I downloaded a copy of TWRP from https://twrp.me/lg/lgstylo2plus.html and that TWRP copy did work. However, trying to flash "#4-lineage-15.1-20180613-UNOFFICIAL-ph2n.zip" from TWRP (after wiping out cache, system, data, dalvic cache) fails with error 255.

Any ideas? [MENTION=4929843]messi2050[/MENTION]? Thanks

Version/Hardware info:

twrp-3.2.2-0-ph2n

LG Stylo 2 Plus, K550, originally had Android 7.0 tmobile stock installed

UPDATE: I tried it again and it looks like I definitely have a problem with 64bit twrp. I'm using the same process to flash both 32bit and 64bit twrp versions, the only difference is twrip image file names. The 32bit version works fine for me the 64bit does not.

After flashing 64bit twrp[1], removing the battery, putting the battery back, going into recovery and clicking YES and YES, I don't see twrip screen or anything related to twrp. It looks like the phone tries to load the system and since the system got wiped out in previous step, it just loops there. With 32bit version after going into recovery and clicking YES and YES I see twrp screen and twrp seems to work normally.

Can someone post the md5sum of the working 64bit twrip image? Thanks

[1]:

root@lsrv:/home/luser/Lgs2plus/# fastboot flash recovery ./recovery-twrp-3.2-x64-ph2n.img
target reported max download size of 536 870 912 bytes
sending 'recovery' (17824 KB)...
OKAY [ 0.578s]
writing 'recovery'...
OKAY [ 0.431s]
finished. total time: 1.009s
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] Bobby Tables:
Is the VoLTE problem an issue with carriers, with LineageOS itself, or just with this specific ROM? I have a Stylo 2 Plus, and I'd love to move it to Lineage, but I visit areas (such as northern Michigan) where VoLTE is a necessity. Not to mention, 2G and 3G are inexorably marching to oblivion.
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] Locke706:
The issue is with proprietary LGE software and the difficulty in trying to Port it. If I'm not mistaken if LGE released it's source, fixing volte wouldn't be such an issue.
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] c0mpl3xy:
Volte rarely works on custom roms for any device
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] greerdd:
Can someone who was able to successfully install this ROM do the following:

1. Post the md5sum of the twrp image you used and the link where you got the image from

2. Run "cat /proc/cpuinfo" (without quotes) in the terminal and post the output, or at least post what you have under model name and CPU architecture.

Thanks
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] eddkov:
Hey, I downloaded and installed the rom through the instructions. Everything seems good, but I dont have Google play and when i download the apks it doesnt open. It will get installed but when i try to open it just doesnt. I thought i might need Google Play Services so i downloaded that too, and I got an error saying Google Play Services cant open unless its updated.
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] messi2050:
Hi, you need to download gapps from here

https://opengapps.org
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] Bobby Tables:
Argh. I hate it when manufacturers play games with such basic functionality.
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] greerdd:
I couldn't get this ROM to work due to the reasons I described before. What I find disappointing is that even simple questions are left without an answer. How hard is it really to answer the two questions above? Shouldn't take more than a couple of minutes, if one got this ROM running.
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] b00.f0087:
I was able to get this rom running

in order to install I tried going from 6.0 to 8.1 and failed was in a boot loop.

So after flashing 6.0 to get phone back up and running i updated to 7.0

I updated from 6.0(MM) to 7.0(Nougat)

After that i was able to install the 64 bit TWRP recovery

flashed recovery no error this time

flashed rom no error this time

flashed gapps 64arm pico .

I installed kernel Auditor and changed gov to ondemand

that made the phone run way better by the way thank you!

installed netshare for the hotspot fix and does work for me.

So far so good ive gotten a couple of FC's and i had some google apps install and not open at all

I am also having an issue with package installer it no longer installs apks. My work around was root explorer pro and opening apk thru there.

Other than those to it works pretty damn good.

Any one need help installing it send me a pm

---------- Post added at 06:50 PM ---------- Previous post was at 06:48 PM ----------

Make sure you are on 7.0 first before trying to flash 64bit TWRP.

You must be on 7.0 due to bootloader changes i believe
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] greerdd:
Thanks for your response. I was on Android 7.0 when I tried to flash 64-bit twrp the first time but it didn't work for me. That's why I asked for someone who got this ROM working to do the following:

1. Post the md5sum of the twrp image you used and the link where you got the image from

2. Run "cat /proc/cpuinfo" (without quotes) in the terminal and post the output, or at least post what you have under model name and CPU architecture. One of the places where you can find the terminal is in twrp under "Advanced" tab.​

Thanks
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] Wonkit:
Hi! Flashed the rom and it works great! The only real issue I'm having is the phone having a weak vibration and my bluetooth headphones not working in calls (stays silence and switches to the phone speaker automatically). Thanks for the rom!
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] messi2050:
Hello

New update is coming with hotspot fix and excellent battery life (check attachments), make sure to hit the thanks button to show your support, stay tuned.
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] greerdd:
When you post the files next time please provide md5sum for each file (twrp, rom, whatever), so the users could check they are getting the same files you posted. Thanks

I was very interested in this ROM, still am, but I couldn't get it working due to issues, see above.
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] messi2050:
I couldn't see why it's not working for you from your previous posts..
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] greerdd:
I don't understand that either so that's why I asked for the md5sums. I'm grasping at straws here but still it's better to be sure.

Here's what I find strange though: I'm running "cat /proc/cpuinfo" in the twrp[1] terminal and the following is what I get:

# cat /proc/cpuinfo
Model name: ARMv7 Processor rev 4 (v71)
CPU Architecture: 7
CPU Variant : 0x0
CPU part	: 0xd03
...

As I understand it, ARMv7 can't run 64bit code but at the same time LG Stylo 2, K550 model, should've had 64bit processor, that is, ARMv8 or higher...

What do you get when you run "cat /proc/cpuinfo" in the twrp terminal? Are there any prerequisites for installing this ROM? Is is enough to have just working twrp recovery or do I need anything else (stock image, etc)?

Thanks

[1] - version 3.2.2-0, downloaded from https://twrp.me/lg/lgstylo2plus.html
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] messi2050:
And what happen when you try to install the rom ? Also you must be on stock nougat before trying to install it.
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] greerdd:
Currently I don't have a working stock image installed, the system partition got wiped during previous installation attempts. By the way, what parts of the stock images are used by the rom? Does it matter if it's a Tmobile or Metropcs stock image?

Anyway, if I still try to install the rom using twrp[1] I get the following error:

Installing zip file '/sdcard/rom/#4-lineage-15.1-20180613-UNOFFICIAL-ph2n.zip'
Checking for digest file...
Skipping digest check: no Digest file found
Updater process ended with ERROR: 255
Error installing zip file '/sdcard/rom/#4-lineage-15.1-20180613-UNOFFICIAL-ph2n.zip'
Updating persmission details...
...done

[1] - version 3.2.2-0, downloaded from https://twrp.me/lg/lgstylo2plus.html
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] messi2050:
You need to have nougat bootloader, this error is because you are using 32bit twrp to flash 64bit rom, you should have used the one in my instructions -_-
[LG Stylo 2 Plus ROMs, Kernels, Recoveries, & Other] greerdd:
I did follow your instructions but, as I explained in my previous posts, the 64-bit twrp did not work for me at all (I get a black screen and what looks like boot loops when booting into recovery with 64bit twrp). 32bit twrp works fine, 64bit does not work at all.

Please post a md5sum hash for the 64-bit twrp version that definitely works for you I will try again. Thanks