What's new
Install the app
How to install the app on iOS

Follow along with the video below to see how to install our site as a web app on your home screen.

Note: This feature may not be available in some browsers.

Welcome to My Sharing Site

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  Guest viewing is limited

Tutorial XCIPTV 4.0.0(545) Custom User-Agent, AppName and Skip License Validation.

Tutorial XCIPTV 4.0.0(545) Custom User-Agent, AppName and Skip License Validation.
P Offline

plexa

New member

Member
May 11, 2020
29
134
33
Lets assumed you allready had the app hardcoded to your DNS, if not, search on the forum for it, its allready posted by Ian.

Step 1: open smali\com\nathnetwork\xciptv\util\Config.Smali

line 173 change to = const-string v0, "com.nathnetwork.YourAPPName"

line 178 change to = const-string v0, "YourAPPName"

Step 2: Open AndroidManifest.xml and search for this:

line 2 package="com.nathnetwork.YourAPPNAme"
line 24 android:authorities="com.nathnetwork.YourAPPName.provider"

Be sure that you use the same Name replacing the part of "YourAPPName" on line 173 of the Config.Smali and the line 2 and 24 on the AndroidManifest.xml.

Note: the line 178 will be the "User-Agent" and now you can secure your streams. In this case the user-agent will be "YourAPPName-v4.0.0".

If you do this, the app will compile fine and run, but when you try to play any stream, the license validation will crash the app messagin "Invalid License", to fix this and avoid any future call-back from ott and skip license validation, you need a dns running php and upload ApiIPTV.php on some folder. I.E. server.com/folder/ApiIPTV.php

Then go back and Open smali\com\nathnetwork\xciptv\util\Config.Smali

Find this on line 173 to 185
.line 4
invoke-static {}, Lcom/nathnetwork/xciptv/util/Config;->APIOneFromJNI()Ljava/lang/String;

move-result-object v0

sput-object v0, Lcom/nathnetwork/xciptv/util/Config;->c:Ljava/lang/String;

.line 5
invoke-static {}, Lcom/nathnetwork/xciptv/util/Config;->APIOneFromJNI()Ljava/lang/String;

move-result-object v0

sput-object v0, Lcom/nathnetwork/xciptv/util/Config;->d:Ljava/lang/String;

.line 6
invoke-static {}, Lcom/nathnetwork/xciptv/util/Config;->APITwoFromJNI()Ljava/lang/String;

move-result-object v0

sput-object v0, Lcom/nathnetwork/xciptv/util/Config;->e:Ljava/lang/String;


And replace all those lines with this:

.line 4
const-string v0, " "
sput-object v0, Lcom/nathnetwork/xciptv/util/Config;->c:Ljava/lang/String;

.line 5
const-string v0, " "
sput-object v0, Lcom/nathnetwork/xciptv/util/Config;->d:Ljava/lang/String;

.line 6
const-string v0, " "
sput-object v0, Lcom/nathnetwork/xciptv/util/Config;->e:Ljava/lang/String;

Be sure to replace " " with your DNS running php.

That is it!

The requests sending by the XCIPTV include the Serial Number of the Device, so, with a little creativity, you can do more secures to your server like only allow one device per customer and so on.

 
Relate Threads
B Offline

Bvandergrift87

New member

Member
May 17, 2020
23
76
13
Lets assumed you allready had the app hardcoded to your DNS, if not, search on the forum for it, its allready posted by Ian.

Step 1: open smali\com\nathnetwork\xciptv\util\Config.Smali

line 173 change to = const-string v0, "com.nathnetwork.YourAPPName"

line 178 change to = const-string v0, "YourAPPName"

Step 2: Open AndroidManifest.xml and search for this:

line 2 package="com.nathnetwork.YourAPPNAme"
line 24 android:authorities="com.nathnetwork.YourAPPName.provider"

Be sure that you use the same Name replacing the part of "YourAPPName" on line 173 of the Config.Smali and the line 2 and 24 on the AndroidManifest.xml.

Note: the line 178 will be the "User-Agent" and now you can secure your streams. In this case the user-agent will be "YourAPPName-v4.0.0".

If you do this, the app will compile fine and run, but when you try to play any stream, the license validation will crash the app messagin "Invalid License", to fix this and avoid any future call-back from ott and skip license validation, you need a dns running php and upload ApiIPTV.php on some folder. I.E. server.com/folder/ApiIPTV.php

Then go back and Open smali\com\nathnetwork\xciptv\util\Config.Smali

Find this on line 173 to 185
.line 4
invoke-static {}, Lcom/nathnetwork/xciptv/util/Config;->APIOneFromJNI()Ljava/lang/String;

move-result-object v0

sput-object v0, Lcom/nathnetwork/xciptv/util/Config;->c:Ljava/lang/String;

.line 5
invoke-static {}, Lcom/nathnetwork/xciptv/util/Config;->APIOneFromJNI()Ljava/lang/String;

move-result-object v0

sput-object v0, Lcom/nathnetwork/xciptv/util/Config;->d:Ljava/lang/String;

.line 6
invoke-static {}, Lcom/nathnetwork/xciptv/util/Config;->APITwoFromJNI()Ljava/lang/String;

move-result-object v0

sput-object v0, Lcom/nathnetwork/xciptv/util/Config;->e:Ljava/lang/String;


And replace all those lines with this:

.line 4
const-string v0, " "
sput-object v0, Lcom/nathnetwork/xciptv/util/Config;->c:Ljava/lang/String;

.line 5
const-string v0, " "
sput-object v0, Lcom/nathnetwork/xciptv/util/Config;->d:Ljava/lang/String;

.line 6
const-string v0, " "
sput-object v0, Lcom/nathnetwork/xciptv/util/Config;->e:Ljava/lang/String;

Be sure to replace " " with your DNS running php.

That is it!

The requests sending by the XCIPTV include the Serial Number of the Device, so, with a little creativity, you can do more secures to your server like only allow one device per customer and so on.

No quote
This isnt the whole app it's just the php file please upload app
 
P Offline

plexa

New member

Member
May 11, 2020
29
134
33
The app hardcoded is allready posted, I wont post some that I did not.
This is a tutorial to skip validation, customize the package name and the user-agent, it is usefull for any XCIPTV 4.*.* include the latest version of the playstore
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Top Posters of the Month

Online statistics

Members online
50
Guests online
279
Total visitors
329
Top