[Q] Error installing a ROM - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

Hi guys! First of all, I just wanna say I'm a complete newbie in ROM Developement...
Today I ported a ROM based in this, and when I'm trying to install it by CWM, it gives me this error:
-- Installing: /sdcard/AOSPLite.zip
Finding update package...
Opening update package...
Installing update...
assert failed: !less_than_int(1334724946, getprop("ro.build.date.utc"))
E:Error in /sdcard/AOSPLite.zip (Status 7)
Installation aborted.
PS: I already read the FAQ in the link, but I think my build.prop is right...
Link: http://pastebin.com/WRtu7zeC
PSS: I have SE Live with Walkman(WT19i) with unlocked bootloader.

Wait, why is your flashable-zip checking the time information build.prop anyway?

Someguyfromhell said:
Wait, why is your flashable-zip checking the time information build.prop anyway?
Click to expand...
Click to collapse
Don't know... As I sad, I'm a newbie... :$

If it's what I think it is, then:
go to meta-inf> com> google> android and open the updater-script with notepad++. It has to be notepad++
remove the following lining
Code:
assert(getprop("ro.product.device") == "ST15i" || getprop("ro.build.product") == "ST15i" ||
getprop("ro.product.device") == "ST15a" || getprop("ro.build.product") == "ST15a" ||
getprop("ro.product.device") == "smultron" || getprop("ro.build.product") == "smultron");
device names may vary ofc
If I'm wrong, well I tried

iONEx said:
If it's what I think it is, then:
go to meta-inf> com> google> android and open the updater-script with notepad++. It has to be notepad++
remove the following lining
Code:
assert(getprop("ro.product.device") == "ST15i" || getprop("ro.build.product") == "ST15i" ||
getprop("ro.product.device") == "ST15a" || getprop("ro.build.product") == "ST15a" ||
getprop("ro.product.device") == "smultron" || getprop("ro.build.product") == "smultron");
device names may vary ofc
If I'm wrong, well I tried
Click to expand...
Click to collapse
It doesn't have to be Notepad++, editing can be done with regular Notepad also, at least that's what I do.
Also, his ported ROM checks ro.build.date.utc in build.prop.
To OP: Mind posting your update-script here from the flashable-zip?

Someguyfromhell said:
It doesn't have to be Notepad++, editing can be done with regular Notepad also, at least that's what I do.
Click to expand...
Click to collapse
actually when I edit with notepad, I get some error. Forgot the classification number though.
and on various texts about editing updater-script, it says to use notepad++
I'm not sure for what reasons though.
but, well. if you have no problems with notepad editing. I might be wrong.
EDiT:
In these threads it says to use notepad++ otherwise you'll get a status 6 error.
just search status 6 on xda search for more info...
http://forum.xda-developers.com/showthread.php?t=936175
http://forum.xda-developers.com/showthread.php?t=840446

Related

Cyanogenmod on i9100p?

Hi,
I just tried to install this rom on my i9100p (the one with NFC) but failed the initial test... looks like it can be installed only on plain 9100, 9100M and T but not P... why is that? i've read that apart from the NFC it's just the same (in fact i had no problem installing CWM and after that when the phone boots it says i9100)...
i tried to search for the piece of code that it show on the screen as an error, but unfortunately I couldn't find where it is... the error is:
assert failed: getprop("ro.product.device") == "galaxys2" || getprop("ro.build.product") == "galaxys2" || getprop("ro.product.device") == "i9100" || getprop("ro.build.product") == "i9100" || getprop("ro.product.device") == "i9100M" || getprop("ro.build.product") == "i9100M" || getprop("ro.product.device") == "i9100T" || getprop("ro.build.product") == "i9100T"
so it should be matter of adding a couple ORs and voila... or maybe is there a way to change my model name somewhere?
Mmm some info. here, maybe help http://forum.xda-developers.com/showthread.php?t=1465816
GaboWinter said:
Mmm some info. here, maybe help http://forum.xda-developers.com/showthread.php?t=1465816
Click to expand...
Click to collapse
wel thank you, it did help, cause i understood that i had to modify the updater-script!
but now i get another error it just says error in .zip and (status 6), before it was status 7...
but i'm not really sure if i'm doing it correctly... when i'm in recovery mode, i go to install zip from sdcard->choose zip from sdcard and then i choose update-cm-9...zip
instructions only say "flash cm9"...
i have rooted the phone with CWS and nothing else...

Help! Unable to flash rom! [SOLVED]

Hi all
Serious problem with my mini st15i
I was running cm10 fxp 211 with mesa kernel v4.2
Yesterday everything magnified by 200% on the screen and I tried reflashing cm10
But my phone didn't allow me to.
Now I have tried 4 diff ROMs and have not been able to flash any.
This is the error message I get:
"Error updating zip file (status 7)" on TWRP recovery
Similar error on CWM
SOMEBODY PLEASE HELP!
Try this,
open the zip file in pc (don't extract)
navigate to META-INF>com>google>android>updator-script
try removing the first three lines using notepad++.
something like this
assert(getprop("ro.product.device") == "SK17i" || getprop("ro.build.product") == "SK17i" ||
getprop("ro.product.device") == "SK17a" || getprop("ro.build.product") == "SK17a" ||
getprop("ro.product.device") == "mango" || getprop("ro.build.product") == "mango");
f it still doesn't work, redownload the zip file, it will work
mnishamk said:
Try this,
open the zip file in pc (don't extract)
navigate to META-INF>com>google>android>updator-script
try removing the first three lines using notepad++.
something like this
assert(getprop("ro.product.device") == "SK17i" || getprop("ro.build.product") == "SK17i" ||
getprop("ro.product.device") == "SK17a" || getprop("ro.build.product") == "SK17a" ||
getprop("ro.product.device") == "mango" || getprop("ro.build.product") == "mango");
f it still doesn't work, redownload the zip file, it will work
Click to expand...
Click to collapse
Thank you!!!
You just revived my phone!:victory:
Wish I could hit thanks a few hundred times more!
please add [solved] to your thread title,
clcik edit on first post and go advanced and add [solved]

[Q] Can someone help with CM 10.1?

Hello all.
I recently saw a post about cm 10.1 for xperia p and i rushed to download and install it. I am using xperia p stock jb rom with unlocked bootloader , rooted with CMW and when i tried to flash it from CWM the instalation was aborted.(status 7) can someone help me please? i really want the android 4.2.2 thanks.
Just delete in zip archive in file \META-INF\com\google\android updater-script first 3 lines and flash archive!
Thanks for your interest but i already did, installation aborted status 0.
assert(getprop("ro.product.device") == "C5502" || getprop("ro.build.product") == "C5502" ||
getprop("ro.product.device") == "C5503" || getprop("ro.build.product") == "C5503" ||
getprop("ro.product.device") == "C5506" || getprop("ro.build.product") == "C5506" ||
getprop("ro.product.device") == "dogo" || getprop("ro.build.product") == "dogo");
but there are 4 lines not 3.
Download the zip again, or flash CM10.1 kernel, then install the rom.
kostasroussis66 said:
Thanks for your interest but i already did, installation aborted status 0.
assert(getprop("ro.product.device") == "C5502" || getprop("ro.build.product") == "C5502" ||
getprop("ro.product.device") == "C5503" || getprop("ro.build.product") == "C5503" ||
getprop("ro.product.device") == "C5506" || getprop("ro.build.product") == "C5506" ||
getprop("ro.product.device") == "dogo" || getprop("ro.build.product") == "dogo");
but there are 4 lines not 3.
Click to expand...
Click to collapse
This is archive not for Xperia P!
For Xperia P need LT22i!
And wrong forum!
For Xperia P only tihs: http://forum.xda-developers.com/showthread.php?t=2341139
@dimon it was the 1st file i used and appeared a problem. I will try again and i will try removing the 3 lines.
@razorka link for cm 10.1 kernel pls?
The kernel is in the zip:
boot.img
thanks guys i just deleted the 3 lines from updeter script and now it is installed! Ty all
An another question: Is it good and stable for everyday use? And when can i insert my PIN code? :S ty
Yes, it's able for daily use, very stable and smooth!

[Q] Cyagenomod 10.1 not installing on Jelly Bean 4.1.2 IG100 international version

A definite noob in the Android world , I have rooted my phone using the package ZSMSA Android 4.1.2 root package from the instructions found here from android.gs ; and then proceeded to install CyagenoMod 10.1.2 rom . After rebooting I get errors which is similar to this :
assert failed: getprop("ro.product.device") == "galaxys2" || getprop("ro.build.product") == "galaxys2" ||
getprop("ro.product.device") == "GT-I9100" || getprop("ro.build.product") == "GT-I9100" ||
getprop("ro.product.device") == "GT-I9100M" || getprop("ro.build.product") == "GT-I9100M" ||
getprop("ro.product.device") == "GT-I9100P" || getprop("ro.build.product") == "GT-I9100P" ||
getprop("ro.product.device") == "GT-I9100T" || getprop("ro.build.product") == "GT-I9100T"
assert failed: getprop("ro.product.device") == "galaxys2" || getprop("ro.build.product") == "galaxys2" ||
getprop("ro.product.device") == "GT-I9100" || getprop("ro.build.product") == "GT-I9100" ||
getprop("ro.product.device") == "GT-I9100M" || getprop("ro.build.product") == "GT-I9100M" ||
getprop("ro.product.device") == "GT-I9100P" || getprop("ro.build.product") == "GT-I9100P" ||
getprop("ro.product.device") == "GT-I9100T" || getprop("ro.build.product") == "GT-I9100T"
My phone is GT i9100 . Is there anything be done to fix this . I am running Jelly Bean 4.1.2 .
I had the same error when first installing CyanogenMod 10.1 on my phone. First, make sure you have the correct version of CyanogenMod for your device (make sure it is for the GT-I9100, and not the GT-I9100T or other variants) and move the files to your computer.
Extract the .zip file.
Once unzipped, browse to the META-INF/com/google/android directory.
You will find two files called “update-binary” and “updater-script”.
Rename “updater-script” to “updater-script.txt” and open with a text file editor.
Delete the line starting with “assert” to first semi-colon, including the semi-colon. Usually this is the first line or one of the first lines at the top of the text file.
Save the file and rename it back to "updater-script".
Re-zip the new, edited files and copy to your phone (make sure you copy the edited file, not the original by accident).
Install the new, edited .zip in recovery and all should be fine
Also, try using different versions of CWM if this doesn't work first time. You can use the "ROM Manager" app to install different versions of CWM, try older or newer versions if installing CyanogenMod does not work with the edited .zip file.
Sent from my GT-I9100 using xda app-developers app
But there is a more simple solution. Lucky for you, the CyanogenMod Installer Beta has recently gone up, and the GT-I9100 is a supported device follow this link
https://plus.google.com/communities/103540722025986617902
and join the community, using the Installer should avoid errors like the one you are experiencing.
Sent from my GT-I9100 using XDA Premium 4 mobile app

LG Optimus p760 Cyanogen Mod 11 for p765 (India)

I read that I can flash the p760 Cyanogen Mod [OFFICIAL] on my p765 (India) by simply removing the "nfc.apk" file. Is it true? Will it not be buggy?
Also, do I remove the "nfc.apk" after pasting CM11 on my sdcard, or before pasting (i.e., deleting the file from my computer) ? Or do I remove this file after I flash the custom ROM?
Any help will be appreciated!
Thanks!
It Works!
Doesn't matter now. I went ahead and flashed the p760 rom. It works perfectly fine!
lord stark said:
I read that I can flash the p760 Cyanogen Mod [OFFICIAL] on my p765 (India) by simply removing the "nfc.apk" file. Is it true? Will it not be buggy?
Also, do I remove the "nfc.apk" after pasting CM11 on my sdcard, or before pasting (i.e., deleting the file from my computer) ? Or do I remove this file after I flash the custom ROM?
Any help will be appreciated!
Thanks!
Click to expand...
Click to collapse
You will have battery drain of u dont disable NFC
Just flash the zip in the android development thread that I have shared
Sent from my LG-P760 using XDA Premium 4 mobile app
lord stark said:
Doesn't matter now. I went ahead and flashed the p760 rom. It works perfectly fine!
Click to expand...
Click to collapse
Hey man, even I'm trying to install cyanogenmod on my lg l9 p765. But when I try to install the .zip file from the cwm recovery mode, it says :
assert insert failed: getprop("ro.product.device") == "p760"
|| getprop("ro.build.product")=="p760"
E:Error in /storage/sdcard1/cm-10.2.1-p760.zip
(Status 7)
Installation aborted.
Please help me through this step!
Go to META-INF/com/google/android/updater-script
Open it and delete line which looks like this:
PHP:
assert(getprop("ro.product.device") == "p760" || getprop("ro.build.product") == "p760" ||
getprop("ro.product.device") == "p765" || getprop("ro.build.product") == "p765" ||
getprop("ro.product.device") == "p768" || getprop("ro.build.product") == "p768" ||
getprop("ro.product.device") == "u2" || getprop("ro.build.product") == "u2" || abort("This package is for \"p760,p765,p768,u2\" devices; this is a \"" + getprop("ro.product.device") + "\"."););
3016 6585566
Xerdox said:
Go to META-INF/com/google/android/updater-script
Open it and delete line which looks like this:
PHP:
assert(getprop("ro.product.device") == "p760" || getprop("ro.build.product") == "p760" ||
getprop("ro.product.device") == "p765" || getprop("ro.build.product") == "p765" ||
getprop("ro.product.device") == "p768" || getprop("ro.build.product") == "p768" ||
getprop("ro.product.device") == "u2" || getprop("ro.build.product") == "u2" || abort("This package is for \"p760,p765,p768,u2\" devices; this is a \"" + getprop("ro.product.device") + "\"."););
Click to expand...
Click to collapse
Thanks a lot, it worked!

Categories

Resources