Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,812,209 Members 36,696 Now Online
XDA Developers Android and Mobile Development Forum

How to push files through ADB

Tip us?
 
rulermon
Old
(Last edited by rulermon; 5th March 2010 at 05:21 PM.) Reason: forgot steps/revising
#1  
Member - OP
Thanks Meter 33
Posts: 54
Join Date: Dec 2009
Location: Brunswick
Default How to push files through ADB

Prerequisites have...
A:android-sdk-windows installed
B: (on your phone) go to menu>settings>applications>developement and make sure usb debugging is checked.
C: the file you are pushing must be placed in the tools folder of adb so if you are pushing file "build.prop.txt" this needs to be downloaded/copy and pasted in C:\android-sdk-windows\tools
1: go to run and type cmd (or just open your command prompt)
2: cd C:\android-sdk-windows\tools
3: adb remount
4: adb devices *if everything is set up right this should output a serial number*
5: adb push FFFFFFF.FFF /#####/###### *i hope my notes help here you need to put the file name in for the F(s) and in the pound signs you put the destination on the devices example adb push build.prop.txt /system/bin
6. repeat step 3 for multiple files
7. adb reboot this is how you finish
The Following 33 Users Say Thank You to rulermon For This Useful Post: [ Click to Expand ]
 
chromiumleaf
Old
#2  
chromiumleaf's Avatar
Senior Member
Thanks Meter 12
Posts: 499
Join Date: May 2010
Location: Austin, TX
Quote:
Originally Posted by usadevil7193 View Post
hi mate...i m new to android..i own a nexus1..hav rooted without unlockin d bootloader..i am tryin to push d track ball to wake mod...evry time i type adb remount it says permission denied..any ideas to get things workin...???????
Welcome to XDA and Android! Are you trying to get help for your Nexus One? This forum here is specifically for the HTC Hero CDMA.

You will probably find better and more specific help in the Nexus One forums which are here: http://forum.xda-developers.com/forumdisplay.php?f=556
Motorola Photon 4G as of Dec. 2011.
-----------------
Formerly had HTC Hero CDMA for 2 years.
Many thanks to all HeroC developers and community members for the awesome lifetime of that device.
 
b-rye-an
Old
#3  
Junior Member
Thanks Meter 0
Posts: 9
Join Date: Aug 2010
Great post, very easy to follow, thank you.
 
mikeybonez28
Old
#4  
Member
Thanks Meter 2
Posts: 36
Join Date: Sep 2010
yea I'm trying to do this, over and over, but with not luck. i have sdk on my pc and im running the cmd prompt to run adb remount & devices and its not picking up the phone, wth is going on, plz help
The Following 2 Users Say Thank You to mikeybonez28 For This Useful Post: [ Click to Expand ]
 
toine73
Old
#5  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Sep 2008
this also works for the samsung Galaxy S in recovery mode.
 
dragonrazorz
Old
(Last edited by dragonrazorz; 20th February 2011 at 11:59 PM.)
#6  
dragonrazorz's Avatar
Senior Member
Thanks Meter 47
Posts: 836
Join Date: Jan 2011
Quote:
Originally Posted by mikeybonez28 View Post
yea I'm trying to do this, over and over, but with not luck. i have sdk on my pc and im running the cmd prompt to run adb remount & devices and its not picking up the phone, wth is going on, plz help
mine shows up but then says error, device offline
 
yogi2010
Old
#7  
Account currently disabled
Thanks Meter 320
Posts: 2,128
Join Date: Dec 2010
Location: Los Angeles, CA
hi, i have adb recognizing my phone, but i still can't seem to push the files over.... every time i try, i get 'cannot stat 'su' : No such file or directory'. i have made sure over and over to put the files in the same folder where adb is.... actually i have tried placing the files in the tools folder, as well as the platform-tools folder, and i keep getting that error when i try to push anything.

any suggestions? thx
 
ew1090
Old
#8  
Junior Member
Thanks Meter 1
Posts: 15
Join Date: Nov 2008
Location: Omaha
Quote:
Originally Posted by yogi2010 View Post
hi, i have adb recognizing my phone, but i still can't seem to push the files over.... every time i try, i get 'cannot stat 'su' : No such file or directory'. i have made sure over and over to put the files in the same folder where adb is.... actually i have tried placing the files in the tools folder, as well as the platform-tools folder, and i keep getting that error when i try to push anything.

any suggestions? thx
i had the same issue with something i was trying to push. I think you need to make sure you have exactly the same file name like caps and all. i was trying to push rootexplorer.apk and i got the same message but i then changed it to RootExplorer.apk and it work.(notice the difference in caps)
 
Bierce22
Old
#9  
Bierce22's Avatar
Senior Member
Thanks Meter 137
Posts: 1,614
Join Date: Nov 2010
Location: canton ga
just watch this and it'll explain everything.

http://www.youtube.com/xdadevelopers
Htc One M8 with google play rom
-phone, samsung Galaxy s3 retired
-Rom, Carbon 4.2.2- retired
---------------------------------------------
-computer asus k55a-rbr6
-OS- Arch Linux 64bit Xfce4
-My desktop http://www.youtube.com/watch?v=nvEQndl3F1g
 
{LCD}Stelios
Old
(Last edited by {LCD}Stelios; 13th July 2011 at 02:34 AM.)
#10  
Senior Member
Thanks Meter 3
Posts: 121
Join Date: Feb 2011
Does it matter where sdk is installed my file path is
C:\Program Files\Android\android-sdk\tools
instead of
C:\android-sdk-windows\tools.
I just installed it in the default location.
I type adb remount and get the not recognised command.....
Thanks.
I don't think my phone is being picked up?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Increase Your Multitasking Workflow with C-Floating Windows

Technology has put life on the fast track. Lazy, relaxed days have turned into … more

Compile Your Own Kernel From Source with Comprehensive Tutorial

One glance at any developer section of any device forum on XDA and youll find … more

WowWee Mip – Android Accessory Review – XDA Developer TV

The holidays will be here in no time, so why not start thinking about … more

Stream Your Media Files with the New Version of Droid Sync Manager

Android is a Linux-based operating system, but this fact doesn’t put … more