1. You want that $100.00 in your pocket or an Amazon Fire TV don't you? Well here's the deal. With our new updated look we are in desperate need of an updated logo. The 'old' one has certainly served us well, but it's time. Find all the details here: bit.ly/1q0k6Wa
  2. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

Droid Wont Load

Discussion in 'Android Hacks and Help' started by kingofdarkness6, Dec 14, 2009.

  1. kingofdarkness6
    Offline

    kingofdarkness6 New Member

    Joined:
    Dec 14, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Los Angeles
    Hey y'all

    I have run into a major problem. I am very good at figuring things out and I cant figure it out. I have the system dump for the 2.0.1. And I was trying to restore all the apps under /system/app because some were missing. When I did that, the droid freaked out and shut everything down, but i still had adb running. I tried going into the recovery and reformatting it but no luck.

    here is what i did:

    adb shell
    su
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
    cat /sdcard/system/app/* > /system/app/*

    After the last command, It freaked out and never came back. Any Ideas on what to do?

    Phone is not totally bricked, I have the custom recovery with busybox.
  2. Backnblack
    Offline

    Backnblack Premium Member Premium Member

    Joined:
    Nov 18, 2009
    Messages:
    11,263
    Likes Received:
    5
    Trophy Points:
    0
    Might be better posted in the Hack Forum....Ask a Mod to move this...
  3. kingofdarkness6
    Offline

    kingofdarkness6 New Member

    Joined:
    Dec 14, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Los Angeles
    Well it appears my /system is completely empty besides the bin folder and 1 file.

    I tried:

    adb push C:/TOOLS/system /system

    but everytime i reboot, the files disappear.

    when I try adb shell after the adb push i get:

    - exec '/system/bin/sh' failed: Permission denied (13) -

    Any Ideas? Im trying lots of things
  4. jinx10000
    Offline

    jinx10000 New Member

    Joined:
    Dec 10, 2009
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    0
    You are very lucky that you have the custom recovery. It is more than likely that you will be able to repair your phone.

    I don't know how to fix it from here but I will offer this advice. Don't try anything you don't understand, because there have been several people that got where you are and have completely bricked their phones.

    Edit: Please do yourself a favor and don't try lots of things... The person that is making the recovery images said he is going to add something to fix bricks like yours. Wait for it, or he may have already released it. :)
    Last edited: Dec 14, 2009
  5. jinx10000
    Offline

    jinx10000 New Member

    Joined:
    Dec 10, 2009
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    0
    From SirPsychos: AllDroid.org - View topic - Patched Recovery.img

    There is also a format utility now, which YOU SHOULD NOT USE UNLESS YOU KNOW WHAT YOU ARE DOING. It is capable of repairing a mtd device that has had its yaffs2 filesystem corrupted by attempting to flash it with flash_image, dd, or cat. That is its only purpose, but it would have saved several of the bricks I have seen. Anyway, enjoy!
  6. kingofdarkness6
    Offline

    kingofdarkness6 New Member

    Joined:
    Dec 14, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Los Angeles
    LOL well now half my phone works now. while in the adb push of the system files, it ran out of memory and didnt load everything.
  7. kingofdarkness6
    Offline

    kingofdarkness6 New Member

    Joined:
    Dec 14, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Los Angeles
    Do you happen to know if there is 2.0.1 system.img floating around?

    EDIT: Or if there is a way to create it?
  8. StiKemUp
    Offline

    StiKemUp New Member

    Joined:
    Nov 12, 2009
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Corona, CA
    Did you try setting the file permissions of the files on your sdcard?

    chmod 6755 /sdcard/system/app/*

    Edit:
    Also, the trailing * in your command will take everything from the /sdcard/system/app folder and rename it as * into your /system/app dir.

    Should do it as: cat /sdcard/system/app/* > /system/app
    Last edited: Dec 14, 2009
  9. jinx10000
    Offline

    jinx10000 New Member

    Joined:
    Dec 10, 2009
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    0
  10. kingofdarkness6
    Offline

    kingofdarkness6 New Member

    Joined:
    Dec 14, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Los Angeles
    Well, I am still having trouble. For some odd reason, I am getting this when i run adb shell:

    - exec '/system/bin/sh' failed: Permission Denied (13) -

    I reloaded the system with adb push system_dump system

    any ideas why its not working? or can someone give me a working system.img so I can flash system?

    EDIT: I got into the adb shell with a reboot, but nothing will start and the system looks fine.

    EDIT2: I can see all the files in the bin dir, like dmesg works, but it says certain files dont exist but they are there.

    EDIT3: If i try to su, it tells me its not there, but it is. could this problem be with busybox?
    Last edited: Dec 15, 2009
  11. kingofdarkness6
    Offline

    kingofdarkness6 New Member

    Joined:
    Dec 14, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Los Angeles
    I ran a dmesg and it telling me it cant find some files.

    EDIT: Or if anyone can send a nandroid backup my way, that would be awesome.
    Last edited: Dec 15, 2009
Search tags for this page
- exec system/bin/sh failed: permission denied
,

- exec /system/bin/sh failed: permission denied (13) -

,

adb push out of memory

,
adb push out of memory mount
,

adb shell

,
adb shell exec /system/bin/sh failed permission denied (13)
,
adb shell exec system bin sh failed
,
android permission denied 13 /system/bin/sh
,

droid wont load

,

exec /system/bin/sh failed: permission denied (13)

,
exec'/system/bin/sh failed: permission denied(13)
,
exec'/system/bin/sh failed:permission denied 13
,
help exec system/bin/sh failed:permission denied
,
repairing android that wont load
,
system bin sh permission denied