yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 3 Guides, News, & Discussion] jazzu4ia:
....i lost the L boot loader...

...good afternoon...

...i flashed shantosh's rom without taking backup...

...so, i lost the stock L bootloader...

...now i see the M bootloader with cyanogenmod logo...

...it's not a problem since i flashed a lot of cm based roms, and some miui roms also, with this M bootloader...

...but i want the official bunny bootloader back...

...how can i restore it back ?

...flashing with mi flash tool maby ??
[Xiaomi Redmi Note 3 Guides, News, & Discussion] anshulratchet:
Thanks for this post cos this finally clears up my confusions.... And well I suppose Cofface is good because rooting after updates is easy....But just one question....Exactly how do I install OTAs? It seems I cant install the small 150mb ota files so I have to install the fastboot rom...But do I have to wipe system before that? Because I tried flashing 7.3.6.0 update (fastboot rom 1.1gb) without wiping system and its still showing me on 7.3.5.0.... So what exactly is the method before applying OTAs?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Grantius:
You need to use recovery ROM, not fast boot.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] sangalaviral:
And how to move from unofficially unlocked bootloader to official unlocking?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Wendylig:
i'm newbie , and now i confuse

my posision right now on custom rom RR with TWRP official and Unlock Bootloader Unofficial

if i want to back to miui , can i just flash all over with fastboot via miFlash ??

thanks
[Xiaomi Redmi Note 3 Guides, News, & Discussion] talkaboom:
Yes, you can. Using Miflash will also overwrite/remove TWRP. Be sure to use the MIUI fastboot ROM, not the recovery ROM
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Wendylig:
thanks buddy
[Xiaomi Redmi Note 3 Guides, News, & Discussion] bilakos10:
Did anyone try flashing the latest Global Dev (MM) over Global stable using Alka recovery?

Did flashing it lock the booloader/wiped recovery?

What's the exact process that should be followed?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] vdbhb59:
Why so much of confusing stuffs for a phone.Makes it looks like a attention seeking thing, where things are tweaked just to gain more awes and more of attention. Odd. Why cannot one make it more easy. Bootlocker and all stupid stuffs.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] asepdodo:
Is there anyone who unofficial unlocked bootloader, success flashing miui MM rom using safe twrp v2?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] eddie2020:
Hi guys, now I am I 6.8.18 rooted and unlocked officially .

If I upgrade to latest 6.9.9, I need to re unlock and re root again all the process?

Which method should I use? OTA, or download fastboot rom to flash?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] eddie2020:
Hi guys, now I am I 6.8.18 rooted and unlocked..

If I upgrade to latest 6.9.9, I need to re unlock and re root again all the process?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] ViVi93:
Yes to both
[Xiaomi Redmi Note 3 Guides, News, & Discussion] talkaboom:
Yes like the post above says, but re-unlocking is just a matter of running the miunlock tool. If luck is on your side, it wont get stuck at 50%... Happened to me once, tried again next day, it worked. F**k Xiaomi's stupid unlocking rituals.

After that, flashing a custom recovery and bootimg + rooting barely takes 5 mins.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] rocknegi:
unlocked unofficially flashed safev2 wiped everything then flashed 6.9.9 recovery rom rebooted now stuck at loading screen with android animation at the bottom
[Xiaomi Redmi Note 3 Guides, News, & Discussion] naturist:
I have unlocked bootloader unofficially. So if I flash the MM based rom, the bootloader will be locked again. How to avoid that? Any possible way to flash the MM based MIUI on unofficially unlock bootloader?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] eddie2020:
But our data might wipe again?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] tigax:
If anyone could help.

I have developer version of miui 8 - 6.8.18 (android 5.1) with Cofface TWRP + bootloader unlocked using miui oficial tool.

I intend to install the new 6.9.9 global developer that is android M based.... or CM13 (being the prefered option the miui one)

I know that i need to put alka TWRP but what do i next? i heard something about bootloader get relocked + firmwares + lazyflash for encrypted partitions so i am a bit confused and afraid to do something >_<

Can anyone give me some light?

Thanks in advance
[Xiaomi Redmi Note 3 Guides, News, & Discussion] h0LLe:
This is seriously the weirdest flashing process I've ever experienced. And I was flashing Nokia's 15 years ago...

In my opinion the OP needs detailed instructions, action by action, to explain all use cases...
[Xiaomi Redmi Note 3 Guides, News, & Discussion] abhis3k:
Whatever you try, 6.8.18 is LP and 6.9.9 is MM so bootloader will be locked, so workaround for this.

After update, you need to unlock.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] ViVi93:
Steps-

1. Flash alka twrp

2. Go to advanced wipe & wipe- dalvik, cache, system, data

3. Flash miui v6.9.9 global developer rom

4. Flash lazyflash.zip (if u dont flash lazyflash ur device storage would get encrypted)

5. Reboot

6. If u want u can re unlock ur bootloader but its not essential as twrp seems to work fine
[Xiaomi Redmi Note 3 Guides, News, & Discussion] talkaboom:
If you are switching ROMs, the first flash is best done with a clean wipe including /system. I usually format to make it faster. Things like updating ROMs, flashing TWRP, or even flashing SuperSU/Phh superuser can be done without wiping data/cache/dalvik.

It kinda already does. Those are basically the instructions you will find on most of the respective threads. The process described in the official TWRP thread may actually be more confusing to a newbie. Just remember that you need to flash the bootimg only if you want to stick to MiUI. Lazyflasher takes care of it so you don't have to search bootimages for you version of MiUI.

Xiaomi makes unlocking the bootloader a long and convoluted process. For those who do it unofficially, yes, the process is a huge pain. But once you are free of MiUI, Flashing custom recoveries and ROMs is quite easy. Only reason to stick to MiUI is VoLTE. For all the QQ-ing about goodix not working, it is not an "essential" feature. We have used phones without fingerprint sensors for years. I would gladly give up fingerprint id to rid myself of the bloated junk that is MiUI, but that is my personal opinion.

While I am not a fan of the unlocking process, it does have an unintended positive effect - it weeds out people who do not understand the process. As a result, the ones who do go through it are usually more capable of handling the challenges that come with custom ROMs. :p
[Xiaomi Redmi Note 3 Guides, News, & Discussion] rajumack07:
Can the above steps you said also applies if you are unlocked unofficially and on latest global stable ROM? I want to know since I am not able to get registration form for the unlocking and if I'll be at Global Beta (6.9.9) + TWRP + locked bootloader (after flashing lazyflasher.zip) without any issues/brick. I don't have any issue. I can think of unlocking officially later.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] ViVi93:
Sorry no idea but unofficially unlocked bootloader
[Xiaomi Redmi Note 3 Guides, News, & Discussion] h0LLe:
will there be twrp for KATE (international version with 4G Band 20 800mHz)? all guides are for kenzo .... so we cant use the same images with KATE devices?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Pumpino:
You can use the same TWRP and same custom ROMs such as CM. All you need to do is flash the modem from Kate's MIUI afterwards.

For example, flash CM ROM, CM firmware and GApps in TWRP and then boot into fastboot mode and enter "fastboot flash modem NON-HLOS.bin". Failing to install Kate's modem will result in you having no signal, and failure to flash the CM firmware file will result in your fingerprint scanner not working and other issues.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] h0LLe:
Thank you for your reply.

One more question. As unlocking my kenzo device bootloader worked flawlessly with the official mi tool, am I able to use it for the Kate device too? Do I have to order a request once again for Kate device?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Pumpino:
Unlocking permissions are per Mi account, not per device. You can unlock one new device per month. However, I could officially unlock Kenzo, but couldn't unlock Kate, even after creating a new Mi account.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] trotil42:
Hi,

Finaly my phone bootloader is unlocked by official way.now, I want to flash alka twrp. Do i need to flash official twrp and then alka?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] ferbulous:
Hi, my phone was unofficially unlocked

Since xiaomi.eu has released a marshmallow version of redmi note 3 pro

Should I use safe twrp with universal boot patcher or Cofface twrp?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Pumpino:
No, you can just flash Alka.

The OP says that people who unlocked their bootloaders unofficially must use only Safe TWRP to flash MIUI ROMs. Any TWRP can be used to flash CM ROMs. However, I've found that flashing the latest MIUI ROM zip through Safe TWRP on my Special Edition (Kate) results in me being unable to get past the initial setup. It gets stuck at the Find my Device screen, so I'm unable to do anything.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] ferbulous:
It's just a bit confusing since OP mentioned that unofficially unlocked needs to only use safe twrp

Yet specifically instructs to use Cofface when flashing marshmallow roms

Did you also flash the boot img patcher after flashing miui v8 (android 6.0) latest rom? Was it xiaomi.eu rom or official one from xiaomi?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Pumpino:
You can use any TWRP to flash MIUI and CM on a phone that's been officially unlocked.

If unofficially unlocked, you can use any TWRP to flash CM but only Safe TWRP to flash MIUI recovery zips. You can use Alka to backup and restore MIUI, however (apparently).

Yes, I flashed the boot img patcher after flashing the latest dev ROM for Kate from http://en.miui.com/extra.php?mod=rom/download&r=301&mobile=no#449. Marshmallow and MIUI 8.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] ferbulous:
My redmi note 3 was officially unlocked before this. I don't remember which version of twrp i was using (definitely wasn't safe twrp) but when I tried to flash miui rom and it just went into bootloop.

Figured out a way to reboot into edl in fastboot mode and successfully flashed miui rom with miflash.

But the bootloader was relocked, since I didn't wanna wait another month for unlock approval I decided to just use the unofficial unlock method instead.

Anyway, thanks for the confirmation
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Small_town_boy:
Thanks for the guide...

I am on MIUI 8 stable with officially unlocked BL..

AFAIK if I install Cofface TWRP I can switch seamlessly

b/w any roms(based on any version of android)..?

I am little confused on when to flash UBP (since u have stated Cofface TWRP automatically patches boot), could u clarify?

Or is it better to use ALKA?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Pumpino:
Use Cofface or Alka so that you don't have to patch boot manually. Alka is based on Cofface but allows you to back up additional partitions, so Alka is superior in that way.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Siddk007:
Hey all, I have successfully unlocked bootloader officially and flashed alka via fastboot but I can't boot into recovery.

If I do adb reboot recovery it goes to a screen with a picture of my device which I assume is the stock recovery. If I reboot with Vol Up and Power I get the same thing. Any ideas? Thanks!

edit: nevermind, was missing this "fastboot boot alkarecovery.img"

one question though, in alka twrp, its was asking if you want to keep stock recovery, i disabled it. any issues?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] candiesdoodle:
just re-linking the discussion on the other thread. my suggestion was to use EDL with the new emmc file for MM MIUI.

Though if any experienced user / OP can layout the steps for flashing MM MIUI based rom (upgrading from a LL MIUI or a CM based rom) using safe TWRP, that will be great for clarity.

Here is what i posted - http://xdaforums.com/showpost.php?p=68724966&postcount=9
[Xiaomi Redmi Note 3 Guides, News, & Discussion] GreenPen001:
Anyone had an error saying that data and cache failed to mount when trying to wipe? I`m on ALKA recovery.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Siddk007:
mount system
[Xiaomi Redmi Note 3 Guides, News, & Discussion] GreenPen001:
It worked.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] suhridkhan:
Just wanted to say thanks for this awesome compilation. A life saver for new device owners.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] hawkdown77:
I follow this thread: http://en.miui.com/thread-280771-1-1.html and would like to know if I can do backups with this TWRP or not?

Thanksss
[Xiaomi Redmi Note 3 Guides, News, & Discussion] kzhkr:
can't seem to find any solution upon reading.

i just unlocked BL officially. flashed alka TWRP, booted to TWRP.

i cannot do any backup, error msg is "failed to mount '/data' (invalid arguement)"

internal memory is 0mb too.

any help?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Rosli59564:
---------- Post added at 06:31 PM ---------- Previous post was at 06:29 PM ----------

[/COLOR]

Me also. Something is wrong but I can't figure out where it is.

Sent from my SM-G925F
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Pumpino:
Format data and try again. Obviously, this will wipe your data. ;)

If it still fails, use this TWRP instead. http://en.miui.com/thread-344450-1-1.html
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Rosli59564:
I'm getting ready to reflash official. You saved me man.

Sent from my SM-G925F
[Xiaomi Redmi Note 3 Guides, News, & Discussion] xsycox:
This guide does not include the Kate version, right?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] kzhkr:
so to say we cant backup our current rom before formatting?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Pumpino:
You can backup the ROM, but formatting data will mean that any apps you've installed and settings you've customised will be lost. It will backup the ROM in its default form.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] kzhkr:
so just have to format my current MIUI rom before i can do anything to it it seems. haha. thanks!
[Xiaomi Redmi Note 3 Guides, News, & Discussion] asepdodo:
Where the boot img patcher? For unofficially who want to flash miui marshmallow rom?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] hawkdown77:
Can I make backup with this TWRP of this thread or not : http://en.miui.com/thread-280771-1-1.html

Edit: I try make backup with my twrp (cofface) and I did. I selected system, data and boot partition. Why in this thread is said that we need use Alka?

What is the difference?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Pumpino:
Alka is based on Cofface. Alka gives you the option of backing up additional partitions, so it's a more thorough backup.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] talkaboom:
Alka can back up all partitions of MiUI. Others cannot.

Alka also supports backup for unofficially unlocked miui. Never used it myself, I use the f2fs version by thestrix.

Before going off elsewhere, I would recommend reading post 2.

ZCX TWRP is a new entrant, but apparently fixes some bugs ( I have never faced those bugs personally). The encryption stuff looks interesting, I may give it a go later, but damn f2fs too good.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] candiesdoodle:
Alka twrp ensures backup of ALL partitions. There are a number of other partitions other than the ones you mentioned. Try it
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Pumpino:
Isn't that what I said in my reply and the post below mine said? ;P
[Xiaomi Redmi Note 3 Guides, News, & Discussion] candiesdoodle:
Ofcourse!! Hadn't seen your post mate. :laugh:
[Xiaomi Redmi Note 3 Guides, News, & Discussion] hawkdown77:
But system, data, and boot are main partitions. Isnt?

Other question: boot and recovery are same files partitions or are different?

Recovery are included in boot file?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] abhis3k:
No.

Boot and recovery are diff partitions.

System uses boot, not recovery.

System, data, cache, boot and recovery are main partitions for wiping and installing custom ROM
[Xiaomi Redmi Note 3 Guides, News, & Discussion] hawkdown77:
So, I'm using muiu 7.3.2.0 unofficial unlocked. I make backup in twrp cofface of system, data and boot partitions. Is OK to restore or I will have problems with this backup?

Recovery partition I not did cause don't show me.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] abhis3k:
Backup all partitions and keep them safe in PC. You may never know when you need them

---------- Post added at 01:47 PM ---------- Previous post was at 01:46 PM ----------

I normally use Alka for backup, restore.

I usually need boot, system and data for restore. Also need to wipe cache and dalvik for restore
[Xiaomi Redmi Note 3 Guides, News, & Discussion] hawkdown77:
My twrp is ready only. So when I try install is giving error. How can I change to ready only to write?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] sssaurabh:
I am on safe twrp and i want to convert my cache and data partition to F2FS. Can i boot twrp official version with F2FS version than convert data and cache partition and than revert back to safe twrp?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] innocentus:
can i flash update roms from xiaomi eu with alka twrp without factory reset don`t want to reinstall all apps ,dirty flash. with alka twrp can`t flash exposed very strange
[Xiaomi Redmi Note 3 Guides, News, & Discussion] candiesdoodle:
[MENTION=5110858]SharkcpN[/MENTION]

Awesome guide. The updates are superb and most helpful. Have a few questions/ feedback for addition to the giude.

1. Is the feature of cofface to install UBP automatically only applicable for MIUI Lollipop based ROMs? In other words, doesnt Marshmallow based MIUI Rom need UBP? If this is the case, you may want to mention it here above

2. (i think i know the answer to this one, but still maybe helpful to mention) Even tough Safe TWRP (and Alka) are based on Cofface, they do not install UBP automatically? But Safe TWRP has a UBP zip built it, which needs to be flashed manually? it will be useful to mention this in the Safe TWRP section.

3. if #1 i mentioned above is true, you may want to call that out here again for brevity (since it is indicated under Lazy Flasher that it has the same functionality as UBP on MIUI Lollipop based ROMs)

4. What would happen if UBP or Lazy Flasher are installed on MIUI Marshmallow? will the boot.img not get patched? or something more adverse? just wondering, really. would be helpful to know.

5. Got a bit confused here. You mention to skip UBP if

- officially unlocked: using Cofface & flashing MIUI Loliipop.

Is this because Cofface installs UBP automatically? should it, therefore, instead say "using Cofface to install MIUI Lollipop". which wold imply UBP is needed if there using other recovery and if installing MIUI Lollipop

- unofficially unlocked: flashing MIUI Lollipop

There was indication above (In CASE 1 : BOOTLOADER UNLOCKED OFFICIALLY) that UBP is if Lollipop is being flashed.

Like i said, superb guide - extremely helpful to bring some clarity to a myriad of recoveries, ROMs and flashing steps.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] xsycox:
Great guide, but there is missing something: There is no "how to" for flashing the recovery on the phone. How do you do that?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] talkaboom:
Read posts 2, 3, etc. :good:
[Xiaomi Redmi Note 3 Guides, News, & Discussion] xsycox:
I did, of course. There is no "how to get the recovery on the phone".
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Pumpino:
Boot into fastboot mode, connect your phone to your computer, and from a command prompt enter "fastboot flash recovery twrp.img". If you don't have fastboot and ADB installed on your computer, you have some reading to do. :)
[Xiaomi Redmi Note 3 Guides, News, & Discussion] talkaboom:
[MENTION=3779540]xsycox[/MENTION]

to add to what pumpino said here,

Before you start anything, enable developer options (in about phone, tap on the build number 6-8 times). Then go to developer options and enable USB debugging.

First thing you need to do is install the drivers. Miphone does that for you, but you can manually download them too.

You can search for ADB and find hundreds of mirrors. The ADB folder needs 4 files really, so no point in installing the Android SDK. Here is a good source to get a premade installer with good options:

http://xdaforums.com/showthread.php?t=2588979

Open the command prompt in the ADB folder when you want to flash the image. If you installed ADB drivers system wide, it does not matter.

to explain a complex concept in simple terms, there are different kinds of boot modes for the phone with their own images in separate partitions. You need to know about 2 -

regular boot which boots up your ROM, also called normal boot. corresponding image is "boot.img' (these are naming conventions, you can name it anything you want, but other stuff that refer to it may fail.

Recovery - boots into recovery mode, in our case it is TWRP.

The command

fastboot flash recovery twrp.img

is basically defining what partition it needs to flash the image to.

Fastboot is the command

flash - telling fastboot to flash a file (flash = install in android)

recovery - tellling fastboot that the file is to be flashed to the recovery partition

twrp.img - the name of the image file. It will probably be different when you download it. You can rename it if you want. If it is in a separate folder, you can use quotes - e.g.

fastboot flash recovery "d:\randomfoldername\recoveryimagefolder\nameofTWRPimagefile.img"

Also, watch this video: https://youtu.be/Q2g-ZRqVhTc

READ THE DESCRIPTION

This video explains installing TWRP and rooting in the same vid, so may leave you confused which step does what.

Basically, the part where he flashes SuperSU and then lazyflasher is the rooting process for LL MiUI.

Hope this will help you get started.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] trotil42:
Hello, i have alka twrp installed and officialy unlocked bootloader. Now, i want to install zxc recovery. What i need to do? Only flash zxc from twrp or first flash stock recovery then zxc?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Rosli59564:
Flash zxc from current twrp.

Sent from my SM-G925F
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Ahmed.fawzy9980:
hey noob question here, right now my phone is completely unmodified and never been modified because i just got it.

let's say if i want to revert back to this exact same state including software and firmware, stock recovery and everything.

i've read the entire post already but you said that i must be on global stable rom which i am but i need an unlocked bootloader to use twrp and it gets stuck at 50%, i've read that i must be on china developer rom in order to unlock bootloader.

what should i do ? i never feel comfortable modifying my phone without knowing that i'm able to revert back not just to miui but to the exact same state it was shipped with.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] psygarden:
Yes you can always revert back by using MiFlash tool to flash any MIUI ROM via Fastboot mode.

And don't worry about the bootloader it'll get unlocked in a few days just try once everyday. It's a known bug. Usually the phone unlocks after 5 or 6 days after you get the SMS permission. Not need to change ROMs as Redmi Note 3 can be unlocked on Global Stable ROM.

Hit Thanks if I helped!