ADB Push help - EVO 4G Q&A, Help & Troubleshooting

Ok Ive been searching for 2 hours and I worked lastnight so im exausted, I am trying to push apps to my evo that were taken out of a rom. I am doing the following:
cd c:/android-sdk-windows/tools
adb remount
adb push HTCMusic.apk /system/app
I keep getting an out of memory and I KNOW im not out of memory. Any help please?

aaron130 said:
Ok Ive been searching for 2 hours and I worked lastnight so im exausted, I am trying to push apps to my evo that were taken out of a rom. I am doing the following:
cd c:/android-sdk-windows/tools
adb remount
adb push HTCMusic.apk /system/app
I keep getting an out of memory and I KNOW im not out of memory. Any help please?
Click to expand...
Click to collapse
I'm not by my computer but shouldn't it be something like
Code:
adb shell
mount /dev/block/mtdblock4 /system
exit
adb push HTCMusic.apk /system/app
or push before exit I can't remember off the top of my head.

MrDSL said:
I'm not by my computer but shouldn't it be something like
Code:
adb shell
mount /dev/block/mtdblock4 /system
exit
adb push HTCMusic.apk /system/app
or push before exit I can't remember off the top of my head.
Click to expand...
Click to collapse
You posted it right, exit shell first, then use ADB push.
Code:
adb shell
mount /dev/block/mtdblock4 /system
exit
adb push HTCMusic.apk /system/app

Thx a lot guys will give it a try when I get up
Sent from my PC36100 using Tapatalk

Ok now Im getting failed-read only file system. Can someone please help me push apps through adb it was so easy with my hero but its not working with this Evo for some reason.

Im even trying to pull apps(to delete them) and Im getting "Directory not empty" what am I doing wrong in adb? I can use the same sdk that I used for the hero correct?

I am getting the same out of memory messages when trying to push to the device. I can pull just fine.

aaron130 said:
Thx a lot guys will give it a try when I get up
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
aaron130 said:
Ok now Im getting failed-read only file system. Can someone please help me push apps through adb it was so easy with my hero but its not working with this Evo for some reason.
Click to expand...
Click to collapse
Make sure you don't have your SD Card enabled as a removable device. Make sure it says "Charging Only", under the notification pull down.

I am having some of the same issues with pushing bootanimation.zip onto my FroYo'd Aria with SDK 08 for 2.2 platform. I get Directory Not Empty. What am I not doing? I've tried 4 different methods I've read for this.

Related

Help using ADB to push an app

Hi all, I am using a froyo rom based on richardtrips rom.
I'm trying to push a themed facebook apk. I have placed the apk in the tools folder.
This is what I did.. Boot to recovery, then open a cmd on my windows laptop. I then did the cd to go to my adb tools folder.
Then I typed
Code:
adb remount
This gave me an error saying error 0.
So I tried while the handset was booted normally. The remount was successful.
I then typed
Code:
adb push system/app/facebook.apk
This just gave me the help list with details of all the commands.
Can anyone tell me where I am going wrong?
how about
adb shell mount /system
adb push C:\Facebook.apk /system/app/
adb reboot
MasDroid said:
how about
adb shell mount /system
adb push C:\Facebook.apk /system/app/
adb reboot
Click to expand...
Click to collapse
This one seems to have worked. Thanks very much. I'm half sleeping and it was doing my head in
socktug said:
This one seems to have worked. Thanks very much. I'm half sleeping and it was doing my head in
Click to expand...
Click to collapse
No problem bud
It's pretty late here too and my eyes are half open and they feel as if they are burning lol.

Quick ADB Question

I have ADB installed and working, just really new to it. Can someone help me understand how to:
Mount /system as r/w with root explorer.
Really appreciate it.
If you're using Root Explorer you don't need adb to write to system. Just navigate to system and press the r/w button on the top right of the screen. What are you trying to do in system?
Sent from my FROYO'D EVO using xda app
If you have root
Code:
adb remount
adb shell
I hope that is what you are asking for. Not really clear.
(This is for removing apps with adb)
Thanks for the responses. I was a little confused. I am trying to do the 2.2 dialing fix and transfer the old espt onto my phone so I can do manual prl updates.
rafroehlich2 said:
If you have root
Code:
adb remount
adb shell
I hope that is what you are asking for. Not really clear.
(This is for removing apps with adb)
Click to expand...
Click to collapse
this doesnt work always and if it doesnt, this most definitely does
Code:
adb shell
mount /dev/block/mtdblock4 /system
cd /system/app
t3project said:
this doesnt work always and if it doesnt, this most definitely does
Code:
adb shell
mount /dev/block/mtdblock4 /system
cd /system/app
Click to expand...
Click to collapse
Got it working. Appreciate it everyone.

[Q] How to push HTCFacebook.apk to /system/apps

Hey guys, before saying anything else, I'm a complete newb to this. That being said, I have MetroDroid 1.0 as my ROM and it doesn't have htcfacebook.apk installed on it, so no contacts syncing. It angers me! What I need is the htcfacebook.apk and .odex files, and a good tutorial on how to install them on my EVO. Im a noob, so you'll need to be detailed lol. I've been looking around but I cant find clear instructions, so I tough I might as well ask. Thank in advance
Nevermind, I figured all that out. Now it says 'failed to copy. out of memory'
After trying to install using the
adb install HtcFacebook.apk
Click to expand...
Click to collapse
command it says
Failure INSTALL_PARSE_FAILED_NO_CERTIFICATES
Click to expand...
Click to collapse
^that was when I was trying to install it while not in recovery. In recovery it says
/sbin/sh: pm: not found
Click to expand...
Click to collapse
Anyone? Help? I'm stuck. lol.
Try this. Put the apk in the Android sdk tools folder and open command prompt and navigate to the tools folder. Then run;
adb push HTCFacebook.apk /system/app/ (press enter)
adb shell reboot
Hope this helps.
Sent from my HTC SUPERSONIC
dglowe343 said:
Try this. Put the apk in the Android sdk tools folder and open command prompt and navigate to the tools folder. Then run;
adb push HTCFacebook.apk /system/app/ (press enter)
adb shell reboot
Hope this helps.
Sent from my HTC SUPERSONIC
Click to expand...
Click to collapse
Alright so I tried what you said and it gives me the error
failed to copy 'HtcFacebook.apk' to '/system/app/': Is a directory
Click to expand...
Click to collapse
To be more exact, this what I had typed in
C:\AndroidSDK\tools>adb push HtcFacebook.apk /system/app/
Click to expand...
Click to collapse
Also, my EVO was in recovery when I did this.
type "adb remount" before you push
and if that doesnt work, lose the first '/'
if you are in recovery you will need to
adb shell
#mount /system/
exit
then you can push them to system
adb push /yoursdklocation/tools/yourapk.apk/ /system/app
if not in recovery the
adb remount
will suit your purpose
[email protected] said:
if you are in recovery you will need to
adb shell
#mount /system/
exit
then you can push them to system
adb push /yoursdklocation/tools/yourapk.apk/ /system/app
if not in recovery the
adb remount
will suit your purpose
Click to expand...
Click to collapse
Alright, I did what you said (for pushing in recovery, because out of recovery it would say i didnt have enough memory) and now it said
C:\Users\Marius>adb push HtcFacebook.apk /system/app
1226 KB/s (164592 bytes in 0.131s)
Click to expand...
Click to collapse
I'm guessing that was supposed to happen? Now what do I do? just run the command 'adb install HtcFacebook.apk'?

Removing the Swype keyboard in cm6

OK, so i installed the swype from stock espresso 2.1 ROM but it doesnt let me swype. tells me that its configured for a different device which is a fail honestly but how do i go along to delete it? Terminal or ADB commands would be nice because. Thanks fellas. i tried
rm -r /system/app/swype.apk
rm -r /system/app/com.swype.inputmethod
any other suggestions?
Did you try reflashing cm6? Idk if it will work, but worth a try.
Sent from my T-Mobile myTouch 3G Slide using XDA App
guitarist5122 said:
Did you try reflashing cm6? Idk if it will work, but worth a try.
Sent from my T-Mobile myTouch 3G Slide using XDA App
Click to expand...
Click to collapse
That seems like the only thing I can think of too. I'm having a similar problem where I tried to flash Swype, but it just keeps force closing, and now I actually HAVE the beta but I can't uninstall my old swype D: . I tried going thru with ADB and Root Explorer... It seems I deleted anything involved with Swype, BUT it's still in there somehow.
Shaquiel Harris said:
OK, so i installed the swype from stock espresso 2.1 ROM but it doesnt let me swype. tells me that its configured for a different device which is a fail honestly but how do i go along to delete it? Terminal or ADB commands would be nice because. Thanks fellas. i tried
rm -r /system/app/swype.apk
rm -r /system/app/com.swype.inputmethod
any other suggestions?
Click to expand...
Click to collapse
You have to do it via adb in while your phone is in recovery because our phones are s-on.
reboot into clockwork recovery, go into the partitions menu, mount /system, then in command prompt type
Code:
adb shell
rm /system/app/apkname.apk
If you're not sure what the exact name is do this:
Code:
adb shell
cd /system/app
ls
then it'll give you a list of all files in /system/app, type rm apkname.apk to remove it. Then reboot
MusicMan374 said:
You have to do it via adb in while your phone is in recovery because our phones are s-on.
reboot into clockwork recovery, go into the partitions menu, mount /system, then in command prompt type
Code:
adb shell
rm /system/app/apkname.apk
If you're not sure what the exact name is do this:
Code:
adb shell
cd /system/app
ls
then it'll give you a list of all files in /system/app, type rm apkname.apk to remove it. Then reboot
Click to expand...
Click to collapse
Ive tried that before (suggested by others) wouldnt work for me. I would always get a read only error. The cd /system/app ls command would run fine though :/
Sent from my T-Mobile myTouch 3G Slide using XDA App
guitarist5122 said:
Ive tried that before (suggested by others) wouldnt work for me. I would always get a read only error. The cd /system/app ls command would run fine though :/
Sent from my T-Mobile myTouch 3G Slide using XDA App
Click to expand...
Click to collapse
Were you in recovery? Another thing to try while in recovery and in adb shell, type this:
Code:
mount -o rw,remount /system
You might also try adb remount, not in shell, then go back into shell.

[Q] adb remount

Rooted with this method completely stock kernel...
Ok I am new to Samsung but not new to rooting and using adb. I have been searching and maybe I missed something but I can not get adb working properly on my phone and pc. adb remount does not work so I can not push any files over. I have tried all the methods with mount -o rw,remount -t yaffs2 ... etc...
I can get su permissions on the phone but it will not allow me to transfer any files over at all. I even tried to r/w permission with Root Explorer while connected to phone through cmd window and nada. I am not running CWM so I would like to push files over if I can. I have done it the root explorer way of copy and paste its just that way seems so sloppy to me.
Any help would be appreciated since I cant seem to find a method on the web that works for me
Thanks guys
How are you typing the push command? Remember there are 2 sdcards on this phone.
For the internal sdcard
Code:
adb push c:\this\place /sdcard
for the external sdcard
Code:
adb push c:\this\place /sdcard/external_sd
You *shouldn't* have to use mnt/sdcard/external_sd but give it a shot just to be sure.
Doesn't this phone have to be on for ADB to work? I thought I read that. Obviously that seems a bit odd since most have to be in recovery. Or am I wrong about the on part?
Lastly, if you can run 'adb shell' then use the 'cp' or 'mv' commands to get the files on there.
EDIT: Ok, I completely just misread your post. You're trying to write to the /system? Try mount -o remount,rw /system
I don't know why everyone uses the yaffs, mmcblk, and all the other craziness. You still mount /system just with more typing. Let me know if it works.
KCRic said:
How are you typing the push command? Remember there are 2 sdcards on this phone.
For the internal sdcard
Code:
adb push c:\this\place /sdcard
for the external sdcard
Code:
adb push c:\this\place /sdcard/external_sd
You *shouldn't* have to use mnt/sdcard/external_sd but give it a shot just to be sure.
Doesn't this phone have to be on for ADB to work? I thought I read that. Obviously that seems a bit odd since most have to be in recovery. Or am I wrong about the on part?
Lastly, if you can run 'adb shell' then use the 'cp' or 'mv' commands to get the files on there.
Click to expand...
Click to collapse
tried cp and mv still gave me problems moving file. I forget the error message I got. Also I know the proper push commands I used to do it with my Evo all the time. Its just that this phone wont let me mount system. What do you mean be on ADB?
playya said:
tried cp and mv still gave me problems moving file. I forget the error message I got. Also I know the proper push commands I used to do it with my Evo all the time. Its just that this phone wont let me mount system. What do you mean be on ADB?
Click to expand...
Click to collapse
I meant the phone needs to be on (with debugging selected) in order to use ADB and write to it. At least that's what I think I remember seeing. Could be wrong since I haven't used ADB with this phone yet.
KCRic said:
I meant the phone needs to be on (with debugging selected) in order to use ADB and write to it. At least that's what I think I remember seeing. Could be wrong since I haven't used ADB with this phone yet.
Click to expand...
Click to collapse
correct all that has been done... all the basics you can think of have been done but it just keeps failing on adb remount
adb shell
$ su
#
no problem now, at first yes but I still cant mount system... driving me nuts since I dont use Clockwork right now I want to push files over... and my software on my pc AndroidCommander says NORoot has been obtained....
I'm probably as new to this phone as you are. Mostly just dealt with HTC. Past this point I have no idea what's going on. I can write to my /system - no problem. Hopefully one of the more seasoned guys will jump in here soon. Sorry I'm not much more of a help.
KCRic said:
I'm probably as new to this phone as you are. Mostly just dealt with HTC. Past this point I have no idea what's going on. I can write to my /system - no problem. Hopefully one of the more seasoned guys will jump in here soon. Sorry I'm not much more of a help.
Click to expand...
Click to collapse
what method did you use to root with... Is it the same as what I used the deoxeded stock method I posted above
Did u try with the Odin method? way easier.
Sent from my Galaxy SII √Epic4G Touch
skykc0401 said:
Did u try with the Odin method? way easier.
Sent from my Galaxy SII √Epic4G Touch
Click to expand...
Click to collapse
Odin method to do what? root? If so that is how I rooted thanks
I downloaded an app on the market that fix it.. thanks guys

Categories

Resources