need urgent help twrp error while flashing RR rom latest build - Xiaomi Redmi Note 3 Questions & Answers

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

Related

Can't flash rom in recovery

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.

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.

[Kernel][CM12.1] Modified CyanogenExtended kernel for D620

What is this?
Modified HoaPham's cm12.1 and NikitaProAndroid's cyanogenextended kernel for d620
What it can do?
It can boot cm12.1 for D618 on our D620
How to do?
1.Open rom archive and go to META-INF/com/google/android and open updater-script
2.Delete the first line:
Code:
assert(getprop("ro.product.device") == "g2mss" || getprop("ro.build.product") == "g2mss" || getprop("ro.product.device") == "g2mds" || getprop("ro.build.product") == "g2mds" || getprop("ro.product.device") == "D618" || getprop("ro.build.product") == "D618" || getprop("ro.product.device") == "D610" || getprop("ro.build.product") == "D610" || abort("This package is for device: g2mss,g2mds,D618,D610; this device is " + getprop("ro.product.device") + "."););
3.Save, flash the rom, flash the kernel
4.Enjoy
Download link v2
Download link
Thanks to HoaPham98 for cm12.1 and to Nikita for his kernel
It works [emoji1] handle patches for double tap to wake doesn't work tough
Martiz said:
It works [emoji1] handle patches for double tap to wake doesn't work tough
Click to expand...
Click to collapse
Download terninal emulator, open it and type this:
su
echo "1 1" > /sys/devices/virtual/input/lge_touch/lpwg_notify
Nice.. Now i'm on cm12.1.. Works as main rom with multirom too..
Sent from my LG-D620fr [CM12.1]
downloading cm12.1..i`ll test and report
System_F said:
Download terninal emulator, open it and type this:
su
echo "1 1" > /sys/devices/virtual/input/lge_touch/lpwg_notify
Click to expand...
Click to collapse
Is there a way to make it work even after reboot?
Sent from my LG-D620fr [CM12.1]
AntonPanos said:
Is there a way to make it work even after reboot?
Sent from my LG-D620fr [CM12.1]
Click to expand...
Click to collapse
maybe some1 can make a script or something to autoexec that command after boot
/del
I'm thinking about moving from stock lollipop on d620r to cm12.1
Just to make it clear, i need to flash stock KK, then unlock bootloader, and flash cm?
Or I can just flash from TWRP from lollipop? I'm bit confused about bootstacks, patched bootloader and those stuff. Guess I'm in a bit information overload.
P.S. Is CM12.1 ok as a daily driver?
culler said:
I'm thinking about moving from stock lollipop on d620r to cm12.1
Just to make it clear, i need to flash stock KK, then unlock bootloader, and flash cm?
Or I can just flash from TWRP from lollipop? I'm bit confused about bootstacks, patched bootloader and those stuff. Guess I'm in a bit information overload.
P.S. Is CM12.1 ok as a daily driver?
Click to expand...
Click to collapse
Reading a bit around the forum wouldn't be bad, every action is clearly listed and explained, but whatever. If you are on stock lollipop, you should get root, follow the instructions to install the patched bootloader for your mobile version, then flash kk bootstack for your mobile version trough latest TWRP via rashr or similar, and after that you can flash CM 12.1 rom and the kernel.
Martiz said:
Reading a bit around the forum wouldn't be bad, every action is clearly listed and explained, but whatever. If you are on stock lollipop, you should get root, follow the instructions to install the patched bootloader for your mobile version, then flash kk bootstack for your mobile version trough latest TWRP via rashr or similar, and after that you can flash CM 12.1 rom and the kernel.
Click to expand...
Click to collapse
Thanks, I just wasn't sure. I've read all threads but got lost in context what can and what i can't flash.
after half a day of usage the rom runs awesome very smooth and stable. also good battery like with ondemand and noop
the only problem was the camera that is overexposed but i fixed it changing the lib files..dt2w works great too
Ok, i've flashed it, and everything seems to be working, except one weird thing, power button is not working. I can't unlock my phone, or access power menu, or lock it. I've flashed it again but still didn't get it to work.
edit: volume keys also don't work
culler said:
Ok, i've flashed it, and everything seems to be working, except one weird thing, power button is not working. I can't unlock my phone, or access power menu, or lock it. I've flashed it again but still didn't get it to work.
Click to expand...
Click to collapse
Again, READ everything. If you go to cm12.1 thread you'll see there is a fix zip to solve the problem with buttons. Or just use the in-thread search tool.
tryed to install blisspop but i got bootloops, is it possible to install it?
panagiotisden2 said:
tryed to install blisspop but i got bootloops, is it possible to install it?
Click to expand...
Click to collapse
did u deleted the first row from update script?
Diaze said:
did u deleted the first row from update script?
Click to expand...
Click to collapse
solved it i forgot to wipe data i only wiped dalvik and cache
you dont need to delete anything from update script to install blisspop only for CM 12.1
thank you anyway
Well multitasking and speed on 5.1 is way better.. Nice having this kernel! :good:
Sent from my LG-D620fr [OwnRom 5.1.1]
does every blisspop user on d620 have camera errors and fc after some time using an app?
I've tried to copy paste d2w command into. sh file, put it in init.d folder and using kernel aduitor to start in on boot but id don't work. but, i can execute it manually and it works. at least I don't need to type it every time. maybe somebody know how to execute it on boot, or proper init.d syntax that will allow auto execution.
Edit: I was wrong about .sh file...
There should be no extension.
Just put this file in /etc/init.d/ folder and set permissions to 755 and d2w will work on boot.
https://dl.dropboxusercontent.com/u/13822451/xda/d2w

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?

Categories

Resources