yashsingh1/xdaforums huggingface dataset:
[G2 Original Android Development] IT Tech:
How To Upgrade to a new build of the same ROM version and retain your data, apps settings etc.

Using:

VS980

lineage-18.1-20201213-UNOFFICIAL-vs980 - Trying to flash/update to new build lineage-18.1-20210104-UNOFFICIAL-vs980

BiTGApps-arm-11.0.0-R19_signed

TWRP 3.3.1

Magisk 21.2 (21200) Still does not pass Safteynet with Android 11

Magisk Manager 8.0.4 (4768)

I usually use MyBackupPro or for the past year or so I use Titanium Backup to backup apps and their data. After flashing a new rom and then trying to restore the apps and data with Titanium Backup about 8 of the 74 apps installed on my phone would not restore including "files by google & chrome" so that is not too bad. Generally for the past year or more I found that trying to flash a new build on top of your existing build did not work well and created bugs or performance issues. It has been suggested to use the Lineage OS built in backup "Seedvault" which I tried but it would not backup/restore MANY, MANY apps stating "This app does not allow backup" and generally did not seem to work well (at least not as good as Titanium) so I decided to use the steps below and it works great.

Instead of trying to flash a new ROM build on top of an existing build you may want to try this. This is "similar" to creating an image of your ROM using TWRP but not quite (it is not a complete image of you existing ROM, just the important data). It will allow you to wipe your current rom, flash a clean rom/new build, then restore all your apps, data, settings, wallpaper etc. It works very well and will be a clean, seemless transition from one build to another since creating a complete image of your ROM no longer works with TWRP you can do this using TWRP instead. A BIG Thank You to @theelderstatesman & @m0han for sharing this information. I did a more detailed step by step of the information they shared.

In TWRP Recovery:

* Go to Backup and Backup just the data.

* Go to Wipe > Advanced Wipe - Wipe Dalvik / ART Cache, System, Data, Cache [DO NOT WIPE INTERNAL STORAGE]

* Flash ROM / New build (i.e.: updating from lineage-18.1-20201213-UNOFFICIAL- vs980 to lineage-18.1-20210104-UNOFFICIAL-vs980

* Flash BitGapps

* Flash Magisk

* Reboot System for the first time and go through the initial setup

* Reboot into TWRP Recovery and do a restore of data alone (RESTORE > and select your saved data backup folder)

* Reboot System
[G2 Original Android Development] IT Tech:
I am usually careful not to abuse my phone. I had replaced the camera and battery a couple years ago. So a couple weeks ago I dropped the phone and even with a nice protective drop resistant case around it, it must have landed just slightly off the corner and cracked/trashed my screen. So I replaced it with a brand new screen.

IT IS NICE TO HAVE A BRAND NEW INSTALLED, RESPONSIVE SCREEN :giggle: 👍 🕺

Thank You to @aleasto and here is some information for you and others as well testing lineage-18.1-20210104-UNOFFICIAL-vs980 using my instructions to install the ROM from my post #115 above.

* I mentioned in a previous post the 18 ROMS did not have the advanced camera features/functions. They are now available again. FIXED! 😉

* Took a picture with the camera then tried to access it (inside the camera app) and the picture was blank and so were all the other pictures I had taken with the camera app. I managed to reboot and everything worked again so hopefully this was a temporary glitch.

* The screen no longer auto wakes. Sometimes the screen does make the system sound (the same system sound when the Lineage boot animation is complete) as if it is going to wake but the screen no longer turns on/auto wakes by itself which was an issue I mentioned in a previous post.

* As mentioned prior, the screen while charging was not responsive. It now works well while charging. FIXED! 😉

* Double tapping the status bar still does not put the screen to sleep, as mentioned in a prior post it drops down the notification menu but if you double tap on top of the notification menu it will put the screen to sleep. In other words you have to swipe down on the status bar then double tap the top of the notification menu to put the screen to sleep. The proper function should be to double tap the status bar and that puts the screen to sleep.

* The default network setting for the VS980 is now set to the correct setting and data/4G LTE, phone and messages work with that setting. FIXED! 😉

* When I first booted, Airplane mode was ON by default and NO LTE (states: Emergency Calls Only) FIXED! 😉
[G2 Original Android Development] 60nine:
double tap to wake works on my d802 (it has to be enabled from within settings)... while double tap to sleep works only from lockscreen...

if you use Nova launcher (pro) - double tap on home screen can be set up to lock the screen too (via gesture settings in Nova Launcher)

btw i installed v18.1 from the scratch (clean install)... for now - everything works smoother than on the previous Lineage roms i've used... (note - i don't use d802 as a daily driver anymore, i don't have a sim card in the device)...

and i really, really hate this new XDA look, both in app and on PC :/ not user friendly and really clutteredl... what were they thinking :(
[G2 Original Android Development] theelderstatesman:
@aleasto and others: I finally found the advanced restart option again. It's hidden deep inside the settings: Settings - System - Advanced - Gestures and Movements - On/Off Menu - Advanced restart ...
[G2 Original Android Development] IT Tech:
* Double Tapping the Status Bar to put the screen to sleep is the option that does not work correctly

* Wow, I use Nova Launcher but just for a a few basic things. I Never realized or looked into it having the ability to double tap the screen to lock it. I even enabled it on a Samsung GT-N8013 Tablet using Lineage OS Thank You!

Awesome, Thank You!
[G2 Original Android Development] 60nine:
i've never used tapping on status bar in my life :) i always disable it in settings...

yes, when in doubt - use Nova launcher :) although, you have to use pro version because free one doesn't have gesture settings enabled (or so i think)
[G2 Original Android Development] IT Tech:
I have Nova Premium Version ;)
[G2 Original Android Development] IT Tech:
@aleasto

* Sometimes I have been experiencing the voice to text feature in messages not working. Sometimes I can reboot and it will begin working other times it will not work after a reboot. Currently not working at all.

* Video recording does not work. I receive the following:

"Could not start media recorder, Can't start video recording"
[G2 Original Android Development] agrumpyone:
The feedback would be even better if there were more detailed info provided like a logcat.

see https://wiki.lineageos.org/how-to/logcat
[G2 Original Android Development] Sunandroid:
I got back my old LG D802 last week, and installed this ROM yesterday. And I've got to say, I'm really impressed. Performance wise I'd say, its usable as daily-driver without any issues. I didn't test what works and what doesn't though.
[G2 Original Android Development] theelderstatesman:
Would you mind to tell me, what was broken and who fixed it?
[G2 Original Android Development] Sunandroid:
Nothing was broken, his phone was broken and he used my G2 for the better part of the last year.

I fix my phones myself usually. :) The only thing I have replaced so far was the screen assembly (2 or 3 times I think) and the battery (2x I think).
[G2 Original Android Development] theelderstatesman:
Thanks for your answer ...
[G2 Original Android Development] IT Tech:
@aleasto knows I will help him with any information he needs. Did not realize you were speaking for him.
[G2 Original Android Development] theelderstatesman:
I'm sure that @agrumpyone was well intended. Finally, it's up to you, if you add a logcat or not, just as it's up to @aleasto to ask for it or not ...
[G2 Original Android Development] agrumpyone:
I think you got me wrong and didn't mean any offense Only wanted to say that IMHO there is a faster way to tackle down this issue. let's focus on the right things.
[G2 Original Android Development] wally_ctba:
Hi, I didn't realise that the USB is not working well when connect to the PC. The option to transfer files didn't make the phone visible on the explorer, only the transfer photo works. Any Idea if I had to reset and reinstall?
[G2 Original Android Development] theelderstatesman:
I had that exact problem last year and I will help you. Just give me half hour ...
[G2 Original Android Development] theelderstatesman:
I just sent you a message with some screenshots ...
[G2 Original Android Development] j1mhid:
Hallo, friend.

I couldn't find ROM for my LG G2 F320K, this model lacks in the download list.

will u help me, which model's of the listed ROMs can I install for LG G2 F320K?

thnk u.
[G2 Original Android Development] sinkoo1979:
anybody got aboot file for LS980? can't flash los 18.1 asking for update the aboot file. any help will be greatly appreciated.

Update: found the file and flashed los 18.1.
[G2 Original Android Development] theelderstatesman:
The Magisk Manager APK can now be flashed from within TWRP:

The Magisk Manager APK can now be flashed from within TWRP

Magisk is now distributed as part of the Manager APK, meaning you no longer need to flash a separate ZIP file from a custom recovery.

www.xda-developers.com
[G2 Original Android Development] lethalprophecy:
Feedback!

Verizon G2 VS980 testing latest January Security patch

lineage-18.1-20210120-UNOFFICIAL-vs980

NikGapps-core-arm64-11-20201231-signed

TWRP 3.3.1

Magisk v21.4

Magisk Manager v8.0.7

dirty flash/update rom not work

unable to backup/restore rom using TWRP

using app called Migrate uses root for backup try it out!

apps/data/sms/settings

provides flashable .zip is Early Access

cant use media recorder to record video will not start!

flashing Nik gapps basic not work

no phone contacts dialer, flash core Gapps only

SystemUI crashes every 10 minute either Gapps BiT or Nik

Browsers/Twitter close/restart

Hovering 1GB ram usage lightning quick for old phone

battery life 1 day mixed 4 days idle (normal and GREAT!)

not sure if just me certain sensors broke now

sensors broke using sensors off developer quick settings tile

can't use compass or detect emf now on this phone

I miss Resurrection Remix customizable settings

Remember that little menu all those custom roms had with all those extra neat features?
[G2 Original Android Development] aleasto:
You're using the wrong arch gapps
[G2 Original Android Development] lethalprophecy:
LMAO nice!
[G2 Original Android Development] J.V.B.:
Opengapps for R is available in testing, links to it sourceforge readme: https://sourceforge.net/projects/opengapps/files/
[G2 Original Android Development] BiG_FooT:
I'm on Lineage 18.1 build 30 November 2020 for D802. When I try to clean flash latest build, flash aborts. See attached picture with error message. Is writes: package is for D802 but my device is a D802. Any help appreciated
[G2 Original Android Development] aleasto:
Your TWRP is outdated
[G2 Original Android Development] BiG_FooT:
Updated TWRP and also had to format data as it bootlooped. Now it's working like a charm again. Thank Aleasto
[G2 Original Android Development] IT Tech:
VS980

lineage-18.1-20210104-UNOFFICIAL-vs980

BiTGApps-arm-11.0.0-R19_signed

TWRP 3.3.1

Magisk App 22 (22000) - Still does not pass Safteynet with Android 11

Magisk Manager - Is dead, no longer needed/available because of the Magisk App (v22.0)

@aleasto

My "Visual Voicemail" has disappeared from the Phone App and is no longer available on the phone anywhere. Is this a Carrier/Network issue or is this ROM/Network related?
[G2 Original Android Development] cauch_y:
@IT Tech https://review.lineageos.org/c/LineageOS/android_vendor_lineage/+/303438/ in the last build some changes to the voicemail have been merged
[G2 Original Android Development] IT Tech:
Go it, Thank You. I had not checked for the latest build I guess from the date of it since at least 20210120 (lineage-18.1-20210120-UNOFFICIAL-vs980).
[G2 Original Android Development] Darezi:
I'm having a problem getting pass the boot downgrade and installing the custom recovery. The phone will either get bricked after downgrading the boot or when I install the recovery and do the restart. Even when I manage to downgrade it and install the recovery when I try to load the OS it gives me an error that it can't do it when I give it a command "adb sideload filename.zip ". I used a tutorial from the lineageos wiki. When it gets bricked I use "srktool21" to fix it.

Would appreciate any help and if there is more detailed instruction than on wiki.

I got D802. I used the recovery from 17.1 and then the 18.1 OS.
[G2 Original Android Development] Okiba:
Hi everyone! A bit of a newbie here. I'm currently running Lineage 14.1 on D802 and would like to upgrade to 18.1. I run TWRP 3.3.0-0.

- Can I upgrade to 18.1 without wiping everything as this is the same ROM? Settings up all the apps, Exposed Framework etc, is going to take a lot of time I sadly don't have at the moment (was thinking trying "Migrate", the app).

- My GPS doesn't get a fix easily. I was reading couple of old threads mentioned it's a problem with Lineage or other roms - and people solved it by going to stock, getting a fix, and only then flashing Lineage. Is that still the case with 18.1? because if so I - I guess I should be doing that first before the upgrade.

Thanks!
[G2 Original Android Development] cauch_y:
According to the https://wiki.lineageos.org/devices/d802/upgrade it should be ok with upgrade however remember to make a full backup. Better safe then sorry.

I've observed that GPS works really poor when my phone is in the case. Without the case, GPS works pretty good on the outside while in the car still can has some minor problems.
[G2 Original Android Development] Okiba:
Thank you cauch_y.

I'm not sure it's the case. With Stock rom I can get a fix in couple of seconds from my balcony. From Lineage, it takes 3-4 minutes (same case). There was a thread not too long about that. That you need to save satellite information from the Stock - or else it won't work.
[G2 Original Android Development] IT Tech:
Using:

VS980

TWRP 3.3.1

lineage-18.1-20210120-UNOFFICIAL-vs980

BiTGApps-arm-11.0.0-R19_signed

Magisk-v22.0 (Rooted) Still does not pass Safteynet with Android 11

Observations after installing lineage-18.1-20210120-UNOFFICIAL-vs980:

* Trying to install BiTGApps-arm-11.0.0-R20_signed FAILED TO INSTALL (reverted back to R19)

* Visual Voicemail is still not available/does not work (this is a big setback for my personal daily use of the phone)

* Phone still randomly produces the screen wake up/lineage boot animation sound

* Messages talk to text still works intermittently

* Double Tapping the status bar now puts the screen to sleep. FIXED! ;)
[G2 Original Android Development] theelderstatesman:
How come I'm not surprised that BiTGApps-arm-11.0.0-R20_signed.zip didn't work? For me, BiTGApps is just an alternative, while there's no Open GApps. Other than that and if there was an alternative to BiTGApps, I wouldn't use it, although it used to be good once a long time ago ...
[G2 Original Android Development] ricardohnn:
OMG... This port runs so nice, that I'm surprised. I wanna search for a small phone with android 11... Never thought i would go back to g2, but this port... It's damn sweet. Using bitgapps btw, worked just fine.
[G2 Original Android Development] theelderstatesman:
I would not call it a port, but a rom - but it's ok ...
[G2 Original Android Development] aleasto:
New builds up

March security patch
[G2 Original Android Development] perosmc:
Great build, everything just works. If only battery would magically improve. It's the worst issue since day one.
[G2 Original Android Development] Darezi:
Could someone please help me with a more detailed step by step to flash the phone? I've tried the why it's explained in lineageos wiki, but for some reason, in 90% I can't get past the installing a custom recovery. The phone gets bricked after doing the command "reboot recovery" when it restarts. Two times I managed to get into the recovery but it didn't want to the command "adb sideload ****.zip". It either says no file or just shows an error message that something went wrong when tried to use the file. And the phone gets bricked :(

All the files are copied in the ADB folder. I tried with the ROM name as it was downloaded and I even renamed it to a shorter one.

I followed the instructions in detail as written, but had no luck...
[G2 Original Android Development] 60nine:
i'm running a previous January build and i have some questions and "issues":

1. google drive is closing down on me on every start (it works ok when i install it - but from the 2nd time i start it up - it closes)

2. my PC doesn't see a mobile device when in USB transfer mode (windows 10, tried both with Win Explorer and Total Commander) - the device is seen only under Control Panel > Devices & printers > Unspecified > LG D802 - and i can't do anything from there (like file transfer etc.)

3. can i just do a dirty flash with the new build or is clean install preffered way? (this is not my daily driver so i don't care much about losing any data)

thing is - i'm trying to transfer the latest build zip file from my PC to the phone but it just refuses to do it :)

i've even tried to copy the file using stock file manager on phone and via its Google Drive folder (connected to my account) - but it stops on 0% with nothing copied to the device...

edit:

swithed to PTP mode - now my PC shows only internal storage with Camera/DCIM folders - i've managed to copy the zip there...
[G2 Original Android Development] theelderstatesman:
I just send you a PM with some screenshots regarding point no. 2 of your post and the "edit" part also ... Good luck ...
[G2 Original Android Development] 60nine:
yes, thanks - it works now :)

for everyone else with the same "issue" (in English):

1. go to Windows 10 device manager (right click "This PC" > Properties > Device Manager)

2. you'll see "Android Phone" there (on top), and under it - "LG Android Interface"

3. double click "LG Android Interface", select update driver

4. select "Browse my computer for driver software" and on the next page

5. select "Let me pick from a list of available drivers on my computer" and on the next page

6. select "MTP USB Device" > click "next"

7. driver should be updated and installed

now the phone is visible under "Portable devices" in device manager as "LG-D80x" and you can browse its internal storage with Windows Explorer

thanks to @theelderstatesman for the guide and screenshots he sent via PM :)
[G2 Original Android Development] theelderstatesman:
That's a very good guide, thank you ...
[G2 Original Android Development] 60nine:
no problem, thank you...

now - another problem with the new build:

1. dirty flashed the new build - phone starts with LG and Lineage logo, after few minutes - it boots back to TWRP

2. tried wiping the system/cache/dalvik, flashing the build again - same thing...

i'm on twrp3.3.1.0 - latest one...

should data be wiped as well? or gapps flashed afterwards again?

sorry for so much confusion, i haven't been around for months :)

update:

SUCCESS!

i've tried again - this time by flashing everything again from USB OTG drive, here is what i did:

1. wipe system/cache/dalvik

2. flashed rom zip > clear dalvik/cache

3. flashed bitgapps (R19) (tried newer R20 as well but it gave me an error) > clear dalvik/cache

4. flashed magisk (v21.2) > clear dalvik/cache

5. reboot...

device booted normally with all my settings and apps intact... i don't know what happened earlier... maybe flashing gapps again helped (i don't recall flashing the gapps again after dirty flashing the rom, but then - i've said that i'm a bit out of this waters lately and maybe i just forgot it's mandatory :D )
[G2 Original Android Development] BiG_FooT:
Thanks for sharing this workaround. I faced exactly the same issue (bootloop).
[G2 Original Android Development] IT Tech:
Just an FYI Magisk v22 is available with some nice improvements including no more Magisk Manager, just the App and Hiding Roots from Banking Applications.

;)
[G2 Original Android Development] 60nine:
yes, i know there is v22, but i had this one already on otg drive from my previous flashing :)
[G2 Original Android Development] Darezi:
I managed to find the problem for not being able to get into the recovery mode. There is a missing command in the wiki tutorial. It's missing an "exit" command when finishing with "adb shell" in "downgrading bootloader" so that you can do "adb push" for installing a custom recovery.

Please don't judge me as I don't have that much experience in this. I had to google on how to exit "adb shell" for the next command.

What Gapps do you recommend?

Also is it ok to stay with Lineage recovery or should I switch to TWRP?
[G2 Original Android Development] J.V.B.:
There are opengapps available, they are not on the main site yet because they are in testing.
[G2 Original Android Development] IT Tech:
Well heck, you went through the process of getting windows to recognize your phone so you could access it and transfer files to it you should have updated to the latest Magisk.... :giggle:
[G2 Original Android Development] IT Tech:
No Thanks, don't need that headache :giggle:
[G2 Original Android Development] theelderstatesman:
I know that and you already told me once, thanks, but I hear they're very unstable, so I'll wait for the stable one like I did last time and that's what I mean when I say no Open GApps, i.e. no stable Open GApps ...
[G2 Original Android Development] Darezi:
So what I see as I've been trying to download "BiTGApps" since yesterday that they will not be available any time soon. Their thread has been closed temporarily for more than a month and you are not able to download anything?
[G2 Original Android Development] aleasto:
Consider using MindTheGapps as suggested by LineageOS Wiki
[G2 Original Android Development] Darezi:
Just installed it. Thanks.
[G2 Original Android Development] 60nine:
well, i just forgot to do that :D and i can always update via Magisk anyway :)

@aleasto - thanks for the MindTheGapps hint, is there anything different between those and bitgapps because MindTheGapps are almost double in size?

edit: i see there is Velvet.apk in MindTheGapps which alone is almost 145mb :/
[G2 Original Android Development] Darezi:
What launchers do you guys use? I'm not that fond of the one that came with the rom.
[G2 Original Android Development] theelderstatesman:
I use Nova Launcher ...
[G2 Original Android Development] Darezi:
I haven't used it in years. I'll give it a try. If it's good as it used to be it will be great.
[G2 Original Android Development] IT Tech:
TESTING lineage-18.1-20210303-UNOFFICIAL-vs980

Testing with the following:

VS980

TWRP 3.3.1

lineage-18.1-20210303-UNOFFICIAL-vs980

BiTGApps-arm-11.0.0-R19_signed

Magisk-v22.0 (Rooted) Still does not pass Safteynet with Android 11

Observations after testing lineage-18.1-20210303-UNOFFICIAL-vs980:

* Trying to install BiTGApps-arm-11.0.0-R20_signed FAILED TO INSTALL (reverted back to R19)

* Messages talk to text still works intermittently. A reboot is required to make it temporarily work.

* Taking a picture using the camera - the picture you take does not appear in the camera app. You can navigate to the picture using FILES or similar app but they will not appear until you reboot the phone. A reboot is required after every picture you take.

* Video does not work. "Could not start media recorder. Can't start video recording."

* Phone still randomly makes screen wake/lineage boot animation sound

* If you are in an area or inside a building and have Poor/No LTE signal or Wifi, the phone is unusable (System UI Freeze ups, crashes, lag, apps non responsive etc.)

* Battery usage is seems to be poor Edited: after a few days of using this build the Battery Usage does not seem to be poor. I have seen this on other builds as well. When you initially flash it then immediately use the ROM it will eat up battery for the first day or so. So it seems pretty good now.

* Visual Voicemail FIXED! ;)