Unable to push rom to device after having formatted internal SD card using CWM - Nexus 10 Q&A, Help & Troubleshooting

After having formatted my internal sdcard, I'm unable to flash any rom. I've installed cwm revorery and would like to push a rom to the sdcard in order to be able to flash it, because right now theres nothing on my card (its totally formatted without any system on it).
When i try to push a file via toolkit to the internal sdcard there appears the following error message:
- exec ' /system/bin/sh' failed: No such file or directory (2) -
Can anybody help me out with this issue?

It looks like the error is saying it is missing a file in /system/bin/, which makes sense since internal storage is completely wiped.
Just start a command prompt in Windows and change directory to where adb.exe is in the android sdk. Then copy the ROM you want to install into the same directory as adb. Use the command "adb push blahblahblah.zip" to push the ROM from your PC to the internal storage. Obviously replacing blahblahblah.zip with whatever the ROM filename is.
Toolkit's can be handy, but before you use one you need to know how to unlock your phone and copy files to/from your device without a toolkit. So that way when problems arise you know what probably went wrong and how to fix it.

Probably not really helpful, but I was able to push files to /sdcard when I wiped all options and formatted Data with TWRP.

Same problem here
Please help us. I accidentally did the same. Now I can't copy file to the device. CWM is still functioning but there is nothing left to flash.

kimezra said:
Please help us. I accidentally did the same. Now I can't copy file to the device. CWM is still functioning but there is nothing left to flash.
Click to expand...
Click to collapse
Just flash TWRP recovery via Fastboot then mount the SD card as USB storage. Once you have done this you can copy a new Rom over and flash it.

Thanks for your quick reply!
EniGmA1987 said:
It looks like the error is saying it is missing a file in /system/bin/, which makes sense since internal storage is completely wiped.
Just start a command prompt and change directory to where adb.exe is in the android sdk. Then copy the ROM you want to install into the same directory as adb. Use the command "adb push blahblachblah.zip" to push the ROM from your PC to the internal storage. Obviously replacing blahblahblah.zip with whatever the ROM filename is.
Toolkit's can be handy, but before you use one you need tokn ow how to unlock your phone and copy files to/from your device without a toolkit. So that way when problems arise you know what probably went wrong and how to fix it.
Click to expand...
Click to collapse
You're right! I've learned that by wasting hours..
How do I change directory to where adb.exe is? what is android sdk? I'd be very happy if you could explain me some of the steps to achieve that or lead me to a tutorial where I can learn it.
Thanks again!

dr9722 said:
Just flash TWRP recovery via Fastboot then mount the SD card as USB storage. Once you have done this you can copy a new Rom over and flash it.
Click to expand...
Click to collapse
Thanks a lot for your reply!!
Would you mind telling me how to flash twrp recovery via fastboot?
Thx in advance!

http://forum.xda-developers.com/showpost.php?p=37019359&postcount=10
Also:
Once you are in a ROM again, download GooManager and look on Google for the easy steps to flashing TeamWinRecoveryProject.

Thank you so much EniGmA1987!! This is awesome!
It finally worked out for me! BIG THANKS!

Your welcome
Was it easy enough even without the use of a toolkit?

Your tutorial is very clear and easy to understand. I followed all the steps, but still couldn't find the pushed ROM on my SD card (after having waited for about 5 minutes). So I mounted all you can with cwm and used the toolkit - and it worked! Probably it was the directory that was set right after having followed your tutorial. Thanks again!!

Related

HELP!!! screwed up my MyTouch 3G

I have the MyTouch 3G with the Cyanogen Recover 1.4.
I had the latest CyanogenMod 4.2.7 with no problems. I tried applying the Enoch theme 1.4.7 and it put my phone in a boot loop. I tried factory wiping. I don't have access to any of the cyanogenmod zip files on my SD card because the Cyanogen Updater doesn't put it on the root directory of the SD.
So is there a way to fix this? Get back to any build of the phone to work? Can I access the SD card if I connect it via USB to my PC? PLEASE HELP!!!!
dannyfal!
i don t know if I undersoot you fully.BUT>>>> sometimes the SD card plays crazy,or get dammaged easy.In case you see the files on a computer but your phone is unable to read them is no big problem.If your phone is in bootloader mode and stucked there,it is a bit bigger problem.Have you ever applyed the hard reset ???It helps a lot.After that the SD card recognized by the phone as memory card2.So the phone is looking for the simple name SD MMEMORY.Or sd card.This is just matter of time.You give a name ending sd crad.bat and you can erase this bad sector data.In this case you might loose the program and your important data with it.BUT>>> you save sd card,and other files on it.
If you can t make it work coz your phone is in boot loader modus,than you need professional help.And a new rom update.
helos * hopr helped somehow*
dannyfal said:
I have the MyTouch 3G with the Cyanogen Recover 1.4.
I had the latest CyanogenMod 4.2.7 with no problems. I tried applying the Enoch theme 1.4.7 and it put my phone in a boot loop. I tried factory wiping. I don't have access to any of the cyanogenmod zip files on my SD card because the Cyanogen Updater doesn't put it on the root directory of the SD.
So is there a way to fix this? Get back to any build of the phone to work? Can I access the SD card if I connect it via USB to my PC? PLEASE HELP!!!!
Click to expand...
Click to collapse
You can enable usb mode in Cyanogen's recovery image by connecting the usb cable, dropping in to the console and typing (without quotes) "ums_enable" move your ROM and when you're done "ums_disable"
then "reboot recovery" and reflash.
If you don't have a computer you can use the console to my the files.
mount /sdcard <- Mounts the fat32 partition
ls <- See what files/folders are in the current directory
cd nameoffolder < change directory
then once you're in the folder where the ROMs are stored (cm-update, I believe) you can either move or copy them to the root.
use 'ls' again to find the filenanme of the ROM you want to copy/move..
cp name-of-rom.zip /sdcard <- to copy the ROM to the root, or use 'mv' to move the file.
EDIT: I am an idiot. You're on a MyTouch so you can't use the console in recovery. In that case connect your phone to your computer (which has the sdk setup with drivers) and type the commands I stated about after 'adb shell'

Can not root with Classical Method!!

This question may have been answered before but I just cant find it here.
I tried rooting my vibrant with the classic method described here.
http://forum.xda-developers.com/showthread.php?t=723479&highlight=issues+rooting+vibrant
It didn’t work and I got the following message:
E: can’t open /sd card/update.zip
(no such file or directory)
Installation aborted
I copied the update.zip file in DCIM of internal memory card and was still getting the same message.
I copied the update.zip file into my sd card and still got the same message.
I followed the steps exactly as they have been described in the rooting thread.
I haven't tried the one click root method yet.
Would anyone know what seems to be the problem.
Thanks.
You have to replace the update.zip file and flash it with recovery.
Sent from my SGH-T959 using Tapatalk
Are you saying I have to replace with a new update.zip file and repeat the method again?
I was doing it in recovery mode.
Use the one click method. You can find all the info on unlockr.com in the--how to -- (they have a nice video) If it doesn't work then you will need to flash back the T959UVJFD stock through Odin. Look in the bible or search in this website.
Why is your update.zip in DCIM? Download that one from the forum post, rename it to update.zip, and copy it to the root directory of your sd card.
Yea replace the update.zip with a modified one that gives you root access. Its should be on the bible(stickie post) and Recovery mode is correct.
Sent from my SGH-T959 using Tapatalk
Sdobron said:
Why is your update.zip in DCIM? Download that one from the forum post, rename it to update.zip, and copy it to the root directory of your sd card.
Click to expand...
Click to collapse
Can you explain what is the root directory of internal sd card where I need to place the update.zip file?
Yea replace the update.zip with a modified one that gives you root access. Its should be on the bible(stickie post) and Recovery mode is correct.
Click to expand...
Click to collapse
Now my computer isn't recognizing the phone when I mount the sd card. It tries to install drivers for the phone and can not.
Ok, by root directory they just mean the internal 16gb memory.
Ok look, download update.zip. Rename it to "update" without the quotation marks. If you are running windows 7 you dont have to add ".zip" windows knows it is a .zip file, so again just name it update and windows and your phone will automatically know it is update.zip. maybe the problem is you are naming it "update.zip" and your phone is reading it as "update.zip.zip"
Anyways, I don't know why your drivers don't work, but once you get your computer to recognize your phone. Mount your phone to your computer.
Then go to your internal memory, the 16gb one, not the external sd card.
Now, DON'T GO INTO any folders, the root is just the internal memory, again don't go into any folders. Place the "update" file into the internal memory, don't place it into any folder.
Reboot your phone into recovery mode, and then reinstall packages.
good luck.
SamsungVibrant said:
Ok, by root directory they just mean the internal 16gb memory.
Ok look, download update.zip. Rename it to "update" without the quotation marks. If you are running windows 7 you dont have to add ".zip" windows knows it is a .zip file, so again just name it update and windows and your phone will automatically know it is update.zip. maybe the problem is you are naming it "update.zip" and your phone is reading it as "update.zip.zip"
Anyways, I don't know why your drivers don't work, but once you get your computer to recognize your phone. Mount your phone to your computer.
Then go to your internal memory, the 16gb one, not the external sd card.
Now, DON'T GO INTO any folders, the root is just the internal memory, again don't go into any folders. Place the "update" file into the internal memory, don't place it into any folder.
Reboot your phone into recovery mode, and then reinstall packages.
good luck.
Click to expand...
Click to collapse
Nevermind. But thanks alot for your response and help. After looking around to find some alternative ways to root..I finally was able to root my vibrant using the method described
HERE
In the end, rooting was as easy as installing a simple app.
Now im going to do some research on ROMs and hopefully flash before doing titanium backup.
sLiKK said:
Nevermind. But thanks alot for your response and help. After looking around to find some alternative ways to root..I finally was able to root my vibrant using the method described
HERE
In the end, rooting was as easy as installing a simple app.
Now im going to do some research on ROMs and hopefully flash before doing titanium backup.
Click to expand...
Click to collapse
Ok, make sure you do lots of research. Read the bible, every last word of it.
Don't ever try to downgrade from 2.2 to 2.1 without having the proper 2.1 kernal, becareful with lagfix such as voodoo, and learn odin.
good luck
I have run into another issue. I can not mount my phone to computer.
With USB Debugging off... I dont even get a notification in the slide down menu asking me to either mount/unmount.
With USB Debugging on... I do get the option in slidedown menu to mount my phone. At the same time the computer shows a pop up message asking me to install driver software for Samsung_Android. In the meantime , I press mount sd card which by the way is still not recognized by the computer.
I dont have the driver for samsung_android to install on the computer.
Does anyone know a potential fix for this situation.
Thanks.

ClockworkMod and mounting USB?

Hey all,
So I just ran ClockworkMod (2.5.13) and wiped my Vibrant in preparation for the new Bionix. I have found that on my phone I had to wipe sdcard too or it wouldn't wipe fully. The problem: ClockworkMod won't let me mount USB storage or mount sdext so I can't figure out how to get the new ROM on the phone. Voodoo is also enabled and I can't seem to disable it without a working ROM on the phone.
When I plug the phone into my PC the "H" and "I" drives automatically pop up but are inaccessible. Mounting USB storage in ClockWorkMod appears to do nothing.
Any ideas? Thanks!
ohhhhhhhhh
I had the same problem last night but i thought my PC was acting up. I guess it has to do with CWM, but idk why.
What i did was copy the ROM on my external sd card, then put it on the phone and move them to internal sd card
Hope that help
you can use adb to push file to your phone.
Djapatos said:
I had the same problem last night but i thought my PC was acting up. I guess it has to do with CWM, but idk why.
What i did was copy the ROM on my external sd card, then put it on the phone and move them to internal sd card
Hope that help
Click to expand...
Click to collapse
CWM won't let me mount SDEXT. Is there something special I have to do to get this to work?
You may have to pull the sd card and use an external card reader.
Sent from my SGH-T959 using XDA Premium App
ADB did the trick. I didn't realize it could push to the phone like that. Easy cheesy. Thanks!
And as for external SD card reader - this doesn't do anything to help transfer a file to the phone. Recovery was unable to mount SDEXT. I can't find any documentation on the matter, but I assume this is a Vibrant-related issue?
Hi, I just have the exact problem on my galaxy note. Trouble is that I can't find a way to connect to my phone through ADB. It just isn't listed when I type "adb devices". I would appreciate any help so I could "push" a rom and be done with it.
demircantas said:
Hi, I just have the exact problem on my galaxy note. Trouble is that I can't find a way to connect to my phone through ADB. It just isn't listed when I type "adb devices". I would appreciate any help so I could "push" a rom and be done with it.
Click to expand...
Click to collapse
Check Applications/Development/Enable USB Debugging. If that is on, make sure you have the necessary drivers on the PC.
As for mounting via CWM, that should work if CWM gives the option. Again, check drivers on PC.

[Q] SD card issues after root

Hope someone can help, I have achieved root (have the super user option from apps etc) When I boot into clockwork, I am unable to install updates as it always fails to mount my sd card. From what I have read, it seems to be because the transformer is topsy turvy with it folder naming, it is not looking at the card but the system storage. I can see no way to fix this so I am looking at another option.
Is it possible to push updates from my PC when connected to the transformer? I have the file recovery-3.1.0.1-solarnz-R3-240511-1908, in zip format, could someone tell me the commands I would need in order to push and install this file?
Thanks
lrthumwood said:
Hope someone can help, I have achieved root (have the super user option from apps etc) When I boot into clockwork, I am unable to install updates as it always fails to mount my sd card. From what I have read, it seems to be because the transformer is topsy turvy with it folder naming, it is not looking at the card but the system storage. I can see no way to fix this so I am looking at another option.
Is it possible to push updates from my PC when connected to the transformer? I have the file recovery-3.1.0.1-solarnz-R3-240511-1908, in zip format, could someone tell me the commands I would need in order to push and install this file?
Thanks
Click to expand...
Click to collapse
To install updates you need a micro SD card.

Cannot transfer files to my device via TWRP Mount (MTP) :(

Hey guys!
im in a serious condition right now and i really need your help,
I've wiped everything on my device, and wanted to copy my new rom and install it from scracth (not my first time doing so).
So after the wipe i've used TWRP mount with MTP as usual, and pc indeed recongized my empty internal storage.
but than i discovered i cannot copy anything to it! the copying proccess just stuck as if its not really recongizes my device!
I basically don't have a phone right now, and have no idea whats my next step.
please help ! :crying:
Update: I've tried copying no limit's rom via sideload but it says "cannot read zip file"
I had a similar problem yesterday i guess i made some mess inside the "mount" option. I solved that way: switched the mtp enabled and then i reboot the twrp, right at the the reboot swipe to allow modification and that's It. Pc now can see and transfer file in the phone

Categories

Resources