XiaoMiToolV2 icon indicating copy to clipboard operation
XiaoMiToolV2 copied to clipboard

selene oem unlock getServiceToken missing cookie

Open CastixGitHub opened this issue 2 years ago • 2 comments

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)

CastixGitHub avatar Oct 26 '22 19:10 CastixGitHub

immagine

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

paolomeraviglia avatar Dec 15 '22 14:12 paolomeraviglia

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().

rosembergdesantana avatar Feb 13 '23 02:02 rosembergdesantana