Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

DOWNLOAD Tivimate 5.1.0 rv5 - Working Again (Fix)

jfhalas77

Active member
Joined
Jan 27, 2025
Messages
21
Offline
Believe some other versions stopped working yesterday. Due to where the response token was being pulled from.

Not had much time to test but this app/panel should work.

Changes in the app so any check.php that returns a json should work.

Search for https://yourhost

Credit to RTX for the original apk

 
Last edited:
Tested working with previous 5.1.0 panel, without changing anything on the panel (check.php)
 
<?php
session_start();

// Procesar datos de entrada
$rawPostData = file_get_contents("php://input");
$data = json_decode($rawPostData, true);
$token = isset($data['requestToken']) ? $data['requestToken'] : null;

// Obtener encabezados
$headers = function_exists('getallheaders') ? getallheaders() : [];

// Extraer X-parse-App-Data del encabezado (case-insensitive)
$appDataHex = null;
foreach ($headers as $name => $value) {
if (strtolower($name) === 'x-parse-app-data') {
$appDataHex = $value;
break;
}
}

// Si no se encuentra en los encabezados, intentar obtenerlo de $_SERVER
if (!$appDataHex) {
foreach ($_SERVER as $name => $value) {
if (substr($name, 0, 5) === 'HTTP_') {
$headerName = str_replace('_', '-', substr($name, 5));
if (strtolower($headerName) === 'x-parse-app-data') {
$appDataHex = $value;
break;
}
}
}
}

// Si aún no se encuentra, usar valor predeterminado
if (!$appDataHex) {
$appDataHex = "17f27"; // Valor predeterminado
}

// Convertir hex a decimal para responseToken
$responseToken = hexdec($appDataHex);

// Preparar respuesta
$responseData = [
"result" => [
"newApkUrl" => "",
"newVersionName" => "v5.1.0",
"shouldUpdateGooglePlayVersion" => false,
"forceAutoUpdate" => false,
"stagedRolloutDays" => 0,
"isActivated" => true,
"deviceName" => "TV",
"account" => "[email protected]",
"responseToken" => $responseToken
]
];

// Enviar respuesta
header('Content-Type: application/json');
echo json_encode($responseData);
session_destroy();
?>
 
<?php
session_start();

// Procesar datos de entrada
$rawPostData = file_get_contents("php://input");
$data = json_decode($rawPostData, true);
$token = isset($data['requestToken']) ? $data['requestToken'] : null;

// Obtener encabezados
$headers = function_exists('getallheaders') ? getallheaders() : [];

// Extraer X-parse-App-Data del encabezado (case-insensitive)
$appDataHex = null;
foreach ($headers as $name => $value) {
if (strtolower($name) === 'x-parse-app-data') {
$appDataHex = $value;
break;
}
}

// Si no se encuentra en los encabezados, intentar obtenerlo de $_SERVER
if (!$appDataHex) {
foreach ($_SERVER as $name => $value) {
if (substr($name, 0, 5) === 'HTTP_') {
$headerName = str_replace('_', '-', substr($name, 5));
if (strtolower($headerName) === 'x-parse-app-data') {
$appDataHex = $value;
break;
}
}
}
}

// Si aún no se encuentra, usar valor predeterminado
if (!$appDataHex) {
$appDataHex = "17f27"; // Valor predeterminado
}

// Convertir hex a decimal para responseToken
$responseToken = hexdec($appDataHex);

// Preparar respuesta
$responseData = [
"result" => [
"newApkUrl" => "",
"newVersionName" => "v5.1.0",
"shouldUpdateGooglePlayVersion" => false,
"forceAutoUpdate" => false,
"stagedRolloutDays" => 0,
"isActivated" => true,
"deviceName" => "TV",
"account" => "[email protected]",
"responseToken" => $responseToken
]
];

// Enviar respuesta
header('Content-Type: application/json');
echo json_encode($responseData);
session_destroy();
?>
ESO !
 
Believe some other versions stopped working yesterday. Due to where the response token was being pulled from.

Not had much time to test but hopefully this app/panel should work.

Some changes to the check.php and also in the app.

Search for https://yourhost

Credit to RTX for the original apk

*** Hidden text: cannot be quoted. ***
Please lower it to 149 reactions xD.
 
<?php
session_start();

// Procesar datos de entrada
$rawPostData = file_get_contents("php://input");
$data = json_decode($rawPostData, true);
$token = isset($data['requestToken']) ? $data['requestToken'] : null;

// Obtener encabezados
$headers = function_exists('getallheaders') ? getallheaders() : [];

// Extraer X-parse-App-Data del encabezado (case-insensitive)
$appDataHex = null;
foreach ($headers as $name => $value) {
if (strtolower($name) === 'x-parse-app-data') {
$appDataHex = $value;
break;
}
}

// Si no se encuentra en los encabezados, intentar obtenerlo de $_SERVER
if (!$appDataHex) {
foreach ($_SERVER as $name => $value) {
if (substr($name, 0, 5) === 'HTTP_') {
$headerName = str_replace('_', '-', substr($name, 5));
if (strtolower($headerName) === 'x-parse-app-data') {
$appDataHex = $value;
break;
}
}
}
}

// Si aún no se encuentra, usar valor predeterminado
if (!$appDataHex) {
$appDataHex = "17f27"; // Valor predeterminado
}

// Convertir hex a decimal para responseToken
$responseToken = hexdec($appDataHex);

// Preparar respuesta
$responseData = [
"result" => [
"newApkUrl" => "",
"newVersionName" => "v5.1.0",
"shouldUpdateGooglePlayVersion" => false,
"forceAutoUpdate" => false,
"stagedRolloutDays" => 0,
"isActivated" => true,
"deviceName" => "TV",
"account" => "[email protected]",
"responseToken" => $responseToken
]
];

// Enviar respuesta
header('Content-Type: application/json');
echo json_encode($responseData);
session_destroy();
?>
Doesn't work & returns the same token every time
 
Believe some other versions stopped working yesterday. Due to where the response token was being pulled from.

Not had much time to test but hopefully this app/panel should work.

Some changes to the check.php and also in the app.

Search for https://yourhost

Credit to RTX for the original apk

*** Hidden text: cannot be quoted. ***
This apk is different...how do you change the internal logo? I replaced the internal.png with mines but it doesn't work. Also to change the app name you must change it in the AndroidManifest.xml.
 
Why it's dead 😭
I tried earlier and it wouldn't work it just had the error, forgot I had changed thing's in a .htaccess file and made it a bit too strict, all better now lol.

I just did a fresh install of panel files, fresh apk and it's still working for me, like it did previously.
 
This apk is different...how do you change the internal logo? I replaced the internal.png with mines but it doesn't work. Also to change the app name you must change it in the AndroidManifest.xml.
In com/PanelUrl change logoHook to 0x1 for it to pickup internal.png logo

const v0, 0x1

sput-boolean v0, Lcom/PanelUrl;->_logoHook:Z
 
Back
Top