FORUMS

OnePlus Addresses Reservation List Cheating

Jake Cooper figured out how to bump his place up on OnePlus’ reservation list and … more

OnePlus 2 Benchmark Scores Show Its Muscle

This video by FoneArena contains all the popular benchmarks being tested on the OnePlus 2, … more

Sony’s Emergence in The Middle: Is The Price Right?

Sony’s Electronics Division is not in its best days, and its smartphone … more

HTC Delivering Ads Straight to Sense Home

HTC’s 2015 has been a year marked by a desperate search for revenue.The HTC One M9 … more

[FIX] Fix Status 7 error on assert raw write

2,157 posts
Thanks Meter: 480
 
By geoffcorey, Senior Member on 20th March 2012, 07:03 PM
Post Reply Subscribe to Thread Email Thread
I see a few people asking the question about status 7 error when trying toflash a custom kernel on their sensation.

Here is a quick breakdown of a boot.img

boot.img = zimage (the kernel) + ramdisk.

ona stock sensation or a boot.img taken from an ruu, the ramdisk has a protection flag set (ro.secure=1 in default.prop needs to be changed to ro.secure=0).

The kernel devs here, package their kernel updates in a way that copies the current ramdisk, and then comines them with their compiled zimage to make a boot.img which is then flashed. This method is actually the preferred way, and causes the least amount of issues/errors.

But this method fails with a protected ramdisk, which results in the status 7 error about write_raw failed. So to get around this, you must first flash an insecure boot.img.

Most (if not all) custom roms provide you with an insecure boot.img to begin with.

but to shroten the process, i'm going to link an insecure boot.img for those who don't want to change/install a custom rom.

MD5: 36d3e33740dc5799a5b53ee42d579e81
Attached Files
File Type: zip insercure-kernel.zip - [Click for QR Code] (3.87 MB, 2850 views)
The Following 21 Users Say Thank You to geoffcorey For This Useful Post: [ View ]
 
 
20th March 2012, 07:11 PM |#2  
EddyOS's Avatar
Recognized Contributor
Flag Liverpool, Merseyside
Thanks Meter: 3,725
 
More
I'm sure this will come in handy for a lot of people. Good job!
20th March 2012, 07:13 PM |#3  
Bluewall's Avatar
Senior Member
Flag Sion
Thanks Meter: 870
 
More
Excellent man, don't need but thanks for thinking for people with issue

Really well appreciated in a community
18th July 2012, 06:45 AM |#4  
Senior Member
Flag New York
Thanks Meter: 26
 
Donate to Me
More
Thumbs up Thanks
Quote:
Originally Posted by geoffcorey

I see a few people asking the question about status 7 error when trying toflash a custom kernel on their sensation.

Here is a quick breakdown of a boot.img

boot.img = zimage (the kernel) + ramdisk.

ona stock sensation or a boot.img taken from an ruu, the ramdisk has a protection flag set (ro.secure=1 in default.prop needs to be changed to ro.secure=0).

The kernel devs here, package their kernel updates in a way that copies the current ramdisk, and then comines them with their compiled zimage to make a boot.img which is then flashed. This method is actually the preferred way, and causes the least amount of issues/errors.

But this method fails with a protected ramdisk, which results in the status 7 error about write_raw failed. So to get around this, you must first flash an insecure boot.img.

Most (if not all) custom roms provide you with an insecure boot.img to begin with.

but to shroten the process, i'm going to link an insecure boot.img for those who don't want to change/install a custom rom.

MD5: 36d3e33740dc5799a5b53ee42d579e81

Thank you very very very much, finally i able to flash my favorite kernel!..
18th July 2012, 11:17 AM |#5  
T-Macgnolia's Avatar
Senior Member
Flag Shannon, Ms.
Thanks Meter: 1,916
 
Donate to Me
More
This is a quick and easy way to fix the problem. But for those that don't mind getting their hands dirty can change the ro.secure=1 to ro.secure=0 manually using Dixda's Kitchen from here on XDA. Just thought I would through that out there.
The Following User Says Thank You to T-Macgnolia For This Useful Post: [ View ]
16th September 2012, 09:47 PM |#6  
Junior Member
Flag Bucharest
Thanks Meter: 0
 
More
Doesn't work on SGS plus. Status 7 remain and bootloop in recovery mode.
16th September 2012, 10:58 PM |#7  
rzr86's Avatar
Senior Member
Flag Nafpaktos
Thanks Meter: 2,351
 
More
Quote:
Originally Posted by sabian01

Doesn't work on SGS plus. Status 7 remain and bootloop in recovery mode.

i'm not sure for my answer but i think it fails because of different software or some kind of kernel code
different devices
or i'm telling bull****s
17th September 2012, 03:05 AM |#8  
geoffcorey's Avatar
OP Senior Member
Thanks Meter: 480
 
More
Quote:
Originally Posted by sabian01

Doesn't work on SGS plus. Status 7 remain and bootloop in recovery mode.

What's an "SGS plus"? This is only for HTC sensation.

Sent from my Galaxy Nexus using Tapatalk 2
10th October 2012, 09:31 AM |#9  
Keupie's Avatar
Senior Member
Flag Apeldoorn
Thanks Meter: 38
 
More
Very usefull!! Thanks a lot!!

Sent from my HTC Sensation XE with Beats Audio using xda app-developers app
10th October 2012, 11:11 AM |#10  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by geoffcorey

I see a few people asking the question about status 7 error when trying toflash a custom kernel on their sensation.

Here is a quick breakdown of a boot.img

boot.img = zimage (the kernel) + ramdisk.

ona stock sensation or a boot.img taken from an ruu, the ramdisk has a protection flag set (ro.secure=1 in default.prop needs to be changed to ro.secure=0).

The kernel devs here, package their kernel updates in a way that copies the current ramdisk, and then comines them with their compiled zimage to make a boot.img which is then flashed. This method is actually the preferred way, and causes the least amount of issues/errors.

But this method fails with a protected ramdisk, which results in the status 7 error about write_raw failed. So to get around this, you must first flash an insecure boot.img.

Most (if not all) custom roms provide you with an insecure boot.img to begin with.

but to shroten the process, i'm going to link an insecure boot.img for those who don't want to change/install a custom rom.

MD5: 36d3e33740dc5799a5b53ee42d579e81

no any chenge (status 7)
10th October 2012, 05:04 PM |#11  
geoffcorey's Avatar
OP Senior Member
Thanks Meter: 480
 
More
Quote:
Originally Posted by mohammadx

no any chenge (status 7)

What phone?

Sent from my Galaxy Nexus using Tapatalk 2

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

Advanced Search
Display Modes