yashsingh1/xdaforums huggingface dataset:
[G2 General] hack_er4:
Thanks for helping,

Ubuntu is booted up.

but how do I run commands

its not detecting my Phone.

what I am doing is

-power up the phone stuck at LG logo and plug it in.

Not detected (may be battery issue its not fully charged)

-Try to put it in download mode

it will get a secure boot error and screen shuts off but still on (not showing anything on device)

it keeps on detecting and disconnecting on ubuntu

as many drives.

Please suggest me what I need to do.

will try after charging it more and let you know.

But please let me know how do I connect it to ubuntu?

Thanks
[G2 General] haizaar:
Connect it to Windows first and see in the device manager how the device is recognized. Then you'll know in what state your phone is.
[G2 General] hack_er4:
- I power on the phone and connect it to windows 7 x64

in device manager its recognizes

under Ports

as : LGE AndroidNet USB Serial Port(COM10)

- If i connect it in download mode

download mode start with blue dots and with secure boot error and phone goes black screen. and recognizes in device manager

as: under ports

Qualcomm HS-USB Diagnostics9006(COM6)

15 Drives only one opening with 63.9 MB of space.

-If I connect it on factory reset screen

Windows wont recognize it.

I tried another thing too

I kept on press all 3 buttons (Vol up+down+power)

My phone boots up like this

and my pc recognizes it in Device manager

as:

LGE AndroidNet USB Serial Port(COM10)

so In Ubuntu with mode Do I need to conned to run the commands?
[G2 General] haizaar:
The second option, Qualcomm HS-USB Diagnostics9006, is what you are after. Boot your PC to Linux, then try switching your phone to download mode and connect it to Linux. Then flash laf, aboot and boot files for your phone using the guide in OP.
[G2 General] hack_er4:
Hi

did as you suggested.

replaces the files

aboot.img

laf.img

boot.img

and rebooted.

stuck in boot loop

tries to get in download mode not working.

tried factory reset

gives me this.

But it got recognizes in windows 7

device manager under ports

as: LGE ANdroidNet USB Serial Port(COM10)

please let me know what to do.

it not going in dload mode(download mode?) by pressing Up key.

I tries flashing KDZ via lg flash tool

but cant able to falsh since it not recognising my phone
[G2 General] haizaar:
This "download mode" that this white crash screen suggests is pointless. After flashing the files, you now should be able to go to a real download mode:

* Disconnect the phone USB cable

* Make sure the phone is powered off

* Press and hold VolUp and connect the USB cable (while still holding VolUp)

What does happen?
[G2 General] hack_er4:
No its boots up and stuck on bool loop on LG LOGO.

No Download MODE :(

Only show On my pc when I hard reset my phone

and show that white screen

In Device Manager it detects when I try to press Volume Up button and insert USB.

see
[G2 General] haizaar:
1. Are sure the phone was completely off before you tried to go to download module?

2. If answer to 1 is yes and you can not go to download mode.... are you sure you fetched the correct files for your phone model?
[G2 General] hack_er4:
No worries now i need to follow up the hardbrick guide

As u mentioned earlier

The guide that include opening the decixe and short the 2 capacitors

I think thts the only way

Ya i do replace the correct files

Extraxted from my stock rom

Dont know what went wrong
[G2 General] haizaar:
If it does not go to download mode, then yes, opening phone it is. I don't know what did go wrong for you. I did the flashing for aboot, boot and laf and it went to D/L mode perfectly for me.
[G2 General] xXxdragoIIxXx:
i'm only working on windows. dis tut only works on linux and ubunto?
[G2 General] haizaar:
Yes, this is for Linux only. You can download Ubuntu Live CD and boot from it.
[G2 General] SaHiLzZ:
Help...

G2 is stuck in LG logo. No download mode, no recovery. no /sd* found when plugged into ubuntu.

How do i go about fixing this?
[G2 General] Methodd:
Hello, my phone is apperantly hard bricked but I've heard that this solution will work, But I'm not sure of which image files to use, I have an LG G2 D802, running Cloudyflex 2.6 rom. How and where do i get the right image files?
[G2 General] sobhambi:
Thank you for the encouragement. I recently bought a G2 D800, but i switched to lollipop and forgot to install gapps, then TWRP wasn't working so I tried reinstalling it and got stuck in this situation somehow. Mine can get into download mode well but keeps mounting and unmounting on a normal boot. Am using ubuntu and only have access to that. Am trying to understand the steps you took. How did you edit the partitions on linux. I can't see the device when its in download mode. And will the LG Flashtool work on Wine or some other VM. Any help is appreciated
[G2 General] Methodd:
Hey, I have ubuntu actually installed on my pc, When i plug my lg in the computer doesn't recognize it at all. JUst my standard hard drives pop up in ls dev/sd*

And the phone just keeps restarting,

extra info, The screen is on but just black, No LG logo ever, and cant enter recovery nor download mode.
[G2 General] Murshad007:
I have a D802 Refurbished witch is actually a D800

After Flashing In Qualcomm 9006 I have managed to Got rid of all errors. The only problem is that Power button isn't working. Volume Up and Down working..

Any suggestions?
[G2 General] midreestaj:
I was having Cloudystock 2.6 ROM any idea which version of files to download? BTW which files did you download for your D800 ?

Please help - I need below files corresponding to the firmware version CloudyStock 2.6 was based on. Can someone confirm ?

1- sbl1.img

2- aboot.img

3- rpm.img

4- tz.img
[G2 General] midreestaj:
Anyone can help in this regard please;

When i connect my D802 with windows 7 64bit i get Qualcomm MMC Storage USB device under Disk drives

Also get Qualcomm QHSUSB_BULK in the device manager - with yellow exclamation mark

After manual Installation of drivers in windows its changes to Qualcomm HS-USB Dload 9008(COM7)

Now when I try to connect under Ubuntu I get the attached error when doing below commands; also I can see the black screen blinking and the USB storage under both the windows and Ubuntu keeps connecting and disconnecting

ls /dev/sd*

gdisk -l /dev/sdb

Please come out and help me those who have done good bit on this procedure
[G2 General] midreestaj:
Hey! I've done it... Cloudystock 2.6 booted seamlessly as if nothing bad ever happened :D:D:D

The disconnections under Ubuntu resolved when I moved the QHSUSB_BULK driver from Qualcomm HS-USB Dload 9008 to Qualcomm HS-USB DIagnostics 9006
[G2 General] HypNofficiel:
Hello, i'm from France, I have the same problem, i was under D80210e and i have tried to do a upgrade by LG PC SUITE, but now my phone is stuck on LG logo.

I have buy my phone from ebay store, at a chinese seller.

It's a 32GB version.

I want to follow the instruction of this tutorial but i can't find the files for my model, somebody can help me please !?

Thanks you in advande. have a nice day
[G2 General] superguy19:
So first thing is that

Its not d802..

Thats the main issue behind brick.
[G2 General] HypNofficiel:
i think its a real d802, i have contact LG for verification with my IMEI number and they said that is not problem with phone...

if not, what version it is ? i have no issu ? thx
[G2 General] superguy19:
Oh dear.

Imei no. Can be changed.

All phone on ebay are refurbished.

They are not d802.

Dont trust on imei

Back cover

Software info.

All are fake.
[G2 General] AngioNicholai:
its very simple http://askubuntu.com/questions/148638/how-do-i-enable-the-universe-repository
[G2 General] Parinibbana:
Stuck in bootloop after Kitkat update

Yesterday I tried to upgrade to Kitkat but it didn´t work out so well. Now I´m stuck in bootloop. Device doesn´t get beyond the LG-logo. Unfortunately I also can´t boot into download mode any more - but I can get into CWM-recovery.

The question is, how to unbrick from there.

I already tried to flash another ROM (Aonflex). The installation process finished succesfully, but after reboot I´m still in bootloop.

Then I tried to get back to stock using a method described at optimusforums.com which is called "complete guide to unbrick your soft bricked g2" and which worked a few months ago when I also had a bootloop. I am using the exactly same files and method as then, but now I get an error in LG FlashTool saying smthg. like "CrossDL [ ] to [F320L]...".

Another thing is that every time I want to exit from CWM, it asks: "Root access is missing. Root device No/Yes". I used to be rooted but now that seems to have changed. Could this be part of the problem? Do I need root access at the current state?

I also tried flashing the original F320L firmware (.kdz-file) with "R&D Test Tool", but also without success.

I´m on the Korean variant F320L and would really need some help. Any suggestions?
[G2 General] bl0wndiff:
Just do factory reset: find on youtube How to factory reset the LG G2 stock recovery by Rootjunky :good:
[G2 General] Parinibbana:
Sorry brother, can´t get into factory reset. Tried that already many times. The method works, but it takes me into CWM-recovery. That´s probably because of the custom recovery.
[G2 General] raahult:
In which mode your device got recognized?
[G2 General] yan74s:
Sorry, I don't know...
[G2 General] risinsun:
I have the Sprint LS980, what files specific to the version on my phone would I have to download?
[G2 General] MK45A:
I really need help! My D802 cannot boot into recovery. I've tried to install the KDZ files but failed at 49% and 47% all the time. But I can boot into Download Mode. I tried doing what you did but Ubuntu doesn't recognize my D802.
[G2 General] mamaloo-xda:
Help

Hi pal

I have this problem to! just tryed to flash KK.zip but it didn't flashed completly.. I wiped system, catch, dalvic catch and data and then tried to restore my back up... but my phone doesnt boot up... Error: ( Error Verifying Certificate)

and now I want to use this method using VirtualMachin but I just can't pass this step:

the biggest number in list was 36 then I must when I type gdisk -l /dev/sdb36 is it right??

but when I pressed enter an error comes and show this:

Problem opening /dev/sdb36 for reading! Error is 13. You must run this program as root or use sudo!

what should I do? help me please:confused:
[G2 General] mamaloo-xda:
My Phone is Back Again!

Hi again I've done it thank you very much

but now my phone is a Vodafone phone with Vodafone boot animation...

it was LG boot logo last time my device model is D802 International. should I download special drivers? Please give a direct link

or tell me how can I return it to stock... should I flash special .img drivers agine? using Ubuntu?
[G2 General] Jonous:
I'll share my dark experience when I tried to flash a custom KK rom over my csutom 4.2 rom that was on my phone. I got the “secure booting error” fastboot message and then blackness. I want to elaborate a bit on what I did to unbrick and maybe help some people. First you have to make sure which official rom is for your model (I used a v10 4.2 file to be safe, but if there is a v20 for your variant go on and try it). Mine is the D802 but the HongKong version which has a different official rom than the European D802, so be carefull with that. Once you're sure head over here http://lg-phone-firmware.com/index.php?id_mod=36 and download your .kdz file. Then head over to this thread http://xdaforums.com/showthread.php?t=2600575 and download the tool to extract the .bin files from the file you downloaded. I don't know which ones you strictly need to flash, but just to be on the safe side I used aboot, boot, rpm, sbl1, tz, laf, recovery bins. Also I don't know if you can directly flash .bin files, but just to be sure I used this free soft http://www.osforensics.com/tools/mount-disk-images.html to convert them to .img files (some say just rename them, they have the same structure, but I didn't want to risk that). Once I had the .img files ready I just followed this thread's guide through a live ubuntu session, flashed the files and on next reboot I had a clean permanent download mode icon which did't fade away in darkness :D. Hope this helps someone.
[G2 General] MK45A:
When I type " ls /dev/sd* " in terminal, I do not get " /dev/sda /dev/sda1 /dev/sda2 /dev/sda5/dev/sdb1 /dev/sdb2 /dev/sdb3 /dev/sdb4/dev/sdb5 .......... /dev/sdb36 "

I only get " /dev/sda /dev/sda1 /dev/sda2 /dev/sda3 "

I've got ubuntu installed in a hard drive.

please help

---------- Post added at 02:31 PM ---------- Previous post was at 02:28 PM ----------

Type in " sudo -i " in terminal before you do anything, it will then ask you for a password and you type it and hit enter.

---------- Post added at 02:33 PM ---------- Previous post was at 02:31 PM ----------

I already have download mode availabe. Can I use OPs method to get recovery?
[G2 General] Parinibbana:
All I get as a reply is: /dev/sda

What´s wrong?

I am running Ubuntu on VirtualBox.
[G2 General] MK45A:
Can you please explain step-by-step how you did it.
[G2 General] Parinibbana:
Ubuntu says: Problem opening /dev/sdb for reading! Error is 123.

OK. I finally figured out that Ubuntu doesn´t autmatically install a device that´s connected via USB, but one needs to manually connect it first.

Now I am stuck at command: "gdisk -l /dev/sdb"

As a result I get: "Problem opening /dev/sdb for reading! Error is 123."

Why?
[G2 General] Jilke:
I did everything precisely as described in the first post. Replaced all the files. But nothing has changed. It stil says verifiocation error, cant boot recovery, etc. I will be grateful for any advice, Im starting to be desperate :(
[G2 General] Valiceemo:
im trying this ot get my handset back

when i run ls /dev/sd* i only se /dev/sda /dev/sda1 /dev/sda2 /dev/sda5?!

please help!
[G2 General] Jonous:
Try following what i write in my previous post. I was like you i know the feeling, i was one step before service.But don't dispare there is hope :)
[G2 General] Jilke:
Thanks for the reply. I have european 32GB variant. I do not know which file download. Do you? There is only 1 file in european variant. I was already checking on the internet how much would cost me the service... brr... I Hope Ill get it right :)

Thanks
[G2 General] devdassi:
Can you please tell me how do i manually connect my device because ubuntu could not read it
[G2 General] SaidJan:
I am in ubuntu 14

I'm getting "problem opening /dev/sdb for reading! error is 123"

ADB doesn't detect my device in ubuntu. my phone screen is always black, no download mode and no recovery. when I'm using windows, in device manager it show my phone as "QHSUSB_DLOAD"

when I enter "ls /dev/tty*" it shows a new one "/dev/ttyUSB1" when I connect the phone, when I disconnct it, it disappears.

When I enter ls /dev/sd* it gives me the same results, no matter the phone is connected or not.
[G2 General] HypNofficiel:
I have put off the back cover and it's write D800 on the phone, but D802 on the back cover !!!
[G2 General] Josevitch:
Hi ! first of all I'll say that i'm sorry for the bad grammar errors there will be in the texte, I'm french ^^

My G2 is the D802, international version. Yesterday I wanted to change my ROM, I was on stock lollipop 20a and I prepared to go on CM. It didn't worked. An error message appeared when I flashed the zip in TWRP:

*E:Error executing uptdater binary in zip '/sdcard/Download/cm-12-20150713-NIGHTLY-d802.zip'

I asked a forum, they told me to update TWRP and to switch my bootloader from KK to JB. So I did, but in the wrong way, I updated the bootloader with bootloader changer 2.0.3 before update TWRP. And now my phone il kind of bricked with the same symptoms described above.

I think this fix might help me to repair my G2, but I still have some questions ;

"You must use the img files that correspond to the ROM you have installed before getting the problem to avoid breaking your phone. The link above is for 10b_EUR_16G firmware version. So don't use those files if your firmware version was not that one. Instead you should look for img files corresponding to the current version installed in your phone. If you don't know what version you've installed then don't use this method because you will break your phone. "

I don't uderstand this, it is the .img of the stock version ?

And for using linux, I used Wubi to install ubuntu, will it work anyway ?

Thank you for your futur answers, I really don't know what to do, I'm totally scared to have to change my phone..
[G2 General] genierio:
i get only this

no sdb
[G2 General] Josevitch:
Should I post that on xda general forum ?
[G2 General] t3chn0s1s:
I want to thank the OP for this AMAZINGLY USEFUL GUIDE! The G2 is the MOST FINICKY device I have ever owned (and this is the 3rd time I've had one). Flashing the wrong bootstack (Loki vs Bump) has caused me more grief than I care to admit. But, I REALLY appreciate you making this guide because it has now SAVED MY ASS twice due to my own dumb user error. AGAIN, THANK YOU!!!!!!
[G2 General] repzaj1234:
Hi guys, my foolish self somehow got my self into this situation. My situation fits like all the symptoms 1-6 listed here. One thing I need help is how can I check what ROM I had? I went back to stock Kitkat using this file D80110G_00.kdz. Before I even got to flash CloudyG2 3.3 my phone bricked. Do you know which one I should download? There's only "D801BK" on the download link you provided is that the right one? And I'm not sure which of the 4 files on stock firmware I should download. Sorry, for the questions I just don't wanna mess this up even more. Thanks guys.

T-Mobile 32GB D801 btw.
[G2 General] karimou89:
Lg g2 problem

Hi it's about my LG G2 it's the same problem you all talk about but mine is little different so when i put it under Linux Ubuntu and when i put the code: ls /dev/sd*

It show me just this : /dev/sda /dev/sda1 /dev/sda2 /dev/sda5

And not all of the : /dev/sda /dev/sda1 /dev/sda2 /dev/sda5

/dev/sdb1 /dev/sdb2 /dev/sdb3 /dev/sdb4

/dev/sdb5 .......... /dev/sdb36

i hope you can help me what that mean?
[G2 General] HypNofficiel:
[MENTION=6848177]karimou89[/MENTION]

it's because your ubuntu don't detect your phone ! i have the same problem and i don't resolve it for now

ps: i don't know what file i must take because my phone is a "frankenphone", a d800 with a d802rom, that is the reason of the failed upgrade. if you can help me, please send me a MP. th8 in advance.
[G2 General] MrXindowntown:
D801... Which files to download?

I'm in the same situation as you and want to make sure I download the right files. Mine is a T-Mobile D801 too but I had Cloud G2 2.2 installed on it and after I flashed Cloudy G2 3.3 it bricked and I ended up with the symptoms listed in this post.

There's a 10C folder and a 20a folder at the link that has been provided in the first post... Which one should I download?
[G2 General] drag0nslayer:
Qhsusb_bulk

System showing only this QHSUSB_BULK in device manager other then that not even single drive is showing what to do now .. My g2 gonna alive or not anyone help :(

Ubuntu even not showing any drive except hardrive

Before having this issue i was on custom rom of lollipop and was flashing another custom lollipop .. so which files i have to download there no LP firmware files..
[G2 General] robertocav:
LG G2 D802 - how can i be sure if my device is seen by ubuntu or not? currently my device is stuck at the LG logo, and when i plug it in , nothing is happening. (linux noob). Thnx!
[G2 General] robertocav:
ok so what can i do if my device is not rec. by ubuntu? pls help me, i've already spent 80 euros for a new display :((
[G2 General] sayedmurteza.muttahary:
It's not working for me!

I tried to flash all of the partitions and flashing part was successful but still I'm stuck.

I'm using ubuntu 15.04 64bit on VMware 10

any Idea?
[G2 General] Devereuxmf:
Looks like I found this thread a little too late, I already injected stock recovery.img to my phone and now I cant even see the partitions (sdb) as I did before, so the question is there a way to recover my phone even if I screw up with recovery.img?
[G2 General] kolembo:
---------- Post added at 09:52 AM ---------- Previous post was at 09:49 AM ----------

[/COLOR]I tell you, this saved my bacon. And my phone runs better than it ever did!!

Don't be afraid, first time I looked at it, I said no way, just took my set back to LG.

They said it was hard bricked, nothing they could do. I almost threw it away. I said, let me just try.

The simplest bits were this topic. Just remember that you have to download the files corresponding to the firmware that was on the phone when you hard-bricked.

Then use a virtual linux machine (you can download one from anywhere... Filehippo etc)

In this topic it says, never EVER flash some boot img. file. Well, I did, and that's what got my phone working! I had to download my firmware and then extract everything, and then follow the exact Linux process detailed here.

I replaced the recovery file (no.5) with the recovery extracted from the firmware.

Somewhere along the line I hard-bricked even worse because I used the wrong file!

So, there's a topic here called 'Lg is unbrickable now!'

http://xdaforums.com/lg-g2/general/lg-g2-unbrickable-fix-real-hard-brick-t2904404

Which calls for opening the phone!

Well the phones dead anyway so I forced ahead, got the computer to recognise the phone again, and then just repeated the process.

Took me half a day - I got my beautiful LgG2 back from phone death.

And I mean, it was DEAD.

The main thing is to find a way to keep your battery charged!

Onward.
[G2 General] tp_88:
Hi. I was trying this a couple of days ago (first time using Linux, lol) but I couldn't because my phone kept "flashing on/off".

"ls /dev/sd*" only gave me the correct answer (all partitions) in like 1/10 tries, because the phone's connection wasn't stable.

I was running the latest Ubuntu on a USB stick, the phone doesn't do that when in Windows 8.1. Any tips would be greatly appreciated!
[G2 General] tiroalvaro:
GDISK

Sup :confused:

I have been trying this method to unbrick my G2 Mini D618 by pushing the right files and all of that.

But I'm hitting a wall with this part: I used Ububtu via Live Pendrive and I was able to connect my phone, start the process, but I get stuck at the very beggining at the command '' Gdisk -1 /dev/sdc'', I don't get the result I should get, insted I only have something like ''GPT fdisk (gdisk) version x.x.x. Usage: gdisk device_file''

What should I do to get this going? Is a fresh ubuntu install the solution? Cuz at this point I'd do anything but shot circuit on MB to get this phone working... :eek:
[G2 General] nesh-kv:
Where is partitions for d80230b lollipop?
[G2 General] iopetja:
d80230b for 32G is inside THIS kdz.

If link dies, there's also XDA's database of Stock files here

Extract kdz using WinLGFirmwareExtractor you'll get dz file.

Then extract dz and you'll get all partitions. If you need to flash them, it's easier to rename them first by removing all numbers in name of each file (boot_298345.bin). Bin can also be renamed to img, if you want.

In general, I think you can also use partitions from tot file, choose your type:

D802 16GB

D802 32GB

But check it in the OP before flashing, please...
[G2 General] floryn90:
Hi! I have the phone with no usb and unrooted. I tried various apk for root but all fails. Some suggestions on how to root or how to make usb working? Its not a usb/driver problem riguarding the usb.