Hacking if your sd card corrupts with sx pro is there way get your license.dat back?

gamer4lif3

Well-Known Member
Member
Joined
Dec 31, 2015
Messages
495
Trophies
0
XP
464
Country
United States
U can use any sd card so best to save license.dat in multiple places such as online storage also save the license request the pro creates incase pro breaks.
 

PRAGMA

Well-Known Member
Member
Joined
Dec 29, 2015
Messages
2,258
Trophies
1
Location
Ireland
Website
github.com
XP
5,038
Country
Ireland
Untested Script:
Code:
var LICENCE_CODE = "CHANGE-THIS-TO-CODE";
function fileSelected(o) {
    $(o).parent().parent().find('.form-control').html($(o).val().split(/[\\|/]/).pop());
    hideError();

    var reader = new FileReader();
    reader.onload = function() {
        var arrayBuffer = this.result;
        bytes = new Uint8Array(arrayBuffer);
        csr_data = '';
        for(i=0; i<bytes.length; i++) {
            csr_data += ("0" + bytes[i].toString(16)).substr(-2);
        }

        if (csr_data.substr(0x40, 0x40) == "0".repeat(0x40)) {
            $("#license-code-form").show();
        } else {
            $("#license-code-form").hide();
            get_license(csr_data, LICENCE_CODE);
        }
    }
    reader.readAsArrayBuffer(o.files[0]);
}
Copy the above, change LICENCE_CODE go to https://sx.xecuter.com/sxos-license.html, press F12, click "Console" tab, paste the code with your changed "LICENCE_CODE", press enter to execute.
Now, click "Browse" button and load your licence-request.dat which can be re-gotten when booting SX OS without a license.dat
It SHOULD give you the license.dat that you previously had :)
(Remember, its untested, if something goes wrong, lmk)
 
  • Like
Reactions: MManatane

Pittek

Member
Newcomer
Joined
Dec 8, 2005
Messages
15
Trophies
0
Website
Visit site
XP
185
Country
Gambia, The
Oh my, why so complicated?
In the idiotic case one looses his license.dat and has no secure backup, SX OS will create a new request file everytime a SD is inserted w/o the license.

This way you can get your license as often as you like. I tried it 3 times w/o any issue.
Easiest and smartest way is to backup your tiny file :P
 
  • Like
Reactions: RichKK

QRC

Member
Newcomer
Joined
Jul 15, 2018
Messages
24
Trophies
0
Age
41
XP
87
Country
Germany
I bought my license online. It asks you to enter a serial and if you are online, it will create the file on your sd card.
 

castdreams

Well-Known Member
Newcomer
Joined
Oct 31, 2016
Messages
93
Trophies
0
Age
33
Location
Midwest USA
XP
138
Country
United States
You should be able to go back onto the website and get your license.dat again, I don't think there's a limit to how many times it can be downloaded. Otherwise I would suggest keeping a backup. I've got mine backed up on my PC and OneDrive.
 
  • Like
Reactions: Majortaylor

ichibaka

Well-Known Member
Newcomer
Joined
Jul 4, 2018
Messages
80
Trophies
0
Age
38
XP
196
Country
United States
Untested Script:
Code:
var LICENCE_CODE = "CHANGE-THIS-TO-CODE";
function fileSelected(o) {
    $(o).parent().parent().find('.form-control').html($(o).val().split(/[\\|/]/).pop());
    hideError();

    var reader = new FileReader();
    reader.onload = function() {
        var arrayBuffer = this.result;
        bytes = new Uint8Array(arrayBuffer);
        csr_data = '';
        for(i=0; i<bytes.length; i++) {
            csr_data += ("0" + bytes[i].toString(16)).substr(-2);
        }

        if (csr_data.substr(0x40, 0x40) == "0".repeat(0x40)) {
            $("#license-code-form").show();
        } else {
            $("#license-code-form").hide();
            get_license(csr_data, LICENCE_CODE);
        }
    }
    reader.readAsArrayBuffer(o.files[0]);
}
Copy the above, change LICENCE_CODE go to https://sx.xecuter.com/sxos-license.html, press F12, click "Console" tab, paste the code with your changed "LICENCE_CODE", press enter to execute.
Now, click "Browse" button and load your licence-request.dat which can be re-gotten when booting SX OS without a license.dat
It SHOULD give you the license.dat that you previously had :)
(Remember, its untested, if something goes wrong, lmk)
May I ask what is the point in doing this? Wont doing the license request normally be the same?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    BakerMan @ BakerMan: oof