[Q] New rom. Need some help. - Android

Hi all.
I have been building my first custom rom. It is for the acer a501 tablet. I have had varying issuies along the way but i am now stuck and i can not find a way to fix the issue.
With my latest attempt in the clockwork recovery it goes almost all the way through but then i get an error
assert failed: write_raw_image("/tmp/boot.img", "boot")
E:Error in /sdcard/test_5.zip
(Status 7)
Installation aborted
Anybody have anyideas on how i may tackle this issue?

I'd be interested to hear any solutions as I get this error trying to flash a home made rom for my Desire S .... compiled from AOSP source.
Cheers

jonkers71 said:
Hi all.
I have been building my first custom rom. It is for the acer a501 tablet. I have had varying issuies along the way but i am now stuck and i can not find a way to fix the issue.
With my latest attempt in the clockwork recovery it goes almost all the way through but then i get an error
assert failed: write_raw_image("/tmp/boot.img", "boot")
E:Error in /sdcard/test_5.zip
(Status 7)
Installation aborted
Anybody have anyideas on how i may tackle this issue?
Click to expand...
Click to collapse
Change the lines in the updater-script from:
Code:
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
To this:
Code:
package_extract_file("boot.img","/tmp/boot.img");
write_raw_image("/tmp/boot.img", "boot");
delete("/tmp/boot.img");

dastin1015 said:
Change the lines in the updater-script from:
Code:
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
To this:
Code:
package_extract_file("boot.img","/tmp/boot.img");
write_raw_image("/tmp/boot.img", "boot");
delete("/tmp/boot.img");
Click to expand...
Click to collapse
Still get same error even changing these lines.
Would it make a difference that I am cooking for a device that only supports updater scripts? I have updater-script.orig and update-script in META-INF/com/google/android/ and its updater-script.orig that I am changing.
Thanks for your help.
Peace

Ok, fixed this by changing the updater-script that is produced from dsixda's kitchen during the cooking process. When this prompt appears
PHP:
An updater-script has been created under META-INF/com/google/android of
your working folder. Please review it and make any necessary changes. An
update-binary has also been added.
DO NOT delete any of the files under META-INF/com/google/android.
Proceed with the change (y/n)?
change update-script as above in META_INF/../../ folder, save, then proceed.
However, still have original ROM left on my device... mount point issue?

Related

[Q] buildprop required for WT19i

hi everyone..
While installing custom rom on my WT19i today, I am getting following error message. I've installed custom roms hundreds of times but for the first time got this problem....
assert failed: getprop("ro.product.device") == "WT19i" ||
getprop("ro.build.product") == "WT19i"
E:Error in /sdcard/iuiandroid_WT19i-2.7.13.zip
(status 7)
In my view, build.prop is missing from my phone. Can anyone provide me with one or if there is another problem can provide a solution.
Thanks
c4capricorn said:
hi everyone..
While installing custom rom on my WT19i today, I am getting following error message. I've installed custom roms hundreds of times but for the first time got this problem....
assert failed: getprop("ro.product.device") == "WT19i" ||
getprop("ro.build.product") == "WT19i"
E:Error in /sdcard/iuiandroid_WT19i-2.7.13.zip
(status 7)
In my view, build.prop is missing from my phone. Can anyone provide me with one or if there is another problem can provide a solution.
Thanks
Click to expand...
Click to collapse
extract the rom archive
open the updater script in meta-inf folder
use notepad++
delete 1st 6 lines. save it.
then repack the rom and flash it
sandy7 said:
extract the rom archive
open the updater script in meta-inf folder
use notepad++
delete 1st 6 lines. save it.
then repack the rom and flash it
Click to expand...
Click to collapse
assert(getprop("ro.product.device") == "WT19i" ||
getprop("ro.build.product") == "WT19i");
show_progress(0.500000, 0);
ui_print("Formatting system...");
unmount("/system");
format("yaffs2", "MTD", "system", "0");
these are the 1st 6 lines...delete them??
Yep, delete them
Sent from my MANGO using Tapatalk2
c4capricorn said:
assert(getprop("ro.product.device") == "WT19i" ||
getprop("ro.build.product") == "WT19i");
show_progress(0.500000, 0);
ui_print("Formatting system...");
unmount("/system");
format("yaffs2", "MTD", "system", "0");
these are the 1st 6 lines...delete them??
Click to expand...
Click to collapse
yes delete them..repack the zip and flash them..
It's so funny to see smiles in the lines LOL
Sent from my SK17i using xda app-developers app
Thanks everyone for your help....but the problem is still unresolved...i deleted the lines and repacked the rom.. now when i m trying to install it, it just says intstallation aborted after 2-3 seconds..no error codes or anything...
c4capricorn said:
Thanks everyone for your help....but the problem is still unresolved...i deleted the lines and repacked the rom.. now when i m trying to install it, it just says intstallation aborted after 2-3 seconds..no error codes or anything...
Click to expand...
Click to collapse
Unpack the rom again, open the updater-script and delete only the first 3 lines:
assert(getprop("ro.product.device") == "WT19i" ||
getprop("ro.build.product") == "WT19i");
show_progress(0.500000, 0);
Click to expand...
Click to collapse
and it should work. Because otherwise the command to format system isn't in the script

How can i flash latest cyanogenmod nightly on my TF300TG!

When i flash it display report me this:
Code:
assert failed: getprop("ro.product.device") == "tf300t" || getprop("ro.build.device") == tf300t"
E: error in /sdcard/cm-10-20121012-NIGHTLY-tf300t.zip
(status 7)
Installation aborted
WTF????
runk said:
When i flash it display report me this:
Code:
assert failed: getprop("ro.product.device") == "tf300t" || getprop("ro.build.device") == tf300t"
E: error in /sdcard/cm-10-20121012-NIGHTLY-tf300t.zip
(status 7)
Installation aborted
WTF????
Click to expand...
Click to collapse
Edit build.prop to change the ro.product.device to tf300t or change the line you mention (value from "tf300t" to "tf300tg")
_TB_TB_ said:
Edit build.prop to change the ro.product.device to tf300t or change the line you mention (value from "tf300t" to "tf300tg")
Click to expand...
Click to collapse
Does anybody know why the assertion fails? I got the latest nightly to install by removing the assert line, but I shouldn't have had to do that. The value of both properties in build.prop IS "tf300t" (correct case and all). The assertion shouldn't fail.

[Q] Status 6 Error in CWM

Hi i need help , i tried make a zip for a bootanimation , the zip is signed , my text editor is the Notepad++ , but when i flashing , the following appears:
Code:
--Installing: /sdcard/AOS-281212-signed-lans_98.zip
Finding update package...
Opening update package
Installing update...
E: Error in /sdcard/AOS-281212-signed-lans_98.zip
(Status 6)
Installation aborted.
The code I use is as follows:
Code:
ui_print("Instalando el bootanimation...");
mount("MTD", "system", "/system");
ui_print("Actualizando bootanimation.zip...");
package_extract_dir("system", "/system");
ui_print("Finalizado...!");
unmount("/system");
I need help whit this

[Q]

Hi guys,
I'm trying to create a ROM and I have an error that says:
Code:
assert failed: write_raw_image("/tmp/boot.img", "boot")
I have been searching how to solve the program and some people says that I have to change the update-binary and that in the dsixda Kitchen there are some different types of update-binary. What type should i choose?
My ROM is based in Cyanogenmod 9.0 by arco for the Samsung Galaxy S Plus i9001

status 7 error

when installed cm 11 for my lg p765 it shows the following error
this package is for "p760" devices: this is a p940.
E:Error in /sdcard/cm-11-20131214-unofficial-p760.zip
(status 7)
the rom is downloaded from this thread
http://forum.xda-developers.com/showthread.php?t=2547442
please help im a newbie
akhilkumarco007 said:
when installed cm 11 for my lg p765 it shows the following error
this package is for "p760" devices: this is a p940.
E:Error in /sdcard/cm-11-20131214-unofficial-p760.zip
(status 7)
the rom is downloaded from this thread
http://forum.xda-developers.com/showthread.php?t=2547442
please help im a newbie
Click to expand...
Click to collapse
Hey, I have same error with you
Anyone can help me
Make SURE you downloaded the right ROM for P765. If you sure that is the right ROM, open the ROM zip with 7zip and go to META-INF/com/google/android/ and extract updater-script. Open it with Notepad++ (only Notepad++, not Notepad/Wordpad), and delete the first assert() command, like this:
BEFORE:
assert(getprop("ro.product.device") == "p769" || getprop("ro.build.product") == "p769" ||
getprop("ro.product.device") == "p760" || getprop("ro.build.product") == "p760" ||
getprop("ro.product.device") == "u2" || getprop("ro.build.product") == "u2" ||
getprop("ro.product.device") == "p940" || getprop("ro.build.product") == "p940");
mount("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.1/by-name/system", "/system");
......
Click to expand...
Click to collapse
AFTER:
mount("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.1/by-name/system", "/system");
....
Click to expand...
Click to collapse
Save the file, then drag and drop it to original path. Try to flash it again.
akhilkumarco007 said:
when installed cm 11 for my lg p765 it shows the following error
this package is for "p760" devices: this is a p940.
E:Error in /sdcard/cm-11-20131214-unofficial-p760.zip
(status 7)
the rom is downloaded from this thread
http://forum.xda-developers.com/showthread.php?t=2547442
please help im a newbie
Click to expand...
Click to collapse
Vuu Tee said:
Hey, I have same error with you
Anyone can help me
Click to expand...
Click to collapse
It's totally cause you've wrong recovery, update your recovery first, and make sure you have unlock your bootloader...
Its problem of recovery if try to install kitkat rom via cwm it gives status 7 error try artax recovery or twrp they dont give that error
Sent from my LG-P760 using XDA Free mobile app
Yup like the last two guys said you get status 7 when you try to install KitKat with an outdated recovery. Update your recovery and you can reflash the cm11.
Sent from my unlocked LG P769 running AtonX unofficial CM11
ISITBRICKED said:
Yup like the last two guys said you get status 7 when you try to install KitKat with an outdated recovery. Update your recovery and you can reflash the cm11.
Sent from my unlocked LG P769 running AtonX unofficial CM11
Click to expand...
Click to collapse
I have a LG P769 just as you, but I cannot seem to find a newer CWM recovery to install than the one I already have, namely L9RecoveryInstaller_1.5.0.apk which contains clockworkmod version 6.0.1.2. With this verson, I get the same (Status 7) error as everyone else.
So my question is, could you please point me to exactly the (CWM?) recovery mode you are using, and instructions for how to install it given that I am already using an older version of CWM?
PS: The specific error messages during install
"This package is for device p760,p765,p768,p769.u2: this device is p940
.......
(Status 7)
Installation aborted.
PS2: The firmware I am trying to install is cm-11-20141012-UNOFFICIAL-p769.zip from the repository called "LG Optimus L9 by Dhiru1602", located at
https://www.androidfilehost.com/?w=files&flid=18559

Categories

Resources