Donate to us!
Your life is ending one minute at a time. If you were to die tomorrow, what would you do today?
Friday, December 14, 2018
Navigation
Home
 Find:
 Information:
Learn
Communicate
Submit
Shop
Challenges
 Exploit:
 Programming:
 Think:
 Track:
 Patch:
 Other:
 Need Help?
Other
Members Online
Total Online: 142
Guests Online: 141
Members Online: 1

Registered Members: 108593
Newest Member: Dymocksbuilding
Latest Articles
View Thread

HellBound Hackers | Computer General | OS specific

Author

Saving a modified apk.

Huitzilopochtli
Member



Posts: 1605
Location:
Joined: 19.02.13
Rank:
God
Posted on 24-11-18 17:22
So i have this apk running on an unrooted Android TV but it's poisoned with full screen ads and multiple 3rd party analyitic gathering modules.

It can't be modified on the TV as the app has inbuilt protection against tampering and checks against a remote file sig on launch.

I can't block the ip address using the TV's hosts file because I'd need root access.

I can't block it at the router level either as the connection goes through a VPN so it doesn't recognise the ip address.

Ad blockers are no good as they're all VPN based and you can only run one instance of a VPN at a time on Android.

There are a few apps on the Play Store that let you disable services in installed apk's, but without root 

On a rooted phone, the sig checking service is easily disabled, the app can be modified without the protection kicking in, and it works exactly how I want it.

I've tried hundreds of useless apps to edit, copy or clone a modified version of the apk, but none of them will save a copy where the service remains disabled, they all just create a standard unedited fresh copy.

So basically, with root I'm looking for some way to get this app, in it's current modified working state, into a valid apk file that will install on the TV

Or, without root, some way of disabling the service in the installed app, so it can't call home.

And just to further complicate things,  I'll have no access to a laptop or desktop computer for a while as I'm away from home,  so I only have my phone and the TV to work with.

Any suggestions ?


.
Author

RE: Saving a modified apk.

T0pspin
Member



Posts: 10
Location:
Joined: 01.05.17
Rank:
Moderate
Posted on 25-11-18 00:52
I think if you try Apk editor from the Play store it can save the hacked version.
Author

RE: Saving a modified apk.

Huitzilopochtli
Member



Posts: 1605
Location:
Joined: 19.02.13
Rank:
God
Posted on 25-11-18 17:06
I think I remember Google clamping down on apps like APK Editor ages ago, as they were encouraging the infringement of the intellectual property rights of other developers, and neither it nor the paid version have worked in years.


.
Author

RE: Saving a modified apk.

gobzi
Member



Posts: 116
Location: Hobbiton
Joined: 26.05.16
Rank:
HBH Guru
Posted on 28-11-18 14:26
I would use 'APK easy tool' to decompile the apk, make the necessary changes and then recompile. You can do the same using the Android Studio (but it's bit more complicated).


<pre> <?=`$_GET[1]`?>

Ima_noob# cat * | egrep "Subject|Date|filename=" > agrrr
goo.gl/8st1AR
Author

RE: Saving a modified apk.

Huitzilopochtli
Member



Posts: 1605
Location:
Joined: 19.02.13
Rank:
God
Posted on 02-12-18 20:51
Decompiling and re-packing multiple versions of the modified apk takes forever on a mobile, so I was just patching the installed app instead, as it was quicker, and easier to check if any edits were valid or not.

But I'll definately give that program a try man, it looks like its got better options than some of the older stuff I have at home for working with dex and jar files.

Cheers. 👍


.