yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] m.t.g:
I installed the latest 20230820 version OTA without any problems.

However, now I am facing display/lock-screen issues:

most of the times when I try to unlock (button or fingerprint) the phone does not properly unlock (or maybe it does but does not properly display?)

In these cases it only shows the clock and one solid colour (usually blue, occasionally yellow or red) in the upper half of the screen and stays unusable. Sometimes it will properly display/unlock after several retries but occasionally I have to force reboot (long press of power button) to "unlock" the phone.

Might be a hardware issue specific to my slowly failing phone - still I wanted to post this and wonder if others experience similar issues.

Thanks
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] barbe31:
Hi, m.t.g. Same installation than yours, but until now, no issue. I had bt problem with the previous version and update to latest version solved it.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] appman1234:
+1. Recently i encountered the same issue. Anyone has solution?

I think I will switched back to previous build if no solution found.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Lysolus:
I spent some time on this and the answer is: Yes! Here is how I get it done:

Clean flash of LineageOS as per instruction.

Install NikGApps Core.

Install NikGApps AndroidAuto Addon.

Nik Gapps Download: link

Nik Gapps Addons Download: link

@lipippo just FYI, it works perfectly fine. It's not as smooth as butter but it works. I use it for Google Maps and Spotify for most of the time.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] lipippo:
Interesting, but is your mido the 3GB or the 4GB variant? Also, waze is heavier than maps (or at least it seems so).
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Lysolus:
I have 3GB version.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Lysolus:
Can't find where to file a bug so I'm posting here.

There is an issue with statusbar layout where the clock position is set to center. Notification icons are shown with the gap from the left side. Please see scrennshot. Note that when there are some notification icons and you switch clock position from left to center notification icons are shown in correct position (very left side) but if you clean them and the new notification come it is shown in with the gap.

Spoiler content hidden.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] onlinearfan:
September Update Released from Zeelog :

https://github.com/zeelog/OTA/releases/download/85.0/lineage-20.0-20230924-UNOFFICIAL-mido.zip

Update Info :

- September security patch

- Synced latest LineageOS sources as of 24 September 2023

- Translation updates

- Re-add sim enable/disable option

- Fixed sound tile from previous release

- Fixed compass tile from previous release

- Add auto reboot option

- Display battery temperature in battery section

- Network traffic: Add auto measuring units (kb/s or MB/s)

- Bump max CPU freq to 2.2Mhz

- Update power profile
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] kobun7:
any alternative kernel we can install aside from the darkmoon kernel for los13? darkmoon kernel is not working for los13.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] wenhuay:
How about carrier aggregation(LTE CA) in 20230924 edition ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] x0xb0x:
Hello everyone!

Quick question:

Is this rom spoofed? I mean does it identify inside Google app menu -> Security etc as a Pixel device or as a Xiaomi Redmi Note 4X?

Spoofing has caused a lot of serious issues to many people when their rom gets outdated ... Google OTA will try to force push updates and everything goes berzerk: https://xdaforums.com/t/temp-fix-ro...ry-drain-due-to-google-play-services.4406617/

I personally had to mod framework.jar on crDroid 7.x to remove spoofing.

Is this the case in this variant?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] endera:
Is there anyone who has installed "radxa zero" or can tell me how to do it?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] poamber:
It identifies as Xiaomi Redmi Note 4.

Thanks for the info, btw.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] x0xb0x:
Also thanks so much for the response!

Your direct on-device verification is very assuring. In at least three other roms on different devices I faced and verified from logcat the dreadful battery drain issue. All due to Pixel spoofing.

FYI I downloaded this rom myself earlier today so as to study it a bit.

Ater manually decompressing all partitions and inspecting internals of build.prop files and framework.jar it comes out totally clean/unspoofed which agrees with what the Google app says on your phone.

Will flash it asap when I receive the phone.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] poamber:
In my experience, this ROM works perfectly, Zeelog did an excellent job with it. Very clean, lean and snappy. No problems with banking apps either. I think you'll enjoy it.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] RoG khenwaY:
I followed all the steps clearly but in TWRP> Advanced> Terminal > mkdir -p /data/media/0/

this command in not working and bcz of this i am not able to access the zip files of ROM and Gapps any suggestions what can i do ?

ADB Sideload ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] RoG khenwaY:
The command worked but still i am not able to acces the zzip files of rom and gapps pls someone help
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] bin/bash:
I also had problems with this part of the instructions. Creating the directory worked, but formatting data obviously deleted the files. Guess it is possible if you do everything right the first time, but can be annoying if you have to try multiple times. adb sideload was the first thing I tried because it's the method used for every device on the official LOS website. What made things easier for me was using the sd-card slot and placing the files there. Even if you format data, the data on the sd card remain untouched and it is possible to flash rom and Gapps from there. Maybe you have to mount it first in twrp recovery. It's been a while when I flashed the rom. However hope that helps.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] poamber:
so now you can copy the ROM and GApps (if any) from your PC and proceed with flashing, right? If you still can't for whatever reason, using an external SD card with these files as bin/bash mentioned and flashing from there is a nice alternative. I haven't tried adb sideload on this device, so can't say for sure, but I see no reasons why is shouldn't work if you decide to go this route.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] BigDaddyUnique:
[ just for inforamtion ] i use SD Card too.. its easier when it comes to flashing multiple roms in month, remeber also u can use USB-OTG [Flash memory] formatted via FAT32 fs
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] onlinearfan:
Update for October

=======================

Lineage-20-Android 13- 20231008-UNOFFICIAL mido- Vanilla by Zeelog

⛔️ CAUTION ⛔️

Follow Installation Instructions for clean flashing or coming from another rom.

Link : Click Here

Changelog-

- October security patch

- Synced latest LineageOS sources as of 08 October 2023

- Add Moto Dolby Atmos

- Add back unlinked volume switch

- Address various CVE vulnerabilities

- Switch/update to QTI Thermal HAL

- Switch to QTI Health AIDL

- Update surface flinger offsets

- Update FCM level to 4

- Add deep sleep info (about phone section)

- Fix meminfo text on light theme/wallpapers

Recovery : TWRP A13 by Zeelog

Gapps : NikGapps Core

ROM Download: GitHub Link

MD5:cde9fc99dd0abe8e22dd678c2927dea7

LOS Mido Group : @LOSRN4

Support my efforts: Donate to Zeelog
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] unicunic8:
is the max CPU freq to 2.2Mhz, sir

Ok, good job, good rom sir

Waiting.....Upside Down Cake
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] thjbd:
Thanks zeelog to keep updating.

I have 2 questions:

1. How to export this Rom's setting to import after flashing this Rom again?

2. Everytime I update this Rom via OTA device gets slower. How to solve it?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] xrucb:
After a couple years using a few iterations of this ROM, I "finally" found a bug I believe... If I go on my contacts and try to call someone, it does nothing. I can only call someone by copying the number and then dialing it, or by calling someone from the call history... it's very strange and I'm not sure what to do except another clean flash, but considering the phone now belongs to my mother (she's not tech savvy and this is her first smartphone, and not someone who can copy and dial a number if you know what I mean...), I'd like to avoid this as much as possible. It started doing this today, all of a sudden... she had already called me today, before this started happening. Restarting, shutdown, didn't solve it...

Basically:

Can only call someone by using the call history or manually dialing a number. Can't call by using the contacts app neither by selecting the contact from the dialer app.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] xrucb:
PS: I was going to install some 3rd party dialer app just to test if it would fix it, thought maybe it had something to do with the default dialer, but now all of a sudden it's all back to normal and I can call people from the contacts just as usual (using the default dialer/contacts)... it's very strange indeed, considering I even restarted and shutdown the phone before and it had not fixed it... if it happens again I'll try a 3rd party dialer app and let you know if it works while the default one doesn't, just in case someone else gets this "bug"? too... :unsure:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] sanctitude888:
I have minor issue with latest update concerning the screen when charging in off state. When plugged in, the rounded charging indicator shows up for a moment (it replaced stock mido's charging animation on latest update and i'm completely fine with it), but after it disappears the screen does not go into pitch black (completely off). Instead it shows blank screen but still light up, unless the power button gets pushed. Anyone experience this? Can we get a fix?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] DS-1:
This rom is very, very smooth!!!

I have two issues:

- notification on apps like WhatsApp, Instagram, telegram or my bank app appears only when I open the specific app (it's like the phone goes in a sort of deep sleep);

- sometimes apps like Gmail or chrome close by itself.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] onlinearfan:
Big Update : 😎

______________

Lineage-21-Android 14- 20231224-UNOFFICIAL mido-Vanilla by Zeelog

Flashing Steps:

-Backup your internal storage.

-Flash A14 twrp by zeelog.

-Flash Rom + gapps (if using).

-Format data.

-Reboot

Changelog-

- LineageOS 21

- Android 14 QPR1

- December security patch

- Initial release

Recovery : TWRP A14+ by Zeelog

ROM Download: GitHub Link

MD5:852199ea63e6472c6fb4674461bc6239

Gapps ; Nik Core or Bitgapps or Mindthegapps

LOS Mido Group : @LOSRN4

Support my efforts: Donate to Zeelog
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] sanctitude888:
Hi, i've tried the LoS 21 version and completely pleased with it. However, i've done stupid things that led to stuck on twrp logo bootloop. The device won't turn off, but able to enter fastboot. On last attempt, since it was not connected to a computer, it turns itself off. I have flashed twrp once more but it did not do any good Should i use the previous twrp from LoS 20 to wipe anything?

Kindly advise how to proceed, i intend to keep this rom and not interested in going back to stock. But if that's what it takes to fix it, then i don't mind at all. But it would be great to have this rom up and running again without having to run lengthy process.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] willymoto:
Try boot into recovery without flashing via fastboot command:

fastboot boot your-twrp-file.img

Then do your wiping and re-installing / upgrading TWRP to Zeelog's latest A14 version.

Source: https://android.stackexchange.com/questions/201212/how-can-i-reboot-into-recovery-from-fastboot
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] sanctitude888:
Well, thanks, will give it a try for sure. Hopefully, it'll work nicely. Update later on.

Update :

I ended up flashing stock, only then the command would work (the same situation, stuck in twrp logo prior to flashing stock rom). It's still very useful though since stock rom will revert back to stock recovery after twrp flashing, so i just flashed recovery image through recovery boot method. A14 is back in business, so thanks again. Cheers. Happy new year all.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Maulaf:
Does anyone know, if a dirty flash coming from the last Lineage 20 to the new Lineage 21 is possible? I know that a clean flash should be the preferred way and that even when a dirty flash is possible, no one would guarantee that it works. But is there any chance that a dirty flash works?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mike301:
I tried it, guys! - And it works for me!

I did following steps:

1. Update TWRP to latest version 3.7.0_12-0

2. For security I took a full backup in TWRP

3. Format Cache and Dalvik

4. Install the latest Image lineage-21.0-20231224-UNOFFICIAL-mido

5. Install the latest GAPP-Image (For me: NikGapps-seasky3246A14-arm64-14-20240105 - I have installed NikGapps in Android 13, if I flashed lineageos 20!)

6. Format Cache and Dalvik

7. Reboot into System

8. Wait... (System will be boot in some time. Perhaps 5 minutes ... - In that time the bootlogo appears.)

9. Ready! Have a lot of fun! (For me it works!)

- No Warranty !!! -

(Sorry for my english !!!)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] unicunic8:
Yes, flash directly from TWRP Lineage 21, don't clear anything (dont clear Format Cache and Dalvik) ,don't need to install gapps, just reboot
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] sanctitude888:
Just wondering if anybody is having issue with auto brightness after flashing LoS 21?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Awake88:
I've tested it on my phone and it works fine, I didn't faced any issue.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ad2048:
Could you help me? I had the latest lineageos for Android 13 (lineage-20.0-20231008-UNOFFICIAL-mido).

I wanted to upgrade to Android 14 (lineage-21.0-20240123-UNOFFICIAL-mido). So I downloaded that image from GitHub, and downloaded TWRP 3.7.0.12-0-mido A14+ and downloaded NikGapps Core ( NikGapps-core-arm64-14-20231107-signed.zip)

1. I put the three downloaded files into sd

2. installed the TWRP image to upgrade it from the old android 13 TWRP and rebooted to recovery)

3. formatted data only and rebooted to recovery again.

4. wiped (dalvik cache - cache - system - vendor - data - internal storage) and rebooted again to recovery

5. Tried to install lineage 21 image, and I receive (error installing zip file) error message

6. tried to move the image to internal storage and install it, but same error.

what should I do?

EDIT

I forget to mention that when I had this error when flashed TWRP

error opening 'sdcard1/twrp_3.7.0_12-0-mido.img'

(no such file or directory)

[image flash completed]
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] T3sla:
Join telegram group mentioned in first post and get directions there.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ad2048:
I found that the TWRP image that I pasted in my external sd card has 0 bytes in size! I don't know why!

1. So, I pasted TWRP image again, I pasted the image again to external sd card. And installed it from inside TWRP again and there was no error while installing it.

((the twrp image was forwarded from a member inside the linageos telegram group and it's uploaded here https://drive.google.com/file/d/1eWw4V6SMHrJugv7jObQ9PsykuXguwRhV/view?usp=drive_link but I guess the problem is from my side because it looks like the twrp image I downloaded from github didn't transfer correctly to the external sd card.))

2. Then rebooted to recovery and formatted data and rebooted to the recovery again.

3. Wiped (dalvik cache - cache - system - vendor - data - internal storage) and rebooted to the recovery again..

4. Tried to install LinageOS from external sd card, I received the same error before. So I copied LineageOS and NikGapps from PC to Phone Internal Storage while connecting it to PC (When I copied them from PC to Phone, it copied them to /data/media) and flashed it successfully, then flashed NikGapps, and rebooted to system, and now it's working.

Thank you all.

Thank you so much.

EDIT:

I noticed that the twrp image in github is 35MB while the image provided by the member in telegram and uploaded it to the previous google drive link is 65MB which is strange, but I flashed the last one anyway.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] balimbul:
hi, could anyone help me to activate mtp mode for my mido, using lineage-21.0-20240121-UNOFFICIAL-mido, everytime i connect to my pc nothing happen, only charging.

already set file transfer in dev option-->default usb config

thanks
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] DerMetzgermeister:
Did you try a different USB cable?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] stefaan6:
Hello, I m a newbee here and have still the latest original stock rom android 7. I would like to install the lineage 20. In the instructions I see that you have to reboot to recovery after format AND after swipe? On many youtube videos they don't do this, so why are these reboots necessary? Next question is that you also need to swipe the internal memory, again on many video's they dont, so I m asking why we need to do this? Many thanks
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ad2048:
I think what you saw in YouTube is related to official roms of LineageOS, but this rom is not official.

(This is a guess) and maybe the changes that the developer made requires what you mentioned to install the rom properly.

You can join the telegram group of this rom https://t.me/LOSRN4 and ask there. Also you will find there the steps on how to install the rom (which you should follow because it's from the developer itself)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] stefaan6:
thanks! After some trial and error in TWRP I managed and everything works fine out of the box. the Redmi note 4 works MUCH faster than on my stockrom and battery life is better!! All the apps are working great, including all banking apps and even itsme (Belgium). Only WhatsApp remarked that I m not on offical ROM (so no support), but works fine.

I found small bug, when changing audio level (f.e. on FM radio), it always goes visually to zero level, nevertheless sound level doesn't change and is adaptable, strange.

I now discovered that my FM radio has RDS data (not in stock ROM!). Also I have the option in bluetooth to select AUDIO HD Aptx when connected, where else the redmi note 4 has officially no Aptx . Very strange but great! Also headphone volume goes much louder than before, so stronger amplification and my screen is suddenly much brighter than in the stock ROM. Also IR port working perfect (I use it a lot). Great ROM, this 7 year old device is ready for another few years!

Another question, since I have the 16Gb version and limited space, is it possible to move installed apps to the external SD card on this android 13?? With all my apps installed I have still 5Gb free, but anyway.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ad2048:
Yeah, the rom is great and unlock a lot of features for such old device.

I don't know about the ability to install (or move) apps to SD card. their group in Telegram is active and they could answer this question.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] JayReddy:
Just donated thank you so much Zeelog & the community for maintaining the Lineage Mido ROM. Lineage 21 has been a flawless experience so far & super excited to see Dolby Atmos recently included as a feature !!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Shred00:
Can the recently released lineage-21.0-20240210-UNOFFICIAL-mido be dirty flashed over the lineage-20.0-20231008-UNOFFICIAL-mido release?

LOS team are reporting that official 21 builds can be dirty flashed over 19 and 20 devices. Just wondering if the same is true for this mido unofficial.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] appman1234:
I did dirty flash over lineage 20 and is working well. Hope this helps
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Shred00:
A dirty flash here seems to have been mostly successful also. At least at initial inspection it was.

My launcher/screen layout seems to have gotten wiped/reset and is back to stock/vanilla, sadly. Now I have to remember all of the apps I had on my home screens and where they were. :-(
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Shred00:
Do the 21.0-* builds have Trebuchet baked into them? After flashing lineage-21.0-20240210-UNOFFICIAL-mido I only seem to have a choice of the Pixel launcher. No Trebuchet.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] GSUKeitarou:
I got this after many tries trying to do a dirty flash... I'll try a clean flash later (maybe during weekend) as i'm using the note 4 as "work" phone

*EDIT: Dirty flashing back to Lineage 20 had no issues, other than losing some GAPPS

2nd edit:

Alright, dirty flashing lineage-21.0-20240210-UNOFFICIAL-mido got me that error shown in the screencap, but using lineage-21.0-20231224-UNOFFICIAL-mido instead worked perfectly. Rebooting to TWRP and trying 20240210 got me the error again, so maybe i got a bad .zip file. Updating from the OTA to said version worked fine. After that flashed the nik-gapps and everything was working normally, no data lost.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] henonchschonleinpurp:
No man.. It's the pixel launcher for me too.. Los21
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] henonchschonleinpurp:
-The App2sd pro is a thing of the past dude.. Last updated 2018.. Didn't work for me, only crashes

-System app uninstaller is a working app for rooted devices man.. Just give a try.. The other day, in my other device(sam j2) - I uninstalled chrome, for via launcher.. And u can try swapping any big apps (eg: Google contacts) for lighter 3rd party apps. After uninstalling an app like chrome, the system will lag initially - but would later adapt itself Stefaan.

-If storage becomes critical, u can just flash the lineage os without Gapps. Cheers.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] henonchschonleinpurp:
Same here.. It's a general issue of los 21 I reckon(also in my one plus 6t los21).

-I transiently solved it. It has to do with device drivers. device manager --> portable --> mtp device -->. Update driver, and the computer read my device for some time.. But problem recurred after reboot. There were few other methods from few sites.

-I just transfer files via sd card/airdroid. This issue of updating drivers is too complicated/time consuming for me. Cheers
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] thjbd:
Which lineageos version is fastest for Mido?

Version 21 lags for me.

Does version 18.1 support setting navigation key shortcut and fast enough for daily use?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] tangcla:
I've gone straight into recovery, done a wipe on system, cache and data, then tried to install the latest LineageOS 21.0 and 20.0 build. After the first reboot, it takes me straight back into recovery.

What am I doing wrong?