yashsingh1/xdaforums huggingface dataset:
[G2 General] warlock94:
Will it make a difference if you run it via a VM instead of actual OS?

I did it via a live usb flash drive

Didn't have any problems

If you can, try running Ubuntu via a live flash drive

You can do that by flashing the ubuntu iso using universal usb installer
[G2 General] AdamBritt:
Thank you! I feel really stupid because I initially did it with a live flash drive, but reading more people seemed to think using a VM with the proper drivers was the key so I pursued that. As of now, I am able to see the partitions and move the files but I am still not able to boot to TWRP. Do you know if there's a way for me to tell which I've got between 10B, 11A, or 12B? I've tried moving all the files from the 10B and 11A downloads so far so I will try 12B here soon, but after doing both of those I'd reset and still get stuck where I was before.

EDIT!!: I did the 11A files, and used the openrecovery-twrp-2.6.3.2-g2vzw.img download from their website. The two version after that (THE ZIP FILES!) after unzipping and trying to push the recovery.img file to my phone they wouldn't boot to TWRP, but with 2.6.3.2 it did boot. I'm trying to install VZW-G2-KitKat-Debloated-25a-v1.2.zip right now, wish me luck.

Edit 2: That failed and that was the only ROM I had on it at the time. In Windows my phone now shows up as only "g2" in Device Manager and I can't get any driver version to install. I'm trying to start ADB Sideload right now but it's taking a long time, is that normal? Also, I might try to use Ubuntu with the phone now to see if I can push a ROM to the phone and then install it via TWRP.

Edit 3: I was able to change the phone in Device Manager to an Android ADB Device and then push ROMs to the sdcard that way. I tried installing a VS98011A_01.zip but that would just fail. I then downloaded [ROM OTA]Verizon Stock Rooted VS98012B from that thread and it succeeded, but I'm still stuck in TWRP boot loop. Is there any way to get back to stock recovery from here just so it'll boot up?

Edit 4: Tried a couple of different ROMs and I'm still getting stuck in TWRP bootloop, anyone else have any ideas?
[G2 General] scottder1100:
Yeah, I have the Verizon G2 and it's coming in as qhsusb_bulk on Ubuntu through VMWare then saying I have to partition a bunch of drives labeled F-S and that drives wont mount. I have no idea where to go from here but apparently those qualcomm drivers could fix all the problems.
[G2 General] bender_007:
If ubuntu is throwing out a bunch of drive errors(mounting issues then you can probably fix the error). Pm me with what you've done till now
[G2 General] AdamBritt:
Read through my last couple of posts, I was in your exact same spot yesterday. Once I finally get mine fixed I will probably compile everything, but check back I think I first posted on page 60 or 61.
[G2 General] scottder1100:
Sorry, I had meant to say "format" not "partition", it had been a long day for me. I have finals up until the weekend and have decided to postpone my phone issues in favor of that. If it's alright with you I'll do a full write-up with pictures showing what I've done and where I'm at over the weekend/as soon as possible. Thank you for offering your help.

---------- Post added at 10:11 AM ---------- Previous post was at 10:04 AM ----------

Will do, I'll post where I'm at with everything this weekend. If you would do a write-up of what you've done if you get yours fixed I (and I'm sure everyone) would be very grateful for that.
[G2 General] sccerbro:
Did you try a hard resest after installing ROMs? I have read elsewhere that works.
[G2 General] BuffMcBigHuge:
Hey guys, I just spent 2 days working tirelessly to get my friend's LG G2 back up and running.

I describe my story here: http://xdaforums.com/showthread.php?p=52342682

I came across all the problems described in this thread, 49% update, fastboot only, tot problems, kdz problems, partition problems, Ubunutu problems, QPST and eMMC problems... the whole lot.
[G2 General] sccerbro:
Will this work for me?

I can access dl mode and fastboot, no recovery. My phone thinks it is d-800 and it is vs 980. Will this work for me? If not how do I get my phone back to being vs 980. Turned it into d-800 with this ROM. Missed second step.
[G2 General] bender_007:
M8 I'm not aware but there is also minimal kernel version to load(small) (big) etc. At least in slackware. But glad you did it.
[G2 General] Nemesis Rain:
Maybe it work .. i just didn't try it ! .. every body here talk about ubuntu so i've installed it (both vmware + dual boot), and i got a server on Freebsd (it's a local prod server so it was my last resort for me)

so maybe worth a try for someone who got the on/off cycle, since it's really from ubuntu in itself imo

ubuntu panic about it (some partition is corrupted after a bad flash or wrong flash) so ubuntu try to mount it ReadOnly ... then fail (as the RW) , and goes back and forth between the 2. imo it's why ubuntu freeze while you plug the "black screen" mode phone to it ! ...

worth some more test ! but to be honest ! ... i will not re brick voluntary my main phone just to test it! ;)

BTW i will probably rebrick it ! ... no dev work directly on my version .. so seems i will be the guinea pig for it ! ... until i really know who to port X rom to my device ! .. hard to find how to about it! (that'S why i edited build.prop from the start ...
[G2 General] jacogswll:
Any idea why linux might not be recognizing my device?

Windows shows it as bulk_usb as normal, but when I list devices in linux I only get

ls /dev/sd*:

/dev/sda /dev/sda1 /dev/sda2 /dev/sda5

gdisk does nothing.
[G2 General] warlock94:
Are you still on 2.6.3.2 ?

Flash 2.6.3.3 because most of the ROMs don't play well with 2.6.3.2 (you can sideload that as well I guess)

Once you're done installing 2.6.3.3, do a complete wipe

Sideload some light AOSP ROM like CM or PA

That will be like ~200MB

After flashing, Do a data/cache wipe

That should get you inside a working ROM

From there on you can flash a KDZ or TOT or a TWRP backup if you have one

Sent from my LG-D802
[G2 General] Nemesis Rain:
if you do a "dmesg" will help more than a "ls /dev..."

try "dmesg | tail " and post it ...
[G2 General] jacogswll:
Thanks I will try that and report back.

Also worth noting that I navigated to the /dev folder in Files to view everything graphically and I couldn't get my device to show up. I tried messing with Host USB settings, plugging it in to different USB slots, etc.

Also note, I do NOT have the qshusb_dload drivers installed. Are those required?

Thanks again!
[G2 General] Nemesis Rain:
jacogswll

just do a dmesg ! ...and try to know WHY the os dont find your device ! ... no more no less! ..
[G2 General] radiano:
How did you enter into the bootloader?

My phone is just stuck at the initial 'Download Mode' with the 5 blue circles.
[G2 General] Skroutz:
I tried this sollution but a have this problem.

I would appreciate your help. This is the link to my post.

http://xdaforums.com/showthread.php?p=52389372
[G2 General] radiano:
Stuck at Download & recovery mode

HI,

I have gone through most of the thread but haven't found a solution for my issue, I have the LS980. I applied the aboot.img and then failed to apply a recovery before rebooting my phone.

Now, when I attempt to get to recovery, it's stuck at 'Recovery mode loading..."

When I attempt to get to download mode, it's stuck at the initial 'Download Mode' with the 5 blue circles.

I tried the linux method but it couldn't detect my phone. When I run the command

, I get the error 123.

Any ideas will be highly appreciated.
[G2 General] MoooN:
hey guys i have a 802 european (german) model with 32gig

can someone hint me where (or how) to extract the right image files?

is this file the right one for me ?

LGD802 - ADEUBK & ADEUWH (32GB Germany Open)

V20A

the image files are inside the rom file?
[G2 General] kylaris:
running ubuntu on vmware player.

When I type gdisk -l /dev/sdb

I'm getting "Problem opening /dev/sdb for reading! error is 13 You must run this program as root or use sudo!"

help please!

**NVM just had to use sudo in front

I'm not a linux guy..
[G2 General] MoooN:
ok i failed to extract the files from the image posted above

trying the old img now

D80210A_00.kdz

EUROPE OPEN

74 NEU/EUROPE OPEN	V10A	LGD802	1.92 GiB

can someone give me a quick confirm that this is actually a 32gb firmware?

having trouble distinguishing the 16gb from the 32gb roms
[G2 General] YoshiDK:
How to install rom without having a rom on the device

Hi

With help from the tutorial I got TWRP installed Thanks a lot!!

Now im having trouble installing a new rom since I do not have a rom zip on my LG G2. How do I store a rom zip on the device without already having an installed rom?

Hope someone can help me.
[G2 General] bender_007:
enable ADB in twrp.

And youtube -> asb sideload TWRP
[G2 General] YoshiDK:
Thanks a lot! I will check it out
[G2 General] sccerbro:
If my phone goes to download mode, but it thinks that it is d-800 and it is really VS980 which prevents me from pusing any files to it. What do I do? I feel like i am stuck in some sort of circle.
[G2 General] YoshiDK:
Got it to work. Thanks a lot! Had some problems with flashing kitkat roms since the openrecovery-twrp-2.6.3.2-g2d802 was not up to date. But the older roms worked just fine.
[G2 General] bender_007:
Now try entering download mode and flash a current kdz for your version :)
[G2 General] MoooN:
which Rom did you use?

after a lot of time getting used to working with linux im at the Point you have been now
[G2 General] .AndroiD.:
i have tried to install kitkat via twrp, the phone booted up and there were massive touch problems.

i had stock recovery now, the flash tool didnt recognize my device, so stupidly i tried to flash twrp via adb.

my phone has only a black screen now, when i connet it to windows i get like 13 drives, and in ubuntu i get the non stopping "unable to mount".

no recovery, no fastboot, no download.

i cant get the device to mount, and thats what i get when i try to do this guide:

root@ubuntu:~# ls /dev/sd*

/dev/sda /dev/sda1 /dev/sdb

root@ubuntu:~# gdisk -l /dev/sda1

GPT fdisk (gdisk) version 0.8.7

Partition table scan:

MBR: MBR only

BSD: not present

APM: not present

GPT: not present

***************************************************************

Found invalid GPT and valid MBR; converting MBR to GPT format

in memory.

***************************************************************

Exact type match not found for type code 7200; assigning type code for

'Linux filesystem'

Exact type match not found for type code 6C00; assigning type code for

'Linux filesystem'

Warning! Secondary partition table overlaps the last partition by

2912912309 blocks!

You will need to delete this partition or resize it in another utility.

Disk /dev/sda1: 976769024 sectors, 465.8 GiB

Logical sector size: 512 bytes

Disk identifier (GUID): D159101C-1D90-4C94-8662-126DDDBB8572

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 976768990

Partitions will be aligned on 32-sector boundaries

Total free space is 976768957 sectors (465.8 GiB)

Number Start (sector) End (sector) Size Code Name

1 1920221984 3736432267 866.0 GiB 8300 Linux filesystem

2 1936028192 3889681299 931.6 GiB 8300 Linux filesystem

root@ubuntu:~# ^C

root@ubuntu:~#

i have no idea what i did or what to do.

i have this phone for barely 4 months.

i would really appriciate any help in making my G2 back to life.

(LG-G2 D802 32GB)

btw: i do get the QHSUSB__BULK in windows

if i will put my hands on a D802 MotherBoard, maybe, will i be able to use my phone again?

(sorry for any english mistakes)
[G2 General] bender_007:
You should be able to recover it. Advise before doing anything.
[G2 General] YoshiDK:
I could not get any kitkat roms to work so i installed a stable cyanogenmod (not the newest) 4.3.1. instead. Afterwards I updated the TWRP to 2.7.0.0 and it was possible to install kitkat roms.

Hope you will get it to work.
[G2 General] MoooN:
yes i hope to

next Task is to get cm on the sd via adb push...

i remember trying this like one year ago on a different phone and failing

we will see this evening
[G2 General] dengerouz:
Hi!

In my case, after all done (successfully), phone just show LG and nothing happens! Even qhsusb_bulk does't appear now!! :(

Factory reset sequence just hangs body

What could it mean? It's really frustrating...
[G2 General] tankerkiller125:
Thanks

Thanks for the tut. I'm waiting for the battery to die because I can't get the phone to force restart now but I did this when the battery was at 3% so shouldn't be long. If it works I'll make sure to tell you
[G2 General] sunnymiu:
I’ve got the same problem with you. Now my computer even cannot recognize my phone so there is nothing I can do with Recovery, LG Software Tool, or ADB commands.

Hope anyone could help.
[G2 General] dengerouz:
I think only way now it's JTAG boot repair, but there is no support for this model at this time.
[G2 General] mel0un:
Purpose/function of images from guide

Hi, can someone describe purpose/function of images from guide, please?

I mean these images:

1- sbl1.img

2- aboot.img

3- rpm.img

4- tz.img

I'd like to better understand the images/partitions of LG G2.
[G2 General] SkitzoDelic:
this is what i got after ls /dev/sd*

/dev/sda /dev/sda1 /dev/sda2 /dev/sda5

after this i ran dmesg | tail

[ 153.150092] hrtimer: interrupt took 167905400 ns

[ 153.941521] usb 1-1: new high-speed USB device number 2 using ehci-pci

[ 154.561933] usb 1-1: config 1 has an invalid interface number: 20 but max is 1

[ 154.561946] usb 1-1: config 1 has no interface number 1

[ 154.577022] usb 1-1: New USB device found, idVender=05c6, idProduct=9006

[ 154.577035] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[ 154.577043] usb 1-1: Product: QHSUSB__BULK

[ 154.577051] usb 1-1: Manufacturer: LG Electronics Inc.

[ 154.577085] usb 1-1: SerialNumber: 1234567890ABCDEF

[ 154.599133] usb 1-1: can't set config #1, error -32

What now!? i have no clue.

Please help. :crying:
[G2 General] zhjackss:
i came from galaxy S III and bought a G2 today, here's what i did to my d802:

1. rooted with ioroot21

2. pushed cwm touch recovery with loki's tool

3. did a full wipe

4. flashed CloudFlex 2.2 (kitkat)

5. flashed doriman's kernel

everything works fine of rom but i havent got root and cant go into recovery or download mode.

So, do i have to follow this guide to revive root and recovery. Thanks.
[G2 General] lukano:
where to get .img files for D803 Bell variant?

I have two G2 D803 Bell models, one having the issues in the OP of this thread... the other is fine.

Am able to make images of the partitions required, and then write those to the nonfunctional phone? Specifically, how could I put my wife's G2 into whatever mode my non-functional one is in, so I can make images of those partitions? How else would I go about obtaining them specifically for a D803 Bell model, as they don't appear to be present on any of the links in the OP or this thread.
[G2 General] evilruck:
Thanks for the tutorial mate, it worked like a charm and now i can use recovery but i have a problem. It appears the recovery messed up my cache partition and i believe it's now corrupted (i can't even wipe it) and also every time i try to set my phone in download mode it just goes to recovery :confused::confused:

I'd like to use the LG recovery tool to factory reset my phone but i can't get to use download mode, any help?
[G2 General] Apoxx:
Can I use the files in the original post for an european 32gb version, or is it just for the 16gb one?
[G2 General] Coxander:
I need help

I successfully followed this guide , but now i have a problem! I'm stuck in the TWRP bootloop. I own Lg g2 802 international version.

This is what I did next :

adb shell

dd if=/dev/block/platform/msm_sdcc.1/by-name/fota of=/sdcard/fota-backup.img

dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota

And here is the problem:

dd: writing '/dev/block/platform/msm_sdcc.1/by-name/fota': No space left on device

65537+0 records in

65536+0 records out

33554432 bytes (32.0MB) copied.

2.280673 seconds, 14.0 MB/s

Also I have tried to enter commands in TWRP terminal , but I get the same No space left on device massage .

When I reboot in TWRP it takes me to Lg logo and thats it. I can't enter the download mode.

Is there any hope for me? Can someone help?
[G2 General] bender_007:
http://csmg.lgmobile.com:9002/csmg/b2c/client/auth_model_check2.jsp?esn=your_imei

Replace "your_imei" with your real imei and paste into browsers addressbar.

You should find the kdz there.

Then download also the kdz/tot extractor. You can extract the partitions (bin/img files, however - rename them to img if you like..)
[G2 General] lukano:
Thank you, I'll take a crack at it later today and report back.

---------- Post added at 09:49 PM ---------- Previous post was at 09:30 PM ----------

Ok, so I just took a shot in the dark recommended by a friend -- and fixed my phone.

I zeroed out the 'fota' partition on the phone. As seen in this thread ; http://xdaforums.com/showthread.php?t=2451696 .

Just did a dd if=/dev/zero overtop of the fota partition, which was 25 for me. One quick power cycle later, and I'm fully functional again, and the OTA update that killed me is still showing as available again.
[G2 General] Fahad M.:
i have done all the steps in the post by OP, i have rebooted into recovery, but my phone was showing up as G2 in other devices and i didnt have usb storage, what to do now? i performed a wipe and now my data is un mounted, how to mount my sd memory back in? and how to make the device viewable in PC????
[G2 General] simonemar:
help me please!

Hi guys, thanks for the solution you gave me above, i tried to do it but when i type "gdisk -l /dev/sdb" it answer me :

GPT fdisk (gdisk) version 0.8.5

Problem opening /dev/sdb for reading! Error is 13.

You must run this program as root or use sudo!

The number of the error changed every time the first time is 13, the second became 2.

How can i do?

My only option with the phone is to put it on the factory data reset mode.

Thanks guys
[G2 General] lukano:
univerfality oveedol

You'll want to run the program as sudo or root, as indicated in the error message. You can do this by 'sudo gdisk -l /dev/sdb' or by running 'sudo -i' first (without the 's in either example of course).
[G2 General] simonemar:
no way to solve it

No way...:(
[G2 General] simonemar:
what does it mean?

The only thing i obtain is this(look image), but what does it mean?
[G2 General] bender_007:
Means it's your internal drive and it's partitions.

Is it native linux or vmware/virtualbox ?

Try native linux(unetbootin + download iso -> flash to usb flash drive and boot )
[G2 General] buenarc:
Thank you for the information. Very helpful
[G2 General] simonemar:
what can i donow?

Sorry, i arrived at the and of the process and the phone was into the twrp page but i could not access to the android.

So i continued the process write on this page: http://xdaforums.com/showthread.php?t=2451696

But at the and of the process my phone shows the lg logo without doing anything else!!

Someone can tell me how can i fix the problem?

If i want to come back to the twrp page someone can write me the proceedings on the contrary of the page that i linked on the mail?

if I could go back to how I should proceed TWRP screen to reinstall android on my lg g2?

Thank you soooo much!:)

the terminal show me sda only now
[G2 General] simonemar:
image
[G2 General] .AndroiD.:
so how do i do it?
[G2 General] B@RRY78:
unable to fix

Hello i got my friend g2 here d802 he rooted it but did not installed a recovery ,now he got a update but now

its stukked at secure booting error i cant get it in downloadmode i tried it with ubuntu i installed it but do i stil have to instal drivers fi yes

whitch one and how do i have to connect it to pc ? do i also have to instal sdk from google please help i had the same with my lg e975 but restored it with lg flashtool i was able to get in downloadmode.

when i use ubuntu i get the 123 failure can somebody help me to fix this problem step by step and what i need to instal first?

thanx in advance
[G2 General] silverzr:
Yeah, bricked really hard

My phone doesn't enter in download, recovery neither fastboot. The only thing it enters is factory reset, but isn't helping at all. If i try to reset it, it just boots again into that black screen.

I tried the linux thing, no help. Anything that I can do?
[G2 General] .AndroiD.:
this guy: bender_007

saved my g2 from a very bad state.

thank you, again.

im so happy my phone is back from the dead.
[G2 General] Fahad M.:
i did all the same , i have booted in TWRP, but my phone isnt detected as mass storage device in my pc, How to copy ROM to it? it is shown under Unknown Device, or when i install ADB Drivers it is shown under samsung galaxy nexus ADB interface.

How to copy ROM to my device now? please guide anyone. any method via ubuntu etc???? or any method to repeat this process? as now if i type the command "ls /dev/sd*" a weird result is shown. please help me restore my phone anyone
[G2 General] bender_007:
Will try to help you as soon I get home. It's time demanding and energy consuming helping people out. Really got headaches :). But at the end if everything works I'm happy for them.
[G2 General] pazuzu91:
PLs help

I have a big problem... Dont know how to resolve it .. I managed to get my device recognized in ubuntu ... To get story shory, i tryed to remove boot cert error on recovery with dd if command just new recovery and laf img's. I rebooted mine device and now i cant do nothing. It just keep rebooting after LG logo is displayed. Ubuntu cant detect it any more .. What can I do ?
[G2 General] bender_007:
PowerOff the device(hold long the power). Hold powerup and connect to pc. (Dload mode should work-should)
[G2 General] pazuzu91:
hi

I got same problem.... Did you solve it ?

---------- Post added at 11:06 PM ---------- Previous post was at 10:58 PM ----------

Nope, i got nothing. No recovery, no Download mode, No bulk mode, no fastboot mode. PC cant detect it... Win or Linux .. :S
[G2 General] Fahad M.:
what about me mate? what u think i should do?
[G2 General] bender_007:
I'll send you a pm in a half hour what to do.

-

For people with access to TWRP but who are not experienced users(or not in touch with adb etc..)

adbpusher

I hope it comes handy.
[G2 General] simonemar:
help!!

Sorry, i arrived at the and of the process and the phone was into the twrp page but i could not access to the android.

So i continued the process write on this page: http://xdaforums.com/show....php?t=2451696

But at the and of the process my phone shows the lg logo without doing anything else!!

Someone can tell me how can i fix the problem?

If i want to come back to the twrp page someone can write me the proceedings on the contrary of the page that i linked on the mail?

if I could go back to how I should proceed TWRP screen to reinstall android on my lg g2?

the terminal show me "sda" only now :confused:
[G2 General] FritsPikee:
Lg g2 stuck in ota and in secure boot error help help help!!

please help me, mine is stuck in ota mode with the secure boot error and when I type ls /dev/sd* i only get two sdb's: sdb and sdb1. none of these gives me that list with files when i type gdisk -1 /dev/sdb or sdb1. Please help me, I don't know what to do.... ='(
[G2 General] tungkick:
Hi everyone, for LG G2 brick, easiest way to fix is use LG P999 cable, no need ubuntu OS. Just connect this cable to PC. PC will find out driver and then use LG flashtool and try with .tot .. you done
[G2 General] :
can you guys kindly request all twrp/cwm custom recovery forums and guides that you followed to add a very big disclaimer stating users should never update ota when on custom recovery?
[G2 General] honest1212:
I am exactly in the same situation. Stuck on this screen:

Apparently, The screen does not go past even after connecting to flash tool.
[G2 General] tursoke:
You might be borked if you can't get to custom recovery, and/or no ADB detection in Windows nor Linux.
[G2 General] honest1212:
I see, I believe you had the same situation but you managed to get it back to life.