yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ATG Droid:
Here is build which is compiled with support for Treble... Let me know if it's working fine. ;)

https://www.androidfilehost.com/?fid=746010030569954397
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Rajeshrajkhaju:
Hello hai man iam using redwolf recovery then iam locked secure start up but now iam remove for your help please help how to remove start up secure please help me
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] febry_valdy:
How to test that this one treble supported or not?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] piskor:
Install recovery and than try to install lineage treble rom https://xdaforums.com/redmi-note-4/...other-development/rom-lineageos-15-0-t3690465
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Mckol:
I was able to flash LOS 15.1 with the treble build. Works alright, except google services crashing, but that's most likely a problem with ROM/GAPPS.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ares1092:
Did u dirty flash the rom ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Mckol:
No, first I wiped /system, /data, /cache and /vendor (left /data/media, but I already formatted /data before to remove encryption). I also tried changing webview implementation: built in one, replaced by stock GAPPS and chrome one. Changing that didn't make a difference. I am using a test build of redwolf recovery with treble support. GAPPS from OP throw an error when installing (they are for 8.0 and this ROM is 8.1) so I needed to find them elsewhere. I use magisk from OP for rooting.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Merli-:
How to install in ADB?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] balu1191:
What's this treble rom??
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] GursewakSingh:
Amazing Recovery I love it.

I have a question can I restore backup created by TWRP In Red wolf.

Please Reply as soon as possible.

Thank You For You Help.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] balu1191:
Nope you can't :(
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] adarshbabucs:
Which one is most stable recovery for mido?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ATG Droid:
Stock recovery.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] adarshbabucs:
Sarcasm I see! My bad shoulve framed the question correctly.

Currently using redwolf recovery, but when I press reboot after ROM installation, it doesn't reboot system.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Mckol:
I managed to fix the problem with gapps not working

This rom https://xdaforums.com/redmi-note-4/...other-development/rom-lineageos-15-0-t3690465

I fired up logcat, and googled one of the errors I saw there. This way I found this post, which seemed to share the same issue https://xdaforums.com/showpost.php?p=71385735&postcount=4075

After extracting libgmscore.so /system/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk and putting it in /system/priv-app/PrebuiltGmsCore/lib/arm64/everything seems to work alright.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ATG Droid:
That's only known on encrypted device. If you decrypt then it should be fine
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] babypandaNF:
When i used remove rom security feature,it doesn't work

My phone had encrypted,after flashed crdroid 8.1

I try feature remove rom security,but my phone still encrypted

Why this can happen ?

I'm on redwolf build 024
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ATG Droid:
Lol, that script is for something different... For encryption format data
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] babypandaNF:
Hehehe,i don't know sir

Okay. Encrypted phone,can be fix only format internal ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] kraken77:
Hi i dont understand about the pirating lines as mention at OP since im really new to xiaomi..so my question is, if i installed this twrp then i installed pirated apps/modded apps/games, will it brings error in the future? Sorry im kinda loss here
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] appman1234:
If the recovery detected any pirated apps, it will stop automatically (i.e. cannot install/restore any rom)!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] kraken77:
Wow..thats a high level of security..what if that thing comes up, will restoring to twrp or stock recovery fixed the issue? Or by flashing full stock rom using miflashtool will bring back the phone?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] appman1234:
Yes, you can flash the original TWRP Recovery to replace the REDWOLF and then your rom. Tested and working method.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ATG Droid:
Thing that you are using pirating software to steal from developers isn't some kind of bug tho. :P
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Merli-:
for example what modded/pirated apps? I installed pixel experience rom and magisk and nothing happened
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] kraken77:
What kind of example of pirating software that u mean? Stealing from developer??? I dont know hell about stealing apps from dev.. what i meant was is it modded apk/games/gamecih/lucky patcher? Something like that were called pirate apps? Please give more detail information...i need to avoid that stuff cause i dont wanna bricked my phone...
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] dd721411:
Yes, those stuff you mentioned are pirated apps or warez. Developers deserve the $ for their effort creating awesome apps/games for us to enjoy. So if you avoid paying an app from official sources by using its modded/cr*cked or whatever methods, you're not allowed to use this awesome Recovery.

I believe what you installed are fine because they are always free. Examples of modded/pirated apps or warez are stuff like 'modded apk/games/gamecih/l*ck* p*tch*r' (I copied that part from the following post of yours) where you avoid paying developers. Mind you, many users have been permanently banned for mentioning L*ck* P*tch*r, let alone discussing it here on XDA.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] kraken77:
Thats a very good explanation..thank you
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] abhiM525:
help i cant restore my backup. error "Cannot restore system -- mounted read only."
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ATG Droid:
Ok so mount it as read write.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] pedalracer:
Ehm,

do I flash the zip or do I have to extract the zip first and to flsh the img?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ToRt1sher:
Flash the zip.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Naman-:
Thanks for the recovery buddy.!!!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Talwinder8872:
Basterd recivery does not work if you lucky patcher is installed,

? well i uninstalled your recovery
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] pravalik:
I can't pass safety check wch is preventing me from using tez due to root hiding.i am on latest version 26.it was working fine when I had v24 recovery.

PS:magist 16.0 is causing it, reverted to 15.3 working fine
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] krasCGQ:
I don't think it's related to recovery...
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] bkp96:
In magisk hide chek tez and if u have xposed installed u can't have hidden root then
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] pravalik:
I have hidden it,still same problem
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] aletronky2006:
Compatibility TWRP / TWRP RedWolf

If the nandroid backup was done with redwolf twrp (RedWolf-026-mido.img) it is compatible with the traditional twrp (twrp-3.2.1-0-mido.img) for the normal recovery of system, data, modem, etc .
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ATG Droid:
It's not
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] aletronky2006:
I have encountered this problem:

I made a nandroid backup of the ROM stock (mido_global_images_V9.2.2.0.NCFMIEK_20180202.0000.00_7.0_global), system data, etc. with TWRP redwolf (RedWolf-026-mido) and then I restored everything after trying another 'rom (PixelExperience_mido-8.1.0-20180218-1714-OFFICIAL), on restart the sequence is unlocked was not accepted in any way.

Where did I go wrong?

-------------------------------------------

Ho riscontrato questo problema:

Ho fatto un backup nandroid della rom (mido_global_images_V9.2.2.0.NCFMIEK_20180202.0000.00_7.0_global), dati di sistema, ecc. Con TWRP redwolf (RedWolf-026-mido) e poi ho ripristinato il tutto dopo aver provato un 'altra rom (PixelExperience_mido-8.1.0-20180218-1714-OFFICIAL), al riavvio la sequenza si sblocco non era accettata in nessun modo.

Dove ho sbagliato?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Devil7DK:
I guess you are talking about pattern lock. If so... Here is the solution...

Reboot to Redwolf -> Community Scripts -> Remove ROM Security

This will remove the pattern lock, so you can use your restored os. The cause of this problem is backup and restore of ROM corrupts the screen lock. So remove password protection before backing up.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] pravalik:
Does this recovery support treble lineage 15.1?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] piskor:
This build supoort treble LOS https://xdaforums.com/showpost.php?p=75586988&postcount=931
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] febry_valdy:
Yes, use redwolf treble.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] pedalracer:
Mhh

I had TWRP running and had to flash the Wolf .img since there is no .zip linked for non 2GB devices. I flashed via TWRP.

Wolf recovery was flashed without error warnings and all seems fine. Even the first weekly Lineageos was installed flaswless. At least one little hickup that seems related to language settings in Wolf. I will have a look into that.

Question:

How can I use SuperSU and magisk with Wolf? If I tick it it always tells me to reflash the recovery or to download SuperSu???
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] aletronky2006:
ok I had tried this, do you think to correct the problem?

ok questo l' avevo provato, pensi di correggere il problema?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] netscvngr:
Answer: I had issues with both SuperSU and Magisk using Lineage 15.1 and Redwolf. In order for me to regain root I had to install the special TWRP treble and Magisk 15.3 treble. There is a link in the unofficial LineageOs 15.1 thread.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Ghavio1516:
Can someone help me,my recovery keep saying i need to flash the recovery zip or something.i reflash the recovery and it did not fix it

Sorry bad English
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Ghavio1516:
SS
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] cidxtc:
The zip is for 2gb version and has had some things removed so it works. You need to flash the img to get full function. Both redwolf and twrp has img flashing capability just make sure you flash it as recovery.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Ghavio1516:
I flash the upper one,and it still saying that i need to flash bla bla bla
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Dark-Coder:
Thanks :D

One more thing , Backup Not Stored in Standard TWRP folder, it's in Some kind of hidden folder (i can't access or copy that because it's showing 0 bytes). i know developer did it intentionally but is their any option or something enabling which it creates standard TWRP name folder and backup like Normal TWRP. it would be nice if we have this option in it .

Thanks.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] dadi11:
No it's not possible. You can access this folder normally on PC or file manager in recovery
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] dadi11:
New build V3.1-015 is available.

Added flashlight toggle for mido and updated with the latest twrp changes
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] nanda.outlook:
What is T2W ? Please Answer 🤔
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] tasar:
Tap to wake ;)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mn31pro:
tap2wake
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ATG Droid:
Here you have also explanation how exactly this option is working in recovery: https://xdaforums.com/redmi-note-3/development/recovery-red-wolf-recovery-project-t3633375/page23
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] hafeeeeeeeez:
please add miui ota support
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] devilhunter47:
You tried flashing miui ota?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] hafeeeeeeeez:
yes i tried it failed, :(
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] 1nikolas:
I have a special suggestion: when I'm flashing or backing up ti takes a while to complete so can you add a mini game (like blockout, snake etc) to play while flashing/backing up? It doesn't have to be huge, just a simple game in order not to getting bored.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] tasar:
Really? :) Drink a good glass of wine with your wife when you backup :)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] dadi11:
RedWolf-V3.1_016

- Fixed feature "Backup wifi, bluetooth & hosts" not to work if the user wiped the data partition using the "factory reset".

- TWRP source code was updated to the Aug 15, 2017

- Fixed recovery remembering the wipe list after setting a new gui page.

- Improvements with the mounting of the partitions during the boot

- Fixed led drivers on mido

- Fixed ability to set custom backup folder name & ADB ID

No games while backing up, yet ;)

https://www.androidfilehost.com/?fid=961840155545589172
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Sehab084:
i flashed magisk using this recovery in miui 8 but i cant find magisk.(kind of new to magisk)

what should i do?

{i use xposed heard that magisk is better for xposed}
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] cidxtc:
Install magisk manager app
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ATG Droid:
It should be installed. Look in the settings at your installed apps. May be just your launcher is having some issues.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] BigMike66:
how can i format my Internal Storage with F2f2?

when selecting Advanced Wipe for Internal Storage and Partition Options it say its not availble for this partition...
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Zile995:
Select data partition and format it as f2fs. It will format internal storage also. Backup your files before formatting.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Szabi01:
Thank you for this awesome recovery!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] hafeeeeeeeez:
please add ota update for mido :(
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] :
How can I install RWR?

From ADB like TWRP?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] oz00ms3:
Hi

RedWolf-026-mido.img <--- can i use this one for 4/64 variant snapdragon?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Jyrka98:
Yes
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] cidxtc:
What exactly are you doing when it gives you that error? I have used a few of the scripts and never had any issues.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] rufysanjigen:
Unable to install it on unlocked Xiaomi MI 6

I just tried to flash the latest version of Redwolf TWRP (26) via fastboot and also via custom recovery (TWRP 3.2.0-1) and it doesn't work. The console shows no errors but it goes to fastboot when I try to boot up the recovery (I made sure I'm using the right button combination), like something went wrong in the installing procedure and automatically decides to go there. Besides, as soon the ROM boots up, the system flashes the stock recovery in the background, as you would expect. What did I do wrong?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Devil7DK:
Whats the memory size of your device..?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ATG Droid:
File is probably corrupted, check md5.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] darryl_co:
How do I install this recovery? Where can I find the complete procedure?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Devil7DK:
In Google... ;)

Go here...

https://redwolfrecovery.github.io/instructions.html

Still can't understand...? Search YouTube for how-to videos...
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Anit Rajput:
Thanks for this Great Recovery :good:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] saransh arya:
When I am in redwolf recovery and connect it to PC my PC can't read it and I am unable to transfer files what to do tried last 3 versions!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Mannuok:
What a good initiative ..... but the question is, in TWRP we have problems with backups, sometimes it does not restore 100% and if it does not, you can not enter the computer because the blocking key or the employer does not recognize it. ... that is solved in this new Recovery ???

Thanks for the help
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] cidxtc:
Never had an issue restoring backups with this recovery and I actually do a lot of restoring of roms. I test lots of 8.1 roms but use miuipro as my primary rom.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Veerendra Kumar:
I can't install magisk from recovery. It shows an error that in image below. What should I have to do
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] saransh arya:
Anyone?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Devil7DK:
Solution in the screenshot itself
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] tjahjo.djoko:
Restore stock boot image, reinstall current rom or install another custom kernel
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] manojtpoulose:
I am not able to flash any zip. It show I installed some pirated app (L*k*y p*r) bt I am not using it and I think I have uninstalled it before weeks. BT still it showing me to unistall the app. And there is no apk or zip file of that app in my device. Still it showing the error. Any way to completely remove the app to flash the file..?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ATG Droid:
Completely format that device.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] manojtpoulose:
Omg. Is there any other way.?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] donkalli666:
Use official TWRP.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] sherwindavis:
Why is there 2 files ,one with 2gb ram zip and a normal img file?

I am running 2gb variant with redwolf twrp 024 i want to update ,so which file to choose?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] piskor:
Why It is so difficult for you? Cant you read and search? It should be so easy. You have 2GB variant so you need to flash 2GB variant.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] sherwindavis:
Okay ,but why so rage?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] piskor:
Because :)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Anne_Droid:
Because he's a very smart and superior 12 year old kid :D
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] febry_valdy:
Hahahha
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Rahul Dutta:
When i flash redwolf then root my device thsn automatically my device region goes to china.. Please help
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Rohitraj1:
Some questions:

1. Can i flash it with fastboot in cmd?

2. If i am caught in bootloop how can i power off phone or boot to fastboot mode?

3. How to enable lazy flasher non verity on this recovery?

4. If i install mod like face id unlock...will i still get ota update(as system would be modified in such mods i think)

5. If ota breaks how to manually update? Dirty flash entire roms? Or there is another way? Please give links!

Please help! Newbie here!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Veerendra Kumar:
Can anyone having stock boot image
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] alfi97:
How to set default setting on recovery?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ArK96:
In a file manager go to Internal Storage, then WOLF folder.

In this folder there will be a file named " .wolfs ", delete it and reboot to recovery.

Note that files starting with a dot ( .wolfs ) will be hidden, so make sure you have enabled show hidden files in your file manager.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Rohitraj1:
Please help me wid the above msg
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ananthakrshnan10:
1. Can i flash it with fastboot in cmd?

fastboot flash recovery (filename).IMG

2. If i am caught in bootloop how can i power off phone or boot to fastboot mode?

Long press power and Vol + /- for recovery / fastboot until you get vibration

3. How to enable lazy flasher non verity on this recovery?

Use lazyflasher patch

4. If i install mod like face id unlock...will i still get ota update(as system would be modified in such mods i think)

Better take a backup through recovery before the OTA

5. If ota breaks how to manually update? Dirty flash entire roms? Or there is another way? Please give links!

Please help!

Restore the backup or clean flash the build
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] yuvaneshwaren:
Guys can someone give me exact tutorial on how to flash Red wolf recovery on my redmi note 4 and root with it so i can install a custom rom

My phone has unlocked bootloader but no root...
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Vanquish17:
Watch tutorials on YouTube.....best way for explanation is there only
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ananthakrshnan10:
Boot to fastboot mode

CMD fastboot devices - to check if the device is detected or not

CMD fastboot flash recovery (filename).img - to flash the recovery

Now press volume + and power button till you feel the vibration to boot to recovery

Copy the files to internal storage when connected to PC when MTP is active and flash Magisk / SuperSU zip file

Prerequisites:

1. ADB & Fastboot drivers

2. Recovery file

3. USB & PC

4. Magisk / SuperSU

Magisk recommended as it's much easy to use
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] yuvaneshwaren:
I also want to flash gcam mod which requires camera api 2

So i need to use magisk to do it right

So if i just flash magisk instead of super su it will be easy

---------- Post added at 12:05 PM ---------- Previous post was at 12:04 PM ----------

Is flashing magisk as same as super su

Just download the file on phone

Go into recovery and flash it??
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Rohitraj1:
You don't need magisk to do it... You can enable by adding a line in your build.prop

persist.camera.HAL3.enabled=1

Just save and reboot to apply it
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] yuvaneshwaren:
But i dont know how to do it

Can i just use magisk

Is magisk same as super su

It gives us root right?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Rohitraj1:
Yes you can...magisk gives root just as supersu and also passes through safetynet api.

To do this on supersu use a root explorer like ES to go to system>build.prop and edit it as i said.

Or use the magisk module to do it
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Vanquish17:
Yes....but with more advanced options
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Rahul Dutta:
Whenever i root my Redmi note 4 using redwoof my system language change to china.....please help me