[Q] Pushed apks won't install? - Galaxy S III Q&A, (US Carriers)

Sorry for being noob, but I'm having a problem pushing .apk's that has .odex files along with it. I flashed my SG3 with the stripped APK's ROM and I wanted to put some of the apk's back like the Music Player with the provided .zip he provided that contains all the stripped apks.
I tried pushing it to /system/app but was denied.
I tried pushing it to the /sdcard and then copying it over to /system/app, but everytime I try to install it it says "Application not installed."
I've been looking at all the guides and tutorials to push apk's properly, but maybe I am missing something?
It only fails to install with applications that has an .odex file along with it, anything without an .odex file installs fine.
If someone may be can provide me step-by-step instructions to do this, that would be really helpful.
Any input would be appreciated. Thanks.

Nevermind, it seems even though it says "Application not installed." As long as it's in the system folder with the right permissions, it will show up on your list of applications.

Related

Help, I uninstalled "clock 1.0" and can't restore it (system app apparently)

Help, I uninstalled "clock 1.0" and can't restore it (system app apparently)
I uninstalled clock 1.0 because i thought it would get rid of the widget of clock pictures I didn't use. I backed up clock 1.0 on titanium backup, but now it won't restore. even after i extract the apk and install it from there manually, it says installation failed.
i don't want to do factory reset because i have already rooted the phone.
help? or point me in a much better clock app than the one that came with the galaxy s2?
Apparenly it was a system app?!? com.sec.android.app.clockpackage
ok, so after some digging i found that com.sec.android.app.clockpackage.apk still existed in system/apps but just wasn't running. I also noticed for almost every .apk, there was a .odex. But for my clockpackage, there was no .odex, maybe that's why it's not working?
on that thought, maybe anyone here can copy their .odex files for the 2 clock .apks and send them to me? Just use Root Explorer to see the system/app folder, mount R/W if you need to, then copy the 2 .odex files and then upload them somewhere? Pls?!?
if you want root explorer, holla at me via pm
jeanclaudevandamme said:
I uninstalled clock 1.0 because i thought it would get rid of the widget of clock pictures I didn't use. I backed up clock 1.0 on titanium backup, but now it won't restore. even after i extract the apk and install it from there manually, it says installation failed.
Click to expand...
Click to collapse
Stupid me did exactly the same and has exactly the same problem. Any help appreciated!
Regards, edi
same problem - thanks in advance
Well, found a solution: installed KE7 through Odin, Rootet again, everything was still there except google account binding...
Regards, Edi
THIS IS HOW I SOLVED IT. This is a superior solution to the one above as you do not need to reflash or reroot and you keep all data and settings. Apologies for not replying earlier.
1)keep your clockpackage.apk in system/apps
2)download this .odex file
3)put the file in system/apps, remember to mount r/w in rootexplorer to enable pasting it in there, then mount r/o when finished
4)turn phone off.
5)turn phone on.
(You need Root Explorer, or a similar app that will let you read/write system files) (Pls also refer to this thread)
Here's the odex file.
No success...
Guys, I did all you said here, following the step-by-step, managed to get both files in system/app folder, but still can't see the icon as if it were installed.
I have Root Explorer and Root explorer installed.
I noticed all files were set as "rw-r--r--" so I changed it on both apk and odex... I'm doing this on a Galaxy W running stock 2.3.6...
What am I forgetting???
All and any help will be deeply appreciated...
[Update]
I managed to get the ClockPackage.apk and the ClockPackage.odex from another device (running on 2.3.5 instead of 2.3.6) and now I get the following error while trying to install the apk:
"Parse Error: There is a problem parsing the package"
Does anybody know what to do?
jeanclaudevandamme said:
THIS IS HOW I SOLVED IT. This is a superior solution to the one above as you do not need to reflash or reroot and you keep all data and settings. Apologies for not replying earlier.
1)keep your clockpackage.apk in system/apps
2)download this .odex file
3)put the file in system/apps, remember to mount r/w in rootexplorer to enable pasting it in there, then mount r/o when finished
4)turn phone off.
5)turn phone on.
(You need Root Explorer, or a similar app that will let you read/write system files) (Pls also refer to this thread)
Click to expand...
Click to collapse
Mate, it might sounds silly, but where's system/apps? Can't find it, no matter what pro version of any software I use (MyBackup Pro, ES File Explorer). It's like it's missing on my phone. Can you help me more? I've the same problem for the case.
fifth_root said:
Mate, it might sounds silly, but where's system/apps? Can't find it, no matter what pro version of any software I use (MyBackup Pro, ES File Explorer). It's like it's missing on my phone. Can you help me more? I've the same problem for the case.
Click to expand...
Click to collapse
Did you do what the instructions said? They clearly say 'use Root Explorer'. If you open Root Explorer, and scroll down, you will find the 'system' folder. Inside there will be another, 'apps'. That's what the post says....

[Q] how to pull an .apk and install in another ROM

I have installed a ROM that removed a lot of bloat including the DockMode.apk which I use daily when at my desk.
I have pulled the DockMode.apk from a stock rom, and from a modified rom and I cannot get either to install using Root Explorer, APK Installer or ES File Explorer.
I was unsure if this was as easy as it seemed.
I simply extracted the ROM files, pulled the .apk from system/app and copied it to my phones SD and attempted to install it.
The file transfers to the phone fine, and the DockMode icon is there with the 331 kb file. But I get the message (install failed) when using all three of the install applications.
Any suggestions, I really do need to find a way to make this work.
Put it in system/app
Sent from my PG86100 using XDA Premium App
sandiegopaneraiguy said:
I have installed a ROM that removed a lot of bloat including the DockMode.apk which I use daily when at my desk.
I have pulled the DockMode.apk from a stock rom, and from a modified rom and I cannot get either to install using Root Explorer, APK Installer or ES File Explorer.
I was unsure if this was as easy as it seemed.
I simply extracted the ROM files, pulled the .apk from system/app and copied it to my phones SD and attempted to install it.
The file transfers to the phone fine, and the DockMode icon is there with the 331 kb file. But I get the message (install failed) when using all three of the install applications.
Any suggestions, I really do need to find a way to make this work.
Click to expand...
Click to collapse
It's most likely failing because it's a system app, and needs to be pushed to the /system/app folder. You can do that with adb, or you can just use root explorer. To use adb, do this:
adb remount system
adb push HtcDockMode.apk /system/app (or whatever the .apk is called)
adb reboot
Or using root explorer, take the .apk and paste it into the /system/app folder. (You must make sure to set it as r/w using root explorer). Then long press on any apk in your /system/app folder, and press permissions. Notice what they are set to, and then make sure the permissions on your dockmode.apk are set the same as all the other apps in your /system/app folder. Then reboot when you're done. That should work. If it doesn't work, then it most likely means that the htc dock mode app is dependent on something else that's been removed.
I tried both the adb push method and the root explorer method, checked the permissions and attempted to install.
Still get the "installation failed" message. So there must be something else that has been changed.
Thank you kindly for the efforts. I will try to find another ROM that is similar and still has this feature.
if you really want to get technical, monitor logcat and it should split out the real reason why it is throwing the installation error.
adb logcat, adb shell logcat or ddms are three ways to access it.
if you want to pastebin your logcat, careful as there is private/sensitive data in there sometimes, we can take a lot and try and figure out the exact error.
as mentioned above, it probably has a dependence. logcat *should* tell us which dependency it is missing when it throws the install error.
figured i would present the option, even if its not the easiest. logcat is the easiest developer route to determine the issue, in my opinion. hope that helps!
sandiegopaneraiguy said:
I tried both the adb push method and the root explorer method, checked the permissions and attempted to install.
Still get the "installation failed" message. So there must be something else that has been changed.
Thank you kindly for the efforts. I will try to find another ROM that is similar and still has this feature.
Click to expand...
Click to collapse
Once you put it in /system/app you don't click install. Just reboot.
Sent from my PG86100 using Tapatalk
k2buckley said:
Once you put it in /system/app you don't click install. Just reboot.
Sent from my PG86100 using Tapatalk
Click to expand...
Click to collapse
WOOHOO... that was it! I kept thinking I need to "install it".
I went back in, set all the permissions and rebooted and it works like a charm!
Thank you very much!

Cannot install apps by copying apk's to /app

Hi
Ever since I've upgraded to new Sammy JB, I cannot simply install any app by CWM zip or manually by copying the apk to /data/app or /system/app
If I copy the apk and restart it won't install. If I use root explorer and go to the apk location (i.e /data/app/) I see it has a generic android icon. If I click on it and select install, It the parse error.. However, if I copy or move this apk to anywhere on the sdcard, the original apk's icon will restore and i can now install it by clicking it... I tried changing permissions but it did not help... I tried full factory reset and installing another JB based rom (LS8 or LSD WanamLite or NeatROM) but I always get the same problem. Placing the apk on /preload/symlink/app did not work either...
Any ideas what could be the problem?
Thanks

[Q] [HELP!!] Deleted some odex, now no more apk installer

Was trying to install some APK manually then i got a "LOW STORAGE SPACE" warning. Check online, was 'guided' to delete some .odex file.
I think i deleted some wrong files but I can't remember which. After deleting the .odex, I was able to install the APK I wanted to install.
But now, which is few hours later with a few reboot done to my phone. I can't use Google Play (getting error 406), I can't manually install APK which I transferred from my notebook. When I try to open the APK file (and few others which previously worked) via Root Explorer or File Commander both apps return the similar warning, somethings that says "there are no apps capable of opening this kind of file"
Any help here?
ed0gawa said:
Was trying to install some APK manually then i got a "LOW STORAGE SPACE" warning. Check online, was 'guided' to delete some .odex file.
I think i deleted some wrong files but I can't remember which. After deleting the .odex, I was able to install the APK I wanted to install.
But now, which is few hours later with a few reboot done to my phone. I can't use Google Play (getting error 406), I can't manually install APK which I transferred from my notebook. When I try to open the APK file (and few others which previously worked) via Root Explorer or File Commander both apps return the similar warning, somethings that says "there are no apps capable of opening this kind of file"
Any help here?
Click to expand...
Click to collapse
from your question I guess it is the packageinstaller.apk/odex you deleted but not sure
with out the name of the files you deleted you cant get it to work
so simply reflash the rom
sangalaxy said:
from your question I guess it is the packageinstaller.apk/odex you deleted but not sure
with out the name of the files you deleted you cant get it to work
so simply reflash the rom
Click to expand...
Click to collapse
Well, reflash after trying various ways...
Thanks anyway

[Q] Add apk to SharkieRom Lite

I would've posted in the development forum but I don't have enough posts. I would like to add the stock mail apk back to the rom. I thought I read how on my first read through, now I can't find it (I searched also). I downloaded the removed apk's zip and put the mail apk on my sd card. I tried to add it to the system/data folder but it didnt work. Hopefully someone can point me in the right direction
You put it in /system/app and rebooted and it wasn't installed? It should have been... Do you have a pc with adb installed? If so, you can just push it to /system/app and reboot. Both methods should work... Or you could put the Mail+PRIME.apk in the ROM zip file in /system/app before you flash it by opening the zip as archive then re-flash it.
Thanks for trying my ROM out! Sorry you didn't get an answer to your question sooner. Feel free to PM me if you ever need help.
When I add it to system/app there is already a mail apk there. So I replaced it with the file from my SD card and rebooted . Now it shows in my app drawer but force closes when I try to open it.
There being a Mail+PRIME.apk already in /system/app doesn't make sense unless you already added it in at some earlier point. In any event, I would make sure you only have one of those in there. If there's somehow one in there called just 'Mail', delete it. After you put the new mail+prime apk in /system/app, set the permssions so it looks like all the other /system/app apks, reboot into recovery, wipe your cache and dalvik-cache, and then reboot. That should do it.
Thanks for the help, I'll give that a try

Categories

Resources