yashsingh1/xdaforums huggingface dataset:
[LG Optimus G Pro] Snepsts:
[MENTION=2763826]ricanares[/MENTION]

I sort of followed your steps all the way, minus the part where my SD card is only 8 gigs, so I had to modify the GPT tables (lower the userdata to only 1-2 gigs, everything else was moved to have blocks of the same size on the card). Now when I connect I get HID-compatible device and USB input device, and it keeps making that noise you get when you disconnect from Win7 every like five/ten seconds... Any suggestions? Or have you abandoned this? :confused:
[LG Optimus G Pro] culot:
Had you any success with the smaller-than-optimal microSD route?

---------- Post added at 05:35 AM ---------- Previous post was at 05:04 AM ----------

That means you need the newest version of the LG Firmware Extract application. V1.2.1.0 will give you that, but v1.2.3.0 will provide solutions.
[LG Optimus G Pro] Czar1995:
LG Optimus G Pro e980

Can you explain step 7 to me, I don't understand what you ment by matching the file with the number...? help me please :(:(:(:(:(:(:(:(:(:(:(:(:(:(:(:(:(:(:(:(:(:(:(:(:(:(:(:(:(:(:(:(:(:(:(:(
[LG Optimus G Pro] Snepsts:
This method didn't work for me, but you match the numbers with their counter part. If modem is 1, then you put it in SD1 or whatever. You need a big enough SD card or the table won't fit, also.
[LG Optimus G Pro] Czar1995:
hey

did you figure it out? cuse I need help on that same step
[LG Optimus G Pro] culot:
Scan through this and it'll illuminate ya. You're basically matching up the image files with the right partition number. Don't dd if you aren't sure what you're doing.

NOTE: that post I linked is for a G2 and the partition table listed should vary from the G Pro's, so don't copy it exactly, but use it to learn how to understand what is what and what to do.

It would really be a great idea to run through a few hours of Linux basics tutorials before attempting this. It's pretty simple once you've got the basics ingrown. :)

---------- Post added at 07:32 PM ---------- Previous post was at 07:29 PM ----------

What method *did* work for you? :) I'm waiting until I get paid next for a 32gb microSD to try this method again, and then buying a whole JTAG+Jig setup, cuz I just know this is going to happen to me again (I *must* fiddle and frock stih up).
[LG Optimus G Pro] Snepsts:
I sent it in to a JTAG man, but if you know how to do some micro soldering and such, and plan on effing with partitions more often, feel free to get a JTAG box and mess around all you want. Might I suggest RIFF box?
[LG Optimus G Pro] culot:
Thanks for the suggestion. I know I'm going to be in this situation again, so I might as well learn how to do it myself. :) Sounds like fun, anyway.
[LG Optimus G Pro] Snepsts:
It actually does sound very fun. Once you have one of them boxes in your hands you are basically bullet proof. The only thing stopping you would be full on hardware failure. Which is very rare. Best of luck on your JTAGing and tell me how it goes! :good: :victory:
[LG Optimus G Pro] culot:
Is there any specific US JTAG man that's good? :) Xmas coming up, can't afford to spend $200 on JTAG tools, gotta shower gifts upon the masses.
[LG Optimus G Pro] Snepsts:
This guy was excellent in terms of time and such. I recommend priority shipping or whatever is the option that isn't the cheapest but also isn't like 45 bucks, it'll ship nice and fast. You'll want to contact him before sending it in. He's very reliable in my experience. You'll shell out ~50 buckaroos. 45 for the JTAG and ~5 for the shipping. A little better than 200 given your circumstances. :)
[LG Optimus G Pro] irtiza.afzal:
I followed ok till step 6, not able to do anything beyond that :( My SD card is read as corrputed after I have flashed the .bin file and windows says to format it, I can't even format it as it says it is write protected. Secondly when I use gdisk command in Linux it doesnt return anything at all, there are no entries at all ! I really wanna have me phone back please help me :( :crying:
[LG Optimus G Pro] Snepsts:
You'll have to wipe the GPT table from Linux. Advance commands, and whatever zaps the GPT partition table and protective MBR or whatever it's called.
[LG Optimus G Pro] sajgon338:
In my E988 microSD slot is damaged, is another way to insert the PrimaryGPT.bin file?

And secondary, the phone should be turn on ? Or only charging?
[LG Optimus G Pro] haimmalka:
Application who can help me do it

I'm having trouble with the English language.<?????????????????????
[LG Optimus G Pro] Snepsts:
If phone can turn on you don't need this, this is for if you phone cannot turn on at all. If microSD slot is damaged, you're probably screwed, and gonna wanna send it in for repairs.
[LG Optimus G Pro] sajgon338:
I ask about turning on, because when my LG only charge the linux doesnt see it. When Android try to start the linux see it but cant mount.
[LG Optimus G Pro] irtiza.afzal:
Please help!!!

I extracted the files succesfully but there's no misc.bin file :/

I'm using .KDZ file
[LG Optimus G Pro] irtiza.afzal:
I followed all your steps (except misc.bin as my KDZ didn't have one in it) and when I plug the usb cable to phone while SD Card is inserted in the phone the softkey lights come up :)

Unfortunately, nothing beyond that, I tried connecting disconnecting again n again tried removing battery and all that you said but nothing's working for me :confused: I feel I'm really close please reply soon.
[LG Optimus G Pro] Richie G:
Good morning folks, just jumping in to get some quick advice. You mentioned Riff Box, i happened to have just bout one to fix a Nexus 4 i inherited that was bricked. Turns out it kept seeing the ID as an E970 instead of the E960. It only gets activity when I resurrect it with the E970 setting and that puts itin the QDLoader mode. I was hoping to use your method to unbrick it but unfortunately couldnt get around the need for an SD slot for the Nexus. Any chance you could either walk me through getting this done with Riff box or any other alternative. Hate to admit defeat on this one. Not really a techie in this area.
[LG Optimus G Pro] Snepsts:
Riff box should have their own tutorials on their site I'm pretty sure... This should help http://www.riffbox.org/?s=e980
[LG Optimus G Pro] Richie G:
I have been seeing these tuts for varied other phones, they seem to be the same. I see nothing that speak to my condition save on your thread. My Nexus 4 is seen as an E970 and is currently in USB QD Loader. the screen is black (has been since i got it) I. need some serious help here. I have the Riff box and the Molex quick connect for jtag. I DONT KNOW WHAT ELSE TO DO.
[LG Optimus G Pro] Snepsts:
http://www.riffbox.org/?s=NEXUS+4 Ah, uhhh, I'm not sure how to use a Riffbox. You gotta know how to solder. If you don't you might wanna get somebody who does with you. If you can't figure it out from the guide, you may want to find somebody's help who is more experienced than I at this.
[LG Optimus G Pro] ivanlowzx:
BACKUPGPT

Hi, i tried doing all the way till step 7 but i can't find a term in the terminal matching backupgpt.bin.

Any help???

thanks!
[LG Optimus G Pro] Snepsts:
backupgpt.bin is useless anyway.
[LG Optimus G Pro] ivanlowzx:
okay so i did everything according to the initial post but all i get is blinking soft keys.

what can i do now?

thanks again!
[LG Optimus G Pro] Snepsts:
That's all I got too, I gave up eventually. Contacted a JTAG dude and paid him to fix it.
[LG Optimus G Pro] ivanlowzx:
ahhh.. pretty much stuck... can't find a JTAG service in sg...

Thanks alot though!

:D:good:
[LG Optimus G Pro] shadow2by4:
e970 files

I tried the OP with my e970. I got a ton of files and have no idea where most of them go because the file names differ from the list I get with the gdisk command. Below is the output of the gdisk command and a screenshot of the directory I pointed the extractor to. I'm going to try it with just the files that are listed in the gdisk output and update this post if it works. If anybody can decode all this and help me out it would be greatly appreciated.

ubuntu@ubuntu:~$ sudo gdisk -l /dev/mmcblk0

GPT fdisk (gdisk) version 0.8.8

Partition table scan:

MBR: protective

BSD: not present

APM: not present

GPT: present

Found valid GPT with protective MBR; using GPT.

Disk /dev/mmcblk0: 31586304 sectors, 15.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 11, last usable sector is 31586293

Partitions will be aligned on 2-sector boundaries

Total free space is 872866 sectors (426.2 MiB)

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

1 16384 147455 64.0 MiB 0700 modem

2 147456 148479 512.0 KiB FFFF sbl1

3 148480 149503 512.0 KiB FFFF sbl2

4 149504 153599 2.0 MiB FFFF sbl3

5 153600 154623 512.0 KiB FFFF aboot

6 154624 155647 512.0 KiB FFFF rpm

7 163840 212991 24.0 MiB FFFF boot

8 212992 214015 512.0 KiB FFFF tz

9 214016 214017 1024 bytes FFFF pad

10 214018 220161 3.0 MiB FFFF modemst1

11 220162 226305 3.0 MiB FFFF modemst2

12 229376 230935 780.0 KiB FFFF m9kefs1

13 230936 232495 780.0 KiB FFFF m9kefs2

14 232496 234055 780.0 KiB FFFF m9kefs3

15 245760 262143 8.0 MiB 8300 drm

16 262144 278527 8.0 MiB 8300 sns

17 278528 278543 8.0 KiB FFFF ssd

18 278544 311311 16.0 MiB FFFF misc

19 311312 344079 16.0 MiB 8300 factory

20 344080 345103 512.0 KiB FFFF encrypt

21 345104 346127 512.0 KiB FFFF eksst

22 360448 3473407 1.5 GiB 8300 system

23 3473408 5111807 800.0 MiB 8300 cache

24 5111808 29179903 11.5 GiB 8300 userdata

25 29179904 29196287 8.0 MiB 8300 persist

26 29196288 29720575 256.0 MiB 8300 tombstones

27 29720576 29769727 24.0 MiB FFFF recovery

28 29769728 29775871 3.0 MiB FFFF fsg

29 29775872 29775887 8.0 KiB FFFF DDR

30 29786112 29851647 32.0 MiB FFFF fota

31 29851648 29917183 32.0 MiB 8300 mpt

32 29917184 29918207 512.0 KiB FFFF tzbak

33 29918208 29919231 512.0 KiB FFFF rpmbak

34 29919232 29951999 16.0 MiB FFFF reserved

35 29952000 30777310 403.0 MiB 8300 grow

ubuntu@ubuntu:~$
[LG Optimus G Pro] yakovpol:
It seems no-one could repeat what magically happend to ricanares. So far there's no proved way for booting from the external SDCARD for e98x.

If you have copy of the stock ROM stuff on external bootable SDCARD it doesn't mean your phone won't try to access your emmc with damaged contents. It actually should. And each owner of a bricked device has it's own damaged contents on internal emmc.

Was your phone really hard bricked? In between steps 9 and 10 you phone was off without any source of power, so it means you are starting the boot process from the scratch, and it goes successfully to the Download Mode? It means stock ROM contents of the external SDCARD restored emmc contents during step 9?

Maybe you have a peculiar copy of the phone or it is not hard bricked because hard bricked e980 does not flash softkeys at the moment you plug USB if charged battery is in.
[LG Optimus G Pro] mathieu180005:
I have the same problem with my e986, is there a solution to solve this problem?
[LG Optimus G Pro] FarkFung:
up up
[LG Optimus G Pro] misbah711:
G pro 2 (f350l)

Well I am following your ways for G PRO-2-F350L,

In device manager my phone is shown as UNKNOWN DEVICE

when i connect to PC multiple format dialogues pop-up.

I have waited more than 10mins but no gain

P.S I'm using 2GB SD CARD (class 6)
[LG Optimus G Pro] ani_sixx:
Dude, I have a 2GB SD and after flashing the .bin file to it, it's not even coming up in Windows 8.1 and on Ubuntu, I get Error 123 when I do the 8th command. Please help!! Thanks!
[LG Optimus G Pro] sbacham:
medusa box

bro its really easy with medusa box if you can get one you can repair,im from india if any fellow indian got bricked g pro i will unbrick as i got medusa box i myself unbricked my hardbricked g pro

watch thishttps://www.youtube.com/watch?v=j51NahLxtoA
[LG Optimus G Pro] akshaybose:
will this method works on lg e988?
[LG Optimus G Pro] DrDank:
Uhm, this went dead..butI am so desperateImburning Linux boot disc right now!
[LG Optimus G Pro] asar-bhai:
my sd card is not showing sdb in ls /dev/sd* , what do i do???

plz help me .ls /dev/sd only shows sda and sdc partitions in it after writing primaryGPT.bin

:(:(
[LG Optimus G Pro] akshaybose:
hai i cannot find the recovery.gpt file. all other files i got and i pushed it using linux. i conected as u instructed,the soft keys did light up and it kept on lighting up after regular intervals . but after that condition remain the same . help !!
[LG Optimus G Pro] akshaybose:
hey i couldnt find recovery .bin is it necessary foe the fix?
[LG Optimus G Pro] mtresd:
help

friend, the list generated by the command (sudo gdisk -l / dev / sdb) does not appear the BackupGPT.bin file, let me know why?
[LG Optimus G Pro] arsenala:
"2 - Download d-h.st/na QWindowsLGFirmwareExtract-1.2.1.0-Release.zip - 1.33 MB. This will work on both .kdz and .tot files. "

Tried it on couple of pc's - all of them say that there's a virus in the zip....?
[LG Optimus G Pro] bethnesbitt:
This can work, but it depends on how you bricked I'm discovering. I dd first primarygpt.bin to /dev/SDB/ to get the partitions, in this order:

sudo dd if=PrimaryGPT_0.bin of=/dev/sdc

sudo dd if=rpm_149504.bin of=/dev/sdc3

sudo dd if=rpmb_444416.bin of=/dev/sdc7

sudo dd if=tz_150528.bin of=/dev/sdc4

sudo dd if=tzb_445440.bin of=/dev/sdc8

sudo dd if=sbl1_147456.bin of=/dev/sdc2

sudo dd if=sbl1b_442368.bin of=/dev/sdc28

sudo dd if=aboot_152576.bin of=/dev/sdc6

sudo dd if=abootb_446464.bin of=/dev/sdc9

Well from there I adb all the files except for laf by suggestion. It wasn't quite booting, windows detected the tablet as if it was fully functional but ubuntu was detecting it as well but showing the readable partitions in file manager, userdata, system, modem, persist, etc...

Anyways, from the post somewhere here on xda I decided to try dding the files using the no recovery, no fastboot, no download mode, now I'm in a messed up brick!

Has anyone ever gotten it where Linux reads

Bus 001: 1004:61a1 lg, electronics inc

And windows sees it as qbulk.
[LG Optimus G Pro] Niedzielan:
Guys I'm stuck in step 7. I have only one number and I don't know what should I do? Explain me step by step please.
[LG Optimus G Pro] Niedzielan:
Yessssssss, my phone is working right now. Everything is working. I'm back to stock KK and the phone is like a new ;P
[LG Optimus G Pro] hammad.mohsin:
gdisk command not found

Hii ,

I am using LG GK F220K mobile. My phone is turning on but Reboot at LG logo again and Again . I've previously tried flashtool and installed the SW through it, but after turn off the download mode it start making continuous bootloop again. Whenever I connect charger, LG logo appears and making continuous bootloop untill I press the power button for 5 to 10 seconds to turn it off.

I've just followed the procedure and write the PrimaryGPT.bin file with the help of Win32DiskImager tool.

When I am executing "gdisk" command in debian and in Redhat both are not recognizing gdisk command. Is it fdisk or gdisk because I find help regarding this command on Google but cant find any clue. Kindly tell what should I do ?
[LG Optimus G Pro] krisjuls:
Hi, i'm following your instruction but im using Windows, how can i go to Terminal?Many Thanks
[LG Optimus G Pro] sourly64:
Hi !

I try this method with my F240l korean .I use Stock Tot BIN_LGE980AT-00-V20g-ATT-US-APR-28-2014+0 .

Extract with WindowsLgFirmware 1.2.5 and get the needed files SBL1.bin, SBL2.bin, SBL3.bin, aboot.bin, rpm.bin, tz.bin, backupGPT.bin, recovery.bin, persist.bin, modem.bin, misc.bin, boot.bin and PrimaryGPT.bin.

Write with WinDisk Imager the PrimaryGPT to to the formated (fat32) ExSdcard 16gb

Boot to Linux with a GpartedLiveStick.See with ls /dev/sd* many Partitions like you mentioned

With gdisk -l i find my sdreader with the the numbers and columms.... Match the necessary numbers for the needed files (12files ecxept PrimaryGPT)

From USb Stick copy the files to /root/Desktop and do dd commands to ExSdcard (dd if=/root/Desktop/aboot.bin of =/dev/ sign of sdreader with number)

Than boot back to WIN10x64 in unsigned driver mode .SDcard in phone .Battery in .Plug to usb cord .Sound of Windows finding device and the lights near home button lightning short

But see in device manager only the QhsusbMode 9008

Put out the battery (is sure empty after longtime no charging) and sccard .Put in again and try with keycombinations like power + volume up or down,or both.If i dont let go the power

button by holding volume keys i hear the sound from windows and the lights a blinking again and again...

If i let go the power button i get only the Mode 9008

Any ideas :confused:

Iam in hope to get the phone back,because i can connected to him,but iam thinking i do mistakes

Thanks for solutions tipps

Regards
[LG Optimus G Pro] qazifakeera:
LG G Pro2 F350L only gives emergency care suit drivers

Helo.....

Sir i have tot file when i extract it from lg firmware extractor then PrimaryGPT file size is exceeded upto 32gb ....how i can do...

When i use KDZ file PrimaryGPT extracted file size e smaller like in just little MBs.......after using Ununtu and flash other extracted files in memory card ...phone gives qualcome HDsusb driver but screen is blank...if remove memory card phone only give emergency care suite drivers

Plzzzzzz help me
[LG Optimus G Pro] Sho Thant:
Have you ever got any tips/solutions? I am in the same bad situation. If you had , can you please share with me?
[LG Optimus G Pro] ExTpABepT:
made everything on the list, blinks only in the connected state and if at this time to pull out the battery, also model f240L. read here is still an option with firmware via QPST, but need a file patch0.hml
[LG Optimus G Pro] JOSEunit10:
To this day anyone got this working on a international model? i got e986. I'm stuck in step 6, it doesn't show all the partitions

If im not wrong most of the files are for load the entire system, so what do we need just to enter to download mode?

Edit: (probably no one is reading this, but maybe google search drop some poor souls with the same problem and with some info too)

OK, so i finally got the files write and the list of the partitions, the problem is i'm using e986 kk version which is the only one that can be extracted by the tools available and not all the files listed are available so i can't match all of them.

There is aboot, boot, modem, sbl1, sbl2 etc... but the rest is just system_1688840.bin for example, and don't know with what partition match those files. On the partition list are files that are not in the kdz extract

the last shot i got is try with a e988 kdz which is international model too
[LG Optimus G Pro] pureocean:
Spoiler content hidden.

I was struggling for two weeks with my E986 stuck in the Qualcomm HS-USB QDLoader 9008. I was finally able to unbrick the phone. Of course I tried the sdcard and other methods. These don't worked.

So how could I do unbrick my phone?

1) The necessary drivers are installed to Windows from

a) LG Universal Mobile Drivers

b) LG Mobile Support tool

c) Qualcomm HS-USB QDLoader 9008

2) Downloaded BoardDiag 3.99c.

3) Downloaded from this file and it renamed and overwrited as "2nd_loader.hex" of in BoarDiag 3.99\model\G-pro (APQ8064)

4) Downloaded from rawprogram0.xml from here and overwrited to BoarDiag 3.99\model\G-pro (APQ8064)\boot_partition_info & BoarDiag 3.99\model\G-pro (APQ8064)\test_image.

5) Downloaded official E98620A_00.kdz

6) Extracted only PrimaryGPT.bin file with LG_Firmware_Extract_v1.2.6.1 from E98620A_00.kdz.

7) Download LGE980AT-00-V20g-ATT-US-APR-28-2014.tot file.

8) Loaded & extracted TOT file to a new folder (D:\TOT) in BoardDiag. Need only a file: partition.txt

9) Official KDZ's PrimaryGPT.bin copy to D:\TOT folder and renamed it as PrimaryGPT.mbn

10) Plugged the phone to PC via USB cable.

11) On BoardDiag 3.99c:

a) Selected the COM Port (See Device Manager for this)

b) Selected the Target Dir (D:\Tot).

c) Selected Restore Device RESTORE BOOT IMG: PrimaryGPT.

12) Click to Start button.

Result: The phone will be now detects as LG AndroidNet COM Port and LG Modem on Device Manager.

After USB cable from PC and again plug to PC when press button volume up/down of the phone. It will pass into Download Mode (if its battery is full).

The last step is to flash the KDZ firmware file to the phone with LGFlashTool2014 / LGUP.
[Moto G Q&A, Help & Troubleshooting] lost101:
FAQ - Q25: Abrupt Drop Battery Issue (Battery suddenly drops to 0%)

You can flash the 4.4.3 US firmware image or 4.4.4 Retail Brazil image or wait for Retail Europe.

US_retail_XT1032_KXB21.14-L1.32_CFC.xml.zip (XT1032 - 4.4.3 Retail US)

XT1032_RETAIL-BR-SS_4.4.4_KXB21.14-L1.40_42_cid12_CFC_1FF.xml.zip (XT1032 - 4.4.4 Retail Brazil)​

Flashing a custom kernel such as Faux will also help with battery life.
[Moto G Q&A, Help & Troubleshooting] Shuttwind215:
Thx I will first try to install Custom Kernel ,then Try Bra /U.S. 4.4.3(4.4.4. have some issues with apps),then install kernel on Bra .u.s ,and then install complete stock lock bootloader and send it to carrier.

Still it's easiest thing ever compared to finding correct Proloader after flashing wrong MTK6572 Preloader(yeah sure MTK 6572 is completly unbrickable ,but finding corect Preloader that's hardcore and tha's why I just don't have power for searching anything) ,btw thx sorry for oftopic.

I will post here if everything works fine.
[Moto G Q&A, Help & Troubleshooting] lost101:
The point I was trying to make was that your experience is common. Motorola released a patch that is included in 4.4.3 / 4.4.4. A custom kernel will improve battery life but as long as you remain on 4.4.2 - the sudden battery drop can occur at any time. Returning to carrier will not solve this, only updating will; and even then Motorola are still taking feedback on whether the issue has actually been fixed.
[Moto G Q&A, Help & Troubleshooting] Shuttwind215:
I had never drops on 4.4.2(In whole month peroid) you know ,and I throught it was because I flashed something incorrectly ,but on stock(4.4.2) there was like 3/8 mb fix from motorola(not 4.4.3).

Btw I got 4.4.4 eu update kernel is going to be replaced right(faux) I don't need to change boot.img back to stock or anything?

I am going to just flash the update I think topic can be closed.
[One (M7) Q&A, Help & Troubleshooting] Le_Vizz:
Hey xda! :)

Im running ARHD 71.1 and the bulletproof kernel on my HTC One.

I wanted to install Kali Linux with the app Linux Deploy.

But if I use the app I get the error

begin: install

Checking mount points ... done

Checking installation path ... done

making new disk image (0mb) ... fail

<<<end: install

I already tried to change the 0mb value.

What can I do?
[Samsung Galaxy Player 4.0, 5.0] shivam89:
First things first, I'm NOT talking abot canonical's project "Ubuntu for Android"which dual-boots your phone.

I'm talking about this: http://sourceforge.net/projects/linuxonandroid/?source=navbar

Also, this project requires that the device supports a loop device (configured in the kernel). I know that there are some ROMs that support it, but I want a ROM that is really light (so no graphics tweaks or TouchWiz UI) and that I can use to run that.

Also I have a bit experience to build my own ROMs (although I've never shared them), so tips to build one myself are appreciated as well.

I hope that is enough to answer my question,

thanks in advance