Can't flash rom in recovery - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

My Xperia Mini can't flash rom in recovery, the phone is rooted and yet unlocked bootloader. I'm using krsh kernel. I have tried to flash HaSa MIUI 2.8.10 and CyanogenTimeScape via recovery but the phone always shows "Installation aborted".
Please help

Which method did you use to unlock bootloader? TestPoint or sony?
Did you try other kernels/roms, too?

Michi_optimus_me said:
Which method did you use to unlock bootloader? TestPoint or sony?
Did you try other kernels/roms, too?
Click to expand...
Click to collapse
That has nothing to do with ROM installing.
OP: Give more information about the error, that is shown there.

It should flash the rom :/ tell the error in detail !!!
Sent from my HTC Explorer A310e using xda app-developers app

Have you got any idea why the installation is aborted? Maybe the zip is corrupted and you should download zip again and try again?

Michi_optimus_me said:
Have you got any idea why the installation is aborted? Maybe the zip is corrupted and you should download zip again and try again?
Click to expand...
Click to collapse
exactly what i was gonna say. This ta-faced conrropido file.

kevinngao said:
My Xperia Mini can't flash rom in recovery, the phone is rooted and yet unlocked bootloader. I'm using krsh kernel. I have tried to flash HaSa MIUI 2.8.10 and CyanogenTimeScape via recovery but the phone always shows "Installation aborted".
Please help
Click to expand...
Click to collapse
If the error you get is a getprop error, then:
Unpack the ROM (.zip), go to /META-INF/com/google/android/updater-script delete these lines:
assert(getprop("ro.product.device") == "Model number other than your phone" || getprop("ro.build.product") == "Model number other than your phone" ||
getprop("ro.product.device") == "Model number other than your phone" || getprop("ro.build.product") == "Model number other than your phone" ||
getprop("ro.product.device") == "Phone's code name other than your phone" || getprop("ro.build.product") == "Phone's code name other than your phone");
Click to expand...
Click to collapse
Repack the ROM and copy it onto your phone and then try flashing.

Related

CWM says my device is pollux when trying to install pollux_windy ROM

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.

[Q] 4.4.4 Update Assert Failed

O have an unlocked bootloader and rooted phone, but still using the stock ROM which has not been modified. I just tried to install this update file
Blur_Version.20.11.14.condor_retgb_retgb.en.GB.zip
When I try to install using TeamWin I get
assert failed getprop("ro.product.device") == "condor_umts" || getprop("ro.build.product") == "condor_umts" || getprop("ro.product.device") == "condor_umts" || getprop("ro.build.product") == "condor_umts"
I tried using stock recovery but it fails (presumably with the same error).
What does this error mean and any way of getting this working?
thanks
mike
miksmith said:
O have an unlocked bootloader and rooted phone, but still using the stock ROM which has not been modified. I just tried to install this update file
Blur_Version.20.11.14.condor_retgb_retgb.en.GB.zip
When I try to install using TeamWin I get
assert failed getprop("ro.product.device") == "condor_umts" || getprop("ro.build.product") == "condor_umts" || getprop("ro.product.device") == "condor_umts" || getprop("ro.build.product") == "condor_umts"
I tried using stock recovery but it fails (presumably with the same error).
What does this error mean and any way of getting this working?
thanks
mike
Click to expand...
Click to collapse
Mate, that's not the flashable zip through recovery, it have to be flashed via fastboot via pc...
Head over to that page and follow the instructions on how to flash that stock firmware...
Thanks for the reply - that was the update downloaded OTA so I was assuming update via either TWRP or standard recovery should work. But it doesnt
I tried doing a fastboot update but I get these errors
archive does not contain 'android-info.txt'
archive does not contain 'android-product.txt'
error: update package has no android-info.txt or android-product.txt
Any thoughts as to how to apply the update at all?
thanks
mike
TheStrix said:
Mate, that's not the flashable zip through recovery, it have to be flashed via fastboot via pc...
Head over to that page and follow the instructions on how to flash that stock firmware...
Click to expand...
Click to collapse
try this.
miksmith said:
Thanks for the reply - that was the update downloaded OTA so I was assuming update via either TWRP or standard recovery should work. But it doesnt
I tried doing a fastboot update but I get these errors
archive does not contain 'android-info.txt'
archive does not contain 'android-product.txt'
error: update package has no android-info.txt or android-product.txt
Any thoughts as to how to apply the update at all?
thanks
mike
Click to expand...
Click to collapse
did you try the flash able zip made for twrp (4.4.4)
the update script needs to be changed.
Unzip and use flashboot
miksmith said:
O have an unlocked bootloader and rooted phone, but still using the stock ROM which has not been modified. I just tried to install this update file
Blur_Version.20.11.14.condor_retgb_retgb.en.GB.zip
When I try to install using TeamWin I get
assert failed getprop("ro.product.device") == "condor_umts" || getprop("ro.build.product") == "condor_umts" || getprop("ro.product.device") == "condor_umts" || getprop("ro.build.product") == "condor_umts"
I tried using stock recovery but it fails (presumably with the same error).
What does this error mean and any way of getting this working?
thanks
mike
Click to expand...
Click to collapse
Dude, I think it's a compressed .zip package. Unzip it and follow this guide http://forum.xda-developers.com/showthread.php?t=2756609 to reflash using fastboot..
miksmith said:
O have an unlocked bootloader and rooted phone, but still using the stock ROM which has not been modified. I just tried to install this update file
Blur_Version.20.11.14.condor_retgb_retgb.en.GB.zip
When I try to install using TeamWin I get
assert failed getprop("ro.product.device") == "condor_umts" || getprop("ro.build.product") == "condor_umts" || getprop("ro.product.device") == "condor_umts" || getprop("ro.build.product") == "condor_umts"
I tried using stock recovery but it fails (presumably with the same error).
What does this error mean and any way of getting this working?
thanks
mike
Click to expand...
Click to collapse
I've got exactly the same problem, but with a tesco mobile update zip...
I've flash back stock recovery, uninstalled xposed, and full unrooted my system, but to no avail..
Any success?
I succeeded this weekend..... open the ZIP file and then load
META-INF\com\google\android\updater-script
into notepad or similar. Youll see near the top of the file those lines from the error message. Simply delete them and then run the update from TWRP.
Works a treat!
obsidianuk said:
I've got exactly the same problem, but with a tesco mobile update zip...
I've flash back stock recovery, uninstalled xposed, and full unrooted my system, but to no avail..
Any success?
Click to expand...
Click to collapse
https://drive.google.com/file/d/0BxckJwffMC8QVC1hTFBScmNBNFE/edit?usp=sharing
Here is an update.zip flashable via TWRP or CWM
It is based on condor_21.12.40.retaildsdsall.en.03 upgraded on 4.4.4 and recreated as a .zip update available to flash.
The rom is deodex and that is pretty much it
I AM USING IT ON XT1021 VERSION the one that is sold in Tesco`s.
And please ask for permission before re-uploading it somewhere because it is my work. Thank you.

corsica/corsicass (help plz)

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?

need urgent help twrp error while flashing RR rom latest build

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

A3-A40 Softbricked - SPFlash Tool Errors

Hi Guys and Gals,
I have an bricked device of a Colleague.
His Wif updated an Acer A3-A40 and the battery died midway through.
Now the device is won't boot and is stuck on the Bootlogo.
I tried to update via SD-Card using latest official ROM OS_Acer_RV09RC01.WW.GEN1_A60M_A.zip. The installation always aborts.
Then I tried to format the device and flash another ROM via SPFlash Tool (ver. 5.2xxx) and modified a Scatter File.
But i always get error 4032 when i use the File. Can someone help me please?
I attached the File from the Update and my modified one.
It could be a bad file your trying to update with. Delete files and redownload file. https://forum.xda-developers.com/android/general/acer-ax-b1-t2875894/page135 firmware
dk0dave said:
It could be a bad file your trying to update with. Delete files and redownload file. https://forum.xda-developers.com/android/general/acer-ax-b1-t2875894/page135 firmware
Click to expand...
Click to collapse
Yeah.
You were right. It's an Update for the wrong tablet. I extracted the update Script and found, that the File was for the "asgardHD". Not for the "jetfireHD". But the File you linked is the same, that i had already.
Can I just change the Name inside the Script?
Sorry for being noob.
Greetings
Right one as it is mentioned on the Tab:
ui_print("Target: acer/a3-a40_ww_gen1/acer_jetfirefhd:6.0/MRA58K/1469171623:user/release-keys");
show_progress(0.750000, 0);
Click to expand...
Click to collapse
The one in the File:
getprop("ro.product.device") == "acer_asgardfhd" || abort("E3004: This package is for "acer_asgardfhd" devices; this is a "" + getprop("ro.product.device") + "".");
ui_print("Target: acer/B3-A40fhd_ww_gen1/acer_asgardfhd:7.0/NRD90M/1498008836:user/release-keys");
Click to expand...
Click to collapse
Push
give this link a try. I'm not sure if it will work... its a 50/50
http://global-download.acer.com/GDFiles/OS/OS/OS_Acer_AV0M0.RV03RC04.WW.GEN1_A60M_A.zip?acerid=636068469259919265&Step1=TABLET&Step2=ICONIA%20TAB%2010&Step3=A3-A40&OS=ALL&LC=en&BC=ACER&SC=PA_6

Categories

Resources