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
Related
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?
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
Hi everyone,
I am trying to build a ROM but constantly run into issues with the updater script. I have tried 12 builds so far, with the script changed slightly every time, all varying in status errors, from 0 to 7. I was wondering if anyone could find what the issue is. There is an empty line after the last line, and all of my lines have semicolons at the end.
At the moment, I get:
Code:
Installing '/sdcard/Flashables/zenROMplus_v1.01_RC12.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found.
line 26 col 12: syntax error, unexpected STRING, expecting $end
line 36 col 17: syntax error, unexpected STRING, expecting $end
line 39 col 20: syntax error, unexpected STRING, expecting $end
3 parse errors
E:Error in /sdcard/Flashables/zenROMplus_v1.01_RC12.zip
(Status 6)
Error flashing zip '/sdcard/Flashables/zenROMplus_v1.01_RC12.zip'
my updater script is here:
http://pastebin.com/uFeLyKZN
line 26, col 12 is right after the m in run_program.
line 36, col 17 is right after the last e in delete_recursive
line 39, col 20 is just after the last r in package_extract_dir.
I cannot see any problems, and was wondering if the issue is with TWRP 2.4.3.0. However, no one else has any problems! Is it just me who is terrible with these? Does anyone know what the problem in my script is?
You forgot add ";" to end line of mount("ext4", "EMMC", "/dev/block/mmcblk0p33", "/system") and mount("ext4", "EMMC", "/dev/block/mmcblk0p35", "/data") and mount("ext4", "EMMC", "/dev/block/mmcblk0p33", "/system")
And also you should change run_program("/xbin/busybox", "mount", "/cache"); to run_program("/sbin/busybox", "mount", "/cache");
forumber2 said:
You forgot add ";" to end line of mount("ext4", "EMMC", "/dev/block/mmcblk0p33", "/system") and mount("ext4", "EMMC", "/dev/block/mmcblk0p35", "/data") and mount("ext4", "EMMC", "/dev/block/mmcblk0p33", "/system")
And also you should change run_program("/xbin/busybox", "mount", "/cache"); to run_program("/sbin/busybox", "mount", "/cache");
Click to expand...
Click to collapse
Your first two were right, thanks
The last one though, busybox is in /system/xbin/, so if I change it to sbin it probably won't work.
Ah. Line 38 also didn't have a semicolon at the end of the line. Thanks, I was pretty sure I had checked it though!
Edit: Now I'm getting
Code:
Created filesystem with 11/106496 inodes and 13971/425983 blocks
error: file_write: write: I/O error
E:Error in /sdcard/Flashables/zenROMplus_v1.01_RC14.zip
(Status 1)
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
I have a galaxy y 6102 and put the update.zip on the root of my sdcard, then into system recovery and applied the update and it then stats but then says: ice" == "GT-B7510" ||getprop ("ro.product.product") == "GT-B7510" :Error in /tmp/sideload/package.zip (status 7)
Ok so what you gotta do is:
Watch this first:
Then install the zip to /post/in/the/right/section/next/time reboot and done. enjoy