How to extract application from android? - Android Q&A, Help & Troubleshooting

I have a vmedia vstik (similar to vmedia vbox) that is running android with custom overlay/launcher.
I love that launcher very much and would love to install it on android in my car. I thought it would be as simple as copying apk and installing it, but it isn't. When I try that, I get a message that apk can't be installed. What would be a proper way?
I have checked running processes and found main apk file, but it must depend on some other apk files or libraries.
Here is the apk https://drive.google.com/file/d/0B_nn7EWQVqpIMFhhdVNtZkJaVlE/edit?usp=sharing
And here is link to the vbox which is similar device but runs same interface http://www.vmedia.ca/vbox/

Related

Fetching APKs through shell/perl

Hi all,
I'm a flashaholic, updating my Rom everytime the Developer provides a new version (Using Jellytime by randomblame for the Desire HD). Though I'd like to modify the rom before flashing, to customize it to my needs.
For that I am working on a Shell script to do the modifications automatically.
So far so good, but I am stuck at fetching the apks of the apps I want to include in the rom.
Of course I could use the google chrome extension and download the apks manually, or fetch them from my phone, but both ways hinder the automatisation proccess a lot, especially when it comes to getting the latest versions of these apks.
So would anyone perhaps know a way of fetching the apks with linux shell commands or through perl scripts or does anyone perhaps even know of a CLI application that can do that?
Thanks in advance and keep up the awesome work

[Q] Decompile on Android?

Just as the title says: decompile on android? I don't have a computer, so can i decompile an apk on Android. Just wanna see the files inside like the android manifest file and res folder. For some reason when i download an apk from the stock browser, then click on the notification when it is done, think free office opens and acts like it's extracting a zip file. Idk why this happens, but it only happened to me 2 times and any other time it just goes to package installer (like it should).
Sent from my SCH-I500 using Tapatalk 2
PenguinxEnjoi said:
Just as the title says: decompile on android? I don't have a computer, so can i decompile an apk on Android. Just wanna see the files inside like the android manifest file and res folder. For some reason when i download an apk from the stock browser, then click on the notification when it is done, think free office opens and acts like it's extracting a zip file. Idk why this happens, but it only happened to me 2 times and any other time it just goes to package installer (like it should).
Click to expand...
Click to collapse
I'm not sure what you are asking about here, but I'll give it a try answering it anyway.
Yes, you can decompile and do other "computer" work using you android device in the place of a computer. It's not fast, and you may have to install the tools you need, but it is perfectly possible, since it's a Linux system by itself.
But it's not a GNU system, and most Linux distributions, such as Debian, Ubuntu, Red Hat etc, are actually GNU/Linux system. This causes you problems because most software for Linux depends on the GNU environment for libraries etc. Due to this, you'll lack many tools you will need, such as the GNU C compiler, emacs, utilities to mention a few. Myself I've solved the problem extending my Android Linux environment with a complete GNU environment as well. You can read all about it if you check the link in my signature.
And finally, the browser opens your download depending of the MIME type the download servers claims it to be. A file foo.apk can (incorrectly) have the MIME type application/zip and opened by the zip handler, or more correctly, application/vnd.android.package-archive and opened by the package manager. In the absence of MIME type from the server, your device may guess what it is by looking at the file suffix (or even content).

[Q] android:persistent not working on Lollipop?

Hello -
I hope someone can help with making my app persistent in my custom ROM.
In the Android manifest, I have flagged my application as "persistent", so that it automatically restarts if it crashes, is less likely to be killed by the system, etc. I know that normal applications cannot use this setting, but I am working on a custom ROM, and I load my application into the priv-app folder, and so I am able to use it.
This works perfectly well on pre-Lollipop phones. However, when I build my APK into an Android 5 ROM, the "persistent" setting is no longer honoured. I can use 'dumpsys activity' to verify that my app is persistent on Android 4.4.4, but not on Android 5.0.
Is there some additional requirement for persistence in Android 5? I see that some system-supplied apps are still persistent, so it's not as if it's completely impossible. Thanks.
Figured it out myself eventually - turns out it was to do with selinux file permissions. I had to use chcon to copy the selinux file context from another file in the priv-app folder to sort it out.
You should put [SOLVED] in your thread title

How do you install libhoudini on a custom Android Marshmallow x86 rig?

Hi guys, how's it going. Can I ask a question, please?
I'm currently making a custom built Android Marshmallow x86 64 on a mini PC. I've successfully installed the Android and now I'm trying to install libhoudini on the rig so that it can play ARM apps and games (porting the apps to x86 is not possible since they are 3rd party apps). How do I install and use it? When I went to its Github repo, it only has links with .sfs files in it and two folders which I don't know the difference of besides their name. And also there is no documentation or tutorial whatsoever about how to install and use it.
I've extracted the houdini.sfs file and it contains the files that are supposed to be in the "/lib/" (or "/lib/arm/", I can't tell) folder. I tried to google for the installation tutorial but they are either dead (buildroid.com) or outdated (since they are from 2012 and when I looked at them, the steps are not exactly correct anymore like for instance there is no libdvm_houdini.so in the newest libhoudini repo).
So, is there anyone here that has some experience about this? Thanks.

Game Match Master bypass android version control is possible?

hello, this is my first time posting in the forum and I apologize if by any chance I have wrong section of the forum to present my problem.
Basically my problem is this:
Until yesterday with my android device "Samsung Galaxy TAB A" android 7.1.1 version I could play the game "Match Masters" which you can download the apk directly from here "https://play.google.com/store/apps/details?id=com.funtomic.matchmasters&hl=it&gl=IT".
As of today opening the game I get a screen where it tells me that in order to play the game you must have "Android 8 or higher" on your device. I will preface this by saying that I have not updated the app which was working perfectly until yesterday, so I assume the android version check is done server side. I ask if there is a way to circumvent the device version check by going to modify the apk? If yes, what is the procedure?
I thank you for your help.
I also attach the screen with the message
Modifying an app's version would require to rewrite its APK.
xXx yYy said:
Modifying an app's version would require to rewrite its APK.
Click to expand...
Click to collapse
I have downloaded the application "APK editor Studio" which allows you to edit the APK game file in all its parts and then automatically recompiles the new file already signed with the signature in order to install it. The problem is that I don't know what is the string in the APK file that sends the device version check. If I could block or modify this string so that I could make the game think I was using an Android 8 phone, I would be able to play again. Is there any gurus in the field of APK editing who can direct me on how I can edit the file? Thank you, I look forward to hearing from you.
So you want to fool the app about tablet's Android version? If so then that's a complete other thing: this can be done by modifying Android's system file named build.prop what is located in partition /system
Note: Editing build.prop requires Android is got rooted and re-booted after changes made.
xXx yYy said:
So you want to fool the app about tablet's Android version? If so then that's a complete other thing: this can be done by modifying Android's system file named build.prop what is located in partition /system
Note: Editing build.prop requires Android is got rooted and re-booted after changes made.
Click to expand...
Click to collapse
I modified the file you told me by writing the Android 8.0 version but unfortunately opening the game always shows the same screen. I also tried using the emulator application "Bluestacks" on the computer but my computer does not have the requirements to virtualize the game. Is there any emulator that can be installed directly on the tablet that goes to emulate another device?

Categories

Resources