yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 3 Guides, News, & Discussion] RootNightmareX:
Specified cast not valid. I get this error, and my device is not recognized even thouhg in device manager is seen as QUALCOMM QDLOAER9008
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Amon_Re:
So both kate & kenzo use the same recovery?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
never heard of that problem sorry, has to be MiFlash specific.

googled and found:

× http://www.reddit.com/r/Xiaomi/comments/5hpsns/help_miflash_specified_cast_is_not_valid

× Same problem, try MiPCSuite to update it helped me

maybe one of those will help you

the linked version is kenzo and works flawlessly with my kate device.

i tried to flash the newer ZCX TWRP (kate version) from december and had problems that this recovery gave 3004 error and wouldnt let me flash kenzo roms because my device is "kate" thats why i sticked to the version linked in this tutorial. never had problems with that!
[Xiaomi Redmi Note 3 Guides, News, & Discussion] RootNightmareX:
I tried with a beta version and unbelievable to say that it worked with the beta one.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] PaninoalCag8:
About the step "Flash Psy_man's latest firmware, LineageOS 14.1 and GApps (ARM64, Android 7.1)"

whould I flash in EDL mode with clean_all checked?

This is my first ROM flash
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Florensie:
No you use TWRP to flash those.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] PaninoalCag8:
How do I do it? Do I need to have the three folders inside the device?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Florensie:
They're not folders but yes, you put them on your device/micro sd
[Xiaomi Redmi Note 3 Guides, News, & Discussion] PaninoalCag8:
How should I do it?

As far as I understood I just wiped the systeam so I can't really boot it.

I don't have a microSD available.

Do I need to use some adb commands?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Florensie:
Afaik the only way to get flash it would be to use a micro SD. Maybe you can push it using fastboot dunno.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Vonorion:
Hi again, i'm very new at this stuff, flashing phones. Can you tell me if i need to put some of the required downloaded files on the SD card of my phone before proceeding, and if i do, which ones exactly ? Also, i reached the step where i need to "Reboot to system and accept that TWRP disables/overwrites standard recovery". How do i accept that ? I had no pop up or such asking me to give that authorization. Sorry for the beginners questions, but first timer at this, heh. Thank you.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] PaninoalCag8:
I pushed the three zips with adb and flashed them. It worked perfectly, thanks!

I have another problem now:

Since my phone has locked bootloader, i tried to backup everything using adb command

adb backup ...

and also "Droid Explorer"'s function.

I tried to restore everything using

adb restore ...

but nothing changed.

Does the adb backup (*.ab) work? Is the problem occurring because of the upgrade from Android 6 to 7? Will it work if I switch back on MIUI? Has anyone ever encountered this issue?

Guide I followed for the backup

Thanks in advance and sorry if I got out of topic.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
I would've just connected my phone to a computer with usb cable and copy the zip files on my device.

Copy firmware, custom rom and gapps on your sd card and your good to go. If you hadnt the promp to overwrite your stock recovery (could happen if you boot to system first time) its fine you dont have to do something else. No problem happy to help!

Just backup and restore your files with TWRP. Dont know about adb sorry... never did that.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] dezky:
Just a post to thank you, i follow it and everythink works well for now !
[Xiaomi Redmi Note 3 Guides, News, & Discussion] DEI11X:
Thanks for the guide! My Kate is running Lineage w/ Radon Kernel beautifully now!
[Xiaomi Redmi Note 3 Guides, News, & Discussion] N.G.:
Hey if you don't mind I have a better option to install TWRP in RN3P just head to this video on YouTube

[youtube]rCONN1_IPuU[/youtube]

And if you like the way plz consider upgrading your guide
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
yeah i read about kuan's updated method mentioned here:

http://forum.frandroid.com/topic/24...u-mi-globe-cm/?do=findComment&comment=3709384

i didn't bother because old method is 100% working, and i cant guarantee for new method yet... but i think i will update method soon.

does this work for all miui version?

i cant create/update this guide if i cant help people troubleshooting.

is it like clean install or do you just implement twrp with this method?

thx for video
[Xiaomi Redmi Note 3 Guides, News, & Discussion] RootNightmareX:
I have latest psyman firmware on Kenzo. But my signal is very bad. Is there any other recommanded alternative of firmware/modem ?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
i have kate, sorry can't help you finding the right firmware for your device.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] RootNightmareX:
What rom are you using? It is stable?

Did you had signal problems on nitrogen?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
Used AOSiP 5.5 for 1 week, was really satisfied with it, had no problems.

Now i am using Resurrection Remix 5.8.1 because i like customization, thats really important for me. No problems with this rom either.

AOSiP only had fc on fm radio otherwise i had no fcs.

What does "stable" mean for you? I found both were complete stable.

Never tried Nitrogen though.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] RootNightmareX:
I am using the modem you recommanded btw.

I heard that aosip has better signal than other roms it is true? From what i have seen if i switch the signal to 3g is stable but on 4g is very unstable...
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
I live in a city, my signal is always stable but i've heard that AOSiP has much less signal fluctuation than other roms.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] RootNightmareX:
The latest firmware 7.1.19 fixed all the problems.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
Glad to hear! you have kenzo, dont you?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] RootNightmareX:
Yes, i never lost signal since i flashed this firmware. Btw awesome tutorial thank you.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] dustmalik:
Is there a version of this firmware for Kate?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] RootNightmareX:
I really dont know, i found the file on linage os thread, maybe ask the person who extracted it.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
couldnt find 7.1.19 firmware for kate thats why i linked 7.1.12 but hadnt problems with it so far
[Xiaomi Redmi Note 3 Guides, News, & Discussion] razr96:
I tried this method, but instead of using their patched emmc_appsboot.mbn, I used the global dev 6.11.3 version of that file, since I didn't want to be unlocked unofficially. It actually works, and this is on global dev 7.1.19. I also tried 7.1.19's emmc_appsboot.mbn and that failed. Had to re flash with 6.11.3 emmc_appsboot.mbn to boot. As expected, fastboot oem unlock-go did not work. Also I think prog_emmc_firehose_8976_ddr.mbn doesn't matter, I tried the 6.11.3 and 7.1.19 versions of it, they both worked (don't even know what that file is for). Lastly, I tried flashing without emmc_appsboot.mbn and removing it's reference from rawprogram0.xml, didn't work.

So to be clear this was what I did:

- backed up RR N with TWRP

- flash and lock 7.1.19 with edl as a nice fresh base

- downloaded the file for this new method in your frandroid link

- changed all kate instances in the files to kenzo

- changed recovery.img to updated zcx twrp

- changed the included emmc_appsboot.mbn and prog_emmc_firehose_8976_ddr.mbn to the 6.11.3 version

- flashed without wiping data or storage

- rebooted to recovery

- rebooted to system

Advantages of this method:

No need to:

- download a miui rom

- backup your current miui data (although of course still strongly recommended)

- flash a miui rom (instead only emmc_appsboot.mbn and recovery.img)

- boot into miui rom to initialise storage

(in other words, save alot of time).

If you need to reflash twrp for whatever reason, it'll be far quicker.

Also with this method I'd wager the miui rom you're on is irrelevant. If it works on the latest Global Dev, I'm sure it works on all versions.

As for disadvantages I really can't think of any. And I doubt if it could ever get patched from a miui rom, maybe from miflash though.

If there's any more testing you want me to do, just ask.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] wherezmyphone?:
After finished flashing process unplug and press [volume up]+[power] until Mi logo shows up then release buttons and it boots to TWRP

Get to this stage after success with Flash and it boots into screen showing Phone, Cable and pcisuite.com wording comes up on screen?? Dont touch phone and boots back into MIUI

I downloaded correct Kate version of linked 6.11.3 ROM

I did replace the Recovery.img with the TWPC recovery.img as said in previous step

EDL mode ok and MI Flash was successful

EDIT After 3rd try at above managed to get to get it all done.

Thanks for the guide!
[Xiaomi Redmi Note 3 Guides, News, & Discussion] razr96:
So if anyone wants to try it out I uploaded "fastboot roms" (20MB) according to method I described above: Kenzo or Kate . Remember to make backups.

Instructions:

1. Extract chosen zip to a directory without spaces.

2. Optional: Replace recovery.img with your chosen TWRP, included one is ZCX.

3. In EDL mode, browse to the fastboot rom directory with MiFlash, and use the "flash all except data and storage" option. You don't need to clean flash. Should take just a few seconds.

4. Lastly, unplug and press volume up+power until the MI logo shows up, then release the buttons. TWRP should show up.

It's really the same method as in op, just the appropriate steps removed due to the fastboot rom including only the bootloader and recovery.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
updated main post. thanks!
[Xiaomi Redmi Note 3 Guides, News, & Discussion] razr96:
Just a couple of things. You can clean flash in this method if you want, and it will work fine, there is simply not a need with this method. Also the MiFlash of 20160401 shouldn't be a requirement, I would be very surprised if other versions didn't work (it is coincidentally the one I used though).
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
just mentioned the part about clean flashing because without clean flashing it's just the old method.

this guide is primarily for new rn3p users who sometimes do weird stuff and if system files, imei or anything else gets corrupted it's better to download the whole fastboot rom because the new method doesn't fix those problems.

i mentioned 20160401 version because nobody tested with latest version yet and if i don't mention it someone will comment: there is no option "flash all except data and storage" because xiaomi renamed the option with the latest version :)

i can remove this if someone confirms that it's working with last version.

i don't want to test atm because i'm happy with my RR setup
[Xiaomi Redmi Note 3 Guides, News, & Discussion] boyoboyo:
Working on kate!

Just got this phone and followed this guide right away.

No (unmentioned) problems so far.

p.s.

I forgot I had the partitions backup on the the SD card and formatted it (oops!).

Was "system" the only affected partition? Could I just perform miflash again to revert to the previous ROM? Not that I find any reason to, of course.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
yes if you want a miui backup just repeat the first steps of my guide and you will have a brand new clean system!

happy to hear it worked out for you as good as from me!
[Xiaomi Redmi Note 3 Guides, News, & Discussion] manuellao:
WOOOAAA!!:highfive: :highfive: Thank you so much for this excellent guide!!

Just got my new rn3p and read how to unlock.

Didn't think it is possible to use custom roms with locked bootloader.

Worked without any problems :victory:

I prefer this one over official unlock for sure !!!
[Xiaomi Redmi Note 3 Guides, News, & Discussion] RootNightmareX:
Can i flash a miui rom via twrp (ex:epic rom) ?i will lose the twrp and repet the procedure again if i want to flash again lineage?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
Yes you can and you won't lose twrp
[Xiaomi Redmi Note 3 Guides, News, & Discussion] RootNightmareX:
If i have global rom and twrp i still get OTAs?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
not possible for kate dunno about kenzo... there is an option in ZCX TWRP though but i don't know if it's working
[Xiaomi Redmi Note 3 Guides, News, & Discussion] RootNightmareX:
And i can update to TWRP to the latest version 3.0.3-0 ? or i must unlock bootloader first ?

And with what is ZCW twrp different?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
I had no problems with ZCX TWRP can't speak for other versions... if you wanna use another TWRP version go ahead just flash it inside TWRP and reboot to recovery. If you have access to TWRP you don't need to unlock your bootloader ever... you can flash everything you want.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] wherezmyphone?:
Noob question. Can I root device using this method? Does the bootloader need to be unlocked to root?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] RootNightmareX:
Get twrp and after that you can flash superuser.

---------- Post added at 10:48 PM ---------- Previous post was at 10:48 PM ----------

And if i revert back to MIUI the recovery will be reseted to stock right ?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
depends... if you flash via MiFlash with modified recovery.img you will have TWRP, if you flash original downloaded fastboot rom from xiaomi's servers you will have stock recovery.

if you flash anything in TWRP you wont lose TWRP but if you want to flash MIUI in TWRP you need lazypatcher boot.img or something like that. cant remember 100℅ but there are other guides how to flash miui with twrp.

i wont go back to miui ever - i dont like it
[Xiaomi Redmi Note 3 Guides, News, & Discussion] RootNightmareX:
If i flash with modified recovery.img twrp, i will still receive ota? Or i must be on stock recovery?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] LiesyaAdjah:
Ask MiFlash

Need help

When i instal Mi Flash 6.8.30 allways failed

PC : Windows 10 64 Bit
[Xiaomi Redmi Note 3 Guides, News, & Discussion] proudfoot:
Already unofficially unlock.

I aldready unlock my kate unofficially (with modified bootloader) and install twrp + lineage, can i replace the modified bootloader with locked official bootloader from MiUi 8 Global Developer ROM 6.11.3 by flashing it with fastboot?

fastboot flash aboot emmc_appsboot.mbn
fastboot flash abootbak emmc_appsboot.mbn

Will I lost the already installed twrp and lineage with that method?

Thank You.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] boyoboyo:
Hi again,

How do I proceed from here to get root?

Thanks!
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
what error message?

i don't know much about unofficially unlocked bootloader.

just read guides how to revert unofficially bootloader and you can start with the method discribed in this guide.

you can backup your data and restore afterwards.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
Boot into TWRP > Advanced > SuperSU
[Xiaomi Redmi Note 3 Guides, News, & Discussion] RootNightmareX:
I tried searching on miui forums how to revert back to miui didnt find. anything.

Using ZCW TWRP and locked bootloader. Can you help me revert back MIUI with OTAS and still have TWRP?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
locked or unlocked doesnt make any difference.

if it does work you can find it here for sure https://xdaforums.com/redmi-note-3/how-to/zcx-twrp-install-twrp-flash-supersu-t3462448

i dont know if twrp+miui ota even works
[Xiaomi Redmi Note 3 Guides, News, & Discussion] RootNightmareX:
But can i flash MIUI and still have TWRP to flash MIUI updates because i dont have ota? If yes how?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Florensie:
I did this a while ago and was wondering: what do I flash something wrong and can't boot into recovery. I won't be able to flash the recovery using fastboot. I guess in that case I can boot into edl and flash the MIUI ROM with TWRP again? I'd prefer to have my bootloader unlocked but I'll need to do it unofficially because the official way wouldn't work for me. Any idea on how I do that from this point?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] razr96:
You could try my experimental method (in the first post) of flashing just the 6.11.3 bootloader + recovery. You wouldn't lose any data and it would be really quick. Really you should never need to unlock the bootloader with this method.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Florensie:
I assume that's just to get my recovery back for when I accidentally brake it?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] razr96:
Yes. I specifically used it when I broke my recovery while testing out various forms of this method.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Florensie:
Ok, that's great. Thanks for everything!
[Xiaomi Redmi Note 3 Guides, News, & Discussion] PaninoalCag8:
Hello,

Everything was fine with the new ROM and I loved it... Until, last night, the fingerprint stopped trying to recognise my finger and the fingerprint settings disappeared altogether.

Anyone having similar issues?

Running 31/01 nightly.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
It's a rom specific problem. I'm sure someone in the according rom thread will help you with this problem.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] kaederukawa7:
Im on miui 8 china dev 7.2.9 can i just unlock.my bootloader with this method ?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
nope your bootloader will stay unlocked with my guide but you dont need unlocked bootloader you just need TWRP to flash anything you want
[Xiaomi Redmi Note 3 Guides, News, & Discussion] kaederukawa7:
U mean my BL will stay locked ?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] kaederukawa7:
My BL will stay LOCKED but i will have TWRP. And i can install any customrom that i want. Is that correct ?

If it so ... i will try it. Sorry if too.much asking .. just make sure.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] Florensie:
Exactly you can flash anything, even root.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] tindan:
KATE

a little confuse here, mine is kate, so ill download kate MIUI

but when it goes to psy's firmware, which one should i take. (since i have to choose the right one there)

thanks
[Xiaomi Redmi Note 3 Guides, News, & Discussion] razr96:
Just choose the KATE firmware
[Xiaomi Redmi Note 3 Guides, News, & Discussion] tindan:
https://download.lineageos.org/kenzo -> its all kenzo's

---------- Post added at 07:38 PM ---------- Previous post was at 07:35 PM ----------

sorry, missclick the link :)

---------- Post added at 07:42 PM ---------- Previous post was at 07:38 PM ----------

is that means i cant use the lineage? since ist all for kenzo. or i can?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
you can install every 'kenzo' rom just flash kate firmware and you're good to go
[Xiaomi Redmi Note 3 Guides, News, & Discussion] tindan:
one last question

last question, while extracting, apparantely there are similar name files. should i copy and replace or keep anyway? since the one that will be replaced is a newer one. thanks b4
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
just replace it
[Xiaomi Redmi Note 3 Guides, News, & Discussion] tindan:
- replaced recovery.img with ZCX TWRP recovery.img - checkED

- EDL mode - checked

while flashing, got an error : object refference not set to an instance of an object
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
try rebooting computer
[Xiaomi Redmi Note 3 Guides, News, & Discussion] tindan:
same result, do i need to unlock bootloader first?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
no you don't need to unlock bootloader.

You have some MiFlash error which has nothing to do with this guide ;/

I would google your error... i guess it has something to do with installed drivers.

You could try version 20160401 found here: http://en.miui.com/thread-272376-1-1.html
[Xiaomi Redmi Note 3 Guides, News, & Discussion] tindan:
nothings wrong with the flasher, just got back to fastboot rom.

gonna try again next time

---------- Post added at 01:57 AM ---------- Previous post was at 01:54 AM ----------

i use this to get back to kate 7.2.9 http://en.miui.com/thread-235865-1-1.html
[Xiaomi Redmi Note 3 Guides, News, & Discussion] tindan:
tring again, done flashing but cant enter trwp after the flash (the recovery image had been replaced by zrx recovery)

---------- Post added at 03:09 AM ---------- Previous post was at 03:07 AM ----------

can i change it with another twep recovery image?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
you can use every twrp you want but i dont know why its not working for you but everyone else had no problems.

i would just try again and follow each step carefully
[Xiaomi Redmi Note 3 Guides, News, & Discussion] tindan:
ALREADY GOT IT, among many combination this step works for me

1. flash fastboot ROM dev

2.using the simple method from guan to get the twrp

3.flash nightflies first and complete the boot

4.flash lineageOS

the current problem is the network. device identified my carrier but not connected to network. it says to turn off airplane mode first. well, i'm not in any airplane mode (already try turning on and off the Airplane mode but no result)

is there any certain modem to flash?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] kaederukawa7:
Maybe u need latest firmware ...
[Xiaomi Redmi Note 3 Guides, News, & Discussion] j3bsie:
Please what variant of the gaaps do i download?
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
choose aroma if you are not sure
[Xiaomi Redmi Note 3 Guides, News, & Discussion] tindan:
ARM 64 , 7.1, stock

---------- Post added at 08:51 AM ---------- Previous post was at 08:49 AM ----------

already the latest (psy's)
[Xiaomi Redmi Note 3 Guides, News, & Discussion] MOVZX:
Hi there Khajiit, I'm Nord!

Nice tutorial BTW...
[Xiaomi Redmi Note 3 Guides, News, & Discussion] shaky_bootins:
Worked great ?

Just followed this tutorial, and it worked great.

But there's no root, is there an easy way to fix this, or a special su binary that must be installed?

Cheers
[Xiaomi Redmi Note 3 Guides, News, & Discussion] magjir:
Deleted.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] khajiit:
Download latestet SuperSu (here: https://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133) and flash it via TWRP :)
[Xiaomi Redmi Note 3 Guides, News, & Discussion] TimWichtig:
Thank you very much!

I've loaded lineageOS to my Bootlocked Kate with this HowTo.

Great!