[Q] How to push an apk into apps folder - Hero CDMA Q&A, Help & Troubleshooting

I recently installed aospGBMod and would like to install Quickoffice. I know that I have to push the apk file into the system/app folder, but I'm not sure how to do so. Can this be done using the terminal emulator and if so what are the commands? Thanks for your help!

You could use one of the following methods:
1. Once connected via USB and having your USB debugging on: adb install <path_to_apk>
2. Move the apk file to the SDcard (doesn't matter where), enable "Install from unknown source" under manage applications and then use a file manager to access the apk, it should ask you to install it... go ahead and install
3. Execute following commands:
adb remount
adb push <location/apk file> /system/apps/
adb remount
adb restart
Hope this helps.

It didn't work. The apk file that I was using was from a sense rom. I wonder if that makes a difference. Is there a way that I could copy the apk file from CM6.1 and push it into the system/app folder? Has anybody else gotten this to work?
Sent from my HTC Hero CDMA using XDA App

Go here: http://forum.xda-developers.com/showpost.php?p=8135299&postcount=1. The post has a link for passionquickoffice.apk. Download it and use any of the above methods to push/install it.

THANK YOU!!!

Related

How to Mass Install Apps with ADB?

So, I want to do a flash and have backed up all the APPs into a folder. So, is there anyway to install all the apps onto the phone that is in inside the backed up folder using ADB after I reinstalled? I know this should be possible since there is a way to do a mass pull using ADB.
shaolinx said:
So, I want to do a flash and have backed up all the APPs into a folder. So, is there anyway to install all the apps onto the phone that is in inside the backed up folder using ADB after I reinstalled? I know this should be possible since there is a way to do a mass pull using ADB.
Click to expand...
Click to collapse
Could write a batch file/shell script to iterate through a folder and adb install the contents of it.
shaolinx said:
So, I want to do a flash and have backed up all the APPs into a folder. So, is there anyway to install all the apps onto the phone that is in inside the backed up folder using ADB after I reinstalled? I know this should be possible since there is a way to do a mass pull using ADB.
Click to expand...
Click to collapse
Sure there is:
If you have app2sd:
adb push folder of apps /system/sd/app
If not:
adb push folder of apps /data/app
Assuming adb is in your path, open a command prompt at the folder containing your APKs and issue:
Code:
for %f in (*.apk) do adb install "%f"
Thanks all, both of your way works.
Thanks
Awesome thank you for the help. Have been trying to figure this out for a while.
AdamPI's answer will only work if you use a virus instead of an operating system. The correct answer is this;
for FILE in *; do /path/to/adb install "$FILE"; done

Looking for the best batch installer/uninstaller app

I'm looking for the best app for batch uninstalls for root or non-root. As for batch installs I'm looking for the best non-root app since I use backup for root.
ADB
10char
How about an app? Also I know you can do 'adb install asdf.apk' but how can I do it batch? Like what specific command is it?
ThR1LL said:
How about an app? Also I know you can do 'adb install asdf.apk' but how can I do it batch? Like what specific command is it?
Click to expand...
Click to collapse
I dont think there is an app right now in the market that can do batch install/uninstall. you have to do it on your pc. I also use backup for root, and i backup all my apps. since i dont use apps2sd on my magic, i have everything internal, so after a wipe/flash i need a fast way to reinstall all my apps. found this on the forum and works great.
create a batch file.
1. open up notepad n copy and paste this code: for %%f in ("LOCATION_OF_APK_DIRECTORY\*.apk") do adb install "%%f"
2. replace with the location to your actual APK folder.
3. save as a a batch file (.bat)
For example, mines is like this:
for %%f in ("F:\Backup\Files\Mobile_Stuff\Android\HTC_MAGIC\01_CupCake\apk\*.apk") do adb install "%%f"
and I saved as apkinstall.bat
So now, whenever you want to install batch apks, just drop the apks into the folder you selected above, and double click the batch file.
Gphonemanager
It does batch uninstall. You just have to select 'ok' one by one until you've uninstalled all the apps that you wanted to.
put all your apps in a folder called
app
app-private
depending on which one it was
open command prompt in the folder containing those two folders and use the commands
Code:
adb remount
adb push app /system/sd/app
adb push app-private /system/sd/app-private
adb shell reboot
Is there any way to relink an .apk (coming from a backup, usually) with its origin on Market ?
I have hundreds of market-installed apps and after each reset I have to reinstall one by one, if would keep the market download update feature...
Thanks

help adding HTC Album back

im on the latest fresh 2.1.2 and i cannot set pictures to contacts,
Ive downloaded the HtcAlbum.apk i added it to the memory card and tried running it but it would not install,
can someone tell me the proper way to install the apk and to where. I was using root explorer but cannot get it working
Thanks
Do you know how to use ADB?...if so,
adb push /path/to/filename.apk
i have used it once or twice
can it not be done with root explorer?
if i use ADB what directory do i push it to
thanks again
adb push application.apk /system/app

Can't get apk's to install?

I got my NC rooted (I think LOL) I went through the root process and everything looks fine but now i'm trying to install some apk's and I cant get it to work. I want to install root explorer so I pulled the apk from my Htc Evo and put it in a folder on my desktop. Then in cmd I type
cd\
cd android-sdk-windows\platform-tools
adb kill-server
adb devices
I get my device listed so then I type (before the cursor it says C:\android-sdk-windows\platform-tools>)
adb install C:\documents and settings\owner\desktop\apks\root explorer 2.12.4.apk"
and I get a message that says "can't find 'explorer 2.12.4.apk' to install
I am stuck I don't know what to do. Please help me!!
I have tried the name root explorer 2.12.4.apk with and without spaces
Novarider said:
adb install C:\documents and settings\owner\desktop\apks\root explorer 2.12.4.apk"
Click to expand...
Click to collapse
If cmd is like Linux you have to put \ before spaces like root\ explorer\ 2.12.4.apk
its definitely related to where the apk is located or the file name.
Try putting quotes around the path such as....
adb install "c:\docume...."
If that doesn't work then create a folder on your c:\ called apk then move the file over to that folder and rename the .apk file to something without spaces.
Good luck!
So I am at the correct path? What EXACTLY do you type after you open the cmd? Can you just open the cmd and start installing apps or do you have to navigate to android-sdk-windows...
What do I need to type from the time I open cmd?
rob04 said:
its definitely related to where the apk is located or the file name.
Try putting quotes around the path such as....
adb install "c:\docume...."
If that doesn't work then create a folder on your c:\ called apk then move the file over to that folder and rename the .apk file to something without spaces.
Good luck!
Click to expand...
Click to collapse
The " around the path worked. Thanks!
Now that I have root explorer installed how do I use it? Can I put it on my home screen?

[Q] Root Explorer no R/W option on /system/app

Hi,
just installed GALACTUSMOD 4.2 XXLT5, i wanted to push/move stock FMRADIO.APK and EMAIL.APK. I already installed Root Explorer to be able to push .apk. but i have one problem. /system has RW option, /system/app no RW option. i tried the other way of pushing using terminal yet still cant locate it. does anyone can fix this? or does anyone can make a tutorial to enable the RW option for /system/app so i could able to move apk's I wanted to have on my phone.
You can't locate what? Check in /preload/symlink/system/app folder. I still don't get what you are trying to achieve. Push apk to phone from pc or?
nokiamodeln91 said:
You can't locate what? Check in /preload/symlink/system/app folder. I still don't get what you are trying to achieve. Push apk to phone from pc or?
Click to expand...
Click to collapse
Hi sir,
Im trying to push Email.apk and FM.apk to GalactusMOD ROM, I'm using root explorer I can locate /preload/symlink/sysmtem/app and system/app but the prob is, there is no R/W option. I cant push or move those APKs. Hope you can help me. thank you
Not sure of the method you are using, but try this.
1. enable USB debugging. Connect phone to PC and open terminal / cmd.
2. run command adb devices to make sure the device is listed.
3. adb root.
4. adb remount
5. adb push Email.apk /system/app
then manually change the permission of the app using root explorer or use chmod command.
nokiamodeln91 said:
Not sure of the method you are using, but try this.
1. enable USB debugging. Connect phone to PC and open terminal / cmd.
2. run command adb devices to make sure the device is listed.
3. adb root.
4. adb remount
5. adb push Email.apk /system/app
then manually change the permission of the app using root explorer or use chmod command.
Click to expand...
Click to collapse
Hello sir,
I've read again all the details of GALACTUSMOD, it says
"My ROM no longer uses System/app! this has all been symlinked to Preload.
so any MODS/THEMES Etc need to be Preload ONLY!!!"
i guess im not gonna able to push or either move apk to system/app
You still can.
nokiamodeln91 said:
You still can.
Click to expand...
Click to collapse
anyway, I got kitkat email, and spirit fm unlocked. thanks for your response. i really dont know how to push apk. using adb no time to read about it. i just know root explorer. maybe someday if i got time. i really need my phone for my clients they're calling and texting.

Categories

Resources