[Q] ADB file location help!!! - Droid Eris Q&A, Help & Troubleshooting

Every time I try to push a file via adb it says it can not find the file. where am I supposed to put these files? For example Droidx keyboard apk. Boot animations etc. where do I have to put these files in order to be able to push them?

ryan49er said:
Every time I try to push a file via adb it says it can not find the file. where am I supposed to put these files? For example Droidx keyboard apk. Boot animations etc. where do I have to put these files in order to be able to push them?
Click to expand...
Click to collapse
The same folder you have ADB in. Usually it's c:\blahdyblah\android-sdk\tools.

Related

MetaMorph push file question

I want to push with my theme, a new start up and shut-down audio file, is it possible? I saw that .cpy command in metamorph, but not sure as to how the synax is of using it, and if it will do what I want it to do.
Cpy will directly copy any files in the folder specified. It will do exactly what you want.
Sent from my SGH-T959 using Tapatalk
Ok, next question. Is there a remove/delete command for MetaMorph, so I can make an undo file for my Theme to put it back to stock? Cause if I copy 3 ringtones to a persons system ringtone directory, and they run the undo later, I want it to remove the custom ringtones as well.
There's no real way to remove files in metammorph.

[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!

[Q] Need S3 Stock email client apk ...

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.

Is there a way to pull an apk for an app than came preloaded

There is an app that came with my phone Samsung Galaxy s2 (t989D) running 4.04. I'd like to pull this app and use it on a custom rom. Is there any way to pull the APK off the phone? I know there's ways to pull apks for apps you've downloaded from the market. Would these methods apply for preloaded apps?
Those apps are usually in /system/app.
You can pull them if you're rooted. Using adb pull:
Code:
adb pull /system/app/app.apk
You can also use any file explorer, go to /system/app and copy it.
Root is required, of course.
GermainZ said:
Those apps are usually in /system/app.
You can pull them if you're rooted. Using adb pull:
Code:
adb pull /system/app/app.apk
You can also use any file explorer, go to /system/app and copy it.
Root is required, of course.
Click to expand...
Click to collapse
Cool thanks. After messing around a bit I did figure it out using root explorer. One thing I found along the way is an app called app extractor which can pull individual apks and settings from nandroid back ups . While different than the topic at hand, pretty cool little app!

Need help with adb

Im making a game save editor like modio or horizon but for android but to make it a fluent as possible im trying to use ADB to push file to the device so the user dosent have to install it manually. however i cant push or pull files to the directory they are saved (/data/user/0/com.mojang.minecraftpe/) i can push and pull to some folders but not this one. i appreciate any help.

Categories

Resources