Platinum Member

Happie To Help !

Rank: 4

Redmi Note 3
MIUI Version
Online time
186 Hours
Send PM

Mi BandMIUI 6I Love MIUIAwesome!MIUI 2016Mi 4iMIUI 4th AnniversaryMIUI V5 Review2014 ChristmasMIUI 5th AnniversaryMIUI Fan From PhilippinesXiaomi 5th AnniversaryAlpaca Mi Bunny I Love Mi BunnySummer Mi BunnyMIUI Device TeamMIUI FollowerMIUI Android 4.4 KitKatOTA FeedbackMIUI Medals CollectorMost Active MIUIerUpdates LoverDie-hard MIUI FanAndroid GuruHumor MasterPioneer of MIUI English Forum

[Tips & Tutorials] How To Fix Status 6 Error While Flashing Roms

[ Promote]
13913 1 |
03:36, Sep-28-2014 | From PC
Go to reply no.
This post was edited by Rockstar_Spider at 19:37, Sep-27-2014

I assume at least half of Android users get Error status 6 while flashing ROMs. This can be explained in 2 reasons.

Number 1 :The developer of the ROM was too stupid to fix this mistake
Number 2 : You are tying to port a ROM and those errors come to you

So lets start fixing.

1.Extract the ROM. Open META-INF com google android and open with Notepad++updater-scipt.
2.Find the line called mount("ext4", "EMMC", "/dev/block/some kind of Letters and Numbers ", "/system");
This command is telling the device to mount the system from a path. Each device has a different path.
The path is those some kind of letters and numbers up bellow.
Those numbers and letters are different for every device.
So maybe the letters are not correct and it can't find the path to mount the data.
3.What we need to do is change the path. For the path that is for your device.
Easiest way to do this is to find a ROM meant and tested for your device, open updater-script, got to the same line and replace the path.
Example change mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/system"); to mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");

4.You may also find these two lines
format("ext4", "EMMC", "/dev/block/some kind of letters and numbers", "0", "/system");
mount("ext4", "EMMC", "/dev/block/some kind of letters and numbers", "/system");
The first line is telling the device to format the data.
The second line is telling the device to mount the data
The error is similar to the error up.
You need to change the path for the data
But the path for the data is different for the path for the system
So go to the same path on the ROM for your device and change the code
But remember the codes for the data and for the system are not the same.
Example Change format("ext4", "EMMC", "/dev/block/mmcblk0p29", "0", "/system"); and
mount("ext4", "EMMC", "/dev/block/mmcblk0p29", "/system"); to format("ext4", "EMMC", "/dev/block/mmcblk0p20", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p20", "/system");
And the errors should be fixed.

Favorite1 Share

Rated by 3 people   Experience Reason  

AilsaZ + 5 Thanks!
zardMi3 + 10 Awesome!
meredithhan + 10 Great!

Experience +25  View Rating Log

The Heart Breaker

MIUI Bug Hunter Team

Redmi Note 3
MIUI Version
Online time
760 Hours
Send PM

Mi WiFi RouterMIUI 7MIUI 2016I Love MIUIFantastic!FlashholicMIUI 8MIUI 2015Redmi 2Redmi 3Happy New YearThanksgiving DayMIUI Fan From PhilippinesMIUI Happy MedalMerry ChristmasMIUI Lucky FridayDiwali 1 Million Forum MembersHappy Diwali3500K Forum MembersMIUI Forum AppMIUI Fan from IndiaMIUI 7th AnniversaryMIUI 2017900K Forum MembersSummer Mi BunnyAlpaca Mi Bunny I Love Mi BunnyMIUI Beta TeamYouth PledgeMIUI FB FollowerMr. DependableMost Active MIUIerForum Contest LoverMi Lover MedalDie-hard MIUI FanMi Bunny Game Master Star Of TechnologyOTA FeedbackRingtone Star Technology GuruDebate Master2017 Annual AwardsInbox ZeroRingtone TalentUpdates LoverMIUI FollowerHumor MasterPioneer of MIUI English Forum Android Guru

21:47, Nov-18-2015 | Via mobile
Thank you

Credits Management

Quick Reply Top Return to the list