yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S II SGH-T989] style154:
He may be workong on an apk theme. What color were you thinking? Guy put in TONS of work on this
[T-Mobile Samsung Galaxy S II SGH-T989] jbourn27:
Lol haven't done anything last couple days but sleep and work will be picking up with apk theme next though now that this is out dated
[Nexus 4 General] FLYN:
Current Issues:

1. I cant figure out how to use the MPRG8064.hex with the QPST Software Download tool.

It claims that it can't unscramble the file, it could be that the file isn't valid or needs to be prepared in some way.

2. I'm not sure how to prepare the XML file for the emmcswdownload tool.

If the XML examples above are any indication, we might be able to do this by getting information

from the BinExtractor tool or by examining the Nexus 4 mbn files.

3. I'm not exactly sure which images need to be used in the QPST Software Download tool (Under the Multi-image tab).

If I understand correctly, the boot system we need to use here is Sec Boot 2.0.
[Nexus 4 General] FLYN:
More than 100 views and not one reply?

Come on people!
[Nexus 4 General] rr5678:
Here's your reply :p

But I'll dig into this like I dug into the TouchPad when WebOS Doctor was being an asshole, but for now:

5AM=sleep
[Nexus 4 General] Kaffeekranz:
Doesn't the apq8064 use Secure Boot 3?

At least the most recent QPST version in your package has the option for SB3.0 in the download tool, which in turn asks for a *.xml file.

What it needs to include? Heck if I know..

By the way, thanks for uploading that whole package, there's some nice stuff in there.
[Nexus 4 General] SnowLeopardJB:
I took a good look at all this stuff when I was working on unbricking the at&t lg optimus g, e970, which is basically identical to this phone. By looking through some tools made to rescue samsung qualcomm based devices, and basically concluded that we would require a signed MPRG8064.hex. By using the qdload.pl script found here, http://xdaforums.com/showthread.php?t=2086142, I found that my pbl would stop responding after I sent and attempted to execute the .hex file. I figured that it would seem that the code is signature checked by the pbl before execution, similar to how sbl1 is during the secureboot 3.0 sequence, causing it to die at that stage because of not having a valid signature.

Most likely, the 8064_msimage.mbn would need sbl1, sbl2, sbl3, rpm, and tz at a minimum, but I believe it is essentially just a raw file containing a header and those five partitions that is imaged directly to the internal storage using the MPRG8064.hex.

I found a couple other interesting threads on similar topics that helped me understand a lot of the secure boot sequence, and how qualcomm devices boot in general.

[SOLVED]-[BRICKED]SHV-E160L Korean model

[REF][R&D] MSM8960 Info, Architecture and Bootloader(s)

[REF][R&D] Building Bootloaders on Qualcomm Devices

[R&D] Unlock Bootloaders

I never got it working for my phone, as I found an alternate method to restore the phone based off of booting from our external sdcard, but if you find anything out, I would be interested in it.
[Nexus 4 General] dc211:
I've seen the same concept on the HTC One X. They've never been able to get it to work. Proper hex and mbn files could never be sourced and in the end jtag was the only solution for some hardbricks.

I do however wish you luck and will follow the thread until it dies!
[Nexus 4 General] FLYN:
What do you guys think, could it be that the HEX file needs to be converted with Intel HEX2BIN?
[Nexus 4 General] moldovanos:
Looks like these guys know how to unbrick stuff. I sent them my Nexus 4 couple of days ago with Nexus 7 kernel flashed, we'll see if they can fix it.

http://www.youtube.com/watch?feature=player_embedded&v=gYtNWt1h66E
[Nexus 4 General] autoprime:
jtag is "cheating" ;)

lg tool or qualcomm tool method is preferred.
[Nexus 4 General] zivan56:
The radio image is not important to get your phone up and running from what I can tell. The APQ chip does not have the modem built in like traditional Qualcomm devices, so there are separate boot images for the APQ and the modem.

So I am not sure you can use those mbn images from the modem image. In the latest 4.2.2 update Google updated the core APQ mbn files, so you can look into the diff to see which files it uses exactly:

http://android.clients.google.com/p...4.signed-occam-JDQ39-from-JOP40D.de8b8d10.zip

If you open the file, you will notice these files:

bootloader.aboot.img

bootloader.rpm.img

bootloader.sbl2.img

bootloader.sbl3.img

bootloader.tz.img

Those are the equivilent mbn files (i.e rpm.mbn, sbl2.mbn). This is what it does with them:

ui_print("Writing bootloader...");
package_extract_file("bootloader-flag.txt", "/dev/block/platform/msm_sdcc.1/by-name/misc");
package_extract_file("bootloader.sbl2.img", "/dev/block/platform/msm_sdcc.1/by-name/sbl2");
package_extract_file("bootloader.sbl3.img", "/dev/block/platform/msm_sdcc.1/by-name/sbl3");
package_extract_file("bootloader.tz.img", "/dev/block/platform/msm_sdcc.1/by-name/tz");
package_extract_file("bootloader.rpm.img", "/dev/block/platform/msm_sdcc.1/by-name/rpm");
package_extract_file("bootloader.aboot.img", "/dev/block/platform/msm_sdcc.1/by-name/aboot");
package_extract_file("bootloader-flag-clear.txt", "/dev/block/platform/msm_sdcc.1/by-name/misc");

I would try these files instead of the ones in the modem image, as the modem image is flashed as a whole image to /dev/block/platform/msm_sdcc.1/by-name/modem later on instead of individual files to partitions. You also need to find sbl1 somewhere.
[Nexus 4 General] RussianBear:
Where did you source the hex file? It was a consensus that a hex had to be signed for some devices (htc, wink-wink).

Did you try getting the nexus in download mode? I forgot the button combo, but worth a try. Lgnpst? Looks like you've already found the link for lgnpst stock roms.
[Nexus 4 General] hshen:
What is the status of this forum? Any good news on unbricking the Nexus 4?
[Nexus 4 General] andybfmv96:
Booting from an extsd on a nexus 4? R u on krak? Or am I missing something?
[Nexus 4 General] Recon Freak:
"I took a good look at all this stuff when I was working on unbricking the at&t lg optimus g, e970, which is basically identical to this phone."

You missed the first line of the post.;)
[Nexus 4 General] andybfmv96:
Oops O_o maybe I on krak

Sent from my Nexus 4
[Nexus 4 General] DEV_Geek:
Hmmm

I've installed QPST, but since I don't have my nexus 4 bricked I can't tell you if this works. But I think that you just have to put the phone image there and the boot image and it shall work.

P.S.

My Nexus 4 is vanilla (just got it for 1 week) so I can provide backups and so on plus the Internal LG Service Manual for the N4(I found it on the web). We shall not give up finding the answer for this as it saves money (no RMA/JTAG repair)
[Nexus 4 General] Jeffery.Lenz:
Hello everyone,

In my tinkering with me bricked N4 i have gotten it to show up as QHSUSB_DLOAD in device manager once, and can't seem to get it to do it again. right now it shows up as either a "USB input Device" or an "Unknown device" with a yellow "!". suggestions any one?

Update: After mucking with it for hours, the device hardware ID only shows up as "USB\UNKNOWN" still. I drop on down to Radio Shack as well and picked up a few resistors and made my self a 910K-ohm "download cable"

Still no luck how ever.
[Nexus 4 General] Razer(x):
I'm interested too
[Nexus 4 General] DEV_Geek:
JIG USB?

Are you trying to do sth like the Samsung JIG USB (300k ohms)?:good:

Hte point of this thread is using the Qualcom HiSpeed USB Download Mode to unbrick our N4!!
[Nexus 4 General] Jeffery.Lenz:
Sorry if my post seems off topic, in the large bundle of tools provided by the OP are many different tools including the LGPDST and Flash tools. In the end I was hoping to use the QHSUSB tools but am not sure how I got it to show up as such in device manager the one time I did. So I figured, what would it hurt to try a jig as described in the documentation. :)
[Nexus 4 General] Jeffery.Lenz:
Any suggestions.

So does any one have any suggestions on how I might be able to get my phone to show up as QHSUSB in device manager. Like I said before it shows up as either a unrecognized device or as a Human interface device (USB input device).

Right now I feel like I am a pretty good guinea pig as my phone is bricked and I have not warranty at this point. I have nothing else to loose.
[Nexus 4 General] RussianBear:
It has to be in a certain download mode to show up. Yours might not be in that mode.
[Nexus 4 General] Jeffery.Lenz:
I understand that. I am just unclear how to get it in to that mode.
[Nexus 4 General] RussianBear:
Back in htc sensation days, we used to ground a pin to the metal frame of the internal sd card. No clue about this phone, unless you brick it. Even then, that certain mode needs to be triggered, or it'll end up somewhere else.
[Nexus 4 General] mariosraptor:
Sorry if this is irrelevant.

I don't have a problem with mine but is this any help

http://phonerepairtutorials.co.uk/u...ad-issue-tutorial-by-kgs1992-details-in-desc/
[Nexus 4 General] RussianBear:
That's exactly the method we came up on here. There's a thread in sensation dev section.
[Nexus 4 General] mariosraptor:
I thought so cause it says methodology is the same, what changes are the files device specific.

I would have liked to help if I could find a bricked one.
[Nexus 4 General] Jeffery.Lenz:
Like I said before, if any one wants to work with me I have a bricked phone with nothing left to loose here. Feel free to hit me up and I can work with some one. I have never really been huge on forums, but I am alot less of a n00b then most.
[Nexus 4 General] C_green:
Thanks for this post mate!
[Nexus 4 General] mariosraptor:
http://xdaforums.com/showthread.php?t=2273135

I have just uploaded the service manual of the Mako, all levels, not just back cover removal ;)

What this means for us? It means that this can help to find how to provoke the dload mode via test point or even a home made JTAG.

I cannot help anymore for today, I am too tired :(

So who ever has time and the will to read about 300+ pages, be my guest :D
[Nexus 4 General] autoprime:
with the phone completely powered off and USB cable not plugged into phone(but have it plugged into PC)... press and hold vol up + down... then press/hold power WHILE plugging in usb cable to phone at the same. This is the combo for download mode. Usually download mode is substituted with QHSUSB when "bricked"

*edit* don't wanna clutter up thread.. might as well reuse same post ;)

try plugging usb into phone at the same time you press the power button.. not after. so while holding vol up/down.. usb + power at same time. if that still doesn't work.. try powering it off completely... then press and hold vol up/down and then while holding ... plug in usb cable(so no power button this time). sometimes that works as well.

other than that... maybe try just vol up + usb.. vol down + usb... vol up/pwr + usb.. vol dwn/pwr + usb.. etc etc..
[Nexus 4 General] Jeffery.Lenz:
Results of suggestion.

Thank you for the suggestion, for me it does not seem to do the trick. I am beginning to wonder if I have a more severe issue with my hardware. When I do what you suggest, when holding both volume buttons then adding and holding the power button THEN plugging in the USB, at first nothing happens, then after about 30 seconds device manager refreshes and I see it add the aforementioned "USB Input Device" at this time the red LED on the unit blinks slowly for another 30 seconds then stops.

any other suggestions are welcome, I have a some what drawn out back story on this unit that I typed out and then decided not to post unless some one wants more specifics so I don't clutter up this thread.
[Nexus 4 General] RussianBear:
Measure the voltage on the battery. It might be dead (red led light issues some people have been experiencing).
[Nexus 4 General] jutezak:
The red led is supposed to be a trickle charge mode. It is supposed to charge slowly through the PMIC until there is enough power for a normal charge (probably involves the CPU and won't work if bricked).

A wireless charger should always work; it works independently of the main CPU and PMIC as it is directly connected to the battery. So if in doubt try that.
[Nexus 4 General] Jeffery.Lenz:
Update

Sorry for the delay, busy weekend. So as far as button combinations, I have tried them all. still the same results. :(

as for the battery. I tore my unit down and tossed the multimeter on it depending on the pins i was getting between 2.5v and 2.7v I would think that would be enough to get it going but I would be wrong.

*edit*

I tested again, 2.73v best I could get, this might explain my inability to get in to the right mode. unfortunately I do not have a wireless charger available to me. so I guess I am on hold till I can either borrow one from some where or another or get up then $181 I need to just have LG fix it. :( If any one else has any other ideas let me know, till then in the drawer it goes.

Thanks every one!
[Nexus 4 General] RussianBear:
Sounds very low. On mV scale, mine doesn't go below 36xx mV, which would be about 3.x V.
[Nexus 4 General] mariosraptor:
i have upoaded some more stuff to my DB public link.

it incudes also The LG N4 dll file.

also the xls that contains all data about the download.

i realy hope that someone makes something out of these to revive those dead N4's

the dll file is being reckognized correcltly by the FlashTool program that i have provided. https://www.dropbox.com/sh/3n8q1xmq1evyjfk/aVFRZ1IhQS
[Nexus 4 General] RussianBear:
get a 5v battery from any supermarket, grab two wires with alligator clips, clip them on the said battery and put those wires on the corresponding contacts on the battery. Be careful and stop when the battery gets warm. I've had to do it with an old cell phone before. Works like magic :)
[Nexus 4 General] jutezak:
Yup, when the phone is open just charge the battery with some low voltage and current.

At < 3 volts it is really empty. I would suggest some form of current limiting, connect it to a low powered USB charger and/or put a light bulb (lantern) in series.
[Nexus 4 General] rafael_mfr:
Did anyone figure out how to revive the Nexus 4 already?

I've two ASUS Padfone 2 bricked, both with same issue QHSUSB_DLOAD.

My experience is detailed on the thread from my Signature... I'll be following this thread since it can be solved and maybe can be useful to my device, as PF2 and N4 have the same chipset: Qualcomm APQ8064 Snapdragon
[Nexus 4 General] moldovanos:
These people fixed my phone after I flashed Nexus 7 kernel by accident
[Nexus 4 General] Jeffery.Lenz:
So I offered to be a gunnie pig but I couldn't take it any longer, I broke down and payed to have LG just fix my N4 cost me $181 but its like new again. Thanks for the help guys:crying::oand I really hope that something useful comes from this method. :D
[Nexus 4 General] Cr@zek!:
Help

Can u write the steps to unbrick it ?

i have a lg Optimus G Att E970 i bricked it

plz can u help me ?
[Nexus 4 General] Cr@zek!:
Plz

I have bricked my Lg Optimus G AT&T E970

can you tell me how did u unbrick it by booting off your memory card ?

Or any other way to unbrick it ?
[Nexus 4 General] BUNZ1:
Bump for this. I rebooted my phone after uploading a file to it to flash and it never turned on. Volt meter on my battery reads 4.1v. JTAG would be my last resort but I'm willing to give it a shot if anyone has anything for this.
[Nexus 4 General] amdhunter:
Damn. My phone was stuck in QHSUSB mode for 2 days, and I decided to charge it, did this and it unbricked itself. WTF. lol. I wonder what the heck caused the problem in the first place. Currently happened with 3.99 Paranoid in stock form. :)

I'm happy. If anyone else gets this, let the battery die out and try again I guess.
[Nexus 4 General] SetiroN:
any updates on this? :)
[Nexus 4 General] marko_s:
Unbrick Optimus G E975

Hello all,

I spent some time to find solution to unbrick my Optimus G E975.

After all things I tried, I downloaded QPST tools.

Before I bricked my phone using FreeGee. After restart phone did not start at all. When I pug it in USB, in device manager is shown as Qualcom device.

Best of all, I did backup using FreeGee and I have all ESF files, *.img files etc.

This device is identical to Nexus 4. If You need any of these files I can post it here.

What I need is help with QPST tool. I have all these files (HEX also, I think. I'll have to check when come home). I would like to restore backup images but need help with this tool.

Battery status: 3.81 V

Phone does not boot, no download mode by pressing VOLUME +/- + POWER keys.

It only respond to USB connection. QPST detect it as Phone. No name, no model, no phone number.

When holding VOLUME +/- keys + POWER for 10 seconds, power led (orange) turns ON for 4-5 sec and turns OFF again.

It lucks like phone reboot. Device manager re-identify device.

Help is needed and I will also contribute to this forum to help others.
[Nexus 4 General] marko_s:
Optimus G E975 compatible?

Hello, I came to conclusion that files for E960 and E975 are named the same. I'm trying to find hex and mbn files for optimus E975.

Can I use files from nexus 4?

I have these files:

sbl1-backup.img

sbl2-backup.img

sbl3-backup.img

aboot-backup.img

boot-backup.img

m9kefs1-backup.img

m9kefs2-backup.img

m9kefs3-backup.img

recovery-backup.img

Files are made using FreeGee before I tried to unlock boot loader and get bricked. How Can I extract this files and use them in QPST?

Regards.
[Nexus 4 General] brunes:
Anyone have an update on this??? I am confused how some people in this gthread say "thanks" and "it worked"... what worked? The steps in the OP don't go anywhere....
[Nexus 4 General] darkspr1te:
You should check my shv-e160l debrick and qualcomm debrick tool threads, plenty of low level info there and how I used qpst to debrick my device and then move on to developing a tool of our own to do the repairs, with help from other xda/rootz dev's.

Your device will have a similar partition system tomy old qualcom device but most likely it's gpt now and not old mbr based ( see my threads for further details on this).

the sd-card hex file and it's mbr are used in the following manner,

upload the hex to a device in QDLOAD/QHSUSB and the ddevice is ready for emmc programming, factory can program the entire emmc as a mbn but we first have tp upload a mbn file that then boots the device in a special mode that acts like a sddcard, from here you then rebuild the partition layout and restore the actual parition images.

I know i make it sound simple but i was lucky, the shv-160l is a device that had no secure bit set and so it accepted the hex and mbn files with no cookie error.

I no longer have a msm/mdm device and my qualcomm link/access has no expired but i will try and help you where i can.

Good Luck,

darkspr1te (see my sig for the links)
[Nexus 4 General] kocoman:
The link "PBL Tool (A perl script that implements part of the DMSS protocol)" is not working for me, it says invalid forum ? thanks
[Nexus 4 General] Daved+:
This works for me:

https://mega.co.nz/#!hQkBgaaK!HfugBCxgMSzQG0AcxdySxip_YI9EIaLki8Adtbip8gY
[Nexus 4 General] hbawlz:
I have to ship this ***** to Texas AGAIN for JTAG....?"

Cuz I sure cant read through the translations google gives me for this http://bbs.gfan.com/android-6269182-1-1.html and make sense of it....

Im so lost , and I earned that , don't even think I have any cells left after all the reading through different threads of MANY devices, with all good info , done rendered myself perplexed...
[Nexus 4 General] JaviMotta98:
I have tried almost ALL the programs and ALL the files in the package, but I haven't find the solution :crying:

If anyone finds how to flash the hex and mbn files, please tell it :(

EDIT: I think the solution is MiFlash, but we need two XMLs files for the N4
[Nexus 4 General] opssemnik:
http://bbs.gfan.com/android-6269182-1-1.html

give a try, it may work
[Nexus 4 General] landonotis:
I have tried several sites but can't seem to get mprg8064.hex and 8064_msimage.mbn files from the site. They require paying for an account on a Chinese site. Can anyone provide these files for either Nexus 4 or Optimus G?
[Nexus 4 General] lsaman:
mprg8064.hex and 8064_msimage.mbn for NEXUS 4

I also have a hard bricked Nexus 4 . I was able to grab the two files mprg8064.hex and 8064_msimage.mbn

but emmc Download app keeps giving me this error

"Image Download failed. Cookie (if present) not received"

Can someone help
[Nexus 4 General] landonotis:
That seems to be the reoccurring issue. I believe the cookie error is because the files are not the exact ones for the phone you have. No one that I know of has been able to make it past the cookie error.
[Nexus 4 General] insink71:
keepin it simple

Darksprite has the best tools running for brick fix software solution; unfortunately, no one has emulated that work for this particular device.

JTAG tools work. ie: http://www.riffbox.org/jtag-news/riff-jtag-lg-e960-nexus-4-lg-mako-boot-repair-supported/ is SC closer than TX? I got a riff. If no, just look around in your community; probably a repair shop that has same.
[Nexus 4 General] pepinos:
Ok guys, here we are. Try it and let me know.
[Nexus 4 General] opssemnik:
will try. edit later for update.

Edit: nope, even tho i deleted aboot and aboob(bootloader) using parted, my phone was only being recognized by lgnpst (witch works) :/
[Nexus 4 General] unknown_2:
i always got into bricks situation with my nexus 4 cause i was testing all sorts of ROM.

i always just use nexus root toolkit to unbrick it.

works fine every time
[Nexus 4 General] bitdomo:
What is the current situation with nexus 4? For zte nubia z5 or zte nubia z5s mini (i dont remember well) they unbrick phone with emmc downloader app (installed with qpst) they input the name of the .hex and the .mbn file uncheck programm emmc, check trusted mode add the location of the mbn and the hex to the search path 2 then they click on download, after that the phone internal storage becomes available. It is possible to dd images to the right partition in linux, or use winhex in windows.

Tapatalk-kal küldve az én Nexus 5-el
[Nexus 4 General] lsaman:
Where to get working hex and mbn files for nexus 4

The question is where to get working .hex and the .mbn file for the nexus 4
[Nexus 4 General] fr3quency:
BUMP. This looks interesting for bricked devices.
[Nexus 4 General] agsalman:
but how?

my options finished and me neither. Since last night i've tried everything but i couldn't find a solution. please, anybody can help me?

By the way my phone is lg e988.

thanks in advice for advance.
[Nexus 4 General] opssemnik:
that is just a soft brick, in this thread, we talk about qhusb dload mode, when your phone its in that situation, charging -> red light, conecting to pc -> QHUSB_DLOAD device, and wont turn on screen

now getting back to topic, anyone knows how to trigger this mode without having something messed up?, tried removing aboot and abootb, but would do the same things as hardbricked however in pc would be recognized as a full jellybean on mako(lgnpst mode)
[Nexus 4 General] ripped.animal:
HI all, so tu cut the story short im in 'dowload mode' etc... all the things as you have described.... So im stuck here now. When trying to dl softwere, i put phone image , and boot image , ( https://mega.co.nz/#!Y0UB3Qxb!FYmYSAIYziryaVtYQsPlQN7sOj5BOWi954pug8SCumw )

nd this image : https://mega.co.nz/#!Y0UB3Qxb!FYmYSAIYziryaVtYQsPlQN7sOj5BOWi954pug8SCumw

https://mega.co.nz/#!AwV1BCCK!FWiMx4T59rcI4Z4-Xev2_OUaN8sLRuyVsJXAw3QhGVI

And on pic 2 is the error i get....could not dertermine theHEX files's scrambeling method. the file is invalid ...

Suggestions ?