Screwed up mms aosp installation - Vibrant Q&A, Help & Troubleshooting

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!

Related

[Q] Pushing Memo.apk with Root Exlorer

Found a bunch of answers using search, but nothing works. I have copied memo.apk into system/app folder and then changed the permissions, rebooted and the app is still not showing up. I am running nero v2. I had memo backed up by titanium but it will not let me restore. Any help would be appreciated. I also see there are others on the Nero V2 thread looking for the same answer.
To be clear, you disclose an old rom with memo.apk, extracted it, moved it to system/app and rebooted and the app doesn't show up?
Did you try this? This has the .apk and some other stock apps.
http://forum.xda-developers.com/showthread.php?t=758941
Someone way back when everyone was deleting bloat and finding out what could be deleted or not, had zipped a file with all of the stock apk's. I tried using that one and it failed.
In another thread, someone mentioned that you can't use an odexed rom apk on an deodexed rom. . .that person had suggested using another version of memo.apk. I tried that and it didn't work either.
Either way, I have not found anyone that has posted that has a successful way to push the memo.apk.
So the answer to your question, in essence, is yes, I have done all of that. Although someone else did the apk ripping from the rom.
I am looking for a solution as well. I want writeandgo and memo back.
They were in Nero v3 and missing from nero v4.1
I'm in the same boat. I updated to Nero 4.1 w/o Touchwiz. I have a Titanium backup of Memo, but the option to restore is not enabled. Has anyone tried flashing the Touchwiz version of 4.1 to see if you can restore the backup?
I was able to push memo.apk using a combination of root explorer and astro file manager (free). Not sure which one did it. Make sure you fix the permissions. Titanium Backup did not allow me to restore my data that was with my old one. It recognized the new one and just deleted the old one with the data. Also, a day or so later the .apk disappeared from my app drawer. Was still in the system/app file. Didn't have my old data anymore . . .so it was kind of a moot point. Use Note Everything now.
MonteCristo22 said:
I was able to push memo.apk using a combination of root explorer and astro file manager (free). Not sure which one did it. Make sure you fix the permissions. Titanium Backup did not allow me to restore my data that was with my old one. It recognized the new one and just deleted the old one with the data. Also, a day or so later the .apk disappeared from my app drawer. Was still in the system/app file. Didn't have my old data anymore . . .so it was kind of a moot point. Use Note Everything now.
Click to expand...
Click to collapse
I got the Memo.apk from one of the threads here. Copied it to /system/app using ES file manager (need to set / as your root). Checked the permissions and they are -rw vs. the other apps in the folder which are -r-. After a reboot still no Memo app in the application folder. I'm guessing the permissions are not an issue, since the only difference is that the app is writable. Does it matter if the app is CAPS Memo.apk or memo.apk?
Update: Matched the permissions (ownership + read only) using terminal running su. No Go. Tried flashing the Touchwiz version of Nero. No Go. Copied over the Memo.odex file as well. No Go. Renaming Memo.apk to memo.apk. Also No Go. Just for clarification. I did reboot between each change to check if the app was now appearing in the Apps folder. What am I doing wrong?
I want this too, but it doesn't works for me too. I'm able to put the memo.apk in the system/app but it doesn't show up in my applications.
Hey guys. I finally got it to work. Get the file from below and copy to your SD card. I then used terminal as su to move the file to the system/app directory. I changed the permission using "chmod 644 Memo.apk" to match the existing apks in the directory. Reboot and the app is there. Hopefully Titanium will now let me restore my back-up data for Memo.
http://forum.xda-developers.com/showpost.php?p=10554568&postcount=1173
Not sure what is different from my previous attempts, but I suspect that it is the file itself. Some of the files I used wouldn't even install. Others would start the install when clicked, but say it can't install. Need to read up on deoxing...

[Q] system uid inconsistent

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.

[Q] Editing Gapps

Hey guys im flashing joker's cm9 beta. With this you have to flash gapps. This is all working great with no complaints. However, I was wondering how I would edit the gapps file to so that I can add in some apps that I like to use ie Titanium back up, root explore....
I have tried unzipping the file and adding in the the apps to the /system/app folder. However after flashing the gapps while the app is there it will crash when i try to run it. If install from the apk over it, then the programs work fine.
Thanks for the help!
Bit_Reaper said:
Hey guys im flashing joker's cm9 beta. With this you have to flash gapps. This is all working great with no complaints. However, I was wondering how I would edit the gapps file to so that I can add in some apps that I like to use ie Titanium back up, root explore....
I have tried unzipping the file and adding in the the apps to the /system/app folder. However after flashing the gapps while the app is there it will crash when i try to run it. If install from the apk over it, then the programs work fine.
Thanks for the help!
Click to expand...
Click to collapse
There will have to be some codework done in order for it to actually install, you cant just toss some apks in there. AFAIK atleast.. I personally would just backup all your apps with TI and then all you have to do is install TI and restore them all. Its how I personally do it. If your hellbent on having them there on your first flash you *might* be able to put them in the /system/apps folder of the actual rom before flashing. Not 100% sure that'd do the trick but ive installed a few apps that way myself.
w0lf215 said:
There will have to be some codework done in order for it to actually install, you cant just toss some apks in there. AFAIK atleast.. I personally would just backup all your apps with TI and then all you have to do is install TI and restore them all. Its how I personally do it. If your hellbent on having them there on your first flash you *might* be able to put them in the /system/apps folder of the actual rom before flashing. Not 100% sure that'd do the trick but ive installed a few apps that way myself.
Click to expand...
Click to collapse
Edit: I tried this but with no luck. I even tried rebooting to see if that would help and it did not. Does anyone know of a guide how to create gapps or how to edit a build of one?
Yeah, that's what I have been doing with TI. It would just be faster if it was already there and I wouldn't have to navigate to it. Install and then have it install all my apps. I will try putting the apps in the rom and see if that works. I was hoping there was some tutorial on how to make your own gapps or how to edit an existing one. It would have been awesome if there was a program that made the gapps for you haha.
I'd like to know as well. I am about to try the rom thing myself, but it would be quite handy to add into the gapps file and use it instead of the rom, then I could switch roms and still have gapps file with my chosen installs without having to adjust each rom file and just adjusting a single file for all.
update:
I tried adding apps to the rom zip file and for whatever reason I can't add to it. I can remove from it, just not add to it.
That happens with certain zips. Extract the zip, add in the files you want and zip it again at the root folder level (select all the folders and send to compressed zip folder in Windows). That's how I always do it to avoid errors if I want to add anything to a zip.
Take a look here to learn how to make your own flashable zips - http://forum.xda-developers.com/showthread.php?p=31624265
Sent from my Desire HD using xda premium
easyrider77 said:
I'd like to know as well. I am about to try the rom thing myself, but it would be quite handy to add into the gapps file and use it instead of the rom, then I could switch roms and still have gapps file with my chosen installs without having to adjust each rom file and just adjusting a single file for all.
update:
I tried adding apps to the rom zip file and for whatever reason I can't add to it. I can remove from it, just not add to it.
Click to expand...
Click to collapse
All you have to do is open it with 7zip. Youll be able to drag/drop as you please.
Sent from my MB855 using xda premium

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

[Q] CSROM: Difficulty reinstalling some stock apps

I've just installed CSROM Turbo, and I'm attempting to restore some of the stock apps the author has removed. The author has placed all removed apps into deodexed apk files in a zip folder. I've been attempting to take the apk files and simply click on them from my sd card to install, but it won't let me. I haven't been able to search for instructions on how to re-install these removed stock apps. Can someone help me, please?
Thanks!
Those are system apks that cannot be just installed. Simply copy them into /system/app. I hope you know that means using root-level file manager.
ravilov said:
Those are system apks that cannot be just installed. Simply copy them into /system/app. I hope you know that means using root-level file manager.
Click to expand...
Click to collapse
Ah, didn't know they should just be copied; I'll definitely do that. I'll use Root Explorer to copy them over.
Thank you, I shall try this tonight!
ravilov said:
Those are system apks that cannot be just installed. Simply copy them into /system/app. I hope you know that means using root-level file manager.
Click to expand...
Click to collapse
Womp womp: I tried this tonight... unfortunately, nothing happens. I used Root Explorer to copy the deodexed files to /system/app. I restarted the phone, wiped the cache, restarted the phone again... but the stock music player I hoped to use did not appear.
Also, when I put the calendar widget on the home screen, it, "refreshing" or "loading". But none of my calendar entries are shown. So, similar to the music apk, I copied the calendar apks to the /system/app directory, but then all calendar options disappear.
Any advice? Thanks!

Categories

Resources