Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,814,238 Members 50,222 Now Online
XDA Developers Android and Mobile Development Forum

[SOLVED!] Unable to flash MIUI - Status 7

Tip us?
 
Omga4000
Old
(Last edited by Omga4000; 30th June 2014 at 01:31 AM.)
#1  
Omga4000's Avatar
Member - OP
Thanks Meter 15
Posts: 80
Join Date: Sep 2011
Default [SOLVED!] Unable to flash MIUI - Status 7

PROBLEM FOUND AND FIXED! Answer in Post #3
http://forum.xda-developers.com/show...48&postcount=3

Hey guys

I've been trying to install MIUI for hours, using both CWM or TWRP, and I'm always receiving the same error message:
Quote:
Writing recovery
set-perm: some changes failed
E:Error in /sdcard/miui_i9500_4.6.20_27061504e7_4.2.zip
(Status 7)
Installation aborted
I've flashed CM without a problem, and an original stock ROM as well.
Why is MIUI giving me a hard time?

**I already followed this guide: http://en.miui.com/thread-13226-1-1.html**

Thank you!
 
11calcal
Old
#2  
11calcal's Avatar
Senior Member
Thanks Meter 185
Posts: 983
Join Date: Mar 2010
Location: Liverpool
Quote:
Originally Posted by Omga4000 View Post
Hey guys

I've been trying to install MIUI for hours, using both CWM or TWRP, and I'm always receiving the same error message:


I've flashed CM without a problem, and an original stock ROM as well.
Why is MIUI giving me a hard time?

**I already followed this guide: http://en.miui.com/thread-13226-1-1.html**

Thank you!
Use Philz recovery (just flash zip attch in rec) it's something to do with the older binary code-that's why it's status 7 ?
Attached Files
File Type: zip philz_touch_6.24.6-jflte.zip - [Click for QR Code] (8.81 MB, 46 views)
A thank you takes nothing at all yet can mean so much
 
Omga4000
Old
#3  
Omga4000's Avatar
Member - OP
Thanks Meter 15
Posts: 80
Join Date: Sep 2011
Well, after deciding to fix this problem once and for all, I added a "ui_print" after
every (well not every) line, to see exactly where is the installation failing.
The discovery? It fails at:
Quote:
set_perm(0, 0, 0555, "/data/local/tmp/relink");
The solution?
Change all "/data/local/tmp/relink" into "/tmp/relink" like so:
Quote:
package_extract_file("META-INF/com/miui/relink", "/tmp/relink");
set_perm(0, 0, 0555, "/tmp/relink");
run_program("/tmp/relink");
delete("/tmp/relink");
Problem solved - clean installation with no errors
 
Rikxzdjz
Old
#4  
Rikxzdjz's Avatar
Recognized Themer
Thanks Meter 239
Posts: 1,039
Join Date: Apr 2012
Location: Medan

 
DONATE TO ME
Hi Anyone having issue with offline charging in MIUI ROM ?

Sent from my GT-I9500 using XDA Premium 4 mobile app


Galaxy Ace 2 CM11
Galaxy S4 CM11
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes