yashsingh1/xdaforums huggingface dataset:
[G2 General] Fidelacho16:
what are the /dev/sda devices? im trying to do this procces but i dont whant to do it untill i get sure of the dispositives that i am using
[G2 General] anoop2016:
LG G2 D802 flashing issue

Hi ,

I am facing the same issue with my LG G2 after falshed CM13 snapshot. I read the above post excited to try those steps .But one doubt is there regarding the whole process. How we can extract

1- sbl1.img

2- aboot.img

3- rpm.img

4- tz.img files from the recovery image "cm-13.0-20160317-SNAPSHOT-ZNH0EAO1RL-d802-recovery.img"

Note: I am using Ubuntu 14.04

Thanks in advance
[G2 General] coolfure:
LG d335

I am using LG L bello(d335). I flashed a wrong uboot.img file during installing recovery into my phone. My phone is currently not going into recovery mode or fastboot mode. its just vibrating showing led (no lg symbol displayed) and shutting off. What should i do. Can any1 plz help me. Is the above method appropriate for me. Can ny1 teach me. plz...
[G2 General] Hamza khan2014:
I got my LG D802 bricked by using Autorec and now all i see white lines on screen. My Windows detects as android.. any help please ?
[G2 General] mriyaan:
HOW DID U GET UR DEVICE IN DOWNLOAD MODE? IT WAS NOT LOADING DOWNLOAD MODE RIGHT? i have the same issue bro.. thats the reason am asking here.. my frnz lg g2 is also stuck at initializing download mode..i.e..5 blue dots.. but no furthur download mode or recovery mode
[G2 General] Art Vanderlay:
If you're only seeing the 3 blue dots then you don't have a working download mode and you have to use the Linux method to flash the partitions first.
[G2 General] bender_007:
There is the lg g2 is unbrickable thread which will help you. Also is it really d802? Wasn't it d801?(or was that another user hmm..)
[G2 General] kostasgia82:
I have this problem with my phone....

Can someone help me via remote desktop?
[G2 General] digdeeper:
Can i use this method on my g3 d855 unrooted. I've got secure boot error when booting and can't get into download mode.
[G2 General] GMN900:
tryed and there is no dev/sdb ..... only dev/sda dev/sda1 dev/sda2 dev/sda5

how am I gonna do next?
[G2 General] Art Vanderlay:
You can but your d855 has a different partition table, different firmware, different back to stock guide etc.

You'll have to make the necessary adjustments as you go through the process.
[G2 General] r032814:
I'm so annoyed that I have the same problem.

When I intended to flash twrp on my LG G2 D802 yesterday, I found that it is fail to enter the recovery mode. And the reason why I can't enter the recovery mode is I flash the custom recovery on kitkat android 4.4.2. The error appear: boot certification verify error. It just only available on android 4.2.2. God damn~

It is too late when I get the reason, anyone can help me, thank a lot!
[G2 General] bastiasat:
pleeeease help me

please help

in this link i don't have my LG phone "LG D290n "

how i can download file for my phone
[G2 General] Art Vanderlay:
This guide isnt for the lg fino. See here:

http://xdaforums.com/android/development/guide-reflashing-stock-rom-d290-d295-t3142456
[G2 General] iksi:
Hi all. I tryed recovery my lg l80 d373eu. 1. I extract the firmware and flashing all 5 files wich are necesary for booting in download mod, and reflashing full kdz. 2. I connect the phone but when pressing volume up key, and connect usb, the phone constantly connect, and disconnect on the computer. On the linux computer phone will recognized normaly as qualcom usb bulk.... How i can fix? Does position of partitions is the same of all lg phones? For example aboot.img is an /dev/sdb5? Thanks you for all replys.
[G2 General] Art Vanderlay:
No, they'll probably be different. When you run gdisk -l /dev/sdb you'll see your own partition table. That will tell you where to flash them.
[G2 General] iksi:
Ok.... now my partition table is destroid? Any posibility solution to get a info of partition table? any solution for reading log on terminal line by line, and coppy messages when tiping gdisk -l /dev/sdb? Thanks, and best regards
[G2 General] Art Vanderlay:
Destroyed? :eek: no, you just have a different phone. It won't be the same as the lg g2.
[G2 General] bastiasat:
Help please

I can't acces To download mode

I can't use LG flash tools

I need the file To upload with Ubuntu
[G2 General] iksi:
yes, i know that ddypherent phone, and that partition table as dypherent, but i meen after flashing maby rong partition row images? do i can proper partition table from Windows lg firmware extractor, or eny another solution from wich i can read info line by line? i'm asked this because i'm totaly blind and using the screen readers on linux /mac / Windows. Thanks, and best regards
[G2 General] Art Vanderlay:
Ok so what this means is you flashed images to the wrong partitions. Lets start again.

Connect your phone to ubuntu and run ls /dev/sd*

Show me the output from your terminal screen. Just copy and paste here.

---------- Post added at 01:47 PM ---------- Previous post was at 01:44 PM ----------

You need to download your firmware from the thread I linked you to first.
[G2 General] iksi:
Hi, Sorry for late reply

Hre is the log

/dev/sda

/dev/sda1

/dev/sda2

/dev/sda3

/dev/sda4

/dev/sda5

/dev/sdb

/dev/sdb1

/dev/sdb10

/dev/sdb11

/dev/sdb12

/dev/sdb13

/dev/sdb14

/dev/sdb15

/dev/sdb16

/dev/sdb17

/dev/sdb18

/dev/sdb19

/dev/sdb2

/dev/sdb20

/dev/sdb21

/dev/sdb22

/dev/sdb23

/dev/sdb24

/dev/sdb25

/dev/sdb26

/dev/sdb27

/dev/sdb28

/dev/sdb29

/dev/sdb3

/dev/sdb30

/dev/sdb31

/dev/sdb32

/dev/sdb33

/dev/sdb34

/dev/sdb35

/dev/sdb4

/dev/sdb5

/dev/sdb6

/dev/sdb7

/dev/sdb8

/dev/sdb9 i tryed also make log form gdisk -l /dev/sdb, but no luck, but in output of this commant i don-t hear partition aboot, and number pozicioning. Thanks again.
[G2 General] Art Vanderlay:
Alright so all these sdb devices are your g2. Can you get someone else to copy and paste the output from gdisk -l /dev/sdb here?
[G2 General] yuyiwen:
I have a G2 D800 with stripped down lollipop ROM. Last night after I flashed AutoRec and shut down the phone, I was not able to power the phone back up again, completely dead. No download mode or recovery mode. When I connect the phone to PC with a USB cable, 15 also windows pops up asking me to reformat the partitions on the phone. I am wondering if I could use the method in this thread to unbrick my phone. As I have a stripped down version of lollipop on the phone before I bricked it, should I down load the image files from the 30f_partition folder? Thanks Guys!
[G2 General] bender_007:
Use srktool
[G2 General] yuyiwen:
bender_007, can you be more specific? Where do I find srktool and how do I use it? Thank you.
[G2 General] sourly64:
Look :cool:

http://xdaforums.com/lg-g2/development/tools-srk-tool-useful-toos-lg-root-twrp-t3079076
[G2 General] r032814:
I also have the same problem with my D802 :crying::crying:
[G2 General] hamedi3:
anyone have these for F320k

1- sbl1.img

2- aboot.img

3- rpm.img

4- tz.img

can up load for me?
[G2 General] DennisvandePut:
I got or working again. A coax cabine stripped down. And used it as the guide told. Worked flawless. Thanks for saving my g2
[G2 General] mrrhtuner:
Well I've tried this process and was able to short out those pins...but the problem is that once I disconnected the usb cable and plugged it into my Xubuntu laptop, it could only find /dev/sdb and nothing else.

When I disconnected and attached it to my windows laptop and shorted the pins, I got a bunch of partitions on Disk 1. I then tried to run SRKtools and tried option 4, than 5 and tried the qhsusb repair...it never completed successfully :(
[G2 General] werokui:
L70 D320f8

Hi,

I have a D320f8 with:

No Boot

No Download

No Recovery

(somehow it can enter "factory data reset" but doesnt work when selecting "yes" it reboots to purple screen "DBI Err Fatal")

When USB connects to an Ubuntu install, phone keeps flashing and wont show on devices attached

I did follow OP's steps, and this is what i get when using " ls /dev/sd* ":

(looks like im not able to post images yet. but the img shows sdf as the partition with sdf35, sdf26, sdf33, etc..

it is hosted on tinypic...

h t t p ://es.tinypic.com/r/15xnz44/9

then I use gdisk and after a few tries i get this table:

As I have the Img files I extracted from the stock KDZ, I went ahead and tried to "push" them to the phone (sorry if I missused terms.. not very bond to technicism and also not an english native speaker) and it seems like files get copied, but then i use gdisk to look at the table again and theres no changes on the img files, I mean, size on some files should change right?

I have no real knowledge of how this phone ended like this, I got it from a guy who just gave up on it

any hint or advice?

I've read a lot and googled tons of pages, but im stuck right now

Thanks in advance for any help ^ ^
[G2 General] Ares!:
d800

my AT&T g2 is completely dead. it even doesn't turn on. windows detect but ubuntu doesn't. :rolleyes: pls help me :(
[G2 General] LinkAdrifting:
oops,in fact this terrible situation occurs after i downloaded cm13.0 and tried to flash it from cm12.1,on a twrp based rec,but i changed my rec by some hack trick:enter the factory reset mode and confirm 2 reset,but it will boot to my rec,and i some how changed it into cm official nightly rec...and now that trick doesnt work again...it just goes black after lg logo blinking once,what should i do?which image file should i use?
[G2 General] sourcewop:
Hello, i have sprint LG g2, no download mode but goes into 3e recovery. When i start the phone i get LG logo and goes black then led light starts blinking. When i connect the phone to pc it detects as LGE android phone. I can also connect as adb from recovery. How to restore please help

Thanks
[G2 General] vickdu31:
I tried that but the phone doesnt show up at all when I do ls /dev/sd*.

Its the same output if i connect G2 or not

Edit : Right now I cant even see LG logo anymore. Any Idea to force shutdown ?
[G2 General] Rdmkr:
I've tried installing the qhsusb driver on three different computers, all saying that installing by right clicking and choosing "install" is not supported by this file.

I've also tried to install by changing the driver for the HID and Usb devices that appear in Device Manager when I plug in the phone. Nothing works.

Can someone explain clearly how I am supposed to install the qhsusb .inf files because all the ways I've tried don't work.

This doesn't LOOK like it should be complicated so why IS it. windows, here's a file, install it ffs. but no. one bs error after another.

I appreciate it, its good to at least know I've got the right files in front of me.
[G2 General] xxDeeTownxx:
LG G2 D800 Partition IMG

I'm having a very hard time understanding so i have to ask, Are the img files that are being pushed on the first post specifically for the D802, or can these also be used with the D800? If not then what are the proper files that are neccessary to unbrick my D800 for i too do have all the same symptons mentioned in the first post, please help
[G2 General] shriom_manerker:
**** ! im in this situation with no linux machine around ! anyway i can get this to work from my windows 8.1 ??? [MENTION=5084584]Partager.info[/MENTION]
[G2 General] Partager.info:
You can use virtual machine to setup linux on the same machine. Google is your friend.;)
[G2 General] Partager.info:
you can find your required files here:

http://downloads.codefi.re/autoprime/LG/LG_G2/D800/Stock_Firmware

Juste chose your firmware version.

Good luck.
[G2 General] agent3m:
Thank you very much OP! This helped out tremendously to unbrick my D803. The problem I kept running into was that I could not get linux to recognize my device but it was because I didn't boot into the proper "mode". I kept trying to mount the phone while it was in the "download mode" (hold the Vol + button while plugging in the USB) while ubuntu started to recognized my device when I boot into recovery mode (Vol - and power button, then plugging in the USB and the recovery screen was black). I hadn't realized that I was in recovery mode with the black screen.

Are there others that have been having the same issue of not having linux recognize their device?

Also, before using "dd" to transfer the img files I realized at the last minute that the original list of files were for the D802 only. I had to dig around a bit to find the D803 specific files using google.

Again, thanks for this instruction it worked out great.
[G2 General] shriom_manerker:
i used vmware workstation ! it doesnt mount all connected usb devices ! only the one detected as qhsusb_bulk ! so when i tel vmware to use that device,my partitions dont get mount in the virtual machine :\ which virtual machine can i use ?

another symptom is that my g2 detects as 8 drives in windows ! im guessing these are those partitions ! i hope this detects the same way in ubuntu

edit- restored it ! thanks a billion man :) this really helped ! the tutorial is also SPOT ON ! works bang on :)
[G2 General] gersor1:
Guys I have tried what the link exactly says but when i reboot its stuck in LG Screen forever. So i restart it thru pressing power and volume down for me to go to fastboot mode. however download mode appear for a while then the fastboot saying i have the boot certification error then comes the format image poping around...

My device is lg d802, running vdt kitkat. I accidentally flash f320k recovery..

Please help..
[G2 General] OFFdaHOOK:
Hi I have a d806 and im in Gpro 2 port kitkat, my recovery fails and i get security error, i have de ubuntu machine and i want to know what kind of files do i need to get back to jellybean, the boot.img, rpm.img etc of kitkat or the ones for jellybean?
[G2 General] alex1690:
:D Thanks!! Your guide make my LG G2 back to life!

I've made a bootable usb pendrive with FATDOG64 Linux (terminal work like a charme and no need to disable automount!) and in addition to files described in post, i've also flash recovery.img. Then i was able to boot in download mode and flash with Lg utility :victory:
[G2 General] Partager.info:
Thank you for sharing the tip.
[G2 General] Skolotaie:
Thank you very very much for this AMazing Tutorial it worked Perfectly with my D802 32GB version

I flashed a Completely wrong Kernel by accident and it was Unable to Boot or to enter Recovery/Download Mode

Thanks to your Tut i was able to Bring it back from Death!!
[G2 General] Partager.info:
Nice to see your phone back.

You are welcome
[G2 General] joshw0000:
Sprint G2 - Updated with T-Mobile OTA

Hey guys, I'm trying to fix a Sprint G2 LS980 that someone was using on T-Mobile and somehow managed to partially accept a OTA. So the phone is a LS980 and has some parts of a D802 installed. I have no recovery and I'm getting the secure boot error. I managed once to get it into download mode but when I tried to use LG Flash Tool it failed "Device Model is different". It's reading the Model as a D802 and the DLL is LS980.

So I have Ubuntu booted from a jump drive and I'm using this great tutorial to try and fix this phone but I'm running into an issue when I run "gdisk -l /dev/sdb". It only sees the jump drive that I'm using, not the phone. Although when I run "ls /dev/sd*" I do see the phone (sdb).

If someone could please list the results of "gdisk -l /dev/sdb" on a Sprint LS980 I should be able to identify which SDB sectors to flash the Sprint files to so I can restore this phone. Any help would be appreciaed!
[G2 General] Triad79:
Hello [MENTION=5084584]Partager.info[/MENTION]

I tried this procedure on LG G Flex D958 on proposition from the Autoprime since this method should work for all LG sdhsusb_bulk devices as long as there are original boot partition files!

I got stuck at this part

Since ubuntu doesn't see SDB only SDA devices how can I proceed further??? :rolleyes:
[G2 General] alex1690:
First in windows check that LG is detected as qhsusb_bulk in device manager, then boot under Linux (i had uset FATDOG64 distro, many ploblems with other version).

After that you see other partition :laugh:
[G2 General] Partager.info:
Your device is not detected as qhsusb_bulk.

unplug it and plug it again. keep trying untill you get it detected. then you will have the sdb partitions.
[G2 General] Rdmkr:
I only ever get the device detected as Human Interaction Device (HID) and USB under the HID category.

This happens on all 4 machines I've tried this on. I could only get the qhsusb driver installed on the windows XP computer (that is, it didn't give an obvious error; no confirmation of installation either).

Am I supposed to get into administrator mode in windows somehow or something?

Sometimes it shows up as an LGE Modem of some sort...
[G2 General] Triad79:
I don't think that unpluging it and pluging again will resolve the problem, it's always recognized as Qualcomm HS-USB in windows... While Virtual Machine and Linux are running and I plug it then, windows doesn't recognize anything...

As soon as I shutdown VM it goes to "Qualcomm HS-USB Diagnostics 9006" since it is said earlier that those drivers need to be installed...

Now, this is what's showing up after I plug inder virtual machine:[/url][/IMG]

So it says that there are only two partitions visible Linux filesystem and linux swap, both primary... SDA that would be, no SDB or secondary...

Is there any solution except plug in and plug out..?! :confused:
[G2 General] Partager.info:
Have you installed Qualcomm HS-USB Diagnostics 9006 drivers on windows?
[G2 General] fahad032:
are you on Windows or linux
[G2 General] sourcewop:
Hello, please can somebody tell me how to fix my problem.

Thanks
[G2 General] vickdu31:
I have both. Actually its fixed now, needed to short points and with 9008 mode i got it back. Now i flashed LP but the phone shutdown randomly...
[G2 General] ValidRobot:
Which Linux do you use for mounting the phone?? I tried Fedora KDE (doesnt mount at all) and Fedora Gnome toggles between mounted and unmounted and deactivating automount with dconf-editor doesnt help it still mounts it again and again.

I would really appreciate some help, thanks.

ValidRobot
[G2 General] Art Vanderlay:
Slax is a good distro to use. It's very small and can boot off a usb. If slax doesn't see your partitions then you have a bigger problem.
[G2 General] bender_007:
Once you go slax you never go...notslax? :)
[G2 General] Art Vanderlay:
Does it boot into twrp?
[G2 General] sourcewop:
Sir there is no TWRP, only 3e recovery, when i click reboot in recovery it goes to lg logo and led light starts blinking in green and cyan color.
[G2 General] vickdu31:
I folowed this using Slax but my phone (d802 32GB) here is the output of the second command :

root@slax:~# gdisk -l /dev/sde
GPT fdisk (gdisk) version 0.8.5

Warning! Read error 5; strange behavior now likely!
Warning! Read error 5; strange behavior now likely!
Partition table scan:
MBR: not present
BSD: not present
APM: not present
GPT: not present

Creating new GPT entries.
Disk /dev/sde: 4294967296 sectors, 2.0 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 2641B4DC-1751-455C-8AB2-F28B087E2B5F
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 4294967262
Partitions will be aligned on 2048-sector boundaries
Total free space is 4294967229 sectors (2.0 TiB)

So it tell me that my device is 2TB and cannot see the detailed partitions.

On windows I can see partitions and the last one is unalocated of 14gb... So my partitions are definitely ****ed up.

Any suggestion how to restore all my partitions ? A full raw backup of a D802 32GB would be good I think.
[G2 General] imhsp:
Hi, i've LG LS995 G FLEX Sprint do you know how to force it into QDLoader mode means which points to short it will be great help if you can let me know

your Videos are Private cannot see them too Please Help
[G2 General] Art Vanderlay:
Can you show us the output of

ls /dev/sd*

and then

lsusb

---------- Post added at 04:55 PM ---------- Previous post was at 04:52 PM ----------

You should be able to get download mode. Hold the power button for 10 seconds until you're sure it's off and then try download mode again. Tell us what happens when you try that.
[G2 General] vickdu31:
Thanks for your answer, finally I got it working now on linux but the problem is that there are 14gb somewhere. How can I reset partitions ? I will now try to follow OP and we will see what happend. But my partitions are wrong anyway.

root@slax:~# ls /dev/sd*
/dev/sda /dev/sdc1 /dev/sdd13 /dev/sdd19 /dev/sdd24 /dev/sdd3 /dev/sdd35 /dev/sdd8
/dev/sda1 /dev/sdd /dev/sdd14 /dev/sdd2 /dev/sdd25 /dev/sdd30 /dev/sdd36 /dev/sdd9
/dev/sda2 /dev/sdd1 /dev/sdd15 /dev/sdd20 /dev/sdd26 /dev/sdd31 /dev/sdd4
/dev/sdb /dev/sdd10 /dev/sdd16 /dev/sdd21 /dev/sdd27 /dev/sdd32 /dev/sdd5
/dev/sdb1 /dev/sdd11 /dev/sdd17 /dev/sdd22 /dev/sdd28 /dev/sdd33 /dev/sdd6
/dev/sdc /dev/sdd12 /dev/sdd18 /dev/sdd23 /dev/sdd29 /dev/sdd34 /dev/sdd7
root@slax:~# gdisk -l /dev/sdd
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sdd: 61071360 sectors, [B]29.1 GiB[/B]
Logical sector size: 512 bytes
Disk identifier (GUID): 98101B32-BBE2-4BF2-A06E-2BB33D000C20
Partition table holds up to 36 entries
First usable sector is 11, last usable sector is 61071349
Partitions will be aligned on 2-sector boundaries
[B]Total free space is 30552054 sectors (14.6 GiB)[/B]

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 30703615 [B]10.8 GiB 0700 userdata[/B]
36 30703616 30777310 36.0 MiB 0700 grow

Update : I followed this tutorial using files I found for 32GB D802, If i try to boot to TWRP, I can get to factory reset screen but then phone crash. When I try to normally boot or do anything it goes indo downld mode (without the blue bubbles at first) and everytime I try to flash a TOT or KDZ it crash at some point...

Is there any way to force and change partitions ?
[G2 General] Art Vanderlay:
You did fine but you shouldn't follow the last step of the OP. Just flash the boot, aboot and laf images then boot into download mode to flash a kdz. Don't worry about twrp or any other partitions.

Edit: Where did you find those files that you flashed?