yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] dsa8310:
I am just reporting that the default kernel takes indeed into account the value of the ro.sys.sdcardfs parameter as set into file /system/build.prop (with false the size of copied files to the external card, with x-plore, is correct, while with true it is zero until the next reboot).

The Franco kernel does ignore the parameter, for both true and false it keeps the size correctly updated, as if its behavior is built in.

I really don't know if the default kernel setup is better than the Franco kernel's, or the opposite is true...
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ManoloRey:
Ok, i will add sdcard fixes in kernel in next build
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] dsa8310:
I can only guess that parameter ro.sys.sdcardfs used as controller for sdcardfs behavior (whatever that is) makes sense only if the same parameter is used in more than one place (beside kernel?). Since the default kernel version is much newer than the franco kernel version, perhaps the need for a controlling parameter in more than one place has arisen, and the presence of ro.sys.sdcardfs makes sense after all.

But I would not know for sure, just saying, so please disregard if not right...
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] linuxwalkers:
Hello , Sir. Do you still use the China Telecom sim card? Is there any rom which behaves well and supports China telecom 2G(telephone and sms) , any recommendation?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ysop:
Thanks to [MENTION=8529916]hV0nC7[/MENTION], he tell me China Telecom sim should put in sim 1, then in all oreo rom it works.

now I use ElixirOS just cause seem no issue in this rom and feature is enough to me.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] omijust4u:
Why this rom don't have Smart Text Selector feature??
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] sid hatfield:
I have tried 3 or 4 different Oreo based ROMS none of them seem to have this working . Camera is unable to store photos on SD/DCIM . Even if i use 3rd party apps and set the save path manually , images in the gallers don't have a thumbnail and are shown only when i press edit photo . Else they are not even shown . I do not know if this is a BUG or OREO lacks this feature . Because i have used lineage 14 it works there , Why not on Oreo ? please if someone can confirm if its fixed before i download .
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Zeref Uchiha:
every thing is good best battery life also but 2 features are bugging me and takes me away from this rom these are simple things i know developer can fix these easily

1 cannot disable status bar in lock screen

2 navigation key hold action performs really quick. I use back button hold to force close and it happens too quickly sometimes even when i want to just to do back in other roms its okay but i want this rom to fix this because this rom is best except for these two things
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] met4ller:
Idk what's happening, if is rom bug or not, but with 3-4 gcam tested i can't save pictures(nothing in gallery or Dcim path) , it just snap and then, at the end of hdr process, it disappear. If I change phone model in settings, camera is all black and doesn't allow to get pics.

How to solve this?

Does this update contain quick charge option? I never saw that before written while charging, this week appears :)

Please add again "center clock" on status bar.

Thx
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] wizard.a:
Ota

I'm already on cosmic os 3.1

2018.2.22 build

Got notification there's update and downloaded it

How to update?

With dirty or clean flash with twrp as usual..?

Or there's new method of update keeping my files and settings not to have to go through the whole process of setting the system and apps again..?

Thanks.

.......

In other words..... How to do OTA update?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] e2vinay:
is time bug fixed in latest build.?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] lexx.ps:
First why you change model? Second flash magisk ExSDCard-Enabler it should fix storage issues, third quick charge will never be supported on mido I think because it will break your phone
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ad8802660:
Play stroe issue

I was facing play store issue. After flashing rom and gapps it booted successfully then i installed apps frm my sd card. Later i opened play store and and head over to "my apps" top update apps, but its shows nothing, no app was visible. So i searched application which i want to update and there after opening app on play store i found 2 uption"UPDATE and OPEN". Then again i checked app updates, and again same no apps. Play store says device is not certified.

How i flashed rom

Recovery- TWRP 3.2.1

Rom version- Latest release

Step 1- flashed firmware miui 9.2.1 global stable

Step 2- flashed rom itself

Step 3- flashed micro. Gapps 18 march

Step 4- wipe cache and dalvik cache

Also i tried many other roma including pixel experience and liquid remix.

Please guys help me this is my favourite rom

Thanks
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Treinor:
Does not someone else work facial recognition? I activated it from Smart Block and when I turned on the screen and put my face, I didnt unlock the phone.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] wiikii:
Work fine for me ..No issue
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] elmer91:
I would try another gapps release... Older or newer
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] rushi21:
Guys anyone having Bluetooth call issues? I have no audio in calls. Wasn't the case before the new update.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] nikolay kutsan:
the same problem, and also does not work nights light from dusk to dawn
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Treinor:
I fixed it, it was just activating Face Auto Unlock in

Configuration> Galaxy> Lockscreen, in all ways thanks.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] abinj30:
Even after so many updates this issue still exist in this ROM.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] con_sau_may_tinh:
anyone can turn off useless search bar at home screen?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Emmanuelmanu12:
Thanks man
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] M4rc3ll0:
Obrigado irmão.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] wizard.a:
Anybody tell me how to Update OTA???
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ylovex:
Dirty flash is OK,just flash the update.zip in twrp
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] wizard.a:
Thanks alot
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ylovex:
You are welcome.your data will be saved, but you will lose root, so, if you need just flash magisk again.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] antaris108:
In the last change log is nothing about treble, but on other devices I saw treble enabled...will it come soon also to mido? Or is it enabled and just not in change log? Thanks...
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] abinnishihh:
Is there a black theme here??
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] yaser86100:
[MENTION=8834098]ManoloRey[/MENTION]

in last bulid added disable data icon ???
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] kishor_4628:
So we r already getting android p features ,so whats going to be in android p roms????
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] iamdrdrb:
Android Q features
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] dikamasbroh:
how to disable always on display?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] FroZine:
Substratum not working with this rom. Anyone else?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Hiou:
Charging 2000mah, 1 minute before full charge on 74%, my battery got f up :laugh:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] FroZine:
Did it several Times.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Treinor:
every time I try to erase a fingerprint, the unlock with that fingerprint stops working, but it's still there, as if it had not been erased.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ge-n:
Rename it to any thing before deleting it
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] zero_mod:
Yes,under Display-> Style

---------- Post added at 03:50 AM ---------- Previous post was at 03:47 AM ----------

Settings -> Display -> Ambient Display -> Always on
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] boanhdaytien2:
plz fix notification icon expand bug next update
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Not Available:
substratum still working but not rootless anymore
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] iambumblebee:
Not rootless though, but working flawlessly. Battery improved too in the latest build.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] AlievM:
Hello, after the last update, sewed over the old one, the animation of the application map in "recent applications" became strange. I suppose because of the new animations from P. Answer who faced?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ko33:
GPS is malfunctioning.

Google translator is constantly falling.

Unable to find extended restart.

Thanks for ROM
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] boanhdaytien2:
is it any chance i could get a flashable zip of this rom animation? or at least tell me where is the file so i can do it on my own
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ArK96:
Do you mean the boot animation?:confused:

Note that root is required and an appropriate root file explorer to browse the root path. Go to the root of your phone and then go the mentioned path.

system/media

In there copy there will be a zip named bootanimation.zip. That's the file your looking for.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] prashant.palange:
How can i use substratum.. Its asking for another app n its paid
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] iambumblebee:
You have to root your device to use substratum. Beacause cosmic doesn't support rootlees mode.If not rooted it will ask for andromeda that's a paid one.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] boanhdaytien2:
thanks but i mean the transition animation, ope/close activities, back/forward in settings and apps. The one that look like iOS.

edit: i found it, in /system/framework, im such a lazy person!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] antaris108:
System / framework / and how is it called? So even me can find it? Thanks in advanced
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Derpp06:
Is it just me or the mobile network is bad? I've been using a lot of custom roms and this is the only rom where I experienced a lot of ping spikes when playing online games. I'm using the latest build + Stormguard OC.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Not Available:
I'm on this rom for two weeks, no i don't have network issue here ^^ i think this rom is really stable at mobile network :)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] stunned:
[MENTION=8834098]ManoloRey[/MENTION] source links for kernel and tree are missing
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] sibikallikkat:
Is it necessary to flash any kind of firmware before flashing the Rom ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] baggino:
[MENTION=8834098]ManoloRey[/MENTION]

congratulations great work. He has everything I was looking for.

thank you
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] djgigi94:
This rom have bluetooth problems? (such send file,calls,music ecc.)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] sharhan69:
How to disable always on display?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mardan92:
Setting > display > advance > ambient display > untoggle the always on
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] inVain_theGenuine:
I see system apps remover.....

does this mean the rom is pre-rooted?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] upsidedown999:
Rom is very Good, smooth and stable, i love it. please fix Recorder app, it crashes everytime i open it and the recorded sound is terrible.

Add One-Handed mode Please.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] rahulk096:
What abt battery backup sot??
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Boomshiva:
No .

U need to flash magisk or SuperSU for root access
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] sadanadavin:
So if i use another sound recorder app, i can record a sound without a problem?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ManoloRey:
"Do not forget": do wipe cache, dalvik cache, system and install rom, opengapps and magisk again!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ManoloRey:
hold down the reboot button
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ManoloRey:
If you want yes, the better for you.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ManoloRey:
no, man
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ManoloRey:
yes man :D
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] henxui25:
Pixel Experience fixed that bug bro!!!!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] insan_wicaksana:
Swift backup still not logged in. Just stucked on processing.

Am i flashed wrong gapps? Flashed gapps aroma. Already updated to lastest build
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] LongLuu:
i do not face that problem :rolleyes:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Boomshiva:
Okay
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] boanhdaytien2:
It lie under system/framework/framework-res.apk/res/anim

But i dont have a pc to compile, here's the file: https://drive.google.com/file/d/1WysIAc4XMbNi3o0Z88tCWOFgmwpYkc7h/view?usp=drivesdk

Its very easy to make a flashable file, plz make one and share to me :p
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] antaris108:
OK, i am also not in my PC, but i used zipme apk to make a flashable ZIP

Herr is THe link

https://drive.google.com/file/d/1pY_3src6dr7XZ4Ejt_j6biC8OrZrqgcc/view?usp=drivesdk

I could check it out if it worked, because i am in cosmic OS right now...

So Plesse let me know if it works...
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] boanhdaytien2:
You're zipping it wrong, I've attempt to make it but not yet succeed, I dont know what wrong with it so I think i gonna give it up this time. Btw this is the file, i flash it but nothing happen

https://drive.google.com/file/d/19D2hodjr0pnsgIgUZ9U9TNY-pa1ntDLm/view?usp=drivesdk

If anybody knows whats wrong, tell me
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Wishh09:
I using this rom just 3 hours ago. Then when i plugged it to charge. I don't feel it's hitting while on changing even a little bit warm feel doesn't. Is it normal? And when i check the temperature its only 32 degree and it's not change until it fully charged. But i charged for almost 3 hours from 20% to 100% stock chargeer with 2.1 ampere?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Ajayprince:
It's asking for password after first boot. I never set up any password for that.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] JANUEKO:
Ask for Password

yes same.. me too its ask for password... how to solve this???

---------- Post added at 12:12 AM ---------- Previous post was at 12:06 AM ----------

its ask for password... on the first boot... how to solve this?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] M4rc3ll0:
Wipe the System, Vendor (for first transform from non-treble), Cache, Data and ART/Dalvik cache.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] JANUEKO:
already wipe it.. but still ask for password when first boot
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Sundeep99:
Can i flash it from redwolf recovery?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] deolux2:
Please use only TWRP for Treble for any Treble build. Kind regards.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] sibikallikkat:
If I don't want treble..can I flash the latest build with normal twrp and magisk? Is it compulsory to use vendor twrp to use the latest 0604 version?

Please reply
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ArK96:
Treble is not an option. If you want to use latest build use vendor twrp and vendor magisk.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] sibikallikkat:
Vendor magisk manager can't be updated. It is showing notification but update fails.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] dustmalik:
Nice work, Dev. Please, always include 'treble' as part of the naming of your rom. This will help prevent unnecessary confusion for those flashing it. My point is, if i know it is a treble build, i would know that i also need to flash a treble compatible recovery, Magisk or Kernel.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] k3lcior:
It's already named properly.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] dustmalik:
No, sir. This is its current name 'Cosmic-OS_Universe_mido_8.1.0_20180406_3.1-OFFICIAL.zip'. I meant the file itself, not the name of the thread.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] k3lcior:
What about reading thread title?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] dustmalik:
This is not an issue. I believe it's just proper to name files accordingly. Some of us try out different roms everyday, and we can't always visit rom threads to remind ourselves of the kind of rom they are. But by simply naming a file according, i'll always know how to flash the rom and everything between.

I hope i have made my point clearer.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] JANUEKO:
Someone can help me ?? After clean flash its ask for password on first boot
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] saransh arya:
Its encrypted, boot to recovery wipe format data,but before that backup anything you need pictures, videos or any other data!:o
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] JANUEKO:
already wipe it ... I wipe all but, its ask on first boot

i use the twrp trable and magisk trable also
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] dsa8310:
The main stuff is working very well for me.

At first glance:

SE Linux has become permissive.

Camera video is less bright than picture (perhaps the former patched library set is not adequate, or forgotten?)

===

Just overlooked, the same set of patched camera libraries should go to /vendor/lib/ (aka /system/vendor/lib/), and camera video brightness level is restored.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] JANUEKO:
someone help me.. its still ask for password.. even clean flash
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] joselap:
make format /data (not only wipe)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] JANUEKO:
oke thanks for reply... i will try..
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ovi2901:
can not find the 'pocket detection mode' option....?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Bayu Purnama:
Hi dev, After flash magisk zip, I can't install magisk manager app. Please advice
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] antaris108:
After isnatalling magisk, there is a manager app...but to update the app it helps to uninstall the manager and to install the update again...I faced it also few time...
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Dean27:
Will the treble updates be weekly or monthly? Thanks dev for the great job
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Sai bharadwaj:
Tez app not working
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] CPAllianceP:
Can you tell me, please, which libraries should I copy to /vendor/lib to fix this?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] iru786:
Hi

Can't seem to find extended restart option in the latest version.

Any ideas where this option is?

Thanks
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] dsa8310:
I can't recall where I found them, so here is a new link:

system-vendor-lib.zip

They could be installed with a root explorer, or with a terminal, as root, with commands:

su
mount -o remount,rw /vendor
cp -rf system-vendor-lib/* /vendor/lib/

Just place the unzipped folder in an adequate place, on phone.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] danny3458:
Does this rom have flip case support? I have a double flip case and I would like to know...
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Sheikh Nadeem:
Before installing this rom I had some queries. First, is there clock mods available i.e., clock position, seconds in clock, date & day support. Second, is lockscreen weather update available. Third, is screen off animation available. Thanks in advance.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Lalsingh1985:
Latest version asking for pin when first boot and after entering right pin it say wrong pin. It working on earlier version how to fix this help can't able to install 06-0-418 build
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] iru786:
Are you doing a recovery or clean install? You can remove the pin via recovery if need be.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Wishh09:
Im newbie it's okay to flash this in normal twrp? I downloaded the last build?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] danny3458:
I had this problem too and I found that many people experienced these kind of problems. Mine was bigger... wifi was not working either... :D

I think I know what is causing these types of problems....

TWRP recovery sometimes keeps settings from previous flashed roms, and whenever a flashed rom is modifiying the bootloader (boot.img) or other system files TWRP is keeping those settings in the bootloader... even if you flash a fresh MIUI bootloader with TWRP you can still mess your bootloader.... Therefore, I belive that TWRP is not perfect for our phone, that's why I belive that the best way to fix our phone is by flashing via fastboot the MIUI firmware with the windows program "miui flash tool" (be carefull not to choose the "lock system" option when flashing, unless you want to..., becouse you will have to go through the unlock process all over again... choose only "clean all" option)

After that, you can reinstall abishek's TWRP again and do your thing, until you mess up the bootloader again lol. :D

Here you have the tutorial video:

https://www.youtube.com/watch?v=mfXd5E-Ix6w
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Wishh09:
When i try to flash magisk it's failed. Then i flash twrp treble and. After that i flash again magisk treble it's success. But after that i can't install the latest magisk manager. What should i do now? The magisk ia working but it's not running the latest manager?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] joselap:
You need treble twrp (read the OP post)

TWRP TREBLE : https://goo.gl/LFtsQu
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Wishh09:
Thanks, but i already flash it in normal twrp and no problem. But the only problem is magisk i can't flash it anymore. Always failed. That's why i flash treble twrp then flash again magisk treble it's work. But after that can't install the latest magisk manager??
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] sajty:
I would like to ask the same. Anybody here running latest build, please, can report?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Wishh09:
Yes, everything is there. I using it right now the latest build.

You can find that all in galaxy additional settings. ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] sajty:
Thanks man.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Sheikh Nadeem:
How to bypass the password thing... I did everything. wipe data, dalvik cache, cache, system, vendor. When it boots, it asks for a password. Help
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] k3lcior:
Format Data.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Sheikh Nadeem:
Where is advance reboot menu?

Got it.. thankx