• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Change w5ds back to w5

Drigo9955

Lurker
Jan 7, 2015
8
2
I am new to this phone, I have it already rooted, bootloader unlocked and CWM installed.
I recently installed a CM12 based ROM which somehow made the phone work as a dual SIM version.

I want to change back to CM11 w5 version but CWM don't allow me to ("device is w5ds, .zip is for w5") apparently detects my L70 as a dual SIM version.

Is there a script or something I could do to change my phone behaviour back to w5?
 
In zip, go to: META-INF\com\google\android\
There's a file updater-script. Unpack it, open it with notepad++ and delete

Code:
assert(getprop("ro.product.device") == "w5" ||
       getprop("ro.build.product") == "w5" ||
       getprop("ro.product.device") == "w5ds" ||
       getprop("ro.build.product") == "w5ds" ||
       abort("This package is for device: w5,w5ds; this device is " + getprop("ro.product.device") + "."););

Repack and try to flash.
 
Upvote 0
In zip, go to: META-INF\com\google\android\
There's a file updater-script. Unpack it, open it with notepad++ and delete

Code:
assert(getprop("ro.product.device") == "w5" ||
       getprop("ro.build.product") == "w5" ||
       getprop("ro.product.device") == "w5ds" ||
       getprop("ro.build.product") == "w5ds" ||
       abort("This package is for device: w5,w5ds; this device is " + getprop("ro.product.device") + "."););

Repack and try to flash.
Thank you! I finally flashed the rom :D
 
  • Like
Reactions: Member1771050
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones