Droid Wont Load
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:
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.
Might be better posted in the Hack Forum....Ask a Mod to move this...
Well it appears my /system is completely empty besides the bin folder and 1 file.
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
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. :)
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!
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.
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?
Did you try setting the file permissions of the files on your sdcard?
chmod 6755 /sdcard/system/app/*
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
AllDroid.org - View topic - [UPDATE] boot.img, recovery.img, and system dump from Droid!
I think it has a system.img
Good luck. I hope you don't completely brick your phone.
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?