install application on system via adb? - Moto Z Play Questions & Answers

hi people, is there any way to install apk from fastboot? since it does not let me copy it to sytem manually moving the file wing caroeta system / app, thanks greetings

if you have an apk, copy it to your SDcard, and on your phone, in files or some file app, click on it and install it. You will be asked if okay to uninstall from there.

Related

[Q] Adding own apps into cm7?

hi guys, just switched to cm7.1, its a good rom, i was wondering if its possible to add your own apps into the rom and then flashing it? what i mean is to add your own essential apps into the rom and then to zip it so it uses up more rom space and leaves more internal space. if there is a method, can some one please give some idea on it. thanks
Of course it is. Just copy the app's apk from /data/app in the /system/app folder of the zip file.
Thanks but can you explain abit more in detail please, like if i put the apks in that folder, will the apps automaically be installed? and as for the rom zip file, will that need to be zipped up back in a special way? also will the apk's need to be signed with a special program? a small accurate guid would be sweet. thanks
There are two ways, either manually open the zip (no need to extract it) then just drag and drop your apk files to the System/app folder or data/app folder then close the window. Sometimes it doesnt work it depends I think on how the files was compiled or something.
Or use ROM manager. Look it up in the forums.
Edit: Its Rom Editor if my memory recalls it correctly.
kuljit55 said:
Thanks but can you explain abit more in detail please, like if i put the apks in that folder, will the apps automaically be installed? and as for the rom zip file, will that need to be zipped up back in a special way? also will the apk's need to be signed with a special program? a small accurate guid would be sweet. thanks
Click to expand...
Click to collapse
No, just open the zip and stick the apk's in that directory. Then when you go to flash just disable signature verification..
I'm not sure as to how this will go about saving space though.. it's the same as installing apps AFAIK
bortak said:
I'm not sure as to how this will go about saving space though.. it's the same as installing apps AFAIK
Click to expand...
Click to collapse
In a way it does save space. I remove some apps that I don't need from the CM zip like ROM Manager, live wall paper etc and then add my apk files on system instead of it being saved in data folder.
Sthankyou, can i manually move apps in the data folder into the system with root explorer? i am s-off.
kuljit55 said:
Sthankyou, can i manually move apps in the data folder into the system with root explorer? i am s-off.
Click to expand...
Click to collapse
with root explorer yes, but I don't think they'll actually be installed just by putting them there..
kuljit55 said:
Sthankyou, can i manually move apps in the data folder into the system with root explorer? i am s-off.
Click to expand...
Click to collapse
Yes you can manually install apks to the system/app using root explorer. But you have to modify the permission of the apk file upon transferring. It is best that you first copy the apk from the data/app folder to sd. Then uninstall the app. Then use root explorer to transfer the app from sd to system/app. Update the permission then reboot.
Take note that not all apps will work with this method. Some apps just needed to be on the data/app folder based on my experience.
Sent from HTC Desire via XDA App
Or use titanium backups "Covert to system app" functionaility
rootSU said:
Or use titanium backups "Covert to system app" functionaility
Click to expand...
Click to collapse
Yup. I forgot about that. Yeah damn easy too.

[Q] freeze system app

are there any way to freeze any system application without uninstall?
Does any one use root uninstall?
is it possible to rename file in system/app/ .apk to .backup
Thanks in advance to everyone..
1) Titanium Backup usually used to freeze apps effectively.
2) Root Explorer can be use to rename apk file and preventing it from running. I normally rename apk to rem. No reboot is required as it work immediately after rename done. If you ever need the app run again, just rename it back to apk and it run again.
Thanks so mutch....i think this question will be useful for everyone...
so...only one doubt....is it necessary to remve the relative file in data/data and in data/dalvik-cache??
Not need to remove anything if you're only want to freeze it or disable it like what I mentioned above.
thanks....i will try immediatly
I think,,, rooted device can use R.E renname the *.apk files (/system/app, /data/app)
dos5gw said:
I think,,, rooted device can use R.E renname the *.apk files (/system/app, /data/app)
Click to expand...
Click to collapse
We already talk about it if you read again above. It's assumed OP Defy's is rooted...
bloat freezer is back on the market

Saving or Storing .apk's

I'm about to start buying a few different apps, and want to save them on my PC so I can have them for either future use or if I am gonna be wiping my phone, returning it, getting another phone, etc... Anybody save them straight to their computer from amazon.com, or can I pull them off my phone thru Kies after dowloading from the market? Then I guess I'll also need to know how would I get the apk running once I put it on my SD Card? Sorry in advance if this is a dummy question- it's my first run at this and there are tons of different opinions and people pitching their softwares on google search and youtube that span back to 2009, so I'd like to see what someone who knows how and has a T989, Thanks!
Download astro file manager (free) from the market and u can back up your apk's. Save them to ur sd card and transfer it to ur pc.
Sent from my SGH-T989 using XDA
zero86ea said:
Download astro file manager (free) from the market and u can back up your apk's. Save them to ur sd card and transfer it to ur pc.
Sent from my SGH-T989 using XDA
Click to expand...
Click to collapse
+1
Sent from my SGH-T989 using XDA
You can also use JRUMMY6 apps - Ultimate app manager pro or ROM Toolbox Pro. This will save the apk as well as the settings for that app.
CincoDeDrinko said:
I'm about to start buying a few different apps, and want to save them on my PC so I can have them for either future use or if I am gonna be wiping my phone, returning it, getting another phone, etc... Anybody save them straight to their computer from amazon.com, or can I pull them off my phone thru Kies after dowloading from the market? Then I guess I'll also need to know how would I get the apk running once I put it on my SD Card? Sorry in advance if this is a dummy question- it's my first run at this and there are tons of different opinions and people pitching their softwares on google search and youtube that span back to 2009, so I'd like to see what someone who knows how and has a T989, Thanks!
Click to expand...
Click to collapse
Here's a quick guide:
1) Download and install a file explorer application that can write to the system partition. You can use ROOT explorer or ES file explorer. I'm not sure if astro has system writing capabilities.
2) Go into the application and enable root access and the ability to write to system. For ES, you go into settings then scroll down and check "Up to Root" and "Root Explorer" and "Mount File System"
3) Navigate to the apk files that you want to save. For user apps, it's under /data/apps and for system apps (memo, contacts, etc.) it's under /system/apps. Now you probably default to /sdcard so you'll have to go up one more level to reach the root directory (it'll just be "/") to access system or data. Save those apks.
4) If you want to restore these apks to a future phone/ROM, it's the same idea, except you just have to copy paste the files to the directory that you found them in. But you have to watch out for odexed/deodexed apps because they're not compatible. So if you go into /system/apps or /data/apps and you see a .odex file after each respective .apk file, you won't be able to install those apps to a ROM that is deodexed. If you go into those directories and you only see .apk files, you won't be able to install those apps on a stock ROM (almost all custom ROMs are deodexed).
5) All you have to do is copy the files into the directories and reboot, you don't have to install them or anything. Some will say that you should change the permissions to (rw- r-- r--) but I've tried both ways anecdotally and I don't think it makes a difference whether you do or not.
Although I'm not sure why you want to go about it this way, if you have titanium backup it'll do all your backing up and restoring for you. The only thing that I use this method for is for the memo.apk which I use but isn't included on all ROMs. TB doesn't back this up because it's a system app. So this process is really only necessary for system apps.
yoft1 said:
Here's a quick guide:
1) Download and install a file explorer application that can write to the system partition. You can use ROOT explorer or ES file explorer. I'm not sure if astro has system writing capabilities.
2) Go into the application and enable root access and the ability to write to system. For ES, you go into settings then scroll down and check "Up to Root" and "Root Explorer" and "Mount File System"
3) Navigate to the apk files that you want to save. For user apps, it's under /data/apps and for system apps (memo, contacts, etc.) it's under /system/apps. Now you probably default to /sdcard so you'll have to go up one more level to reach the root directory (it'll just be "/") to access system or data. Save those apks.
4) If you want to restore these apks to a future phone/ROM, it's the same idea, except you just have to copy paste the files to the directory that you found them in. But you have to watch out for odexed/deodexed apps because they're not compatible. So if you go into /system/apps or /data/apps and you see a .odex file after each respective .apk file, you won't be able to install those apps to a ROM that is deodexed. If you go into those directories and you only see .apk files, you won't be able to install those apps on a stock ROM (almost all custom ROMs are deodexed).
5) All you have to do is copy the files into the directories and reboot, you don't have to install them or anything. Some will say that you should change the permissions to (rw- r-- r--) but I've tried both ways anecdotally and I don't think it makes a difference whether you do or not.
Although I'm not sure why you want to go about it this way, if you have titanium backup it'll do all your backing up and restoring for you. The only thing that I use this method for is for the memo.apk which I use but isn't included on all ROMs. TB doesn't back this up because it's a system app. So this process is really only necessary for system apps.
Click to expand...
Click to collapse
TI backup also just requires the pro license key to be stored in the same location as the backup directory. this way you can change roms and get Ti pro back without needing to re purchase.
Sent from my SGH-T989
try using root explorer
then goto the data/app directory copy your apps and move to whatever folder that you like. then if you want you could sign up for minus and upload all your apks (they have a 2gb upload limit so it works great). Or just connect hercules to computer and pull files from folder you copied to to your computer.
rom tool box pro backs up ALL your installed apks on your sd. manual install and market installed.

[Q] HTC Locations' App. on other Custom ROMs

Hi,
I need to install HTC's Locations app on any custom ROM (ie: MyOneV or CM9/CM10)
So any1 can help me with this ?
(i tried it though, by moving these files (from MyOneV5.0FX Removed apks) htclocation.apk,locationpicker.apk,locatiooninstaller.apk in System/app folder bt it didn't worked)
When you move those files to system app manually, you need to put right permission rw-r--r-- then reboot.
Or the simplest way is, open the Removed_Apks_RC5.x.zip with 7-zip (not extract), delete all apks that you don't need and leave those location files in zip.
Then flash the zip in recovery.
And these files will not work on a CM rom.
ckpv5 said:
When you move those files to system app manually, you need to put right permission rw-r--r-- then reboot.
Or the simplest way is, open the Removed_Apks_RC5.x.zip with 7-zip (not extract), delete all apks that you don't need and leave those location files in zip.
Then flash the zip in recovery.
And these files will not work on a CM rom.
Click to expand...
Click to collapse
:good:
Thankz
I tried that too, by removing all apks from zip keeping the said three files & flash it in recovery, still it doesn't appeared in apps!
Though i'll try again may b missed something or some file..
I just tried it, it works.
Your filename looks different, attached here the files from the Removed_Apks_RC5.x.zip, I named it to location.zip. Flash in recovery.
It Worked: Thanx

[SOLVED] How keep an .APK of an app downloaded from google play?

hi folks,
before on 2.3 when you installed an app from google play, it was named as download.apk in /cache folder so it was easy to copy it to sd for backup.
Since 3.* not possible anymore to do the trick, where do the downloaded app go before be installed? (i need to find a trick for download apk from google play without install them for add them to a rom i am preparing.
thxx for your help
------------SOLVED-------------
it s in /data/app
Couldn't you just install it, and then pull the apk back out of /data/app? Is it really that important that it doesn't install?
yes of course, it s just i didn t knew that now it was in /data/app
Deleted

Categories

Resources