From 1cb0d669a513c18182e8e7f1636cfb6427a1d690 Mon Sep 17 00:00:00 2001 From: corsicanu Date: Thu, 21 Dec 2023 09:10:38 +0200 Subject: [PATCH] Auth/BinaryInform: update decryption keys, update client, add dummy imei - more info on https://github.com/chenxiaolong/samfusdl/commit/1ad29edb432a8055f58c6e092b73a5835af564d8 https://github.com/chenxiaolong/samfusdl/releases/tag/v0.1.8 https://github.com/ivanmeler/SamFirm_Reborn/issues/15#issuecomment-1865275436 https://github.com/zacharee/SamloaderKotlin/issues/116 https://github.com/zacharee/SamloaderKotlin/commit/e0766d729e9b7640793b26ade4f3a0e8af1752d8 Co-authored-by: Andrew Gunnerson Co-authored-by: Zachary Wander Co-authored-by: Anan Jaser Signed-off-by: corsicanu --- KiesAuth.cs | 4 ++-- Xml.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/KiesAuth.cs b/KiesAuth.cs index b27bda5..3e0f519 100644 --- a/KiesAuth.cs +++ b/KiesAuth.cs @@ -8,9 +8,9 @@ namespace SamFirm { public static class KiesAuth { - private const string KEY_1 = "hqzdurufm2c8mf6bsjezu1qgveouv7c7"; + private const string KEY_1 = "vicopx7dqu06emacgpnpy8j8zwhduwlh"; - private const string KEY_2 = "w13r4cvf4hctaujv"; + private const string KEY_2 = "9u7qab84rpc16gvk"; public static byte[] DecryptNonce(string inp) { diff --git a/Xml.cs b/Xml.cs index 0b0570c..ffb8180 100644 --- a/Xml.cs +++ b/Xml.cs @@ -6,7 +6,7 @@ namespace hadesFirm internal class Xml { private static string BinaryInit = "\r\n\t\r\n\t\t1\r\n\t\t0\r\n\t\t1\r\n\t\r\n\t\r\n\t\t\r\n\t\t\t1\r\n\t\t\t\r\n\t\t\t\tSM-T805_AUT_1_20140929155250_b8l0mvlbba_fac.zip.enc2\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t0\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\tT805XXU1ANFB/T805AUT1ANF1/T805XXU1ANF6/T805XXU1ANFB\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\tAUT\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t9\r\n\t\t\t\r\n \r\n 805XXU1ANFU1ANXX\r\n \r\n\t\t\r\n\t\t\r\n\t\t\t2\r\n\t\t\t\r\n\t\t\r\n\t\r\n"; - private static string LatestVer = "\r\n\t\r\n\t\t1\r\n\t\t0\r\n\t\t1\r\n\t\r\n\t\r\n\t\t\r\n\t\t\t1\r\n\t\t\t\r\n\t\t\t\t2\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t0\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\tString\r\n\t\t\t\tISO 3166-1-alpha-3\r\n\t\t\t\t1033\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\tSmart Switch\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t4.1.16014_12\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\tT805XXU1ANF6\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\tT805AUT1ANF1\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\tT805XXU1ANFB/T805AUT1ANF1/T805XXU1ANF6/T805XXU1ANFB\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\tAUT\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\tSM-T805\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\tT805XXU1ANE6\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\tT805XXU1ANF6\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\tAndroid\r\n\t\t\t\r\n \r\n 805XXU1ANFU1ANXX\r\n \r\n\t\t\r\n\t\t\r\n\t\t\t2\r\n\t\t\t\r\n\t\t\r\n\t\r\n"; + private static string LatestVer = "\r\n\t\r\n\t\t1\r\n\t\t0\r\n\t\t1\r\n\t\r\n\t\r\n\t\t\r\n\t\t\t1\r\n\t\t\t\r\n\t\t\t\t2\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t0\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\tString\r\n\t\t\t\tISO 3166-1-alpha-3\r\n\t\t\t\t1033\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\tSmart Switch\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t4.3.23123_1\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\tT805XXU1ANF6\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\tT805AUT1ANF1\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\tT805XXU1ANFB/T805AUT1ANF1/T805XXU1ANF6/T805XXU1ANFB\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t00000000000000\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\tAUT\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\tSM-T805\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\tT805XXU1ANE6\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\tT805XXU1ANF6\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\tAndroid\r\n\t\t\t\r\n \r\n 805XXU1ANFU1ANXX\r\n \r\n\t\t\r\n\t\t\r\n\t\t\t2\r\n\t\t\t\r\n\t\t\r\n\t\r\n"; public static string GetXMLValue( string xml,