Platinum Member

Rank: 4

Credits
2387
Device
Mi 5
Online time
41 Hours
Send PM

Mi HomeMi HeadphonesMi Band 2Xiaomi 6 LaunchMagic CubeXiaomi 7th AnniversaryMIUI Devices ContestMi 5Surge S1Super WednesdaySuper FridayWomen's Day MedalMIUI Happy Medal10 Million Forum PostsSuper ThursdayPuzzle MasterMIUI 7th Anniversary3 Million Forum Members5 Million Forum App Installs90000 Forum MembersMIUI 2017Super TuesdayMIUI Lucky FridaySuper SundaySuper SaturdayMIUI Forum AppSuper MondayHappy Valentine's DayRocket to FutureYouth PledgeMi Lover MedalStar Of TechnologyDie-hard MIUI FanMIUI SuperstarMIUI ExpertForum Contest LoverAndroid GuruMIUI Ice Bucket ChallengeAndroid ElfMIUI FollowerDebate Master

[Tools, Tips & Tutorials] [APPROVED] Xiaomi Mi 5X (Oxygen) 900E mode semi-unbrick guide

[ Promote]
81345 335 |
02:34, Sep-15-2017 | From PC
|
|
Go to reply no.
This post was edited by PerezChilli at 05:52, Nov-20-2017

All we know that lots Xiaomi Mi 5X, which was bought from AliExpress, become bricks when user tries to flash it with official firmware. You can read about the device types at this thread. I really recommend you to read this thread at first.
User orion65 from 4PDA had succesfully semi-unbricked his device. Why only semi-unbricked? I'll explain later. Also big thanks to Саша Серый for solution development and Lefey, DartAlexCor for experiments and hard testing.

How to semi-unbrick your device, if you flashed device with Oxygen bootloader and bricked?

WARNING: this guide can be applied only for devices with Oxygen bootloader! If you try this with your Tiffany bootloader device, you'll get Oxygen bootloader without possibility to flash stock ROM/bootloader! Please be careful with device bootloader types! Use this guide only when your device was hardbricked to 900E and flashing stock ROM via test point doesn't help!

Unbrick guide

1. At first, you have to disassemble your device and find a test point.

Снимок экрана (12).png

This video guide will help you to disassemble your phone and get access to the test point.


Disconnect the battery, connect this test points and connect your phone to the PC. Your phone have to appear in device manager as Qualcomm 9008 HS-USB or similar. If not, please install Qualcomm drivers first.
2. After that download this ZIP and unpack it.
3. Go to "unbrick" folder, open params file in editor and put in it COM number of your device in device manager.

Снимок экрана (16).png

4. Install latest EN-CN firmware for Fastboot using Mi Flash with checkbox "Clean all".

Снимок экрана (17).png

5. Run "writeselparts" application in "unbrick" folder and wait... This'll flash emmc_appsboot.mbn from Mi Max 2. When succeed, you'll get this message:

080049aahq9gkn29wwy446.png

6. Disconnect USB and connect the battery and run the phone. Your phone will turn on, but you won't see anything on the screen. That's normal phenomenon, this is happening for the same reason why there is no bunny in Fastboot mode. Just relax and wait 5-10 minutes, wait until your phone installs firmware.
7. If you lost your IMEI numbers: Dial *#*#717717#*#*, download and open QPST and restore your IMEI numbers with this QCN file. You can learn about it here, but your phone will be in diagnostics mode after dialing, so you needn't use adb and get root. You can disable diagnostics mode after using QPST by dialing this number again.
8. After this steps you'll get China genuine firmware.

Additional steps to get localized firmware

9a. After you can unlock your phone using this guide. Don't worry: you'll successfully unlock your Mi 5X because MiFlash Unlock will recognise your phone as Mi Max 2.
10a. Install this bootloader write-protected TWRP Recovery with this guide.
11a. Flash firmware package via TWRP with wipes of ART, Dalvik, Cache and e.t.c.

If you don't want to set up TWRP

10b. Download every localized firmware you want, then open your ZIP package and replace /firmware-update/emmc_appsboot.mbn file with that one, which you have already downloaded before (/unbrick/emmc_appsboot.mbn). Please don't forget to do this procedure for your future updates.

2017-09-23.png

11b.
Flash modified firmware package through MiFlash in Fastboot mode.

Restrictions

1. You are not allowed to flash your phone after unbricking by this method with official ROM! You'll get 900E mode again.
2. This method is only for devices with Oxygen bootloader. Check it out. If you have Tiffany device, flash and unlock it as usual.

Why your (Oxygen bootloader) devices have this restrictions?

That's happening because this devices have unlocked bootloader from Mi Max 2 (emmc_appsboot.mbn), which was installed by Chinese resellers. When the phone starts with aboot from Mi Max 2, it overrides several blocks of memory in SoC QFPROM and after that aboot from Mi 5X can't be started by SBL (Seconadary Bootloader) caused updated blocks: SBL don't pass aboot with lower version (Mi 5X and others: 0, Mi Max 2: 1), so device falls in 900E diagnostics mode. This is a form of downgrade protection for aboot. Today the ball is on Xiaomi side: they should provide a solution to install updated aboot.

Questions and answers

Q: Can I update my device after unbrick via Updater app, Mi Flash or something else?
A: No, you'll get a brick and stuck in 900E again.

Q: And how I can update my device to never ROM?
A: You should install this modded TWRP with bootloader write-protection and install updates from it. Or replace emmc_appsboot.mbn in update package with Oxygen's one.

Q: After repairing my device using this guide ambient light and G-sensor stopped working. How to fix them?
A: You should install clean persist.img. Unpack and download this package and flash it via MiFlash (in 9008 mode) or TWRP, if you have it installed.

Q:I have done all steps and got cyclic reboot. How to fix it?
A:Try to wipe data. You can do it in Fastboot mode by command
  1. fastboot -w
Copy the Code
If unsucced, try to flash firmware in step 4 with "flash_factory.bat" file selected in drop-down menu, but you'll have to recover IMEI after with QCN file.

At last...

l really recommend everyone to return your bricked phones back to your shops/sellers and ask for a refund. There are no fully working solution, you phone can't be updated with official firmware. Your bootloader was erased and replaced with one from Mi Max 2. That's truly disappointing.

There are no ways to restore factory condition of the phone, but maybe it will be invented in future. But it can took long time, be patient or return your phone.

All what are you doing actually you are doing for your own risk! Get luck.
Favorite44 Share

Rated by 10 people   Experience Reason  

TNWAI + 2 Great!
___Leosu___ + 1 Awesome!
thuannguyen221 + 1 Awesome!
spirosmeg + 3 Great!
whatmynameare + 1 Great!
__JhonAndrew + 1 Great!
ChristophAT + 1 Great!
xaking + 1 Fantastic!
nguyenthaiau + 1 Awesome!
Empty.cad + 1 Thanks!

Experience +13  View Rating Log

Nizhny Novgorod 152 Russia

Platinum Member

Rank: 4

Credits
2387
Device
Mi 5
Online time
41 Hours
Send PM

Mi HomeMi HeadphonesMi Band 2Xiaomi 6 LaunchMagic CubeXiaomi 7th AnniversaryMIUI Devices ContestMi 5Surge S1Super WednesdaySuper FridayWomen's Day MedalMIUI Happy Medal10 Million Forum PostsSuper ThursdayPuzzle MasterMIUI 7th Anniversary3 Million Forum Members5 Million Forum App Installs90000 Forum MembersMIUI 2017Super TuesdayMIUI Lucky FridaySuper SundaySuper SaturdayMIUI Forum AppSuper MondayHappy Valentine's DayRocket to FutureYouth PledgeMi Lover MedalStar Of TechnologyDie-hard MIUI FanMIUI SuperstarMIUI ExpertForum Contest LoverAndroid GuruMIUI Ice Bucket ChallengeAndroid ElfMIUI FollowerDebate Master

 Author| 23:30, Nov-21-2017 | From Mi 5
|
thuannguyen221 replied at 2017-11-21 15:52
HI PerezChilli, I brought my mi 5x to the store and they siad that they don't know exactly my error. ...

It's ok.
1. You have oxygen phone.
2. It's really unlocked.
3. Install modded TWRP with bootloader write-protection and in this TWRP install EU ROM
4. Done

Rated by 1 person   Experience Reason  

thuannguyen221 + 1 Fantastic!

Experience +1  View Rating Log

Nizhny Novgorod 152 Russia

Platinum Member

Rank: 4

Credits
2387
Device
Mi 5
Online time
41 Hours
Send PM

Mi HomeMi HeadphonesMi Band 2Xiaomi 6 LaunchMagic CubeXiaomi 7th AnniversaryMIUI Devices ContestMi 5Surge S1Super WednesdaySuper FridayWomen's Day MedalMIUI Happy Medal10 Million Forum PostsSuper ThursdayPuzzle MasterMIUI 7th Anniversary3 Million Forum Members5 Million Forum App Installs90000 Forum MembersMIUI 2017Super TuesdayMIUI Lucky FridaySuper SundaySuper SaturdayMIUI Forum AppSuper MondayHappy Valentine's DayRocket to FutureYouth PledgeMi Lover MedalStar Of TechnologyDie-hard MIUI FanMIUI SuperstarMIUI ExpertForum Contest LoverAndroid GuruMIUI Ice Bucket ChallengeAndroid ElfMIUI FollowerDebate Master

 Author| 10:34, Nov-20-2017 | From Mi 5
|
thuannguyen221 replied at 2017-11-20 05:06
No, I haven't repaired it yet.
I thinks it is the problem with my sensor. And i try to flash the p ...

Try with this: https://yadi.sk/d/RS0m8szE3PqomC

But your problem isn't with this I think.
Nizhny Novgorod 152 Russia

Platinum Member

Rank: 4

Credits
2387
Device
Mi 5
Online time
41 Hours
Send PM

Mi HomeMi HeadphonesMi Band 2Xiaomi 6 LaunchMagic CubeXiaomi 7th AnniversaryMIUI Devices ContestMi 5Surge S1Super WednesdaySuper FridayWomen's Day MedalMIUI Happy Medal10 Million Forum PostsSuper ThursdayPuzzle MasterMIUI 7th Anniversary3 Million Forum Members5 Million Forum App Installs90000 Forum MembersMIUI 2017Super TuesdayMIUI Lucky FridaySuper SundaySuper SaturdayMIUI Forum AppSuper MondayHappy Valentine's DayRocket to FutureYouth PledgeMi Lover MedalStar Of TechnologyDie-hard MIUI FanMIUI SuperstarMIUI ExpertForum Contest LoverAndroid GuruMIUI Ice Bucket ChallengeAndroid ElfMIUI FollowerDebate Master

 Author| 08:47, Nov-20-2017 | From Mi 5
|
thuannguyen221 replied at 2017-11-19 22:07
Q: After repairing my device using this guide ambient light and G-sensor stopped working. How to f ...

Have you repaired your phone?
Just run Mi Flash, unpack downloaded ZIP and select folder with files in MiFlash, that's all
Nizhny Novgorod 152 Russia

Diamond Member

Rank: 5Rank: 5

Credits
999
Device
0
Online time
10 Hours
Send PM

MIUI Devices ContestMi 5XMIUI Lucky FridayMIUI 9Mi 5X

11:12, Sep-30-2017 | Via mobile
|
Confirmed. I replaced the emmc_appsboot.mbn and it flashed successfully.

Platinum Member

Rank: 4

Credits
2387
Device
Mi 5
Online time
41 Hours
Send PM

Mi HomeMi HeadphonesMi Band 2Xiaomi 6 LaunchMagic CubeXiaomi 7th AnniversaryMIUI Devices ContestMi 5Surge S1Super WednesdaySuper FridayWomen's Day MedalMIUI Happy Medal10 Million Forum PostsSuper ThursdayPuzzle MasterMIUI 7th Anniversary3 Million Forum Members5 Million Forum App Installs90000 Forum MembersMIUI 2017Super TuesdayMIUI Lucky FridaySuper SundaySuper SaturdayMIUI Forum AppSuper MondayHappy Valentine's DayRocket to FutureYouth PledgeMi Lover MedalStar Of TechnologyDie-hard MIUI FanMIUI SuperstarMIUI ExpertForum Contest LoverAndroid GuruMIUI Ice Bucket ChallengeAndroid ElfMIUI FollowerDebate Master

 Author| 05:07, Sep-16-2017 | From Mi 5
|
Nobody wants to try? Several phones were recovered with this guide. I translated it to English
Nizhny Novgorod 152 Russia

Platinum Member

Rank: 4

Credits
2387
Device
Mi 5
Online time
41 Hours
Send PM

Mi HomeMi HeadphonesMi Band 2Xiaomi 6 LaunchMagic CubeXiaomi 7th AnniversaryMIUI Devices ContestMi 5Surge S1Super WednesdaySuper FridayWomen's Day MedalMIUI Happy Medal10 Million Forum PostsSuper ThursdayPuzzle MasterMIUI 7th Anniversary3 Million Forum Members5 Million Forum App Installs90000 Forum MembersMIUI 2017Super TuesdayMIUI Lucky FridaySuper SundaySuper SaturdayMIUI Forum AppSuper MondayHappy Valentine's DayRocket to FutureYouth PledgeMi Lover MedalStar Of TechnologyDie-hard MIUI FanMIUI SuperstarMIUI ExpertForum Contest LoverAndroid GuruMIUI Ice Bucket ChallengeAndroid ElfMIUI FollowerDebate Master

 Author| 08:09, Sep-16-2017 | From PC
|
UPDATE 16/09/17: today I can totally conclude, that this type of phones have unlocked bootloader from Mi Max 2. aboot partition from Mi Max 2 has higher version compared to original one. When the phone starts with aboot from Mi Max 2, it overrides several blocks of memory (?) in SoC QFPROM (?) and after that aboot from Mi 5X can't be started by SBL (Seconadary Bootloader) caused updated blocks: SBL don't pass outdated aboot and falls in 900E diagnostics mode. This is a form of aboot downgrade protection. This method brings your phones aboot from Mi Max 2 back (but locked now) and flashes original system.img from Mi 5X. Today the ball is on Xiaomi side: they should provide a solution to install updated aboot. 
Nizhny Novgorod 152 Russia

Senior Member

Rank: 2

Credits
53
Device
Mi 5X
Online time
4 Hours
Send PM
08:15, Sep-16-2017 | From PC
|
Works for me.

Senior Member

Rank: 2

Credits
35
Device
Mi 5 Pro
Online time
6 Hours
Send PM
16:26, Sep-16-2017 | Via mobile
|
Works fine. Thanks

Senior Member

Rank: 2

Credits
32
Device
0
Online time
0 Hours
Send PM
18:50, Sep-16-2017 | From Mi 5X
|
thanks

Senior Member

Rank: 2

Credits
25
Device
0
Online time
4 Hours
Send PM
23:38, Sep-16-2017 | From PC
|
excellent, Thank you.

Senior Member

Rank: 2

Credits
25
Device
0
Online time
4 Hours
Send PM
23:40, Sep-16-2017 | From PC
|
this guide works perfectly, just need to put the imei.

Senior Member

Rank: 2

Credits
51
Device
0
Online time
7 Hours
Send PM
01:05, Sep-17-2017 | Via mobile
|
Can I do that if my phone isn't bricked?

Platinum Member

Rank: 4

Credits
2387
Device
Mi 5
Online time
41 Hours
Send PM

Mi HomeMi HeadphonesMi Band 2Xiaomi 6 LaunchMagic CubeXiaomi 7th AnniversaryMIUI Devices ContestMi 5Surge S1Super WednesdaySuper FridayWomen's Day MedalMIUI Happy Medal10 Million Forum PostsSuper ThursdayPuzzle MasterMIUI 7th Anniversary3 Million Forum Members5 Million Forum App Installs90000 Forum MembersMIUI 2017Super TuesdayMIUI Lucky FridaySuper SundaySuper SaturdayMIUI Forum AppSuper MondayHappy Valentine's DayRocket to FutureYouth PledgeMi Lover MedalStar Of TechnologyDie-hard MIUI FanMIUI SuperstarMIUI ExpertForum Contest LoverAndroid GuruMIUI Ice Bucket ChallengeAndroid ElfMIUI FollowerDebate Master

 Author| 01:11, Sep-17-2017 | From Mi 5
|
seanhorner95 replied at 2017-9-16 20:05
Can I do that if my phone isn't bricked?

Yes, but why do you need this? I recommend you install modded Xiaomi.eu 7.9.7 ROM by link in this instruction
Nizhny Novgorod 152 Russia

Credits Management

Quick Reply Top Return to the list