yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] DeZire17:
after flashing "flashfactory.zip" i i just need to install this app?

i don't need to root or something?
[Nexus 4 General] johann2204:
wait. can you boot into android? if yes. you have to root it of course. and flash cwm recovery. then install the app. other explorer might work to, but i use always root explorer
[Nexus 4 General] DeZire17:
i did the thing with LGNPST then i flashed stock image and i need to restore my 16gb back.

i need to copy the files to /system, how should i do it???
[Nexus 4 General] johann2204:
first root your rom....istall app....copy file to right path....flash cwm recovery ....than ask again if you dont come forward.
[Nexus 4 General] DeZire17:
Do I need to flash custom kernel/ROM or just root?
[Nexus 4 General] johann2204:
just root and flash cwm recovery
[Nexus 4 General] DeZire17:
Thanks!!!
[Nexus 4 General] venec:
I dont know what's going on, I flashed today (never lose hope) 4.2.2 Wifi works, Bluetooth works, still no IMEI and no baseband.

It even received the 4.3 update OTA, installs just fine, but then again baseband unknown and imei unknown

:(
[Nexus 4 General] johann2204:
have you try to flash the radio manually.

you can find it here

http://xdaforums.com/showthread.php?t=2087227

and here are some flashable bootloader.

http://xdaforums.com/showthread.php?t=2105983

if you have the latest try it with older one.

good luck
[Nexus 4 General] Gigadroid:
I went through the thread and found a two unanswered questions. :/ (Sorry for the late response)

If there was no error message or something like that was displayed anywhere then I think the device is fully bricked :(

I simply never have seen this error and if you search for it you come only to this thread.

Also the LGNPST provides no log function where I could get more details about the problem.

Normaly the LGNPST doesn't care if the boot sector was destroyed before, it would completly erase the boot sector and replace it so this can't be the problem :/

Have you tried to use another computer for this?

Maybe there's a driver conflict or so
[Nexus 4 General] billykidd13:
Thanks for getting back to the post! Appreciate the reply, I have actually tried another PC and get exactly same message, always stops at 85% and kicks to that error?

I also tried another program called ncry. It shows that it loads the stock image back but does it in ony about 2 seconds so it is obviously not doing it correctly? It does show downloading when it does the radio, modem etc but like I said shows loading the whole stock image in about 2 sec? It then asks me to turn on usb debugging which of course I cannot do as I cant get past bootloader screen.

Not sure if that helps with the LGNPST problem but thought Id mention it? trying desperately to get this phone going, love the phone!!
[Nexus 4 General] venec:
Thanks, but I already tried other radios and no luck

Also as an update, when I put the image with LGNPST I get the error at 85%, then if I put the phone back in download mode and press ok in LGNPST, the flash goes all the way to 100% without errors
[Nexus 4 General] Gigadroid:
NCry does only flash a image, it's part of this method also.

And it should take longer then 2 secs :/

I saw a modified img for the LGNPST recently but I can't find it again.

Can't help you :(
[Nexus 4 General] NABENDU1:
Hey Gigodroid do u mean the factory image to be flashed with the LGNPST. If so the link is given below to the latest avaiable image on the internet

LGE960AT-00-V10e-NXS-XX-JUL-29-2013-JWR66V-USER+0.tot

http://d-h.st/nYo

Also, this is another alternative guide to flash factory images

http://xdaforums.com/showthread.php?t=2302660

Also check out the below mentioned link with pictures for the same menthod

http://www.gsmpanda.com/f26/lg-android-firmwares-flasher-873/

The DLL file for Nexus 4 for LG Flash Tools(not for LGNPST) is given in the attachments below.

Kindly Note: Im in no way responsible for causing any kind of damage to your devices.

Use this at your own risk

Also, hit the Thanks button as a token of appreciation if you find my post useful
[Nexus 4 General] Fishfoot:
Hey guys,

Bought a used Nexus 4 on ebay which was stuck in download mode. I used this method to restore the system. It is up and running (THANKS!) but the sensors (rotation, gyroscope, proximity, light, etc) are not working at all. I've also read about the conflict between versions of Android and the bootloaders. I've tried a bunch of different combinations to no avail. I even installed Ubuntu Touch OS in the hope that the rotation would work there. I figured if I"m running a whole other OS then it might just work. Unfortunately, same problem (at least for rotation).

1) Has anybody else had this problem?

2) Could this be a result of using the Optimus dll to get the system up and running? I noticed that the folder is Generic components, I wonder if that's the problem.

3) Does anybody have suggestions for how I can fix the sensors.

It is entirely possible that the phone has broken hardware and that's one of the reasons the guy was selling it. I'm not sure. It's clear that the accelerometer is soldered on the mainboard so my only option is to replace that board. I can probably do this on the cheap by buying a cracked screen phone and using it for parts.

EDIT: It appears that the system won't boot if I run the .84 bootloader (4.3). Doesn't matter what rom version I use it won't load.
[Nexus 4 General] sordna:
Amazing guide Gigadroid, thank you so much for this!
[Nexus 4 General] RonFly:
Unbricked, but usb-storage only in debugging mode

Hello Gigadroid,

many thx for this awsome thread.

One think i still hang on:

Now, i got my baseband back and my Nexus 4 runs at 16Gb.

But when i connect my nexus to my pc (win7 x64) i can't connect/see the intern sd. Only if i connect with debugging mode on.

Is there something i can do?
[Nexus 4 General] Gigadroid:
If it's not working with another OS it's most likely a hardware issue..

The DLLs for the N4 and the Optimus G should be nearly or exactly the same.

But you can try the DLL for the N4 attached in the post above.
[Nexus 4 General] Gigadroid:
It's a bug of the universal ADB driver, had this problem also until I removed it :)
[Nexus 4 General] RonFly:
Thank you, will try it when ready with this.

I have a second problem.

I followed your descripion trough the mac and bluetooth settings.

Now, i have a fix mac but could not connect to my home wlan (wpa-psk, no mac filter)

following r/w settings:

/persist/wifi/

rwx r-x r-x root:root

/persist/wifi/.macaddr

rw- rw- --- wifi:wifi

The phone tries to connect to the wlan but stop only with "saved" not with connected.

any advise? :confused:
[Nexus 4 General] Galaxyfire:
Here the same problem
[Nexus 4 General] Gigadroid:
Could you connect before?
[Nexus 4 General] RonFly:
Hello Gigadroid,

yes, i could connect. I went back and it's working.

The Mac is changing again but its working.
[Nexus 4 General] bandit97:
So after messing with 4.4 roms the day they came out I have an issue with my MAC address. Its changes on every reboot. its always 11:22:33:xx:xx:xx where x changes.

I've tried Full Wipe, Factory Reset, Factory Image and different ROMS/Kernels its always the same thing.

Do you thing using this method would help?
[Nexus 4 General] CyrilBritto:
After installing everything, i get this error when i try to launch LGNPST.

fail to load the skin.dll

when u say start LGNPST, should i start LGNPST_CT or LGNPST_ACG??

please help.
[Nexus 4 General] marisbh:
I can´t download the LGNPST file from dropbox. Is it just here?
[Nexus 4 General] NABENDU1:
Mate Here is another download link

http://d-h.st/dNt

Kindly Hit the Thanks Button as a Token of Appreciation
[Nexus 4 General] NABENDU1:
Hey mate unistall the software completely. Now Extract the Zip to C:/ Root Directory and then reinstall the same. Hope it fixes your problems.

Revert in case of any problems.

Kindly hit the Thanks Button as a token of Appreciation
[Nexus 4 General] 00Justas:
After this can't connect to wi-fi, even when changed my mac adress
[Nexus 4 General] bandit97:
Man I was waiting for an answer and just went ahead and tried this.....................Big Mistake.

I was having my mac reset every time thought maybe this would fix it. Now my phone is messed up hard.

So what now?

I have to install the 16gb fix every time I install a rom?
[Nexus 4 General] Gigadroid:
There is something wrong with the fix because you're not the only one with problems.

But I can't see why it shouldn't working :/

What exactly is messed up?

If you only can't connect to WiFi then delete the things you added in the persist folder.

You don't need to do the 16gb fix everytime, one time and you're done.

MAC-Filter?
[Nexus 4 General] bandit97:
Well I seemed the make it better, but it was laggy and slow to boot. I was having ADB problems, and every time I tried to root it would just hang.

My phone was fine, just had a changing mac. Probably shouldnt even of used this method. :eek:

Appreciate the response.

Wifi seems to work good and the phone seems ok now though.
[Nexus 4 General] xanthrax:
[MENTION=4411844]Gigadroid[/MENTION]

how about to adapt your methods for nexus 5 ?

even there people started having issues like that
[Nexus 4 General] Gigadroid:
I'll look into that later today :D
[Nexus 4 General] CyrilBritto:
thanks for the reply.. i uninstalled everythin.. then reinstalled and restarted my system.. it created an icon on the desktop. if i click to open, the Missing Shortcut pop is displayed.

Windows is searching for LGNPST.exe. to locate the file yourself, click browse.
[Nexus 4 General] NABENDU1:
Hey its a quick fix but I have never tried it before. Open the extracted zip folder . Now Copy LGNPST_ACG.exe and transfer it to C:\LG Electronics\LGNPST . Now add a shortcut icon to the desktop and open from the LGNPST_ACG shortcut. Hope it works fine !!

Kindly Hit the Thanks Button as a Token of Appreciation
[Nexus 4 General] arunka:
i have used the same method on nexus 4, 8 GB version. the only difference being i am using factory image (to be flashed by fastboot) downloaded from google instead of mirror provided by you.

Also when LGNPST is done with flashing the device, it remains stuck in boot loop. i am continuing to fastboot directly by switching off from this point.
[Nexus 4 General] CyrilBritto:
thanks mate will try this method on monday. cuz i can do this only at the office. i gotta mac at home. in the meanwhile, if there is any fix for unknown baseband, imei on a mac, please do lemme know..
[Nexus 4 General] Gigadroid:
Okay, did some research and it looks like it's not that easy as doing this for the N4.

The N5 seems to be not that similar to the G2 as the N4 is to the G1.

I found the right TOT files but there are many DLLs for the G2, so someone needs to find out which one of them is compatible to the N5, also it could be that there isn't a compatible DLL for the N5.

The fact that I don't own a N5 doesn't make it easier :/

And if I found out which DLL is the right one, then I need to find the right GPT files for the different versions of the N5.

I began to wrote a new guide but it's such experimental that I think it's not worth to be released :(
[Nexus 4 General] xanthrax:
thanks pal, I don't own a n5 either, take your time :thumbup:

sent from my Darkside of Nexus 4
[Nexus 4 General] howard bamber:
Very interesting thread. I read for interest, rather than needing it, but got to thinking - is the imei no affected at all?

Sent by mobile telephone.
[Nexus 4 General] Gigadroid:
No it isn't, when you flash a wrong ROM the IMEI gets moved to somewhere where the system can't read it, but remains completly untouched.

When you use the LG NPST it does move it back so the system can read it.

Gesendet von meinem Nexus 4 mit Tapatalk
[Nexus 4 General] CyrilBritto:
i tried doing this.. but the system does not respond at all.. it behaves like as if i have clicked nothin at all.. im using XP.. is this a problem? please suggest. thank you.
[Nexus 4 General] NABENDU1:
Strange !! Bdw forgot to mention that many antivirus software detect LGNPST as a false positive !! What i can say is most probably your antivirus is blocking LGNPST from opening !! Try temporarily disabling ur AV and check the results or else check on another system !! I dunno whether it works on XP but mostly should !!

Kindly Hit the Thanks Button as a Token of Appreciation
[Nexus 4 General] SneakyGuyDavid:
i cant download LGNPST , the dropbox link is disabled ... OP you should try uploading to mediafire or something , can anyone upload LGNPST for me ?

EDIT: it works now
[Nexus 4 General] CyrilBritto:
i borrowed my friend's system. the tool opens. i connected phone and the phone did go to download mode. but my device was not listen in the tool. everything was disabled.. please help

EDIT: i used another USB port it worked. i completed everything said in the guide...after 87% my phone rebooted and it got stck in starting apps screen for a long time. so i switched off and went to boot loader and flashed factory zip. baseband and imei are still missing :(

i actually flashed the 4.2.2 stock image that i downloaded from google. is it 100% necessary that i must flash the flash factory.zip only?

its ok if i flash the 4.2.2 factory image from google right?
[Nexus 4 General] sordna:
Just wanted to mention that some folks have reported a way to unbrick their N5's without special tools, maybe it works on N4's too:

http://xdaforums.com/showthread.php?t=2521691&page=3

http://xdaforums.com/showpost.php?p=47420612&postcount=36

part of the trick is to have the phone plugged so it charges while you unbrick it, while holding both volume buttons down, anyway above threads have more details.
[Nexus 4 General] CyrilBritto:
I tried out this method.. but the imei and baseband are still missing for me :(
[Nexus 4 General] puncha1580:
[MENTION=4411844]Gigadroid[/MENTION], thank you so very much..... Your guide saved me my day...... Ensuring that lgnpst restarts the phone at 67% is just awesome detail..... I am so very happy after I got my phone back to normal.... Also thanks to rockstar 600 for his timely guidance to this thread!!! You guys are purely AWESOME!!!!
[Nexus 4 General] opssemnik:
some1 pls re upload the lgnpst, i get errors with others lgnpst(could not load model dll :/).
[Nexus 4 General] Gigadroid:
But doesn't look like it would solve problems with baseband..someone here to try it?

There are already two links to the LGNPST and I think this would not solve your problem.

Maybe you forgot this step: Type: regsvr32 "C:\LG Electronics\LGNPST\Models\LGNPST_LS970.dll"
[Nexus 4 General] bustem:
Help

Hi:>

I was going to flash 4.4 with CWM and got an error. I first flashed the new bootloader, radio and then the Rom. Since then Im trying to find a solution. Now my phone is stuck at the google splash screen. I can access Bootloader and CWM recovery, I have no other Rom on the phone but when I try to flash the Image with fastboot it wont recognize my phone. Ive flashed twice with fastboot so I should have the correct drivers etc.?

I dont know what to do :(
[Nexus 4 General] Gigadroid:
Already flashed with LGNPST?
[Nexus 4 General] bustem:
no not yet, I forgot to ask. Does this method wipe the data like pics, musik?
[Nexus 4 General] opssemnik:
i only see one in OP, and its not that dll, when i tried to recovery my lg l5 it did the same error with other lgnpst, i just needed to change the lgnpst to one that a guy posted in lg l5 fórum and it worked, i didnt even need to register new dll just use the new exe.
[Nexus 4 General] Gigadroid:
It's so long ago I can't really remember..I think it does
[Nexus 4 General] sordna:
What you can try in this case is boot into recovery, clean cache and dalvik, and reboot.

Note you may still see a delay in the Google logo, give it a full 10 minutes, patience is definitely a virtue here but it should move forward after that.
[Nexus 4 General] jblack248:
I have the unknown IMEI and baseband problem that I've seen a number of people have without resolution. While I appreciate the efforts made here, I am including myself in the group that this unbricking method did not work for. For the sake of hoping to save other people time, I'm going to write out my experiences with this problem so far.

I was running CM 10.2 nightly 20131114 without issue when after a reboot my phone bootlooped on the starting animation. I've had errors on nightlies before, so I did the normal routine of fixes. I tried everything from restoring nandroid backups, flashing newer and older radios, doing a fresh install of a known working CM build, then wiped the entire device and tried flashing factory images for 4.4 and 4.3. None of these got the device to boot. Based on a recommendation I went back to the 4.2 factory image and had some luck, but it took a very long time to boot and had an unknown IMEI and baseband. It took a very long time to boot with or without the SIM card.

At this point I tried the unbrick method listed here, and when I restored the factory image I had the exact same problem. I applied the 16 GB fix, but since I'm going to give up for the RMA long-haul I'm not even bothering with the MAC address fixes. I'm restoring to the 4.2 factory image and locking the bootloader so I can send this device back to Google / LG.

I haven't seen anyone recover from the unknown IMEI and baseband problem, and it's scary because it happens for no reason on both stock and custom ROMs. I really like my Nexus 4, but it's going to be hard to trust whatever replacement I get (if any) from Google / LG.
[Nexus 4 General] ricardo.lindon:
My situation is exact the same as yours, jblack248... (sorry for my poor english). But I need to register a big thanks to Gigadroid! Thank you!

Given the big number of N4 with this "no IMEI" problem, I think my next Nexus won't be made by LG... LOL!
[Nexus 4 General] alexfresh16:
Like a lot of you, i've my phone stuck on the X screen. To fix this, i tried to use a different rom, move to 4.3, even 4.4. Then, i put 4.2.2, i could use the phone, everything was working, except the phone function, i can't call, or send a text.

I tried your method, it's exactly the same as before, i can start my phone, use it with wifi, but there is no signal, it doesn't detect my sim card, and there is no baseband, and no imei.

I saw that the root of this problem was for people who bought their phones in a country, and used it in another one. And actually, i did that, bought in UK 2 month ago, used in France.

For some people, they just have to wait, and this problem disappeared ...

So, i wait ...
[Nexus 4 General] jblack248:
I heard the country localization reasoning as well. However, I bought mine in the US and only used it in the US with one SIM card. Maybe mine came from stock meant for another country, who knows. I have a suspicion we're finding out the hard way why the Nexus 4 was sold so cheaply.
[Nexus 4 General] hutch911j:
Can not get CMD to work.

I am going to loose my mind!! I have gone through all the steps to restore my 16GB. I can't get the CMD to open in the folder when I CTRL+Right Click. Please help!!
[Nexus 4 General] gialakias:
It is Shift+right click.
[Nexus 4 General] hutch911j:
THANK YOU

I have been trying to get this done for over a week. With a busy work schedule and random drunken rage.. Thank you so much!!
[Nexus 4 General] drharisis:
I accidentally flashed wrong bootloader and I cannot acess download mode in oway...Some help???
[Nexus 4 General] Rockstar600:
Get into the fastboot, flash the bootloader for MAKO. You can extract it from the factory image.
[Nexus 4 General] efrant:
If he has flashed a non-mako bootloader, then I highly doubt he'll be able to boot into fastboot mode...
[Nexus 4 General] Wadoline:
Hi!

What difference there is between LG flash tools and fastboot method?

I can't upgrade my nexus 4 to 4.3 or 4.4 (stuck on x logo) and maybe the LG flash tools could help me?

You can see my problem here

http://xdaforums.com/showthread.php?t=2529450
[Nexus 4 General] drharisis:
When connecting to pc and holding down volume keys, I just get a red light which switches off...no fastboot mode..(I flashed by mistake a bootloader for nexus 7)...Wat should i try??Is there any method for load fastboot when connecting to pc??thanks for helping
[Nexus 4 General] Rockstar600:
Oh alright, I wasn't aware of it. Thank you, Sir.
[Nexus 4 General] drharisis:
Something I could try,,,please??

---------- Post added at 03:36 PM ---------- Previous post was at 03:05 PM ----------

can somehow flash fastboot img somehow via pc?
[Nexus 4 General] PN.ItalyGirl:
Your PC can see your phone???

On eBay I found an engineering sample with a "Repair EFS" program, where can I download it?

Thanks!
[Nexus 4 General] AndreyVilella:
ubuntu one link of LGNPST is not working, please is there any mirror for it?, ah, and my nexus 4 does not want to flash too (got theLGNPST elsewhere) do not know if it was or because someone knows it can be? ...
[Nexus 4 General] N4Newbie:
And waht about if i got damaged the bootloader exists a solution for force the Nexus 4 enter in Download mode without JIG/JTAG/RIFF Box???

Thanks any help would be appreciated :crying:
[Nexus 4 General] Dany-69:
Guys, the bootloader is the ONLY part of your device that should NEVER NEVER be touched by the user.

The only way you should flash the bootloader is through the factory image, copying the fastboot files (an exe and a couple of dll) in the directory of the factory image and executing the "flashall.bat".

You should ALWAYS follow this rule.

BTW, you have no way to flash the bootloader if you're not able to join the fastboot mode or at least the download mode.

Expecially if you have flashed the bootlader of a device with a different brand, there is no way to do that because every OEM (and even every device, but in this case there could be a hope) use a different partition table.....

The only way i know is through an expensive and notsoeasy procedure with the RIFFbox that overwrite the right sectors with the stock bootloader, working directly on the NAND of the device.

Something like this:

https://www.youtube.com/watch?v=gYtNWt1h66E
[Nexus 4 General] sinopitt:
same problem, and I noticed that the port shown in the LGPST is COM5 and you got COM4. I tried to change it to COM4 but failed.
[Nexus 4 General] hosein_824:
thanx man.

thanx.

i really , really preciate.
[Nexus 4 General] titmus:
I am trying to rectify the 8GB problem. (I am a relative newbie at this kind of thing)

When I get to this bit:

I have a few extra lines.

Any advice?​
[Nexus 4 General] titmus:
Ok, i'm alright till the next bit, when I keep getting "invalid arguments"
[Nexus 4 General] pogi1100:
Any chance of getting this working on the Nexus 5?
[Nexus 4 General] Dany-69:
[SPECULATION MODE ON]

I think this guide can be a good hint to create one for unbricking the N5.

But you need ...

1) a dll compatible with lgnpst ... for the N4 we've used a dll for the Optimus g..

Maybe for the N5 is possibile to use something for the G2.

You should follow the G2 section and see how similar the two devices are, expecially about the partition table.

2) a .bin image of the whole nand..

For the N4 we have been lucky because a developer has licked (a bit "illegally" for what i know, because they can virtually be used only by the service center ) a couple of images last year...

Without the bin and the dll, there is no way to unbrick the N5 :/

After obtaining these things, a couple of minor modifications in the guide should allow you to restore your phone.
[Nexus 4 General] Gigadroid:
As I explained earlier the N5 and the G2 seem to be not that similar as you may think..

Also there are many different DLLs for the G2 out there and for the G1 we had only one or two.

This fact doesn't make it easier.

I think I saw TOT files for the N5 somewhere but I can't remember where

Gesendet von meinem Nexus 4 mit Tapatalk