yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] jd1639:
I wouldn't worry about backing up at this point
[Nexus 5 Q&A, Help & Troubleshooting] minerva330:
still a noob

Sorry, I misunderstood your previous statement.

I have no back-up to restore (don't even get me started, I am quite ashamed)
[Nexus 5 Q&A, Help & Troubleshooting] jd1639:
Dude, your kidding me. You have a custom recovery and no backup. It would have made your life so easy. Now you'll have to flash the factory image
[Nexus 5 Q&A, Help & Troubleshooting] minerva330:
truly ashamed

I know...that one time I don't (not one of my better moments). It's a new phone. I have done this a hundred times before

I have the factory image on my computer but I can't get it to push to my phone. My ADB driver are installed but my phone wont mount from the USB in TWRP.
[Nexus 5 Q&A, Help & Troubleshooting] jd1639:
Boot into boot loader and use the flash-all.bat that's inside the factory image. Unzip it using 7-zip. You'll see it in there. Boot into bootloader, plug your usb cable in and run the bat file

Edit, you'll lose everything on your phone
[Nexus 5 Q&A, Help & Troubleshooting] minerva330:
How can I unzip a file from the factory image on my phone if it is on desktop? Am I missing something (thanks for tolerating this)?

At this point I could care less about loosing any apps, data, or pics,
[Nexus 5 Q&A, Help & Troubleshooting] jd1639:
You need the factory image on your pc. You'll run the bat file from the pc. Google nexus 5 factory binaries.
[Nexus 5 Q&A, Help & Troubleshooting] minerva330:
All right I will try this now. If it works I owe you beer, someway,somehow.

---------- Post added at 03:23 AM ---------- Previous post was at 03:05 AM ----------

I unzipped the factory image but there was no Flash all bat

there were three flash all files

flash-all

flash-all.sh

flash-base.sh

I exucuted the flash all because it was the only one that is a batch file but i got an error saying that fastboot is not recognized
[Nexus 5 Q&A, Help & Troubleshooting] jd1639:
Looks like you don't have adb/fastboot set up follow this guide http://xdaforums.com/showthread.php?p=47156064
[Nexus 5 Q&A, Help & Troubleshooting] minerva330:
Don't understand how that could be considering I have already unlocked the bootloader and installed TWRP but I will redo it, regardless. Thanks for your help. Hopefully no more snags. Also made a mistake that I will never repeat again

---------- Post added at 04:14 AM ---------- Previous post was at 03:36 AM ----------

Thanks worked like a charm. The issue was the adb files were not executable. Feel like a tool but I am grateful for the knowledge. Thanks again
[Nexus 5 Q&A, Help & Troubleshooting] cirsnake:
help

i have the same problem but whit a moto x

please help i really need somthing to flahs in fastboot
[Nexus 5 Q&A, Help & Troubleshooting] jd1639:
Wrong forum. Goto the Moto x forum
[Nexus 5 Q&A, Help & Troubleshooting] khymburlie:
Similar issue, but far worse state

Hopefully someone is still checking this thread... Basically, I installed a Slim Rom about a week ago (Slimkat Hammerhead 4.4). Everything was fine until my phone rebooted on it's own yesterday evening out of the blue. Didn't think it was a big deal... until it didn't stop. I couldn't get the phone to stay up long enough to get anywhere to restore or uninstall the ROM and the battery was draining fast. I left it plugged in and left it for a while and I was finally able to keep it up long enough to get the phone to a restore point from before the ROM was installed. It came back up, but was still acting funky and rebooting randomly. I left it overnight hoping to let it charge enough to do a factory reset. I attempted this again this am and was able to get into recovery (TWRP) and did a factory reset and formatted. Tried to reboot and got No OS installed... Before I could Google a fix or try anything else, the phone rebooted again. It now won't get past the very first white Google with the unlock icon. When I try to get into boot loader, the screen will pop up for a second and then shut down and boot back to Google. If I jiggle the power button I can get it to just sit at the Google screen and stay on, but as soon as I try to force it into recovery it starts all over. I have the WugFresh toolkit and when connected to my PC, the drivers are installed and the toolkit recognized that the TWRP needed to be updated and downloaded the update. If anyone can tell me how to push stock FW to my phone from my PC without getting into bootloader mode it would be greatly appreciated. I just want to get it back to stock if at all possible so that I may be able to get Google to swap my device (Again ><). Thank you!
[Nexus 5 Q&A, Help & Troubleshooting] GUGUITOMTG4:
Hi, what you want to do is on the 1st page of this thread. but I think that your phone has hardware issue around the power button that keeps it internally pressed
[Nexus 5 Q&A, Help & Troubleshooting] khymburlie:
That's what I was thinking. I guess I don't understand what those options that were given on the first page meant then. Not sure how to force push anything if I can't get the phone into the bootloader status?
[Nexus 5 Q&A, Help & Troubleshooting] GUGUITOMTG4:
Yep they are confusing at the beginning. If you cant get it to fastboot, the option left is to put it on recovery mode and push a rom from the computer to the storage using ADB.

You need phone to be listed as ADB... on device manager while it's on TWRP.

you put the rom in your ADB folder, open CMD on that folder and do type the following command "adb push Rom.zip /sdcard"

Note that Rom.zip should be replaced with the name of the Rom that you are pushing. After that, you will have the Rom in the storage ready to be flashed.
[Nexus 5 Q&A, Help & Troubleshooting] khymburlie:
Ok I think I know what you mean about it showing up as ADB under Device manager (I had an issue where I couldn't get it to stop showing as ADB while I was trying to root another phone). However, What's the difference between fastboot and recovery? The only screen I can get to stat consistently on is the very first white Google logo with the tiny unlock icon.

EDIT: My phone is listed as Google Nexus ADB Interface on my Device Manager on my PC. Not sure how to open it past that point however to get the files on there. Is that where the ADB Installer comes in handy?
[Nexus 5 Q&A, Help & Troubleshooting] GUGUITOMTG4:
Fastboot if the option on the bootloader that allows to manage/flash partitions and images via USB from the computer. Its useful for unlocking the bootloader to flash a factory images and recovery image such as (TWRP, CWM, PHILZ. ETC..) Then, You boot into recovery (TWRP in your case) and flash Kernel, Roms, apps/mods to the Rom etc..

This guide explains how to flash factory images via fastboot http://xdaforums.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701

I suppose that you rooted your phone using toolkits and that's why you are into confusion.

look into the first 3-4 threads on the GENERAL section to learn more handy

stuffs

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

that part is good. So, the drivers the way they should be.

How did you flash the slim Rom? is the zip file in the storage stil?
[Nexus 5 Q&A, Help & Troubleshooting] khymburlie:
I believe through TWRP (someone else put the ROM on there). Yea I used a toolkit, but I get what you're saying now. I actually have that thread bookmarked. I can't get the phone to stay in fastboot long enough to do anything with it. As soon as it comes up, it resets :/ I don't even have to hold down the power button anymore. I can hold just volume down and it will eventually shut down and come back to the fastboot screen just to shut down and start all over again
[Nexus 5 Q&A, Help & Troubleshooting] GUGUITOMTG4:
You do have a hardware issue. I saw that auto reboot issue a few times with other users and one of them fixed it trowing it on a table the hard way.

go to RMA thread and ask if google has exchanged their unlocked phone with hardware problems (stuck power button). I believe that they will but just to make sure http://xdaforums.com/google-nexus-5/general/rma-thread-t2515575/page82.

Nothing we can resolve software wise
[Nexus 5 Q&A, Help & Troubleshooting] konan_ 65:
I have the same problem, I have accidentaly cancelled the os from my nexus 5 and i don't have a bakcup, i have downloaded the rom stock form android developer site, but, when i click on flash.all.bath the cmd say only waiting for device.

what can i do?
[Nexus 5 Q&A, Help & Troubleshooting] jd1639:
It's you're bootloader still unlocked?
[Nexus 5 Q&A, Help & Troubleshooting] es0tericcha0s:
Check your Device Manager to see if the drivers are loading correctly. If they are, just manually flash img files via fastboot instead of using the batch script.
[Nexus 5 Q&A, Help & Troubleshooting] konan_ 65:
yes

i think that the driver are loading correctly, because another nexus 5 (whit os) in recognised, but when i try to find mine, if i do fastoboot device the cmd stil say waiting for devices...
[Nexus 5 Q&A, Help & Troubleshooting] es0tericcha0s:
Why not check the Device Manager to know for sure? I've certainly seen two different phones plugged in back to back where one loaded fine and the next one I had to load manually.
[Nexus 5 Q&A, Help & Troubleshooting] konan_ 65:
i can't see my nexus (it's in bootloader) on the device manager, what can i do?
[Nexus 5 Q&A, Help & Troubleshooting] gd6noob:
easiest way..

1) get a USB OTG cable

2) Flash drive and put all files on it

3) plug it to your N5 and in TWRP menu, mount the flash drive

4) Navigate to your flash drive and install

5) Profit

This is how I flash my roms ever since I got my USB OTG.. forever about using command prompts... lol so much faster.
[Nexus 5 Q&A, Help & Troubleshooting] konan_ 65:
8384523510

now i don't have a USB OTG cable, and i can find it only online, there is another way? (id like to resolve this situation as soon as possible)

i forgot to say that i have widnows 8.1 on my pc, but i can use also ubuntu 14.04 or windows 7
[Nexus 5 Q&A, Help & Troubleshooting] vin4yak:
Download Android SDK.. Open it's manager and download adb/fastboot tools and also make sure to download the usb driver.. Connect your phone to the computer (Windows 8.1).. Open device manager and search your device.. It won't be named as Nexus5.. it will be named some other thing. Once you find it, right click on it and select update driver software.. Choose the usb_driver you downloaded from sdk manager and the drivers will be setup correctly now!

Reboot your computer and try connecting now.

If you don't have USB OTG Cable, adb/fastboot is the only way you can transfer a rom or flash the factory images.
[Nexus 5 Q&A, Help & Troubleshooting] anang1979:
http://xdaforums.com/showthread.php?t=2525026

Use this toolkit. Much easier to solved your problem
[Nexus 5 Q&A, Help & Troubleshooting] konan_ 65:
i downloaded the Android SDK, but i can't find adb/fastboot tools, i have downloaded the google usb driver, but, when i connect the devices (always in bootloader) in the device manager doesn't show me any new device
[Nexus 5 Q&A, Help & Troubleshooting] vin4yak:
You need to download the following from the sdk manager to setup adb/fastboot and the drivers:

Android SDK Tools

Android SDK Platform-tools

Android Support Library

Google USB Driver

Have you tried using a different cable/usb port or a computer? It should show up under some name in the device manager.
[Nexus 5 Q&A, Help & Troubleshooting] konan_ 65:
i tryed 2 different pc but i can't see the device in any of the 2 device manager
[Nexus 5 Q&A, Help & Troubleshooting] vin4yak:
Follow this thread and try to set it up: Diagnosing USB Driver and ADB issues in Windows

Well, even after all these attempts, you can't figure out a way to set it up, you're only left with flashing a rom via OTG!
[Nexus 5 Q&A, Help & Troubleshooting] konan_ 65:
also that guide doesn't work for me, luckily i find an usb otg cable in one shop, but when i'm going to mount ad check usb otg the recovery say

E: Unable to mount ' /usb-otg'

what can i do now?
[Nexus 5 Q&A, Help & Troubleshooting] jd1639:
Do you have stickmount on your device?
[Nexus 5 Q&A, Help & Troubleshooting] konan_ 65:
whtat is this stickmount?
[Nexus 5 Q&A, Help & Troubleshooting] jd1639:
Sorry, i came late to the party and didn't read all your posts. You can't Mount it in twrp?
[Nexus 5 Q&A, Help & Troubleshooting] konan_ 65:
i'm trying but when i go to mount->usb-otg nothing appens and i can't find the external storage
[Nexus 5 Q&A, Help & Troubleshooting] jd1639:
Reading everything you've tried I think your usb port is bad
[Nexus 5 Q&A, Help & Troubleshooting] konan_ 65:
now i send my nexus to LG, i hope that they can fix it... thanks to all for the help
[Nexus 5 Q&A, Help & Troubleshooting] Conixcit:
Hello, I have same issue. I deleted OS too...

However I downloaded nexus 5 4.4.4 factory image and with ADB I have pushed it to Phone. With TWRP I choose it and tried to install. Here is the log.

Updating parrition details...
İnstalling '/sdcard/stockandroid444.zip
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
E:Zip signature verification failed: 1
Error flashing zip '/sdcard/stockandroid444.zip
Updating parttiotn details...

stockandroid444.zip is a file which downloaded from Nexus Factroy Images page. And it is image of 4.4.4

However, I Tried to install android 5.1 img directly, and it said the same thing.

I really need help right now.
[Nexus 5 Q&A, Help & Troubleshooting] jd1639:
Flash each of the factory image files separately with fastboot.
[Nexus 5 Q&A, Help & Troubleshooting] Conixcit:
Well, I did install recommended Odex stock rom. But now I can't update my phone via sideload command. It gives some errors. My android version is 4.4.4 (I have installed the rom which is recommended on first page) and I'm trying to instal android 5.0 file through sideload command it starts and finish very well but at end of the proceses it says "Failed".

So All want to do is going back to Android 5.1 (Stock, which is one of released from Google).

I have downloaded android 5.0, 5.0.1, and finally 5.1 Ota .zip, it's ready to install and I'm sure they are in true build number.

As I said, all I want to do is going back to stock android 5.1 How can I do that ?
[Nexus 5 Q&A, Help & Troubleshooting] jd1639:
Google nexus factory image. Download the.tgz file. Extract it using winrar our 7-zip. In there you'll find the radio, bootloader, and another zip file. Extract the zip file. In there is the cache, system, boot, recovery, userdata image files. Flash Ali those with fastboot as well as the radio and bootloader. See this, http://xdaforums.com/showthread.php?p=47156064
[Nexus 5 Q&A, Help & Troubleshooting] Conixcit:
I'm on stock android 5.1 again. Thanks a lot. But, I had to this because my android has deleted while I'm trying to root My phone which was on android 5.1 already. Could you suggest me any good guide to root my android 5.1 ?

Also Thanks for "that" way to help. I mean not to say "do that and do this now you're done" With the guides I'm learning meaning of steps and using terminal and adb efficent way. Thanks again.
[Nexus 5 Q&A, Help & Troubleshooting] jd1639:
See this, http://xdaforums.com/showthread.php?p=53439068. It has everything you'll ever need. There's a whole forum for this device. You just need to read and search.
[Nexus 5 Q&A, Help & Troubleshooting] Xa3ro:
Accidental format!!!

IT happend to me as well! Im also using nexus 5 and the difference is that im using windows and my current recovery is cwm v6.0.4.5, and the link provided in your subsequent post is not working presently.

i tried with wugfresh toolkit to change the recovery, but it gives the error " ADB/fastboot device not found ". I tried to restore stock and unroot but after downloading the stock image it asks for debugging mode to be enabled in the settings and my phone memory is clean without an OS in it...!!!

I dnt have much knowledge in flashing n all, thats why i used the tool kit.. kindly help..
[Nexus 5 Q&A, Help & Troubleshooting] alihusainjuzer:
Stuck with the same problem with windows 10 !!!! Please help !!

Im stuck with the same problem. Did a factory reset without any OS file on phone or any nandroid backup. Now my phone isnt recognized by PC. Have Windows 10 on pc and TWRP 2.8.6.1. Really worried !!! Please help.
[Nexus 5 Q&A, Help & Troubleshooting] audit13:
The phone does not show up as a removable drive when booted into recovery?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] jwtruth35:
I have my phone rooted, but not safe strapped primarily for the purpose of recording all calls.

I've tried searching for the answer to this, but haven't found it, and time is running out.

I'm on MF3 already, and I've frozen AT&T Software update Vxx_x_xxxx_x_x, and LocalFOTA vx_xxxx_x_x, but can't find FWUpgrade x.x.x or anything that looks similar.

Can someone share what to do to avoid the update please?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] guut13:
In an effort not to take credit, check out this thread... http://xdaforums.com/showthread.php?t=2506101
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] jwtruth35:
Thank you so much! I was getting worried I want going to find it in time.

Really appreciate it!
[Verizon Samsung Galaxy S 4] Dekdo:
I tried flashing a factory image but got a fail in odin, I also got a fail in odin when trying to root the device again... this also takes my phone and puts it in emergency mode and then the only way to get it running again is to use a PIT file in odin.

How do i remove safestrap now? :confused:

I didnt realize initially that i should have removed safestrap first... would love to get my phone back to stock..

Here is the error i receive when trying to re-root my device..

View attachment 2388538

Does it have anything to do with the fact that i used a "sch-i605-16gb.pit" file to get my phone working again and not a pit file for a galaxy s4?
[Android Q&A, Help & Troubleshooting] sureshiranga:
i connected my xperia j{st26a} to pc and launch flashtool.it says

ERROR - Drivers need to be installed for connected device.

ERROR - You can find them in the drivers folder of Flashtool.

i used st26i.ftd drivers.but not success. please can you give me st26a drivers...??? &

how can fix it???

i need it badly.PLEASE HELP ME:(:(:(
[Motorola Atrix HD] TecknoFreak:
Hello guys after searching and searching for all the Ported CM and AOSP 4.4 roms looking for a fix to external sd cards to be able to write I came to the frustrating conclusion that there is nothing yet posted to address this.

So I went into the files system to look into it to try to find anything suspicious that is bugging out the ext_sd.

I found that the platform.xml have some external sd writable properties I see that is missing a line so apps can write to the external_sd

Here is the fix;

Get or Download Root Explorer app or any File Manager with ROOT access from the PlayStore to be able to access the system files.

Locate the platform.xml file in the system/etc/permissions folder.

Create a backup of the original file before you go any further in case you need to revert back.

Either open this file up on your phone or copy it to your PC for editing with Notepad++.

At the file open, scroll down until you find a row beginning name=”android.permission.WRITE_EXTERNAL_STORAGE” >, I believe is on line 71 in the file.

On a new line under lines” and “, you need to add , and save the file.

Just make sure you keep the line right below the other ones like shown in the picture below for organize purposes.

It should loom like this

<permission name="android.permission.READ_EXTERNAL_STORAGE" >

<group gid="sdcard_r" />

</permission>

<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >

<group gid="sdcard_r" />

<group gid="sdcard_rw" />

<group gid="media_rw" />

</permission>

<permission name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE" >

<group gid="sdcard_r" />

<group gid="sdcard_rw" />

<group gid="sdcard_all" />

</permission>

<permission name="android.permission.WRITE_MEDIA_STORAGE" >

<group gid="media_rw" />

</permission>

Done, save the changes, or copy the file back from your PC, and overwrite the original version.

Set permissions

Reboot your phone and the fix will be applied.

This Method should work on any device except for the already edited file attached.

If this have help in any way please a Thank and a credit will be great
[Motorola Atrix HD] pcarenza:
Thanks for finding this! We need to remember to add this to source....
[Motorola Atrix HD] deeje00:
Don't quote the whole op man really?

But good job man definitely gonna try it.

Sent from my PACMAN MATRIX HD MAXX
[Motorola Atrix HD] skeevydude:
Thanks, good find. Submitted this as a pull request to the dev team, giving you credits in the commit message. Also starting a new kk build with that included and whatever AOSP updates have happened.....I haven't bothered checking, but I noticed a few updates during the repo sync.
[Motorola Atrix HD] TecknoFreak:
Thanks skeevy, i dont have a github so I couldnt. I was actually waiting for you to tell you.lol
[Motorola Atrix HD] skeevydude:
All I need is to just see a post like that and it's done. Should have a new 4.4 AOSP up in two hours if it fully builds....should, it's never failed yet.
[Motorola Atrix HD] jco23:
This worked for me, thx a ton!
[Motorola Atrix HD] jjosph:
i tried this and it messed up my phone. had to reflash the rom.
[Motorola Atrix HD] crossxn:
Use root explorer or similar app, rename the original xml file with extension (.bak) and copy/paste the attached (OP) xml file and set permission correctly (644). Worked fine for me.
[Motorola Atrix HD] jjosph:
thanks it works now.
[Motorola Atrix HD] PENKO956:
this confirmed working on Galaxy s4 GE 4.4. thanks OP
[Motorola Atrix HD] TecknoFreak:
Glad it worked for you guys
[Motorola Atrix HD] buhlerbuhler:
Galaxy S4 running hyperdrive 10.2 this worked for me, I added the "ACCESS_ALL_EXTERNAL_STORAGE" section, I already had the other lines...
[Motorola Atrix HD] rangapsr:
thanks man.. hope this change is taken care of in future builds of 4.4 :cyclops:
[Motorola Atrix HD] ali7557:
dlt
[Motorola Atrix HD] TecknoFreak:
This mod is for mostly be able to write on your external card and not for using it to install apps on external SD.
[Motorola Atrix HD] rlillard:
True but all well designed apps allow storing the document files on the external card. Sadly many do not.
[Motorola Atrix HD] vivelafrance:
I stupidly forgot to make a backup before overwritting and now neither the internal nor the external card files can be seen!

Could someone post the ORIGINAL platform.xml file here please? thnx
[Motorola Atrix HD] TecknoFreak:
What device do you have and what rom?
[Motorola Atrix HD] vivelafrance:
i9505 as in my signature
[Motorola Atrix HD] deeje00:
Well first we can't see your signature on mobile.. Second this forum is for the atrix hd man. And your about as far a way from that as can be. Your gonna have to look in the forum for your particular device for a fix.

Sent from my PACMAN MATRIX HD MAXX
[Motorola Atrix HD] TecknoFreak:
As deeje00 have said my friend. Best for you is to download any rom or the one you are using an extract the file from there and then replace it.

As i mentioned in op the attach files was only for atrix hd users.
[Motorola Atrix HD] vivelafrance:
I took the link to this thread from a SGS4 thread. Apparently it has worked for SGS4 users (some of them).

thnx anyway
[Motorola Atrix HD] TecknoFreak:
It does work if you do it manually not flashing the attached file.
[Motorola Atrix HD] vivelafrance:
Yes indeed! That's what I did and it works now.... except for Powerwamp...
[Motorola Atrix HD] TecknoFreak:
Good to know it helped you
[Motorola Atrix HD] Nico de Vries:
This solved the problem on my Samsung Galaxy Note 3 with Android 4.4. KitKat of BitTorrent Sync no longer being able to write to the external SD card.

Thank you for this fix!
[Motorola Atrix HD] TecknoFreak:
No problem, glad it helped