10-24-2011 10:36 PM
129 1234 ...
tools
  1. tototoro's Avatar
    hello,
    This is the first time im trying to hack my phone.
    I followed all the steps listed and get stuck on step 8. When i try to push the Recovery file to the card, I get the following error:

    Adams-MacBook-Pro:tools Adam$ ./adb push recovery-RA-heroc-v1.5.2.img /SDCARD
    failed to copy 'recovery-RA-heroc-v1.5.2.img' to '/SDCARD': Read-only file system

    USB debug mode is on. Ive mounted and unmounted the sdcard numerous times. Ive reformated and deleted everything. The card has read and write access when i check info.

    I have no idea what to do. Please help.
    05-07-2010 04:28 PM
  2. beezy's Avatar
    hello,
    This is the first time im trying to hack my phone.
    I followed all the steps listed and get stuck on step 8. When i try to push the Recovery file to the card, I get the following error:

    Adams-MacBook-Pro:tools Adam$ ./adb push recovery-RA-heroc-v1.5.2.img /SDCARD
    failed to copy 'recovery-RA-heroc-v1.5.2.img' to '/SDCARD': Read-only file system

    USB debug mode is on. Ive mounted and unmounted the sdcard numerous times. Ive reformated and deleted everything. The card has read and write access when i check info.

    I have no idea what to do. Please help.
    Don't mount the sdcard.Make sure recovery iimg is in the tools folder.
    05-07-2010 04:47 PM
  3. MIG106's Avatar
    Check to make sure the files are labeled correctly, also. My image file was v152, not v1.5.2 as noted in the code.

    In the process of doing mine now
    05-07-2010 05:23 PM
  4. MIG106's Avatar
    Huh, go figure I'm having my own problem with that step though. I get...

    failed to copy 'recovery-RA-heroc-v152.img' to '/sdcard/recovery-RA-heroc-v152.img': Permission denied

    The phone is not mounted, and debugging is on. Any thoughts? Can I just mount the phone quick and put the image on the sdcard myself, or no?
    05-07-2010 05:30 PM
  5. beezy's Avatar
    try adb in superuser mode
    05-07-2010 05:45 PM
  6. MIG106's Avatar
    Okay so I type su in terminal on my mac. It asks me for a password. I tried my general computer password, but that isn't it. Not sure what password it is.
    05-07-2010 05:48 PM
  7. Andrew Ruffolo's Avatar
    try adb in superuser mode

    To do so:
    ~tools/: sudo ./adb push recovery-RA-heroc-v1.5.2.img /sdcard/

    remember to replace 1.5.2 to 152 if thats how its named.
    05-07-2010 05:53 PM
  8. MIG106's Avatar
    I'm an *****. I had ejected the drive from my computer, but didn't know that I had to then unmount from the phone as well.

    Hope that fixes it for me!
    05-07-2010 05:53 PM
  9. Andrew Ruffolo's Avatar
    its your system password
    05-07-2010 05:54 PM
  10. Andrew Ruffolo's Avatar
    it should, i haven't had to run terminal in superuser mode on mac, but its possible
    05-07-2010 05:54 PM
  11. MIG106's Avatar
    THat fixed it, and I'm making my Nandroid backup right now. Thanks for your help.

    After the backup is completed, I want to put a copy of that on my computer for safe keeping, right? I'll need to mount the phone, transfer it, then unmount the phone?

    Also, if I don't care about Apps2SD, can I bypass that step even though it's built into the ROM I plan on using ("option 4" the lite version)?
    05-07-2010 06:05 PM
  12. Andrew Ruffolo's Avatar
    Yeah. Your don't even have to boot the phone to transfer it.
    I love the USB-MS Toggle in the recovery. It mounts the sd to the computer so you can copy/paste or drag and drop as you wish.
    05-07-2010 06:12 PM
  13. tototoro's Avatar
    ok. unmounted the card. reformatted it through the phone itself. debugging mode activated. now i get the same thing as mig106:

    failed to copy 'recovery-RA-heroc-v1.5.2.img' to '/sdcard/recovery-RA-heroc-v1.5.2.img': Permission denied

    and for some reason I can't get into su mode because terminal does not accept my password. It should be the same as my user admin password, right?

    grr
    05-07-2010 06:41 PM
  14. MIG106's Avatar
    It didn't accept my admin password, either. But I got around it by unmounting the connection from both my computer and my phone (the drop down menu). Did you do both of those?

    I ended up partitioning my card anyways (eh what the hell), flashed the ROM, and am in the process of setting everything back up!
    05-07-2010 06:52 PM
  15. MIG106's Avatar
    BTW, loving it so far. Thanks for everyone's help.
    05-07-2010 06:55 PM
  16. Andrew Ruffolo's Avatar
    ok. unmounted the card. reformatted it through the phone itself. debugging mode activated. now i get the same thing as mig106:

    failed to copy 'recovery-RA-heroc-v1.5.2.img' to '/sdcard/recovery-RA-heroc-v1.5.2.img': Permission denied

    and for some reason I can't get into su mode because terminal does not accept my password. It should be the same as my user admin password, right?

    grr
    Did you unmount it from the phone as well? Pull down the notifications and select the usb one and it should ask you to unmount.
    05-07-2010 08:23 PM
  17. BlackD's Avatar
    rufflez,

    You are the man. Easy to follow steps and right to the point.

    Just rooted yesterday to 2.1 and is great, I even find it running smoother.
    05-08-2010 09:01 AM
  18. SANTI's Avatar
    I tried to flash my phone from the Sprint Exploit .zip, and it keeps saying that it failed verification. Am I flashing the wrong file or what?
    05-09-2010 02:24 PM
  19. SANTI's Avatar
    Nevermind. I just downloaded the 2.1 update from XDA and flashed it. Thanks for your guide.
    05-09-2010 02:44 PM
  20. cle0950's Avatar
    Any one available to help. I am getting access denied when I trying and do the recovery portion?
    05-11-2010 08:53 PM
  21. cle0950's Avatar
    * daemon not running. starting it now *
    * daemon started successfully *

    I am not showing this but my device does show up with serial number. Anything wrong with this?
    05-11-2010 09:06 PM
  22. Andrew Ruffolo's Avatar
    * daemon not running. starting it now *
    * daemon started successfully *

    I am not showing this but my device does show up with serial number. Anything wrong with this?
    Nope, means it was already started. Proceed as long as you got your serial number.
    05-11-2010 09:19 PM
  23. cle0950's Avatar
    getting stuck at this step, phone won't reboot:
    xxxxxxx-xxxxxxx-computer:tools xxxxxx$ ./ adb shell reboot
    -bash: ./: is a directory
    Andrew Ruffolo likes this.
    05-11-2010 10:21 PM
  24. Andrew Ruffolo's Avatar
    Sorry, fixed the tutorial, good catch!
    There should never be a space between ./ and adb.
    05-11-2010 10:28 PM
  25. cle0950's Avatar
    Finally rooted. I big thanks to Rufflez for all his help.
    05-11-2010 11:10 PM
129 1234 ...
LINK TO POST COPIED TO CLIPBOARD