I have flashed the CWM recovery http://forum.xda-developers.com/showthread.php?t=2295694 and tried to flash CM11 nightly, but I'm getting an error message that says "This package is for "SGP311, SGP312, pollux_windy" devices; this is a "pollux"."
I flashed the "SGP31x -> Advance Stock Kernel with Recovery v01 (FW: 10.1.C.0.344)" img.
I'm not sure why i'm getting this message, as I've ensure that I have installed the correct firmware and recovery, meant for my Xperia Z Tablet 16gb WIFI.
JoeSzymkowicz said:
I have flashed the CWM recovery http://forum.xda-developers.com/showthread.php?t=2295694 and tried to flash CM11 nightly, but I'm getting an error message that says "This package is for "SGP311, SGP312, pollux_windy" devices; this is a "pollux"."
I flashed the "SGP31x -> Advance Stock Kernel with Recovery v01 (FW: 10.1.C.0.344)" img.
I'm not sure why i'm getting this message, as I've ensure that I have installed the correct firmware and recovery, meant for my Xperia Z Tablet 16gb WIFI.
Click to expand...
Click to collapse
Isn't it so that that kernel is for *stock* based roms? But you're trying to flash a CM rom?
nickez2001 said:
Isn't it so that that kernel is for *stock* based roms? But you're trying to flash a CM rom?
Click to expand...
Click to collapse
I just received the same error message. Did you ever find an answer?
kevinsickles said:
I just received the same error message. Did you ever find an answer?
Click to expand...
Click to collapse
Open the ROM zip, go into META-INF folder, and keep going until you find a file called Updater-script. Open it with a text processing tool (Notepad++ recommended) and delete the three lines or so at the start of the file that mention build.prop. Save it (no archive type), and move back t o the same place, and try again
Inside that file this is what I am seeing for the top lines? Which ones do I want to get rid of?
assert(getprop("ro.product.device") == "SGP311" ||
getprop("ro.build.product") == "SGP311" ||
getprop("ro.product.device") == "SGP312" ||
getprop("ro.build.product") == "SGP312" ||
getprop("ro.product.device") == "pollux_windy" ||
getprop("ro.build.product") == "pollux_windy" ||
abort("This package is for device: SGP311,SGP312,pollux_windy; this device is " + getprop("ro.product.device") + ".");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
zayaabby said:
Inside that file this is what I am seeing for the top lines? Which ones do I want to get rid of?
assert(getprop("ro.product.device") == "SGP311" ||
getprop("ro.build.product") == "SGP311" ||
getprop("ro.product.device") == "SGP312" ||
getprop("ro.build.product") == "SGP312" ||
getprop("ro.product.device") == "pollux_windy" ||
getprop("ro.build.product") == "pollux_windy" ||
abort("This package is for device: SGP311,SGP312,pollux_windy; this device is " + getprop("ro.product.device") + ".");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
Click to expand...
Click to collapse
Same issue here. I removed the are from "assert" to right before "mount". Basically to get rid of the "getprops" and "abort"
and now it just errors out. I know not many people get this, but any ideas out there?
Thanks.
wingcook said:
Same issue here. I removed the are from "assert" to right before "mount". Basically to get rid of the "getprops" and "abort"
and now it just errors out. I know not many people get this, but any ideas out there?
Thanks.
Click to expand...
Click to collapse
it's better to use XZDualRecovery.
Rootk1t said:
it's better to use XZDualRecovery.
Click to expand...
Click to collapse
I have loaded the newest of that Recovery. Either recovery I have gone into gives me the same error.
wingcook said:
I have loaded the newest of that Recovery. Either recovery I have gone into gives me the same error.
Click to expand...
Click to collapse
you can't install custom ROM's with these recoveries.
Rootk1t said:
you can't install custom ROM's with these recoveries.
Click to expand...
Click to collapse
ARRRGH....
That would explain it. Can you send me a direction to a recovery that I can use then?
Thank you.
wingcook said:
ARRRGH....
That would explain it. Can you send me a direction to a recovery that I can use then?
Thank you.
Click to expand...
Click to collapse
You need to unlock bootloader and flash (or hotboot via flashtool) boot.img of the custom firmware you're interested in via fastboot. After enter recovery on boot of device and install .zip with firmware files.
Rootk1t said:
You need to unlock bootloader and flash (or hotboot via flashtool) boot.img of the custom firmware you're interested in via fastboot. After enter recovery on boot of device and install .zip with firmware files.
Click to expand...
Click to collapse
Since I get the same error for a couple of days, I'm interested, if someone has a solution to this.
ROM: OmniRom Nightly (for a very long time!). Last Nightly installed 22.12.2014. After that one, I can't boot to recovery. Installing XZDualRecovery gets me to recovery *once*. There I get the same error message, trying to install *any* ROM.
When I try to reboot to recovery I get the Sony Logo, an orange LED and *working* adb.
The last few hours I tried many things without a single thing working. (Except going back to a Stock ROM).
One thing was extracting boot.img from a current OmniRom and flashing it with 'fastboot flash boot boot.img', but it did not work.
Any help?
Jens1969 said:
Since I get the same error for a couple of days, I'm interested, if someone has a solution to this.
ROM: OmniRom Nightly (for a very long time!). Last Nightly installed 22.12.2014. After that one, I can't boot to recovery. Installing XZDualRecovery gets me to recovery *once*. There I get the same error message, trying to install *any* ROM.
When I try to reboot to recovery I get the Sony Logo, an orange LED and *working* adb.
The last few hours I tried many things without a single thing working. (Except going back to a Stock ROM).
One thing was extracting boot.img from a current OmniRom and flashing it with 'fastboot flash boot boot.img', but it did not work.
Any help?
Click to expand...
Click to collapse
seems that recovery in the latest nightly of OmniROM is screwed up.
Rootk1t said:
seems that recovery in the latest nightly of OmniROM is screwed up.
Click to expand...
Click to collapse
Tried to flash a boot.img from a current CM 11 Nightly. But it did not help. If this is an Omni-only-issue, with CM11 boot.img l should have been able to get into recovery?
Mines doing it too when trying to flash package rom. Although one thing to note is that I partially bricked my device then reflashed another firmware. But it said sgp311 but I have Xperia phone notifications that pop up and a hotshot option in the pull down. Any ideas?
I was able to fix my recovery by following the guide on twrp homepage. Not sure but I installed an older recovery.
guys i have a pocket neo S5310 rooted with CWM installed and everything is just fine but when i try to install a custom rom like "Stock Deodex" or "Ressurrection Union" it shows me : "Erreur7 this is a corsica rom your device is corsicass" or somthing like that :crying:
is there any help or a solution for that please i will be very thankful
Your solution
Man, today it´s your day. I know the solution because I also got that problem when trying to install cm11. the only problem is your recovery version, probably you need CWM v6.0.4.x, but here I will let you the links for the following recoveries (these 2 are perfect to install any ROM and are flashable with Rashr):
CMW recovery v6.0.5.1 (lastest): https://mega.nz/#!dpJWmDJI!bVuHPHoaBIr4XOmt6KAIXI7LRs-INJuXd-NBHcWLXUU
Philz Touch 6: http://www.mediafire.com/download/5fu2q6r5qtqdk9t/recovery.img
*In case you don´t know what is Rashr, visit the app in Google Play here ==> https://play.google.com/store/apps/details?id=de.mkrtchyan.recoverytools&hl=es_419
This should work, if not, search another posible solution
Well, if updating recovery doesn't work for you..... Do:
Open your ROM zip file
Inside of it go to META-INF>com>google>android and open updater-script like a text file
Inside dele theassert algorithm that cause abort in case of a device ≠ Corsica
It is generally the 3 first lines...
Be careful
Deleting these lines will remove ability of abort installations in wrong devices previning BRICK
Which one to delete.
The 1st line:
assert(getprop("ro.product.device") == "corsica" || getprop("ro.build.product") == "corsica" || abort("This package is for device: corsica; this device is " + getprop("ro.product.device") + ".");
How do you make Q&A purple band like that?
I'm trying to install the new PA rom for our tablet and I'm getting a strange error. It says "This package is for "Scorpion" devices; this is a "z3".
Has anyone else faced this issue before?
You need to be on this FW : 23.4.A.0.546.
But don't bother, there is no recovery. I can't enter it atleast.
undeniableturnip said:
I'm trying to install the new PA rom for our tablet and I'm getting a strange error. It says "This package is for "Scorpion" devices; this is a "z3".
Has anyone else faced this issue before?
Click to expand...
Click to collapse
Extract the zip, goto to "META-INF\com\google\android" open the updater script and remove this line "getprop("ro.product.device") == "scorpion_windy" || abort("This package is for "scorpion_windy" devices; this is a "" + getprop("ro.product.device") + "".");
ui_print(" ");", save it and rezip.
Otherwise try using the official TWRP recovery.
ckyy said:
You need to be on this FW : 23.4.A.0.546.
But don't bother, there is no recovery. I can't enter it atleast.
Click to expand...
Click to collapse
A workaround for this is to reboot it into fastboot, flash the official twrp and reboot, you can get into recovery but the system won't boot, when you're done go back to fastboot and flash the boot.img from the PA zip.
Installing PA in Z3 Compact Tablet
undeniableturnip said:
I'm trying to install the new PA rom for our tablet and I'm getting a strange error. It says "This package is for "Scorpion" devices; this is a "z3".
Has anyone else faced this issue before?
Click to expand...
Click to collapse
I have been trying to install three time only ending with the error message that the package is not for "scorpion" but for "Leo" I will appreciate for clarification, thanks.
Phone was replaced by Motorola to a new device - after motherboard bug. A new device is UK version.
I have unlocked it and installed recovery, but I can't install any rom - I've tried with CWM and TRWP (2 different versions).
Every try ends up with "ERROR 7". In error logs:
You have an installed system that isn't signed with this build's key, aborting...
run_program: child exited with status 124
script aborted: Can't install this package on top of incompatible data. Please try another package or run a factory reset
Can't install this package on top of incompatible data. Please try another package or run a factory reset
Updater process ended with ERROR: 7
Click to expand...
Click to collapse
I've tried with:
aokp_condor_mm_nightly_2017-01-16
AospExtended-v3.1-condor-20170124-0102-OFFICIAL
lineage-14.1-20170119-UNOFFICIAL-condor
I found a solution for "Error 7" (remove first lines from update-script) but it doesn't help.
Similar problem I found here: http://www.androidpit.com.br/forum/...o-para-lollilop-da-erro-mesmo-sem-root/page/2
In my CWM log there was also something like:
Package expects build fingerprint of motorola/condor_retbr_ds/condor_umtsds:4.4.4/KXC21.5-40/49:user/release-keys or motorola/condor_retbr_ds/condor_umtsds:5.1/LPC23.13-34.8/12:user/release-keys; this device has Motorola/omni_condor/condor:4.4.2/KOT49H/eng.bigbiff.20140616.171951:eng/test-keys.
Click to expand...
Click to collapse
So the problem is "omni_condor" fingerprint of a device. Is it a different hardware then all other versions?
The fingerprint is also checked in update-script:
run_program("/tmp/install/bin/otasigcheck.sh") != "31744" || abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");
Click to expand...
Click to collapse
I can remove that lines and try to install system, but I don't want to brick it.
Any ideas? Do I need special version of CWM/TRWP or just need to "fix" update-script and it should work ok?
Official twrp causes problem with nougat ROMs ! Try squid twrp ( http://www.mediafire.com/file/ca3rjwh43qbzmw5/twrp-condor-3.0.2-r5.img ) and if you want to flash gapps then you should flash pico gapps .
xterm1 said:
Phone was replaced by Motorola to a new device - after motherboard bug. A new device is UK version.
I have unlocked it and installed recovery, but I can't install any rom - I've tried with CWM and TRWP (2 different versions).
Every try ends up with "ERROR 7". In error logs:
I've tried with:
aokp_condor_mm_nightly_2017-01-16
AospExtended-v3.1-condor-20170124-0102-OFFICIAL
lineage-14.1-20170119-UNOFFICIAL-condor
I found a solution for "Error 7" (remove first lines from update-script) but it doesn't help.
Similar problem I found here: http://www.androidpit.com.br/forum/...o-para-lollilop-da-erro-mesmo-sem-root/page/2
In my CWM log there was also something like:
So the problem is "omni_condor" fingerprint of a device. Is it a different hardware then all other versions?
The fingerprint is also checked in update-script:
I can remove that lines and try to install system, but I don't want to brick it.
Any ideas? Do I need special version of CWM/TRWP or just need to "fix" update-script and it should work ok?
Click to expand...
Click to collapse
Flash stock lollipop and then flash mm or n
vinithv said:
Official twrp causes problem with nougat ROMs ! Try squid twrp ( http://www.mediafire.com/file/ca3rjwh43qbzmw5/twrp-condor-3.0.2-r5.img ) and if you want to flash gapps then you should flash pico gapps .
Click to expand...
Click to collapse
Rajendran Rasa said:
Flash stock lollipop and then flash mm or n
Click to expand...
Click to collapse
Stock 5.1 with TRWP 3.0.2-r5 and still "error 7". It seems to be problem with fingerprint.
Looks like the only way to do it is to edit update-script and remove fingerprint check.
UPDATE/EDIT
After removing fingerprint check everything works ok - I can flash rom and it is working ok. Problem solved.
xterm1 said:
Stock 5.1 with TRWP 3.0.2-r5 and still "error 7". It seems to be problem with fingerprint.
Looks like the only way to do it is to edit update-script and remove fingerprint check.
UPDATE/EDIT
After removing fingerprint check everything works ok - I can flash rom and it is working ok. Problem solved.
Click to expand...
Click to collapse
I face the same issue.. Which line should be removed from the below
getprop("ro.build.fingerprint") == "motorola/condor_retaildsds/condor_umtsds:4.4.4/KXC21.5-40/46:user/release-keys" ||
getprop("ro.build.fingerprint") == "motorola/condor_retaildsds/condor_umtsds:5.0.2/LXC22.46-32/30:user/release-keys" ||
abort("Package expects build fingerprint of motorola/condor_retaildsds/condor_umtsds:4.4.4/KXC21.5-40/46:user/release-keys or motorola/condor_retaildsds/condor_umtsds:5.0.2/LXC22.46-32/30:user/release-keys; this device has " + getprop("ro.build.fingerprint") + ".");
While flashing In my Redmi Note 3
I get Error E3004 : This Rom is for kenzo,kate and your device is .
Plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz help
mohsiin4u said:
While flashing In my Redmi Note 3
I get Error E3004 : This Rom is for kenzo,kate and your device is .
Plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz help
Click to expand...
Click to collapse
Update recovery.
Androbots said:
Update recovery.
Click to expand...
Click to collapse
Currently i am on zcx recovery. If i update i should have to formate data of mobile including internal storage too
mohsiin4u said:
Currently i am on zcx recovery. If i update i should have to formate data of mobile including internal storage too
Click to expand...
Click to collapse
Damn ZCX is very old around 2years.... Update to TWRP and if u rae coming from Miui then yes u need to format data not wipe and then flash rom and gapps
I'm having the same Issue, I had it before when upgrading from RR Marshmallow to Nougat
Here's what fixed it
Extract your your RR Zip,
Navigate to META-INF\com\google\android\
open the updater-script in a text editor (I prefer wordpad)
The first line should be something like this:
Code:
"assert(getprop("ro.product.device") == "kate" || getprop("ro.build.product") == "kate" || getprop("ro.product.device") == "kenzo" || getprop("ro.build.product") == "kenzo" || abort("E3004: This package is for device: kate,kenzo; this device is " + getprop("ro.product.device") + "."););"
Delete it, save the file and zip up the folder again and try flashing.
It didn't work going from Nougat to Oreo though, I'm still trying to figure out why.
Will try what Androbots said, I'm on TWRP 3.1.1, will update to newer one now