[Completed] Question: Is there a way to install a .APK manually? - XDA Assist

Hi,
My question is simple: In linux we can extract a .DEB file and manually put each of its contents in its relative system directory, then it works just fine after a reboot (or logout-login process). Is there a way to do the same for the .APK files?
Thanks in advance,
Multimann2

multimann2 said:
Hi,
My question is simple: In linux we can extract a .DEB file and manually put each of its contents in its relative system directory, then it works just fine after a reboot (or logout-login process). Is there a way to do the same for the .APK files?
Thanks in advance,
Multimann2
Click to expand...
Click to collapse
Hello and thank you for using XDA Assist.
While an *.apk file is effectively a ZIP archive, each one will have its own set of components that need to be installed in any number of possible application-specific locations (within /system, /data, storage, etc.). The installer takes care of that and there is no realistic way to emulate the process "manually". If you need to discuss the matter further, I suggest you post your question in the friendly general Android Q&A, Help & Troubleshooting forum at http://forum.xda-developers.com/android/help where other members will be able to respond.
Good Luck!

Thanks Mike B.
I will post it there right now. But based on your information, we should be able to "read" where the app is supposed to be installed in the system.

multimann2 said:
Thanks Mike B.
I will post it there right now. But based on your information, we should be able to "read" where the app is supposed to be installed in the system.
Click to expand...
Click to collapse
It might not be as straightforward as you might think, but thanks for posting "over there" where you're likely to get various opinions.
Thread closed.

Related

[Q] How to browse an .apk on your desktop?

Hello everyone. Although n00bs aren't allowed here, I do want to ask you a question that might be very n00bish. And maybe a little inappropriate. Or asked in the wrong section of this forum.
But here it goes: I want to try and edit a savegame for a game on my HTC Hero (baseball superstar 2010). So, first I tried to locate where all the files for this game could be installed on my phone. I did not succeed.
But with help from this forum, I found out that I might find the files by using Astro File Manager. I can use this app to click on the .apk from the game, that I have on my sdcard, and then choose the option 'browse file'. There, I find a lot of files! So, the first problem is solved.
The second problem is, that I cannot edit any of the files I then find. And I cannot find a file that has the datestamp of today, or yesterday, when I last played the game. Shouldn't there be a very recent file with the saved game data in it somewhere?
For me, it would be a lot easier if I could browse the apk on my desktop with a simple explorer. But if I hook up my sd-card to my pc, I cannot open the .apk. How can I accomplish this?
I hope I gave a decent description of my problems, and hopefully anyone can help me with A) finding out which file to edit B) how to open or edit this file and C) what to edit!
Thank you all in advance for your time and patience.
Use 7zip to open/extract the .apk file. You can use winrar too, but I like 7zip better. I'll try to find a link in a minute, or you can always google it if I don't post back quick enough for you.
Your questions are reeallly noobish ;-P
Apk files store libraries and other static files of your applications - there you could find images, texts, code, etc., but not runtime data like savegames. Look into /data/{package-name}/ - you could find package name in many places, I think it's in Settings -> Manage applications, but I'm not sure.
Very noobish yes
I have done something in the meanwhile, and that is: buy the real deal from the market. I no longer seem to have the .apk, but that should be no problem. Now the real game is officially installed onto my phone.
But ... where? I have tried looking in /data with my file managers, but they say that the folder is empty! So... where are my apps installed then? They must be on my phone somewhere. Do I have to root my phone in order to see anything in the /data/folder?
dekraan said:
Do I have to root my phone in order to see anything in the /data/folder?
Click to expand...
Click to collapse
I'm not sure, but I think so. This directory is read-protected, so apps can't steal data of other apps. And I've mistaken: it's /data/app/{package-name}.
Hmmm. Do you know a good way to do that? I have a HTC Hero with the 2.1-update1 firmware (so my phone tells me!).
dekraan said:
Do I have to root my phone in order to see anything in the /data/folder?
Click to expand...
Click to collapse
I think I'm correct in saying yes. I use RootExplorer and can see my apks in data/app, but if I use AndExplorer I can't.
XperiaX10iUser said:
I think I'm correct in saying yes. I use RootExplorer and can see my apks in data/app, but if I use AndExplorer I can't.
Click to expand...
Click to collapse
Hi There,
I've opened another thread to stop the clutter, but: I have installed Root Explorer and used (I thought) Universal Androot to root my mobile phone. It did install Superuser, but when I open Root Explorer, I don't get a prompt to put it on the superuser list... so nothing seems to work. Do you know what I should do, and how I can do that?
dekraan said:
Hi There,
I've opened another thread to stop the clutter
Click to expand...
Click to collapse
But thought you'd clutter the forum instead.
dekraan said:
but: I have installed Root Explorer and used (I thought) Universal Androot to root my mobile phone.
Click to expand...
Click to collapse
You might be best searching your phones forum for a solution unless someone can offer you help here.
Iirc, savedata and settings would be in /data/data/com.gamevil.bs2010/
probably in a folder named "files".
start by looking in there.
other apps would be in /data/data/[packagename]

[Completed] How to extract images from game files

Hello im not sure if this is the right kind of forum to ask this but, Ive seen someone extract images of cards from an android game, when I asked him how he did it he said he went into the games data files, which I assumed is in the Android > data > then the game files folder. I checked there however most of the files were in a format which the phone couldn't read. Is there a section here that explains this. Thank you
Hi,
More than likely you need to go into the .apk and use a tool to extract the contents. But to find a clearer answer I would advice to look here
http://forum.xda-developers.com/android/apps-games
Best of luck!

[Completed] How to "push" files from a zip-ped app

Hi I have a China tablet that has no apparent "recovery" and I'm afraid of flashing a recovery and risk bricking it.
I want to try to install a zipped app. (Maxx Audio) the file structure is
- Meta-INF
- System
somewhere in the "system" there is an apk file
I presume I "install" that apk file, then copy all the files under "system" into the "system" folder of my tablet?
Where do i put "meta-INF" files?
Thank you very much. Apologies for sounding dumb. I have googled for a few days and found no answer so I thought I'd ask at XDA.
Any help is appreciated.
joker97 said:
Hi I have a China tablet that has no apparent "recovery" and I'm afraid of flashing a recovery and risk bricking it.
I want to try to install a zipped app. (Maxx Audio) the file structure is
- Meta-INF
- System
somewhere in the "system" there is an apk file
I presume I "install" that apk file, then copy all the files under "system" into the "system" folder of my tablet?
Where do i put "meta-INF" files?
Thank you very much. Apologies for sounding dumb. I have googled for a few days and found no answer so I thought I'd ask at XDA.
Any help is appreciated.
Click to expand...
Click to collapse
Hello and thank you for using XDA Assist.
We cannot provide technical support nor can other members reply to your posts here on XDA Assist and it's difficult to point you towards a specific forum since you didn't provide any information about which device/ROM/file you have in mind. The file you describe seems to be a common "flashable ZIP" designed to be loaded by a custom recovery such as TWRP. Without such a recovery, you would need to study the steps included in whatever scripts are in the "meta-INF" directory and duplicate them manually from a terminal emulator prompt or maybe from an ADB link to a desktop or laptop, an eminently dangerous endeavor NOT recommended unless you're positive you know what you're doing. If you need more information, try asking with all relevant details in the friendly general Android Q&A, Help & Troubleshooting forum at http://forum.xda-developers.com/android/help. That's a good place to start where members familiar with your device might be able to advise you. You could also ask wherever you found the file you're attempting to install.
Good luck!
Thank you. In the zip thread someone said just to install the apk and then push the files and it worked for him.
http://forum.xda-developers.com/oneplus-one/themes-apps/app-05q-maxxaudio-lib-t3026967
joker97 said:
Thank you. In the zip thread someone said just to install the apk and then push the files and it worked for him.
http://forum.xda-developers.com/oneplus-one/themes-apps/app-05q-maxxaudio-lib-t3026967
Click to expand...
Click to collapse
It all depends on what command(s) the script in the ZIP file contains but I'm sure whoever uploaded the file can help you. As mentioned earlier, we cannot provide technical support here, sorry.
This thread is closed.

[Completed] Why am I unable to find a zip file in android (from laptop)?

I usually find no problem copying files from android to my laptop like everyone but there's a certain file I am trying to send to my pc but I can't find it in any way in File explorer. It's a zip folder but I usually have no problem finding zip files. What should I do?
Hello,
Welcome to XDA.
Try posting your question in the link below.
http://forum.xda-developers.com/android/help
The experts there may be able to help. Good luck.

[Completed] seccamera.jar???

Hi Guys
I am mucking around with the new phronesis Note 5 rom on my Note 3
I have a burst shot camera issue and a file that apparantly fixes it called seccamera.jar
Im guessing I need to replace the original with this? Can someone step me through what I need to do?
Ok I overwrite the original with this one using root explorer, no difference unfortunatly though
Hello,
Did you set the permissions correctly when you pushed it to system? System files require the correct permissions or they won't function correctly in system. This may not apply to what you are doing though.
Try posting your question in the forum linked below.
http://forum.xda-developers.com/android/help
The experts there mat be able to help. Good luck.

Categories

Resources