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!
Related
Hello all,
I have written a script to push as file to my TB and it works kind of...I just want to know why it is not functioning as it should.
Here is what I am attempting to do.
Since my HTC weather does not have my city listed and my weather is always way off, I hacked the HTC weather database to add my city. And it works great.
So I wanted to create a weather_update.zip to install using CWM to do all of this for me if I changed roms and to allow others to use it as well.
the file goes into the /data/data/com.htc.provider.weather/files directory.
My script mounts data, pushes the file, changes the appropriate permissions, then unmounts.
It works as intended because I can see the file using adb prior to reboot.
However, after a reboot, the file is overwritten by the original. I can even delete the file completely, reboot and it is rebuilt. So my modified file does not stick.
BUT, if I use root explorer and copy the file to the correct directory and change permissions, my modified file works even after a reboot.
I don't understand why it works one way but not another.
Is there a step I am missing in the updater-script?
Any help would be appreciated....
Thanks,
Scott
UPEngineer said:
Hello all,
I have written a script to push as file to my TB and it works kind of...I just want to know why it is not functioning as it should.
Here is what I am attempting to do.
Since my HTC weather does not have my city listed and my weather is always way off, I hacked the HTC weather database to add my city. And it works great.
So I wanted to create a weather_update.zip to install using CWM to do all of this for me if I changed roms and to allow others to use it as well.
the file goes into the /data/data/com.htc.provider.weather/files directory.
My script mounts data, pushes the file, changes the appropriate permissions, then unmounts.
It works as intended because I can see the file using adb prior to reboot.
However, after a reboot, the file is overwritten by the original. I can even delete the file completely, reboot and it is rebuilt. So my modified file does not stick.
BUT, if I use root explorer and copy the file to the correct directory and change permissions, my modified file works even after a reboot.
I don't understand why it works one way but not another.
Is there a step I am missing in the updater-script?
Any help would be appreciated....
Thanks,
Scott
Click to expand...
Click to collapse
I could be way off base here but wouldn't you have to recursively delete the original to keep it from rebuilding?
dbu said:
I could be way off base here but wouldn't you have to recursively delete the original to keep it from rebuilding?
Click to expand...
Click to collapse
LOL, what I was thinking too, but it doesn't seem to work, unless I am doing it wrong.
If I replace the file and reboot, the original rebuilds.
If I delete the file completely and reboot, the original rebuilds.
If I replace the file using root explorer after phone has booted and then reboot, my modified file sticks.
That is what I can't figure out. Why it sticks after OS has loaded but rebuilds if the same file is placed before reboot.
And I can't figure out where the file is being rebuilt from.
Uggggg.
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....
I'm using my evo and my calendar app is from the kings shooter 3d and it's a great calendar app. When I sync'd the calendar app on my ics photon it only shows some of the things. Pretty much anything I manually put on my calendar isn't coming up. I have the basketball schedule, holidays, and other repeating events showing up, but nothing else. I would like to install the other calendar app so I pulled it off the rom and tried to install, but it wouldn't let it. Does anyone know how I can use the calendar app from my evo rom? Or correct the problem from my current ics calendar app? Thank you
Did you just trying installing the apk? Or did you move it into /system/app folder? If you move to that folder with Root Explorer set permissions and reboot it should work. Dont forget to rename the normal calendar to .apk.bak so if it doesn't work you can just rename it back to .apk and reboot and be back to normal.
w0lf215 said:
Did you just trying installing the apk? Or did you move it into /system/app folder? If you move to that folder with Root Explorer set permissions and reboot it should work. Dont forget to rename the normal calendar to .apk.bak so if it doesn't work you can just rename it back to .apk and reboot and be back to normal.
Click to expand...
Click to collapse
I pulled the apk file from the rom and emailed it to myself so it downloaded and I tried to install but it wouldn't let me. Oh ok, I'll try your method. I'll have to read how to set permissions. I have a copy of root explorer and that wouldn't work either, but I have Astro and I was able to edit files with it too, but I would like to get my root explorer working also. Thanks wolf
w0lf215 said:
Did you just trying installing the apk? Or did you move it into /system/app folder? If you move to that folder with Root Explorer set permissions and reboot it should work. Dont forget to rename the normal calendar to .apk.bak so if it doesn't work you can just rename it back to .apk and reboot and be back to normal.
Click to expand...
Click to collapse
I tried using a few file explorers even root explorer and none will let me change the name. Root explorer actually says cannot be changed because it is read only. I'm using CM7.2 now. How can I make the files read and writable?
I rooted with the stripped down ROM. But i need the stock email app in order to sync my Exchange contacts Where can i get just this apk? Thanks !!
Right. Download my ROM for example and extract Email.apk from zip file. Then copy it using RootExplorer or adb into /system/app on your phone. Change permissions to rw-r-r. Reboot.
bravomail said:
Right. Download my ROM for example and extract Email.apk from zip file. Then copy it using RootExplorer or adb into /system/app on your phone. Change permissions to rw-r-r. Reboot.
Click to expand...
Click to collapse
Excuse my ignorance, but i can't seem to extract from any of the ROM's ive downloaded (can't find the link to yours if i click the ics one in your signature it just takes me to a long thread with no obvious links). I know how to use adb to get the file onto the phone, but cant figure out how to get it out of the .tar.ext4 file ?
download blazer rom : http://forum.xda-developers.com/showthread.php?t=1746184
then use 7zip (http://www.7-zip.org/) to open the zip.
navigate to system/app and find email.apk
extract it from there (drag and drop it out of the 7zip window to your desktop)
then copy that to your phone ... either use adb to push it to system/app or use root explorer on your phone.
hope that helps
Hi, I realize that your rom says that it's just for Sprint, if I were to download it and take the contacts.apk from it, would that not work on my AT&T galaxy SIII?
I accidentally disabled it and am currently trying to find a way to get it back onto my phone. :'( *I already looked at my settings>applications>all and it's not there. [contact storage is there, but I can't find the application that I use to actually read that, after the disabling.//I raged on it for continually popping up on my advanced task manager.]
jdelano said:
download blazer rom : http://forum.xda-developers.com/showthread.php?t=1746184
then use 7zip (http://www.7-zip.org/) to open the zip.
navigate to system/app and find email.apk
extract it from there (drag and drop it out of the 7zip window to your desktop)
then copy that to your phone ... either use adb to push it to system/app or use root explorer on your phone.
hope that helps
Click to expand...
Click to collapse
I rooted (using this method: http://www.androidauthority.com/galaxy-s3-sch-i535-root-101633/) and ended up using the non-bloatware version and apparently the regular email app was considered bloatware for some reason because it disappeared.
So I tried following your instructions, but there was no "email.apk" in the download, so I figured you probably meant "exchange.apk." Followed the instructions, moved it to system\app, changed the permissions, and rebooted but it's still not showing. So I went back to try to install it manually, and it just tells me it wasn't installed successfully (and yes, I have "unknown sources" selected).
I am also not sure if this is the stock GSIII email app, based on the icon. Looks like the old yellow email icon to me.
I have a rooted Verizon GS4 and am trying to install an apk as a system app using ES File Explorer. I have root enabled in ES but when I copy the apk from my sd card so system/app I get "permission denied". What am I missing?
TMack1962 said:
I have a rooted Verizon GS4 and am trying to install an apk as a system app using ES File Explorer. I have root enabled in ES but when I copy the apk from my sd card so system/app I get "permission denied". What am I missing?
Click to expand...
Click to collapse
Did you grant read write privileges?
Edit:
Nevermind they changed up the layout and settings I do see what youre talking about tho. Its gotta be something witb ESFM because I can paste something to system with root explorer no problem..
Hit thanks if I helped you out. Doing a little bit of reading goes a long way. Sent via tapatalk. now Free
hexitnow said:
Did you grant read write privileges?
Click to expand...
Click to collapse
I believe so. Root Explorer is "on" and Mount R/W permission is set as Path/ =RO, /persdata/absolute=RW, /system=RW, /firmware-mdm=RO.
Does that sound right?
OK, I went ahead and bought "Root Explorer" and was able to copy the Calendar apk into the system/app folder. But I still can't get it to install. system/app is mounted as R/W but when I tap on the apk and run "install" it says "application not installed" every time. Any ideas why? FWIW, the apk is "SecCalendar_NAmerica_SPen.apk" and should be the apk for the stock Calendar app.
TMack1962 said:
OK, I went ahead and bought "Root Explorer" and was able to copy the Calendar apk into the system/app folder. But I still can't get it to install. system/app is mounted as R/W but when I tap on the apk and run "install" it says "application not installed" every time. Any ideas why? FWIW, the apk is "SecCalendar_NAmerica_SPen.apk" and should be the apk for the stock Calendar app.
Click to expand...
Click to collapse
The not installing is normal, see what permissions another system app has, apply the same.to the one youre copying. Reboot and it should work.
Hit thanks if I helped you out. Doing a little bit of reading goes a long way. Sent via tapatalk. now Free
hexitnow said:
The not installing is normal, see what permissions another system app has, apply the same.to the one youre copying. Reboot and it should work.
Click to expand...
Click to collapse
OK, I'm now stumped. I've changed permissions and "owner" so it's identical to all other .apk's in the system/app folder. But after rebooting it still isn't installed. It looks right in the system/app folder, but the application is not in my app drawer. (No icon, widget, etc.) Any other ideas?
I know this is old but I'm having the same problem. The file is Read Only and I can't figure out how to change the path so that I can copy it to system/app.
Thank you
TMack1962 said:
I believe so. Root Explorer is "on" and Mount R/W permission is set as Path/ =RO, /persdata/absolute=RW, /system=RW, /firmware-mdm=RO.
Does that sound right?
Click to expand...
Click to collapse