turistu / rmx3474-rooting

rooting the Realme 9 5G rmx3474 phone
GNU General Public License v3.0
33 stars 8 forks source link

Weird output message #8

Open chackAJMCPE opened 1 year ago

chackAJMCPE commented 1 year ago

it just gave me: "{"resultCode":-1002,"msg":"Ŕ»ąŠť║ň×őńŞŹŠö»Šîüšö│Ŕ»Ě"}" What the hell??

turistu commented 1 year ago

On Fri, Jul 14, 2023 at 6:17 PM chackAJMCPE @.***> wrote:

it just gave me: "{"resultCode":-1002,"msg":"Ŕ»ąŠť║ň×őńŞŹŠö»Šîüšö│Ŕ»Ě"}" What the hell??

Your console/terminal mangled the output. That's

{"resultCode":-1002,"msg":"该机型不支持申请"}

which means that the phone model is not supported. The lk. (mainland China) server has a different list of supported models than the lkf. server.

If you really have a Chinese (non-export) firmware on your phone ("adb shell pm has-feature oppo.version.exp" => false), then you could try:

perl deeptesting-junk.pl url https://lk.realmemobile.com/realme/v1/ model RMX3370 cmd applyLkUnlock pcb ... imei ...

(with the original script).

Notice that now it takes about 12 hours until you get an unlock code from the lk. server. And the unlock code may not work at all.

turistu commented 1 year ago

On Fri, Jul 14, 2023 at 6:19 PM chackAJMCPE @.***> wrote:

my deeptesting-junk.pl has:

You don't have to modify the script -- you can override all those %cfg values via the command line.

! /usr/bin/perl

use strict;

my %cfg = ( cmd => 'acquireClientStatus', url => 'https://lk.realmemobile.com/realme/v1/',

lkf. if oppo.version.exp feature, lk. otherwise

verify_hostname => 1,

these are used to build the json POST data

model => 'RMX3472EEA',

As I already said at https://github.com/turistu/rmx3474-rooting#readme, you should NOT use your actual phone model with the applyLkUnlock command, but a phone model supported by their unlock server.

If the server were accepting the RMX????EEA model, you could've just run the deeptesting apk directly and there would be no need for this hack at all.

chackAJMCPE commented 1 year ago

now i know and its processing. huge thanks