yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] Dan1234567890:
Yes, it is great guide, jut some links are outdated (like SuperSU, radio, etc...) but by searching xda you can find the latest versions...
[Nexus 4 General] mxfaint:
partition table doesnot exist

i'm trying to flash,flash-all.bat from stock rom of nexus 4

but it is saying

writing 'bootloader'...

FAILED <remoteartition table doesn't exist>

finished

please can any one help me
[Nexus 4 General] nitin.chobhe:
Are you flashing using a Mac?
[Nexus 4 General] mxfaint:
no sir,windows
[Nexus 4 General] nitin.chobhe:
I googled your issue and found that someone was taught same error and that was because that he was trying it on Mac.

Have you tried it on other PC?
[Nexus 4 General] mxfaint:
no sir
[Nexus 4 General] nitin.chobhe:
Can you give following details:

Phone model:

ROM:

Recovery:

I saw your reply in one of the threads that you have LG Optimus and not nexus 4 :confused:
[Nexus 4 General] mxfaint:
yes sir i thought both r same

---------- Post added at 08:19 AM ---------- Previous post was at 08:11 AM ----------

now i came to know that in bootloader recovery partition and boot partition erased how to over come this problem..

---------- Post added at 08:28 AM ---------- Previous post was at 08:19 AM ----------

mode

sir, please take details

phone model:lg optimus g e(975)

but now showing on bootloader

product name:mako

sir actually now i'm only in bootloader i''m not using any recovery or rom .
[Nexus 4 General] atulclassic:
how can you flash mako bootloader on optimus e975??

you are lucky enough your device still booting into bootloader..now get the bootloader for optimus e975 and forget about mako
[Nexus 4 General] mxfaint:
ok sir but how to do tht can you please tell me
[Nexus 4 General] efrant:
You have written over your partition table by flashing a bootloader that was not meant for your device. I doubt anyone in the N4 forum has experience with an E975, which is completely different than an N4. You should ask in that device forum, not here. This section is for the N4.
[Nexus 4 General] atulclassic:
this could be your answer

http://xdaforums.com/showthread.php?t=2784649
[Nexus 4 General] mcabre:
My Nexus boots into Fastboot mode after failed wiping procedure. I've tried reviving it with method from the first post, but unfortunately after step D5 I receive message:

D:\TEMP\lastofus> fastboot flash bootloader bootloader-mako-makoz30f.img

sending 'bootloader' (2264 KB)...

FAILED (data transfer failure (Unknown error))

finished. total time: 0.006s

Is there anything I can do with this issue or do I have to visit LG service.

Regards
[Nexus 4 General] efrant:
Skip flashing the bootloader and radio. Try just system and boot.

And make sure: you are using the latest fastboot.exe file (the one linked in the OP is old) and that you are using a good USB cable.
[Nexus 4 General] Matty#Vibes:
Hello "efrant",

You will have to excuse my ignorance, this is the first time I have participated in a thread in XDA. So I'm not sure of the etiquette yet.

I have been doing a lot of research into how to best root my Nexus 4. This will be my first time ever. So I've delved extremely deep into XDA and watched many clips on You Tube to gain more knowledge before I embark on such a project. Obviously I have come across this fantastic thread that you have created. I really like the idea of rooting manually so that I learn all the steps in detail, and learn it all properly. A lot of people on G+ have encouraged me to go in the tool kit direction. But after reading your instructions, and attached "rant", I totally agree with you. I'm not the type to cut corners (toolkits are fine and I will use them once I know how to root properly) and would just like to methodically go through the whole procedure carefully, and in my own time and hopefully get it right the first time. So my reason for contacting you was to ask about my Nexus 4. It's now running Lollipop 5.0.1. I noticed that your instructions were written back in 2012. Can I follow your detailed instructions whilst now being on 5.0.1. with success in 2015 ?

Sincerely Matty
[Nexus 4 General] saenanme:
I've used this method three times (4.4.4, 5.0 and 5.0.1) with no issues. Of course, after first time in no more necessary to unlock the bootloader.

The rest of the instructions works fine.

Regards
[Nexus 4 General] efrant:
The only thing I would do different is: use the updated version of fastboot.exe (rather than the one I have attached in the first post) and use the updated version of SuperSU.
[Nexus 4 General] Matty#Vibes:
Thank you very much saenanme

---------- Post added at 02:57 AM ---------- Previous post was at 02:48 AM ----------

Fantastic, many thanks efrant.

Is it ok to "not" be flashing a Stock ROM with this method ? Can I do this with Chroma for example ?

Cheers Matty
[Nexus 4 General] efrant:
Most non-stock ROMs come in a "flashable zip" format, not in an image format. So, no, this method is to flash images. To flash a "flashable zip", you need to flash a custom recovery like TWRP and then flash the zip using that.
[Nexus 4 General] jokermithun:
Hello masters

I'm trying to sideload 5.1 zip but adb shows no device found....Which drivers shall I download to Sideload stock ROM ota:confused: zip
[Nexus 4 General] dhanmohan:
Try universal drivers bro.. Check first post of this thread there are some links for drivers.. Try them or install nexus root toolkit in PC and try sideload with that
[Nexus 4 General] jokermithun:
Tried man

Downloaded latest SDK tool too:confused:

---------- Post added at 08:18 PM ---------- Previous post was at 08:18 PM ----------

Actually I'm scared to use root tool kits
[Nexus 4 General] shawnbrennan55:
I believe I had to use the driver from this site for ADB / Fastboot to work with my N4 with Windows. You may also want to try Linux.

http://developer.android.com/sdk/win-usb.html
[Nexus 4 General] jokermithun:
Tried those too:thumbup: but same problem
[Nexus 4 General] dhanmohan:
I used nexus root toolkit.. Everything was fine for me though
[Nexus 4 General] Vixx1120:
Flash Write Failure

Hi Guys,

First, I just wanna say, kudos to the creator of a very wonderful guide. Hopefully, you can provide assistance to all nexus4 users out there....Including me.

I read the the entire post to see if i can resolve the issue i have with my nexus 4. But to no avail. The Error i receive is " Flash Write Failure". I read a post here with the similar problem like mine. but I guess his/her questions were not resolved. so here is what I did / got...

Using fastboot v21:

- tried "fastboot devices" and showed id (alpha numeric)

- tried "fastboot oem unlock" -successful

- tried reseting boot loader - successful but the bootloader state returns to "locked" state.

- tried unlocking then skipping reseting bootloader and directly flashing bootloader - unsuccessful (Flash Write Failure)

- tried all of the said process above while transferring to different usb ports - unsuccessful.

- tried all of the said process above while transferring to different pc - unsuccessful.

I just again tried recovery mode (default) reset cache / format wipe or factory reset ... and i receive the said error

- "cant mount /cache/recovery/log"

-"cant open /cache/recovery/log"

-"failed to mount / cache(invalid argument)

also tried flash-all and results still the same.

Note that i installed the drivers and used the platform tools-v21.

I also got the nexus 4 and already in the bootloop state (got it from a friend). what happened was it suddendly just restarted and went on bootloop.

I hope you can help me with this issue. Any suggestions are welcome. we cant return/warranty the phone because it will cost more.

Hope to here from you kind guys/gals. Thanks in Advance
[Nexus 4 General] Matty#Vibes:
Thanks efrant, I'm slowly working this all out. Appreciate your help, you haven't heard the last from this n00bie ;)
[Nexus 4 General] Warbuff:
Tip for those upgrading without flashing via factory image. After you flash cache.img boot into your custom recovery of choice and wipe the cache partition. Otherwise you're going to be stuck on the lollipop circles for a long time. This is specific to nexus 4.
[Nexus 4 General] saenanme:
Used again to update to 5.1

I have re-installed the drives because adb didn't recognize my device

After this, I have followed step D except points 10 (no new userdata) and 12 (I don't want to change my twrp recovery)

That's all

Regards

Edit: Finally I need to reflash recovery (I don't know why) and I have fc problems with gapps .
[Nexus 4 General] mdaamir1989:
Hello Guys ,

Where can i find the updated version of fastboot ?

Will i run into problems if i use the old version of fastboot which is attached in the First post ?
[Nexus 4 General] miksontije:
in last sdk tools

you dont need all files from it,only these 4
[Nexus 4 General] mdaamir1989:
Thanks a lot buddy , flashed the factory image successfully :)
[Nexus 4 General] mlotson:
Hello guys, i'm having a problem ;f

I was on cm12 nightly when i decided to reboot my device after few days of running, strange thing happend and i ended up in bootloop.

I've downloaded 4.4.2/4.4.4/5.0.1 stock images and tried to flash it guided by the instructions in this thread, however i still get a bootloop, even after clean installation, even after wiping cache and doing a factory reset.. I've managed to boot up my device twice since yesterday, after getting stock image to work i pushed cm12 and gapps on my phone and flashed them.

At the first try, i got bootloop again, so i decided to go through the whole process again, many attempts later i've managed to boot up my device again, and again i decided to flash cm12 and gapps, this time my device booted up properly so i wanted to gain root access, in order to do so I flashed UPDATE-SuperSU.zip file and as a result end up in bootloop again.. I have no idea wtf is wrong with my nexus. I am still trying to flash factory image, and i always end up with bootloop.. I'm out of ideas here, HALP! ;(

[MENTION=1110248]update[/MENTION]:

I have uninstalled all drivers, and mount my device to another usb port, then with NRT i installed google's drivers, by using nrt i have flashed 5.0.1 factory image, rebooted into recovery and wiped/factory reset, after that i rebooted my device and still no luck - hanging on floating dots for 15 minutes..

Before all of this I tried formatting my cache to FAT and to sdf4 and it didn't help, I literally tried every single instruction i could've found ;/

What's wired is that when i encountered bootloop yesterday and wiped/factory reset i booted fine, after restart it went into bootloop again, so i thought i would wipe/factory reset again i'll be good to go, but.. it didn't help this time oO

Thx in advance for your help..
[Nexus 4 General] jokermithun:
Can i apply same instructions as stated in OP to unlock my N5:o

Sent from my Nexus 4
[Nexus 4 General] efrant:
Yes
[Nexus 4 General] spicediablo:
After fastboot flash twrp, my phone keeps booting into twrp... Anybody knows how to fix this? I can't boot into android now...

When i try to reboot the recovery, it goes into the android with a red exclamation mark(stock recovery)...

Update:solved by re-doing the steps. After flashing recovery, I pulled out the USB connection and flash su using twrp. No problems after that. Twrp also stays after reboot
[Nexus 4 General] sl33py13:
No bootloader or radio in latest KitKat image?

Thanks for making such a great guide efrant. I've used it on an N5, now I want to put a N4 back to stock 4.4.4. When I download the image from Google ( occam-ktu84p-factory-b6ac3ad6.tgz ), it doesn't include a bootloader.img or a radio.img to use in your steps. What should I do? I've found various bootloaders and radio images online but don't know which I need.

Thanks in advance for any help, anyone :)
[Nexus 4 General] efrant:
Are you positive there are no bootloader and radio images in the file? Last time I downloaded it, they were there...
[Nexus 4 General] Stevica Smederevac:
They are there,i flashed kitkat yesterday.
[Nexus 4 General] muzaffarkhan95:
when m flashing 5.1.1 factory image on my nexus 4, it says ERROR : UPDATE PACKAGE MISSING SYSTEM.IMG .......then it says press any key to exit :/ what shud i do???
[Nexus 4 General] Stevica Smederevac:
First thing to is to unzip downloaded img file and see what's inside.

It should be 6 files,if i remember correctly.
[Nexus 4 General] muzaffarkhan95:
yes there are 6 files!!

1. bootloader-mako-makoz30f

2. flash-all

3. flash-all.sh

4.flash-base.sh

5.image-occam-lmy47v

6.radio-mako-m9615a-cefwmazm-2.0.1701.07
[Nexus 4 General] saenanme:
Uncompress the file #5, it is a zip file. It has the rest of the img files

Regards,
[Nexus 4 General] muzaffarkhan95:
tried that too still same problem :/
[Nexus 4 General] Stevica Smederevac:
Try to download again or try 5.1.0.
[Nexus 4 General] efrant:
Make sure all the files from the zip are in the main folder with the bootloader image and radio image and fastboot.exe, NOT is a subfolder.

EDIT: and make sure you are using the latest version of fastboot (http://xdaforums.com/attachment.php?attachmentid=3227867&d=1427252521)
[Nexus 4 General] bladebuddy:
Just to add if you copy & paste the files to you're home screen or desktop then (cd desktop) puts you in the right directory to just run the flash all sh, just remember to remove the flash-all.bat file. If using Linux e.g the command would be .... cd Desktop , followed by sh flash-all.sh

Don't use windows but removing the flash-all.sh and flashing the bat file would have the same affect.

When in bootloader mode and running the command fastboot devices, is your device showing.

I prefer to do it this way instead of the platform tools folder or any sub folder as I can just delete the copied files from my desktop whilst leaving the original files where I decide to store them , I am a little OCD.
[Nexus 4 General] hellboyborn:
Hello guys,

Today Nexus 4 got into some problem and I am not able to resolve the issue. I followed the guide and flashed it with latest stock image yet it is not getting ahead of the boot animation logo. Is there anything else I could do?

Did format cache and factory reset as well using stock recovery still no use.

Tried 4.4 did not work. Flashed 4.2.2 worked :D. So what could be the problem?

Tried Wug's tool as well, did not work. Checked with modified recovery after clearing cache, did not work. Anything else I could try or will I have to use Nexus with outdated OS :crying:

Please help it was working fine with L and some update happened and after this these problem got started.
[Nexus 4 General] leo_ng:
Pls help me~

Could u mind tell me how can u find the right code was "fastboot -c "lge.kcal=0|0|0|x" boot customrecovery.img" ?

Whats is "lge.kcal=0|0|0|x" mean? Coz i must get info my Xperia T2 to backup data~~~I hope can find the right fastboot boot code for it~

THZ a lot~^^
[Nexus 4 General] oscarmiranda90:
somehow my Nexus 4 works for 3 days and the apps begin to collapse the phone restarts and never wakes up from initial animation the one with color little balls lol... wth with that? ive done everything i can!
[Nexus 4 General] billy_overheat:
Managed to get in bootloader or recovery? Try that perhaps?
[Nexus 4 General] oscarmiranda90:
Yup, get into recovery, wipe cache, factor y reset but nothing works! Only reflashing the ROM vía fastboot

PD: all these problema began when i changed the charge port, microphone Flex
[Nexus 4 General] XxMikeMasterxX:
Help with USB Cable Charging as AC

HI all,

Firstly I love these forums and you all rock and are the friendliest bunch of dudes and ladies (and others) I've seen on an online forum.

I have a quick question about getting NRT to recognize my N4, which has very little to do with NRT but rather what I believe to be the firmware (perhaps Android version) itself. Whenever I plug my USB cable into various USB ports, the phone appears as charging in AC mode - always. I used to have a kernel that allowed for USB fast charge, which I enabled, but I have since factory reset my phone three times (back to 4.3, JWR66Y), tried USB Host Diagnostics by ChainFire, and reloaded the stock configurations for kernel, radio, and system image. I am completely stumped and have no clue what to do. I have tried many different cables and software configurations to no avail. I would appreciate any and all guidance with this as it has certainly caused me undue hardship. I might just throw in the towel and get a Moto X Play.

Currently I`m using faux123`s kernel on 4.3, stock system, stock radio, TWRP 2.7.1.0. I have tried everything stock except the recovery. I worry that if I format the data on my SD card it will leave me without a solution and all of my data, which would be a large spoon of salt in the wound.

I'm willing to try anything to get my computer talking to my phone again. Maybe they had a weird fling one night while I was sleeping and now it's awkward so the phone just charges as AC to ignore my computers calls...

Thanks again, all,

--Mike
[Nexus 4 General] audit13:
When you connect the phone to a computer, you can't change from charge-only mode to MTP or storage?
[Nexus 4 General] XxMikeMasterxX:
Hey audit,

Yeah I have changed the setting (Stoage > ... > MTP/Camera) to no avail. I have played with USB debugging (toggled on and off) and also tried different cables, ports, etc. The charging block looks properly aligned and it's clean.

Is there a value in some system setting I can change or something? Maybe when I enabled fast charge through one of the kernels it somehow permanently changed the value, even after properly recongifuring the kernel/ROM...

Thanks for your reply, audit! I appreciate it.
[Nexus 4 General] audit13:
All I can suggest is flashing back to a completely stock ROM and connect to the computer to see if it makes a difference. It if doesn't, it's possible there is a hardware problem.

Was the phone dropped and suffer any type of mishap?

Tried different USB cables, computers, and operating systems?
[Nexus 4 General] XxMikeMasterxX:
I will try to flash back to a completely stock rom, although my factory resets should have done the trick. Same with the backup I restored - completely stock there, too.

No damage or mishaps whatsoever. I had to get the screen fixed recently so maybe they accidentally singed the battery or something, but I feel like the problem existed before the screen replacement. Do you think maybe the battery has somehow gone kaput?

Yeah - different cables, different OSes, different ****in' everything - same phone. :P

What do you think of the Moto X Play? :)
[Nexus 4 General] audit13:
Maybe the phone was not properly reassembled? You could open up the back of the phone and check the connections to ensure they are secure.
[Nexus 4 General] XxMikeMasterxX:
I'll definitely do a little surgery this weekend. I'll watch some online vids for the disassembly procedure and report back for any others who are having the same problem.

Thanks for spending some time helping me, audit - appreciate your feedback.
[Nexus 4 General] audit13:
No worries. We're all here to help and learn from one another.

Opening the back is easy, just take your time and don't pry too hard to too deep when removing the back cover.
[Nexus 4 General] XxMikeMasterxX:
You're turning me on with this too hard and too deep stuff. Whoever knew opening the back of a phone could be so...

(•_•)

( •_•)>⌐■-■

(⌐■_■)

...umm...

...
[Nexus 4 General] bladebuddy:
You will need to use the device manager and delete all conflicting drivers from your P.C.
[Nexus 4 General] XxMikeMasterxX:
Hey blade,

Thanks for your reply. I will certainly do so. I found a good deal on a new Moto X play so I've been performing some surgery on that today and have left my N4 aside. She'll get 'er share tomorrow.
[Nexus 4 General] bladebuddy:
You could always run Ubuntu off a pen drive and install the sdk e.t.c. My old machine had problems with the n4 driver but it worked fine on Ubuntu. Simple to install and use. Lots of help online also.
[Nexus 4 General] gd6noob:
I followed the steps to return back to stock, now my N4 is bootloop'in on the spinning 4 circle logo

Tried it a few times and still not luck... any help?
[Nexus 4 General] nitin.chobhe:
How long did you wait? First boot takes time - wait for 15-20 minutes
[Nexus 4 General] efrant:
Reboot to the bootloader, and type:

fastboot format cache
fastboot reboot

If that doesn't work, try the following:

fastboot format cache
fastboot format userdata
fastboot reboot
[Nexus 4 General] gd6noob:
got it.. thanks all...
[Nexus 4 General] josephpatrick:
help required

does anyone have any idea on the following post

http://xdaforums.com/nexus-4/help/help-please-nexus-4-booting-past-t3347201

thks in advance
[Nexus 4 General] efrant:
Did you try what is stated in post #1974?
[Nexus 4 General] josephpatrick:
yes, i did, but will try again using adb...was able to finally get into the rom but only a 4.2.2 base ROM in which wireless, etc. not working.....have tried with both factory based roms as well as custom

if Jellybean ROM loads, has it got something to do with bootloader or radio or kernel or something else.
[Nexus 4 General] efrant:
I would follow the steps in the first post and flash the complete factory image from Google. That should solve any software issues you have.
[Nexus 4 General] josephpatrick:
tried using nexus toolkit for 4.2.2 factory image and wifi also seems to work fine.

now going to try 5.1.1 version using the same method

strangely none of the recent custom rom's have worked...really weird

Update: nothing other than 4.2.2 factory image worked, not even 5.1.1 factor image worked, stuck at bootscreen, finally gave up hope, switched back to 4.2.2 factory and returned back the phone to my friend.

Thanks for all your inputs
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] pre4speed:
I saw there was a thread in the Note 10.1 forum for this and they seem to get lots of codes so I wanted to start one here in the hope of sharing codes for people. I got 3 codes in the mail today for 35% off a warranty. Stipulations: no more than $35 off, not valid on ebay purchases, each code can only be used once and can only be added within 30 days of purchase. These codes are valid November 23 2012-January 13, 2013. U.S. residents only.

17B8TK9Z048

17B9DBX5053

17BBB6Qo05X

It you use any of these codes, please state which one so others know not to try to use it again.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Datron:
This is a great idea. I received those three codes via snail mail, too. I'll try to find them. I also get emailed codes every week or two.

Did you guys know squaretrade pays referral bonuses? I got my bro to buy a warranty and they sent $10 via PayPal. Nice.

I've had a good experience with the company so far. Their service is fast and painless. Even considering they mailed me some old lady's phone once, I still think they do good work.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] evolishesh:
"17BBB6Qo05X" this is the code I used. Thanks!
[Samsung Galaxy Mini] ajen:
I am wanting to help developers of CM10 or AOKP rom JB, I have much knowledge in software programming, use GNU / Linux, but as I can not provide assistance, because they just want to be tester, also want to help them develop and correct problems.

I hope you can help me with this question, and I thank you from
[Samsung Galaxy Mini] F4uzan:
Can you do a repo sync ?

Can you build source ?

What OS are you using ? (If it's GNU / Linux, then what distro are you ? )

Hope you answer all my question !
[Samsung Galaxy Mini] ajen:
I'm using Debian Testing (Wheezy) to synchronize it was not very good, but I would like to learn it better.

Building source on that language?

Thank you very much for responding!
[Samsung Galaxy Mini] F4uzan:
Let's see ... Wheezy = 47% Good

Good.. i think you can help dev.

Also what programming language can you do? (Java, Perl, etc ? )
[Samsung Galaxy Mini] ajen:
For use Java, C, PHP, HTML, started with python but I have to keep still learning, mysql, those are the ones I use and use until
[Samsung Galaxy Mini] F4uzan:
You can help dev ! Cause Java are mostly needed to do it.