yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] blastagator:
Beta 3.2.1-a (2018.03.19)

To anyone having problems, I ran a new beta just for vs980. If you can give this a whirl and see if the same weird issues happen, that would be cool. Doesn't really have any "changes" to the device tree or underlying ROM, but I did was resync the code (maybe something was broken when I ran the previous build) and added all of the new TWRP commits. I make no guarantees. Good luck, please report back. If you can pull the logs from TWRP/kernel from the

first boot after install of new version of TWRP

, that would be great.

Also, if you do get the no data issue on your VZW device, please try this and report if it works for you:
[G2 Android Development] ST Dog:
I didn't have any issues with 3.2.1-0, but I just got a spare device to test O ROMs (and some quirks I have with N ROMs)

I'll try 3.2.1-a as soon as I get time to do something with that phone.
[G2 Android Development] 89772752617tele@gmail.com:
Спасибо!
[G2 Android Development] Dev Dezigns:
[MENTION=5031300]blastagator[/MENTION] I noticed the AROMA hack fix wasn't applied and the transparency issue returned.
[G2 Android Development] VladAndreMano:
I've posted here by mistake, sorry!
[G2 Android Development] by rallier:
thank you blastgator, I am keeping follow you
[G2 Android Development] zauzaupt:
Twrp released 3.2.2, are you planing on update it?
[MENTION=5031300]blastagator[/MENTION]
[G2 Android Development] blastagator:
I'll try to build it within the next week or so. My BBQ VM died and I've got a lot going on at work. It will be built eventually though :)
[G2 Android Development] *Jonny*:
Hi i had installed latest version twrp 3.2.1, i have bootloop on oreo (affer install unity mod) but i can't enter to twrp - "press the volume down and power button at the same time for 2 or 3 seconds until the LG logo appears on the display.

Then release the buttons and then press and hold them again." i did that
[G2 Android Development] MB525:
You will have to press the volume down and power button at the same time until the LG logo appears on the display then quickly release the buttons and then press and hold volume up and down keys. Answer the following questions with "yes".

Press and hold power key for 10(!) seconds for a new try.
[G2 Android Development] blastagator:
VM is back up. Built d800 for testing and it boots fine on my phone and mounts my encrypted data. Running all variants now and will post tonight or tomorrow.
[G2 Android Development] ST Dog:
Which bootstack? It's varied a few times.

I use vol dn + pwr, release pwr at logo, then pwr again (never releasing vol dn).
[G2 Android Development] blastagator:
July 21, 2018 (3.2.2-0)

-TWRP Change Log:

There were previous reported issues regarding vs980 and losing signal which I didn't really get a lot of response to get an idea of what I might be able to do. With that said, I have no way to test this device, please report any issues.
[G2 Android Development] Zackptg5:
Can you post another mirror? pcloud is saying maximum limit reached. Thanks!
[G2 Android Development] blastagator:
Yes, done. Sorry, I had it on the other mirror but forgot to enable it.
[G2 Android Development] popxunga:
Just installed 3.2.2 version on my d802.

Tested the most vital functions to me:

-Backup

-Restore

-Flash ROM

-Flash add-ons

-Reboot to system

-Reboot to recovery

Everything worked fine :)

Just saw an uevent error message during the restore of the data partition that I saw also once during one of the many backups I did with version 3.2.1 version. I guess that this message is harmless as I never noticed any practical consequence.

Thanks for this and for all the previous versions btw of TWRP for our devices.
[G2 Android Development] jututt:
Don't you have very dim (or gray) nav bar buttons on latest 3.2.2?
[G2 Android Development] JuraP:
Signature verification failed?

When trying to flash the 3.2.2.0 zip, zip signature verification process fails. Downloaded twice, MD5 checksum is matching. Any idea? THX in advance
[G2 Android Development] hteles:
There is some option on TWRP settings about zip signature, uncheck-it.

Since you've checked MD5 SUM the zip is fine, and most of the zip files are not digitally signed.

Regards.
[G2 Android Development] VladAndreMano:
TWRP 3.2.3-0 got released, any plans of an update?
[G2 Android Development] Zackptg5:
I'm surprised he updated the last time, this device is eol
[G2 Android Development] ST Dog:
EOL? With O ROMs working today?

I wouldn't be surprised to see P on the G2.

That said, what's the compelling reason to update TWRP?
[G2 Android Development] popxunga:
The change log is here:

https://twrp.me/site/update/2018/08/06/twrp-3.2.3-0-released.html
[G2 Android Development] usb7:
Did some testing as my VS980 didn't have data for a while after being on CrDroid.

1. Flashed XDABBEB 3.1.2 (stock based VZW ROM, no data)

2. Flashed 39A bootstack (no data, restored older TWRP)

3. Flashed 39A modem (4g lte works!)

4. Updated TWRP to 3.0.2-1 (works), 3.2.1-0 (works), 3.2.2-0 (no data)

5. Flashed AOSP Extended 5.7 [8.1] (no data again, probably issue with the ROM)
[G2 Android Development] Zackptg5:
I've never had signal with crdroid on my vs980 but did with aospextended so that may be a rom issue. I haven't tested the last couple release though since I switched carriers
[G2 Android Development] ST Dog:
crDroid 3.8.2 working just fine on my vs980 (since last Nov). I haven't messed with TWRP 3.x.x on this phone though.

---------- Post added at 07:09 PM ---------- Previous post was at 07:06 PM ----------

What's new in 3.2.3-0:

* Fix automatic installing of OTA zips on encrypted devices

* Remove SuperSU from TWRP

* Support both md5 and md5sum file extensions when doing MD5 checking for zip files

Not seeing anything compelling there.
[G2 Android Development] ST Dog:
Did you go back to 3.0.2-1 or 3.2.1-0 and working data before AEX?

I had data working on AEX 5.6 and vs980 with VZW SIM last month on a test device. That was coming from 39A and TWRP 3.0.2-1 (I think it was, not 3.2.x). The digitizer on that phone was a mess though, and when I changed the front assembly (digitizer, LCD, frame) I broke LTE, even on stock.

Then I backed up my main vs980 and tried to restore it on the test device (to verify my backups were all good). Screen turned off while restoring and won't come back on. Something is there because alarms sound if it's on, and I heard notifications. Even went back to the old LCD but no change.
[G2 Android Development] frikisama:
Depends on your device being encrypted or not, for me and some other it is quite compelling ;)
[G2 Android Development] ST Dog:
We aren't getting OTAs though. At least none of the vs980 ROMs I've looked at do.
[G2 Android Development] frikisama:
D802 has weekly Lineage OS OTA updates. I thought all the variants did, sorry.
[G2 Android Development] ST Dog:
I think only "official" builds ever do and several variants are no longer official.

There aren't a lot of changes happening are there? 15.1 isn't official for any variant yet is it?

Even then is a convenience thing right?

You can still update manually, just won't auto apply OTA.
[G2 Android Development] popxunga:
LG D801/2/3/4/5 have LOS 14.1 builds.

LOS 15.1 official builds should become available shortly and LOS 16.0 work already started.

So there's a lot of changes going on.
[G2 Android Development] ST Dog:
I meant not a lot of changes in 14.1

There may be a weekly build, but no reason for the average user to update that often.

15.1 may never be official, and I doubt it'll be soon.

So, the TWRP fix doesn't seem compelling. I expect blastigator will update at some point, once there's a compelling update to incorporate.

Then again, he may merge/build at anytime.
[G2 Android Development] popxunga:
For me there's one item on latest twrp version that will save me rename the checksum file extension from md5sum to md5 each time I download some. But I can leave with this until [MENTION=5031300]blastagator[/MENTION] decides to include this patch into twrp.

While properly support ota updates for encrypted devices is also important for some users, patching for proper Pie support would be a more compelling reason to refresh twrp ... when the time comes.

Unless the developers team decides to skip 15.1 going directly to 16.0, currently I'm not aware of any reason to doubt about LOS 15.1 availability for D80x devices.
[G2 Android Development] ST Dog:
Unofficial 15.1 is available.

But official is another story and I don't really expect it to happen soon.
[G2 Android Development] kegang:
I've been using your TWRP.

Thank you for the update.
[G2 Android Development] Rush82:
I own a lg g2(d802).

Today I've flashed by twrp magisk 17.0.

Now I have bootloop.

I have tried to enter in recovery mode(twrp) without success: every keys combination doesn't work.

I have only succeeded to enter in download mode.

How could I do to enter in recovery mode?
[G2 Android Development] Rush82:
Could someone help me, please?
[G2 Android Development] BaschtlWaschtl:
Did you try both button combos? There are two ways of entering recovery.

You'll find the combos here in XDA or Google..
[G2 Android Development] 4Freedom:
Hey, I understand the difficulty and the related problem but dont paste this post everywhere:eek:

Here are the right stepa to solve your problem: https://xdaforums.com/showpost.php?p=77506705&postcount=1025

If you cant do it, you can try to boot into recovery using ADB or flashing stock firmware throught KDZ:good:
[G2 Android Development] Rush82:
I am not able to enter to recovery by combo keys.

Is something changed with last twrp(3.2.2.-0) or simply the recovery is corrupted?

Adb on fastboot screen doesn't recognize my device: Is it the right place to try to use adb?

I'm worried.

I wouldn't like to flash firmware and lose all data.
[G2 Android Development] ST Dog:
Magisk update caused bootloop for me too, but didn't affect TWRP.

Could you get in with hardware keys before?

I always make sure I can get in TWRP via all methods following updates. Recovery is useless if you can't get in and you don't want to find out there's a problem when you need it.
[G2 Android Development] Rush82:
Good news.

I'm not able to enter with keys.

I've tried more methods without success.
[G2 Android Development] 60nine:
did you shut the device off completely before trying the key combos?

key combos don't work if you try them while the device bootloops
[G2 Android Development] Rush82:
Yes , I wait till the lg logo disappears.

It's very strange.

The key combos doesn't work in the other lg g2 I own neither(magisk update went ok).

---------- Post added at 07:54 PM ---------- Previous post was at 07:36 PM ----------

During boot, Lg logo appears, then black screen, then again Lg logo and so on: this is what happens.

With adb I'm not able to control the device: adb devices shows no item.
[G2 Android Development] MB525:
I'm quite sure your timing is bad. The keys should work.

Describe exactly what you do and when.
[G2 Android Development] sheikhramnuj:
it is safe to flash this one to LG G2 f320L variant? Thanks!
[G2 Android Development] xNotta:
Thank you for the answer.

And for your work with keeping this recovery alive. :D

I guess [MENTION=2594975]luv2increase[/MENTION] was just trying to be a jerk by the providing a misleading and potentially malicious comment.
[G2 Android Development] blastagator:
Should be. I don't have one but I think all the F320 models share the same configuration.
[G2 Android Development] jeff5347:
I don't know if I'm missing something… but I flashed the updated twrp on my d800. Rebooted into recovery and went into setting and I don't see anything listed "restore defaults". Tried rebooting several times but nothing. Shows I recovered correctly as it states 2.8.1.1 and I also don't see anything to enable cpu temp. Stumped…
[G2 Android Development] berryman13:
flash the extracted recovery image with flashify
[G2 Android Development] vladmir:
Do you have some recovery theme for previous version? If so, remove it, reboot to recovery and retore to default settings.

LG G2 D802 20G Full Stock
[G2 Android Development] jeff5347:
That did the trick awesome thanks
[G2 Android Development] vladmir:
New themes!

http://xdaforums.com/showthread.php?p=50710747

LG G2 D802 20G Full Stock
[G2 Android Development] Garfield3333:
cache is ok with f2fs but ....

when i changed data partition to f2fs ......Enter PIN/ password to decrypt ????

but decryption is disabled.......so i don´t understand ???

THX for help........
[G2 Android Development] je2854:
Unless you want to be publicly flamed and laughed at. Please search the forums as it as been brought up numerous times. But for the purpose of spoon feeding. /data isn't working correctly right now.
[G2 Android Development] m@ch3:
Install fails I'm on 2.7 trying to update to latest. What should I do?
[G2 Android Development] bbender716:
Thank you for all your hard work. Read the thread, flashed the recovery and dori (of course!), then converted sys + cache to f2fs. Still waiting on /data kinks to be ironed out, but everything is running seamlessly. Nice job and thanks again!
[G2 Android Development] je2854:
Have you tried flashify?
[G2 Android Development] luv2increase:
They actually say that /system should stay ext4 because it is read only and ext4 does better than f2fs for that.
[G2 Android Development] blastagator:
How are you trying to install? What error are you getting? I can't help without details :p
[G2 Android Development] boyheadkick:
i just finished flashing cloudyg3 2.1 and right after flash the recovery shows 51c..noice..i remember the last time i flashed cloudyg3 with stock twrp i had to power the device down and let it sit for 10 minutes to cool down because it was hotter than normal to the touch..i'm doing the same though, for good measure :good:
[G2 Android Development] samuele94:
Sorry,can I change theme with this TWRP?
[G2 Android Development] 60nine:
yep... just create the "themes" folder under TWRP folder on your internal storage and put the file "ui.zip" there (see screenshot from file manager)...

i'm using material theme by Danilo Pantelic and it's looking great

theme thread

http://xdaforums.com/showthread.php?p=56446052
[G2 Android Development] samuele94:
I have to set some permission?

Sorry can I use this http://xdaforums.com/showthread.php?t=2665527 ???
[G2 Android Development] JRJ442:
Yes you can use those just fine, and I've based them on all of the recoveries found in this thread. The theme is the same one in the other thread. The actual theme creator is [MENTION=2719389]z31s1g[/MENTION].
[G2 Android Development] Rush82:
I was finally able to enter in recovery mode, uninstall magisk 17.0 and install magisk 17.1.

The method has been power and vol down till Lg logo, releasing all, then vol up and vol down.

My error was about not releasing vol down after first step.

Thanks to everyone for suggestions and apologizes for the amount of posts.
[G2 Android Development] popxunga:
Just to say that unofficial LOS 16.0 is now available for D802.

Enviado do meu LG-D802 através do Tapatalk
[G2 Android Development] blastagator:
September 22, 2018 (3.2.3-0)

-TWRP Change Log:

As always, please report any bugs / issues.
[G2 Android Development] mrLoma:
[MENTION=5031300]blastagator[/MENTION]

There seems to be an issue with the latest 15.1 ota , which makes it only bit in recovery, no matter what you try to boot.

You probably already heard, but to be sure I'm posting it here too.

https://xdaforums.com/lg-g2/orig-development/rom-lineageos-15-alpha-d802-t3707239/post77805855
[G2 Android Development] blastagator:
Thanks - I'll ask over there what the solution was and rebuild when I get it.
[G2 Android Development] blekr:
[MENTION=5031300]blastagator[/MENTION] I want to report that in the device LG G2 model VS980 after updating the version of TWRP the connectivity of the telephone network is lost. This happens from verison 3.2.1-0.
[G2 Android Development] aleasto:
[MENTION=5031300]blastagator[/MENTION] fixes for building whithin los15 are up:

bootable/recovery https://gerrit.omnirom.org/#/c/android_bootable_recovery/+/32701/

device/lge/g2-common https://review.lineageos.org/#/c/LineageOS/android_device_lge_g2-common/+/231426/
[G2 Android Development] blastagator:
Does the existing version of TWRP work with the OTA now that they updated the los tree? [MENTION=4742143]YoDevil[/MENTION]
[G2 Android Development] aleasto:
2 builds from now it'll work, yes.
[G2 Android Development] n@vier:
So next official OTA update will work with latest blastagator's twrp 3.2.3-0 i.e. we can flash it without doing a manual flash?
[G2 Android Development] popxunga:
No. The week 43 build should still be flashed manually from TWRP.
[G2 Android Development] m.morcielago:
Hello guys

I have a rooted D802 with lollipop , but i can not install twrp on it

What can I do?
[G2 Android Development] ST Dog:
More details. Why can't you install?

What steps did you take?

What errors do you get?
[G2 Android Development] m.morcielago:
I had twrp on my phone and i had custom rom 7.1.2 on my phone .but when i want to install 8.1 . i couldn't success

then i want to update my twrp and after flashing new version , my d802 goes to bootloop

after that i installed stock 5.0.2 and tried to root it and i get success

Now i tried many ways for installing twrp with ( flashify , twrp app , cwm commands )

All these way told me installing is complete but when i reboot to recovery i see critical error

so what can i do ?
[G2 Android Development] ST Dog:
Well, that's weird.

If those methods say it wrote the recovery image to the partition it should work.

Wait, do those properly bump?

we don't have s proper bootloader unlock, so bump is required to get around that.

Can you boot to TWRP?

If you can try reinstalling blastigators zip from TWRP.
[G2 Android Development] runekock:
See if the app AutoRec for lollipop is still to be found. (Not AutoRec for KitKat, and it must be for d802).

Because we don't have a hack for the lollipop bootloader, that needs to be rolled back to the KitKat version. Then your rom's kernel must be hacked to work with the old bootloader. TWRP must also be bumped, but it probably already is.

AutoRec handles all that automatically. You only need to update TWRP afterwards, and you can do that from within the old TWRP.
[G2 Android Development] coa.1996:
Can you build latest version of TWRP(3.3.0)? :D
[G2 Android Development] blastagator:
TWRP 3.3.0-0 (April 29, 2019)

Yes, I am still around and here is the new build. Sorry it took a few days. Also, the only testing I did was booting the d800 version, though things should be fine since I didn't change anything related to our device. Let me know if you have any issues.

April 29, 2019 (3.3.0-0)

-TWRP Change Log:
[G2 Android Development] jututt:
D802 working fine, thanks
[G2 Android Development] popxunga:
+1: Twrp 3.3.0 working fine on D802.

Thanks !
[G2 Android Development] prsa01:
Please let me know if anyone has it working without issues on an ls980.

Thanks
[G2 Android Development] aleasto:
[MENTION=5031300]blastagator[/MENTION] This should fix for ls980/vs980 modem issues

https://github.com/YoDevil/blastagator_twrp/commit/64db941e66e08121adf5088c0d0fbbc41d0f0adc

Thanks [MENTION=5821146]Lessmore[/MENTION] for testing as I don't own either device.

Hopefully with this we can bring back Lineage officials on those 2 variants
[G2 Android Development] blastagator:
Thanks! Do we know if this will have any adverse affects on devices that don't use /misc for the bootloader message? I'm also thinking about HTC devices as I think I recall they actually keep some kind of info in the misc partition, so they also use the offset because they don't want to wipe/overwrite that data (I might be misremembering something, I'm having a hard time finding what I was pondering with HTC devices). Also, have you pushed this to the TWRP gerrit? Probably a good idea.
[G2 Android Development] aleasto:
I also have patches for setting the offset on build environment newer than nougat that got ignored, but ok I guess I can submit it.

I don't know if this is an issue for HTC, I didn't know their reason for setting an offset is different.

For devices that don't use custom offsets, this is already the default behavior, as the default offset is 0.

Using other partitions as misc does not matter with this change
[G2 Android Development] blastagator:
Beta 3.3.0-a!

I put together a new beta build for ls980 and vs980. I will rebuild everything with a new version number once I get confirmation from users that this fixes the radio problems. Thanks for the fix!
[G2 Android Development] aleasto:
[MENTION=5031300]blastagator[/MENTION] The change also makes this obsolete https://github.com/blastagator/cm_d...cm-14.1-twrp3.2/twrp/sbin/postrecoveryboot.sh

Would be interesting to understand why that doesn't have the same effect, maybe it depends on the timing when the extra flags get cleared. But that would also mean understanding why flags in misc are breaking modem which is beyond my scope. My current bet would be something in kernel, anyways.
[G2 Android Development] aleasto:
[MENTION=5031300]blastagator[/MENTION]

We found out what's the issue!

LG writes a string "BSP Forever" to byte 2048 of misc. Setting an bootloader_message offset of 128 would mean that when clearing it we would zero out bytes from 128 to 2048+128, thus including the "BSP Forever" string.

For whatever reason, LG modem needs the string to be there.

I also updated the commit to not impact other vendors like HTC, and pushed to omni gerrit: https://gerrit.omnirom.org/#/c/android_bootable_recovery/+/34014/
[G2 Android Development] blastagator:
LOL - Right up there with this gem: https://github.com/blastagator/LGG2_Kernel/commit/334dcd355ca0e8597496bddcc17abbf207051675

Do we know what adds that data back? i.e. what action puts "BSP Forever" back in the partition?

I'll run another beta build with your new commit (which should be the same) and once I get confirmation everyone is happy I'll run a new build across the board.
[G2 Android Development] popxunga:
Sorry to hijack your dialog but somehow this may be related. While I'm not sure about this, I think that the original WiFi macaddress is stored in the misc partition. Last time I got back to stock using the original lollipop LG firmware, the original address was not set/recovered. I remember that a communication error (that never happened in previous tries) occurred during the flash operation with some http connection failing (probably a service from where the misc data was/should be retrieved). So probably nothing will recover misc except if there's a backup of the original misc partition.
[G2 Android Development] aleasto:
I don't know what writes it back, but definitely one of these 2 things, or both, are true:

1) It's stored in stock kdz misc block

2) It's set by some binary at boot on stock

If needed, it shouldn't be an issue to write a program to write it back in, to be run at boot in custom ROMs.

For the time being, here's a flashable zip that will write it back to misc.
[G2 Android Development] blastagator:
Do you know if this is on all G2 variants? I could theoretically just bake this into the postrecoveryboot.sh and have it applied every time the recovery runs (using sed to make the file and then dd to place it where needed). It is definitely in d800, though I guess it isn't needed since I've never had this issue.

edit: Going to run with this: https://github.com/blastagator/cm_d...mmit/e6fedc8eef30c6865f82c69f99917d7af94fe931 and put out a new beta. I haven't scripted in a while, so this might not work right out of the gate, we'll see how the result looks after it compiles lol...
[G2 Android Development] aleasto:
That should work. You also can also remove the line about clearing LG bootloader flags, as that's now done by libbootloader_message itself.

I don't know if it's a thing for all variants, but shouldn't be harmful to add anyways
[G2 Android Development] blastagator:
3.3.0-d

Here is next beta. This /should/ fix the radio if it is broken on ls980 or vs980 automatically. Once confirmed all of this is working, I will run new full build.