yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] Lessmore:
[MENTION=4621343]ernestriderxx[/MENTION]

For god sake, man. It tells you right in the error message what to do.

Aboot is part of a bootstack. Update it. Any CAF or stock newer than JB would do.
[G2 Android Development] prsa01:
This may seem obvious to you, but I've been flashing roms on multiple devices for years and your answer means nothing to me. Not to mention that the condescending attitude for someone asking a perfectly legitimate question certainly isn't helpful.
[G2 Android Development] Lessmore:
[MENTION=4433692]prsa01[/MENTION]

It would be legitimate question if bootstack requirement wasn't mentioned in OP. But it was.

If "Update bootstacks to CAF or anything newer than JellyBean"

Is not helpful answer, I don't know, what is. It is essential stuff for very old g2 and newer roms, you would knew if you "flashed ROMs for years".

I would spoon him link to right file to flash, but he didn't mentioned model.

My mild annoyance when helping with perfectly searchable question, that appears from time to time when someone do not read OP and tries to jump straight from oldest stock jb(probably) to LP or PIE or everything in between and get an error "your aboot is old, update it", is not a bad attitude. Not even trying to find answer yourself is.
[G2 Android Development] gneitingable:
I get the following in the log while flashing ROM:

Installing zip file '/sdcard/AospExtended-v6.6-vs980-20190610-1459-OFFICIAL.zip'

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

I:Update binary zip

I:Zip does not contain SELinux file_contexts file in its root.

I:Legacy property environment initialized.

No path given to file labeling backend

selinux_android_file_context: Error getting file context handle (No such file or directory)

script aborted: E3004: This package is for device: vs980,g2,galbi; this device is .

Warning: No file_contextsE3004: This package is for device: vs980,g2,galbi; this device is .error: 3004

Updater process ended with ERROR: 7

I:Legacy property environment disabled.

I:Install took 0 second(s).

Error installing zip file '/sdcard/AospExtended-v6.6-vs980-20190610-1459-OFFICIAL.zip'

Updating partition details...

I:Data backup size is 0MB, free: 23917MB.

I:Unable to mount '/usb_otg'

I:Actual block device: '', current file system: 'vfat'

...done
[G2 Android Development] ST Dog:
What TWRP are you using?

That's a typical sign of TWRP being too old.
[G2 Android Development] gneitingable:
Blastigator's 3.1.0-1
[G2 Android Development] popxunga:
Flash TWRP 3.3.0.0 and try again.

http://www.gregtwallace.com/lgg2-projects/twrp/?version=3.3.0-0
[G2 Android Development] moienh:
can anyone solve gps fixing problem in this rom?
[G2 Android Development] prsa01:
Ls980 LTE w/stock zvi rom, will move back to pie and report results

**update - first attempt at moving back to pie (this) rom after getting lte/4g back on zvi was unsuccessful. Lost lte again when I moved back to pie using beta twrp. This attempt included separately flashing sprint & apn fixes as well as resetting network before running out of time and restoring zvi. I need to study samaris' successful move to pie w/lte and will try more things later.

===original post===

ls980 - (as previously discussed)after losing lte/4g when moving to this rom/pre-beta twrp, I was able to get lte back by flashing to stock zvi (lollipop) in the sprint dev section. When I move back to this rom using beta twrp will report if able to keep lte/4g.

Factory reset

Flash zvi, magisk, twrp beta, open gapps pico

Go thru setup

I had challenges with connections optimizer continually turning my wifi off, had to disable that. Also had some other quirks of flashing backwards that far.

Did carrier reset (##72786#) may be different for some carriers.

Confirmed lte - more to come when I go back to this rom
[G2 Android Development] Pezsmapatkany:
Hi everyone!

I managed to get my hand on an LG G2 D802 (baseband: M8974A-AAAANAZM-1.0.190128). It was a Hungarian Vodafone carrier locked phone which I managed to unlock with a code. I flashed the latest "6DH" stock version, rooted it with LG Root Script v1.2 (tried other methods/scripts too, but those were unsuccessful attempts), then run D802_AutoRec. One of these steps downgraded something to be able to root it but it was successful.

Then I updated the recovery to twrp-3.3.0-0-d802-bump-blastagator-signed.zip, and installed bootstack-d802-CAF-signed from https://xdaforums.com/lg-g2/development/boot-g2-hybrid-bootstacks-t3183219.

Then installed AEX from OP and opengapps.

The device and the OS were working fine, except that it randomly restarts 1-2 times a day in best case and 1-2 times / 10 minutes in worst case. Mostly 2-5 restarts / day.

I tried to use different bootstacks from here (green Download Simple Bootstacks button) https://xdaforums.com/lg-g2/general/d802-bootloader-changer-1-1-jb-kk-lp-t3104380

Tried LP-Bump, KK, maybe some other too, I lost track.

I also tried to use different modem images (extracted from stock images), but still random crashes.

After so many crashes the system became unstable and it became unusable, not even a data backup was possible from TWRP due to a filesystem error. Now I reinstalled AEX and gapps, rooted and installed LogCat and still trying to create some usable logs with it, so I will post some logs later.

Until that, does anyone can tell what is the problem here? Is it AEX/modem/bootstack/other related? What combination should provide the most stable system?

Any help is highly appreciated!

Thanks!

Edit: here are the logs:

https://we.tl/t-WdLXOVjsCf
[G2 Android Development] Lessmore:
[MENTION=10054553]Pezsmapatkany[/MENTION]

Have same problems on last roms with f2fs formatted data. Fun part is -

With ext3 rom can lag furiously sometimes, cant receive a call or wake because of freezes in sleep. It working fast and snappy one moment and slows down to crawl without changing in load. With f2fs all fine, no slowdowns, but it reboots.

It can be unrelated to rom, i have some doubts about my emmc. I rolled back to nougat, some lag when apps like aliexpress loading, but it is manageable.

Can't tell for sure until test separately on my second phone.
[G2 Android Development] aleasto:
The provided logs are not helpful.

I need /proc/last_kmsg after it reboots
[G2 Android Development] kapex1:
Vibrate on call not working

Hi all!

I started using v6.6 on d802 recently and I like it very much, but one thing bugs me, my phone doesn't vibrate on calls. I checked the settings and this function is turned on. If the phone is in vibrate mode it's completely silent when i receiving a phone call and I've missed some calls because of it. The vibrating is working with touch and notifications. Any idea what should is do with this situation? :confused:
[G2 Android Development] Pezsmapatkany:
I'm pretty sure that the problem was the use of F2FS. By using ext4, it now runs for almost 2 days now without any restarts or issues. I wanted to wait a few more days to see whether it’s just coincidence that it doesn’t restart now or is it really fixed it, but the fact that you experienced the same issue with F2FS I think it’s safe to say: If you experience random crashes/reboots/restarts try to use ext4 instead of F2FS.

Thanks, but sorry, I already reflashed it, so I don't have the logs anymore.
[G2 Android Development] IT Tech:
Problem with Media Volume

VS980 When connected to a Bluetooth source, speaker etc. the volume is extremely, extremely low even though the media volume slider is set to 100%
[G2 Android Development] Ronaldj25:
I have a problem with Substratum; I have given all the necessary permissions to install layers but although I reboot my D802 they do not appear installed. Is it a matter of software update? or what happens? I am trying to install Ewhats Color, to modify the colors of WhatsApp
[G2 Android Development] Kruis:
[MENTION=4742143]YoDevil[/MENTION] New Update?

---------- Post added at 02:31 PM ---------- Previous post was at 02:31 PM ----------

[/COLOR [MENTION=4742143]YoDevil[/MENTION] New Update?
[G2 Android Development] mbwd:
LS980, ROM Works, but need to reset PRL

So I was able to easily install AEX with no issues. Everything works except that I need to reset the PRL b/c I want the phone to be on Tello. Any idea how to reset the PRL in this rom -- or at all?

Here is the build number in case it is helpful: aosp_ls980......190605.0036d017dcbc5.
[G2 Android Development] prsa01:
Working with ting for sure maybe tello but haven't gotten lte working

I know I had ting working from freedompop by dialing ##72786# in zvi rom and then updating to this rom. For whatever reason dialing that code doesn't do anything for me in this rom. I think, but am not sure, it also worked for tello. Can't remember.

In both instances I lost lte when I moved to this rom. Simaris, in this thread, has gotten lte working with this rom. I've tried recreating his steps but haven't successfully gotten 4g/lte to work in this rom yet.

If anyone knows how to get the reset to work on this rom (##72786#) or get lte (ls980) on this rom please post.
[G2 Android Development] emirberkcelik:
Thanks bro new update? Can we use the recording key on the search screen without having to press it, which makes it continuous. Is there such a mode?
[G2 Android Development] farzadsfx:
[MENTION=4742143]YoDevil[/MENTION] hey dude thanks for great works, i have problem for install quickremote mod on 6.6 and lineage16 , i do same Instructions for all your oreo or pie roms and everything work before 6.6 that's mod need init.d support and permessive selinux for working

#!/system/bin/sh

busybox mount -o remount,rw -t auto /system
busybox mount -o remount,rw -t auto /data

chmod 666 /dev/ttyHSL1

#try to set target country
country="$(getprop persist.sys.country)"
setprop ro.build.target_country $country

#set operator not necessary
#setprop ro.build.target_operator $operator

setenforce 0

qlog="/sdcard/QRemote.log"
echo "$(date +"%m-%d-%Y %r" ) Init.d successful, SELinux status is $(getenforce)" >> $qlog
num="$(wc -l < $qlog)"

if [ "$num" -gt 10 ]; then
echo -e "$(sed '1d,2d' $qlog)" > $qlog;
fi

It's init.d need a target country maybe something in 6.6 like lineage16 change to stop working this mod , im back to 6.5 to find problem
[G2 Android Development] jimmygua:
Thanks for the update!A small problem ,the date dosen't show on the home screen when the language is Chinese ,but it shows when the language is English :confused:both works on 6.6
[G2 Android Development] MJ.nfl:
Just some info for users of Omni Switch. After flashing 'OmniSwitch-Pie-09092018.zip' on the v6.7 the phone won't boot. Stuck on AOSP logo.

Bug reported on this site under topic---

[PIE] [9.0] [Nougat - Pie] OmniSwitch Flashable Zip - Universal
[G2 Android Development] aleasto:
The latest build enabled a security feature that forces Privileged Apps to be whitelisted in the system: https://source.android.com/devices/tech/config/perms-whitelist

OmniSwitch package provider should add their app to the whitelisted apps as the doc explains
[G2 Android Development] MJ.nfl:
Thank you for the info and all you do... I'll post info for the package provider.

Can I just ask you one question, as you are the one with most expertise for our LG G2.

My wi-fi stopped working a year and half ago. I always thought it was due to hardware failure, but a few months back I did a restore from my backup, but only the EFS file. (I don't know exactly which version of AOSP was backed up - maybe 6.4 or 6.5).

After restoring EFS file, to my surprise, wi-fi started working again and it worked for 3 months until I flashed some LG remote zip that seems to killed my bluetooth and wi-fi.

To my regret I didn't do any backup while wi-fi was working and I deleted the old backups because of space constraints.

Do you have any suggestions for wi-fi problems that are caused by software?
[G2 Android Development] farzadsfx:
[MENTION=4742143]YoDevil[/MENTION] thank you so much i haven't same problem in 6.7 everything work now
[G2 Android Development] farzadsfx:
i fixed my wifi issues with this video and i don't think lg remote can make wifi problems already g2 have wifi hardware issues

https://www.youtube.com/watch?v=6_0jzp65eLY&t=472s
[G2 Android Development] moienh:
is gps fixing stay problem with this new update?
[G2 Android Development] Archaeoman:
[MENTION=4742143]YoDevil[/MENTION] I just updated from version 6.5 to 6.7 (Clean flashed) on my D802 and now the phone stucked on AOSP logo and doesn't go further. any solutions?

p.s: downgraded to ver6.6 and it worked!
[G2 Android Development] MJ.nfl:
Does anybody have a flashable Omniswitch zip file that works with AOSP v6.7.

YoDevil pointed out that Privileged Apps need to be whitelisted in the system: https://source.android.com/devices/t...erms-whitelist

Problem is OmniSwitch package provider seems to be MIA. Can anybody whitelist this file:

https://www.androidfilehost.com/?fid=1322778262904002129

It's the latest version I could find. Please help or I'm stuck on v6.6
[G2 Android Development] aleasto:
In attachments
[G2 Android Development] MJ.nfl:
You are the greatest!!!! Thank you, thank you so much. I'm going to try it immediately...

Edit:

And it works perfectly. Long live our G2... And thank you so much again...
[G2 Android Development] aleasto:
[MENTION=7111694]Simaramis[/MENTION] [MENTION=9759393]Cruzg10[/MENTION] and other ls980 users

Please try this build of LineageOS 16 and let me know if LTE works out of the box!

https://drive.google.com/file/d/1pvwuJQkQGix6NooXrH6PmhTEF3pfq5JR/view?usp=drivesdk
[G2 Android Development] prsa01:
bootloop to twrp

Tried updating using beta twrp created to help/fix lte issue (3.0.0.0.d) from zvi after factory wipe. My ls980 would run the lineage loading logo for an extended period and then reboot to twrp.

Don't know if it means anything but I was getting a faint double-click noise every 10 seconds or so while lineage boot was attempting.

Did try rebooting with same result.

Appreciate the efforts. Willing to try other options or ideas if you have them.

Thanks
[G2 Android Development] aleasto:
I already had confirmation that the build booted, so you probably did something wrong?

Follow your usual procedure for installing any rom. Also the TWRP fix should not be necessary on ls980
[G2 Android Development] aleasto:
I updated all variants to (finally) fix the brightness slider!

Also updated apns, so LS980 users check if this helps with Spring LTE [MENTION=4433692]prsa01[/MENTION]
[G2 Android Development] ox96115:
I find the gms BUG. (maybe is APP's bug)

the APP: https://play.google.com/store/apps/details?id=jp.naver.line.android

The app ask the location of privacy. Then I agree it.

Then the system is reboot randomly. When I refuse permission for the location. The random reboot is stop.

But it display I/O error in the TWRP. The system have a little lag.

updating partition details...

error opening:

'/data/data/jp.naver.line.android/databases/google_app_measurement_local.db-shm'(I/O error)

This problem occurs in AEX 5.8-6.6-6.7 rom with GAPPS (micro package). The same happens in F2Fs and EXT4.

------Now I reflash the AEX v6.7 ROM with GAPPS (pico package).

The data and cache formated for F2Fs.

I reinstalled all of the same apps except location permissions for LINE app.

There is no random reboot now. The system is very smooth.

The other Bug is the Gallery. The Video player can't control timebar.
[G2 Android Development] hamza87:
I experience an annoying bug when using the stock launcher (Quickstep?) when swiping left and right in order to scroll pages. I always set the swipe down gesture setting to display the notifications and this triggers even when swiping left or right. This doesn't happen with other launchers.

By the way, many thanks [MENTION=4742143]YoDevil[/MENTION] for that brightness slider fix.
[G2 Android Development] MJ.nfl:
[MENTION=4742143]YoDevil[/MENTION] Thank you for the brightness slider fix. It works great...

Is it possible to fix android setup for future versions. I always select mobile data setup during initial setup, but that doesn't seem to work. It always asks a wi-fi for updates (and since my wi-fi is dead) - only solution is to go to app info and disable app..
[G2 Android Development] prsa01:
Installs fine, unable to do prl update (tello)

Interestingly, same result with beta twrp (boot loop to twrp) so went to non-beta twrp and installed /boots fine.

I run into the same issue I have with other 16 roms (AEX, etc) unable to find a way to update/reset carrier/prl/profile. ##72786# doesn't do anything. Carrier settings just blinks and goes back to settings.

I get no network/data connection (tello, think ting was same) without doing a carrier reset when first installing zvi and nothing with this (or AEX) so assume a reset/update is needed. I did network reset with no results.

APN, PRL, profile - all Greek to me. Here is tello APN info if that means anything https://bestmvno.com/apn-settings/tello-apn-settings/

I did backup the rom so can go back and try things if anyone has possible solutions.

Thanks
[G2 Android Development] aleasto:
No data at all, not even 3G/HSPA? Calls are working?

On stock everything works with the same sim?
[G2 Android Development] prsa01:
Should have said no service. I am not in a service area at home so will need to verify tomorrow, but I don't believe I get service under these circumstances. Rarely use the phone service, just google voice/text over data.

It seems when I switched from freedompop to ting and then tello a carrier reset was needed to get any service on zvi rom (dial ##72786#). When I switch to any of these 16 ROMs I am not able to find a way to do a carrier reset (or PRL or Profile). I don't think the service will work without doing one (or more) of those.

The only time I had 3g without 4g was on AEX 16 with freedompop since for whatever reason a carrier reset was not needed.

I know very little about any of this so my assumptions may not be correct.
[G2 Android Development] zizuka:
Majestic! If we set it lower than 20, will it reduce the lowest brightness level even further or is that not possible? Thanks for the amazing work!!
[G2 Android Development] aleasto:
Does stock rom work out of the box?
[G2 Android Development] aleasto:
Historically we've always used 20 as the minimum brightness. Why do you need more?
[G2 Android Development] prsa01:
Zvi is one of the stock roms, only rooted. When I have switched carriers, or usually when installing a new rom after a factory reset wipe in twrp, I need to do a carrier reset by dialing ##72786# in order to get service. In AEX and lineage 16 dialing that code doesn't do a reset and I haven't found a way to initiate any of the resets in these roms (carrier, prl, or profile).
[G2 Android Development] zizuka:
For night mode, below 20 is nice when you are in the dark.
[G2 Android Development] Cruzg10:
[MENTION=4742143]YoDevil[/MENTION] - sorry for the delay. Long holiday weekend. Finally got to try out this lineage version and from the initial testing it works great. Very speedy and stable.

Works: BT, WiFi, WiFi tethering, AND LTE!!

Not working: brightness slider. Even at 80% is still very dim even with the all the display adjustments off.

I will be using it as my daily driver for the next week and will update with more feedback. LTE signal is a bit lower than on previous build but at this point that's just nitpicking.

Thank you brother!
[G2 Android Development] prsa01:
What service are you using? Sprint or one of the mvnos?

Does your service work without doing a carrier reset or have you found a way to do one on this rom?

Are there steps you take after installing the rom to get service? Do you do a factory wipe before installing rom? What rom are you coming from?

Thanks
[G2 Android Development] harunkaplan:
Thank you

Hello! I flashed Omniswitch-pie package but problem still continues, now the phone stucked on AOSP logo and doesn't go further? Is there any video for this solution, whats wrong
[G2 Android Development] 60nine:
[MENTION=4742143]YoDevil[/MENTION] - one question...

i've put the Polarcell 3200 mAh battery in my device, and the system shows (stock) 3000 mAh capacity...

since i'm surely not the only one that uses 3rd party Polarcell battery in our beloved G2 - is there any posibility that you post a flashable framework-res for d802 with capacity changed to 3200mAh?

or is there any other way to change this value without repackaging the framework-res file to get to the xml which stores that information...

i just want to get my battery readings correct...

thanks in advance...
[G2 Android Development] kocaman1321:
Can you try 3C Toolbox and set your battery value as 3200 mah? Idk if it works or not but just an idea.
[G2 Android Development] 60nine:
already tried before writing my post, it didn't work
[G2 Android Development] MJ.nfl:
Did you flash Omniswitch-pie-fixed file? It worked for me... I'm on TWRP 3.3, AOSP Extended 6.7, micro Gapps.

If you can't install Omni switch you'll have to flash just Aosp to get your phone working...
[G2 Android Development] Cruzg10:
I am using Sprint service. No mvno. LTE worked right out of the box. I was on AEX android 7.1.2 and just did a clean install (wipe dalvik, data, system and cache) and installed this, gapps and magisk and right grim the initial set up screen LTE was working. Didn't have to do anything or reset anything. I tried with a clean flash coming from CRdroid 8.1 as well and no issues either.

Edit 04 Sep 2019: With MNVOs you have to install a stock ROM or flash the stock firmware, activate the phone and once the phone number, imei, msn, etc are set, then you can install a custom ROM without having to reset anything. Everything SHOULD work out of the box if you do that.
[G2 Android Development] harunkaplan:
Thanks for reply

my twrp 3.3.0-0 ,ı flashed 6.7 rom-nano gaaps, magiskmanager and omniswitch pie, ı installed my apps, then when ı make system app and restart phone stuck logo, ı dont know what to do, there is no diffirent thing, what is my problem thanks
[G2 Android Development] prsa01:
Different than factory wipe?

Does anyone know if this is any different than doing a factory wipe? That is what I have generally done for a "clean" flash.

When I do that I seem to lose my mvno service (tello) until I do a carrier reset. I have not found a way to do a carrier reset on android 9 AEX or Lineage.

I'll try doing as you suggest and report results.
[G2 Android Development] ZELALAT:
[MENTION=4742143]YoDevil[/MENTION] I just updated from version 6.6 to 6.7 (Clean flashed) on my D802 and now the phone stucked on AOSP logo and doesn't go further. any solutions?
[G2 Android Development] aleasto:
Wipe System, flash again and make sure you're not installing TWRP app when prompted
[G2 Android Development] emirberkcelik:
Can we use the recording key on the search screen without having to press it, which makes it continuous. Is there such a mode?
[G2 Android Development] pspTP:
I just installed this ROM on my 5 yr old LG D301 G2 and I must say I am very impressed. Thanks to the OP for such a great ROM that breathed new life into my phone! Kudos!

The ROM is working very well barring this one quirk. Exactly every 30 min the screen shuts off for 5-10 sec and the phone seems to sort of reboot. When it comes on the wifi/bluetooth seems disconnected and everything gets connected again. This literally happens on the dot every 30 min. Its kind of annoying when I am on a phone call and this happens and the call cuts off.

Any ideas what is causing this?