yashsingh1/xdaforums huggingface dataset:
[G3 Android Development] HardStyl3r:
​

LineageOS (Lineage Android Distribution) members or anyone else on this website is not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about features included in the products you find here before flashing it! YOU are choosing to make these modifications, and if you point the finger at us for messing up your device, we will laugh at you. Your warranty will be void if you tamper with any part of your device / software.

LineageOS is a free, community built, aftermarket firmware distribution of Android 9.0 (Pie), which is designed to increase performance and reliability over stock Android for your device.

Lin·e·age

/ˈlinēij/

noun

lineal descent from an ancestor; ancestry or pedigree.

a sequence of species each of which is considered to have evolved from its predecessor.

If you encounter any issues with sensors or anything related to hardware, please flash stock rom and then a custom one.

Check the G3 issue tracker and LineageOS issue tracker before installation.

Clean flash is recommended, here's the procedure:

wipe Dalvik cache, /system, /data and /cache.

flash latest ROM zip

optional: flash Open GApps ARM

ROM supports update through OTA which is completely fine.

If you want to contact me, head for my telegram.

I also really recommend joining telegram: G3 development channel for more info about my projects!

The thread is designed by me, please don't copy it.

Download LineageOS 17.1

Recommended TWRP

Open GApps

Rooting your phone by Linus Tech Tips

Recommended Stock ROM by @MESA

Root: Magisk

3__HacerPermisivo.zip - use this to switch your kernel selinux to permissive

bootimage_adb_unsecure by @AdrianDC - for debugging

Mr_Bump.zip by @dadi11 - flash this when you occur Secure booting error (boot certification verify)

custom kernel: LineageXTD by @ppajdek (discontinued, issues may occur)

If you want to report an issue, please use the issue tracker providing your variant and the most information you can, e.g. full logcat, installed addons.

@dadi11

@ppajdek

@walter79

@Artx

@firebird11

@aleasto

github.com/LineageOS

github.com/itsHardStyl3r

gitlab.com/HardStyl3r

device and kernel sources

local_manifests

Important: information about open sources from HardStyl3r

​

XDA:DevDB Information

LineageOS, ROM for the LG G3

Contributors

HardStyl3r

ROM OS Version: 9.x Pie

Version Information

Status: Stable

Created 2017-10-15

Last Updated 2020-07-17
[G3 Android Development] HardStyl3r:
17.1, 11.04.2020

* April 2020 Android Security Bulletin: r33
* Space on /data is not reserved twice anymore (and tune2fs is not appearing in LineageOS recovery)
* Fixed Widevine L3
* Enabled codec2
the rest of the changes are available on LineageOS' changelog

17.1, 21.03.2020 (17.1, 17.03.2020)

* February 2020 Android Security Bulletin: r27
* March 2020 Android Security Bulletin: r31
* New offline charger: fixed sepolicies and updated the implementation
* Added support for Lineage Recovery
* Small tinkering to sepolicies
* Update sdFAT to 2.3.0
* Add back media swcodec
* Preparing for official 17.1-ship, but ls990 most probably won't ship
* Added fastbootd (supported in LineageOS Recovery)
* Commonized GPS configuration, thanks to YoDevil, it's now more up to date
* Improved migration from Stock ROMs

17.1, 02.02.2020

* Stable builds released, bugs may occur
and should be reported in issue tracker
[G3 Android Development] HardStyl3r:
Quick tutorial on how to send proper logs to help fixing an issue.

If you already enabled Developer options (settings) and have adb tools, start from 5.

Download the SDK Platform-Tools (adb and fastboot) for Windows or [url="https://dl.google.com/android/repository/platform-tools-latest-linux.zip]for Linux[/url] or [url="https://dl.google.com/android/repository/platform-tools-latest-darwin.zip]Mac[/url].

Enter Settings and scroll down to About phone and tap on Build number seven times.

Go back to Settings and switch to System and open Advanced tab.

Click on Developer options, scroll down to Debugging section and there you have Android debugging. Enable it.

Unzip the platform-tools and open CMD or Terminal, navigate there.

Type adb logcat -b all > *name*.log and then upload the log somewhere, preferably some paste sites.
[G3 Android Development] HardStyl3r:
Following April release, the sources have been released public.

Please do not release any third-party builds and sign my name next to it.

The sources might not always be stable and ready to build.

Also, please don't do any unneeded forks or reuploads/mirrors.
[G3 Android Development] ZjemCiKolege:
Don't comment for this.. i have already fixed wifi :]
[G3 Android Development] TheReaper1:
Good work :)
[G3 Android Development] ppajdek:
Well done mate, keep up the good work. Will try it on multirom.

Oreo time hell yeah :)
[G3 Android Development] MNT_:
for unstable daily driver would be nice to have wifi, camera and sensors at least. well done!
[G3 Android Development] mountaser halak:
wow just after i posted mine xDDDD

---------- Post added at 07:19 PM ---------- Previous post was at 07:02 PM ----------

sources ?
[G3 Android Development] Excavator2015:
Please please please, can you support the D850!!!! I've been waiting for this!!
[G3 Android Development] HardStyl3r:
if these things are working, the ROM qualifies to be "stable enough" driver in my opinion.

LineageOS repos with little experimental changes in kernel that may broke the camera actually ?

I have tested your build and I wrote my experience in your thread. (tested is not a good word here)

I don't have got d850 variant, but I will try to do that if someone can help me with testing. I don't want to spread unusable ROMs. :)
[G3 Android Development] joselap:
First of all thanks for the work and the rom. After a few minutes of testing (taking into account that it is an alpha version), as errors initially observed in my case: mtp mode does not work (the pc does not recognize the mobile), however it does load connected to the pc. Camera (i use snap camera) not working

GPS working (locates and fixes my location very quickly).

In my modest opinion, very good first approximation to oreo in g3. Waiting for wifi ... Regards
[G3 Android Development] odjinan:
Posting from your ROM..soo yeah its working ;)

Can I flash supersu?

Juste miss some feature (nonworking from op + advanced reboot..,etc)

Great!
[G3 Android Development] joselap:
For root, I flashed magisk 14 without problem (mr_bump not necessary)
[G3 Android Development] Excavator2015:
I will test the rom if you can build it. Shouldn't be too difficult, cherry pick some of the D850 parts in the build. I'm by no means a rom developer, so see what you can do bud. Thanks man! Keep me posted or message me when you get it built.

---------- Post added at 11:04 PM ---------- Previous post was at 11:01 PM ----------

I'll test it man, if you want to build it. Shouldnt be too diffficult, just minor changes from the D855 to the D850. Let me know when you have a build up for me, send me a message! ?
[G3 Android Development] KevinX8:
That's nice and all but why would you not share how to fix wifi and just keep it to yourself?
[G3 Android Development] HardStyl3r:
mtp works for me on Windows and Linux distro. Have you tried unplugging and plugging again?

Have you tried to check if advanced options (tap build version 7 times) are working? I forgot to check it?

SuperSU should work, but I recommend Magisk.

Do you have WhatsApp or something like that?
[G3 Android Development] odjinan:
[MENTION=6880495]HardStyl3r[/MENTION]: yes developer options appear and is active when you tap 7 times on build.

flashed magic14 but got into secure mode after reboot (all app are grey and unable to launch, expect native app) i havent use magic14 so i'm pretty sure I've miss something.. (just flashed the .zip in twrp).. i'll try the classic supersu ;)

Battery life seems fine (no battery drain during the night)

[MENTION=6099796]joselap[/MENTION]: check/uncheck usb debugging in dev option, a popup should appear to select the transfert mode. (charge and usb transfert working for me, havent use mtp mode. check my third screenshoot)

[MENTION=5168296]Xmaster24[/MENTION]: github is updated constantly, I'm sure ZjemCiKolege is a dev who have fix the wifi on the source... wait for the next build ;)
[G3 Android Development] Excavator2015:
I have Google duo...I don't have any social media apps on my phone. My wife is the one who follows the Facebook thing and what not. Do you have Google duo? Anything I need to flash wish this rom when you get it running for the D850 Magisk?
[G3 Android Development] winxuser:
You would of been better off flashing aroma ones, then you can choose what you want installed lol
[G3 Android Development] hulknrooster:
WOW.Best Rom For Me

Thank u for rom.

Please fix sensors rapidly .thank u very much .:):):):)

---------- Post added at 01:21 PM ---------- Previous post was at 01:14 PM ----------

sensors (we're working on a fix!) . please fix it rapidly .i use this rom for daily .thanks :(:(:(:(:(:(:(:(:(
[G3 Android Development] seanskiT!:
This is an alpha build... You don't need to be making statements like this, even on a stable version, but especially on an alpha build. Be patient bugs are being worked on.
[G3 Android Development] joselap:
I do not think you're in a position to demand anything, we all want a rom as stable as possible, but the devs have their "times" (and thanks that they devote their time to this..but demand ...). There are plenty of other roms you can use daily
[G3 Android Development] hulknrooster:
Please do not think. Do not worry. My goal is for you and your likes are not young kids. I am looking for those who are skilled in this. I am taking them all. You were wondering whether or not they ??????:cool::cool::cool::cool::cool::cool::cool::cool:
[G3 Android Development] spoonymoon:
Moron... :(
[G3 Android Development] DTTR:
My experience with Aroma GApps is a bad one.

2 out of 3 times I use it, it crashes and returns to TWRP.

And I'm not sure what apps I need to install in order to get the result I need (varying on the ROM I flash I have different needs - on some ROMs I need face unlock, in others I need the gallery not to be replaced and so on). This is due to the fact that I own 5 LG devices, 2 D855s, 1 D858HK, 2 V500.
[G3 Android Development] hulknrooster:
YOU ARE VERY STUPID.SPEAK PROPERLY :cool::cool::cool:
[G3 Android Development] firza_euphoria:
hi guys

Great work on the build.

got a quick question, which gapps should i use, 7.1 or the 8.0 ???

thank you
[G3 Android Development] Remotiv:
8.0 (link in first post)
[G3 Android Development] :
Don't do drugs kids
[G3 Android Development] HardStyl3r:
+1 for all of you

-1 for all of you

?????

AROMA is crashing when you use official TWRP.

8.0 pico for now

I successfully managed to fix camera recording (thanks to ZjemCiKolege) and flashlight.

Every build from now will be released with Artx Kernel built-in. It's the same kernel that I use to every build, but it's like... whoa dude... and it's obviously [MENTION=7713645]Stayn[/MENTION] work, so it's even more like... whooooa.

I'll release the build when the sensors are ready. It's compiling right now - 22%.

D850 users - prepare for the final build in a couple of days;)
[G3 Android Development] fatjanhushi:
Will the D850 build also come with Artx kernel built-in? Waiting patiently. :) Thanks for your efforts. :)
[G3 Android Development] jimmmysil:
Thank you very much for your effort. All of this is much appreciated! I am using this as my daily driver so i will just keep posting logs and bugs until u bring this rom to the performance lvl you want.

P.S. Artx kernel rocks! Is my favorite G3 kernel! Thanks [MENTION=7713645]Stayn[/MENTION] for this great kernel dude!
[G3 Android Development] Datiree:
Can't wait to test your new build. :)

Thanks so much for your hard work ! ;)
[G3 Android Development] HardStyl3r:
d855 build is ready!

fixes: camera recording and flashlight

download links are updated! d850 users will get their build tomorrow. :)

every other bug is oreo or LineageOS's fault, so I guess this build is stable enough for daily driver.

we didn't manage to fix sensors though :/
[G3 Android Development] uxairmalik:
So auto rotation won't work?

Sensors?

Gyro magnetic

Temp???
[G3 Android Development] jimmmysil:
Yeah they don't.
[G3 Android Development] KevinX8:
External sensors not internal, if temp sensor didn't work you would have melted piece of plastic lol
[G3 Android Development] seanskiT!:
For those looking for a ls990 build of O, it is up in the Sprint G3 forums. Remember it is in alpha/beta stages as well.

https://xdaforums.com/sprint-lg-g3/development/los15-oreo-beta-build-sprint-variant-t3693124
[G3 Android Development] ezantera:
I think I had same problem with 15.1 d855. But only when on charger.
[G3 Android Development] jdmst77:
I was unaware of that source for walter's builds but it appears like they are his... Same checksum... I was using this source: http://buildyourownandroid.selfhost.eu/smartphone/daily-builds/

d851 is building weekly, Friday, under daily-builds but then getting purged after Saturday... Probably should be building under weekly-builds so cleanup doesn't purge early. Since active development is coming from LOS, probably don't need daily builds anymore.

Good to know that there may be a more reliable/alternate source
[G3 Android Development] androidjel:
Weird thing here, when i'm contected to my provider Tele2 (Netherlands) i have 4G (LTE). But after some time it only connects to 3G max. A reboot of the phone fixes this issue for again some time (like a few minuts).

With this rom: https://xdaforums.com/lg-g3/development/rom-pixelexperience-t3854540 also from [MENTION=6880495]HardStyl3r[/MENTION] i dont have the same problem.
[G3 Android Development] walter79:
Files on buildyourownandroid and magentacloud are the same. Buildyourownandroid has only newer files. Older files are deleted more often.
[G3 Android Development] androidjel:
[MENTION=6880495]HardStyl3r[/MENTION] Are you gonna be a official dev for lineageOS?
[G3 Android Development] frajofa:
In D855, with Aroma and without custom Kernel,.

Still using October 20 ROM. For (normal) everyday use is the most stable.

I tried all the new ones and had to recover with nandroid the 1020 rom.

Only 1 reboot in 2 months, between 1 and 3% battery during sleep, and with my new 6400 mAh battery it lasts almost 1 week. Problem with big battery is NFC, but I don't use it.

New roms may have more funcionalities, but stability, fluidity, and so on, don't compare with 1020 (on my D855, of course)

Thank you HardStyl3r
[G3 Android Development] HardStyl3r:
Well, it is planned.
[G3 Android Development] ezantera:
I am on 15.1 latest and d855

Phone call volume too loud with headphones. And I think when talking over viber trough earpiece speaker was too loud also. Somebody already played with Mixer_paths.xml?
[G3 Android Development] L1p1c1:
only if you flashed kernel xtd
[G3 Android Development] jdmst77:
OK, thanks, great to know. I've been using your d851 builds to keep current with security updates, so I appreciate your work on this. We aren't ready to move to Pie.

For buildyourownandroid, are you aware that the d851 builds complete weekly but are only available under the daily-builds directory? They are being deleted about 2 days after being built and if I didn't catch them in time, until my knowledge of magenta, I'd have to wait until the next weekly build
[G3 Android Development] walter79:
I will fix this problem
[G3 Android Development] cracker12:
Hi, what are the bugs that still exist? Is there any mod or app that improve camera quality almost like stock? Thanks
[G3 Android Development] ezantera:
There is. Google camera integrated in gapps give sometimes even superior pictures compared to stock when HDR is on, specially in darker conditions, but somehow you must hold phone very still. Day pictures are excellent too. Somehow clean. I wold suggest aroma gapps and be careful what to select, you must not miss something, or download stock version.

edit: camera must be 4:3, not 16:9 when taking pictures. 16:9 take somehow grainy pictures on my d855. And latest lineage 16 have many bugs, from stuttering to rebooting... so I would suggest 15.1 lineage at least to the next release of The King HardStyl3r hehe
[G3 Android Development] cracker12:
And what are the bugs of lineage 15.1?

Enviado do meu POCOPHONE F1 através do Tapatalk
[G3 Android Development] ezantera:
Bug are none for me. I had reboot but I think it was because my still original battery old I dont know how many years.... :D

Now when I say everything I think about 15.1 it will look like trash rom but in reality is excellent. Comparing to stock marshmallow...

Lineage 15.1 is sometime too loud even on lowest settings (not bad thing for everybody), extra swype is needed for screen pattern ulock, camera sometimes blurry (but stock also), everything about camera is so-so person to person percepcion. Night pics good if not shaky., no "cheese" activation camera, glonass dont work, only work on stock (gps still work), vibration maybe weak for somebody (stock can be set much stronger)

good things: everything is so smooth and beautiful, auto brgihtness work much better then stock, brightness can be set much lower if surfing on net at night, there is no exccess sharpening of text like on stock (I pesonally hate stock oversharpening and I am not alone), every benchmark is better (stock marshmallow have temp throttling too low). Evrything feel like new phone.
[G3 Android Development] alex_under01:
I have the October ROM.

I downloaded the XMass update.

Tried to flash it... Phone reboots, shows Lineage animated logo then reboots again in TWRP

...

I clear cache/davlic/system. Flashed the ROM again. Flashed the GAPPS also... Same thing. Logo and rebooting in TWRP.

It's a god thing I had taken full system backup.

I have the last TWRP.

What gives? How am I supposed to update this ROM?
[G3 Android Development] rp158:
[MENTION=7078125]alex_under01[/MENTION]: if 'update' means for you: without wiping /data, you're wrong. You have to.
[G3 Android Development] alex_under01:
If i do wipe the data, wouldn't I be forced to setup the phone all over again? Isn't that a kind of factory reset thing?
[G3 Android Development] rp158:
[MENTION=7078125]alex_under01[/MENTION]: yes. Factory reset also wipes some folders on /sdcard.
[G3 Android Development] soudara:
all is working perfect but miracast , cast , mirroring on smart tv never work can you fix it please ?
[G3 Android Development] HardStyl3r:
The implementation has been removed from Pie by Google. I'll see what I can do.
[G3 Android Development] soudara:
miracast

thank you so much
[G3 Android Development] Bailx:
Yeah it's pretty lame what Google did...

I had no idea of this of course when I bought a new Pixel 2 XL last year... totally disabled on those phones (can't do HDMI out either)

I find myself going back to these older phones now to do this function... thanks for looking into that... I still had lineage 14 on this d851, miracast stopped working so figured i'd update to the newest version to see if it fixes it

the roku tv i was testing on, had a prompt when i tried to connect, but then the phone screen will go black, and everything kind of cancels. hope that helps, thanks for this rom!
[G3 Android Development] soudara:
exactly same problem
[G3 Android Development] HardStyl3r:
G3 has SLIMport implementation, it is still really useful.
[G3 Android Development] wonder_user:
Still doesn't work for me with latest build on d855.

Otherwise, great ROM. Thank you so much, HardStyl3r!
[G3 Android Development] L1p1c1:
Do a clean flash or make sure you dont flash first 2 versions of rom. What you report is fixed on last version.
[G3 Android Development] mikfaina:
Hi,

I'm trying to install the latest rom but I get this error:

It seems that can't recognise my phone that obviosly is a d855 g3

I'm on TWRP 2.8.6.0

Currently I have installed the 15.1-20180506-UNOFFICIAL-d855

Any suggestion?

Thanks Mik
[G3 Android Development] rp158:
[MENTION=1895333]mikfaina[/MENTION], what's the fun of using such an outdated TWRP?? Dare to try 3.2.3.0?
[G3 Android Development] mikfaina:
No fun

:(

Now I have my phone wiped but with the old rom but can't3 connect to wifi (when I turn on it turns immediatly off) and no mobile data connection.

What I did? I just wiped dalvik cache system data e cache

With out data I can't download new twrp image from the app
[G3 Android Development] rp158:
You don't need the app. Download TWRP 3.2 by PC or another device, store it on extSdCard, boot into recovery and flash the new one. If 2.8 cannot flash an image, look for a zip-file on xda.
[G3 Android Development] mikfaina:
Ok after installing new TWRP I 've been able to install new rom and gapps but the pixel launcher keep crashing and no mobile data
[G3 Android Development] mikfaina:
Ok I have almost all working properly except for:

The app Pixel launcher app crash so I use Quickstep for now.

Rotation not working

Thanks [MENTION=6880495]HardStyl3r[/MENTION] for your work
[G3 Android Development] rp158:
[MENTION=1895333]mikfaina[/MENTION]: fine, you found a solution.

Please don't quote a previous post.
[G3 Android Development] mirsaris:
[MENTION=6880495]HardStyl3r[/MENTION] hello official twrp installed when the charger was around 55% recharged and recharged 5% of charge again when I flash unofficial twrp 55% returned that I'm experiencing certain intervals this error is suddenly shut down and the high level of charging suddenly falls to the level of charge in the rum I've tried other live
[G3 Android Development] mikfaina:
After few days with the last ROM all work except proximity sensor ( when I make a call the screen doesn't turn off) and the screen doesnt go in landscape mode turning on the function in the settings
[G3 Android Development] smtrejo:
Flash boot animation

Hi,

II'd like to flash the PIxel 2 boot animation but after flashing with twrp I'm still seing LineageOS boot animation:

https://xdaforums.com/android/themes/bootanimation-pixel-2-bootanimation-t3695988

I read that I can also replace the bootanimation.zip in /system/media but I don't want to root my device.

Thanks in advance
[G3 Android Development] smtrejo:
Never mind, in TWRP I mounted system, renamed bootanimation.zip to bootanimation.zip.bak and copied the new bootanimation.zip trough File Manager.
[G3 Android Development] smtrejo:
I've been using this rom for 3 days and is very stable. However, I have issues with alarm clock not working and lock-screen date/time not updating (I think these have been mentionen by other users).
[G3 Android Development] HardStyl3r:
This means your battery might got weaker over time.
[G3 Android Development] SnowFuhrer:
Has anyone got any pie based ROM to dual boot?
[G3 Android Development] @mahmoud:
Hi

In this rom can we change screen resulotion or any method or app can do this?
[G3 Android Development] StrikerTheHedgefox:
I am running the latest build for the d852 posted in the MEGA folder, however I've run into an issue: I cannot get the MTP mode to work, in fact, all of the USB settings are greyed out, and I'm not sure why. Any help would be appreciated.

EDIT: Windows shows the phone in Device Manager, but this is the error:

"This device cannot start. (Code 10)

An invalid parameter was passed to a service or function."