yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] IvGa68:
Yes, working fine with Google play music and Deezer, but in Deezer you have to disable equalizer!

Btw, what's the status of viper driver. If it's abnormal then you have to set SELinux to permissive mode
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] GLokin666:
hello, is the rom stable? because I read comments about this does not work, the other thing does not work. Thanks
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] sunny1234590:
Pretty stable.

Around 10-10½ hours of SOT you'll get.

Also, use velvet kernel for better results.

Clean, Smooth and bug free it is.

Yellow flashlight however is there.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] yerbio:
Hi everyone!

I'm using LOS 14.1 coming from MIUI.eu ROMs and it's great. All features work better. Speed and battery are awesome, but It has a problem:

Bluetooth MAC address is wrong: 00:00:00:00:5A:AD.

When I'm flashing any MIUI.eu ROM, the BT address is unique, but in LineageOS or any custom ROM, the BT MAC is wrong.

My wife has another Redmi Note 4X, both have LOS, and both use the same car. Car audio goes crazy, because we have the same BT MAC :silly:

I think it was corrected in latest LOS build of Redmi Note 3, so, can it be corrected in our device? Does anyone know how can we change BT MAC address?

Thank you in advance.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] wavyius:
Hello, amazing ROM! Really saved my phone from the dreadful MIUI. Everything is perfect, except for this one issue that actually had me reflashing MIUI again today (I went back to this ROM after).

I'm on the latest official nightly, so if this issue is resolved on the unofficial build, PLEASE tell me.

The issue I'm having is with the network. It's not dropping, it's fluctuating. No matter where I am, it goes up to, say, 2 MB/s for an inconsistent amount of time, down to 70 KB/s... I was thinking maybe I should flash something like a modem provided through this XDA forum? The reason this issue is a pity for me is because I use tethering for everything when using my laptop at home, even for gaming. Google searches barely help me in my case, any input would be greatly appreciated. :)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] yaronhe:
Flashing the latest firmware solves this problem
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Nirav Tailor:
How to set fingerprint for different app to lock
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] sunny1234590:
Use Xposed + MaxLock module
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] arnabgharay:
can you give me proper working link of xposed
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] sunny1234590:
https://xdaforums.com/showthread.php?t=3034811&page=5

The very first page. Sdk25, arm 64!

Installer is also available there.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] arnabgharay:
i know that i tried greenify its not working
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] sunny1234590:
Why do you even need greenify?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Nirav Tailor:
So that there is no any native setting to lock individual app by FP

we have to use third party app
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] sunny1234590:
Go to privacy. Then to protected apps.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] exwan:
Miui 9 stable released. Should we update firmware then flash los again? Will it bring differences?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] putzgonzalez:
Is there another firmware besides the one in the OP? That one has fluctuating signal.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] iamrahul10:
Oh man, you're getting 10-10.5 hours of SOT? That's really impressive.

I am on stock kernel, not using Facebook or WhatsApp or Voip apps. I am only mainly Sync for Reddit, Chrome, Tachiyomi, Apple Music and Signal. And still I am getting only 7-8 hours of SOT. There's no bugs or any lag. Totally smooth and fluid. I really wonder why my SOT is just average when compared to others' here.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] bpradana:
After 1 day of using this rom, I got screen burn in on statusbar. It's very visible on grey background.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] wapdap:
Well it heavily depends on your Usage, which Apps you have installed - I have 11-12hrs SOT. GAPPs pico, 2 Apps that sync some Stuff across the day regularly. I am using an Adblocker at system level too - which is less ressource intensive although I use it because of privacy concerns.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] iamrahul10:
I am also using Pico, AdAway, Reddit Sync, Signal, Apple Music, Solid Explorer, SD Maid, Tachiyomi and a few other apps which are not having notifications or background app refresh.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] madd0g:
It also obviously depends on network coverage and how much it drains in idle.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] dlare9:
quick question

Is flashing cm-14.1-mido-firmware essential? there is no mention of this on the official site (https://wiki.lineageos.org/devices/mido/install) ..
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] framequake:
[MENTION=7774120]dlare9[/MENTION]: You probably watched the same YouTube tutorial as me which also confused me because of the firmware I was supposed to flash.

I did not flash any firmware zip. I just installed the LineageOS zip from the official site (and GApps) with TWRP and everything works fine.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] piskor:
Flashing

Nougat

firmware is essential only if you flash custom

Nougat

ROM when you are using

Marshmallow

MIUI version.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Ceejay343:
It also heavily depends on your screen brightness settings (!!)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] filipecoimbra222:
If you're using the latest MIUI Global Stable (8.5.4.0), it is not needed. Otherwise yes, it is essential.

---------- Post added at 10:15 PM ---------- Previous post was at 10:11 PM ----------

I'm getting something around 10h SOT too, full charge, stock GAPPS. Since I also do some gaming, sometimes I get a bit less than that, but I'm satisfied with this ROM performance and battery backup. I'll probably never go back to MIUI again.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ihfandicahyo:
Go to settings - Display - Live display - Color profile - and select CE.

Please using low brightness (-50%).

Hope it helps u.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] SamYang:
The best ROM:laugh:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] wavyius:
Yeahhhhh, so far I'm not so sure that fixed my issue. :crying::crying::crying:

Nobody's fault, though... just hoping there's a fix I don't have to wait too long for.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] RizwanH20:
There is a firmware available...

It's by BrateloSlava on Android file host..
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Sachin:
Try this : https://xdaforums.com/showpost.php?p=73534612&postcount=89
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] schnoeselmeier:
I am very happy now because this fix finally worked on my Redmi mido: [youtube]t_BXGKIrUso[/youtube].

However it did not work for me on LOS 14. I am now back on Miui 8.5.8.0 Stable.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] winstonhyypia:
Thanks. It would be good to know this. I seldom record video so have no idea what's going on. So the video would be helpful for everyone to notice what's going on. I will try recording music video and test against with other device.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] bujing2:
I have Redmi note 4 Mido with lineage Os,

how to update lineage os latest

Clean FLASH ROM Again

Or

ONLY flash new rom with only wipe cache
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] zimmie:
Got to settings and type update
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] walterrrossi:
How can I bring all the apps I have on a miui ROM to a non miui ROM?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] TioCareca:
Try Titanium backup...
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] le_zurdo:
In a recent post from the Miui forums they posted apks from all their Miui 9 stock applications. Not sure that all of them will work in an AOSP based rom though.

http://en.miui.com/thread-994163-1-1.html
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] filipecoimbra222:
Settings>About Phone>LineageOS Updates.

Pretty much what you need to do. Also, it is recommended to wipe cache and dalvik cache after a update.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] bujing2:
Please share link Dolby Atmos zip link for lineage os nougat
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] swarnakar.ani24:
Bluetooth wrong MAC Address bug still persists which makes toggling Bluetooth ON so time taking
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Moksu:
Has anyone been able to access SD card via PC if the SD card is installed 'internal storage'? I only see the phone's 32 gb space.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] putzgonzalez:
Great, thanks!

Can I just dirty flash this firmware over LOS (I've previously flashed the firmware from OP), or I need to clean flash everything from the beginning?

Has anyone tried it and got a better signal strength? ♥️

EDIT: on the thread mentioned, some people got better LTE, and, apparently, I can just dirty flash. Gonna try it and see.

EDIT2: I've just flashed, no difference in LTE. Gotta keep on waiting for future fix in this fluctuation :(
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] tharemo:
I've been running LOS since a couple of weeks and it's great, but my notifications often are often delayed for several hours or until I wake my phone. Happens with email and alarms for example, and both with battery optimisation enabled and disabled. Does anyone know a solution?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] akidnaivv:
I think my fingerprint got an issue. It work well at first. But after a week i try to remove every fingerprint and re-add everything and the issue occured. The sensor is detecting my finger, but it didn't record anything. Even nothing is recorded (because i delete everything before). Anyone got a same issue?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] :
How to flash the firmware file ?

I donno how to flash firmware file, actually, I'm not getting any way to do it. After booting to TWRP, what should I do to flash firmware? Anyone please guide me, thank you.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mani198:
I noticed that conference call FC. Video call not working. Plz fix it?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] VAMGDroidFan:
Just grab the zip file and install flash it using TWRP. Exactly same process that you use to flash ROM.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Ciamabhishek:
How to enable volte sign on statusbar?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mensoif:
Mido is now in the top 3 https://stats.lineageos.org
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] p3dboard:
I have exactly the same issue. Recorded some videos tonight and they were really dark. I also have a Samsung sensor.

My wife's phone has the Miui 9 developer rom, latest build and its a lot brighter in video capture.

Just downloading the 2nd Nov build, hopefully it fixes the problem

Edit: Nov 2nd, still the same issue. I think it is dropping the brightness to keep the frame rate high, so in well lit scenes it's not an issue, but darker lighting, the miui rom increases exposure times but decreases frame rates to make the video brighter, but lineageos is dropping exposure to keep frame rates high

However, the moto camera on this post works great, video nice and bright and slow motion capture works fine

https://xdaforums.com/redmi-note-4/themes/redmi-note-4x-camera-lineage-7-1-2-t3633588
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] akidnaivv:
I think i found a bug

So i try google smart lock. And choose trusted face. I continue the wizard, on he time i need to use camera, it says "no camera detected".

After that i try to my stock camera app. When i switch to my front cam, it FC. Now i cant open my stock camera apps again. It keep FC.

I tried using other cam apps too. It seems something block front cam access so i cant using front cam. Back cam is fine. I dont install anything before it happen.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ZASOR:
camera

Hello!

I have some problem with synchronization my photos using OneDrive app when i get them with stock camera app, 80-90% files have some gliches, gray/brown etc. borders. If I manually copy files on PC, or open in gallery app - all is o.k. When i use other camera applications like "open camera", "snap camera", "google camera" -- no any problems.

And yes, resolution in viefinder lower than screen resolution. :)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Kazinadim87:
Plz mention all the bugs here .! I need to flash it urgently..! Thanks
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Sachin:
There are no bugs I guess, except flashlight color is yellow. Pretty much stable.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Kazinadim87:
Thanks dude.! Appreciate it!

Will give u a huge thumbs up!!!!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] alex2487:
Hi, Battery usage is not tracked correctly.

Please fix it.

Thanks
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Yellowflash99:
And even that seems to be fixed using the miui camera port. But you need to open it up though to get the white flashlight.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] madd0g:
Funny how there's no way to figure out how the miui camera does it.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] alex2487:
Bugs and improvements I would like

1. Battery usage is not tracked correctly.

2. Flashlight switches on dual LEDs producing an yellowish light. Only white led should be on.

3. Auto brightness sensor should be more optimized. The screen is over bright at times which in turn affects the screen on time

4. Dialer should have dual sim dialer.

5. Internet speed display at status bar could be useful feature.

6. Notification badges should be there as most of the OEMS give as a default feature nowadays.

Thanks for producing such a wonderful ROM.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mejobloggs:
Seems to be audio bug sometimes when holding audio-up/down to change song. Sometimes the song plays at full volume for like.... 0.1sec before changing song

On LineageOS homescreen, is there any way to create folders/groups? On other roms i've used I just drag one icon over another, and it creates a folder.

First time using Lineage on my Mido. Great rom :)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] PepperShoe:
I am having trouble Calling Via JIO SIM.

As soon as I dial a number from JiO sim, it says Call Ended. I am currently calling by using JIOVoice app.

Kindly suggest.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] juancabu93:
Hello,

how can I activate LTE? I think it is activated but it doesn't work...

Could it be because the firmware was not flashed? I can't remember if I did it. Is there a problem with flashing it now? Could it become unstable?

Thanks for the great job!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] LilBlinx:
I can confirm these bugs also
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] fleischbanane:
Can you provide a link, please?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] BigAntz10:
FlipFlap

Hi Guys, does any one know how I could enable FlipFlap on LineageOS for Mido or if it's even included in the ROM? Thanks
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ihfandicahyo:
I think that it will be automatically active, and you should never find this problem. Unless you mean the Vo-LTE icon.

If indeed LTE, please see if your area is already available network and ask your service provider.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] juancabu93:
LTE is already available in my area. It work on other phones. That's why I was asking if it could be about not flashing the firmware. Tanks for the answer.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] bryanken24:
Can i use subtratum in this Rom?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] thetriton:
Been using the ROM for two days now. Smooth as butter. No lag whatsoever.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mensoif:
Use the search function of this thread.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Yellowflash99:
Not even funny it's surprising with all the respect I have towards all dev working on the Redmi note 4x that it still can't be figured out.

---------- Post added at 10:51 PM ---------- Previous post was at 10:47 PM ----------

Can't remember exactly but I'm pretty sure you'll find it in the Redmi Note 4 (snapdragon) forum. Just use "Miui camera port Redmi note 4" in the search button.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] p3dboard:
If you're not getting Lte, then possibly the note 4x doesn't support your mobile networks lte frequencies.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] vergilz18:
Sorry for noob question, how to install magisk for this rom? Just install magisk zip or install inbuilt su first after that install magisk manager? Because i need magisk hide for banking app. Sorry for my bad english . tq
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ihfandicahyo:
Firmware will not mean anything if the network frequency available by the carrier is not the same as your phone's specifications. I think that's what you say by [MENTION=5495967]p3dboard[/MENTION]

Or u can try to join with miui-forum and search how to unlock band in redmi note 4. and this not all band :)

---------- Post added at 02:20 AM ---------- Previous post was at 02:16 AM ----------

I think you just need to install magisk.zip it and follow the next step.

http://www.lineageosrom.com/2017/02/how-to-root-lineageos-using-magisk.html
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Buratei:
this is my first day after finishing up my installation last nite, and so far so good. wonder if i should "upgrade" to los 15.0, and when if i do.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ghines:
I would like to know the answer to this too.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] thetriton:
Guess that would purely depend on the user. Before installing 14.0, I had tried the 15.0 los and didn't face any issue while bringing up the system, including the fingerprint addition. The only issue that I faces was I couldn't login to the google services as it kept on saying 'checking info' for over 10 minutes. May be that might be a rare situation or a bad internet connectivity (which I personally feel was not the case), but considering that its almost bug-less, you should give it a try.

---------- Post added at 08:31 AM ---------- Previous post was at 08:02 AM ----------

I'm not a pro at this, but flashing the firmware could be the reason. Per the instruction, firmware flashing should be done prior to flashing the build, so don't risk flashing the firmware now as it could brick the system. What I would suggest is, take a back up of your data (titanium backup etc.) and do a clean flash.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] p3dboard:
Lineageos 15 builds currently have a few bugs, such as Bluetooth hands free car audio systems not working for phone calls and one type of finger print scanner currently not working (goodix model).

For me, my finger print scanner worked, but the Bluetooth bug caused me to go to Lineageos 14.1. These bugs will eventually be fixed or worked around, and i will upgrade then.

The Lineageos 15 build compiled by the official device maintainer was quite stable for the week i used it before switching to 14.1.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] jekobay:
Hello guys, I have a problem during calls through bluetooth: the volume is very low. But it's very low only during calls, the bluetooth volume it's ok with the music or video or navigation info. Any ideas?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] jblanco93:
Same for me, but just after couple updates ago
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] jekobay:
Exactly, the same, the problem appears after a couple updates ago (3 if I remenber right).
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] thetriton:
I know there is a low audio fix.zip file available for lineage 14.1. I'm not sure if that will work for redmi note 4. Could someone confirm this?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] yerbio:
[MENTION=6070905]abhishek987[/MENTION] can you please fix the wrong Bluetooth mac address (00:00:00:00:5a:ad) in the next build? Thank you.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] slasherzx:
I have this problem with the recent build. I always use double tap to sleep with nova launcher + Greenify function. However, this time whenever I use the function and wake it up using my fingerprint. The pin/ password option also comes up. How can I only enable fingerprint without the password or pin popping up after waking it up using fingerprint.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Ash_p:
You need to change the unlock method to 'root' to unlock the phone with finger print after double tap to sleep.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] slasherzx:
Where can I find the option? Can you give me a more detailed explanation or step on how to do it. Thank you
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Ash_p:
Nova setting/Advance/ screen lock method
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] wasimsiwan007:
Anyone can gv me telegram link of this device group.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] aabenroi:
IPA_WS is eating my battery while idle.

I removed CellBroadcastReceiver and my battery now show almost flat line when I'm asleep, any other way to stop the wakelock?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Gogentle97:
hi, can i flash this ROM on redmi note4x(snapdragon)? it is also the same code MIDO.

thank you.

通过我的 Redmi Note 4X 上的 Tapatalk发言
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] JackSparrow17:
Yes u can....
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] petar.slavov:
Receiving phone calls

Does anyone else have problem receiving phones calls? People are trying to call me but they are getting "unavailable or out of range" message.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] andy21304:
Error:7

Hi all..

I kept receiving Error:7 when flashing this rom into my Redmi Note 4X.

It says Can't install this package on top of of incompatible data. Please try another package or run a factory reset.

Could someone help?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Sachin:
Eh, coming from Miui? Then boot to TWRP, take a efs backup, then wipe everything except Internal storage and SD card, first flash firmware.zip [Flash firmware, If you coming from Miui MM, don't flash if you're coming from Nougat based Miui], flash rom followed by Gapps. That'll works.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] andy21304:
It works!!!

Thank god!! I found the reason is I'm already in Nougat and I kept flashing firmware first.

Second, I tried to wipe everything except Internal storage and SD card.

Really appreciate your reply!!! It confuses me for a week!!!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Sachin:
Eh? I didn't get you. :p

What now?? , still error 7 or fixed it? By assuming your last word '' It confuses me for a week!!!''
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] andy21304:
Solved!!!!

It all solved!!! Thank you Sachin!!!!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Sachin:
Alright! :good:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Serdce:
Hi! prevent accidental wake-up is not working for me