• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [International] Please help! LG G2 bricked. Tried everything!

You seem to have a stubborn one if nothing else. I am basically out of ideas for semi-safe fixes. Only thing I have left is to fastboot flash ALL of the partitions. If you choose to do this, you're now at maximum risk please be advised.

Go to recovery, open your command prompt and verify adb connectivity with the adb devices command. Then enter this:

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

^^Triple check every single character on the above command. You need to have it exactly perfect. Every space, slash, etc. Recommend copying and pasting that one if possible.

If you still have adb working at this point, enter adb reboot.

You should now be back to the fastboot screen. With ALL the img's in your sdk-tools folder, proceed to flash them all one by one.

There is one I have not tested myself and have never seen flashed...PrimaryGPT. I don't know the consequences of that. If you'd like to first try flashing everything BUT that, fine. If after doing that, it's still not being recognized as a D802 by LG Flash Tools, then you may want to try flashing the PrimaryGPT also. But if you do that, you'll pretty much have to start over at the beginning of this post and redo the whole thing. Or if you're feeling brave and want to flash it with all the others the first time around, up to you. (edit: don't flash PrimaryGPT)

I'd keep the same TRWP recovery img (which you already renamed to recovery.img) and flash that one again instead of the stock recovery. Stock recovery will do you no good here.

Again, remove any of those numbers at the beginning on any of the files you haven't previously dealt with. You'll end up then with the following command set, waiting for each to complete before moving to the next:


fastboot flash modem modem.img
fastboot flash sbl1 sbl1.img
fastboot flash dbi dbi.img
fastboot flash aboot aboot.img
fastboot flash rpm rpm.img
fastboot flash boot boot.img
fastboot flash laf laf.img
fastboot flash misc misc.img
fastboot flash persist persist.img
fastboot flash recovery recovery.img
(TWRP, not the stock one)
fastboot flash tz tz.img

If after all that, your phone is still not recognized in the Flash Tools software as a D802, then I have officially run out of ideas.
 
Last edited:
Btw, in the event you end up with a booting phone after flashing all the partitions, don't accept OTA updates as your method of updating. Having TWRP recovery will cause problems with that. Instead, use download mode and the LG Flash Tools software. If you get that far, THEN you can accept OTA updates.

You could I suppose fastboot flash the stock recovery.img in lieu of the TWRP one when doing the above procedure, but if it doesn't work, that'll leave you with no custom recovery and therefore no adb. Up to you.
 
My Lg G2 ls980 is not working just black. I was trying to dd it through ubuntu and it worked for the most part. Just for laf.img I get an input/output error. Is there any way to fix it? Without flashing the right laf I cant get into neither Download nor Recovery Mode.

Help is appreciated a lot! Thanks!
Linus
 
My Lg G2 ls980 is not working just black. I was trying to dd it through ubuntu and it worked for the most part. Just for laf.img I get an input/output error. Is there any way to fix it? Without flashing the right laf I cant get into neither Download nor Recovery Mode.

Help is appreciated a lot! Thanks!
Linus

Were you flashing anything else along with laf? If so, could you link the exact files you were flashing. (or writing via DD)
 
Well its a longer story. I thought it is a D802 in the beginning because I ordered one. I installed TWRP and after the reboot I got stuck in fastboot without Download and Recovery Mode. I ended up flashing all the D802 images attempting to fix it. Turned out it is a LS980. But already at that point I was able to dd everything but Laf.img... Input Output error. Well I found that out I flashed all the LS data. And even did tricks like TWRP instead of Recovery.img but nothing helps. ANy idea?
 
Well its a longer story. I thought it is a D802 in the beginning because I ordered one. I installed TWRP and after the reboot I got stuck in fastboot without Download and Recovery Mode. I ended up flashing all the D802 images attempting to fix it. Turned out it is a LS980. But already at that point I was able to dd everything but Laf.img... Input Output error. Well I found that out I flashed all the LS data. And even did tricks like TWRP instead of Recovery.img but nothing helps. ANy idea?

What is your current state then? Bulk mode? Fastboot mode? Nothing?

You've tried flashing the Sprint variant partitions?
 
no i did not try. You have a link to them for me? As long as i have the input output error it doesnt matter anyways. And right now my state is bulk.. But the phone is running out of charge. I see the red charging led when i connect it
 
no i did not try. You have a link to them for me? As long as i have the input output error it doesnt matter anyways. And right now my state is bulk.. But the phone is running out of charge. I see the red charging led when i connect it

Listing of Stock_Firmware

Pick one of the partitions sets, shouldn't really matter which one just use 2 files from the same build...aboot and laf. DD them both. Afterward, check for download mode. If present, use LG Flash Tools to reflash stock to the Sprint version using the Sprint tot/dll.
 
any idea?

Yes, haz idea. Not yet sure how to implement. ;)

I think when you (or former owner) flashed the wrong firmware, it changed your partition layout. My belief is that's what's causing the inability to flash laf.

i.e. it may not be physically located at dev/sdb24.

Try this:

dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/laf
^^Use copy/paste. Must be exact.

Reboot. See if fastboot mode is enabled upon reboot effort.
 
root@ubuntu:~# dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/laf
dd: failed to open ‘/dev/block/platform/msm_sdcc.1/by-name/laf’: No such file or directory
 
didnt work

Ok. I know you've seen this thread many times:

[FIX] NO Recovery mode, No download mode, after OTA on rooted LG G2 - xda-developers

Look at the partition table there. (stuff you see following the gdisk -l /dev/sdb command)

Notice how on the D802 (that was what former owner flashed your phone to right?)...the laf partition is in fact at sdb23.

So here's what I'm thinking. You may have been trying to flash laf to FOTA inadvertantly (sdb24). As you can see, aboot is sdb5 on both devices so that's why it always works regardless.

My thought...at your own risk...switch to sdb23 for the laf flash. So in other words, doing both aboot and laf again to cover all bases...

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

dd if=/home/linusfr/Desktop/laf.img of=/dev/sdb23

If no input/output error, check for download mode. What do you think of that idea?
 
Ok, so you no longer have a partition recognized as laf as evidenced by the zero command several posts up. So this sucks. I haven't seen anybody in this position before.

I feel like there's a way to rebuild the partitions using gparted. But I've never attempted that on this phone.

I'm trying to think of an easier way. Recommend a return to IRC I suppose.

BTW, I'm the one who finally put the pieces of the puzzle together on your D802/LS980 thing...that it was sold as a fraud. I go by a different name in IRC. ;)

We'll need to put our heads together to fix this one. It's a special needs situation.
 
Whatever you gotta do! if it works great if not. well, i got refunded. Still would love to have it working. I am completely new with Android so im sorry to say that you have to be the brain im just the tool :) And thanks for all your help! Oh it was you. Wait whats your name in the chat?
 
Back
Top Bottom