New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
pipefitter
Old
#1  
Senior Member - OP
Thanks Meter 63
Posts: 216
Join Date: Nov 2009
Location: Glenolden, PA
Default Push to phone for n00b

I am trying to push the stock HTC clock widget to my phone. Here are my command lines...

/AndroidSDK/tools
adb shell
# adb remount
adb not found
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# adb push HtcClockWidget.apk /system/app/
adb not found


What am I doing wrong? Please help.
I can get into the system/app folder and run a list of my apps, but have been unable to push to the phone
 
smw6180
Old
#2  
Recognized Contributor
Thanks Meter 4290
Posts: 5,772
Join Date: Oct 2007
Location: Bear, DE

 
DONATE TO ME
Quote:
Originally Posted by pipefitter View Post
I am trying to push the stock HTC clock widget to my phone. Here are my command lines...

/AndroidSDK/tools
adb shell
# adb remount
adb not found
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# adb push HtcClockWidget.apk /system/app/
adb not found


What am I doing wrong? Please help.
I can get into the system/app folder and run a list of my apps, but have been unable to push to the phone
You don't use adb commands inside the shell.

C:\AndroidSDK/tools> adb remount
C:\AndroidSDK/tools> adb push HtcClockWidget.apk /system/app/
Current Phone:
Sprint HTC ONE
Tablets:
Asus Eee Pad Transformer Prime
Asus Eee Pad Transformer
Previous Smart Phones:
HTC Evo 4G LTE
HTC Evo3D
HTC Evo 4G
PPC6700
Touch Diamond (WinMO 6.5)
HTC Hero