Recovery Image Trouble [Mac] - Hero CDMA General

Im having some serious trouble with loading a recovery image (recovery-RA-heroc-v1.5.2.img) onto my Hero. The device successfully roots but I just cant push the recovery image.
I know you are supposed to enable debugging after you mount the sd card, however, whenever i try to enable debugging with the sd card mounted it automatically ejects the drive. Anyone know how I can fix this? Ive tried a factory reset and I've erased and reformatted my sd card multiple times, but nothing fixes this. Ive rooted a Hero before which is why this is so frustrating, i just cant figure it out.
Here is the terminal error:
Eric-Highleys-MBP:tools erichighley$ ./adb push recovery-RA-heroc-v1.5.2.img /sdcard/
failed to copy 'recovery-RA-heroc-v1.5.2.img' to '/sdcard//recovery-RA-heroc-v1.5.2.img': Permission denied
Eric-Highleys-MBP:tools erichighley$
Eric-Highleys-MBP:tools erichighley$ ./adb shell
$

booyakasha said:
Im having some serious trouble with loading a recovery image (recovery-RA-heroc-v1.5.2.img) onto my Hero. The device successfully roots but I just cant push the recovery image.
I know you are supposed to enable debugging after you mount the sd card, however, whenever i try to enable debugging with the sd card mounted it automatically ejects the drive. Anyone know how I can fix this? Ive tried a factory reset and I've erased and reformatted my sd card multiple times, but nothing fixes this. Ive rooted a Hero before which is why this is so frustrating, i just cant figure it out.
Here is the terminal error:
Eric-Highleys-MBP:tools erichighley$ ./adb push recovery-RA-heroc-v1.5.2.img /sdcard/
failed to copy 'recovery-RA-heroc-v1.5.2.img' to '/sdcard//recovery-RA-heroc-v1.5.2.img': Permission denied
Eric-Highleys-MBP:tools erichighley$
Eric-Highleys-MBP:tools erichighley$ ./adb shell
$
Click to expand...
Click to collapse
you cant have the card mounted and have it debugging at the same time once you mount the card it treats it just like any other removable storage device.

wtphoto said:
you cant have the card mounted and have it debugging at the same time once you mount the card it treats it just like any other removable storage device.
Click to expand...
Click to collapse
so when i go to push the recovery i dont mount the sd card (i.e. no drive visibile on the desktop), just enable debugging?

wtphoto said:
you cant have the card mounted and have it debugging at the same time once you mount the card it treats it just like any other removable storage device.
Click to expand...
Click to collapse
shiiiiit i think that worked....ive only been trying to figure this out for 4+ hours. thanks a lot man

booyakasha said:
shiiiiit i think that worked....ive only been trying to figure this out for 4+ hours. thanks a lot man
Click to expand...
Click to collapse
lol no problem I made the same mistake the first coiple times I re-rooted my phone.

Related

SD card won't mount...

Kind of a newb here, but got mine rooted and got clockworkmod installed, seems to be working, but now I cant get my sd card to mount on my computer or on the phone... on the computer it just won't show up, even when I put the phone in the right mode, and the directory for the card will show up in clockwork, but whenever I try to load anything with clockwork(dl09_2.zip) i get a looping error that it can't mount the directory, eventually timing out saying:
E:Can't mount SDCARDL09_2.zip
Installation Aborted
E:Can't mount /devblock/mmcblk0 (or dev/block/mmcblk0p1)
(Device or resource busy)
It does exactly the same thing with both of the .zip I put on the SD card, before the computer stopped mounting it.
Any ideas?
Try rebooting the phone while its plugged in to the computer.
There are issues with CWM in 2.2.
Look for JT's patch to clockwork in dev or use Neumann.Tim's recent link to it in Repaz's tons of trouble thread
Swyped w/ XDA App. When in doubt, mumble.
Got the sd card to mount on the computer (I think that was a silly mistake of not properly un-mounting it in windows)
I am not using 2.2 though... and still having getting the error whenever I try to load any rom from CWM, it cannot mount the sdcard, says device or resource is busy. Any ideas? anyone?
Ug! I can load apk's with astro... so the phone will talk to the sdcard... I guess I will try to re-install the rom manager? anyone have any ideas?
tempestterror said:
Ug! I can load apk's with astro... so the phone will talk to the sdcard... I guess I will try to re-install the rom manager? anyone have any ideas?
Click to expand...
Click to collapse
I had the exact problem as you. After reading 100s of messages I found one that said to reformat the SD card. I copied the sd card files to computer, formated the card, and moved the needed ROM files back to the card. Downloaded Rom Manager/clockworkmod again. It was then able to mount the SD card and installed. Just copy the the rest of the files from computer to SD card.
Worked for me, YMMV.
I didn't reformat, but I did delete the rom manager and the copy of update.zip on the sd card, then used the CWRecovery.tar and redownloaded the app, and it works!

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.

Unable to push rom to device after having formatted internal SD card using CWM

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!!

adb push permission denied on /storage/extSdCard/

Hi
I formatted my external SD card as it came from and old phone and wanted to reuse it in my galaxy S4.
I am trying to push some file using adb:
> adb push foo.txt /storage/extSdCard
However ... it does not work ...
failed to copy 'foo.txt' to '/storage/extSdCard/foo.txt': Permission denied
After some googling, I found the discussion below:
http://forum.xda-developers.com/showthread.php?t=2178355
the process suggested there does not work (as is mentioned in that thread at the end).
Any idea how this can be fixed?
p.s. My phone is rooted and I have CWM installed. So I can push files to the external SD card in recovery. Not a very big deal but I would rather be able to push file to the external sd card as well when the phone is operating normally.
I think push function doesn't work .I tried pushing to system even its read&write it says Permission Denied.
Sent from my GT-I9500 using Tapatalk 4
Styrke said:
I think push function doesn't work .I tried pushing to system even its read&write it says Permission Denied.
Sent from my GT-I9500 using Tapatalk 4
Click to expand...
Click to collapse
Same here. Anyway, I found a nice workaround. I installed following app from the market:
https://play.google.com/store/apps/details?id=com.mohammadag.samsungusbmassstorageenabler
Allows to enable mass storage USB.
With this enabled, I can simply see my external SD card as a file system under Ubuntu. Easy enough and will do for me for the time being.

Help! Screen dead, but turns on.

I cannot get into phone at all. Screen is not responding. I want to mount my SD card to get my crap off, but I can't get to homescreen to allow PC to mount the drive. I booted to recovery and TWRP is not accepting touch either. Any idea how I can get my stuff off this phone? I can't take to a place to have repaired due to sensitive data I can't have out of my site.
EVOme said:
I cannot get into phone at all. Screen is not responding. I want to mount my SD card to get my crap off, but I can't get to homescreen to allow PC to mount the drive. I booted to recovery and TWRP is not accepting touch either. Any idea how I can get my stuff off this phone? I can't take to a place to have repaired due to sensitive data I can't have out of my site.
Click to expand...
Click to collapse
Are you familiar with 'adb pull' command? I'd do that command to pull everything on the SD card and then restore the phone with LG flash tools.
xxxrichievxxx said:
Are you familiar with 'adb pull' command? I'd do that command to pull everything on the SD card and then restore the phone with LG flash tools.
Click to expand...
Click to collapse
No, but I will google it. You think that will work? Am I pull root and below or do you choose folders to pull?
EVOme said:
No, but I will google it. You think that will work? Am I pull root and below or do you choose folders to pull?
Click to expand...
Click to collapse
You can choose folders to pull but it'll be easier to just 'adb pull /sdcard/ C:\User\Destination\folder' and that will pull everything from the SD card to a folder
I've done that many times, the only thing it didnt work was when it wanted to pull a file with Cyrillic or arabic letters it would not pull those files.
http://forum.xda-developers.com/showthread.php?t=2660266
If you find it is an actual issue with the screen and not software based here is th thread i did when I replaced my whole LCD/Digitizer/Screen. Doesn't sound like a hardware problem but just in case...

Categories

Resources