Hey everybody.
I've been using custom roms for a while now, but when I install a new one I need to disable fast dormancy with *#*#9900#*#* and change my HSDPA version with *#*#301279#*#* in order to get usable data speed with my carrier.
On roms that don't allow secret codes, I usually just replaced the phone.apk and contacts.apk with the stock versions and all would be fine, but on my current ROM, AndyX 8.0, it doesn't allow me to do this. I replace the files, reboot and get com.android.phone" error messages, no matter what files I try. I've tried wiping dalvik cache and fixing permissions but nothing works. Worked fine up until version 7.2 of this ROM.
Any help would be appreciated. Thanks in advance.
Use the matching apk files from the stock rom .
Sent from my GT-I9100 using xda premium
Thanks for the reply. Still no luck, though
EDIT
Nevermind, got it . I tried doing it via root explorer, fixing permissions, wiping cache, making my own CWM update .zip file. In the end, the only way it worked for me was replacing the files inside my ROM's full update package and flashing the whole thing again.
Related
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.
Hi!. I hate making my first post in a forum about some problem but I just can't seem to figure out what I'm doing wrong >.<.
So, I'm running this ROM on my S2 and I'm currently using the one released on 03/23. I want to update it to the latest one (03/31) and keep getting an error when I try to install the zip.
These are the steps I take: 1) Wipe cache 2) Wipe Dalvik 3) Format /system 4) Try to install the .zip file. At this point a get a bunch of "Assertion error" messages on the screen and it goes back CWM menu without actually doing anything.
I know the file was correctly downloaded because the MD5 checksum match.
I have DPI set to 160 and in the attached image you can see more info on the phone's software.
My other problem is that for some reason the USB file transfer stopped working. It worked great when I installed the ROM version that added it but now my computer simply won't detect it.
Thanks.
Flash stock rom start again.
jje
Sent from my GT-I9100 using xda premium
Great, that worked. Thanks.
*hello, could any one help me. im noob here
*i fail to install Resurrection Remix ics v2.5.3[4.0.4]
*im using CMW to install it but...this is the result "installations abort"
*i has flash several rom before all is success
*just now im using
SGS2
kernel = siyah-v3.3.2+
ROM = XWLPG.salmanRom_v4
*sorry for my bad english...ty for anyone are helping..,
may be a corrupt download
and from which rom ur coming from ??
Sent from my GT-I9300 using xda premium
When you have the Rom on internal_sd, then put it on your external_sd and when you have it on the external_sd, then try to put it in your internal_sd.
MFG Chabou
I was having the same problem, when I downloaded the .zip there was a space in the file's name. Remove that and you should be good.
I'm also having a problem, when I install the ROM I have a bunch of problems. I get messages saying com.process.gapps has stopped, Android Keyboard has stopped. On top of that when I choose System Settings it says the apk is not installed and the phone dialer and status bar are both missing.
I followed the extended instructions exactly as I came from Litening ROM and that didn't work. Tried re-downloading/re-flashing RR but still no joy. Any help?
I've been having an issue where it installs fine as first or second ROM (siyah) but won't boot. Doesn't even get to boot animation; just freezes either right after opting to boot into it as first or second ROM, or allowing it to boot straight from an of state.
Tried full wiping including manually formatting system partition, redownloading the ROM, using a different kernel and even changing the installation type from custom to full.
No luck.
Any suggestions?
Edit: Working now. Copied the ROM from my external memory to the internal; installed RR (secondary ROM) n then fixed permissions and wiped dalvik
Sent from my GT-I9100
***Solved***
****Corrupt download*****
Sent from my GT-I9100 using Tapatalk
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
someone told me, is should post here
hej
i killed the live wallpaper files a long time ago.
now i like to test the weather pro live wp.
can someone tell me, which files i need?
(i can´t simpy install the live wallpaper picker. the system always shows: "app not installed")
Use root file browser to push to system/app and set permissions
i gave all permissions to the apk in the system.
"app not installed" after the installation-prozedure
Have you got the right app for your Rom?
i took the original
secLiveWallpapersPicker.apk
4.1.2 on s3
which i saved before i killed them
And are you still on that same version of jb?
i didn`t change anything till this time
lostHandy said:
i didn`t change anything till this time
Click to expand...
Click to collapse
did you reboot your phone after changing the permission ?
the permissions were already there
do i copy it into the system?
or install it from another place?
You just put it in /system/app
lostHandy said:
"app not installed" after the installation-prozedure
Click to expand...
Click to collapse
You do not install it from there, or from anywhere else. You just put it there, check permissions and reboot. Done.
thats the way i tried it
there is a *.odex datei.
do i have to copy it back too?
what about the "special" permissions?
Is your ROM odexed or de-odexed?
i never did something this way.
its the original 4.1.2 without branding.
flashed with odin.
rooted
lostHandy said:
i never did something this way.
its the original 4.1.2 without branding.
flashed with odin.
rooted
Click to expand...
Click to collapse
It's odexed then, so yes you will also need the .odex from your donor rom
Sometimes it is just easier to flash a pre-rooted ROM version via recovery.
i still can´t use live wallpapers.
when i klick on my background -> background
then there is just
1) galerie
2) quick pic background
If you are on stock Rom, re-flash it with mobile Odin without wiping data
After copy try to clear cache and dalvik-cache in the recovery.
skassa22 said:
After copy try to clear cache and dalvik-cache in the recovery.
Click to expand...
Click to collapse
it still doesnt work.
if i flash again: will my confugurations be gone with the wind?
in my recovery is no option to wipe dalvuk.
titanium says there is nothing to clear,
so how can i wipe dalvik?
Dalvik wipe is in the advanced menu of CWM based recoveries.
However, your ROM is odexed so /system/apps don't have dalvik-cache anyway, so it wont help.
Flashing a de-odexed, pre-rooted ROM, if its a same version (4.1.2 etc) should not have any negative effect on your config