Wednesday 12 July 2017

Oxygen Installation error on Oneplus One Resolved

While Installing OxygenOS 2.1.4 using TWRP you might get into an issue, Installation fails with an error message showing

This package is for "OnePlus" devices; this is a "bacon" ....

Its easy piece to bypass this message and fix this , In the Build Zip file downloaded from oneplus one website

open the Zip directly(without extracting) and go to the location META-INF/com/google/android

edit the first line with 

getprop("ro.build.product") != "OnePlus" || getprop("ro.build.product") != "ONE" || abort("This package is for \"OnePlus\" devices; this is a \"" + getprop("ro.build.product") + "\"."); 

Save the zip file.

All done !! , try installing using TWRP and it will be successful.

Cheers 

1 comment: