yashsingh1/xdaforums huggingface dataset:
[G2 General] zub74:
[/COLOR][ QUOTE=zub74;51876914]When I type the ls command, it only returns /dev/sda1,2, and 5. I'm running ubuntu on a Virtual Machine and my phone is plugged in. What do I do!?[/QUOTE]

I'm having a similar issue. No one is responding to me. Either they're arrogant or they simply don't know how to help us. Which LG model do you have? I have an LS980.

D800. I'm going to try running gnome and I'll tell you if it works.
[G2 General] andriodee:
I'm having a similar issue. No one is responding to me. Either they're arrogant or they simply don't know how to help us. Which LG model do you have? I have an LS980.

D800. I'm going to try running gnome and I'll tell you if it works.[/QUOTE]

Alright.
[G2 General] Sneaky Elephant:
I'm having a similar issue. No one is responding to me. Either they're arrogant or they simply don't know how to help us. Which LG model do you have? I have an LS980.

D800. I'm going to try running gnome and I'll tell you if it works.[/QUOTE]

I ended up running Linux off a USB drive. My issue is still not resolved but I was able to get Linux to at least recognize my device and push the appropriate files to my D800. Try running Linux off USB rather than VM
[G2 General] andriodee:
I ended up running Linux off a USB drive. My issue is still not resolved but I was able to get Linux to at least recognize my device and push the appropriate files to my D800. Try running Linux off USB rather than VM

I have a full Linux OS on my computer lol. I tried it from the USB, too. How do you get it to recognize your phone? You did the ls /dev/sd* or something else?
[G2 General] Sneaky Elephant:
I have a full Linux OS on my computer lol. I tried it from the USB, too. How do you get it to recognize your phone? You did the ls /dev/sd* or something else?

I started up my phone, plugged it in, then spammed ls /dev/sd* until the partitions mounted. I also had the disk application up, though I don't think that makes a difference.
[G2 General] andriodee:
I started up my phone, plugged it in, then spammed ls /dev/sd* until the partitions mounted. I also had the disk application up, though I don't think that makes a difference.

What disk application? And when you say turned it on, you just pressed power or some other button presses?
[G2 General] zub74:
Alright.

I installed fedora instead of gnome, and it didn't recognize it, either. Strange enough, my phone shows up when I type in lsusb.

Anybody know what I can do with that?
[G2 General] warlock94:
Nothing can make it worse

Also get the dconf-tools as it is required to disable automount

Just try getting your partitions detected

Mine got detected at the blank screen which comes after failure to get in to the recovery

It'll all be ok once you see those 36 partitions :p

All the best
[G2 General] Sneaky Elephant:
I started up my phone, plugged it in, then spammed ls /dev/sd* until the partitions mounted. I also had the disk application up, though I don't think that makes a difference.

What disk application? And when you say turned it on, you just pressed power or some other button presses?

I powered down the phone with the power button, powered it on and plugged it in. No special button combo. As soon as I plugged it in I started spamming the ls /dev/sd* command in terminal. The disk application is found in Ubuntu and displays all mounted drives
[G2 General] andriodee:
What disk application? And when you say turned it on, you just pressed power or some other button presses?

I powered down the phone with the power button, powered it on and plugged it in. No special button combo. As soon as I plugged it in I started spamming the ls /dev/sd* command in terminal. The disk application is found in Ubuntu and displays all mounted drives[/QUOTE]

Alright. Don't log off yet. I'm about to try that in a few.
[G2 General] nbhnohome:
[SOL] Undetected phone (phone's partitions) in Ubuntu

My Claro PR D801 was in a pretty bad shape. I rarely showed LG logo when I power it up and most of the time when I hit the power button, only BLACK Screen (with backlight ON). I've spent quite a few days trying to figure out how to unbrick my Claro PR D801. and I might figure out the reason why my phone is not recognized when it is plug in in Ubuntu. This is what I did and I have replicated the process a few times with consistent result:

1/Take the back panel off and disconnected battery from mainboard.

2/ Wait for half an hour (with battery disconnected) for the capacitors to drain out.

3/ Connect battery back to mainboard and wait for 15 or 20 seconds

4/ Press and hold Volume UP and Plug it in your Computer. Ubuntu will regconized all the partitions and you can work with it.

5/ Proceed with the guidance from this thread. (I also flash the laf.img in addition to all other files)

Hope this help.
[G2 General] Palingenesis:
I tried this method and did not get far at all. I downloaded ubuntu and am currently running it in live CD. I plugged my phone in and it is not recognized. I have tried download mode, which just hangs at the screen with the blue dots. I have tried to factory hard reset, it just hangs on the processessing screen. I try to just boot the phone up and it hangs at the LG screen. I try recovery mode and it just hangs at the loading recovery screen. Phone is not recognized in windows or linux. Have any suggestions? Or am I out of luck?

I have LG G2 LS980 (Sprint)
[G2 General] andriodee:
Having that same issue. You and I are screwed. Take the phone to Sprint or wherever and tell them that your phone died in the middle of installing the 4.4.2 OTA update and they'll order you a new one if you're insured. I'm currently waiting for my replacement to come now (hence being on the iPhone).
[G2 General] Palingenesis:
I am not insured. I bought this phone recently from Craigslist and have not got it activated. So I think I am pretty much out of luck, right? DId you try draining the battery like the post before mine suggests? Well, to remove it, rather. I imagine letting the battery drain and charge a bit might have the same effect. It is worth a shot. This is the last thing I can think of. Anyone else have any other suggestions? If not, I suppose I will just have to trash this phone, eh?
[G2 General] andriodee:
You can try that, but my computer shut off in the middle of a Ubuntu upgrade leaving it without an operating system. My only option is to wait for my replacement. I hope this method works for you.

Which variant of the G2 do you have?

And good luck getting the battery out.
[G2 General] blade_:
hello

i have a symptom,i lost recovery.i tried flashing cwm via flashify and after reboot i have a error message in recovery and a black screen.im lucky that after reboot,everything working fine,except recovery.

can you help?i use windows
[G2 General] JeffreyNijnatten:
same problem...

EDIT: after hours trying to fix it with ubuntu (what didn't work for me) I tried just with the lg mobile support tool and that worked!!
[G2 General] warlock94:
You just made a minor mistake

When it asks you do you want to use zip or extract, choose extract

Do it again

Choose whichever recovery you want to flash and this time choose extract

Voila!

You have a working custom recovery...
[G2 General] blade_:
thanks a lot for answer!

but i dont have an option like that..

in flashify i have

this

edit,everything ok,after using that
[G2 General] warlock94:
Follow these steps

Select Recovery image

It will ask you to choose the type of recovery

Choose TWRP

After downloading, it will give you an option to extract it or use zip

Choose extract and then flash
[G2 General] Protagoras:
Another unbricked F320L thanks to that method!

Many thanks to OP.

(To note: I had a Virtual Box Ubuntu, this didn't work as the /dev/sdb partitions were not recognized. On VMWare, everything works flawlessly)
[G2 General] npzinho:
Man, YOU SAVE MY LIFE TOO.

Now I see my G2 can reborn again.

But I don't have time right now.
[G2 General] zub74:
Link? I'm not familiar with VMWare, but have the same problem.
[G2 General] galapagos:
It works fine in virtualbox. it was probably the way you've configured ubuntu in virtualbox. I've used this method in virtualbox several times successfully.
[G2 General] Protagoras:
How did you configure it then? I tried to add a USB filter for the Qualcomm phone, which seems to work fine, but the ls command only gave me /dev/sda1 to 5.
[G2 General] Monticlair22:
It Happened AGAIN!

Ok so not that I don't LOVE to continue to restore my phone but this is getting ridiculous third time in 6 days ... pull my phone out of my pocket and BAM stuck in a bootloop... Any way to prevent AT&T from pushing the update to my phone? I have twrp for recovery right now but I had Philz when it happened the second time.
[G2 General] tamoham:
LS980 Sprint LG G2

I have the Sprint LG G2 and it got stuck while flashing. I couldn't get to download mode or recovery mode.

I only see the LG logo.. I tried the above method in Ubuntu but my phone is not detected at all..

Can anyone please advise and help me?
[G2 General] Protagoras:
Download VMWare Station and the Ubuntu live disk (the main download on Ubuntu page, it's an .iso), then install with all settings left to default, then run your VM, plug your phone, VMWare will ask you if you want this USB device to be available to the virtual machine, say yes, and voila.
[G2 General] bender_007:
You could also use 'unetbootinc and similiar software to 'flash' ubuntu or another linux distro to the usb flash drive.
[G2 General] npzinho:
I received this message.

What I did wrong?
[G2 General] rock187:
0 internal storage!

hi guys.. my device i think is totaly brick!

0 internal storage

no download mode (i can see de screen with download but usb don't recognize it)

recovery twrp tell me i have 0 internal storage, can't mount nothing cache data system media ..

I did everything written to thread successfully but how do I partition the internal memory?

I saw in the server gpt partition.. can i use that file for repartition my internal memory?
[G2 General] Manafest:
Mhm.. it is not working for me. But I have the problem since i flashed the OptimusRS ROM (LG G Pro Rom ported to G2).

So here is the error which i get. It says sdb does not exist...
[G2 General] bender_007:
Linux is CaSe SeNsItIve m8.

/Desktop instead of /desktop
[G2 General] cfmaxima:
not returning enough line after ls /dev/sd* in ubuntu, only /dev/sda /dev/sda1 /dev

not returning enough line after ls /dev/sd* in ubuntu, only returning: /dev/sda /dev/sda1 /dev/sdb /dev/sdc /dev/sdd /dev/sde
[G2 General] npzinho:
Thanks.

I got it.
[G2 General] arpit.trivedi:
vzw lg g2

i see all the file are bin file and i thougth you need img file how do i get it for verizon lg g2 i have done with att file by mistake now i need verizon files for for the flash which is img file

thanks
[G2 General] levanitit:
Thanks for this post

Thanks for great post.

I need help, I have g2 ls980, I was entering all time fastboot mode, I wanted replace partitions with original images and I erase most importent partitions for replace that partitions with original img files, after erase I run reboot comand ( mistake :( :( ) for comands make efect, but after restart, my pc detecting only usb- bulk. Linux mint can not see in dev direcotory,(ls /dev/sd* just sda 1,2-5) but when run comand LSusb, linux can see my divec. Please help me, Haw can I see partitions?

Sorry for my bed english :(

---------- Post added at 06:47 PM ---------- Previous post was at 06:22 PM ----------

Hi, I have similar problem, can you tall me haw maunt you your G2?
[G2 General] ruben milesi:
Please anyone help me , i don't know why i don't have the same lines of the guide ...this is my result ,what's wrong ? ,what i have to do ? Please ,help ....

ruben@ruben-VirtualBox:~$ sudo -i

[sudo] password for ruben:

root@ruben-VirtualBox:~# ls /dev/sd*

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

root@ruben-VirtualBox:~# gdisk -l /dev/sda

GPT fdisk (gdisk) version 0.8.8

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.

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

Disk /dev/sda: 16777216 sectors, 8.0 GiB

Logical sector size: 512 bytes

Disk identifier (GUID): 44EA1D98-C454-47C1-9BB8-20B5FF3F7FA3

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 16777182

Partitions will be aligned on 2048-sector boundaries

Total free space is 6077 sectors (3.0 MiB)

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

1 2048 499711 243.0 MiB 8300 Linux filesystem

5 501760 16775167 7.8 GiB 8300 Linux filesystem

root@ruben-VirtualBox:~#
[G2 General] kirkmaglaya:
Thanks to Bender_007 :) for all the time and effort.
[G2 General] MrCaira:
LG G2

Is there any way to do this to replace "Downaload Mode" for LG G2?

Cause it's like my Computer cannot recognize my G2 once im in download mode,

but i have no problems when i am in Android or Recovery, it just connects as normal through ADB :')
[G2 General] bender_007:
If you only see blue circles while in download mode then you AREN'T yet in the download mode, something made it corrupt.

If you see the current state, (rooted or unrooted etc..) then you are in download mode but something else(not phone related is missing - drivers).

Which of the 2 is the case ?
[G2 General] MrCaira:
This is basically what i see , and windows wont recognize the phone
[G2 General] bender_007:
So - first option - download mode killed
[G2 General] MrCaira:
Help ?

Well then what can i do to fix that? Cause i kinda need my Download mode to return to Stock.
[G2 General] bender_007:
Yeah. I've sent you a pm.
[G2 General] kirkmaglaya:
No Luck
[G2 General] ruben milesi:
Please anyone help me , i don't know why i don't have the same lines of the guide ...this is my result ,what's wrong ? ,what i have to do ? Please ,help ....

ruben@ruben-VirtualBox:~$ sudo -i

[sudo] password for ruben:

root@ruben-VirtualBox:~# ls /dev/sd*

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

root@ruben-VirtualBox:~# gdisk -l /dev/sda

GPT fdisk (gdisk) version 0.8.8

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.

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

Disk /dev/sda: 16777216 sectors, 8.0 GiB

Logical sector size: 512 bytes

Disk identifier (GUID): 44EA1D98-C454-47C1-9BB8-20B5FF3F7FA3

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 16777182

Partitions will be aligned on 2048-sector boundaries

Total free space is 6077 sectors (3.0 MiB)

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

1 2048 499711 243.0 MiB 8300 Linux filesystem

5 501760 16775167 7.8 GiB 8300 Linux filesystem

root@ruben-VirtualBox:~#
[G2 General] warlock94:
Do you have a working custom recovery ?
[G2 General] levanitit:
Help :(

Please help me fix this:

--------------------------------------------------------------------------------------------------------------------------------------------------------------

l lev # ls /dev/sd*

/dev/sda /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda5 /dev/sda6

l lev # lsusb

Bus 001 Device 009: ID 05c6:9008 Qualcomm, Inc. Gobi Wireless Modem (QDL mode)

Bus 002 Device 003: ID 2232:1008

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

---------------------------------------------------------------------------------------------------------------------------------------------------------------

haw i can mount it?

Please help me.
[G2 General] axlaing:
i have the same issue what u do for fix it ?
[G2 General] illumi241:
The phone does not boot since i wanted to reflash stock rom with the lg pc suite. With the LGMobile Support Tool I had the 49% bug and the only rom I was able to flash via TWRP was Cyanogenmod.

After trying to flash with PC Suite TWRP has vanished aswell as CM and the phone seemed dead.

I then followed the guide and now my g2 does not even enter the state where it was displayed as qhsusb_bulk.

There is just the LG Logo.

I can enter the reset mode with pressing power + volume down while the lg logo is displayed. This is the only thing the G2 does and it does not show up in any way on the pc.

When I confirm the reset it says "Factory reset is progressing" but does not seem to do anything. While twrp was on the phone it entered twrp when I used the factory reset option as it should.

Do I have to send my phone in or is there a way to get into the "qhsusb_bulk-mode" again?

[MENTION=1551016]axlaing[/MENTION]

Only

gdisk -l /dev/sdb

not

gdisk -l /dev/sdb36

as it says in the first post.
[G2 General] bender_007:
Dload mode isn't working either?
[G2 General] illumi241:
Nope :/ Also died on reflash in PC Suite

Edit:

Some more details:

On PC Suite it went to about 13% and failed instead of 49% in LG Mobile Support Tool.

In ubuntu the dd commands looked like this:

root@ubuntu-virtual-machine:/home/ubuntu/Downloads# dd if=/home/ubuntu/Downloads/sbl1.img of=/dev/sdb2
1024+0 Datensätze ein
1024+0 Datensätze aus
524288 Bytes (524 kB) kopiert, 0,602242 s, 871 kB/s
root@ubuntu-virtual-machine:/home/ubuntu/Downloads# dd if=/home/ubuntu/Downloads/aboot.img of=/dev/sdb5
2048+0 Datensätze ein
2048+0 Datensätze aus
1048576 Bytes (1,0 MB) kopiert, 1,08161 s, 969 kB/s
root@ubuntu-virtual-machine:/home/ubuntu/Downloads# dd if=/home/ubuntu/Downloads/rpm.img of=/dev/sdb6
1024+0 Datensätze ein
1024+0 Datensätze aus
524288 Bytes (524 kB) kopiert, 0,563723 s, 930 kB/s
root@ubuntu-virtual-machine:/home/ubuntu/Downloads# dd if=/home/ubuntu/Downloads/tz.img of=/dev/sdb8
1024+0 Datensätze ein
1024+0 Datensätze aus
524288 Bytes (524 kB) kopiert, 0,550821 s, 952 kB/s
root@ubuntu-virtual-machine:/home/ubuntu/Downloads# dd if=/home/ubuntu/Downloads/openrecovery-twrp.img of=/dev/sdb15
22112+0 Datensätze ein
22112+0 Datensätze aus
11321344 Bytes (11 MB) kopiert, 11,519 s, 983 kB/s

The model is a D802.
[G2 General] buenarc:
If you got phone insurance, take the phone to Sprint or wherever and tell them that your phone died in the middle of installing the 4.4.2 OTA update . they should replace that.
[G2 General] axlaing:
i have the exact situation. please helpp. how can i fix this??

---------- Post added at 09:58 PM ---------- Previous post was at 09:54 PM ----------

i have the same situation. any fix? please!!!
[G2 General] arpit.trivedi:
verizon img files pls

can some one please get the .img files for verizon lg g2 i got everything working but cant find the img files for verizon

it would be big help thanks
[G2 General] rodpgfx:
I've ran the live Ubunto and got the terminal working but the only dev that show up are my 2 hard drives (/dev/sda /dev/sda1)

I can't get the program to see the phone at all, except to browse it's internal storage contents.

Not sure what to do now.
[G2 General] tomconger:
I'm having the same exact problem. Shows up in the device manager fine. VMWare asks if I want Linux to be able to see it. But, when I run ls /dev/sd* it doesn't show up.

Anyone have any ideas?
[G2 General] illumi241:
You have to forward the USB device to the vmware guest. On the top right of the VMWare player are symbols for printer, hard disk etc. There you have to find the qhsusb_bulk device and enable it in the guest.

After you've enabled it the guest has full control over the usb device and you should see it in Ubuntu. Probably you have to install dconf-editor to remove the unable to mount messages as mentioned in the first post of this thread.
[G2 General] tomconger:
Edit: found the answer to what was my next question.

Thanks for your help!

Edit #2:

Alright, I managed to push the files to the phone. I followed the instructions exactly, except that I had push a different recovery file over, which was simply called "recovery.img" (I got it from a zip file called openrecovery-twrp-2.7.0.0-vs980.zip). I figured grabbing the newest recovery would have been smart. However, after restarting, my phone no longer displays the LG logo. It won't boot into stock recovery at all (it used to, but the factory reset would always fail) and I still don't have download mode. Basically, I can feel the phone vibrate after holding the power button, and that's it. It doesn't seem to want to turn on anymore, either, so I can't get VMWare to pick it up.

Did I just screw myself?

The only silver lining I can find in this is that Verizon can no longer tell that the phone is rooted since it is completely unresponsive. They should replace it, I'd think.

Edit #3:

Scratch that, it looks like I forgot to push sbl1.img. Please advise!
[G2 General] cmaag:
So i have i know that I have been able to successful pushed the files in Ubuntu, or atleast they say success. I still have the phone running the script for the update in the top left of the lg logo at boot. As well as I am unable to get to a recovery at all be it stock or twrp. If there more that you can flash to override the system trying to run the update script. Ive tried pushing the stock recovery and that does not seem to help.

Im really at wits end right now I have tried mostly everything that I can think of and what has been posted. Could you reflash all of the stock firmware that is given in autoprime's directory?

I was not running a previous rom only stock rooted.

Or well what is telling the phone to try and update everything on boot why can't we stop that, or where is it located. You would like it wouldn't continue to try this. Or is this stop in the user data partition can we just wipe that partition and all will be well. Im just leaping out here and If i don't get a reply I am try them. and report back

Could running the commands one a 64-bit Ubuntu cause the commands not to execute correctly?
[G2 General] supergear:
Seems firmware .img are gone for the D801 ?
[G2 General] tursoke:
Hi,

I had this very exact problem (OP) after trying to install TWRP on my pretty fresh D802. I followed the instructions, it seemed perfectly fine until I rebooted my phone. Now it's stuck ON all the time, and just displays the LG boot logo. Holding power and vol down won't do a thing, holding power for a longer period will blacken the screen for a while, and while still pressing, the LG boot logo pops up again, and still holding down on power only, the screen goes black again, and the front led starts blinking red in cycles of eight, the eight flash is really short. It keeps doing it until I release the power button, and after that it just shows the LG boot logo again...am I perma bricked now? No recognition in either Linux or Windows through USB anymore.
[G2 General] rodpgfx:
Try holding power button until device shuts down, then, while holding the vol up button, plug it into your computer before the lg screen appears again. Then it will go into download mode and you can use lg support tool to flash back to stock and start all over.....
[G2 General] tursoke:
Whew! Thanks man, indeed got into download mode that way! Let's see if I can REALLY permabrick this thing! ;)
[G2 General] rodpgfx:
Nah. Just use lg support tool to flash back to stock, it shouldn't be a problem
[G2 General] mindofmusic:
for lg d800, which files do I use?
[G2 General] rodpgfx:
Be more spefic dude. To do what?
[G2 General] mindofmusic:
how do I know if my d800 device is 10a or 10o?

---------- Post added at 02:56 PM ---------- Previous post was at 02:50 PM ----------

to unbrick. nvm, I found the files.

but I don't know if my phone is 10d or 10o so I don't know which partition folder to download the files from.
[G2 General] rodpgfx:
You should be able to find that under "about phone" in system settings.

Dont forget to hit my "thanks" button