• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Help with Status 7 in CWM Recovery

StaticMaal

Android Enthusiast
So I'm trying to port a rom and I got everything right until I try to flash it I get assert failed:write_raw_image("/tmp/boot.img","boot.img"). Can someone help me with this. I googled it and got Status 7 usually means you are using the wrong update-binary. I don't know what to do.

 
So I'm trying to port a rom and I got everything right until I try to flash it I get assert failed:write_raw_image("/tmp/boot.img","boot.img"). Can someone help me with this. I googled it and got Status 7 usually means you are using the wrong update-binary. I don't know what to do.


your updater-script is tring to put the boot.img where it doesnt belong...

replace that line in the updater-script with this one

Code:
ui_print("Flashing Boot.img...");
package_extract_file("boot.img", "/dev/block/mmcblk0p5");
ui_print("Kernel imaged flashed...");
ui_print(" ");

EDIT: if you need any help uload your updater script and i will look at it for you
 
When you get stuck the the boot logo what does that mean? Like what do I need to edit/change to make it boot up all the way?
 
When you get stuck the the boot logo what does that mean? Like what do I need to edit/change to make it boot up all the way?

it could be the kernel, stuff not in the right place in the framework-res.apk, or (if you edited .jar files) a messed up jar file
 
it could be the kernel, stuff not in the right place in the framework-res.apk, or (if you edited .jar files) a messed up jar file

As Ziggy says, it could be a lot of things that could be causing your port to not boot. And unfortunately, if it doesn't boot up far enough to allow you to do an adb logcat, I don't know of any other way to find out what the issue would be. Perhaps someone else knows.

Basically, if it's an existing rom for the Triumph and you made changes to it, I would back out the changes one by one and see where it starts working again.
 
Back
Top Bottom