yashsingh1/xdaforums huggingface dataset:
[G3 Android Development] besset19:
Before installing unofficial LOS 15.1 i rooted using kingroot. Now after having installed it, it says my device is not rooted anymore. I want to upgrade to the official LOS, so i need to root my device. Magisk is recommended and is installed through TWRP, but to install TWRP it says "You might want to have your ROM rooted before flashing, just in case something goes wrong". How should i go about this? Do i need to be rooted to install TWRP?

Also, since im now on unofficial 15.1 LOS version and not LG software anymore, do i need to use adb to install TWRP or can i just move the files to my phones storage in some easier way?¨

EDIT: Wait i just noticed , if i installed TWRP when i upgraded from stock LG software to unofficial LOS 15.1, is it still in my phone?
[G3 Android Development] mksahin:
Yes. If you once installed TWRP, it must still be there. So, you don't need to root your phone just to install official LOS 15.1. You can follow the installation instructions on official LOS page (just skip the part about installing TWRP, you already have it). Or you can follow the instructions in the first post of this thread. They are pretty much the same.
[G3 Android Development] besset19:
Which order do I flash the 15.1 official ROM, gapps and magisk? Magisk at the end right?

Let's say I'm rooted now, will the root disappear if I flash official LOS 15.1?
[G3 Android Development] mksahin:
Yes, you will loose root when you do a clean install.

I suggest you flash the official LOS 15.1, then Gapps (nano recommended), and then reboot. Once the system boots OK (and you finish initial setup), go back to TWRP, flash Magisk, reboot, install Magisk Manager app, and you will have root. Check out the Magisk thread on Xda for details.
[G3 Android Development] besset19:
Okay do you know if I will need root now to begin the process? Meaning I root with magisk first, then flash LOS, gapps and then magisk again at the end again?

I don't actually need root after LOS though, I don't plan to use it very much, if I did i don't really know what that would be.

On a side note, do you know if automatic update works now for official LOS 15.1? Maybe I should wait until it works before I flash to official version. If it doesn't work, do I need to flash every nightly LOS manually with TWRP? Does it need clean install every time just to update?
[G3 Android Development] mksahin:
No, you don't need root to install any custom ROM (for example, Lineage OS). All you need is TWRP. I use custom ROMs without root generally.
[G3 Android Development] besset19:
It says in installation instructions on lineage OS website that you need to first root before doing anything else. Is that because you need root to install TWRP to begin with which you need to flash the rom?

Edit: Since im now on a custom rom i cant seem to transfer files from my computer to my phone using USB. Can i download the official LOS 15.1 and Gapps using my phone and then flash them with TWRP?
[G3 Android Development] mksahin:
Exactly. You need root to install TWRP. Once you have TWRP installed, you don't need root to install any custom ROM thereafter.

---------- Post added at 19:12 ---------- Previous post was at 19:07 ----------

Yes you can. Just make sure not to wipe internal storage before installing Lineage (if you downloaded into internal storage).
[G3 Android Development] besset19:
But dont you need to do a full wipe before installing LOS? How do i make a clean install if i install LOS first? I mean can i wipe internal storage afterwards? And then Gapps after?

Sorry if im being dumb
[G3 Android Development] mksahin:
Full wipe means wiping Cache, Dalvik Cache, Data and System. You don't need to wipe Internal Storage. Therefore, your install files (Lineage and Gapps) that you downloaded on your phone will still be there.

However, if you don't want any remaining files in your internal storage from prior usage, you can wipe it too. Keep in mind that you loose all your personal data (pictures, videos, music, etc.). After wiping internal storage, you can still transfer install files (Lineage and Gapps) from your PC to the phone using adb (Android Debug Bridge). Just search on the net for how to install adb on your PC. After you install adb on your PC, while your phone is in recovery mode (TWRP), type the following on the command prompt on your PC to transfer files to internal storage. Replace <file name> with actual file name (e.g. Lineage-15.1.zip or Gapps.zip).

adb push <file name> /sdcard/

EDIT: Let me summarize the whole process for you, so everything is clear. I am assuming you have unofficial LOS 15.1 installed and therefore you have TWRP and you want to install official LOS 15.1 and you don't mind wiping your internal storage, so you make a clean start.

1. Set up ADB on your PC (search the net for that. it is easy, especially if you are using Linux, but I assume you have Windows PC)

2. Download official LOS and proper Gapps version on your PC.

3. Reboot to TWRP on your phone.

4. Wipe Cache, Dalvik Cache, Data, System and Internal Storage (optional) in TWRP.

4. Connect your phone to your PC using USB cable.

5. On your PC, in a command prompt (called Terminal in Linux), type:

adb devices (this will let you know if the phone is properly connected to the PC)

adb push <file name> /sdcard/ (this will transfer the file to your phone's internal storage. do this twice, once for LOS zip file and once for Gapps zip file)

6. In TWRP, install LOS, then Gapps, then reboot and you are done.

7. If you need root (you don't need it just to install any other custom ROM later on), reboot to TWRP, install Magisk zip (you must have downloaded it to your phone previously), reboot and when the system is up, install Magisk Manager app. That's it, you have root now.
[G3 Android Development] besset19:
Thanks for the help man, it was easier than i thought. Everything works flawlessly, this is awesome!
[G3 Android Development] to87al:
Media server died, closing camera.

Hello I'm using the Android pie version. Recently I'm having a problem with camera. I keep getting an error saying "Media server died, closing camera" and the camera stays black. This happens only with primary camera, the selfie camera works correctly. Could this be a software/kernel issue or a hardware issue? I'm using the stock kernel with opengapps. Can someone gently help me with this error? Thanks a lot!
[G3 Android Development] L1p1c1:
Next week can we expect at march security updates ?
[G3 Android Development] besset19:
I cant seem to be able to scan QR codes with my bank app. Not sure if its the app or LOS, but im able to scan other QR codes with my phone though. So its probably the bank app, just wondering if other people are able to scan QR codes?
[G3 Android Development] HardStyl3r:
I had to return my S8+ to the service to fix the display, so I was using G3 for a week now. I have found some issues that have to be addressed, but I am having so many exams this and next week I don't think I'll be able to handle the development and studying at the same time. March update may come a lot later than expected or even get skipped to April update. My Azure machine is out of order, so the amount of test builds I can do is hardly limited. I need to do a lot of changes to handle the Bluetooth stuff and kernel, where [MENTION=325456]pajdek[/MENTION] is helping me a lot. Thanks for patience. If you have experienced any issue on latest builds (Oreo or Pie), please quote this post and describe it.
[G3 Android Development] L1p1c1:
no problem bro, good luck at exams, thats the first priority bug.
[G3 Android Development] jrickman51:
Good luck with your exams! Life first, free things for the people second, lol. We're here when your ready. Take care from the USA.
[G3 Android Development] santaIwantMi8SeForXmas:
G3 D855 on latest Pie!

There is some weird issue, like picture is not refreshing when i unlock phone, usually i have folder with apps on homescreen, when i unlock phone and tap on folder i don't see anything, but when i tap again around place where folder should pop out, it opens the app. I noticed it happens in Mozilla and other apps, where i gotta go home first and then reopen them.

Also the clock isn't synchronized, i think thats the same issue. My homescreen clock is late comparing to clock in notification bar (which is always correct).

Edit: clock is synced after going away from homescreen and returning back, like with all the other apps.
[G3 Android Development] HardStyl3r:
Are you using 2GB or 3GB?
[G3 Android Development] santaIwantMi8SeForXmas:
Im using 3GB version.
[G3 Android Development] Šəmûʼēl:
I found the bug in last build LOS 16 (lgd856):

gsm voice call through second sim (non-internet sim) is not heared.

Only gsm call through main sim (internet activated sim) is working on normally.
[G3 Android Development] MaverickNextDoor:
Running Pie here:

1. Device sometimes doesn't wake up until it soft-reboots itself (SystemUI restart).

2. Network speed indicator doesn't show, even though enabled in Settings.

Otherwise, working great on VS985. Thanks for all your efforts.
[G3 Android Development] MaverickNextDoor:
Hi,

Will setting SELinux to enforcing break any functionality in this ROM?

Thanks.

EDIT: NVM. I've found some stuff that don't work quite right.
[G3 Android Development] realwuffi:
16.0 on lineageos.org?

Hi all,

thanks for the good support of the LG G3!

I just saw, that the D85x are supported again with updates for LineageOS 15 via updater.

Will there be a switch to version 16 in the next couple of days/weeks/months

or will it be 15 forever. I don't know how stable 16 runs on e. g. my D851.

Other question: is it possible to denote a bit to this project/team?

I already saved some money by not having to buy another phone, so its just fair

you guys get back a bit.

Thanks

Wolfgang
[G3 Android Development] rahimali:
On HardStyl3r's profile, click on the button where it says DONATE TO ME...
[G3 Android Development] realwuffi:
Thanks, found it!
[G3 Android Development] vegechuang:
Hello all!

I flash lineageos 16.0,when i try to change ringtone.

I found it cant be changed.No matter how you choose,it always show 706.

and sometimes audio crash.
[G3 Android Development] marcdw:
I've had that happen on other ROMs before. Try clearing data of Media Storage and reboot. It should rescan and hopefully the ringtone names should show up.

Moto G5S Plus XT1806, Validus 8.1.0, microG-NanoDroid, MultiROM, XDA Legacy
[G3 Android Development] wolverine9827:
No SIM Card detected :(

Been using this for over a month w/o issues and then all of a sudden my SIM card disappears. Reboots, power off/on, remove, clean, reinsert - no dice.

Im hoping my SIM didn't really blow up - anyone else see this?

I'm going to nandroid backup and then try an old rom and see if it works again..... harrumph

D850 on 15.1 from 03/25

UPDATE: I've tried three different modems:

20F 2.0.1c113-00050

21Q+R 2.0.1c113-00058

and the 30A Hybrid Modem to no avail :(
[G3 Android Development] Juraj_v:
Unfortunately, this might mean that you have a faulty or badly soldered component on the logic board and have nothing to do with the software itself. It's a known issue for g3, for more info check out this thread: https://xdaforums.com/lg-g3/general/g3-hardware-problems-solved-bsod-screen-t3597086/amp/

If you haven't done it already I would also suggest trying different sim. I have had this problem on my d855 a few times, but lucky for me the sim got recognized again after several reboots without any problems (on stock rom).

GL with fixing your g3 ;)
[G3 Android Development] Rexkh:
Can I modify something to force install d852 rom on d852d device? Will it brick?
[G3 Android Development] nailyk:
Hello [MENTION=6880495]HardStyl3r[/MENTION]

I like your OP, and would like to know if I can take your pictures (like https://img.xda-cdn.com/h82MfabhYuwtFkeni3tS9t8LHaw=/https://i.imgur.com/KRrnSNL.png) for mine ?
[G3 Android Development] FMTester:
Hi all,

is there a new version/built that addresses the battery drain / no charge issue mentioned by several people. (e.x.: post #2207)

and a big appreciation to the developlement team, perfect job! keep on!

thanks
[G3 Android Development] HardStyl3r:
First of all, sorry for no March update, but as you already know, my Azure machine is out of order which means I can't do any more builds to maintain every ROM for every variant.

The sources are going to be released on April release and uploaded to Lineage gerrit as well. We're going to get 16.0 by the end of April if everything goes right.

The changelog is pretty large this time, there are a lot of changes, mostly aimed at out-of-the-box behaviour. I have probably fixed sensors issue, but it needs further investigation.

Of course, this is going to happen if everything goes as planned. I am using Google Cloud to build, but I am not sure if it's going to survive after April builds.

Thanks for [MENTION=325456]pajdek[/MENTION] and [MENTION=4258086]firebird11[/MENTION] for helping me with some stuff.

Stay tuned!
[G3 Android Development] walter79:
[MENTION=6880495]HardStyl3r[/MENTION]

You could use my build server. 4pm to 11pm GMT+1 monday to thursday, and s saturday and sunday.
[G3 Android Development] Šəmûʼēl:
Thanks.

On latest LOS 16 (g3ds) bluetooth didn't start, crDroid has the same issue. Fulmics rom has normal BT, so it's software issue
[G3 Android Development] TheFieryBreeze:
Update bug

I'm on official 15.1 d855

Whenever i try to update with the updater, it downloads succesfully but then says install failed

I can still install the updates by flashing via recovery, but it's obviously not as convienient or intended.
[G3 Android Development] HardStyl3r:
I am now downloading one-update-old LineageOS 15.1 to check the OTA issue, I'll let y'all know what I came up with.
[G3 Android Development] HardStyl3r:
The issue has been found, I am working on fixing it.
[G3 Android Development] Ph3ar.:
Wifi Calling

Does anyone know of a way to get wifi calling functional on Lineage 15.1 for the Sprint LS990 ? Sprint does support it on the stock rom . I would love to find a way to get this going again . Really need it where I live . Thanks
[G3 Android Development] HardStyl3r:
We're planning to restore the support, but we don't know when.
[G3 Android Development] HardStyl3r:
BUGFIX

In this change LineageOS 15.1 OTA has been fixed.

Please do a dirty- or clean-flash of 10.04.2019 build manually in TWRP, OTA should be fixed.
[G3 Android Development] ezantera:
Lineage 16 is great! Only one problem... horrible lag comparing to oreo. Is there any solution? I tried crdroid latest.. same... even tried gamma kernel... help
[G3 Android Development] HardStyl3r:
Switching to FullHD might workaround the problem.
[G3 Android Development] tutils:
Outgoing calls often shown as "Unknown" in the call log

It doesn't matter if the number is saved in my contacts list or not.

I made sure Privacy Guard is turned off for all build-in apps, including the dialer.

Using official Lineage 15.1 on LG G3, rooted with Magisk.

Please help?
[G3 Android Development] XxXDarknessXxX:
On 16.0, i cant play any highres vid. 4k can start playing but I only see the frames and it refuses to move/i can seek the timeline bar. Any solution to this? If i reencode it to lower bitrate it starts to play so its not the resolution probably
[G3 Android Development] fshami:
VoLTE support

Hi Dev, VoLTE settings you have implemented are Global or for specific operators? Is it possible to include VoLTE for an Operator which is not already there?

My SIM / Network already support VoLTE.
[G3 Android Development] ChriZz12:
On lineage 15.1 my phone can't connect to hidden wifi. i didn't try linage 16 to be honest but i tried on crDroid latest version and it can connect to hidden networks. i prefer lineage 15.1 because i feel it's smoother, can this be fixed? Thank you for your support developer!
[G3 Android Development] :
we don't have a working solution for this yet, work in progress

this needs some extra additions to the kernel, maybe we can add them for 15.1 as well
[G3 Android Development] tutils:
Bump ?
[G3 Android Development] Stek988:
This definitely helped me and removed sluggishness almost completely away! Tnx for the tip ;)
[G3 Android Development] ezantera:
Yes, it helps but screenshots are cropped. If someone know solution, please say.
[G3 Android Development] UmutKaynar:
When New version?
[G3 Android Development] wiresquire:
Just put 15.1 on my D855 and it's running quite nicely.

Battery life: I got ~3 1/2 hours SOT for Wi-Fi/browsing only. Overnight it lost ~11% in 8 hours with everything except sim enabled (no mobile data). Trying some lower performance profiles, but this might be my biggest challenge.

WIFI Hidden SSID doesn't work. I was going mad trying to get WIFI to connect, and finally disabled a hidden SSID and it connected. I now notice there is a post a couple above this one that mentions it :silly:

Camera coming on when I hit the power button was driving me crazy! I disabled everything in Settings/System/Buttons and it was still coming on. Then I stumbled across Settings/System/Gestures it has an option for Jump to Camera. Ahhhhh! :D

Congrats to developers involved and good luck with 16.0 development!
[G3 Android Development] marcdw:
ETAs are a no no. You get new version when dev gives new version. [emoji16]

LG G3 D851, PAC-ROM 6.0.1, MultiROM, XDA Legacy
[G3 Android Development] StereoFidelity:
Quick question for you guys is anything having issues with nfc turning on , it's not working for me I did a clean flash of lineageos 16 the latest build running the latest lineageXTD KERNEL just e want to know if it's a software issue or kernel issue thanks
[G3 Android Development] Chrisjjj:
Oh the elitism of xda.
[G3 Android Development] HardStyl3r:
April update has been released!
[G3 Android Development] L1p1c1:
Nice update, no problem until now. Good job.

L.E: only a minor bug, you cant see the window to disable update checker. ota
[G3 Android Development] timax69:
Installed april over februar update, but it does not work. Boots up but reboots to recovery. Any special update or wipe (other than dalvik/cache) instructions?
[G3 Android Development] torbherr:
Works like a charm

Installed the new build. Installation absolutely smooth with no problems. It was a clean install, not an update.

Phone seems to be running perfectly (D855).

Thanks!
[G3 Android Development] timax69:
Wiped Data also, installation seem to work. So no update is possible, only clean install!
[G3 Android Development] 1xaris:
Is SELinux meant to be disabled on latest release? Did a dirty install from february to latest version 16 on lgg3 d855.
[G3 Android Development] mksahin:
According to changelog; "boot permissive due to excessive amount of changes to rootdir". See Post #2 below for complete changelog:

https://xdaforums.com/showpost.php?p=74611510&postcount=2
[G3 Android Development] ezantera:
Is latest Pie lagging/stuttering comparing to oreo or nougat? I just dont have strenght to reinstall all over again. Its miracle that google did not banned me for too many "unique" logins to my own account.
[G3 Android Development] 1xaris:
I read the changelog but didn't realise they meant the same thing. Thanks for educating me.
[G3 Android Development] santaIwantMi8SeForXmas:
I installed cleanly new twrp and april update on 32gb D855, so far not a single problem after 2 days. I had that weird issue with screen not refreshing when i unlock (clock on widget and in notif bar didnt show same time until i open some other app) on february release, now everything works great so far!

Good job and thank you for effort!
[G3 Android Development] MaverickNextDoor:
Hello everyone,

Short of flashing a custom kernel, is there some other way of increasing charging speed? By default, charging takes no less than 3 hours (0-100%), in my experience. I previously used Lineage-XTD kernel before it was discontinued, and charging time was about 1.5 hours. Also, I could charge via a USB port while PC was sleeping.

Just asking to see what others here use.

Thanks.
[G3 Android Development] Chrisjjj:
I'm no dev or expert but it kind of sounds like a hardware issue to me. My guess is the motherboard is shot, and not quite fully fried yet. The 2 G3's (wife and mine) I've used both had fried motherboards after 2 years of use and had similar type of issues you are havibg before totally dieing. Mine first started to show signs of death when I also tried to use maps.

I managed to continue using my G3 for a month after it died by cooking the motherboard in the oven a few times, until it could no longer be revived.

If you have just bought that phone I'd be trying to get my money back because it won't be long before it is totally cactus.
[G3 Android Development] :
E3004 Error - updater script cannot find device model name

First of all, thank you for LineageOS! I've used it for a while on MotoG Falcon, and I've upgrade to the LG G3.

I tried flashing LineageOS but failed with E3004. .

Here are the phone info and steps I took:

Rogers LG G3, model LG-D852 that came with Android 6.0. I followed an XDA thread for downgrade, and was able to flash Roger's stock image

Android 4.4.2

Kernel Version 3.4.0

Build Number KVT49L.D85210b

Software version D85210b

I then rooted my phone by following the LG one-click root thread on XDA. It went successfully.

I then followed Unlock your LG G3 with TWRP! thread and flashed TWRP-2.8.0.0 using Flashify.

I went into recover mode and wiped Dalvik cache, /system, and /cache (i forgot to wipe /data. on my first attempt....whoops)

I downloaded LineageOS official image - lineage-15.1-20190414-nightly-d852-signed.zip and adb sideloaded it.

It sideloaded successfully, but the updater binary failed to run because I keep getting E3004, which results from the updater-script being unable to find my device's model/name. The error message says something along the lines of "this image is for g3, d852, and this device is ."

My device model/name is just a blank for some reason. I tried removing the check in the updater-script in META-INF --> com--> google --> android and somehow I'm still getting that error.

I did remember to wipe all that I'm supposed to wipe on subsequent attempts but I still got the same error..

Could someone please help me? I could try again with the newest version of TWRP, but I'm wondering if the error is due to a cause other than TWRP. For now, I re-flashed Roger's LG G3 D852 stock image and have rooted it again.

Thank you all in advance
[G3 Android Development] Rob...:
You need the latest TWRP! 3.3...

https://xdaforums.com/lg-g3/development/recovery-teamwin-recovery-project-lg-g3-t3813552
[G3 Android Development] :
Thank you!! worked like a charm!
[G3 Android Development] LONG KHOA:
Should I be in version 15.1, should I update or download version 16 thank:D:D:D
[G3 Android Development] mydarhieu97:
yep, you should try it, i'm tried it and every thing perfect (i'm come from Viet Nam and i think you too)
[G3 Android Development] LONG KHOA:
hahhahah nice . I come from VietNamese nice to meet you hahah :))) :D:o
[G3 Android Development] DrFlaisch:
Thanks for your reply. I ordered a new mainboard. It should arrive within 3 weeks. I'll keep you updated.
[G3 Android Development] vonkruel:
On my LG G3 D852 I've installed TWRP 3.3.3 and done a clean install of the April update for v16. Everything went well -- not even 1 problem that I've noticed so far. I'm sure there's some minor wrinkles left, but if they don't really affect my normal use of the device then I don't care. Charging while the device is powered off works fine now which is super. On the previous version from February I had some trouble with Wifi barfing, which I could work around temporarily by rebooting the device. Hopefully that's fixed too, but in any case I really appreciate this ROM. Thanks very much!

:good: