Hello all, I figured this is the most appropriate place to ask this.
Long story short, I have a chinese phone with a reseller modded ROM that is preventing updates from happening. Therefore, I'm removing the first line in the update-script file in META-INF
getprop("ro.product.device") == "osborn_haiwai" || abort("E3004: This package is for \"osborn_haiwai\" devices; this is a \"" + getprop
in order to bypass verification, but that means editing the OTA zip file. I'm by no means a developer and am trying to get the updated zip file properly signed using signapk. However, I constantly get the error:
Signing - 4.1.6-nodevice.zip java.util.zip.ZipException: invalid CEN header (bad signature)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at com.android.signapk.SignApk.main(SignApk.java:454)
Any ideas?
Long story short, I have a chinese phone with a reseller modded ROM that is preventing updates from happening. Therefore, I'm removing the first line in the update-script file in META-INF
getprop("ro.product.device") == "osborn_haiwai" || abort("E3004: This package is for \"osborn_haiwai\" devices; this is a \"" + getprop
in order to bypass verification, but that means editing the OTA zip file. I'm by no means a developer and am trying to get the updated zip file properly signed using signapk. However, I constantly get the error:
Signing - 4.1.6-nodevice.zip java.util.zip.ZipException: invalid CEN header (bad signature)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at com.android.signapk.SignApk.main(SignApk.java:454)
Any ideas?