I recently updated my sdk but now i cant adb push anything. I know the directery has changed from "\tools" to "\platform-tools" but i can pull remount shell ect. but when i try to push i get the messege "Failed to copy blah to blah : Is a directory. anyone else have this problem and or know how to fix it?
If your trying to push to your sdcard than thats probably why, I dont think we were ever able to push to the sdcard but whats the point in doing so when you can just mount your sdcard when you plug your phone in
Related
my phone is looping because i intalled a theme and it had an error on the update. i was wondering is there a way to get the file that i downloaded which was JF from my desktop to my G1?
ADB is working when my phone is looping.
Thanks
EDIT: PLEASE MOD CLOSE THREAD THANKS
hey man,same thing happened to me once.Your best bet is to get the sd out and put it on their from a reader or something like dat.I took my sd out and stuck it in my girlfriends's g1 and dragged it on there like dat.hope that helps
Boot into recovery mode
Open cmd prompt, type
adb shell
echo /dev/block/mmcblk0 > /sys/devices/platform/usb_mass_storage/lun0/file
EDIT: Sorry forgot to mention this will mount your sdcard in windows through recovery mode.
The command to send your file from your computer to your SD card is in my thread here.
http://forum.xda-developers.com/showthread.php?t=517874
Code:
adb shell mount /sdcard
adb shell rm /sdcard/update.zip
adb push *filename* /sdcard/update.zip
brandenk said:
The command to send your file from your computer to your SD card is in my thread here.
http://forum.xda-developers.com/showthread.php?t=517874
Code:
adb shell mount /sdcard
adb shell rm /sdcard/update.zip
adb push *filename* /sdcard/update.zip
Click to expand...
Click to collapse
where do you have to put the file i have mines on my desktop do you have to put it in tools...Also do you have to mount it?
Never mind i got it you have to put the folder in sdk/tools..
Thank you all for your help...
THIS IS THREAD CLOSE
Edit: Nevermind this... I figured it out
A little help plz, how bout trying to push files to system\app? I'm trying to push HTC_IME.apk to system\app so I can use the new skin for it via Metamorph, But It says read only files... I already did remount but still didnt work... Anything I'm missing here?
I try to install apk packages like godzson dialer and clear_keyboard and i get errors.
I used apps installer and android dev
apps installer tells me It cannot install the app
android dev I run
adb install C:\clear_keyboard\system\app\HTC_IME.apk
I get
failure [install_parse_failed_unexpected_exception]
I searched for hours finding solutions that say i need to push the files to /system/apps and doing that there is permissions involved and I cant seem to touch anything in /system.
When I run chmod 777 /system i get an error saying unable to change read only file system.
I thought all of this was going to be simple tasks but it's getting really annoying any help would be greatly appreciated. Thanks for everything.
if yr installing through and use
Make sure phone is synced
Make sure app is in tool file I'd adk file
Make sure when at command prompt Ur in adk/tools file first
Adb remount
Adb push (app.apk) /system/(app/framework)
ok I figured out my problem but fixing it is going to be quite confusing. Looks like I would have to know a lot more than I do to fix it. Basically the adb is not reading the phone as root (or something like that). And the ro.secure is set to 1 which it should be set to 0 to be considerd root. So therefore I have to reinstall a bootimg. Ive been reading it on another forum page but i cant post it cause my account hasn't been verified yet. but it's this forum and here is the thread showthread.php?t=443041&page=2
but it's like french to me!!! If anyone can dumb this down for me I would really appreciate it lol thanks a lot you guys have been so much help in the little amount of time ive been a member to this forum. Thank you
redlinethecar said:
I try to install apk packages like godzson dialer and clear_keyboard and i get errors.
I used apps installer and android dev
apps installer tells me It cannot install the app
android dev I run
adb install C:\clear_keyboard\system\app\HTC_IME.apk
I get
failure [install_parse_failed_unexpected_exception]
I searched for hours finding solutions that say i need to push the files to /system/apps and doing that there is permissions involved and I cant seem to touch anything in /system.
When I run chmod 777 /system i get an error saying unable to change read only file system.
I thought all of this was going to be simple tasks but it's getting really annoying any help would be greatly appreciated. Thanks for everything.
Click to expand...
Click to collapse
First, put your apk's in your "C:\AndroidSDK\Tools\" Folder
Second open the cmd window and do "cd C:\AndroidSDK\Tools\"
Third do "adb remount"
Fourth "adb push xxxx.apk /system/app/"
that will install them
When remounting I get error
Code:
remount failed: Operation not permitted
but I continue anyway and the
Code:
adb push HTC_IME.apk /system/app
sends the file with no problem but it doesn't install it though.
Here are steps to do if it is not already installed on your phone. However, if it is you can not install when it is already there. I'm not sure how to remove in terminal and everything I've tried it tells me read only blah, blah, blah...
I tried mount -o remount,rw /system---that is suppose to work.
1.Make sure anything you want installed is in
the root of the sdcard..(/sdcard/nameoffile.apk)
2. Download a terminal emulator from the market.
If it installs continue..If not then continue on back to the thread.
3. Open up the terminal emulator. It should ask permission from SU. >Always allow
4. Now type the following
su (hit enter)
install /sdcard/name_of_file.apk /system/app/name_of_file.apk----if it is a system app
If it is a downloaded app then use /data/app
Ok.... well I tried that way also and I get the error
Code:
install: not found
I downloaded the terminal app from the market and entered the commands as you said for ex.
Code:
install /sdcard/HTC_IME.apk /system/app/HTC_IME.apk
Thanks a lot though I wish it could have been that easy.
Ok. So im touching up on my ADB. Messing around trying to transfer files and what not. Now when I try and push and file from my pc to my sdcard it errors me out saying Read-Only File System.
Command im doing is
adb push C:\Android\android.jpg /sdcard/android.jpg
Any ideas where im going wrong here? I have full root access, When I:
adb shell
su
I do not get permission denied... So dont get why this is happening.
Edit: Just looked more into it. I can push to the phone. Just not to the sdcard. I pushed to /data/local for giggles and it worked. Only gives me read only when pushing to the /sdcard.
Thanks for any info.
just tried mine and it worked fine. I first tried it with pushing a file from my sdk dir, and tried it with pushing a file from another directory on the drive. worked both times, not sure what to tell you.
p.s. I'm running the desire z rom
Yeah for some reason its only on the sdcard I cant write to.. USB Debugging is checked. Anyone have the slightest idea as to why I'm unable to write to my sdcard with this Read-only File system error?
Anyone know the shell command to mount the sd card as rw? Been trying to figure this thing out but it has me in a puzzle.
[G2/HTC Vision]
luis86dr said:
Anyone know the shell command to mount the sd card as rw? Been trying to figure this thing out but it has me in a puzzle.
[G2/HTC Vision]
Click to expand...
Click to collapse
Are you making sure that you don't have media mounted? That would screw up /sdcard. For me, it's "umount /media/*; eject /dev/sde" then on the G2 disable USB storage, wait for it to remount the SD card.
If that still doesn't work, what does "adb shell mount" tell you?
Normally, like with /system, it's "busybox mount -o remount,rw /system", but I've never seen /sdcard mounted readonly, unless there are I/O errors (it's mounted to remount ro on failure). Have you tried rebooting your phone?
luis86dr said:
Ok. So im touching up on my ADB. Messing around trying to transfer files and what not. Now when I try and push and file from my pc to my sdcard it errors me out saying Read-Only File System.
Command im doing is
adb push C:\Android\android.jpg /sdcard/android.jpg
Any ideas where im going wrong here? I have full root access, When I:
adb shell
su
I do not get permission denied... So dont get why this is happening.
Edit: Just looked more into it. I can push to the phone. Just not to the sdcard. I pushed to /data/local for giggles and it worked. Only gives me read only when pushing to the /sdcard.
Thanks for any info.
Click to expand...
Click to collapse
Is it possible that you are writing the command wrong? I noticed the slash is opposite on the second half of your command code.
C:\Android\android.jpg /sdcard/android.jpg
Click to expand...
Click to collapse
Figured it out. Had usb storage on. So it wouldn't push turned it off and I was able to push. Thx foe the info
[G2/HTC Vision]
And now my tab only does a boot loop. I cant copy the stock one back over with ADB keeps giving me permission denied. I've tried everything. Any ideas? The only thing done to my tab is the clubtech flashing method to make phone calls, and its rooted, but I cant get shell root
Help
Put it on an sdcard (I'm sure you have other android phones to mount it with, or use ADB if the tab has it mounted)
Code:
adb remount
adb shell
su
cp /sdcard/external_sd/framework-res.apk /system/framework/framework-res.apk
reboot
That should do it. I assume in this that framework-res.apk is on the external SD card, and that the US tab mounts it in the same place. You could aslo use adb to push framework-res.apk to /data/framework-res.apk, and copy it from there.
My problem is that I wasn't getting root in the adb shell, managed to fix that and pushed the framework to the system booted just fine. Thanks man
Sent from the Galaxy Tab, that makes phone calls
Hello All,
I am in a real bind here with my Thinkpad tablet. Lets just say i should have left well enough alone. Anyway, i have the
183925U tablet with A310_02_0039_0089_US that i originally rooted. I used titanium backup to remove some apps. When i
tried to update to ICS, it failed. At the time i read some forums and they said remove root with OTA and then update and
then use OTA to get root back. Tried that and it failed. I got a brilliant idea to remove root and do a factory restore
to hopefully get ICS to load. Now i have no root, cant downlaod anything cause i cant update, cant sideload and cant get
root back.
The update fails with assert check and goes on to say Music.apk cannot be found. I looked into how to reload or even copy
that file to the system but no matter what i try i get "Read Only File System" and i cant get past this. adb push does
nothing. i can push to /data/local but cant do anything with it from there
i can do the following:
adb shell
$su
#
and from there i have tried the mount -o rw remount /system and it seems to accept the command but the system wont let me
move or copy with mv or cat to the /system directory. Is there any way i can get past this? I really just want ICS stock
no root. Please help if you can. I am new so please be gentle and if you wouldnt mind spelling out any commands for me.
Thanks to anyone who can help me. Have a nice day