[Q] Custom rom not flashing??? - Nexus 5 Q&A, Help & Troubleshooting

My phone recently got completly stuck on the google screen, and the only thing i can do is get into bootloader, and then go into recovery to get into CWM. I have the Cyanogenmod 11 ROM on my computer. I open cmd, and i do the "adb push" command, with the file name of the ROM, but it never works. Solutions? What is the exact command I have to give to push the rom onto my phone??
thanks

http://forum.xda-developers.com/showthread.php?t=1667929
sent from my HAMMERHEAD

CRIME INC. said:
http://forum.xda-developers.com/showthread.php?t=1667929
sent from my HAMMERHEAD
Click to expand...
Click to collapse
I folllowed the instructions but it says "the system cannot find the path specified" the rom is in my user>documents file

seanxytv said:
I folllowed the instructions but it says "the system cannot find the path specified" the rom is in my user>documents file
Click to expand...
Click to collapse
put your rom/gapps in the same folder as adb

simms22 said:
put your rom/gapps in the same folder as adb
Click to expand...
Click to collapse
I have, but it says cannot find the path selected. I wrote down exactly, "cd d:\User\Documents\adt-bundle-windows-x86-20140321\sdk\platform-tools adb push cyan.zip /sdcard/cyan.zip"

seanxytv said:
I have, but it says cannot find the path selected. I wrote down exactly, "cd d:\User\Documents\adt-bundle-windows-x86-20140321\sdk\platform-tools adb push cyan.zip /sdcard/cyan.zip"
Click to expand...
Click to collapse
Press shift and right click mouse then open cmd here in the folder where the adb and cm files are located.
Then
adb push cyan.zip /sdcard/

varuntis1993 said:
Press shift and right click mouse then open cmd here in the folder where the adb and cm files are located.
Then
adb push cyan.zip /sdcard/
Click to expand...
Click to collapse
When i press shift and right click, that doesn't show up, only "View, Sort by, group by, stack by, refresh, paste, paste shortcut, undo delete, extract"

seanxytv said:
When i press shift and right click, that doesn't show up, only "View, Sort by, group by, stack by, refresh, paste, paste shortcut, undo delete, extract"
Click to expand...
Click to collapse
you don't have to right click on that file, open that folder which contains the files, right click on the empty space

varuntis1993 said:
you don't have to right click on that file, open that folder which contains the files, right click on the empty space
Click to expand...
Click to collapse
I went to user>documents>adt-bundle-windows-x86-20140321>sdk>platform tools, where adb and the rom is, and i clicked on the big white empty space below but that does not show up :/

seanxytv said:
I went to user>documents>adt-bundle-windows-x86-20140321>sdk>platform tools, where adb and the rom is, and i clicked on the big white empty space below but that does not show up :/
Click to expand...
Click to collapse
In command prompt type:
cd' user/documents/adt-bundle-windows-x86-20140321/sdk/platform tools
adb push cyan.zip /sdcard/

seanxytv said:
I went to user>documents>adt-bundle-windows-x86-20140321>sdk>platform tools, where adb and the rom is, and i clicked on the big white empty space below but that does not show up :/
Click to expand...
Click to collapse
Ahh dude, I think you forgot to press shift......press shift and right click on the mouse at the same time.
btw what windows are you using?

seanxytv said:
I went to user>documents>adt-bundle-windows-x86-20140321>sdk>platform tools, where adb and the rom is, and i clicked on the big white empty space below but that does not show up :/
Click to expand...
Click to collapse
You need to hold the Shift Key and then right click in the blank space...

​
varuntis1993 said:
Ahh dude, I think you forgot to press shift......press shift and right click on the mouse at the same time.
btw what windows are you using?
Click to expand...
Click to collapse
it still doesnt seem to work unfortunatly, i held shift, and then right clicked. And im using Vista Business

seanxytv said:
​
it still doesnt seem to work unfortunatly, i held shift, and then right clicked. And im using Vista Business
Click to expand...
Click to collapse
I know you have been stuck for a long time but you have created 3 different threads for the same purpose.

varuntis1993 said:
I know you have been stuck for a long time but you have created 3 different threads for the same purpose.
Click to expand...
Click to collapse
Shoot, I did not know i made a copy of this thread. Sorry, I will delete the other 2

seanxytv said:
​
it still doesnt seem to work unfortunatly, i held shift, and then right clicked. And im using Vista Business
Click to expand...
Click to collapse
If your using Windows XP that won't work to open command prompt. You can either go to the folder where the ROM and adb are and highlight and copy the directory path from the address bar and paste it into command prompt and put cd' in front of the directory path or
In command prompt type:
cd' user/documents/adt-bundle-windows-x86-20140321/sdk/platform tools
adb push cyan.zip /sdcard/

xdrc45 said:
If your using Windows XP that won't work to open command prompt. You can either go to the folder where the ROM and adb are and highlight and copy the directory path from the address bar and paste it into command prompt and put cd' in front of the directory path or
In command prompt type:
cd' user/documents/adt-bundle-windows-x86-20140321/sdk/platform tools
adb push cyan.zip /sdcard/
Click to expand...
Click to collapse
i copied and pasted the exact path, but "cannot find path specified" shows up

seanxytv said:
i copied and pasted the exact path, but "cannot find path specified" shows up
Click to expand...
Click to collapse
Sorry I told you wrong it would look like this instead:
cd \user\documents\adt-bundle-windows-x86-20140321\sdk\platform tools

seanxytv said:
i copied and pasted the exact path, but "cannot find path specified" shows up
Click to expand...
Click to collapse
It means that the directory you're entering doesn't exist.. You're goofing up while typing in the command prompt! What I don't understand is, how were you able to unlock the bootloader and flash a custom recovery if you aren't able to execute simple adb commands? Unlocking the bootloader uses fastboot but the navigation to the directory is the same.
My suggestion would be to delete the android sdk from that path and install it in an easy path like : "E:/sdk/platform-tools"... So that it would be easier for you...
Well, if you still can't set it up properly, then use an OTG cable to flash the rom via a flash drive...

@vin4yak Go through this thread to know where he went wrong.
http://forum.xda-developers.com/google-nexus-5/help/nexus-5-stuck-boot-screen-t2731712

Related

Cannot find run command line in ADB.

Hello iam using windows vista and xp and I had the same.problems on both. I downloaded the ADB program which gave me 5 seperate files. and downloaded thedrivers for my moto Atrix. But I was told not to run the adb.exe but to look for a run command line prompt. Where and how do I find this. And where do I go to run the commands?
Sent from my MB860 using XDA App
RPK925 said:
Hello iam using windows vista and xp and I had the same.problems on both. I downloaded the ADB program which gave me 5 seperate files. and downloaded thedrivers for my moto Atrix. But I was told not to run the adb.exe but to look for a run command line prompt. Where and how do I find this. And where do I go to run the commands?
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
Hey
press the start button (bottom left), on start menu you should see "run" with a small icon looks like a dialogue box (might be below search), press this. in the dialogue pop up type CMD.
Tho you will prob need to set up Environment Variables before you can use ADB.
kam333 said:
Hey
press the start button (bottom left), on start menu you should see "run" with a small icon looks like a dialogue box (might be below search), press this. in the dialogue pop up type CMD.
Tho you will prob need to set up Environment Variables before you can use ADB.
Click to expand...
Click to collapse
Then you have to go to folder where "adb.exe" is...
For example if you have it in "c:\adb_folder" you have to type "cd adb_folder".......
Then your command line will be like this → C:\adb_folder>
Then, if you want to test if your device is connected properly you have to type "adb devices" and you will see your device listed....
If not, there is a problem.....
(don't forget to enable "USB debugging" at your phone through Applications→Development)
I
pigeonaras said:
Then you have to where "adb.exe" is...
For example if you have it in "c:\adb_folder" you have to type "cd adb_folder".......
Then your command line line will be like this → C:\adb_folder>
Then, if you want to test if your device is connected properly you have to type "adb devices" and you will see your device listed....
If not, there is a problem.....
(don't forget to enable "USB debugging" at your phone through Applications→Development)
Click to expand...
Click to collapse
I was.able.to open up the command.prompt, but when I run adb devices it just says "adb is not a recgonized as an internal or external....." . It is.like its not connecting for somereason ? Iam a complete noon so any help would be great. Thanks
Sent from my MB860 using XDA App
pigeonaras said:
(don't forget to enable "USB debugging" at your phone through Applications→Development)
Click to expand...
Click to collapse
Have you done this .....??????
RPK925 said:
I
I was.able.to open up the command.prompt, but when I run adb devices it just says "adb is not a recgonized as an internal or external....." . It is.like its not connecting for somereason ? Iam a complete noon so any help would be great. Thanks
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
Before you can use adb command, you have to direct the terminal to the location of the folder where adb is located.
If the location of the file adb is at C:\\windows\androidsdktools\tools\adb
In your terminal type
cd \
Press enter, then type,
cd windows\androidsdktools\tools
Now the terminal should be in the folder where adb is located.
adb devices
A better way in my opinion to use adb is to set the path so it is usable from anywhere, simple easy and no need to always cd the path
directly quoted from dreamsforgotten's tutorial on theming for the epic
http://forum.xda-developers.com/showthread.php?t=821638
"On Windows, right-click on My Computer, and select Properties. Under the Advanced tab, hit the Environment Variables button, and in the dialog that comes up, double-click on Path (under System Variables). Add the full path to the tools/ directory to the path."
Click to expand...
Click to collapse
tmspyder said:
A better way in my opinion to use adb is to set the path so it is usable from anywhere, simple easy and no need to always cd the path
directly quoted from dreamsforgotten's tutorial on theming for the epic
http://forum.xda-developers.com/showthread.php?t=821638
Click to expand...
Click to collapse
This Works!
install adb driver first£¬turn your phone in ¡°charge only mode¡±£¬then find the adb floder£¬hold ¡°shift¡±and right click the floder.choose ¡°run in cmd line mode¡±£¬yeah£¬you done it

[Q] Soft-Bricked my tablet with CF3D, HELP!!

All right guys, I know I should search the forum, but I have no time now, this is what's going on: I tried to install CF3D's plugin on my Transformer, but it went darn bad, I can't get past Asus' "powered by tegra" screen, and I need this by tomorrow, for my class, how do I fiz this?! I unlocked it, running TWRP v 0.2.2.3., can't remeber my rom's name but it's a mod of the CleanRom, v3.1 that's all I know. I think I can fix this by re-flashing my rom, but I don't know if I can put files into my SD only with TWRP in my hands, if not is it a real brick?? Please, help me!!!
TheBloodEagle27 said:
All right guys, I know I should search the forum, but I have no time now, this is what's going on: I tried to install CF3D's plugin on my Transformer, but it went darn bad, I can't get past Asus' "powered by tegra" screen, and I need this by tomorrow, for my class, how do I fiz this?! I unlocked it, running TWRP v 0.2.2.3., can't remeber my rom's name but it's a mod of the CleanRom, v3.1 that's all I know. I think I can fix this by re-flashing my rom, but I don't know if I can put files into my SD only with TWRP in my hands, if not is it a real brick?? Please, help me!!!
Click to expand...
Click to collapse
I don't understand "if I can put files into my SD only with TWRP in my hands", you don't have a pc where you can copy the rom to your sdcard? BTW you should be using twrp 2.3.1.0.
I actually have my PC here with me,
but like I said im not sure I can connect it to the pc since it will be on recovery, you know, like an MTP or mass storage, can TWRP do that?
Sent from my R800i using xda app-developers app
TheBloodEagle27 said:
I actually have my PC here with me,
but like I said im not sure I can connect it to the pc since it will be on recovery, you know, like an MTP or mass storage, can TWRP do that?
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
You can't take the sdcard out and put it to your pc, copy the rom from pc to sdcard then put it back to your device? or you could use adb to push the file and hope adb is working on your pc.
ADB is working on my PC, but I don't see the TF700T icon under my computer
Sent from my R800i using xda app-developers app
TheBloodEagle27 said:
ADB is working on my PC, but I don't see the TF700T icon under my computer
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
Try this,
Copy the rom.zip to the directory where your adb.exe is, then boot your device to twrp (home screen).
On your pc type
adb push rom.zip /Removable/MicroSD then hit enter (this copy the rom.zip from your pc to the root of your microsdcard.
If you see bunch of number and bytes and time then it's working.
buhohitr said:
Try this,
Copy the rom.zip to the directory where your adb.exe is, then boot your device to twrp (home screen).
On your pc type
adb push rom.zip /Removable/MicroSD then hit enter (this copy the rom.zip from your pc to the root of your microsdcard.
If you see bunch of number and bytes and time then it's working.
Click to expand...
Click to collapse
Alright, I'ts getting late, so I'll try it after school after all, I was thinking of using flashtool to flash the room through fastboot, that's how I used to do on my Xperia Play, but I don't know if the program works with asus' tablets... Anyway, thanks a lot man, for trying to help me and all, If it works I'll have a lot to owe u.
TheBloodEagle27 said:
Alright, I'ts getting late, so I'll try it after school after all, I was thinking of using flashtool to flash the room through fastboot, that's how I used to do on my Xperia Play, but I don't know if the program works with asus' tablets... Anyway, thanks a lot man, for trying to help me and all, If it works I'll have a lot to owe u.
Click to expand...
Click to collapse
EDIT: I must be doing something wrong. Where is the adb.exe location? I found one in the Asus Sync folder, is it that one? Second, where do I put this command? I know, in the command prompt, but which folder is it supposed to open?
TheBloodEagle27 said:
EDIT: I must be doing something wrong. Where is the adb.exe location? I found one in the Asus Sync folder, is it that one? Second, where do I put this command? I know, in the command prompt, but which folder is it supposed to open?
Click to expand...
Click to collapse
You don't move the adb.exe, where ever the adb command located, you need to open command prompt and navigate to the adb.exe folder. Asus Sync is located in C:\Program Files\ASUS\ASUS Sync and so is the adb.exe. so open command prompt and type:
cd\ hit enter, this bring you to root Ccomputer displayed C:\>
type:
cd Program Files\ASUS\ASUS Sync hit enter, you're now in the Asus sync folder (this is where your rom.zip should be in also)
computer should displayed:
C:\Program Files\ASUS\ASUS Sync>
now type
adb push rom.zip /Removable/MicroSD then hit enter (this copy the rom.zip from your pc to the root of your microsdcard.
buhohitr said:
You don't move the adb.exe, where ever the adb command located, you need to open command prompt and navigate to the adb.exe folder. Asus Sync is located in C:\Program Files\ASUS\ASUS Sync and so is the adb.exe. so open command prompt and type:
cd\ hit enter, this bring you to root Ccomputer displayed C:\>
type:
cd Program Files\ASUS\ASUS Sync hit enter, you're now in the Asus sync folder (this is where your rom.zip should be in also)
computer should displayed:
C:\Program Files\ASUS\ASUS Sync>
now type
adb push rom.zip /Removable/MicroSD then hit enter (this copy the rom.zip from your pc to the root of your microsdcard.
Click to expand...
Click to collapse
"system could not find specified directory" Heads up ¬¬...
Do you actually have a microSD card inserted into the tablet?
MartyHulskemper said:
Do you actually have a microSD card inserted into the tablet?
Click to expand...
Click to collapse
haha!! sorry for lol! if you don't have the sdcard, you could push it to internal sd.
buhohitr said:
haha!! sorry for lol! if you don't have the sdcard, you could push it to internal sd.
Click to expand...
Click to collapse
Ok then, how do I push ut to the internal SD?
TheBloodEagle27 said:
Ok then, how do I push ut to the internal SD?
Click to expand...
Click to collapse
adb push rom.zip /sdcard/
or
adb push rom.zip /storage/sdcard0/
Edit: Is it working for you yet??
buhohitr said:
adb push rom.zip /sdcard/
or
adb push rom.zip /storage/sdcard0/
Edit: Is it working for you yet??
Click to expand...
Click to collapse
I'm not sure, i'll try it out right now. I guess if it doesn't work it could be a problem with adb, is there any tutorial on how to set it up?
buhohitr said:
Try this,
Copy the rom.zip to the directory where your adb.exe is, then boot your device to twrp (home screen).
On your pc type
adb push rom.zip /Removable/MicroSD then hit enter (this copy the rom.zip from your pc to the root of your microsdcard.
If you see bunch of number and bytes and time then it's working.
Click to expand...
Click to collapse
I tried this, but got this message:
adb server is out of date. Killing...
ADB server didn't ACK
*failed to start daemon*
error:
what does that mean?
TheBloodEagle27 said:
I tried this, but got this message:
adb server is out of date. Killing...
ADB server didn't ACK
*failed to start daemon*
error:
what does that mean?
Click to expand...
Click to collapse
I thought that you already have adb working on your PC, but seems like you don't. You need to download Android SDK and once installed, you can use adb command from this SKD. Here is the link to how install Android SDK. It shouldn't take no more than 10 min. Just download and run the install, only select packages with the word "Android name" should be only 2. Once you done this, adb and fastboot should work fine. You also need Java, but like 99% ppl with a PC should already had Java installed.
http://forum.xda-developers.com/showthread.php?t=1616059
This tool is very important in rooting, recovery, flash stuff to your device. So I recommend you install this and get it working, it will save you a lot of time and headache in the future.
EDIT; If you think you have all the components already installed, you could download the adb/fastboot package here http://forum.xda-developers.com/attachment.php?attachmentid=1403567&d=1350299936 , unzip it to your C drive, you will have a folder called "Install recovery", in this folder there's adb and fastboot command, and then open cmd navigate to this folder and execute adb command line I provide previously see if that works.
buhohitr said:
I thought that you already have adb working on your PC, but seems like you don't. You need to download Android SDK and once installed, you can use adb command from this SKD. Here is the link to how install Android SDK. It shouldn't take no more than 10 min. Just download and run the install, only select packages with the word "Android name" should be only 2. Once you done this, adb and fastboot should work fine. You also need Java, but like 99% ppl with a PC should already had Java installed.
http://forum.xda-developers.com/showthread.php?t=1616059
This tool is very important in rooting, recovery, flash stuff to your device. So I recommend you install this and get it working, it will save you a lot of time and headache in the future.
EDIT; If you think you have all the components already installed, you could download the adb/fastboot package here http://forum.xda-developers.com/attachment.php?attachmentid=1403567&d=1350299936 , unzip it to your C drive, you will have a folder called "Install recovery", in this folder there's adb and fastboot command, and then open cmd navigate to this folder and execute adb command line I provide previously see if that works.
Click to expand...
Click to collapse
All there is in here is a .cmd file, no adb or nothing, I tried to use the command line you provided me, but all I get is:
adb server is out of date. Killing...
*daemon started succesfully*
Protocol Failure
Edit: I also downloaded the Android SDK Manager and downloaded the two tools
TheBloodEagle27 said:
All there is in here is a .cmd file, no adb or nothing, I tried to use the command line you provided me, but all I get is:
adb server is out of date. Killing...
*daemon started succesfully*
Protocol Failure
Edit: I also downloaded the Android SDK Manager and downloaded the two tools
Click to expand...
Click to collapse
If you go here http://forum.xda-developers.com/atta...7&d=1350299936 download the zip file then unzip to your drive. In this new folder you should see adb.exe and fastboot.exe and a few dll files. Do you see them??? Make sure your anti-virus doesn't strip the files.
buhohitr said:
If you go here http://forum.xda-developers.com/atta...7&d=1350299936 download the zip file then unzip to your drive. In this new folder you should see adb.exe and fastboot.exe and a few dll files. Do you see them??? Make sure your anti-virus doesn't strip the files.
Click to expand...
Click to collapse
Oh man, this sucks, it says 404 page not found, didn't you cpy the wrong link?

[Q] Can't Flash 5.0 Image

I can't flash the image file. It fails for some reasons.
I'm getting an error message("fastboot is not recognized as an internal or external command") in cmd when I open flash-all.bat file.
phone is rooted, with open bootloader. I had AOKP custom rom before i tried to flash 5.0.
Any Ideas what to do?
ArsenaMarabdeli said:
I can't flash the image file. It fails for some reasons.
I'm getting an error message("fastboot is not recognized as an internal or external command") in cmd when I open flash-all.bat file.
phone is rooted, with open bootloader. I had AOKP custom rom before i tried to flash 5.0.
Any Ideas what to do?
Click to expand...
Click to collapse
It means you've not copied the files into your ADB folder as it can't find the fastboot files
ArsenaMarabdeli said:
I can't flash the image file. It fails for some reasons.
I'm getting an error message("fastboot is not recognized as an internal or external command") in cmd when I open flash-all.bat file.
phone is rooted, with open bootloader. I had AOKP custom rom before i tried to flash 5.0.
Any Ideas what to do?
Click to expand...
Click to collapse
open the folder where you extracted the tarbal
hold down shift and right click
open command prompt here
do a "fastboot devices" to check if your device is connected
continue flashing using the commands.
gamer.11 said:
open the folder where you extracted the tarbal
hold down shift and right click
open command prompt here
do a "fastboot devices" to check if your device is connected
continue flashing using the commands.
Click to expand...
Click to collapse
This won't work if fastboot binary isn't in env PATH.
EddyOS said:
It means you've not copied the files into your ADB folder as it can't find the fastboot files
Click to expand...
Click to collapse
"Into your FASTBOOT folder". adb's got nothing to do with this.
http://forum.xda-developers.com/showthread.php?t=2513701
Follow method two in this guide.
beekay201 said:
This won't work if fastboot binary isn't in env PATH.
Click to expand...
Click to collapse
worked for me i never had to put anything into my android tools folder, i have system wide access no matter where i open up the command prompt.
Easiest way is to extract the sh1t out of the Google file until you eventually see all the img files. Then extract the fastboot zip into the same folder they're in and open a command prompt there.
Fastboot zip -
https://www.dropbox.com/s/b8wxmwfi2ekdw3a/Adb And Fastboot.zip?dl=0
Sent from my Android 5.0 Nexus 5
gamer.11 said:
worked for me i never had to put anything into my android tools folder, i have system wide access no matter where i open up the command prompt.
Click to expand...
Click to collapse
Because it's in your PATH.
beekay201 said:
This won't work if fastboot binary isn't in env PATH.
"Into your FASTBOOT folder". adb's got nothing to do with this.
Click to expand...
Click to collapse
People refer to the folder with ADB and fastboot in it as the ADB folder (If you had adb/fastboot in the system path this wouldn't even be required)
Do you really think I meant them to use ADB? Come on, now
beekay201 said:
Because it's in your PATH.
Click to expand...
Click to collapse
oh "env" meant environment, sorry did not understand your shot hand.
by the way OP? solved your issue?
EddyOS said:
People refer to the folder with ADB and fastboot in it as the ADB folder
Click to expand...
Click to collapse
I refer to this folder as the platform tools folder
nikon120 said:
I refer to this folder as the platform tools folder
Click to expand...
Click to collapse
Makes more sense I guess, just more to type! This is where being in PATH makes life better

Please Help - Stuck in boot loop

Hi All, I hope someone can help.
I got this phone in December, and unlocked it, flashed TWRP and rooted.
My phone automaticly updated and was on version 7.1.2. But Super SU wasnt working anymore.
I tried to boot into TWRP but it was saying somthing like "No command given" when I tried.
I used Skipsoft toolkit to flash the recovery again (What I originally used) and when the phone rebooted, it gets to the Google logo and instantly reboots.
I can get to bootloader, but if I select recovery, it reboots.
Is there anything I can do here?
I did a backup in TWRP before I flashed, its stored on the phone.
Thanks in advance
I would use the tool to go back to stock. Just pick the last Google is the app I believe its V. Either update to the lastest software or I just flashed a rom with the newest vender
Hi, Thanks for your reply.
How can I do this though, I cant get the phone to boot, or into recovery
Is there a way I can use adb to push a TMRP so I can restore my backup?
My PC makes the noise as if something is attached by USB, but when I do adb devices, nothing shows.
Hi all,
I managed to sort it out and restore to original as advised above with fastboot. Never used it before, but I followed this guide and it worked great.
http://www.droidviews.com/install-stock-firmware-on-google-pixel-or-restore-it-to-stock/
Thanks again
You can get TWRP and root on the May update.
https://forum.xda-developers.com/showthread.php?t=3600606
Anthony2oo5 said:
Hi all,
I managed to sort it out and restore to original as advised above with fastboot. Never used it before, but I followed this guide and it worked great.
http://www.droidviews.com/install-stock-firmware-on-google-pixel-or-restore-it-to-stock/
Thanks again
Click to expand...
Click to collapse
This didn't work for me. I got as far as:
7. Now type the following command in the command window and hit the Enter key.
flash-all.bat
When doing that, I got the following returned in the CMD prompt:
'flash-all.bat' is not recognized as an internal or external command, operable program or batch file.
In the CMD prompt, make sure you're in the folder where you extracted the contents of the zip file.
graymoment said:
This didn't work for me. I got as far as:
7. Now type the following command in the command window and hit the Enter key.
flash-all.bat
When doing that, I got the following returned in the CMD prompt:
'flash-all.bat' is not recognized as an internal or external command, operable program or batch file.
Click to expand...
Click to collapse
X04D said:
In the CMD prompt, make sure you're in the folder where you extracted the contents of the zip file.
Click to expand...
Click to collapse
As X04D states you need to be in the correct directory. Hold shift and richt click in the folder where the files are located and press "Open command prompt here" then try again.
Anthony2oo5 said:
As X04D states you need to be in the correct directory. Hold shift and richt click in the folder where the files are located and press "Open command prompt here" then try again.
Click to expand...
Click to collapse
I probably should have clarified, but by quoting step 7 as the point it failed, I meant to imply that I had performed steps 1-6. Step 6 is the "open command prompt here" step.
graymoment said:
I probably should have clarified, but by quoting step 7 as the point it failed, I meant to imply that I had performed steps 1-6. Step 6 is the "open command prompt here" step.
Click to expand...
Click to collapse
That error means flash-all.bat is not in the same directory as the command prompt you opened. You unzipped it elsewhere, didn't unzip it or you opened the command prompt in the wrong place.
Flash this file after flash other files
VerifiedBootSigner

Trouble Shooting Pixel 4a 5g

What am I doing wrong? I'm trying to finish the root process on a pixel 4a 5g on Windows 7. It won't find the files. I tried these commands CD Download, CD\ flash boot flashing unlock. I tried as well on my Mac with no success. I'm on the last step!
SomethingTheOrange said:
What am I doing wrong? I'm trying to finish the root process on a pixel 4a 5g on Windows 7. It won't find the files. I tried these commands CD Download, CD\ flash boot flashing unlock. I tried as well on my Mac with no success. I'm on the last step!
Click to expand...
Click to collapse
Well, is it a valid directory?
SomethingTheOrange said:
What am I doing wrong? I'm trying to finish the root process on a pixel 4a 5g on Windows 7. It won't find the files. I tried these commands CD Download, CD\ flash boot flashing unlock. I tried as well on my Mac with no success. I'm on the last step!
Click to expand...
Click to collapse
Make sure the files are in the same directory as adb/fastboot. Open the folder and type cmd in the address bar of the folder. I haven't been on windows for a spell but if I remember, that should open a command prompt in the directory.
ethical_haquer said:
Well, is it a valid directory?
Click to expand...
Click to collapse
I believe so, I originally had the folder on the desktop, I then decided to move to the download folder with no success.
AlexKarimov said:
Make sure the files are in the same directory as adb/fastboot. Open the folder and type cmd in the address bar of the folder. I haven't been on windows for a spell but if I remember, that should open a command prompt in the directory.
Click to expand...
Click to collapse
I'll try that
SomethingTheOrange said:
I believe so, I originally had the folder on the desktop, I then decided to move to the download folder with no success.
Click to expand...
Click to collapse
You can't check graphically?
ethical_haquer said:
Well, is it a valid directory?
Click to expand...
Click to collapse
Im not sure how would I know. Sorry, I'm pretty new at this. The lat time I rooted a device was probably like 7 yrs ago. That was with Twerp
SomethingTheOrange said:
Im not sure how would I know. Sorry, I'm pretty new at this. The lat time I rooted a device was probably like 7 yrs ago. That was with Twerp
Click to expand...
Click to collapse
While your in the ".../Downloads/system-tools" directory runthe following in the PowerShell:
Code:
dir
This will return a list of folders and directories in that folder. If "Downloads" is not listed, it is not a valid directory.
ethical_haquer said:
While your in the ".../Downloads/system-tools" directory runthe following in the PowerShell:
Code:
dir
This will return a list of folders and directories in that folder. If "Downloads" is not listed, it is not a valid directory.
Click to expand...
Click to collapse
Well, your assumption must be correct. The directory must not be valid. I went and looked up the steps to try and make it valid. I'm still having issues. I put plat form tool on my c drive/Android folder. Then advanced settings to edit the environment variables. Set the location, Im still having issues running adb though
SomethingTheOrange said:
Well, your assumption must be correct. The directory must not be valid. I went and looked up the steps to try and make it valid. I'm still having issues. I put plat form tool on my c drive/Android folder. Then advanced settings to edit the environment variables. Set the location, Im still having issues running adb though
Click to expand...
Click to collapse
What kind of issues? Is it not recognising your phone? A common problem is not having the right drivers. You need the Google USB driver. There may also be the issue where it recognises the phone in ADB but not fastboot or vice versa.
AlexKarimov said:
What kind of issues? Is it not recognising your phone? A common problem is not having the right drivers. You need the Google USB driver. There may also be the issue where it recognises the phone in ADB but not fastboot or vice versa.
Click to expand...
Click to collapse
I believe the OP is trying to enter a specific directory in order to run a command, but he can't find the correct directory:
SomethingTheOrange said:
What am I doing wrong? I'm trying to finish the root process on a pixel 4a 5g on Windows 7. It won't find the files. I tried these commands CD Download, CD\ flash boot flashing unlock. I tried as well on my Mac with no success. I'm on the last step!
Click to expand...
Click to collapse
Ah! I think I see now. If I understand it, there's confusion between the directory and command. The easiest way is to open file explorer, navigate to the directory you want and type cmd in the address bar. This will open a command prompt in the desired directory, no need to CD anything.
After that the commands are simple: fastboot devices, fastboot flashing unlock.
Just to clarify, its FASTboot(one word) and not flash boot

Categories

Resources