yashsingh1/xdaforums huggingface dataset:
[G2 General] dragonhart6505:
After an extremely long download of Ubuntu 13.10 (3g Virgin Mobile network for the loss...) ive run into the same issue. Now, however, Ubuntu doesnt freak out. But the screen still blinks and reconnects. I'm afraid to keep doing this because the battery was only at around 40% when I started trying this and if it dies completely I'm probably boned. I'm not sure how much power is used just by being in this state (probably not much) but I'm really hoping the risk is worth it.

Help please?

---------- Post added at 04:17 AM ---------- Previous post was at 03:56 AM ----------

I can get to download mode, but can't use the r&d tool because I had the tmobile rom installed on sprint g2 (for unlock) worked fine but got reset (I didnt do it, someone else did) and couldnt boot. After trying to flash it back I can't get to recovery anymore. If I can get to fastboot, this may help me. Is there a key combination? Or do I have to totally f*** the phone somehow first?

Read my post above to see my issue
[G2 General] w1ll1m:
Though the error i had, still allowed me to boot into the rom and it had root but it wouldnt let me boot into recovery.

Well to update, i followed this tutorial to revert to stock rather than install ubuntu on my surface pro and messing with what i dont understand very well. Followed the guide to go back to stock then root and finally install cwm-recovery. Then i installed PA4. Found this method to be easier tbh

Works like a charm.
[G2 General] dragonhart6505:
welp...now my worst fear realized. doesnt boot at all anymore. juuuuuuuuust perfect...

edit: well apparently it IS on...but its an unrecognized device (in windows) it just wont turn off anymore

is this the last breaths of this G2?
[G2 General] dragonhart6505:
ok...making progress (?)

i disconnected the battery from under the cover and have now got it plugged in. initially it would register as Unknown Device, but since i cut the power i had qhs-usb dload

now i downloaded a driver for Qualcomm HS-USB QDLoader 9008. in virtualbox, unfortunately, it shows up as hs-bulk (from what i read is wrong) the screen is also black. when i connect with virtualbox windows makes the connected sound, but goes back to unknown device

what do i need to do to get the right device?
[G2 General] odiumxp:
I found that the LG boot loop come up everytime I reboot the device. I read more of the comments xda-developers link and followed the following procedure.*

adb shell

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

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

This fixed the problem for people with the same problem as me. It did not work for me. CWM continued to boot. I tried to flash TWRP onto the device using the following:

adb push openrecovery-twrp-2.6.3.2-g2vzw.img /data/local/tmp/openrecovery-twrp-2.6.3.2-g2vzw.img

adb shell

(IF YOU DONT SEE A # prompt, type su to get it.)

cd /data/local/tmp

dd if=/data/local/tmp/openrecovery-twrp-2.6.3.2-g2vzw.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery

exit

adb reboot recovery

---------- Post added at 01:20 AM ---------- Previous post was at 01:15 AM ----------

And if you have a custom recovery you can't install the update or the same thing will happen every time so I found the software update app that comes with the phone and froze the app so it won't try to install again and cause a big headache I hope someone finds a way to unlock the boot loader for the lg g2 for att instead of the work around with Loki
[G2 General] ellogovern:
Error is 123

Got the first step but he second step

gdisk -l /dev/sdb

I hit Enter then it says

Problem opening /dev/sdb for reading! Error is 123

I need some help.
[G2 General] bFree68:
Losing hope

Jonous, I tried everything in your post. It all worked, it all ran, but my phone's behavior has not changed:

I am stuck in an installation loop that started while updating to KitKat.

I was happy with my LG G2 (T-mobile, D801G), but wanted to use root apps. So, I rooted and installed TWRP, but did not flash a custom rom.

Last Tuesday when I woke up there was a message saying I could download KitKat. After installing my last system update I lost root, so just had to unroot and re-root – took me about 15 minutes. So, I decided to go ahead and install KitKat.

It downloaded and began to install, but got stuck in a loop. The LG logo flashes for 5 seconds, the little droid pops up with his stomach spinning and the message “Installing system updates” but shows for only about ½-second. Then the screen goes black for 2 seconds and it starts again.

I've tried flashing the rom with R&D Tools, but it just says 'Your device has the latest software available from the LG Mobile support tool'. I installed smallsvr and changed the 'host' file (it still has the extra lines)

I can get it into the factory reset screen, but when I say yes-yes, it puts up the message :

Error: Boot certification verify

341120

341170

341220Secure booting error!

341270Cause: boot certification verify

341320

341370

Then it sits in a black, but not quite off screen until I hold down the power button to turn it off. When I turn it back on, it shows the logo, then the droid showing the message ‘Erasing…’ for a full second, then switches to the ½-second ‘installing system updates’ loop.

It will go into download mode (where of course it says ROOTED so I can't use my warranty).

The Linux code works for me if I'm in the 'black-but-not-off' screen after trying to factory reset. Everything comes up as it's supposed to - but when I reboot, nothing has changed. I tried your post - extracting with Python script, then using those files with the Linux (Ubuntu 12.04 live CD) - but it still doesn't change my phone.

Found my solution!!!!!! **HAPPY DANCE** I used Jonous' system to extract the kdz files and change them to .img files, and used the instructions at the beginning of this thread. I also used the advice of whoever (sorry) said to go to factory reset, get the boot certification error, then leave the phone in the black-but-not-off mode that follows. That was the only way that Linux could see my phone - didn't see it in download mode.

But I needed ONE MORE PIECE OF INFO: If ls /dev/sd* shows that your device is detected on sdc instead of sdb to change the gdisk command to

gdisk -l /dev/sdc

What the instructions don't say (may be too obvious to them) is that you ALSO have to change the rest of the code to 'c'. i.e. change

dd if=/home/med/Desktop/aboot.img of=/dev/sdb5

to

dd if=/home/med/Desktop/aboot.img of=/dev/sdc5

When I changed all of the dd's and rebooted, I was back in business!!! :D
[G2 General] tdawg0213:
Despite following the op regarding the pop up, in ubuntu 13.1 the pop ups still happen. Any suggestions?
[G2 General] ramunator:
need help

hi,

I do everything by you but after command gdisk -l /dev/sdb I get :

/dev/sda /dev/sda2 /dev/sdb1 /dev/sdb5

/dev/sda1 /dev/sdb /dev/sdb2 /dev/sdb6

so what I should do?

thanks
[G2 General] bender_007:
Are you running as superuser ?
[G2 General] tdawg0213:
sudo -i enter then type password then have su. I got into download mode somehow and just used lg flashtoolkit and all is well. When I originally screwed my phone I wasn't able to get into download mode but after I was able to update the bulk usb so my pc would see it, I can. Not sure if that's what fixed it, but like I said, before I couldn't, after updating drivers, all is good.
[G2 General] bender_007:
I just updated the usb drivers, it worked. Glad you fixed it. Was going the same road so the best thing is to help out others.
[G2 General] tdawg0213:
So your saying that your situation was the same? No recovery or download mode and once you updated drivers you got download mode back? If so then maybe the op should state this if that is the case of course with no guarantee.
[G2 General] bender_007:
The thing is I had adb, but twrp didn't want any sideload / push (Had to install google generic drivers, then it worked instantly). Maybe you had different situation.
[G2 General] bFree68:
Had the same problem. Here's what worked.

I had to reboot into factory reset to fix this. Power off, then power on holding power button and the volume down key at the same time. When the LG logo comes up, release both and then press them again. When factory reset comes up, choose yes, yes. This gives you the boot certification error, then a dark but not-quite-off screen. Now plug in the cord and Linux will see your phone (at least it did mine). You may want to disable automount before trying this.
[G2 General] ramunator:
thanks for the tip it worked but I do some problems with pushing img files...:

ramas@ramas-N73Jn:~$ sudo -i

[sudo] password for ramas:

root@ramas-N73Jn:~# ls /dev/sd*

/dev/sda /dev/sdc /dev/sdc16 /dev/sdc23 /dev/sdc30 /dev/sdc5

/dev/sda1 /dev/sdc1 /dev/sdc17 /dev/sdc24 /dev/sdc31 /dev/sdc6

/dev/sda2 /dev/sdc10 /dev/sdc18 /dev/sdc25 /dev/sdc32 /dev/sdc7

/dev/sdb /dev/sdc11 /dev/sdc19 /dev/sdc26 /dev/sdc33 /dev/sdc8

/dev/sdb1 /dev/sdc12 /dev/sdc2 /dev/sdc27 /dev/sdc34 /dev/sdc9

/dev/sdb2 /dev/sdc13 /dev/sdc20 /dev/sdc28 /dev/sdc35

/dev/sdb5 /dev/sdc14 /dev/sdc21 /dev/sdc29 /dev/sdc36

/dev/sdb6 /dev/sdc15 /dev/sdc22 /dev/sdc3 /dev/sdc4

root@ramas-N73Jn:~# gdisk -l /dev/sdc

GPT fdisk (gdisk) version 0.8.1

Partition table scan:

MBR: protective

BSD: not present

APM: not present

GPT: present

Found valid GPT with protective MBR; using GPT.

Disk /dev/sdc: 61071360 sectors, 29.1 GiB

Logical sector size: 512 bytes

Disk identifier (GUID): 98101B32-BBE2-4BF2-A06E-2BB33D000C20

Partition table holds up to 36 entries

First usable sector is 34, last usable sector is 61071326

Partitions will be aligned on 2-sector boundaries

Total free space is 257992 sectors (126.0 MiB)

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

1 32768 163839 64.0 MiB 0700 modem

2 163840 165887 1024.0 KiB FFFF sbl1

3 165888 166911 512.0 KiB FFFF dbi

4 196608 197631 512.0 KiB FFFF DDR

5 229376 231423 1024.0 KiB FFFF aboot

6 231424 233471 1024.0 KiB FFFF rpm

7 262144 294911 16.0 MiB FFFF boot

8 294912 296959 1024.0 KiB FFFF tz

9 296960 296961 1024 bytes 0700 pad

10 327680 333823 3.0 MiB FFFF modemst1

11 333824 339967 3.0 MiB FFFF modemst2

12 339968 339969 1024 bytes FFFF pad1

13 360448 393215 16.0 MiB FFFF misc

14 393216 458751 32.0 MiB 0700 persist

15 458752 491519 16.0 MiB FFFF recovery

16 491520 497663 3.0 MiB FFFF fsg

17 524288 525311 512.0 KiB FFFF fsc

18 525312 526335 512.0 KiB FFFF ssd

19 526336 526337 1024 bytes FFFF pad2

20 526338 527361 512.0 KiB FFFF encrypt

21 557056 573439 8.0 MiB 0700 drm

22 573440 589823 8.0 MiB 0700 sns

23 589824 655359 32.0 MiB FFFF laf

24 655360 720895 32.0 MiB FFFF fota

25 720896 786431 32.0 MiB 0700 mpt

26 786432 787455 512.0 KiB FFFF dbibak

27 787456 789503 1024.0 KiB FFFF rpmbak

28 789504 791551 1024.0 KiB FFFF tzbak

29 791552 791567 8.0 KiB FFFF rct

30 819200 6488063 2.7 GiB 0700 system

31 6488064 7733247 608.0 MiB 0700 cache

32 7733248 7897087 80.0 MiB 0700 tombstones

33 7897088 7929855 16.0 MiB 0700 spare

34 7929856 8028159 48.0 MiB 0700 cust

35 8028160 60948479 25.2 GiB 0700 userdata

36 60948480 61071326 60.0 MiB 0700 grow

root@ramas-N73Jn:~# dd if=/home/med/Desktop/sbl1.img of=/dev/sdc2

dd: opening `/home/med/Desktop/sbl1.img': No such file or directory

root@ramas-N73Jn:~#

why it says : No such file or directory...? I did everything as was described by the way mine is 32g not 16G maybe that is a problem? which one is mine 10B 11A 12B? I bought in Norway Europe..
[G2 General] deereper:
Worked

Thank you, after 3 days I can finally use my phone again :D
[G2 General] ramunator:
have you had any problems with pushong image files? No such file or directory etc?
[G2 General] Jonous:
Happy for you mate, as i said i know the feeling, both sadness and joy of success ;)
[G2 General] Partager.info:
Because you are trying to push files from a directory that does not exist on your computer.

Look, you are using my directory "/home/med/Desktop/sbl1.img" med is my session on windows, do you have the same session name? :)

Where did you put the required files in your computer?

Do you see what i mean?
[G2 General] bender_007:
Look for the actual filename ---is it "1-sbl1.img" or is it sbl1.img ?

maybe you should cd /home/YOURUSERNAME/Desktop

and then

ls (enter)

then you see the filenames..

then

dd if=sbl1.img of=/dev/sdc2 (instead of sbl1.img type teh actual filename)
[G2 General] ramunator:
yes understood... :) well I could push files just started /home/ramas/Desktop.... after I pushed all files didn't get into twrp now I'm in fastboot mode, now moving forvard from this point, any suggestions?
[G2 General] Partager.info:
Well, when you enter ubuntu, you do it throught a session name. type the name of your session here and i'll give you the path to your files.

You should put your files directly on desktop, don't put them in any folder.
[G2 General] ramunator:
I got an idea how to see my files on desktop I just drag them into terminal saw what I was doing wrong got right directory have managed to push files but after reboot I gont into fastboot mode after holding volume-/+power what shall do from this point?
[G2 General] Steiso:
HI guys , I new in this forum :) .So I have a problem with my lg g2 D802 10a , I can't put in download mode , recovery mode and etc. I read evething but without success .I use linux 12.04 like virtual machine with VW virtual box and my linux can not detect my LG G2 when I wrote the comands in the terminal in linux I can't see my phone ... In windows is detected like adb device because I installed the adb drivers .What can I do in that case . Can you help me please , thanks in advance.I also tryed to install the Qualcomm drivers but nothing ...And I can't see adb partitions ...
[G2 General] Partager.info:
Did you download the right files for your phone version?
[G2 General] Partager.info:
does your phone suffer from the same symptoms described in this topic?
[G2 General] Steiso:
Yes is the same like this topic and the model also is the same ...The problem become When I received the official update 4.4.2 and I downloaded it restart my phone and I stuck in TWRP after that I tried to restore with my backup form TWRP ,but without success.At the last time I just wipe the cache ,system and etc. also I did factory reset several times.
[G2 General] Partager.info:
Do you still have access to TWRP?
[G2 General] ramunator:
I have download this one http://downloads.codefi.re/autoprime/LG/LG_G2/VS980/Stock_Firmware/12B_Partitions

is really bad now?
[G2 General] Steiso:
Yes I have my version of TWRP is 2.6.3.4 btw I'm in mistake because I saw that I'm dowloaded the wrong files for my model where can I find this files 1- sbl1.img

2- aboot.img

3- rpm.img

4- tz.img

for D802 10a , because I find for another model ?
[G2 General] ramunator:
those:

http://downloads.codefi.re/autoprime/LG/LG_G2/VS980/Stock_Firmware/12B_Partitions[/url]

is really bad now?
[G2 General] Steiso:
Are you sure for those files ,because in mine page they are .img not .bin ? Thanks :)
[G2 General] ramunator:
it not from yours given link first when as unable to push image off yours because I didn't knew how, download those 12b ended .bin renamed them into .img and the rest did everything as yous said my bad is that I mess up with the files chose different... unfortunatly not yours, is there any way out off this situation?
[G2 General] Steiso:
No I can't see my partitions in Linux I renamed the files in .img I put them on the desktop , but is the same :X.
[G2 General] ramunator:
this is link that I have downloaded files http://downloads.codefi.re/autoprime/LG/LG_G2/VS980/Stock_Firmware/12B_Partitions for I changed ending .in into .img and after I sit in fastboot mode..

this is yours giving link http://downloads.codefi.re/autoprime/LG/LG_G2/D802/Stock_Firmware/10b_EUR_16G_partitions but I puched 12b version images... I just put wrong files i guess... is there is possible to do now?

sorry, for being so unattended and downloading different version files just took them from wrong folder unfortunattly not yours...
[G2 General] Steiso:
After first comand in Linux terminal I see only "root@ubuntu:~# ls /dev/sd*

"/dev/sda /dev/sda1 /dev/sda2 /dev/sda5" . And when I typing the second comand , "gdisk -l /dev/sda" nothing happend is the same situation :X:X

GPT fdisk (gdisk) version 0.8.1

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.

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

Disk /dev/sda: 16777216 sectors, 8.0 GiB

Logical sector size: 512 bytes

Disk identifier (GUID): 8A5FA975-2E7F-4D15-90D5-C7E53709E387

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)
[G2 General] ramunator:
lg g2 fastboot problem..

how to get out off fastboot mode? I tried all different button combos even after factory reset I get into fastboot:

fastboot mode started

udc start

is there any way to fix with ubuntu or any different way? i also tried

cmd

fastboot erase recovery

fastboot flash recovery recovery.img

rewrote recovery but it didn't helped windows see it as adb device but cannot run any adb shell command, each time I connect it to pc it starts fastboot mode, no download mode either, really confused stupid me flashed 12B instead 10B was affraid that it will be bad because it was for 16G mine is 32G....

so guys is there any ways from this situation?
[G2 General] Steiso:
I can not do nothing with my phone I tried to detect my partitions in Linux , but I can not. Can help me somebody with that issue ?
[G2 General] ramunator:
follow dirrections from page 1 to locate your phone try go to factory settings.recovery volume-/power button same time until you will see logo quick release and quick press again the screen will appear press power button 3 times then ubuntu will see your phone you can read this topic from page 40 there where are start it and "succeede" to flash maybe wrong files so be sure is it ok for u, good luck
[G2 General] Partager.info:
If you can still reboot into twrp then just follow this guide: http://xdaforums.com/showthread.php?t=2451696

It should help you to fix your phone.
[G2 General] Partager.info:
If you are still stuck on fastboot try this guide.

http://xdaforums.com/showthread.php?t=2543154

It should help.
[G2 General] Steiso:
Thank you everybody for the help now it is ok, I installed linux 12.04 ot my old notebook and after comand from this post I fixed my phone and anfter comand You have to reboot and after that hold volume up plus and witj R&D test tool with KZD file install new rom and now it is ok Thank you again guys and now I will continuw with instalation ;) :) Have a nice night , see you soon :):):)
[G2 General] ramunator:
I have tried this it don't help I try buttons compination it connected all the times as fastboot mode...
[G2 General] warlock94:
Worked But No Download Mode

Worked perfectly, sideloaded CyanogenMod

I want to revert to stock by flashing a KDZ,

But the download mode isnt working, its just stuck on the Dowwnload mode rectangle

I can't get to the fimware update screen

Please help

Edit: flashed the laf.img through TWRP terminal

Download mode working

Installed stock KDZ

Back to normal *sigh of relief*
[G2 General] vuut:
How did you make it work so?????
[G2 General] MrCaira:
I am trying to use this fix, however even though i turned off auto mount as you said, it still keeps showing Unable to mount, and i dont get to see the phone partitations
[G2 General] ramunator:
yes it did ! just needed in smd fastboot erase and reflash not only laf.img but I reflashed all files so get to recovery, after used instructions to boot normal system and now got my phone back thanks all of you guys for help

:D
[G2 General] Partager.info:
Nice.:good:
[G2 General] vipergtx:
help me

hi

i have a question : the first line of instruction " is /dev/sd* " didnt work in my ubunto

when i enter it say " common not found " what i do?
[G2 General] Ben_Z98:
I screwed up flashing firmware (process interrupted half way) and now I don't have download mode. I was hoping this would help, but I'm stuck.

I'm only getting /dev/sda /dev/sda1 /dev/sda2 and /dev/sda5 when I hit ls /dev/sd*

When I type gdisk -l /dev/sda it returns two things: Linux filesystem and Lynux swap

What do I do from here? I'm trying to fix a d803 (Canadian Variant). Is there an easier way? I have a system running Carbon Mod and I have CWM recovery. Is there a way I can flash download mode back in or something? Thanks.
[G2 General] OFFdaHOOK:
how can i get all those files but for my specific stock rom?
[G2 General] warlock94:
It's ls /dev/sd*

It's a small L not I
[G2 General] Ben_Z98:
Yes, it's a lower case "L"
[G2 General] Ebrademor:
LG G2 stuck in boot lock

I had the same problem, but just go into hard reset mode, into twpr and flash Rom and superuser, I got this problem upgrading to 4.4.2
[G2 General] vipergtx:
ask

Do you break your phone like me

No recovery & No Download Mode & No boot

I am sorry. And I want to help others
[G2 General] vipergtx:
help

Hi i have problem in the terminal

you cane see the problem in below picture

say " you most run this program as root or use sodu "
[G2 General] Ben_Z98:
Oh, I got stuck here too for a bit. Type:

sudo -i

Then I'll prompt you for a password. Type in your password and hit enter. Be aware that it doesn't show any characters when you're typing your password. This confused me for a bit.
[G2 General] artur0588:
My Wndows and even Ubuntu can not loacte my device.

/dev/sda /dev/sda1 /dev/sda2 /dev/sda3 - this is only my Windows drives.

I have official android 4.4.2 on Lg G2 Sprint LS980. I have flashed aboot.img from android 4.2.2 and recovery.img via terminal. After reboot I have just white and grey lines on my screen and no download mode, no any mode. May be I flashed wrong aboot.img from D802. Any solution?

EDIT:finaly i got this way to work but now my phone appear as lg g2 qhsusb_bulk in device manager and black screen, no any logo. Ubuntu and Windows can not see any drives as before.
[G2 General] R0gersism:
Any idea if something like this could work for the verizon variant? I flashed the 24A OTA and accidently wiped system, data and internal while in TWRP. Download mode doesn't work and I have no ROM to flash. All I can do is boot to TWRP recovery.
[G2 General] vipergtx:
help

I send messsages for Problem

---------- Post added at 01:24 PM ---------- Previous post was at 01:20 PM ----------

Get help from this page

http://xdaforums.com/showthread.php?p=51374260
[G2 General] vipergtx:
Hi
[G2 General] yahooking:
I have a D800 32gb model showing up as "Qualcomm HS-USB QDLoader 9008"

I am not getting the Hard Disks anymore, i was at one point until i dd'ed the sb1, the phone rebooted itself and after that i have only the "Qualcomm HS-USB QDLoader 9008"

When using QPST the phone shows in DOWNLOAD mode and i am able to toggle between DIAGNOSTIC an DOWNLOAD.

I see that some people have had luck with this using .hex files on QPST but i cannot find them some links are dead.

If anyone would be so kind to help for the D800 i would greatly appreciate it.

The phone does not show up at all in Ubuntu or any linux system, and it is not detected as Drives on windows so i deff need QPST files to fix this.