Afternoon all,
I have an aging ex-Orange Galaxy S2, now running Omnirom nightlies and still going strong. However, I've been experiencing really choppy audio quality on two different brands of in-car bluetooth handsfree for almost a year now, so I got looking at baseband versions.
Currently on XXMS2, I tried to update to XXMS3 and XXMS4, but it always failed on getprop assert fails. I've narrowed it down to this.
The phone is reporting...
Code:
~ # getprop | grep ro.product.device
[ro.product.device]: [i9100]
~ # getprop | grep ro.build.product
[ro.build.product]: [i9100]
~ # getprop | grep ro.product.board
[ro.product.board]: [smdk4210]
And the XXMS3 and XXMS4 flashing scripts are checking for...
Code:
assert(getprop("ro.product.device") == "galaxys2" || getprop("ro.build.product") == "galaxys2" || getprop("ro.product.board") == "galaxys2" ||
getprop("ro.product.device") == "GT-I9100" || getprop("ro.build.product") == "GT-I9100" || getprop("ro.product.board") == "GT-I9100" ||
getprop("ro.product.device") == "GT-I9100M" || getprop("ro.build.product") == "GT-I9100M" || getprop("ro.product.board") == "GT-I9100M" ||
getprop("ro.product.device") == "GT-I9100T" || getprop("ro.build.product") == "GT-I9100T" || getprop("ro.product.board") == "GT-I9100T" ||
getprop("ro.product.device") == "GT-I9100P" || getprop("ro.build.product") == "GT-I9100P" || getprop("ro.product.board") == "GT-I9100P");
Clearly nothing in that list will match. I have an XXMS2 firmware file, and it doesn't perform these checks. I don't know why my phone would have a slightly out of the ordinary set of properties, other than the fact it's had a few warranty repairs by Samsung.
Thus, is it safe to edit updater-script and remove those checks in order to let it pass the test?
Any advice or scary warnings would be greatly appreciated!
Cheers
Kyle
Changing modem isn't going to fix your BT problems, BT drivers are in the kernel (with WiFi drivers).
That's a bit disappointing to hear then The problem has been apparent since the CM10 days, and persisted into Omnirom. Only affects HFP too. A2DP is fine. Will keep wishing then.
Does it happen with stock ? If it doesn't, might be worth mentioning to the developer of the custom rom(s) you're using/have tried.
Could easily be an AOSP specific issue; due to a lot of proprietary code, lots of things only work on their roms due to the skill of the coders involved - being able to 'hack' solutions/reverse engineer stuff. And that proprietary code is also the reason why some stuff doesn't work/has problems with AOSP.
Related
I cannot boot into my rom but I can boot into CWM however when i try to flash a rom i get this read out:
assert failed: getprop("ro.product.device") == "x10i" || getprop("ro.build.product") == "x10i" || getprop("ro.product.board") == "x10i" || getprop("ro.product.device") == "x10a" || getprop("ro.build.product") == "x10a" || getprop("ro.product.board") == "x10a" || getprop("ro.product.device") == "es209ra" || getprop("ro.build.product") == "es209ra" || getprop("ro.product.board") == "es209ra"
E:Error in /sdcard/update-cm-7.1.0-xperia-x10i-KANG-signed.zip
(status 7)
Installation aborted
What have I done wrong?
flash the stock rom - format sdcard on the phone (dont forget backup), and then once more again.
Quercus1 said:
flash the stock rom - format sdcard on the phone (dont forget backup), and then once more again.
Click to expand...
Click to collapse
Ta for the help do i flash stock ROM using flashtool then if CWM is bust?
yes - make your phone "virgin"
sorted almost worried for a sec there, nice to know the XDA communities always there for a noob
Hello guys,
I've perused your forums off the back of some Google searches trying to find some answers to my problem, to no avail. So I shall recap my situation and see what the brains have to offer.
A few days ago I got a Samsung Galaxy SII i900P upgrade through Orange. I noticed straight away my model was slightly different with it's NFC, but didn't realise until attempting to install CM7 how much of a headache it'd be to put a custom Android overlay onto.
I followed the Cyanogen Mod wiki entry, changed to an insecure kernel (got my yellow triangle), rooted using S2Root (after a Google search), and attempted to install Cyanogen. Failed. Followed one guys suggestion of changing the 'assert()' command at the top of META-INF/com/google/android/updater-script to:
assert(getprop("ro.product.device") == "galaxys2" || getprop("ro.build.product") == "galaxys2" || getprop("ro.product.board") == "galaxys2" ||
getprop("ro.product.device") == "GT-I9100" || getprop("ro.build.product") == "GT-I9100" || getprop("ro.product.board") == "GT-I9100" ||
getprop("ro.product.device") == "GT-I9100M" || getprop("ro.build.product") == "GT-I9100M" || getprop("ro.product.board") == "GT-I9100M" ||
getprop("ro.product.device") == "GT-I9100T" || getprop("ro.build.product") == "GT-I9100T" || getprop("ro.product.board") == "GT-I9100T" ||
getprop("ro.product.device") == "GT-I9100P");
Click to expand...
Click to collapse
But to no avail. I tried a few more times and for about an hour I ended up with a dead handset that had ClockworkMod, until I put on a different kernel. Now I have a slightly different looking overlay which is STILL Orange branded.
Can anyone help me A) remove the branding and B) get a more attractive android version? Heck, stock Android would be preferable! And I could live without the NFC.
Cheers in advance,
Stoobie_Land
Follow the instructions in the DEBRAND thread or just simply flash a stock rom from the stock rom thread to debrand .
jje
Hi every one
i've got a SE wt19i
currently i'm trying to install a new ROM into my phone, but all the ROM's i've tryied give me the error message (STATUS 7)
I always install the new kernel that comes with the rom file but now i'm stuck on this issue....
i can't even rollback the installation.....
here's an output:
Code:
Preparing filesystem...
about to run program [/tmp/backuptool.sh] with 2 args
grep: /system/build.prop: No such file or directory
Not backing up files from incompatible version.
run_program: child exited with status 127
Installing LwW files
script aborted: assert failed: getprop("ro.product.device") == "WT19i" || getprop("ro.build.product") == "WT19i" ||
getprop("ro.product.device") == "WT19a" || getprop("ro.build.product") == "WT19a" ||
getprop("ro.product.device") == "coconut" || getprop("ro.build.product") == "coconut"
assert failed: getprop("ro.product.device") == "WT19i" || getprop("ro.build.product") == "WT19i" ||
getprop("ro.product.device") == "WT19a" || getprop("ro.build.product") == "WT19a" ||
getprop("ro.product.device") == "coconut" || getprop("ro.build.product") == "coconut"
Installer Error (Status 7)
So for my point of view :
grep: /system/build.prop: No such file or directory ---------> IS THIS CORRECT?
Not backing up files from incompatible version.
run_program: child exited with status 127
Thanks all
i figured it out, problem solved.
Here's the solution:
- problem is on "/system/build.prop (file is missing, therefore CWM can't install custom ROMS because there's no device information)
- Install SE stock ROM (WT19i GB_4.0.2.A.0.58_1254-1868 (CUSTOMIZED UK WORLD I)) using flash tools
- install custom kernell & rom (FXP139 + CM9.1)
everything is working now
:good:
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
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!