Kusher412
You could try to use root explorer (if you have it)
(or Antek Explorer *free* that I use)
and navigate to the... root/system/app ...folder.
Scroll down till you find Camera.apk (if that's what you deleted)
(*note* it should have a file below it called Camera.odx)
In Antek Explorer long click Camera.apk & choose "install"
(If asked what to use to install....choose "package manager")
If that method doesn't work-try to copy Camera.apk to the SD card and install from there.
I installed 5 app's like this that I accidentally deleted because I Froze them with Antek App Manager,then
I did a factory reset without thawing them first(oops) and they didn't come back as usual.
so I used this method to get them back...
the only problem was...
...they still got deleted again if I did a factory reset...
I noticed that the ones I previously deleted have two things in common...
1.) they are no longer recognized as system(sys) files even though they are in the system/app folder.
2.) the permissions on all the app's I recovered are now -rwxrwxrwx
meaning: (read/write/execute on everything)
Where,The permissions on intact app's were never touched are -rw-r--r--
meaning: (owner-read/write) (group-read) (other-read)
~*~*~~*~*~~*~*~~*~*~~*~*~~*~*~~*~*~~*~*~
I've found the perfect solution: to correct the permissions of the app to rw-r--r-- (the way it was originally)
1) first get your app installed. (as above)
2) Then to change permissions ...download Ghost Commander File Manager
https://market.android.com/details?id=com.ghostsq.commander&hl=en
its free, has the ability to mount/unmount & change file permissions (awesome!!) & so easy to use.
3) open ghost commander and (to make things easier) go right to its preferences on bottom.
check mark: two lines in a row (so you can see the files current permissions)
check mark: show root in the home view
check mark: root mode on leaving /sdcard
4) then from the home screen go into root mode
*tip* clicking on the folder/file Icon opens it.....clicking on the row only selects it.
on bottom menu (scroll to right) to "remount system" Click it to switch to rw mode ...while you alter the file.
("remount system" toggles between rw(read write) & ro(read only)
5) now navigate to system/app/ find the app you want to alter permissions on.
long click it and choose "chmod"
only check the boxes
user r w
group r
other r
press ok
then on bottom menu (scroll to right) to "remount system" Click it to switch back to ro mode
to exit program,
press menu on phone, click location..choose home and exit on bottom
(or just open keyboard and press zero)
here are some good links for more info
http://androidforums.com/droid-x-al...w-reinstall-system-apps-_as_-system-apps.html
What are CHMOD and File Permissions? - CHMOD Calculator (Chmod Calculator)
http://androidforums.com/behold-2-all-things-root/73177-understanding-android-file-permissions.html
shell@android:/system/app # ls -l -rw-r--r-- root root 694831 2011-08 - Pastebin.com ( android:/system/app permission list)