R0rt1z2/realme-ota

Please add support for Oppo phones.

Opened this issue · 5 comments

realme-ota CPH2219EEA CPH221920242_11.A.22_0220_202112040144
usage: realme-ota [-h] [-r {0,1,2,3}] [-d DUMP] [-o ONLY] [-s {0,1}] [-v {0,1}] product_model ota_version {1,2,3}
realme-ota: error: the following arguments are required: rui_version
realme-ota CPH2219EEA CPH221920242_11.A.22_0220_202112040144
usage: realme-ota [-h] [-r {0,1,2,3}] [-d DUMP] [-o ONLY] [-s {0,1}] [-v {0,1}] product_model ota_version {1,2,3}
realme-ota: error: the following arguments are required: rui_version

Realme and Oppo are using the same endpoints (as well the same header/body structure for the requests) so the tool should work as-is. Your issue (in this case) is that you're missing the last argument (the RUI version, which in this case is the ColorOS version). If it doesn't work let me know and try to send the Oppo OTA.apk.

realme-ota CPH2219EEA CPH221920242_11.A.22_0220_202112040144
usage: realme-ota [-h] [-r {0,1,2,3}] [-d DUMP] [-o ONLY] [-s {0,1}] [-v {0,1}] product_model ota_version {1,2,3}
realme-ota: error: the following arguments are required: rui_version

Realme and Oppo are using the same endpoints (as well the same header/body structure for the requests) so the tool should work as-is. Your issue (in this case) is that you're missing the last argument (the RUI version, which in this case is the ColorOS version). If it doesn't work let me know and try to send the Oppo OTA.apk.

Where can i find the RUI version ?
Where you prefer i upload the OTA.apk file ? (Because idk if it is allowed to upload it here as attachment)

I think i now understand for the RUI version, i'm on Android 11, so it's "2" right ?
I just zipped and uploaded the OTA.apk file as attachment:
OTA.apk.zip

I think i now understand for the RUI version, i'm on Android 11, so it's "2" right ? I just zipped and uploaded the OTA.apk file as attachment: OTA.apk.zip

Yeah that's correct, in your case RUI version should be 2. I already tried to request it but it couldn't fetch anything.
Would you mind uploading the output of adb shell getprop here please? (remove device-specific info, for instance S/N).
Thanks for the OTA.apk, but as I expected, they're using exactly the same header/body/endpoints so it must be something else.

Closing due to inactivity.