[Q] system uid inconsistent - HTC EVO 3D

ok so im on a stock evo 3d. i rooted added super user did a CWM backup and tried flashing a kernel. It failed so i rebooted. Once i was all booted up i noticed wifi said ERROR so i did a restore. Upon restoring and rebooting, my phone started up and gave me the UID inconsistant error. ive looked everywhere and tried the "fix permission" on CWM but still no luck. Please some one help because i had TONS of apps that i cannot remember for the life of me. i have customized my phone to the T n really dont want to wipe or factory set it UNLESS its ABSOLUTELY necessary....
Thanks in advance guys...

VenpaCasa said:
ok so im on a stock evo 3d. i rooted added super user did a CWM backup and tried flashing a kernel. It failed so i rebooted. Once i was all booted up i noticed wifi said ERROR so i did a restore. Upon restoring and rebooting, my phone started up and gave me the UID inconsistant error. ive looked everywhere and tried the "fix permission" on CWM but still no luck. Please some one help because i had TONS of apps that i cannot remember for the life of me. i have customized my phone to the T n really dont want to wipe or factory set it UNLESS its ABSOLUTELY necessary....
Thanks in advance guys...
Click to expand...
Click to collapse
i agree that it sounds like a permissions issue with that UID inconsistant error you received. Could you possibly pastebin that error for us?
along the lines of using the fix permissions tool inside cwm is also available inside ROM Manager. perhaps trying it inside ROM Manager, might resolve the issue.
some background on that fixpermissions provided in cwm and ROM manager, as my memory recalls, its basically a .sh script which reads one of the data xml files to grab what the original UID/GID are for each application and then goes through each application's /data/data directory and assigns the data directory to the original UID/GID provided by the system data xml file on the data partition.
hope that helps provide some background and you're able to resolve the issue!

Fix permissions in cwm won't did this. It's not shell permissions, i.e. chmod. It's odex matching problems. You may be able to flash a non odex rom over the top and it work, but I've always had to reset data when I get that
Sent from my PG86100 using XDA App

danaff37 said:
It's odex matching problems.
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
what are odex matching problems?

Something matches odex to apk.. I don't know what, but if the odex isn't from that apk they apparently won't work together. I used one rom where they took out the apk but not the odex, so when I added the apk from another odexed rom it went screwy and I got that error. I had gotten it before but that was after flashing something vb so I assume something got corrupted now.
When I went to read up on it, I came across something saying this is why odexing has to be done on the phone
Sent from my PG86100 using XDA App

You could pm amon ra, his recoveries had a "fix uid mismatch" option, maybe he knows if theres a cmd you could enter in adb shell? Or google fix uid mismatch. Good luck. Sorry if that is the same thing as fix permissions. Btw, you can type "fix_permissions" in terminal emulator too, no need for rom manager. Also, have you tried simply re flashing the stock kernel?

danaff37 said:
Something matches odex to apk.. I don't know what, but if the odex isn't from that apk they apparently won't work together. I used one rom where they took out the apk but not the odex, so when I added the apk from another odexed rom it went screwy and I got that error. I had gotten it before but that was after flashing something vb so I assume something got corrupted now.
When I went to read up on it, I came across something saying this is why odexing has to be done on the phone
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
interesting, my mistake for assuming people knew an apk's odex file is compiled specifically for that apk and that they are generally not interchangeable.
yea, i agree, odex has to match the apk. the rom you used where you say they took out the apk but not the odex, shows the rom dev was either lazy/or not aware of how to properly remove an apk.
on an odex rom, generally stock, each apk relies on the associated odex for that apk. i would not suggest mixing and matching apk files an odex files. good point and i agree, people should not do this and should be aware odex/apk files shouldn't be mix matched.
il Duce said:
You could pm amon ra, his recoveries had a "fix uid mismatch" option, maybe he knows if theres a cmd you could enter in adb shell? Or google fix uid mismatch. Good luck. Sorry if that is the same thing as fix permissions. Btw, you can type "fix_permissions" in terminal emulator too, no need for rom manager. Also, have you tried simply re flashing the stock kernel?
Click to expand...
Click to collapse
fix uid mismatch and fix permissions are the same thing. if you open up the sh script (fix_permissions), you'll see it doing what i outlined above. it opens a data system xml file and reads which UID/GID groups the apk has been assigned by the packagemanager and makes sure each apk's /data/data dir is actually using the proper UID/GID groups assigned by the packagemanager.
the most common point to encounter this error, mix matched UID/GID or permissions issues is when switching between ROMs and not wiping data. it is possible to switch between some roms and not wipe data, but you have to be aware of the potential issues, like mix matched permissions and be ready to solve them. logcat is going to be where you can see these issues occuring.
whenever a new ROM boots up for the first time, the packagemanger goes thru all supplied apk files in /system/app and /data/app. it assigns them a unique UID/GID. if, from a previous ROM, the apk files already have their own /data/data directories and previously assigned UID/GID, this error will be generated and will be visible in logcat.
hope that makes a bit of sense and helps. its def early in the morning still ...

I've been able to swap apks on an odex rom after theming. And mik roms will often have mods that flash just a changed odex file. So I knew some changes were possible.
Sent from my PG86100 using XDA App

@above - thanks for the knowledge
@OP - still wondering if you ever tried flashing just the stock kernel ???

thanks for the input guys, i didnt flash from rom to rom just tried to flash a kernal to the stock rom and it failed then my wifi wasnt working so i restored thro CWM and got the UID error message. i needed my phone working asap for work so i ended up starting over from a factory reset i still have that back up saved but it seems pointless now... i really didnt do anything out of the ordanary. i used to flash roms and kernels all the time on my orig evo 4g... i think that while making the back up something went wrong because it doesnt even show the apps in my app drawer to FC in the 1st place... ugh oh well thanks anyways guys....

Probably the cleanest solution HERE

VenpaCasa said:
thanks for the input guys, i didnt flash from rom to rom just tried to flash a kernal to the stock rom and it failed then my wifi wasnt working so i restored thro CWM and got the UID error message. i needed my phone working asap for work so i ended up starting over from a factory reset i still have that back up saved but it seems pointless now... i really didnt do anything out of the ordanary. i used to flash roms and kernels all the time on my orig evo 4g... i think that while making the back up something went wrong because it doesnt even show the apps in my app drawer to FC in the 1st place... ugh oh well thanks anyways guys....
Click to expand...
Click to collapse
Wifi error is because stock kernel, needs stock modules, wifi drivers.

Related

Screwed up mms aosp installation

Okay, so I'm using bionix 1.3.1 and I was attempting to install the mms.apk file without flashing through clockwork just to see how I would do it.
I've messed up, and now I don't have the stock mms app or the aosp app. I've tried to install the aosp apk file by using root explorer.
I've also tried moving the file to the system/apps folder and installing but I keep getting an error saying file cannot be parsed. Finally, I tried flashing with clockwork and it won't work now.
What I'm trying to figure out is why none of these things work, I would liek to understand how the operating system works better in other words. Also, if possible I'd like to avoid reflashing bionix and wiping.
Move the .apk to system/apps
Reboot
Text
You don't install a system app
It was already in system/apps. Didn't work until I changed the permissions now though.
dekka83 said:
It was already in system/apps. Didn't work until I changed the permissions now though.
Click to expand...
Click to collapse
lulz did the same thing... What did you mean by change the permissions? Thanks in advance!
NM, got it!

[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 the wrong file once rooted

I rooted my phone, was basically a stock amaze with only a handful of apps loaded on and my contact list. So, once rooted I made the mistake of not backing anything up, and started deleting apps that were running in the background. When I got to the tags app I deleted it, and the phone kept popping up the same error message, wanting me to send a report to htc. Message was an unexpected error, so I knew I deleted the wrong app. I powered the phone down, and it booted normally, with the only exception being I can't download anything from the market. Market will load though. error is com.android.vending has stopped unexpectedly. And I can't access my wireless and networks directory in settings. When I try I get an error message saying settings has stopped unexpectedly.
My question is then, am I stuck with starting over, and bringing my phone to stock? I tried to find the tags app to re install it but no luck. Or is there any other kind of recovery I could do to 'find' the missing file? Its on telus network, and I'm lucky that the telus ruu is here.
andy55 said:
I rooted my phone, was basically a stock amaze with only a handful of apps loaded on and my contact list. So, once rooted I made the mistake of not backing anything up, and started deleting apps that were running in the background. When I got to the tags app I deleted it, and the phone kept popping up the same error message, wanting me to send a report to htc. Message was an unexpected error, so I knew I deleted the wrong app. I powered the phone down, and it booted normally, with the only exception being I can't download anything from the market. Market will load though. error is com.android.vending has stopped unexpectedly. And I can't access my wireless and networks directory in settings. When I try I get an error message saying settings has stopped unexpectedly.
My question is then, am I stuck with starting over, and bringing my phone to stock? I tried to find the tags app to re install it but no luck. Or is there any other kind of recovery I could do to 'find' the missing file? Its on telus network, and I'm lucky that the telus ruu is here.
Click to expand...
Click to collapse
That sucks.
Solution:
Master reset the phone.
1. Save any open files, and back up all necessary data.
2. From any Home screen, tap the Menu key.
3. Tap Settings.
4. Tap SD & phone storage.
5. Tap Factory data reset.
6. Read the message about erasing data.
7. If desired, tap Erase all data to erase the data in the phone’s internal storage.
8. Tap Reset phone.
9. Tap Erase everything.
Well if you knew which files you are missing you could go in the zip file of the rom you flashed copy those files and paste them into system location. But most probably u dont know which file u deleted otherwise u wouldnt have deleted them if u knew what u were doing. So ur only solution is flash a custom rom again or if u want to stick to stock rom just flash one of the ruu found in the develop section
Sent from my HTC Amaze 4G using xda premium
well, **** hit the fan once I deleted tags, the nfc tool on the phone. I took a chance with it, thinking nfc wasn't tied in with anything else, but I was wrong.
andy55 said:
well, **** hit the fan once I deleted tags, the nfc tool on the phone. I took a chance with it, thinking nfc wasn't tied in with anything else, but I was wrong.
Click to expand...
Click to collapse
then just download some rom find the nfc file and copy paste it. simple as that.or grab the file I attached here
thanks for the link! I'll try that out later to see if it fixes it, and if not then I'll probably flash a custom rom, AR 1.1 sounds like a good one to start.
Just flash a rom. If you only want stock there are stock roms available. If you want a custom rom then use one of those. It will update your system with the missing app that you had deleted. And let this be a lesson to you, ALWAYS make a backup before making any changes.
indeed, lesson learned. So to flash a rom, pick any rom that I want to try out, and use ROM Manager? Like I said above I'd try out the AR 1.1, but I can't figure out how to get s-off, would rom manager be a good bet?
andy55 said:
indeed, lesson learned. So to flash a rom, pick any rom that I want to try out, and use ROM Manager? Like I said above I'd try out the AR 1.1, but I can't figure out how to get s-off, would rom manager be a good bet?
Click to expand...
Click to collapse
go back to stock rom. rooting is not for you.
andy55 said:
indeed, lesson learned. So to flash a rom, pick any rom that I want to try out, and use ROM Manager? Like I said above I'd try out the AR 1.1, but I can't figure out how to get s-off, would rom manager be a good bet?
Click to expand...
Click to collapse
No one can figure out how to get s-off.
Felinos11 said:
go back to stock rom. rooting is not for you.
Click to expand...
Click to collapse
meh, installed AR 1.1 and works amazing. I'm new to this, so cut me a break.
You know it is probably better to use Titanium Backups' freeze option...

[Q] "Android is Updating" Window on Every Boot [SOLVED]

Hey guys I get "Android is Updating" "Optimizing Apps" Window on Every Boot, just for a Few Seconds, It didn't use to do this, has anyone experienced this, I'm Running Hydra-H2o ROM and Siyah Kernel?
UPDATE, SOLVED, Thanks to SoLoR1 for the "Fix"
SoLoR1 said:
I found out what caused this message for me... It was Titanium Backup odex file. So you can do two things, you can remove and then install again Titanium Backup or go in to /data/app and remove TB odex file and reboot phone....
Click to expand...
Click to collapse
Mine only does this when I install a new app to the /system directory and reboot. As you said it only lasts a few seconds, nothing to get worried about.
Chris.
Sounds like it's a boot animation.
OP, does the "Android is Upgrading" occur after the boot animation or as part of the boot animation? I doubt it is a boot animation as I have had it before, and it is standard, just not after every boot. Are you changing something in the /system/app directory or flashing a new mod? These would trigger an "Android is Upgrading" message.
Chris.
Some form of zip align/ optimise at boot
Check your roms specifications .
With 42 posts you can ask in the rom thread .
jje
It could be your cache or delvik cache is being cleared. Do you have something like a cleanup cache program running.
Sent from my GT-I9100 using Tapatalk 2
First I want to thank everyone for your prompt replies it's nice to see how helpful this community is!
themadba said:
Mine only does this when I install a new app to the /system directory and reboot. As you said it only lasts a few seconds, nothing to get worried about.
Chris.
Click to expand...
Click to collapse
It does it every time, I'm not worried I'm Annoyed LOL
ctomgee said:
Sounds like it's a boot animation.
Click to expand...
Click to collapse
it's not boot animation
themadba said:
OP, does the "Android is Upgrading" occur after the boot animation or as part of the boot animation? I doubt it is a boot animation as I have had it before, and it is standard, just not after every boot. Are you changing something in the /system/app directory or flashing a new mod? These would trigger an "Android is Upgrading" message.
Chris.
Click to expand...
Click to collapse
It ALWAYS occurs after, I've only changed the Launcher in system/app dir could that be it?
JJEgan said:
Some form of zip align/ optimise at boot
Check your roms specifications .
With 42 posts you can ask in the rom thread .
jje
Click to expand...
Click to collapse
Hydra-H2o is Zipaligned could that be it?
bored_stupid said:
It could be your cache or delvik cache is being cleared. Do you have something like a cleanup cache program running.
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
I've wiped all caches, it still does it...
Try to install ultimate kernel cleaning script before you flash the rom.
http://forum.xda-developers.com/showthread.php?t=1363738.
RGNDI said:
First I want to thank everyone for your prompt replies it's nice to see how helpful this community is!
It does it every time, I'm not worried I'm Annoyed LOL
it's not boot animation
It ALWAYS occurs after, I've only changed the Launcher in system/app dir could that be it?
Hydra-H2o is Zipaligned could that be it?
I've wiped all caches, it still does it...
Click to expand...
Click to collapse
Thats what im talking about, when I wipe cache/delvik cache and when I reboot, the phone as to rebuild the delvik cache, hence andriod is upgrading. Never did it under gingerbread but i think its par of the course for ICS.
Sent from my GT-I9100 using Tapatalk 2
davidsgs23 said:
Try to install ultimate kernel cleaning script before you flash the rom.
http://forum.xda-developers.com/showthread.php?t=1363738.
Click to expand...
Click to collapse
I have it and I've Used it , but will give it another try, now that Siyah 3.2.3 is out!
Tried it super script and flash new kernel, didn't work, will try when the new rom is out
Sent from my GT-I9100
It isn't the dalvik cache being rebuilt that causes the "Android is Upgrading" because I just wiped my davlik cache as a test, and just a longer boot animation. I see that Hydra H2O is also an AOKP based ROM, like HydrogenICS, so I don't know, depends on the build version. Anyway, nothing to get annoyed about either. Just post on the developer's thread and see if anyone else has the same problem. Also, it isn't kernel related because I use Siyah Kernel too.
Chris.
I have same issue.... on every boot i get "Android is upgrading" window with Starting applications, i dont get any Optimizing applications, just Starting... for a sec or two... Didnt find the solution yet i also went and reflash same rom over with no success, only thing i didnt do is format /data partition since i cant be bothered to install all apps again....
edit: i found this since im runing stock XWLP9 with siyah krnel it might be it... however im sure i didnt have it few days ago...
SoLoR1 said:
I have same issue.... on every boot i get "Android is upgrading" window with Starting applications, i dont get any Optimizing applications, just Starting... for a sec or two... Didnt find the solution yet i also went and reflash same rom over with no success, only thing i didnt do is format /data partition since i cant be bothered to install all apps again....
Click to expand...
Click to collapse
Just found this. It does including optimising applications, but I think it gets to the point. http://forum.xda-developers.com/showthread.php?t=1365133&highlight=upgrading
Chris.
The thing is it didn't do it when it I did the clean install, it did it after the phone was completely set up...
Had a good think about this. Back in the days when we were all on gingerbread. We would install a new firmware and have to wait 10-20 mins for first boot," building the delvik cache, etc ". Prompting some noobs to think they were in a bootloop and pull the battery. ICS boots faster after first install," building aplication list, delvik cache, etc", can remember it stopping have way through to ask for data roaming to be enabled. After that, whenever we clear cache/delvik cache then reboot, it has to rebuild cache again. Only this time as a Andriod is upgrading message.
Sent from my GT-I9100 using Tapatalk 2
I found out what caused this message for me... It was Titanium Backup odex file. So you can do two things, you can remove and then install again Titanium Backup or go in to /data/app and remove TB odex file and reboot phone....
SoLoR1 said:
I found out what caused this message for me... It was Titanium Backup odex file. So you can do two things, you can remove and then install again Titanium Backup or go in to /data/app and remove TB odex file and reboot phone....
Click to expand...
Click to collapse
Dude you rock, I had a hunch it could be Ti but never did actually do anything I uninstalled it and installed it again worked like a charm
SOLVED!
Sent from my GT-I9100
Just FYI : This can be caused by modified ODEX files (maybe you've used some sort of patcher to remove ads, etc...) Simply remove all the modified ODEX files and you're done.
cyber9940 said:
Just FYI : This can be caused by modified ODEX files (maybe you've used some sort of patcher to remove ads, etc...) Simply remove all the modified ODEX files and you're done.
Click to expand...
Click to collapse
Where do I find the ODEX files exactly?
I'm having the exact same problem - I get "Android is upgrading - starting applications" every time I boot my phone. I've got a Galaxy S I9000 running CM9 stable I haven't modified any ODEX files (not that I'm aware of). I just uninstalled Titanium Backup but I'm still getting the same message.
I tried to locate the ODEX files using ES File Explorer but I can't find them. More specifically, I can see all the .odex files for the system apps within the /system/apps folder (I don't think I should touch those though, right?) - but when I go to the /data/app folder to look for the user-installed apps, there are only .apk files in there and no .odex files at all. Are they kept somewhere else?
And if I do find where they are kept, then what? Should I just delete all of them? Is that safe?

Deleted Phone.apk

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

Categories

Resources