R0rt1z2 / realme-ota

Request and download OTA packages from BBK server(s)
GNU General Public License v3.0
150 stars 49 forks source link

Unable to fetch RMX3572 EU OTA #50

Closed alibei closed 1 year ago

alibei commented 1 year ago

Have problems to fetch the rui 4.0 eu ota for RMX3572. The error indicates "Response status mismatch, expected '200' got '304' (artifactV1Result is empty)!"

ro.product.name: RMX3572EEA ro.build.version.ota: RMX3572_11.C.03_1030_202302081756 ro.build.version.realmeui: V4.0 ro.build.oplus_nv_id: 01000100

Tried the following commands: realme-ota RMX3572EEA RMX3572_11.C.03_1030_202302081756 4 01000100 realme-ota RMX3572EEA RMX3572_11.C.03_1030_202302081756 4 0 realme-ota RMX3572 RMX3572_11.C.03_1030_202302081756 4 01000100 realme-ota RMX3572 RMX3572_11.C.03_1030_202302081756 4 0

Fetching a RUI 3 build worked: realme-ota RMX3572EEA RMX3572_11.A.06_2022_062212210000 3 01000100 realme-ota RMX3572 RMX3572_11.A.06_2022_062212210000 3 01000100

rapperskull commented 1 year ago

You have to add -r 3 to use the EU server. This works fine: realme-ota -r 3 RMX3572EEA RMX3572_11.C.03_1030_202302081756 4 01000100

EDIT: I tested it, and in this particular case looks like the global server also works. It might be a problem related to your location. Try to set the ALL_PROXY environment variable to a proxy in another country.

alibei commented 1 year ago

I used now a proxy from the USA, there it is successful but it gives me the C.04 build. Was now able to get the link another way from a friend https://rms01.realme.net/sw/RMX3572GDPR_11_C.03_2023020817560000.zip

rapperskull commented 1 year ago

The C.04 build you get is not for another region, it is exactly for the region you specified. Maybe you misunderstood what the tool is for, but it checks for updates on the official servers. The RMX3572_11.C.03_1030_202302081756 you put in is your current version, not the target version, so the server returns the OTA update to C.04. There's no way to get a version older than the latest one.

Also, the link you posted is the EDL images, while the tools gets you a full OTA, but I guess you just needed the firmware files.

alibei commented 1 year ago

Yeah my bad was confused for a little. I edited my post before because I saw my mistake