yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] prsa01:
So does this mean we no longer need to flash back to stock or that we still need to do that?

Thanks much for all of the time you guys have been putting into fixing this!
[G2 Android Development] blastagator:
Booting the recovery should apply the fix for the radio. I can't test though, so if someone could that would be good. If it doesn't fix, the zip [MENTION=4742143]YoDevil[/MENTION] posted should fix it and I'll need to tweak the recovery further.
[G2 Android Development] prsa01:
The non-beta versions seem to have a download link per variant, the beta only a single link. Is it OK to install the beta on any g2 variant? Thanks
[G2 Android Development] blastagator:
I posted the beta incorrectly yesterday. The links are fixed now. You need to install the correct variant.
[G2 Android Development] prsa01:
Ls980 - beta version (d) boots/flashes/reboots to system fine. Won't be in an area with LTE til tomorrow and will report whether either beta twrp or the modem fix seem to resolve the lte issue.

*"*Update - as far as I can tell neither the beta twrp or fix zip got me LTE. Maybe the other ls980 freedompop user in this thread can confirm what preferred network I should be using. Know I tried global & most of the LTE combos that seemed to make sense. I don't know what wcdma, tcdma, etc are but assume they don't apply to my sprint config. Sprint LTE is spotty in this area but am pretty sure I tested in areas it should work.

Did this resolve the issue for the vs980 user who originally shared logs, etc?

Thanks again for the time you guys are putting into this. It IS appreciated!
[G2 Android Development] 60nine:
[MENTION=440511]moalesipufos[/MENTION] - check 1st page for download links, make sure you download and flash the right twrp for your variant
[G2 Android Development] aleasto:
Unfortunately your issue seems to be unrelated to what this fixes.

[MENTION=5031300]blastagator[/MENTION] i've had reports that the latest beta is working as intended. However i'm not sure anymore ls980 are suffering of this, I only heard back positively from vs980.

People with ls980 are reporting issues with LTE, while people with vs980 are reporting issues with any kind of connectivity. This fixes the second problem.

This whole situation is quite unfortunate and difficult for me to debug without having either model. Transitioning from nougat to oreo we had to move to open source RIL, which is the presumable source of issues for ls980 LTE. At the same time, flashing oreo roms requires your TWRP 3.2.1-0 build at minimum, which is the first build that uses a custom bootloader_message offset, which is the cause of vs980 modem issues.

Two different issues caused by two different changes, which got easily mixed up.

In the end, after reading back xda bug reports, I believe I can say this only regards vs980.
[G2 Android Development] prsa01:
I don't expect miracles with you not having the opportunity to directly test, just appreciate the time you have put into it. If there is anything I can do to help, logs/whatever, let me know. I'll warn you I would need simple instructions to provide them.

Not a huge deal for me currently. Almost exclusively text when not on wifi and can certainly get by with CDMA for that.

Again, thanks for the continued efforts!
[G2 Android Development] benveq:
wil you update the twrp to the latest version ?Thanks
[G2 Android Development] GrooveGod:
This build is working for me, thanks.

Just wanted to let you know that this beta is working for me. I spent several weeks searching for a solution before I came across your beta build. My device was having the issues below using different recovery images prior to this beta-build:

a) No connectivity to 4G at all

b) Could not connect to Verizon Visual Voicemail.. (ERR 9009 / 9004, "Invalid Response received from server....")

I was able to install both PIE and OREO without issue, but settled for the latest PIE noted in the details below.

Phone Details:

Verizon LG G2 (VS980): CSE flash using LGFlashTool2014 to VS98039A_05.kdz (latest)

Rooted phone using avicohh's "LG Root - One click script" to install "UPDATE-SR5-SuperSU-v2.82-SR5-20171001224502"

ADB to push bootstack and your recovery

Currently Running "AospExtended-v6.6-vs980-20190610-1459-OFFICIAL" (YoDevil)

Thanks for the build!
[G2 Android Development] 60nine:
usb-otg timeout "problem" (?)

i use latest 3.3.0.0 version of the twrp and today i wanted to restore a backup to my device (some 4.1gb) via usb-otg (sandisk 32gb) and the process always ended after some 300mb restored...

i can't remember what the error in red was saying but i've noticed that usb-otg was unmounted somehow...

i tried the same process 3-4 times with the same result...

i tried to copy the same backup to my device's internal memory using PC and usb cable (with mtp enabled in twrp) - it went well, and the backup is currently restoring just fine from internal memory)...

i didn't do restoring for a while so i don't know if something has changed in this newest twrp to break the usb-otg timeout (i recall it was working just fine with the previous versions)

also - i did this current backup with this latest twrp (3.3.0.0), and it also went ok...

any clues? [MENTION=5031300]blastagator[/MENTION] ?
[G2 Android Development] Skyjumper_GR:
@ blastagator

I have seen that there is a new version of TWRP. (3.3.1.0)

Would be great if TWRP continues for the G2.

Thank you
[G2 Android Development] zizuka:
It's not major changes but it would be incredible having [MENTION=5031300]blastagator[/MENTION] on board
[G2 Android Development] ST Dog:
[MENTION=5031300]blastagator[/MENTION] is there an easy way to keep a log running via USB/adb to capture a reboot?

A few months ago my vs980 was fine, daily driver even. Changed phones to get VoLTE until that worked on new vs980 ROMs.

Charged up, grabbed latest stuff,installed TWRP, rebooted to it, and tried to wipe phone clean start. It reboots while formatting /system.
[G2 Android Development] aleasto:
`adb logcat > dst.txt` keeps writing to dst.txt until interrupted by default (you would yous `adb logcat -d` to print once and terminate)

for dmesg you can specify -w to keep it watching: `adb shell dmesg -w > dst.txt`

But you probably just want to grab `adb shell cat /proc/last_kmsg > last_kmsg.txt` after the reboot, which holds the kernel logs up until the phone last rebooted.

I must say a reboot during wipe system does not sound nice
[G2 Android Development] ST Dog:
Yeah. It's weird it was working fine, then not uses for a few months, and now I get this. I really hated tp stop using it when I did.

As for kernel log, that may not work. It's not bootable (partial wipe) and I may net get it to recovery fast enough to not overwrite the saved log.
[G2 Android Development] enes309:
After installing stock rom I flashed 3.3.0. I reset the system and the LG logo remains and the phone hangs up. why is that? what will I do?
[G2 Android Development] urobasa:
I modified your TWRP to run on the LG F300K by replacing dtb and the kernel. Can you help with build kernel and twrp yours version LG F300k, or add support LG F300K?
[G2 Android Development] blastagator:
I am not familiar with this phone at all. Building for it should be the same as any other device though.
[G2 Android Development] blastagator:
TWRP 3.3.1-0 (December 23, 2019)

Merry Christmas (and whatever other holidays you do or don't celebrate)! Here is the newest (and very late) build.

Also, as I'm sure most of you have seen, next version of TWRP will likely be awhile. Android 10 through a major wrench into the development work. See this post for more details.

December 23, 2019 (3.3.1-0)

-TWRP Change Log:
[G2 Android Development] hteles:
Merry Christmas and happy New year.

Thanks for the new build.

PS: IT is 3.3.1.0 btw :svetius:

The site redesign looks great.
[G2 Android Development] blastagator:
Thanks for letting me know about the version. I did lazy copy paste. Fixed now.

Thanks for the compliment on the site, been teaching myself web design and built it all myself. :)
[G2 Android Development] jututt:
Thank you Greg for the latest 3.3.1, gifts are nicer when unexpected... Question: is there a reason why years old BusyBox 1.22.1 is still used in recovery when now we can have 1.31.1?
[G2 Android Development] chrismin13:
I'll miss the old Blastagator website! Such a classic :') But the new one does look great, quite professional.

Thanks for still releasing updates, it's unbelievable how well this device is supported.
[G2 Android Development] blastagator:
I just use the one that was most recent before being removed from LOS: https://github.com/LineageOS/android_external_busybox/commits/cm-14.1 Is there something missing / broken? Suggested alternative source? I'm not trying to reinvent the busybox wheel (or get a new headache :)).
[G2 Android Development] jututt:
In my boot image I integrated osm0sis or Meefik bb, see their respective GitHub
[G2 Android Development] prsa01:
Thanks once again for continuing to update for us on this device! As usual, it seems to work perfectly.

Happy new year everyone!
[G2 Android Development] blastagator:
If anyone with the ls/vs signal issue wants to help, please use working version of twrp (old version which doesn't cause problems) and reboot rom/recovery a couple times to confirm no signal problem then use dd to dump:

/dev/block/platform/msm_sdcc.1/by-name/boot

/dev/block/platform/msm_sdcc.1/by-name/cache

/dev/block/platform/msm_sdcc.1/by-name/modemst1

/dev/block/platform/msm_sdcc.1/by-name/modemst2

/dev/block/platform/msm_sdcc.1/by-name/modem

/dev/block/platform/msm_sdcc.1/by-name/sns

/dev/block/platform/msm_sdcc.1/by-name/misc

Then flash new twrp, trigger the signal problem, then reboot recovery after signal is broken and the dd to dump the same partitions.

Either compare the dd extracts for each partition and let me know of difference, or send me a private link to the extracts so I can compare them.

Thanks!

Also, I'll look into the BusyBox thing, but I'm skeptical to change from working known good source unless there is a specific need/reason to do so. Recovery is supposed to be stable, no need to upgrade versions just for the sake of version number. However, adding features is a different discussion.
[G2 Android Development] cossak2007:
My Moto Z XT1650 Magisk Finally Installed but TWRP Backup Rom Error "SquashFS"

Tried all the methods to install and boot into system with latest Magisk without success.

Always ended up stuck in bootloop.

Finally today I used Magisk Manager to modify the stock boot file and I had root and booted with no problems.

When I tried to backup the rom with TWRP 3310 , I got errors as in attached screenshot .

"unknown File System "Squashfs" and errors with the Data file system.

Tried the TWRP Treble recovery with same result.

Any solutions to the cause of these errors ?

Thanks

Terry
[G2 Android Development] rodken:
Is the ls/vs signal issue with the lastest version device-wide on the VS980 or only certain users of the new version?
[G2 Android Development] blastagator:
I don't have a test device for ls/vs or any feedback, so I don't really know the state of the current version.
[G2 Android Development] Shazzi-123:
This is bad because it don't even show you where to download it from please help me
[G2 Android Development] 60nine:
download links are (as always) on the 1st page of this thread...

else - 20 seconds googling for "lg g2 twrp blastagator" would get you there as well
[G2 Android Development] YossiAxda:
Hello,

I'm getting the following error:

E:Unable to decrypt FBE device

When I try to boot system.

LG G2 D802

Lineage OS 17.1

TWRP 3.3.1-0

Magisk 20.4
[G2 Android Development] gocegi:
Is there any chance we could update to the latest 3.4.0? [MENTION=5031300]blastagator[/MENTION]
[G2 Android Development] blastagator:
I will try to get it built sometime this weekend (assuming no compiling issues).
[G2 Android Development] blastagator:
Unfortunately it looks like merging in Android 10 broke the build tree I was using (LOS 14.1). I'll either have to update the source trees or pull of some other kind of wizardry. Unfortunately, I don't have the time to dedicate to that at present.

However, I think I have a possible solution for ls/vs radio issues. Reply and quote this if you're interested in testing something.
[G2 Android Development] Sturmtief:
Hi folks!

I have a question: Is it normal, that when I try to download the latest TWRP the file only got 80 Bytes?

I tried to revive my old LG G2, which is in a very good condition and battery ist still great and my G5 falls apart already. I want to get Lineageos to work but I'm stuck on TWRP 2.8.5.1. Can I safely flash lineage recovery from this TWRP?

Thx for help :) <3
[G2 Android Development] popxunga:
If by "this" you mean 2.8.5.1, no, you can't.

You need to download and flash 3.3.1.0 from here: https://www.gregtwallace.com/lg-g2/g2-twrp/

---------- Post added at 04:45 PM ---------- Previous post was at 04:38 PM ----------

With 80 bytes I guess you're downloading the checksum file and not the TWRP itself.
[G2 Android Development] gvelim:
fail to boot in recovery after upgrade to 3.3.1 bump

Hi

As part of upgrading from LineageOS 14.1 --> 17.1 I tried to upgrade TWRP (AutoRec KK or Lollipop, not sure) to 3.3.1 by flashing the ZIP file as per post 1. The flashing of the zip file indicated a modification to the boot partition and finished successfully.

However whenever I try to enter recovery mode I get the into fastboot.

fastboot devices command, gives me : ? fastboot

fastboot continue gives me : Bad magic in device table tree

I can boot normally into System however there is no SU root anymore.

I looked at the different posts and couldn't see a solution around.

Any help is much appreciated.
[G2 Android Development] LegendOcta:
Is there way to get PBRP or SHRP using this? thanks
[G2 Android Development] Lamborghini61:
Hi. Are you considering updating new versions of Twrp?
[G2 Android Development] LGElectronics:
TWRP 3.5.2 Released

TWRP 3.5.2 Released

TWRP 3.5.2 is out now for most currently supported devices.

twrp.me

[TWRP][3.3.1-0] - LG G2 - D802.

There is currently version 3.3.1-0, but no 3.5.2. Will there be more development or not?
​
[G2 Android Development] LegendOcta:
Seems like blastagator is no longer working on it.

I'm currently working on the LG G2 again, mainly on the F320 I own.

Soon I'll try making some TWRP :) probably like in 3 weeks.....

*EDIT 2022 02 20 : I tried building TWRP using the latest LineageOS 18.1 port I made, but for some reason, isn't really building properly.

I just came up with the conclusion, just use LOS Recovery.
[G2 Android Development] samuele94:
Thanks
[G2 Android Development] berryman13:
extract the recovery, boot to your rom and use flashify
[G2 Android Development] siankatabg:
Hello [MENTION=5031300]blastagator[/MENTION]

I just want to inform you that I tried your recovery with BUMP and it works.I just flashed stock kitkat .kdz and rooted with ioroot,then I Bumped your recovery.img using the official Bump site and flash it with ADB.I will test it more with flashing Bumped kernel :)

P.S.- If you want,I will post my bumped recovery.img with instructions how to flash.
[G2 Android Development] blastagator:
Good to know. If anyone needs to bump I'm sure they can find the bump thread :p

They haven't prevented us from downgrading our bootloader though, I don't think?
[G2 Android Development] luv2increase:
What is bumped kernel
[G2 Android Development] je2854:
Bump only works with G3?
[G2 Android Development] phoenix_rizzen:
Go read through the G2 Original Android Development forum.

Typos courtesy of my Liquified LG G2 (D803).
[G2 Android Development] je2854:
I've BUMPed and flashed the image as well BUT I think it would be more worth bumping the kernel instead of the recovery UNLESS it can be used to flash a bootloader... Also I would like to talk to [MENTION=2376110]dorimanx[/MENTION] and see if he will give me an un-loki'ed kernel image and try it... That would give everybody who makes the images less time and not have to worry about it being loki'ed or not.
[G2 Android Development] siankatabg:
I made a bumped kernel too(dorimanx 8.8) and they work just perfect on kk bootloader(no need for downgradeing it to 4.2 one anymore).If I'm not mistaken,boot.img is geting lokied when you flash it(auto with script in the zip),so you can bump what kernel you want without need to ask for not lokied one.
[G2 Android Development] vladmir:
With the bumped kernel, recovery is possible use the multirom now?

Enviado do meu LG-D802 através de Tapatalk
[G2 Android Development] Ganjax:
What ROMS for D802 support F2FS?
[G2 Android Development] spider_pig:
I'd really like this, I am still on stock and just learning about the G2, I've come from Nexus devices so locked bootloaders are new to me. My G2 is on 4.4.2 and Bump seems to be a lot easier?
[G2 Android Development] siankatabg:
Bump! is still not very used and adopted for our phones and after you flash bump'ed recovery you will need to bump every kernel you want to flash,because you will be on the stock 4.4 bootloader that have loki "patched"(and the kernels will be just not flashed).If you want to use all the kernels and roms without problems,go for Autorec(it will be auto downgrade your bootloader to the version used in 4.2 and Loki will work) and then just update the recovery.
[G2 Android Development] spider_pig:
Thank you, just getting to grips with this. One final question, what do we mean by Kernel in this context? Do we have to sign system.img inside the flashable image or the actual kernel binary?

I agree with you about Loki and the bootloader downgrade, that exploit seems to have served the G2 well, I just see Bump! as more elegant, it removes several steps and I'd like to play with it. I don't mind signing recoveries and kernels, the G3 guys are going to have to go that way anyway. Just need to know what to sign in the roms?
[G2 Android Development] siankatabg:
With kernel i mean boot.img. Every rom.zip contain boot.img that use loki patch,so if you want to bump this boot.img to flash the rom.zip on 4.4 bootloader,you will need to edit some scripts in it(to correct flash it without using loki patch).If you don't do this,rom will just bootloop(because loki will not work and the boot.img wont be flashed) or in the worst situation secure sign error...(and flashing kdz)

I agree for Bump!,for me is the better way too,but dev's choose what to use anyway.We can just mod their work and use it on our own.
[G2 Android Development] spider_pig:
Thanks yet again. I'm getting to grips with the G2 and the various workarounds that have been used to avoid the locked bootloader. I'm just playing around with it, so far I have AOSP Lollipop compiled and booting just for fun but using an old Kernel and modules.

I really hope Bump! becomes the new standard, it a lot easier but time will tell.
[G2 Android Development] saarxee:
I have v2.7.0.0 of TWRP.

v2.8.1.1 is stable and official from TWRP or custom?

if I flash 2.8.1.1, my Nandroid Backups and my data will be removed?
[G2 Android Development] ximmox:
This is a slightly modified version, based on the official TWRP 2.8.1.1 sources. It is running and working great, no need to be afraid.

When flashing this recovery, there won't be any changes to your partitions and data, so your backups will stay untouched (unless you are wiping anything yourself in the recovery manually).
[G2 Android Development] saarxee:
But 2.7.0.0 is Official and 2.8.1.1 not...
[G2 Android Development] ximmox:
Yeah, so what?

You are free to stick to 2.7.0.0 if the "official" tag is so important to you and you don't need any of the features and fixes in the current TWRP versions.

Everything about this release is mentioned in the OP, feel free to read it for more information. ;)

edit: FYI: This is the official G2 TWRP Thread by Dees_Troy: http://xdaforums.com/showthread.php?t=2449679

The latest official version for the G2 is 2.8.1.0.

I still recommend this version right here for added features (again, see the OP) and more prompt support and updates.
[G2 Android Development] saarxee:
Flash the ZIP in recovery and after this click Restore Defaults, right?

Dorimanx kernel works on the 2.8.1.1?
[G2 Android Development] ximmox:
1. Yes

2. yes

3. Kernel works independent from recovery, so yes, dorimanx should work, too.
[G2 Android Development] allchannels99:
Thanks

TWRP is the best
[G2 Android Development] AlexKido:
Update to the latest version.

Hello guys, i saw today that the TWRP has updated since i installed it on my D802 long time ago. Currently i have 2.7.0.0 and i was wondering if anybody can help me to update to the last version of it. I am sorry if this was asked again, couldn't manage to find it. Have a great day!
[G2 Android Development] 60nine:
backup all your data

in twrp > reset to default settings

flash this new one through your old recovery

voila
[G2 Android Development] AlexKido:
Thank you sir for your help! Have a great one.
[G2 Android Development] s77-droid:
I cant fine restore default in settings, please help me
[G2 Android Development] Scorch038:
Do you restore default right after updating twrp or do you reboot into twrp after update and then restore defaults?
[G2 Android Development] Siema89:
Dropbox download source went down (too much traffic). Any chance for a mirror for d802?
[G2 Android Development] onda.maser:
Yeah, please, mirror for d802 :)
[G2 Android Development] mhoss48:
To update just flash the new zip over and then restore ?

Plus dropbox link is down
[G2 Android Development] Patrick0nE:
This is my mirror for D802, I created this especially for you.

http://www66.zippyshare.com/v/92611506/file.html

If dev is not agree with that, I can delete this mirror.

Wysłane z mojego LG-D802 przy użyciu Tapatalka
[G2 Android Development] dharani1234:
Can I have a mirror for d800 as well pls ?
[G2 Android Development] elzero26:
I think it should be the same for all variants. but I need the d801
[G2 Android Development] blastagator:
I will upload to Google Drive and post another link.

https://drive.google.com/folderview?id=0B_5fX5B47GiwZTdSVnNCeEwtSjA&usp=sharing
[G2 Android Development] azher98:
Thanks:)
[G2 Android Development] ijustintouch:
You are awesome! I was just getting ready to ask for the VS980. Thank you
[G2 Android Development] azher98:
Hey

Im on 2.8.1 how can flash this one ? By the same recovery ?
[G2 Android Development] blastagator:
Yes. They are flashable zips.
[G2 Android Development] craig2:
F2FS Lollipop Support

is there a kernel for the G2 and lollipop or does the kernel in CM12 work
[G2 Android Development] Doggy_Dogg:
I am using 2.7.0 can someone help me in skype to update it to 2.8.1.1?
[G2 Android Development] Patrick0nE:
Updating is easy, boot into recovery, then install new recovery like ROM and any other zip files.

Wysłane z mojego LG-D802 przy użyciu Tapatalka
[G2 Android Development] hypnz:
Or if you prefer flash it thru flashify.
[G2 Android Development] roboMr.Burns:
Anybody else has an Issue, when you click the big Format Data? A

After typing yes, there is an Error: could not Format Data Encryption or Partition type 'auto' .... There is nothing crypted on my d802
[G2 Android Development] overflyer:
Anybody already knows where to get a working version of TWRP 2.8.2.0 for our d802? This Update would fix a lot of difficulties connected to flashing lollipop roms, such as mounting of partitions etc.
[G2 Android Development] blastagator:
I have the fstab set to auto for that partition. I don't know what you mean by 'big format' but just format the partitions individually.

That version isn't on the git / someone might have made an unofficial one, but the TWRP team hasn't pushed anything to the git for lollipop (so far as I can tell). What difficulties are you having flashing lollipop roms? If you could point me to related "problem" and "solution" posts I'll see if I can adapt them.
[G2 Android Development] murdoch1:
TWRP 2.8.1.1

Hi buddy. Is there anything you can do regarding the time/date issue when installing CM12 roms? The phone starts on a date of 5th January until the network time is obtained automatically.

I dont seem to be able to change the time correctly within TWRP???

Cheers

Andy