Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[MOD] HBO Nordic on root (app+guide)

$
0
0
So HBO decided to block access to their service as long as you were trying to watch from a rooted device. If I'm gonna pay for the service I want to choose which devices I want to use. Un-rooting is defiantly not an option.

So here's a little guide to avoid the root-check done by the application.
I've created one and attached it to the post.

There are some issues with CM10, and some tablets. I'm not a app developer, nor do i know java. Would appreciate if anyone could give a hand with any issues that should come to light.

*******Guide*********
First you need a couple of things
1. Download "apktool-install-windows-r04-brut1.tar.bz2" and apktool1.5.0.tar.bz2
2. Download SignApk.zip

3. Extract files to a folder. e.g "c:\Apktool"

4. Extract "framework-res.apk" from /system/framework/ on your device.
Place this in the same folder as you extracted the previous files.

5. Extract the HBO-app using Titanium backup or similar
Place this in the same folder as you extracted the previous files.

6. Open CMD and navigate to folder
Code:

cd c:\Apktool
7. Extract the APK
Code:

apktool d com.hbo.android.app.apk
8. Edit files
From the newly extracted folder, open MainActivity.smali in notepad
com.hbo.android.app\smali\com\hbo\android\app\acti vity\MainActivity.smali

9. Find and delete
Code:

    .line 199
    invoke-virtual {p0}, Lcom/hbo/android/app/activity/MainActivity;->checkRoot()V

Save the file

10. Rebuild the application
Code:

apktool b com.hbo.android.app com.hbo.android.app.new.apk
11. Sign the application
Code:

signapk certificate.pem key.pk8 com.hbo.android.app.new.apk com.hbo.android.app.new.signed.apk
Transfer and install app on device
Enjoy

Note. If you get any compiling errors at one time, I cant really help you.
Go to this thread and ask politely.
Be sure you have the latest "aapt.exe" from the thread above.

Please leave a response if its working or not, and what ROM\Device you're using
:)


Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>