[OLD] Rickys Rom Kitchen - New kitchen for all android versions available

Search This thread

robindebruin

Senior Member
Nov 20, 2013
476
77
dordrecht
Is that the script or the recovery log. Log should show the error and what caused it. Flash again and right after it fails go to recovery log in recovery. Should put a log on sd card. Can Google "Clockwork Mod error 0" to find what the error means. It is bad script or binary. Log should tell you. At least it does in TWRP. Haven't used CWM in years. :cool:

ok now error
7

cant take log so here is picture of it
 

Attachments

  • Snapshot_20140524_2.JPG
    Snapshot_20140524_2.JPG
    80.5 KB · Views: 142

iamsuperuser

Senior Member
Aug 15, 2011
680
161
34
Hyderabad
Try changing this
Code:
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p5"),
delete("/tmp/boot.img"));

To this
Code:
package_extract_file("boot.img", "/dev/block/mmcblk0p5");

OR

Try changing the update-binary from a zip that already works

AND

Where are all the symlinks ? ?
 
  • Like
Reactions: robindebruin

prdog1

Senior Member
Mar 10, 2012
9,098
5,460
Houston, Texas
Try changing this
Code:
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p5"),
delete("/tmp/boot.img"));

To this
Code:
package_extract_file("boot.img", "/dev/block/mmcblk0p5");

OR

Try changing the update-binary from a zip that already works

AND

Where are all the symlinks ? ?

HaHaa. I was wondering same thing about symlinks. :cool:
 

prdog1

Senior Member
Mar 10, 2012
9,098
5,460
Houston, Texas
There are many reasons for error status 7! Pretty sure its incorrect syntax..
Usually means incorrect assert check for device. Binary doesn't match updater script. Could be caused by wrong info in CheckDevice.bat ( ie:ro.product.model) for that device. Or is adding own scripts to rom after the fact. Syntax errors usually status 6 or actually say syntax. Also caused by outdated version of recovery. Since 4.3 the recoveries have been touchy due to SeLinux compatibility.. :cool:
 
Last edited:

Ricky Divjakovski

Recognized Developer / Recognized Contributor
Feb 4, 2013
5,215
7,600
25
Sydney
Code:
format("ext4", "EMMC", "/dev/block/mmcblk0p9", "0");

So I guess it should be

Code:
delete_recursive("/storage/sdcard/emulated/0");

Wow! So many posts for one problem?

You added that yourself? Remove the automount system line, if /system is mounted you cannot format it, thats why system is mounted and recursively deletes all file.. this avoids formatting the wrong format, wrong block etc!
 

Ricky Divjakovski

Recognized Developer / Recognized Contributor
Feb 4, 2013
5,215
7,600
25
Sydney
Usually means incorrect assert check for device. Binary doesn't match updater script. Could be caused by wrong info in CheckDevice.bat ( ie:ro.product.model) for that device. Or is adding own scripts to rom after the fact. Syntax errors usually status 6 or actually say syntax. Also caused by outdated version of recovery. Since 4.3 the recoveries have been touchy due to SeLinux compatibility.. :cool:

Nice! Ill be adding an assert to get the ro.product.model number in the next release.
also ill add the option to use old binary :cool:
 
  • Like
Reactions: prdog1

Top Liked Posts

Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone