Deleted Phone.apk - Samsung Galaxy Player 4.0, 5.0

I deleted my the Phone.apk file on my rooted Galaxy Player 4.0 (YP-G1CWY/XAA) running the stock rom awhile back to save on battery life.
I have done the same thing on my Nook Color, and figured that it wouldn't cause any problems, as the Player isnt a phone.
Recently tried to record some video, and found I was unable to do so. After doing some research I found out that deleting phone.apk causes the stock camera app, but not 3rd party camera apps, to stop functioning.
While I was sure to backup the file when I originally deleted the file, the backup has been lost in the intervening months.
Do I just need to find a specific phone.apk file for my device and return it to the correct directory?
I assume a factory reset will solve the problem, but I would rather not try that unless I have to.
Thanks!

a factory reset will not solve the problem, since it was a system .apk it will reset everything except for that particular apk.

heet1 said:
a factory reset will not solve the problem, since it was a system .apk it will reset everything except for that particular apk.
Click to expand...
Click to collapse
In which case do I need to track down a copy of that specific apk or will I need to download odin and perform a full recovery?

put back the phone.apk file back on your device. Go to a ROM(best if its that ROM you are using) Find the phone.apk, and take it out. Then transfer it into your device, and use Root Explorer or something and put back phone.apk.

i dont think that will work because i uninstalled the screencapture.apk from my 5.0 and i backed it up so i tried to reinstal and it would not let me... but try aznflawless' way first if not you may want to flash a stock based rom...

heet1 said:
i dont think that will work because i uninstalled the screencapture.apk from my 5.0 and i backed it up so i tried to reinstal and it would not let me... but try aznflawless' way first if not you may want to flash a stock based rom...
Click to expand...
Click to collapse
I put screencapture.apk from stock rom 2 chip rom because it was missing and worked normaly..just copy it 2 root/system/app ..dont install it.
Sent from my GT-I9000 using XDA

aznflawless said:
put back the phone.apk file back on your device. Go to a ROM(best if its that ROM you are using) Find the phone.apk, and take it out. Then transfer it into your device, and use Root Explorer or something and put back phone.apk.
Click to expand...
Click to collapse
This seemed to work for me!
I tried looking in various roms before, but they were all formatted for flashing with odin.
I should have just went straight for the cwm package. *slaps forehead*
Thanks so much!

i shall try that sir thanks

As others said... find the phone.apk... preferably from the same rom you are using... use RootExplorer and copy the phone.apk to the system/apps folder. Change the permissions to match the other apps in that folder... reboot and you are good to go.
For your future reference, it is not a good idea to delete system apps without knowing what they actually do... I think you made a real good guess since phone.apk should not be on a device that is actually not a phone by function. For example, the Android Market app is actually called phonesky.apk or vendor.apk... nothing like what you would normally guess it to be, such as market.apk or something to that matter. So if I were you and I wanted to keep using my device and not brick it, I would becareful what I delete out of /system and it's sub folders...
Good luck...

Try to reinstall your custom rom!!

OrglCe said:
Try to reinstall your custom rom!!
Click to expand...
Click to collapse
this is a thread from august of 2012. please dont go digging through old threads and posting on them

Related

[Q] Replacing Contacts.apk removed my Contatcs and Phone apps from device

Hope i'm not "noobing" here but..
I use SGSII with Litening Rom 6.1
I found a Contacts.apk which fits all SGSII roms that adds Hebrew letters to the letters bar for fast searching a contact
Used Root explorer to replace the old Contacts.apk (did backup the old one to another folder of course) and perfomed a reboot
When the device started, I had no "Phone" and "Contacts" shortcuts at the bottom and everything related to Contacts app did FC
I guessed it was a faulty apk so I restored the old one and rebooted but got the same result: no "Phone" and "Contacts"
of course that before all that I did a full backup with the recovery console so everything's back to normal.. did the same procedure again and got the same result...
am I missing here something? Should I do anything else other then simply replace the apk and reboot? (most of the threads are not stating other steps )
Please help
Thank you
No, you did not miss anything the usual step is to install the apk and reboot.
It might be the apk was not designed for the S2 because it corrupted your phone. Some apks on the market are not designed for all android phones but specific to a model because it contains code that is not on other phones.
Cosmic Blue said:
No, you did not miss anything the usual step is to install the apk and reboot.
It might be the apk was not designed for the S2 because it corrupted your phone. Some apks on the market are not designed for all android phones but specific to a model because it contains code that is not on other phones.
Click to expand...
Click to collapse
I assume that i haven't did nothing wrong but why would restoring the original one did not fix it? that's my actual question
As the download apk that may have been designed for different may have changed some values that were not only associated with the contacts and phone.
because not all the modifications the apk installed on your phone where erased when you tried to restore the old apk.
The only way pnly way to guarantee every thing is deteled is to to do a factory reset or in your case flash your back up which will wipe your phone and reset to stock for that firmware.
This could be a good hint, although i DID notice "fits all S2 custom roms" and i use LR 6.1
So i would like to to a little experiment:
1. Backup Contacts.apk
2. Delete Contacts.apk
3. Reboot (Device will load without Contacts and Phone i guess)
4. Pasting Contacts.apk from backup again
5. Reboot
To your opinion, this will restore the Contacts and Phone right?
If it will, it will proof that the procedure i did was OK and the cooked Contacts.apk was invalid..
am I right?
yes, it should work as long as you make no other changes.
As custom roms as always evolving due to upgrades and changes.
Cooked versions of apks unless they are also upgraded also may have invalid links that are no longer recognized and that why it failed.
i will test it and post a result soon
Cosmic Blue said:
yes, it should work as long as you make no other changes.
As custom roms as always evolving due to upgrades and changes.
Cooked versions of apks unless they are also upgraded also may have invalid links that are no longer recognized and that why it failed.
Click to expand...
Click to collapse
It appears that you and me both were wrong..
just tried the test.. no good, after removing the file, contacts is missing, even after putting it back
still waiting for someone to answer the 1st post and save me :\
EDIT: Iv'e noticed you mentioned: INSTALLING, what do you mean by that? actually running the apk? (have tried, it asks to replace, i say yes but in the end i get "application not installed"
apparently the contact apk is not initializing properly.
I have one other suggestion.
from the recovery back up pull out the contact.apk that you know is working and try your experiment again and see if that solves the problem. do not use the back up you just made.
There maybe an issue with the backed up contacts in that the file maybe damaged.
have you set the correct permissions for the contact.apk?
viva.fidel said:
have you set the correct permissions for the contact.apk?
Click to expand...
Click to collapse
Well, I haven't touched the permissions
Lets try to solve it one step at a time
When everything is working properly and the original apk is I'm system/app.. I cut the apk and paste it elsewhere.. Contacts is removed..
Cutting it and pasting it back wont restore it.. why?
Sent from my GT-I9100 using XDA App
rotemakerman said:
Well, I haven't touched the permissions
Lets try to solve it one step at a time
When everything is working properly and the original apk is I'm system/app.. I cut the apk and paste it elsewhere.. Contacts is removed..
Cutting it and pasting it back wont restore it.. why?
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Well it depends where you are cutting and pasting it to. Your phone works on the ext4 filesystem, where files have built-in permissions setting, they'll keep these permissions as long as they stay on a linux filesystem.. however if you copy contacts.apk to the sdcard or to external_sd (which is fat/fat32), then these permissions are lost.. therefore you'll have issues when moving to sdcard and back
if you wanna test this then try renaming the original apk to contacts.bak (it'll get uninstalled and disappear from app drawer) without moving it out of system/app, then try renaming it back to contacts.apk, reboot phone and it'll be back and working
viva.fidel said:
Well it depends where you are cutting and pasting it to. Your phone works on the ext4 filesystem, where files have built-in permissions setting, they'll keep these permissions as long as they stay on a linux filesystem.. however if you copy contacts.apk to the sdcard or to external_sd (which is fat/fat32), then these permissions are lost.. therefore you'll have issues when moving to sdcard and back
if you wanna test this then try renaming the original apk to contacts.bak (it'll get uninstalled and disappear from app drawer) without moving it out of system/app, then try renaming it back to contacts.apk, reboot phone and it'll be back and working
Click to expand...
Click to collapse
Thanks for the heads up!
Actually i did cut it to and paste it from the sdcard!
will try it and post the result here soon
If this will work.. what are the permissions i should set for the cooked apk?
rotemakerman said:
Thanks for the heads up!
Actually i did cut it to and paste it from the sdcard!
will try it and post the result here soon
If this will work.. what are the permissions i should set for the cooked apk?
Click to expand...
Click to collapse
no problem, app permissions should be rw-r--r--
just have a look at the permissions for any other app in system/app if you're unclear on how to set them
appears that this wasn't the problem either
This try i just renamed contacts.apk to contacts.bak, the permissions remained the same
contacts was removed, renamed back, nothing happend
no one?
maybe you need to wipe Dalvik Cache or even a full wipe to factory
Just to give an outside perspective, have you tried searching the app drawer for the phone and contact apps? The bar at the bottom on the homescreen is just a shortcut bar. If the phone and contact apps are in the app drawer, you need to add their shortcut back to the bar.
It's definitely not just the shortcuts... trying to access contacts through other apps like WhatsApp causing a FC or something..
I'm trying to find a solution that doesn't involve switching rom or wiping anything
What else can I do?
fixed
Found a solution!
Changed the kernel (speedmod t42) and wiped dalvik and cache (kernel is probably not related, but still, that's what I did)

[Q] Deleted Talk.apk, how can I get it back

For reasons I won't go into (mainly because they're boring) I deleted Google talk.apk from Root Explorer (I was following instructions to update the app but those didn't work) and now I can't get it back. I've factory reset the phone to no avail. I have Google Voice installed, but can't seem to get talk back. If anyone could help, it would be greatly, greatly appreciated. Thanks!
BTW, I did a search before posing the ?, but the only solution I found was for a different phone, and when I ran those steps, when I tried to open Talk, it would just FC.
libracolo said:
For reasons I won't go into (mainly because they're boring) I deleted Google talk.apk from Root Explorer (I was following instructions to update the app but those didn't work) and now I can't get it back. I've factory reset the phone to no avail. I have Google Voice installed, but can't seem to get talk back. If anyone could help, it would be greatly, greatly appreciated. Thanks!
BTW, I did a search before posing the ?, but the only solution I found was for a different phone, and when I ran those steps, when I tried to open Talk, it would just FC.
Click to expand...
Click to collapse
Have you tried snagging the files from another Photon and installing? Can you post what steps you have already taken please?
Yes....factory reset won't restore system apps. You can flash Juggs update.zip and that will restore for you. Then would have to root again of course but is easy enough.
Just download a custom rom , unzip it and copy the required app to your device.
faria said:
Just download a custom rom , unzip it and copy the required app to your device.
Click to expand...
Click to collapse
+1
I should of said that instead of grabbing it from another phone. Thanks faria.
CCallahan said:
Have you tried snagging the files from another Photon and installing? Can you post what steps you have already taken please?
Yes....factory reset won't restore system apps. You can flash Juggs update.zip and that will restore for you. Then would have to root again of course but is easy enough.
Click to expand...
Click to collapse
Thanks for the info. If I flash Juggs update, will it hurt anything (since I already am on the latest OTA)?
faria said:
Just download a custom rom , unzip it and copy the required app to your device.
Click to expand...
Click to collapse
I will try that as well. When I did a search, I found where someone had posted the talk.apk.zip file which I copied to my sd card, unzipped and then copied to system/apps (through Root Explorer), but that is when I started getting FC's. I then installed it (from Root Explorer) even with the same result. It may be that it wasn't the right version maybe? So if I extract it from a Rom, do I just copy it to the System/Apps folder (using Root Explorer)? Sorry for the confusion, and thanks much for the help.
libracolo said:
I will try that as well. When I did a search, I found where someone had posted the talk.apk.zip file which I copied to my sd card, unzipped and then copied to system/apps (through Root Explorer), but that is when I started getting FC's. I then installed it (from Root Explorer) even with the same result. It may be that it wasn't the right version maybe? So if I extract it from a Rom, do I just copy it to the System/Apps folder (using Root Explorer)? Sorry for the confusion, and thanks much for the help.
Click to expand...
Click to collapse
you need to delete the talk.odex file from system apps othewize you get fcs.
faria said:
you need to delete the talk.odex file from system apps othewize you get fcs.
Click to expand...
Click to collapse
I don't (and didn't) have that file, only talk.apk (which of course was deleted). Isn't the odex like the cache? If so, would it have been removed when I ran App Cache Cleaner?
libracolo said:
I don't (and didn't) have that file, only talk.apk (which of course was deleted). Isn't the odex like the cache? If so, would it have been removed when I ran App Cache Cleaner?
Click to expand...
Click to collapse
Correct.
Well short of getting the apk from the very same rom version ,you will have to reflash he rom.
ps.
there the new google talk with video here in the forum, that probably would fix your problem.
Here
http://forum.xda-developers.com/showthread.php?t=773272
http://forum.xda-developers.com/showthread.php?t=716888
faria said:
Here
http://forum.xda-developers.com/showthread.php?t=773272
http://forum.xda-developers.com/showthread.php?t=716888
Click to expand...
Click to collapse
Hey faria, thanks! I did the top link last night (that was the one that I copied the talk.apk.zip (2.2) over to my SD card, extracted, and then copied to /system/apps/. I installed from there (btw, I did change to R/W first), but all I got was FC's on talk. I'm thinking I needed to reboot after installing, maybe? I'm not really sure why I would need to reboot though, but if that is all it takes, I'm happy. I will try that when I get home tonight (don't have a spare cable with me right now). Thank you sooo much for your help.
libracolo said:
Thanks for the info. If I flash Juggs update, will it hurt anything (since I already am on the latest OTA)?
Click to expand...
Click to collapse
If you still end up having problems.....
Juggs update.zip is just the latest OTA with a few minor modifications. So basically it will restore all to pretty close out of the box and restore any system apps.
However, you can also flash the sbf which is the actual newest OTA exactly like the one pushed from Motorola/Sprint. This requires using rsd and isn't quite as easy as the update.zip which can just be flashed via bootstrap recovery.
Any one of these methods will require you to root the phone again.
CCallahan said:
If you still end up having problems.....
Juggs update.zip is just the latest OTA with a few minor modifications. So basically it will restore all to pretty close out of the box and restore any system apps.
However, you can also flash the sbf which is the actual newest OTA exactly like the one pushed from Motorola/Sprint. This requires using rsd and isn't quite as easy as the update.zip which can just be flashed via bootstrap recovery.
Any one of these methods will require you to root the phone again.
Click to expand...
Click to collapse
Yeah, I'm gonna flash the sbf, I just downloaded it and installed the drivers and stuff, but I think I'm gonna wait until tomorrow night (only because it's been a really long day, started at 4 am MST just ending), so I think my brain is fried. Thanks for all your help today, I'll let ya know tomorrow how it goes. What a freakin pain in the arse this talk.apk has become....haha
Update: I flashed the sbf, re-rooted, and everything is great now, have Talk back. Thanks for all the help!

[Q] RingtonePicker.apk

I did something stupid...
I deleted the Ringtonepicker.apk out of my root. So now when i go into the settings and try to change my rintone or notification via the sound tab, i get a force close.
Can anyone upload that .apk for me or point me to it?
Thanks guys.
PS. Just registered here.
meme405 said:
I did something stupid...
I deleted the Ringtonepicker.apk out of my root. So now when i go into the settings and try to change my rintone or notification via the sound tab, i get a force close.
Can anyone upload that .apk for me or point me to it?
Thanks guys.
PS. Just registered here.
Click to expand...
Click to collapse
Just flash a stock sprint ROM and you'll have it back.
Twolazyg said:
Just flash a stock sprint ROM and you'll have it back.
Click to expand...
Click to collapse
Im running a custom rom, KingCobra 1.7 (Im a Rogers GSM user). And i rather not go through the process as i just got my phone setup how i like.
is there no way of getting the .apk back?
Please anyone with root, just go into /system/app and grab the ringtonepicker.apk
and upload that file.
This would seriously help me out....
meme405 said:
Please anyone with root, just go into /system/app and grab the ringtonepicker.apk
and upload that file.
This would seriously help me out....
Click to expand...
Click to collapse
FYI...just do a dirty flash - re-flash the rom with just a cache/dalvik clear. you won't have to set everything back up.
Modified the rom and i dont have the file i flashed again. I really just need that ringtonepicker.apk.
There is a method to my madness. If all else fails i will just reflash kingcobra 1.7 and re-do my mods, but its such a simple .apk replace that i cant believe nobody can do it.
Im about to flash an old nandroid just to pull that .apk, then reload my current backup just to put in that .apk.
But if someone could just up that file it would save me some hassle.
meme405 said:
Modified the rom and i dont have the file i flashed again. I really just need that ringtonepicker.apk.
There is a method to my madness. If all else fails i will just reflash kingcobra 1.7 and re-do my mods, but its such a simple .apk replace that i cant believe nobody can do it.
Im about to flash an old nandroid just to pull that .apk, then reload my current backup just to put in that .apk.
But if someone could just up that file it would save me some hassle.
Click to expand...
Click to collapse
Sorry, but I am on CDMA so I would think the apk would be different for GSM. Here are the ringtone apks - just not sure if they will work on GSM.
meme405 said:
Modified the rom and i dont have the file i flashed again. I really just need that ringtonepicker.apk.
There is a method to my madness. If all else fails i will just reflash kingcobra 1.7 and re-do my mods, but its such a simple .apk replace that i cant believe nobody can do it.
Im about to flash an old nandroid just to pull that .apk, then reload my current backup just to put in that .apk.
But if someone could just up that file it would save me some hassle.
Click to expand...
Click to collapse
Redownload the ROM you have, pull the ringtonepicker.apk out of the ROM. You've been told how to do it 4 times, I can't believe you can't do it.
We aren't here to do the work for you bud..

Accidentally deleted the stock Camera.apk

So I was using Titanium Backup and accidentally deleted the camera app without a backup so I am hoping someone can send me the Note I717 stock camera APK...thank you!
galaxy note I717 camera.apk
I tried sending via PM but evidently the site was having problems with me sending a PM. I would be more than happy to send it to you. What is your email address?
[email protected]
thank you so much
you should have mail (;
i got it thanks, but the app will not install, do i drop the file in a specific folder?
should go in "system/app"
im gonna have to odin reflash the stock software cause it's not working, thank you for all your help tho, i do appreciate it
You're welcome, sorry it didn't work out for you.
i did an odin flash without factory reset and I didn't lose any information. I just had to re-root, camera is back and all works well
waldoelx7241 said:
i did an odin flash without factory reset and I didn't lose any information. I just had to re-root, camera is back and all works well
Click to expand...
Click to collapse
Glad to hear that.
This same thing happend too me today, I was trying to install a mod for the samsungcamera.apk and i copied a back up of the camera.apk and went to install the modded one but it wont let me..so i said screw it ill go back to the stock one..and when i click on it too install it says application not installed.
Soo..in other words im SOL but ill have a look around and see where i can find a resolution. The problem isnt that i dont have the stock camera.apk cuz i do have a back up its just it refuses too install now... ughhh Lol
***UPDATE***
I could not install the samsungcamera.apk stock & the modded one.
I tried everything possible..flashing it through cwm as a .zip file & had signature verification turned off
even tried copying and pasting manually..
What I just resorted to just installing camera360 from the playstore..
this solved my issue of not having a camera at all.
Remember i tried re-installing the original camera.apk that i backed up and for some
reason it wouldnt let me install it. Dunno if it had to do with permissions or just because its a system app.
But im glad i have camera360 i have alot of new features and filters Go filters!! haha
still if anyone has a resolution to installing the apk let us now im desperate!!!
U can't install system apps. U have to use something like root explorer, put it in system/apps folder, fix the apk permissions and reboot
esincho said:
U can't install system apps. U have to use something like root explorer, put it in system/apps folder, fix the apk permissions and reboot
Click to expand...
Click to collapse
please we already know this..we use astro or some sort of root explorer app...elaborate on how to fix permissions. Thank you.
SystemErrorOne said:
please we already know this..we use astro or some sort of root explorer app...elaborate on how to fix permissions. Thank you.
Click to expand...
Click to collapse
Here u go pimp
esincho said:
Here u go pimp
Click to expand...
Click to collapse
Thanks hoe
Pimps & hoes?? Boats $ Hoes....
Sent from my SAMSUNG-SGH-I717 using xda premium
ICS camera apk
I am trying to install the ICS camera with the Silly faces "big eyes" and "Big Mouth" my kids love it
I am running the latest Padawan 4.2jb on my Galaxy Note1.
Does anyone know if i can run ICS camera with these background live video effects on my ROM? thanks.

[Q] How to restore Systemui.apk?

Hey guys!
I am new here and this is my first thread
I am having a big problem. I already had installed Xposed Installer. 1 week before a error appeared that unfortunately Systemui has stopped and when I rebooted my mobile systemui(status bar, recent apps etc.) was lost. I removed that systemui from the system folder and put the systemui of which I recently had made a backup but still it did not work My system is odexed and there is not any file naming systemui.odex. I think this is the problem but I don't know that how this file was deleted. I have tried all the things but none worked :'( I also tried putting systemui.apk and systemui.odex of another device in my mobile but it also did not work. I am having backup rom of my mobile but I don't know how to flash as I don't have CWM or TWRP installed.
PLzzzzzzz help me how can I restore my SYSTEMUI.
I am using GFIVE BRAVO A5 running android 4.2.2. My phone is rooted.
ODEXED
You mentioned in your post that you had an odexed rom installed, what did you use to flash that rom?
What device are you having this problem on?
Stock Rom
I haven't flashed my rom. I have stock rom installed and stock rom is odexed.
Stock rom installed
I haven't flashed my rom. I have stock rom installed and stock rom is odexed.
I am having this problem in my mediatek device namely GFIVE BRAVO A5 running JB 4.2.2. I am having 3.5 inch device.
I'm not familiar with the brand of the device and the searches I have looked around for don't seem too legit to me, so all I can say is to search around and find something that can help, perhaps an update to the device that might contain it or a full of backup of the phone wich contains the files you are looking for. Other than that all I can say is to try a factory reset and don't mess with your devices system folder unless you know what you're doing.
You can look at this for reference maybe: all-flash-file.blogspot.com
Hard resetted
I have hard resetted my mobile more than 10 times but still no effect took change
And the link you posted, when I opened it And clicked the download button, a message appeared saying that the link will be available for your IP in 24 hours.
Probably a hard reset wont work because a hard reset only resets the user data. In your case, its with the system. It is either you reflash stock rom or push a stock system ui and its odex file. :angel::angel::angel:
Durion said:
I'm not familiar with the brand of the device and the searches I have looked around for don't seem too legit to me, so all I can say is to search around and find something that can help, perhaps an update to the device that might contain it or a full of backup of the phone wich contains the files you are looking for. Other than that all I can say is to try a factory reset and don't mess with your devices system folder unless you know what you're doing.
You can look at this for reference maybe: all-flash-file.blogspot.com
Click to expand...
Click to collapse
kimvic2s said:
Probably a hard reset wont work because a hard reset only resets the user data. In your case, its with the system. It is either you reflash
stock rom or push a stock system ui and its odex file. :angel::angel::angel:
Click to expand...
Click to collapse
So from where I am gonna find my odex file for systemui bcz I don't hve the backup of this file ?
munimjaffer said:
So from where I am gonna find my odex file for systemui bcz I don't hve the backup of this file ?
Click to expand...
Click to collapse
Ask around, there's bound to be someone with the same phone who will be willing to help. If not, go to your phone manufacturer's site and see if they have an android system update you can either upgrade to or extract to find the files you need. Good Luck
Durion said:
Ask around, there's bound to be someone with the same phone who will be willing to help. If not, go to your phone manufacturer's site and see if they have an android system update you can either upgrade to or extract to find the files you need. Good Luck
Click to expand...
Click to collapse
Sir I have downloaded the flash file of my device from the link you provided but I don't know how to flash this file as CWM or TWRP for my device is not available.
munimjaffer said:
Sir I have downloaded the flash file of my device from the link you provided but I don't know how to flash this file as CWM or TWRP for my device is not available.
Click to expand...
Click to collapse
http://www.bholagsm.com/g-five-bravo-a5-flash-file/ This site seems to give good instructions try to follow those. Also, do you have a someone you know with the same phone? If you do, then you might be able to copy the file from their /system folder and paste into into your phone.

Categories

Resources