[SOLVED] Creating extra java files for existing apk - Android Software/Hacking General [Developers Only]

Hello everyone. I wrote a new boot receiver in eclipse for an app that is no longer supported. Meaning the person who created it on the Play store is no longer updating the app :'(
I used dex2jar to deccompile the apk and view its source code in java (for smali and i are not the best of friends :/ ) and i have the package name and such matching that of the original apk.
So i went forth and compiled my apk that has the new boot receiver and then went and decompiled my APK to obtain the BootReceiver.smali that i then replaced into the original apk and when i compiled it, the app wouldnt even show up in the app drawer and well it pretty much was a huge fail xD
I was wondering if i need to set my target and minSDK in eclipse to match that of the original APK. Also any help at all would be spectacluar.
FYI: My boot receiver does work as i have tested it and then only changed the package name as well as the class name.
Thank you to everyone

Never mind figured it out :3
Sent from my SGH-T999 using Tapatalk 2

Related

[Q] amazon id file

Dear All!
Yesterday I got issue with running application on my Andriod devices.
I download/install .apk file from 4pda.ru forum, and receive message that I should buy this application from Amazon market.
I'm download apk file to PC and start review it.
I found that all .apk files from Amazon market contain several files that indicate about Amazon market:
com.amazon.content.id.MC-S-39GVGXDN65MNN
kiwi
META-INF\APKSIGNE.SF
META-INF\MANIFEST.MF
classes.dex
Simple remove/edit this files is not give any result.
I tried to search forum, but found nothing about this question.
Possible someone known how to make application 'forget' about Amazon?
Or if someone wanna to investigate this protection and we can pool our brain resources...
I think that this question again more than once in the future, because Amazon sells many Android devices (Kinlde Fire and someone install Amazon Market).
Thank you.
uawiki said:
Dear All!
Yesterday I got issue with running application on my Andriod devices.
I download/install .apk file from 4pda.ru forum, and receive message that I should buy this application from Amazon market.
I'm download apk file to PC and start review it.
I found that all .apk files from Amazon market contain several files that indicate about Amazon market:
com.amazon.content.id.MC-S-39GVGXDN65MNN
kiwi
META-INF\APKSIGNE.SF
META-INF\MANIFEST.MF
classes.dex
Simple remove/edit this files is not give any result.
I tried to search forum, but found nothing about this question.
Possible someone known how to make application 'forget' about Amazon?
Or if someone wanna to investigate this protection and we can pool our brain resources...
I think that this question again more than once in the future, because Amazon sells many Android devices (Kinlde Fire and someone install Amazon Market).
Thank you.
Click to expand...
Click to collapse
That would mean pirating the app and that is not allowed. The amazon app store has it hardcoded and removing the option is not allowed as the app will not run without the app store being installed.
XDA doesn't support doing this in any way. As it removes the security check.
Thread closed

[Q] SignApk and Jellybean

Hey guys,
I'm trying to figure out if I'm the only one having this problem here. I'm building custom versions of the Google Play Store and Google Services Framework apk for DPI reasons, and when I'm done with the edits, and compile them, naturally, I use SignApk to sign them before pushing them onto my device.
Thing is though, that while this works on ICS, I seem to be running into a snag in Jellybean. GoogleServicesFramework doesn't even appear on the app list after cache and dalvik cleaning.
There's a way to walk around this though, that is by copying the META-INF and the AndroidManifest.xml from the original files into the new baked apks.
I'd like to know if I'm the only one having this problem, or do I have some weird crappy old version of SignApk.jar?
Thanks in advanced

Phone dialler

Hi does any one have the nexus 5 phone dialler as an apk file. This allows for Google now search contacts and for places nearby.
Sent from my XT1052 using Tapatalk
This has been a question asked when the N5 came out. I don't think anyone has pulled the dialer apk from the N5. I was disappointed when I realized that feature wasn't present after the kit kat update. Perhaps it's an exclusive feature of the N5. I've been using "contakts" for my dialer and contact list and have been happy with it. I love the translucency provided by 4.4 and its GUI. Here's the play link : https://play.google.com/store/apps/details?id=com.raunaqsawhney.contakts
I'll throw you a bone, since searching is so hard.
http://forum.xda-developers.com/moto-x/themes-apps/google-smart-dialer-nexus-5-moto-x-t2543092
By the way, this was literally the very first link that came up when I searched for it on Google. It was really buried at the top of the page.
Mr Orange 645,
Thank you but the mega link is not available and that app crashes. Also Googledialer is not on the play web site. Some have said to rename files but as I'm not rooted I cant.
Droiduser1988
Thanks for contakts app but really want the N5 dialler.
Just shows that the Moto X is not vanilla android as stated
Sent from my XT1052 using Tapatalk
Found this to enable root is required and permission changes http://m.pocketnow.com/2013/12/26/install-google-dialer
Since I've no root can only hope that 4.4.3 update will sort ( that's if we get it).
Sent from my XT1052 using Tapatalk
Nitro used the nexus 5 dialer on his earlier releases of Eclipse. I believe it requires more work than just a simple apk.
I used the file manager inside of safestrap to install the apk in /system/priv-app, then changed permissions with chmod 755. There is an app in the play store called QuickShortcutMaker that allows you to create a widget of any activity. This means that you don't have to use Nova launcher to launch the Google dialer.
You can see this thread. It may be help you..
http://forum.xda-developers.com/goo...-dialer-aosp-to-google-dialer-odexed-t2526844

Need desperate help to change Apk Package Name

Alright so out of frustration, I've been let to change the name of a package of an apk file. I use Spotify Premium in India and it works okay. The issue being the fact that they have some sort of conflict with a lot of Record labels and hence a number of songs aren't available to listen on the Indian varient of the app.
I however had been using Spotify in India for 4 years before it even launched in my country using a modded apk. I used to have all songs in that varient and my friends who still wish to listen to those songs on the app still use the modded apk I found. I use the official app considering I have a huge library and I keep them offline for travel and stuff.
I found out that I can install two versions of the same app if I change the package name. I tried a couple apk tools and they don't seem to work for me somehow. It says there's a problem parsing the package after I compile it.
Can someone give me a proper run through of how we can do that? That is, to keep the official app and install the modded version alongside it to listen to my other favourite artists?
Artists like Linkin Park, Coldplay and Twenty One Pilots are missing on the official app and the list goes on.
Thanks a ton in advance! I hope you're safe and sound at this time of crisis. ?
Edit : CLOSED
In order to install different variants(versions) of the same app on Android device without any root coding, you can try app clone trick.
First of all, download some app cloning app from Google Play Store.

Getting a Go app apk to use on my Quest 2

There's a great app for reading books etc called immersionVR reader that isn't ported to the Quest 2 yet, but thanks to the demo apk available on their web site, I can confirm it works perfectly for my uses. The website: https://immersionvr-reader.com/
I purchased the Go version. Now I have not idea how to install it, if it's possible.
I need the apk somehow. I think maybe the easiest way is to run a Go image in an emulator and install the app (thereby letting me extract the apk for installation on my Quest 2).
What do you guys think? Is there an obviously easier way?

Categories

Resources