APK extracted cannot run properly - Android Q&A, Help & Troubleshooting

Hi Everyone,
Am new here, nice to meet you.
I got a weird / silly question that dont have any clue everywhere.
I downloaded a game (with Unity 3d engine) from Play, extracted it to APK, removed the game and reinstalled using that APK. The game loaded up at the beginning but then froze.
I tried different APK extractors, my device was rooted, the game size in the app setting was 400MB when it was running good the first time, but reduced to 140MB after installed with the 90MB APK.
I suspect something was missing in the APK extraction but just cannot figure out what was causing that.
I can find the same app in a APK website and the 4XXMB XAPK downloaded from there worked without issue. Hence I believe it was sth about the reduced size.
Appreciate if anyone could shed some light. Once I can get rid of that, I will start my modding practice soon as I have already knew some approaches and practical steps.
Thanks

When modding you need to have the data for the app you installed prior also and the modded data has to be put in the same name file etc before opening modded apk
Don't really think you know what you are doing since it's been this was since android 5

toolhas4degrees said:
When modding you need to have the data for the app you installed prior also and the modded data has to be put in the same name file etc before opening modded apk
Don't really think you know what you are doing since it's been this was since android 5
Click to expand...
Click to collapse
Hi toolhas4degrees, tks for your reply. My problem is I can't even get the exported apk working properly just by installing it right after exported, despite of modding anything...The game does start but then hung after passing the google game play service. The game data is also apparently smaller than the actual one installed from Play directly.
I googled a lot but could not see similar cases reported, would that be some sort of "protection" implemented by Unity to restrict the app being extracted completely?

jame507 said:
Hi toolhas4degrees, tks for your reply. My problem is I can't even get the exported apk working properly just by installing it right after exported, despite of modding anything...The game does start but then hung after passing the google game play service. The game data is also apparently smaller than the actual one installed from Play directly.
I googled a lot but could not see similar cases reported, would that be some sort of "protection" implemented by Unity to restrict the app being extracted completely?
Click to expand...
Click to collapse
You have to pull the data from the stock install to your sd then mod then replace the data back into the phone.......

jame507 said:
Appreciate if anyone could shed some light. Once I can get rid of that, I will start my modding practice soon as I have already knew some approaches and practical steps.
Click to expand...
Click to collapse
@jame507
Welcome to XDA. I hope you'll always get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A as it didn't qualify for development.
Thanks for your cooperation.
Regards
Oswald Boelcke
Senior Moderator

Related

Android Market 2.3.6 on ICS

Anyone tried to run Android Market 2.3.6 on ICS? It's crashing all the time for me
I have the same problem. I was able to accept the terms, but it just always force crashes now. I hope there is a fix for this!
I hope in a fix next. i use always this version on my samsung s5570. For this smart is best version. Hoping ...
.
Thread moved to Q&A due to it being a question. Would advise you to read forum rules and post in correct section.
Failure to comply with forum rules will result in an infraction and/or ban depending on severity of rule break.
orb3000 said:
Thread moved to Q&A due to it being a question. Would advise you to read forum rules and post in correct section.
Failure to comply with forum rules will result in an infraction and/or ban depending on severity of rule break.
Click to expand...
Click to collapse
Sorry about that, I decided to post in original location because the question would probably warrant a hack of some kind on Market app.
Anyways, back to topic, yes, I was too able only to accept terms of use and choose an account to be run with, but as soon as Market reaches the stage where interface should be shown, it crashes
I'm interested in this also. Market 2.3.6 does not have the "screen density" compatibility check for apps, so I won't get that "This application is not compatible with your device" message.
I've managed to run Android Market 2.3.6 on ICS and it works beautifully (one small annoyance though).
I needed to resign Vending.apk with platform certificates using ZipSigner 2. After that, I pushed the resigned Vending.apk to /system/app/, replacing the original.
The annoyance is that every time Market 2.3.6 starts and every time I want to purchase something, there's a popup asking me which account to use, from two accounts enabled on my phone. I choose the right account and then it works fine.
Eddie1506 said:
I've managed to run Android Market 2.3.6 on ICS and it works beautifully (one small annoyance though).
I needed to resign Vending.apk with platform certificates using ZipSigner 2. After that, I pushed the resigned Vending.apk to /system/app/, replacing the original.
Click to expand...
Click to collapse
Thank you, that works great! Now i have nomore problems with this **** density and the new market!
But i must still test if purchasing an app works too.
Mike2501 said:
But i must still test if purchasing an app works too.
Click to expand...
Click to collapse
Works for me.
The actual version is 3.4.4 or not ?
Nice day
twissii said:
The actual version is 3.4.4 or not ?
Nice day
Click to expand...
Click to collapse
Yes it is.
guys Eddie1506 have helped you all why not press a thanks button on his post it will not cost a single penny

How to get rid of Playstore requirement for some apps?

Some of us do not install G**gle apps (incl Play). We use instead F-Droid and APKPure.
But some apps insist that they require Play... it's not a technical requirement, just one they throw in there, but it's a real problem as I am not going to install Play just for that.
Does anyone know of a Play 'placeholder' or 'simulator' which will satisfy this specious requirement? Or has anyone decompiled an app to remove this requirement?
Recommendations?
delete post
BachuArg said:
This is not related specifically to Havoc.
Shouldn't you make a thread in another place?
Click to expand...
Click to collapse
Apparently you haven't actually tried this. There is very little depth of knowledge about things Android, in general. We are fortunate here to have a competent dev and some competent users. This is rare.
It is unusual to not be at all dependent on G**gle, and I am happy to help with what I know about freeing yourself completely. But there are some catches, and the question I'm asking is the last one for me.
I can probably figure it out for myself, but when forced to do that I am not as inclined to share if sharing (or even trying) is not part of the ethos..
So can we can, or can we can't? :cyclops:
Quantumstate said:
Some of us do not install G**gle apps (incl Play). We use instead F-Droid and APKPure.
But some apps insist that they require Play... it's not a technical requirement, just one they throw in there, but it's a real problem as I am not going to install Play just for that.
Does anyone know of a Play 'placeholder' or 'simulator' which will satisfy this specious requirement? Or has anyone decompiled an app to remove this requirement?
Recommendations?
Click to expand...
Click to collapse
Try MicroG. Your purpose will be solved without installing any GAPPS.
Quantumstate said:
So can we can, or can we can't? :cyclops:
Click to expand...
Click to collapse
Always share helpful info.
I believe the response the person made was a legit argument basically being made to help direct you to find a better place with much higher odds of getting an answer (looks like you got it tho).
But that doesn't mean you can't ask or can't share. It's all up to you. Sharing knowledge is the foundation this forum has thrived in. Personally I hope nothing defers anyone to question that regardless of any responses made or not made.
And yes, this is an excellent dev. But he's here to help primarily with his area of expertise, which according to the thread title is with Havoc issues. He can't be relied upon to answer non ROM questions (yet he probably would if he knew).
@Quantumstate,
I had to move your question and the corresponding answers to a specific thread (your thread now) to "Android Development and Hacking Android Q&A, Help & Troubleshooting" because the thread where you posted initially was not the best place to ask.
I have named the thread "How to get rid of Playstore requirement for some apps?" because I had to fill a subject (is mandatory) but feel free to edit the title yourself if it's not OK for you.
Also, I suggest you to read THIS THREAD by @Oswald Boelcke, you could eventually find some clues there. If not maybe Oswald Boelcke or any other members (developers or not) here should be able to help you in this new Q&A thread
Thanks for understanding
Wood Man
Senior Moderator
@Quantumstate I just realised that @Wood Man pinged me and pointed you to my thread. Feel free to ask me in my thread or certainly here whatever you want to know. But I assume you first have a lot of reading ahead.
Additionally to my thread, I'd like to drag your attention to some more XDA threads in this context. In these threads are also links to Github/Gitlab including excellent tutorials. If you want you'll be able to leave Google services or requirements in many although not all cases behind; however, it also depends of the ROM(s) you use. This means if you commence a discussion please also provide insight into details of your device, system and configuration.
https://forum.xda-developers.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616
https://forum.xda-developers.com/apps/magisk/module-nanomod-5-0-20170405-microg-t3584928
https://forum.xda-developers.com/android/development/microg-unofficial-installer-t3432360
https://shadow53.com/android/no-gapps/
Last remark: On none of our devices, any Google service or application is installed. But all of our application run fine without and by the use of µG instead. The very few application, from which I expect push notifications, do receive them on time via GCM/FCM.
The one and only Google application, which I've installed, is the Google Play Store modified by Setalphia, the developer of above linked NanoDroid. It allows me easy access and updates of my applications purchased on Google PS respectively to conduct in-app purchases that I mainly do in order to support a good development and developer unless the developer offers different means of donation.
I knew we could count on you Oswald :highfive:

Help with writing Xposed module to bypass audio recording limits.

Hello all,
I am interested in writing an Xposed module to enable all Android audio recording apps to have the ability to record all types of audio regardless of if a given app tries to block it, and including phone calls. Is this the appropriate way to handle the goal here? I believe I have tracked down the function calls in the Android API that need to be spoofed to achieve this, but I am still struggling. If I share what I have so far, would it be appropriate to ask here? I am not even sure if Xposed is the right way to go about this. Perhaps it should be done using Zygisk?
Thank you.
David B. said:
Hello all,
I am interested in writing an Xposed module to enable all Android audio recording apps to have the ability to record all types of audio regardless of if a given app tries to block it, and including phone calls. Is this the appropriate way to handle the goal here? I believe I have tracked down the function calls in the Android API that need to be spoofed to achieve this, but I am still struggling. If I share what I have so far, would it be appropriate to ask here? I am not even sure if Xposed is the right way to go about this. Perhaps it should be done using Zygisk?
Thank you.
Click to expand...
Click to collapse
@David B.
Prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
I've moved the thread to Android Q&A.
Thanks for your cooperation.
Regards
Oswald Boelcke
Senior Moderator
Hello.
I would like this!
Why just audio? What about video too?
What automated recording? I like it for VoIP and videoconferencing.
Oswald Boelcke said:
@David B.
Prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
I've moved the thread to Android Q&A.
Thanks for your cooperation.
Regards
Oswald Boelcke
Senior Moderator
Click to expand...
Click to collapse
I apologize for the error. Even though I have been an XDA member for a while, I'm not one of the most active members, and therefore sometimes still struggle with navigating to the proper forum when asking questions. Thank you for pointing this out and correcting it.
timofonic said:
Hello.
I would like this!
Why just audio? What about video too?
What automated recording? I like it for VoIP and videoconferencing.
Click to expand...
Click to collapse
Well, for video, there's really nothing that needs done that isn't already available in other Xposed modules. The only reason video recording would be blocked by an app is if it sets FLAG_SECURE, and there are already several Xposed modules that override it. Here is the one that I use on my phone: https://github.com/VarunS2002/Xposed-Disable-FLAG_SECURE
As for automated recording for VoIP and videoconferencing, that is outside the scope of what I would like to achieve with this module. Ideally, what I want this module to do nothing more than allows audio recording apps to access audio streams that they would not normally have access to. I am not sure if this is feasible though. Currently, all apps that have the ability to intercept audio streams that are not accessible through the Android API are closed source. The community needs an open source solution, and I would like to provide that, but I need help.
So, does anyone have an interest in this? Unfortunately I am kind of at a dead end until this is sorted out.
I'm very interested in this, but I'm not a developer unfortunately.
timofonic said:
I'm very interested in this, but I'm not a developer unfortunately.
Click to expand...
Click to collapse
Thanks for your interest! If you know of anyone that is experienced with Xposed module development and would be willing to help me out, please pass this along to them.
Hello all! Is there still nobody with an interest in doing this?
I'm interested in this project as well, for change of that outdated VoIP recorder, but don't have any knowledge about it unfortunately, we have to somehow make more people know about this thread
Zoki88 said:
I'm interested in this project as well, for change of that outdated VoIP recorder, but don't have any knowledge about it unfortunately, we have to somehow make more people know about this thread
Click to expand...
Click to collapse
Agreed! I have no idea how to get exposure for this thread though. If you have any ideas, please share!
David B. said:
Agreed! I have no idea how to get exposure for this thread though. If you have any ideas, please share!
Click to expand...
Click to collapse
I can only try mentioning this thread with link in my posts i'll put in other threads as will asking people for something else, and also if i make my own thread for asking something, will mention this thread, i don't have other better idea than that
Zoki88 said:
I can only try mentioning this thread with link in my posts i'll put in other threads as will asking people for something else, and also if i make my own thread for asking something, will mention this thread, i don't have other better idea than that
Click to expand...
Click to collapse
I think that would be very useful!
Is there any way to make this thread alive and bring some developers? With new android versions upcoming and new devices, we won't be able to use boldbeast voip recorder anymore, and there's literally not a single alternative app to it, even cube acr isn't that good, can't record discord, skype, zoom etc..
Zoki88 said:
Is there any way to make this thread alive and bring some developers? With new android versions upcoming and new devices, we won't be able to use boldbeast voip recorder anymore, and there's literally not a single alternative app to it, even cube acr isn't that good, can't record discord, skype, zoom etc..
Click to expand...
Click to collapse
I'd love to invest time in this again, but unfortunately, my personal life is packed with other things that are limiting my free time to further investigate this at the moment.

Fixing a Broken Android App

Hello Everyone,
Let me start out by saying if this is the wrong forum please feel free to relocate this post.
I have a general question about fixing a broken Android App. SkyWatcher USA makes an app for Android for the Astronomy buffs. Many of the telescope manufacturers use a controller called SynScan that allows "Go-To" operation of the telescope mount. Many also have either built-in WiFi or sell an adapter that allows you to "tether" your scope to your Android device. This allows many 3rd party planetarium apps to control the scope's computerized mount. SkyWatcher's app is called SynScan Pro.
One of the app's features is getting GPS location data from the device. Since the introduction of Android 12 that feature is broken. I was thinking I've been waiting for months for an update that will restore the ability to use the location sensor in my device but it isn't available yet. Currently if you enable use of the location sensor the app crashes.
My question is how does one with little app building experience find good info on how to fix this broken function and bring the app up to Android 12.
Thanks
FernBch said:
Hello Everyone,
Let me start out by saying if this is the wrong forum please feel free to relocate this post.
I have a general question about fixing a broken Android App. SkyWatcher USA makes an app for Android for the Astronomy buffs. Many of the telescope manufacturers use a controller called SynScan that allows "Go-To" operation of the telescope mount. Many also have either built-in WiFi or sell an adapter that allows you to "tether" your scope to your Android device. This allows many 3rd party planetarium apps to control the scope's computerized mount. SkyWatcher's app is called SynScan Pro.
One of the app's features is getting GPS location data from the device. Since the introduction of Android 12 that feature is broken. I was thinking I've been waiting for months for an update that will restore the ability to use the location sensor in my device but it isn't available yet. Currently if you enable use of the location sensor the app crashes.
My question is how does one with little app building experience find good info on how to fix this broken function and bring the app up to Android 12.
Thanks
Click to expand...
Click to collapse
@FernBch
It's indeed the wrong forum. Therefore I suggest prior to your next posting to please read the guidances that are stuck on top of every forum like
[ATTN] : Read before posting - Any questions posted here will be MOVED or CLOSED
Please read the below before posting. Any questions not development related will be moved or closed. Forum Searching | Posting | The Basics: (Make sure you've read them before starting a new thread) Forum Rules Forum Search Google Forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A as it didn't qualify for development.
Thanks for your cooperation.
Regards
Oswald Boelcke
Senior Moderator

how to install huawei apps on motorola

Hi,
for the past 6 years I was using Huawei phones and I love the simplicity and functionality of their apps - calendar, files and gallery. Unfortunately, I crashed my phone and had to buy Motorola instead (g72) with android 12. Is it possible to install those apps on motorola? I've tried installing HMS but obviously it's not enough. I'm rather desperate - google calendar is just terrible and I've downloaded about 20 calendar apps from google store - most of them are horrible.
Please help!
ps. it is rather ironic that i'm willing to stand on my head to install manufacturers apps, when many years ago I used to install cyanogenmod on my old Sony Ericsson just to get rid of any "additional" apps.
alicja.unknown said:
Hi,
for the past 6 years I was using Huawei phones and I love the simplicity and functionality of their apps - calendar, files and gallery. Unfortunately, I crashed my phone and had to buy Motorola instead (g72) with android 12. Is it possible to install those apps on motorola? I've tried installing HMS but obviously it's not enough. I'm rather desperate - google calendar is just terrible and I've downloaded about 20 calendar apps from google store - most of them are horrible.
Please help!
ps. it is rather ironic that i'm willing to stand on my head to install manufacturers apps, when many years ago I used to install cyanogenmod on my old Sony Ericsson just to get rid of any "additional" apps.
Click to expand...
Click to collapse
Hello and good afternoon, @alicja.unknown
Welcome to XDA! I hope you'll alawys get the support your require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved your thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator

Categories

Resources