RR-O-6.1.0_xxxx updater script can't work with 5.8.3 ROMs
I have a KLTE device, and I have been using a 5.8.3 version of this ROM for a while. I decided to try out the RR-O-6.1.0_xxxxx series that is now being offered in this thread, but I'm having a problem upgrading.
The updater_script within the RR-O-6.1.0_xxxx ROM bundles checks the ro.product.device and ro.build.product build props to make sure that the current ROM is compatible for this upgrade. However, in this 5.8.3 ROM, neither of these build.props are set to any value at all. The only similar build prop setting for that ROM is an attribute called rr.ro.device, which indeed is set to "klte" on my device.
I know I can edit the build props or perhaps upgrade first to a 5.8.5 ROM which might (???) contain either ro.product.device or ro.build.product. And I know how to edit updater_script in a ROM bundle. But since 5.8.3 is a valid Resurrection Remix ROM release, it would be helpful if the RR-O-6.1.0 updater_script also checks the rr.ro.device property, in addition to those other two.
Thank you to the maintainers for at least considering this request of mine.
PS: On the download links offered in this thread, only the RR-O-6.1.0 ROMs are available. Otherwise, I wouldn't be reporting this in this thread.
---------- Post added at 16:05 ---------- Previous post was at 15:57 ----------
For clarity, here is more detail ...
The error I get when trying to flash any RR-O-6.1.0 ROM after a factory reset is this:
E3004: This package is for device: klte,klteacg,klteatt,kltecan,kltelra,kltetmo,klteub,klteusc,kltevzw,kltexx: this device is .
And at the top of updater_script for that ROM series, the following code exists:
I have a KLTE device, and I have been using a 5.8.3 version of this ROM for a while. I decided to try out the RR-O-6.1.0_xxxxx series that is now being offered in this thread, but I'm having a problem upgrading.
The updater_script within the RR-O-6.1.0_xxxx ROM bundles checks the ro.product.device and ro.build.product build props to make sure that the current ROM is compatible for this upgrade. However, in this 5.8.3 ROM, neither of these build.props are set to any value at all. The only similar build prop setting for that ROM is an attribute called rr.ro.device, which indeed is set to "klte" on my device.
I know I can edit the build props or perhaps upgrade first to a 5.8.5 ROM which might (???) contain either ro.product.device or ro.build.product. And I know how to edit updater_script in a ROM bundle. But since 5.8.3 is a valid Resurrection Remix ROM release, it would be helpful if the RR-O-6.1.0 updater_script also checks the rr.ro.device property, in addition to those other two.
Thank you to the maintainers for at least considering this request of mine.
PS: On the download links offered in this thread, only the RR-O-6.1.0 ROMs are available. Otherwise, I wouldn't be reporting this in this thread.
---------- Post added at 16:05 ---------- Previous post was at 15:57 ----------
For clarity, here is more detail ...
The error I get when trying to flash any RR-O-6.1.0 ROM after a factory reset is this:
E3004: This package is for device: klte,klteacg,klteatt,kltecan,kltelra,kltetmo,klteub,klteusc,kltevzw,kltexx: this device is .
And at the top of updater_script for that ROM series, the following code exists:
Code:
assert(getprop("ro.product.device") == "klte" || getprop("ro.build.product") == "klte" ||
getprop("ro.product.device") == "klteacg" || getprop("ro.build.product") == "klteacg" ||
getprop("ro.product.device") == "klteatt" || getprop("ro.build.product") == "klteatt" ||
getprop("ro.product.device") == "kltecan" || getprop("ro.build.product") == "kltecan" ||
getprop("ro.product.device") == "kltelra" || getprop("ro.build.product") == "kltelra" ||
getprop("ro.product.device") == "kltetmo" || getprop("ro.build.product") == "kltetmo" ||
getprop("ro.product.device") == "klteub" || getprop("ro.build.product") == "klteub" ||
getprop("ro.product.device") == "klteusc" || getprop("ro.build.product") == "klteusc" ||
getprop("ro.product.device") == "kltevzw" || getprop("ro.build.product") == "kltevzw" ||
getprop("ro.product.device") == "kltexx" || getprop("ro.build.product") == "kltexx" || abort("E3004: This package is for device: klte,klteacg,klteatt,kltecan,kltelra,kltetmo,klteub,klteusc,kltevzw,kltexx; this device is " + getprop("ro.product.device") + "."););
.
Last edited: