Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] assert failed: write_raw_image("tmp/boot.img","boot")

OP chchia

16th June 2011, 11:25 AM   |  #21  
Senior Member
Thanks Meter: 26
 
224 posts
Join Date:Joined: Mar 2009
More
Quote:
Originally Posted by dsixda

Status 7 usually means you are using the wrong update-binary.

Thank you so much!!! After a lot... A LOT of failed attempts at cooking a GB rom for my G2 I finally have success!!
I created a edify_def for the g2 and I believe that solved the problem I had. I finally see what you mean yes the update-binary was wrong. I get it now!!
Thank you again!

Sent from my T-Mobile G2 using XDA App
2nd March 2012, 09:07 AM   |  #22  
Account currently disabled
Flag 3PIC world
Thanks Meter: 24
 
12 posts
Join Date:Joined: Feb 2012
More
hey bro i have the same problem of assert failed....can u tell me wat exactly did u do to solve ur problem....ty in advance...
4th March 2012, 09:33 AM   |  #23  
CallMeVentus's Avatar
Recognized Contributor
Flag Singapore
Thanks Meter: 2,870
 
9,971 posts
Join Date:Joined: Jul 2011
Donate to Me
More
Quote:
Originally Posted by 3PIC

hey bro i have the same problem of assert failed....can u tell me wat exactly did u do to solve ur problem....ty in advance...

You can change your update-binary with Android Kitchen by dsixda

Herpderp Defy.
16th January 2013, 12:59 AM   |  #24  
Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Oct 2012
Hi all

I'm having the same problem. I used the kitchen to modify a stock rom for the I747 and when flashing the ROM, i get the following:

assert failed: write_raw_image ("/tmp/boot.img", "/dev/block/mmcblkop7")

error in /sdcard/d2att_signed_1012.zip
(Status 7)

Any suggestions? I am new to this, so any help would be great.

Thanks
10th May 2013, 09:46 AM   |  #25  
Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Sep 2012
Unhappy
Quote:
Originally Posted by gu96932

Hi all

I'm having the same problem. I used the kitchen to modify a stock rom for the I747 and when flashing the ROM, i get the following:

assert failed: write_raw_image ("/tmp/boot.img", "/dev/block/mmcblkop7")

error in /sdcard/d2att_signed_1012.zip
(Status 7)

Any suggestions? I am new to this, so any help would be great.

Thanks

me too, but I think this should be caused by a wrong boot.img.
17th May 2013, 11:24 AM   |  #26  
Junior Member
Flag Ahmedabad
Thanks Meter: 6
 
8 posts
Join Date:Joined: Oct 2012
More
Wink Okay The Solution is Here
So I have found The Solution!!!!!!!!!!!!!!!!!!!!!!!!!!!!



Open the zip with winrar and find: /META-INF/com/google/android/updater-script

Open it and edit this via Notepad++ only :

assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));


To this:

assert(package_extract_file("boot.img", "/tmp/boot.img"),
ui_print("Flashing Boot.img...");
package_extract_file("boot.img", "/dev/block/mmcblk0p5");
ui_print("Kernel imaged flashed...");
ui_print(" ");
delete("/tmp/boot.img"));

And Remember if you are getting the error assert failed less_than_int(xxxxxxx, getprop("ro.build.date.utc"))); then again open in notepad++ and delete these lines. It should work just fine then!!! Hit Thanx if you like my 2 cent advise
The Following 5 Users Say Thank You to AamirShamma For This Useful Post: [ View ]
21st October 2013, 02:20 PM   |  #27  
Member
Thanks Meter: 6
 
40 posts
Join Date:Joined: Sep 2013
Quote:
Originally Posted by AamirShamma

So I have found The Solution!!!!!!!!!!!!!!!!!!!!!!!!!!!!



Open the zip with winrar and find: /META-INF/com/google/android/updater-script

Open it and edit this via Notepad++ only :

assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));


To this:

assert(package_extract_file("boot.img", "/tmp/boot.img"),
ui_print("Flashing Boot.img...");
package_extract_file("boot.img", "/dev/block/mmcblk0p5");
ui_print("Kernel imaged flashed...");
ui_print(" ");
delete("/tmp/boot.img"));

And Remember if you are getting the error assert failed less_than_int(xxxxxxx, getprop("ro.build.date.utc"))); then again open in notepad++ and delete these lines. It should work just fine then!!! Hit Thanx if you like my 2 cent advise

You Sir are a Legend!

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes