francescotescari / XiaoMiToolV2

XiaomiTool V2 - Modding tool for xiaomi devices
https://www.xiaomitool.com
Apache License 2.0
625 stars 124 forks source link

selene oem unlock getServiceToken missing cookie #85

Open CastixGitHub opened 1 year ago

CastixGitHub commented 1 year ago

Device: Redmi 10 selene

more than 15 days since device->account connection

checked the account ID is the same (by mistake i previously logged into an old one)

unable to unlock

tool version: V20.7.28(beta)

(unable to copy the traceback since the text on screen is not selectable and no logs on stderr)

Nik-Kot commented 1 year ago

Download the latest version using git clone https://github.com/francescotescari/XiaoMiToolV2.git and run it with gradlew run. This issue is already fixed.

paolomeraviglia commented 1 year ago

immagine

tool version: latest dev branch, linux. I was trying to unlock the bootloader on a POCO f3

rosembergdesantana commented 1 year ago

Still not working, logging the code the response get in this method: httpGetServiceToken() in this class XiaomiServiceEntry.

    EasyResponse response;
    Log.log_private("Second step request: " + url);
    response = EasyHttp.get(url); -> 401 response code.
    HashMap<String, String> cookies = response.getCookies();
    serviceToken = cookies.get("serviceToken");

Always getting 401 after the request trying to get the url base mount in this method signedLocation().