Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Apk copy/extracting/backing up protection

OP tudor007

29th May 2014, 02:09 AM   |  #1  
OP Junior Member
Thanks Meter: 0
 
11 posts
Join Date:Joined: Mar 2013
I hope that this is not the wrong place for my post.

I am trying to protect an apk from being copied/extracted/backed up off the phone and installed later, on another phone.

I have to mention that the app is not (and will not be) for sale on PlayStore or on any web store, being sold along with the phone. This is why I can not use apk protection offered by GooglePlay, which is anyway cracked at his time.
But I want to take advantages on this situation: every single phone will pass trough my hands (I will install myself the app) before hitting users. How can I use this advantage in order to protect my app?

At this time my app is not visible in Running Apps drawer, is having a default Android icon and the name is disguised in something pretty innocent. GUI access by dialing a code. No worries, is not malware but only a security app regarding GSM connection security.
Also, is running as a system app, which make it invisible for apps like Astro file manager, thus impossible to copy/back up by such file manager apps. Unfortunately there are a bunch of system app managers, that can convert a system app on user app, and then copying the apk file is easy.

I know that security sucks big time when it comes about Android OS, but I am determined to find a way to protect my app.
I know also that even a licensing scheme based on IMEI, WiFi MAC or Bluetooth MAC addresses can be bypassed by some skilled crackers. This values can be spoofed or even null.

I have tried apk encryption. Doesn't work: some apps supposed to encrypt other Android apps are actually encrypting only app libraries, not the apk file itself. By encrypting apk file, the app obviously will not work.

Code obfuscation is not an option as long the app can be duplicated off the phone and installed later on another phone.

The last idea that I had: pulling some app resources (like drawables) from a server. What do you think?

At this time I'm in a dead end. I have no more ideas how to protect my app. That's why I need your help. Can you give me please some feasible ideas, based on your huge experience?

Thank you very much for your time.
Last edited by tudor007; 29th May 2014 at 02:20 AM. Reason: added email notification
29th May 2014, 06:50 AM   |  #2  
sak-venom1997's Avatar
Senior Member
Flag Lucknow
Thanks Meter: 408
 
921 posts
Join Date:Joined: Feb 2013
Donate to Me
More
theres a thread
http://forum.xda-developers.com/show....php?t=2279813
where we're discussing about methods to protect apps from piracy u can post it there



Sent from my GT-S5302 using Tapatalk 2
29th May 2014, 12:18 PM   |  #3  
OP Junior Member
Thanks Meter: 0
 
11 posts
Join Date:Joined: Mar 2013
Thanks
Thx a lot sak-venom1997.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes