yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] pogi1100:
Yea I've tried the G2 DLL on LG Flash Tool to no avail. The NAND image isn't a problem since I do have the TOT files already.

EDIT: This is the output I am getting from LG Flash Tools with the LGUP_8974.dll (apparently it detected my N5 correctly [D820]):

Output from LGD800_20130904_LGFLASHv160.dll (as far as I can tell this cannot detect my model):

I've tried hex editing the 2 DLLs to my model (D820) but it ends up being the same. Any ideas?
[Nexus 4 General] Dany-69:
Can you tell us where to find the TOT files for the N5 ?

It's a good resource to have in the favourites... :cyclops:

Now we have to find the dll :D
[Nexus 4 General] ricey1986:
Hi Guys/Gals, sorry to hi-jack the thread but I didn't want to start a new thread.

I appeared to get the red blinking light after my phone randomly shut down, I have managed to get the battery icon while charging but the phone still won't boot. Whenever I press the power button I get a blank screen, I can't get into recovery either.

Just to mention everything is stock apart from an unlocked bootloader.

Any help greatly appreciated.

Thanks
[Nexus 4 General] titmus:
Tried it again, everything works ok till this line:

after which I get

Any idea what I'm doing wrong? (if anything)
[Nexus 4 General] pogi1100:
Here you go: http://xdaforums.com/showthread.php?t=2515760

Trying to find the right dll from this repo: http://lgfirmwares.com/download/LG/DLL/

Any idea on which one the LG G2 uses?
[Nexus 4 General] titmus:
Anyone...?
[Nexus 4 General] drharisis:
I| am trying desperately recover the bootloader but i need apq8064.hex file.Does anybody has any file??????please help........
[Nexus 4 General] foxunlimited:
I have a bricked Nexus 4 - exactly the same issue as http://xdaforums.com/showthread.php?t=2259334

I tried following threadstarter's method and I got to this screen:

View attachment 2430577

I thought this is expected since TS mentioned about seeing an error message so I continued to boot into bootloader (Vol down and power key).

Next instruction is to run flash-all.bat which I did. Here is the output:

View attachment 2430589

Basically the same write error as when I try to Factory Reset via other thread's recommendation.

My Nexus 4 seems to not have 'write permission', I even tried changing the bootloader to Lock state but it always go back to Unlocker after a restart of Fastboot.

Please help. I am having a Nexus4 paperweight at the moment. Thanks
[Nexus 4 General] riieener:
can not find system files "dd"
[Nexus 4 General] Dany-69:
How exactly you think to recover the bootloader, if the bootloader is only accessible through .. the bootloader mode or the download mode?

How you should use that hex file?

Nand failure, as you can read in that topic :/..

I'm so sorry bro..:(

Maybe you could say us the exact command of the guide that gave you that error, as we are not magicians.. -_-
[Nexus 4 General] foxunlimited:
Nand failure? meaning my unit is a lost cause? :eek:
[Nexus 4 General] Dany-69:
Ehmmm .. yes :/

In that topic there are people having this problem without a precise reason and even with stock firmware..

And neither fastboot nor lgnpst seem to be able to solve the problem.

Nothing is more powerful than lgnpst..
[Nexus 4 General] foxunlimited:
Alright.. thanks for the reply dude.

Now to find some good papers to weigh down with my N4.. :eek:
[Nexus 4 General] NABENDU1:
This is a serious issue and cannot be solved by LGNPST. What you require is the Qualcomm PST using the the High Speed USB Device Method . But unfortunately its quite difficult and no proper compilation of the same has been made. If not JTAG is your only recourse...
[Nexus 4 General] nurso:
Hi there,

thanks for your work! I tried following your guide and now I am stuck with this:

Unfortunately, I do have some extra lines:

df -h

Filesystem Size Used Available Use% Mounted on

tmpfs 930.9M 48.0K 930.9M 0% /dev

tmpfs 930.9M 0 930.9M 0% /mnt/secure

tmpfs 930.9M 0 930.9M 0% /mnt/fuse

/dev/block/platform/msm_sdcc.1/by-name/cache

551.7M 9.9M 541.9M 2% /cache

/dev/block/platform/msm_sdcc.1/by-name/system

827.8M 699.9M 127.9M 85% /system

How can I get rid of the other not-needed lines? umount /cache or /system isn't working :(

Thanks for any help!

Nur
[Nexus 4 General] bicefalo04:
DLL problem.

Hi all, I followed all the steps mentioned on this threath but i'm not able to select the LGNPST_LS970.dll, if i made the dll registration with double click told me is added, but when i try to do this by command line i get this error:

View attachment 2456220

And on LG program just appears like this:

View attachment 2456227

Could someone give me a helping hand?,

Sorry for my bad english...

Regards.

OS: Windows 7 professional
[Nexus 4 General] bicefalo04:
DLL problem.

Sorry, my bad, i didn't ran command pront as admin, now i'm able to select the DLL...:D
[Nexus 4 General] RussinBear:
"Factory Image flashable with fastboot (Mirror)" - faster to die than to wait for the download, check out the link

how to make

fastboot flash recovery recovery-clockwork-touch-6.0.3.1-mako.img

if the folder

Factory Image flashable with fastboot (Mirror)

No such file??
[Nexus 4 General] bicefalo04:
I'm almost crying... :crying:. Still getting UNknown baseband after the process, this is so frustrating for me, i just had the phone for 2 weeks without garanty... Is there any other method that can i try?

View attachment 2456807.
[Nexus 4 General] bicefalo04:
Man if you take a closer look, the word "Mirror" is a diferent link, click on Mirror and you will see the difference...

Regards.
[Nexus 4 General] bicefalo04:
Unknown Baseband

I forget to tell this, this began after ubuntu touch installation, i flashed an oldier radio on the phone, in the moment to roll back the phone to android just worked for a few days, then stop working...
[Nexus 4 General] anurag1408:
I tried the method given in this thread.

I am still stuck with no IMEI and basaband unknown.

Any pointers ?

Cant we set the IMIE in phone if we know the IMIE
[Nexus 4 General] jpborjav:
Hey, I have the same problem with IMEI and Baseband. I have done this method step by step multiple times and reading the spanish translation i found out that after 85% close the LG NPST and the phone boot up but it says encrypted.

There is where i had a problem after 85% my phone sits on the boot animation and never pass that, so at first I turned off, went to fastboot and run flash-all.bat without errors. Now i did the method again step by step and when LG NPST got to 85% and the phone was stuck on the boot animation. I turned off, went to recovery mode and did a factory reset, reboot and i finally got inside the "encrypted" althought I never saw any msg saying it was encrypted. Now in this rom i still dont have imei or baseband. I did the flash-all.bat again and nothing.

Im out of ideas, but still have the method with the LG Flash Tool to try. Thing is that im not that confident with that process, thread is old, there are no replies and links are all dead on that site GSM PANDA.

Ill buy 5 beers if needed or get you drunk :)
[Nexus 4 General] maveezarr24:
same issue

Hi there guys, I have the same problem. i can't unmount /system, /cache, /data. Im on stock 4.4.2

Thanks in advance for your help.

Marv
[Nexus 4 General] maveezarr24:
same issue

Hi Nur,

I found an answer to this, if you cant mount /system /cache/ /data, you can unmount it in Recovery mode. then proceed to next step.

also even if there is an extra lines after "df -h" and you already unmounted /cache /system /data , just proceed to next step.

i just reclaimed my extra storage on my Nexus 4!

Thanks!! :good::good::good:
[Nexus 4 General] varung14:
I dropped by nexus 4 on its back and since then phone wouldn't send or receive calls and data although it did show that it was connected to the network. So I tried to restart it but it wouldn't, just went into a boot loop. I did crazy things on it just to get it up and running and I believe I accidentally flashed it in the process.

Took it to LG repair, they installed 4.2.2 and could boot the phone but now no IMEI and Baseband.

LG says it needs a motherboard change and that will cost me appx. USD 200 and then I reached this forum.

Thought of giving it a try before I spent USD 200 but the link "Factory Image flashable with LGNPST" wouldn't work and gets stuck at 95%. What am I supposed to do?
[Nexus 4 General] varung14:
followed the thread step by step but no success.

Everything (wi-fi, bluetooth, camera, etc) other than the mobile network worked. Taking it for repairs tomorrow.
[Nexus 4 General] mavishow:
:good::good: the problem is solved. 8gb to 16gb.:good:

Thanks
[Nexus 4 General] PrimozR:
What if after almost 40 minutes the process is still at 0%?
[Nexus 4 General] muming88:
can this work with N5?
[Nexus 4 General] CoolApps:
The tools will but the tot and dll file will not work, you will need to get those files from a LG device which shares the same hardware with the Nexus 5.

I don't have the Nexus 5 but that's what I think based on logic and what I know.

By the way please don't quote the OP. :)
[Nexus 4 General] muming88:
thanks for reply.can u tell me where download ？i want to try
[Nexus 4 General] CoolApps:
Refer to this thread http://xdaforums.com/showthread.php?t=2515760

It contains the tot files and does mention about the DLL file which is required so hopefully you should get something out of this and that thread. ;)

BTW hit that thanks button if I've helped.
[Nexus 4 General] kurtph1969:
Hi,

I've been trying to fix the Mac address on my nexus 4 but can't get it to work. Does anyone have any suggestions it tips? Does the Mac address need dots or colons in it? Thanks
[Nexus 4 General] Fx5187:
did everything to the letter..got "failed to load model dll"...help?
[Nexus 4 General] r2brett2:
What about radio?

What if the cell radio isn't working?

If you flash back to a stock rom, will this take care of the missing items from /persist?

I did everything like you said in your post, except there was no conn_init program in my /system/bin/ folder.

Thank you
[Nexus 4 General] wrench588:
Excellent guide! Thank you so much, have bookmarked this :good:
[Nexus 4 General] opssemnik:
lgnpst will already do that(does on lgog) however, for the lgog users sometimes it fails to create these partitions, so you have to make a backup of them,format and restaure the backup(by backup i mean after you used lgnpst, so no whories :P,and only in some cases that happens)
[Nexus 4 General] teoking:
Great work. I'll try it.:good:
[Nexus 4 General] opssemnik:
thanks, i was messing up with partitions and deleted bootloader, phone would just turn screen on. nothing would appear. now its all back ok.

However here is a tip

sometimes(at least,when i tried) /persist can not get mounted automatcly on recovery. if you need to acess it to fix bluetooh or wifi then type this after you got adb shell

mkdir /persist

then press enter

then type

mount -t ext4 /dev/block/platform/msm_sdcc.1/by-name/persist /persist

press enter

and now should be all ok
[Nexus 4 General] unknown_2:
too much hassle.

i find it using nexus root toolkit is easiest.
[Nexus 4 General] efrant:
You obviously missed the point of this thread. You will need to use this method if you can no longer access the bootloader. If you cannot access the bootloader, no toolkit is going to help you.
[Nexus 4 General] momoooo:
First if all,thank you very much for the great method!

But it doesn't seems work on my phone.

Although my wifi works smoothly,the signal just can't get found as well as the sim card.

Also,in the software information,the baseband version is displayed as "unknown",but it is quite interesting that it can be seen in the bootloader.When I tried to flash 4.3 or 4.4,the phone will definitely in x mark or in the four balls.

I've already tried a lot of ways besides the top-floor's one like:flash different baseband,flash custom roms like cm11.

I've got exhausted working on it any longer so if possible,I hope someone can help me with the question!Thanks!
[Nexus 4 General] V4sh31:
I have same problem here.

I haven't found out a solution for the error message "E: Can't mount/cache/recovery/log" and subsequent error messages into recovery. :crying:

It seems to need a fix through jtag...
[Nexus 4 General] adil1508:
Invalid Argument

I used this method to unbrick my Nexus and it worked great. I have a 16GB model so I started with the fix for the low internal memory ( where it shows 8GB ) The problem is that when I type in ( WITHOUT QUOTES ) "umount /data" I get an invalid argument error. The rest of the two 'umount' fine. And as a result of this invalid argument error, the output I get is FOUR lines instead of the just this 'tmpfs 911.7M 48.0K 911.6M 0% /dev'

I didn't proceed any further and simply rebooted my phone. What am I doing wrong?

I should mention that I am on 4.4.2 from the stock factory image, ( I tried out that other fix. It seemed easier but didn't work. ) am rooted and have CWM installed

Also, is the commant umount /data or unmount /data ? ( the second one has an 'n' )
[Nexus 4 General] sordna:
umount .... If you type unmount you will see it will complain that there is no such command.
[Nexus 4 General] adil1508:
yeah I figured that part. But it still returns an 'invalid argument' when I use umount
[Nexus 4 General] opssemnik:
try mount /data

then umount /data

also about for the 4 lines, its a recovery thing, you can ignore them if they are /selinux /sysfs /tmpfs /security
[Nexus 4 General] adil1508:
Thanks. I'll try it out and report later
[Nexus 4 General] fahadsul3man:
so this means nexus 4 cant be bricked , the only way to brick it is to toss it off the cliff ?
[Nexus 4 General] puncha1580:
Try reading!!!
[Nexus 4 General] fr3quency:
Doesn't work for the Red Light(of motherfking death :@) situation. In my situation, when fastboot tries to reboot, it shuts down instead and I have to boot into bootloader myself. What does that mean? It means that at 67% the phone turns off.(as OP said we should wait for the percentage to change from 67 to 85, but if it shuts down by itself, then the program must have given such command) I don't know about others' red light, but in my situation, I cannot boot into recovery, only bootloader.
[Nexus 4 General] Acuity:
Process: Upgrade_Masterbin

SubProc: Masterbin Download

Cause: Fail to write Parition

PrimaryGPT, 512th Sector.

A few others have had this error, and I think we might be out of luck. This morning when I rebooted my phone, I ended up getting a bunch of failed to load errors. When I rebooted again, I got stuck at the spinning Cyanogenmod screen. From there I tried to reset Cache/Dalvik to be greeted with a failed message. This lead me to try to do a factory reset from an image on the Google Developers page which subsequently failed. Now, I am here.

So close to the Nexus 6 launch, and yet so far away. I think I'm now in the market for a cheap replacement while I wait. Thanks for the guide regardless -- a thumbs up for your honorable contribution.
[Nexus 4 General] havlaz:
Works great !!!!!!!
[Nexus 4 General] uberberben:
Deleted
[Nexus 4 General] FourForty:
worked like a charm. Thank you very much.
[Nexus 4 General] conorkickass:
When I try to do this I get a driver install screen asking for QHSUSB_DLOAD drivers. Anyone have any idea how to get them installed? (I've installed all of the items in the OP)
[Nexus 4 General] MGA2009:
My Nexus 4 is dead after trying a "flash all.bat" using the correct firmware. I cant acces Download Mode, cant acces Bootloader... nothing...

My phone is detected as Qualcom HS-USB QDLoader 9008 and I can't do anything.

Thanks for the great guide anyways...
[Nexus 4 General] g.maverick:
Flashfactory links don't work. (I cannot quote the links because of my low post-count).

Is it possible to use one of the N4 factory images downloaded form developers.google.com?

..and eventually which version?

Thank you!
[Nexus 4 General] pincher65:
https://developers.google.com/android/nexus/images#occam
[Nexus 4 General] g.maverick:
Thank you for the answer :)

Unfortunately the guide doesn't' solve my issue.

I'm having an issue with in-call audio, while making and receiving calls.

Incoming and outgoing sounds are totally missing.

No one can ear me and I cannot ear nobody, as the call timer increases... while VOIP calls are working fine.

Now I only hear a low bzzzz

I followed the guide and flashed factory image 4.2.2 (JDQ39), but nothing has changed (well the phone now detects 8gb instead of 16gb, but I have not yet fixed: I was impatient to check the if the audio issue was fixed).

Before follow the unbrick guide, I also had a try with the modified LTE-enabled radio images without any result.

Is there something else I can try? :confused:
[Nexus 4 General] pincher65:
try factory reset from the menu - settings
[Nexus 4 General] paolontra:
I have exactly the same problem:

when trying factory reset Ireceive this:

sending 'bootloader' (2203 KB)...
OKAY [ 0.072s]
writing 'bootloader'...
FAILED (remote: flash write failure)
finished. total time: 0.074s
rebooting into bootloader...
OKAY [ 0.001s]
finished. total time: 0.001s
< waiting for device >
sending 'radio' (45537 KB)...
OKAY [ 1.436s]
writing 'radio'...
FAILED (remote: flash write failure)
finished. total time: 1.438s
rebooting into bootloader...
OKAY [ 0.001s]
finished. total time: 0.001s
< waiting for device >
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
--------------------------------------------
Bootloader Version...: MAKOZ30d
Baseband Version.....: M9615A-CEFWMAZM-2.0.1700.98
Serial Number........: *************************
--------------------------------------------
checking product...
OKAY [ 0.002s]
checking version-bootloader...
OKAY [ 0.002s]
checking version-baseband...
OKAY [ 0.002s]
sending 'boot' (6340 KB)...
OKAY [ 0.204s]
writing 'boot'...
FAILED (remote: flash write failure)
finished. total time: 0.220s
Press any key to exit...

fastboot works

recovery works

cannot mount /system /data /cache ...

cannot update/flash anything with fastboot

I didn't manage to connect to device with adb

no external sd to boot from

can boot from fastboot

Can anyone find some hope or should I just buy a new phone?
[Nexus 4 General] g.maverick:
The 16gb vs 8gb issues is not my principal problem, indeed the real issue is the missing incall sound..

Anyway I followed the second part of the guide and now the device detect correctly 16gb, during the process I found 2 partitions:

/mnt/fuse and /mnt/secure

Could these 2 partitions related to my issue audio issue?

for the sake of completeness:

During the restoring 16gb process I thought to umount then (and for one I had to force the umount with a option because it was busy) and then removed with parted, so now these two partitions has been removed, but maybe it could be an "alarm bell" to understand my issue.. :eek:
[Nexus 4 General] pincher65:
try a different cable, USB port

---------- Post added at 01:12 PM ---------- Previous post was at 01:06 PM ----------

Now flash again from flash-all.bat, sometimes after using cm installer not flashing system. should go in recovery make wipe date and reflash
[Nexus 4 General] khanjui:
Can anyone upload files? :confused:
[Nexus 4 General] kurtph1969:
Hi, I flashed an incorrect version of ClockWorkMod. My N4 is dead. No combinations of keys seem to work. i can get the red flashing led when plugged in. I cannot get the phone into Download Mode. It's also showing up as "QHSUSB_DLOAD" in device manager which I believe is pretty bad!

Do I have any other options other than bin it and get a new phone? :)
[Nexus 4 General] Gigadroid:
Reuploaded :)
[Nexus 4 General] GS150R:
Please can anyone help me with this

my nexus 4 doesn't show imei number, no service,no bluetooth,no wifi, no internal storage, it can be fix
[Nexus 4 General] eightz:
Hi,

The link for the LGNPST seems died, could you kindly re-upload this? Thank you.
[Nexus 4 General] GS150R:
VERY VERY THANKS MAN YOU SAVE MY LIFE .

I AM TRYING TO SOLVE THE PROBLEM NO IMEI,INTERNAL STORAGE,WIFI,BLUETOOTH AFTER FLASHING VELOCITY GAPP MY NEXUS DOESN'T BOOT UP :crying:.

BUT THIS METHOD REALLY WORKS FOR ME CHEERS :victory:
[Nexus 4 General] Connor Baker:
Thanks for the thread [MENTION=4411844]Gigadroid[/MENTION] ! A quick note however, I find it is much easier to get into download mode by following the steps bellow.

1. Turn the phone off.

2. Make sure the phone is off.

3. Plug a USB cable into your PC, AND ONLY INTO YOUR PC. THE PHONE PART COMES NEXT.

4. Hold down the volume up and down buttons for 2 (two) seconds on your Nexus, and continue to hold the volume up and down buttons while pluging in the USB cable which is connected to your PC. Continue to hold the buttons until the download mode screen appears. Now step five.

5. Once the download mode screen comes up, let go of the volume buttons.

Connor Baker

P.S. I know this because it's the same procedure to get into download mode on my old Samsung Infuse :D

ALSO, IM NOT RESPONSIBLE IF YOUR DEVICE BLOWS UP OR CHEATS ON YOU.
[Nexus 4 General] Gigadroid:
Updated OP with that method :)
[Nexus 4 General] MidtownHD:
wow, this is for extreme cases. Were you able to boot into fastboot before going this route?
[Nexus 4 General] deeren:
Using LGNPST method will wipe everything. And you will lose your Mac address and your Bluetooth address.

I know it cause I've used this method a few months back trying to fix screen artifacts.

Be sure to back up the /persist partition or note down your Mac address and Bluetooth address before or else you will end up with a standard one which changes with every reboot. Once you note it down or back up, it is easy to restore it to the original address.
[Nexus 4 General] Gigadroid:
Yes, but the partitions got completly messed up, so it didn't boot.

Flashing factory image or things like that only do the half thing, so after that you got no radios and it's booting for a very long time.

Oh, I'll add this to OP
[Nexus 4 General] johnxarma:
I fix my phone with this guide because I have the same problem with the OP. I didn't know about the backup you say:/ what can I do now?? I have serious problem??
[Nexus 4 General] Gigadroid:
Don't think that's a problem as long you don't have a mac filter or something like that installed.
[Nexus 4 General] johnxarma:
OK then thanks:) I have also another question. When I follow the guide to turn it to 16GB I mount system but later o didn't unmounted. My phone is works perfect I think but I want to ask if this have impact on something
[Nexus 4 General] Gigadroid:
No, I added that later only to be sure that it doesn't show up with df -h, this won't affect anything.

Could somebody who didn't used that guide give me a copy of his persist partition so I can search for a fix?
[Nexus 4 General] johnxarma:
+1. Someone please upload this folder
[Nexus 4 General] Gigadroid:
I thought about it when I wanted to add it to the OP.

There is no way to get into ADB before using LGNPST so you can't do a backup.
[Nexus 4 General] deeren:
Yeah you're right. I didn't think of that.

Anyway i created a Bluetooth and WiFi folder in the persist partition and assigned myself a permanent Mac address ... I really don't know if theres something missing apart from these 2 things
[Nexus 4 General] johnxarma:
[MENTION=1383589]deeren[/MENTION] can you share it here??