yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] henonchschonleinpurp:
Before flashing mido's latest recovery (twrp..-12)..​

If you are initially on miui stock/any custom ROM - install twrp for that particular firmware and format data, wipe partition,system,internal storage, vendor.

Then flash mido's latest twrp12 under fastboot​

Then u may do the usual - 1.enter the newly flashed recovery, format data, wipe

2.reboot recovery- install ROM, install Gapps(NikGapps-latest-core, worked for me)

3. Reboot to system

So coming back to your question, You did everything perfectly, but I doubt if you did a good clean flash

-ensure a perfect clean flash

Hope that helps..
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] DerMetzgermeister:
Did you formatted the data partition?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] tangcla:
Yes, I did that too.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] tangcla:
I was already on Pitch Black recovery.

But redid it by using the modified twrp, all the wipe processes, and all appears to be well now.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] DerMetzgermeister:
From the OP flashing instructions:

2.Flash TWRP

• Flash the new TWRP Recovery made by Zeelog : ( Mandatory)due to various changes in fstab file and encryption implementation, you are required to flash the new TWRP of which the link is undermentioned

I took my chances with OrangeFox recovery because it's based on Zeelog's TWRP and it worked for me flawlessly.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] tangcla:
Thanks. I did it all, following each step (twrp and deleting/formatting) and it is booting now, it seems.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] henonchschonleinpurp:
App2sd might work after formatting sd card to the right data format.

In detail by a specific thread:

Link2SD

Hello! On lollipop i could use link2sd, but on marshmallow when i try create script i get message "mount: no such file or directory". How I can repair this? My phone is Karbonn Sparkle V

xdaforums.com
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Maulaf:
My mido has been running great for a few weeks on lineage-21.0-20240210-UNOFFICIAL-mido. A few reboots in the meantime haven't been an issue - everything was working flawlessly (Including GApps and Magisk).

Today I just tried another reboot with full battery, but the device is now stuck in a bootloop. I can enter the recovery, but I'm not able to boot it to the system.

The only thing that has changed in the meantime since the last reboot were some Play Store updates for Google apps.

Could that be the cause of the issue?

Does anyone have an advice if anything might help that does not include a clean install? Maybe reinstall the ROM and GApps?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] pukalic:
If you have Orangefox, it is caused by this. You can find how to fix this problem on YouTube. Then install twrp from zeelong
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Maulaf:
It's not Orangefox, I am on TWRP 3.7.0_12-0 (If I remember correctly that is the Zeelog version) since before installing the first LOS 21 release.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] pukalic:
Then I don't know where the problem could be, everything is going well for me
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Maulaf:
Thanks @pukalic anyways.

Does anybody else have a suggestion? Or does anybody have the same issue?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] unicunic8:
I suspect, the latest Gapps or Magisk, a temporary solution, re-flash TWRP or Orangefox via Fastboot, and flash Lineage 21 and clear cache, format data
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] yapping8624:
Hello, I just updated the the OS. I had an update of around 1gb and since it updated, I have getting error regarding Google Play services stopped
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] yapping8624:
After constant errors regarding google play services I flashed the rom again. Now, during the start scene I am getting ANDROID SETUP KEEPS STOPPING

Can anyone help me please?

Using lineage-21.0-20240415-UNOFFICIAL-mido
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ferdian14:
where i can downloadn android 13 release 6 jan 2024? i cant found it
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] T3sla:
Help on official telegram channel, link in first post.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] VshnuP:
Can anyone confirm whether LSPosed is working or not in the latest ROM? Mine is not working. The shell keeps stopping while clicking on the LSPosed notification
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Reynald0:
That is because it needs a commit that wasn't merged: https://github.com/LSPosed/LSPosed/issues/2869 in order to avoid a series of problem with QPR2, you should remove your current LSPosed and switch to a fork that has that commit merged to support QPR2 changes such as https://github.com/mywalkb/LSPosed_mod
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] tM&M:
This ROM seems ok but I wouldn't call it bug-free. One thing I would like to opt out from is the disk encryption, as it slows down the phone quite a bit. Android 9 was much faster without encryption compared with it enabled. Is there any way to disable?

At first boot, I had to clean Play Store cache because it was crashing after the first package update. Seems fine now.

The volume widget also doesn't move if it's in silent mode, even though I can change the sound with the volume buttons.

Performance is still rather good for such and old phone, though I installed Nik Go version. I find it better than a 18.1 ROM I had installed a while back, so that is very good.

The charging stats on the lockscreen is also very nice, as it can help diagnose bad charging cables very quickly.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] unicunic8:
My suggestion is better, install it cleanly and format the data
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] HitEsh786:
how to disable the encryption by default any idea?

I am greatful for the rom.Thank you
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] nAFutro:
really awesome rom. (y) Only thing holding it back is the added dolby stuff. It consumes huge amount of cpu time (even when turned off) and freezing the dolby packages crashes the phones after 5-10 seconds.

The cpu time for android.hardware.audio.service seems rather high although I don't have exact numbers from other roms.

Would rather have seen the rom without it so I can use Viper4Android (which is pure 🦻

:love:)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] idkwtvr:
Quick question:

The instructions are for Lineage 20, but latest is lineage 21

The nickgapps-T linked is likewise for lineage 20 (a13), I imagine I should obviously flash nickgapps-U if I install the latest lineage 21?

Also do you guys recommend to go for A14 or stick with A13?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Maulaf:
Although it's probably not relevant for you anymore: I would take LineageOS 21. You have to use the appropriate Android 14 GApps package for LineageOS 21, not the one for Android 13.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] RCkiller:
There is no longer a way to pass device integrity, because apparently Google now checks the build signature (test-keys in this case). Is there a possibility to switch to private keys in the future?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] barbe31:
Did anybody try to install the new LOS 21 version ? I couldn't update from the 20240415 version.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] xxPROxx:
same here, package is downloaded from "system" settings, but it's not possible to update
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] barbe31:
I don't understand the underlying technology. I couldn't update from local image or from OTA.

Finally the only way I found is to update from TWRP. It works and I'm just trying testing
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] yapping8624:
Can you share the exact process how to update through TWRP and can you answers some questions too?

1. Did you loose any data after updating?

2. Is your google services working without any error after update? Because 2 months ago I updated via OTA and my google play services stopped working and used to give constant error pop up message so I had to reinstall everything. Also, TWRP got locked encrypted after the update.

3. Is TWRP encrypted after the update?

4. Can I use the last version on my phone if I don't want to update?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] barbe31:
hi,

The phone is a spare phone and will be for my son for the next school year so I never installed anything except LOS.

1. Can't answer.

2. GS are working. I could install apps and use them. No issue or message.

3. I suppose. I had to enter my passcode to enter TWRP (not tech saavy so I hope you have your answer)

4. Latest version of what ?

For the process. I just downloaded the latest file on Zeelog github and install it via Install option in TWRP
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Awake616:
I've tried last rom installing it Clean flash because OTA doen't works, the wifi connection seems to be buggy and can't receiv data.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] xxPROxx:
yup, I've also done clean flash from Orangefox recovery, wifi network name is saved, but can't connect
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] manizuwo:
same wifi problem here, it seems related with the security level of the network: in my Fritzbox router, if I set WPA2+WPA3 security, i cannot connect, if I set WPA2 (CCMP), I can connect
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] xxPROxx:
yup, you're right, when I switch WPA2+WPA3 to WPA2 only, then it works :) thx for info
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] xda_fuzzylogic:
Hello @zeelog,

I only used WPA3 only in the WLAN router the whole time and it worked perfectly under the Rom lineage-21-20240415 unoffical-mido.

Why does the new Rom no longer find the WLAN with WPA3 only?

Do I now have to switch my router back to WPA2 only?

Can this be changed back to the previous version with WPA3 only?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] androm4x:
After A14 QPR3, WPA3 is no longer supported by mido's legacy wifi chip.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] xda_fuzzylogic:
Hello @All,

the problem with WPA3 only is solved.

@zeelog has released a new update. This means that the routers can be set with WPA3 only again.

Everything is working perfectly again.

Releases · zeelog/OTA

Contribute to zeelog/OTA development by creating an account on GitHub.

github.com
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] RCkiller:
The reason you could not use OTA with the previous build is because it was signed with different keys, not the test one as always. Therefore, the verification failed and the only way to update was through recovery. The upside is that now the ROM passes basic and device integrity again. It was mentioned in the changelog, please read it each time before flashing.

OTA should work normally now.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Otelo:
Can somebody point me to step by step instructions that a complete newbie like me can follow to successfully flash this on a stock locked Note 4 running Android 7 ? Was going to experiment on my own but reading about all the issues mentioned makes me think twice.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] tM&M:
Hey all,

I tried Lineage 18.1 and it had some bugs and was very slow compared to 15.1, which I had been using before and was rock solid. Have there been improvements or should I expect this to show the phone's age?

Best regards
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] DerMetzgermeister:
Can this ROM be rooted with Magisk? Any issues?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] local3142:
Hi, I've been trying to build my own version of this OS for a few weeks now using docker and no success. Can you please release MicroG version? Latest release I found of LOS for MicroG for mido is android 9, which is hella old
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] schlubbi:
Followed the flash instructions word by wird.

After reboot to system in restarts a second time and i end up in TWRP.

Amy Idea what could bei wrong Here?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] barisTom:
how to install android auto? Error 22

edit

installing full Nikgapps today. Android auto won't connect

edit

fresh install full vipe. Android Auto OK
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] caxhatq:
Very fast rom but unfortunately some problems with random reboots... here is a logcat snippet (could it be the reason?):
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] bravery_gnud:
thank you, nice ROM <3 , but unfortunately no app clone :D
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] good boi:
rom is nice but hotspot and wifi doesnt work when i enable it, it always errors
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] apoorvsxna:
Can someone from India please confirm whether mobile data works fine on this ROM?

I installed this yesterday following the steps word-by-word and mobile data didn't work until I changed the APN settings(airtel). Even after changing the settings, I find the network speed to be very slow.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] pierella:
ciao a tutti, sono nuovo qui e volevo aggiornare il mio Redmi 4 note con snapdragon 625 da android 7 a 13. Chiedo se ci sono guide specifiche, se posso usare il play store dopo, consigli sulle procedure. Grazie in anticipo .. Spero che questo difetto di google translate funzioni. Buonasera a tutti.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] moradsharm:
is there is a way to download google play store?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] pierella:
Spero davvero che qualcuno confermi che è scaricabile, altrimenti per me non avrebbe senso
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Awake88:
Ho installato questa ROM in un Xiaomi Note 4 che era fermo all MIUI 11 (Android 7) e il telefono funziona alla grande (fluido,niente bloatware Xiaomi,consumo batteria ok), ovviamente si possono installare le app google con il playstore , da TWRP (quello linkato per Redmi Note 4 in questo topic) e installarlo subito dopo la Rom in questione.

Lo zip con le Gapps lo trovi qui https://nikgapps.com/downloads ( vai su Release-NikGapps-T--08-Sep-2022)

scegli la versione che ti sembra più consona al tuo utilizzo (io ho installato la omni) basic o omni vanno bene secondo me, poi magari le app che ti interessano le installi da playstore.

Mod translation:

I installed this ROM in a Xiaomi Note 4 which was stuck at MIUI 11 (Android 7) and the phone works great (fluid, no Xiaomi bloatware, battery consumption ok), obviously you can install google apps with the playstore, from TWRP (the one linked for Redmi Note 4 in this topic) and install it immediately after the Rom in question.

The zip with the Gapps can be found here https://nikgapps.com/downloads ( go to Release-NikGapps-T--08-Sep-2022)

choose the version that seems most suited to your use (I installed omni) basic or omni are fine in my opinion, then maybe you install the apps you are interested in from the playstore.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] pierella:
Grazie per la risposta. sai che Android auto funziona?

Mod translation: Thanks for the reply. do you know that android auto works?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] belzibi:
Unable to flash firmware -> fw_mido_miui_HMNote4XGlobal_V11.0.2.0.NCFMIXM_83170d3e3a_7.0.zip

Also... Problem with cellular data. It showing LTE but no internet... Unless I change Preferred Network Type to GSM/WCDMA preferred Or sometimes it allow to use GSM/WCDMA/LTE...

(no problem with mobile radio with my provider/SIM on OnePlus One...)

Edit: Unable to fix EFS from Bootloader Mode using Fastboot commands.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] pierella:
I hope I can still help, I have the same phone as you and just want to figure out what to install. I found the Lineage file and then there are 2 source code (one zip the other tar.gz) must these be installed as well and then Nikgapps? Thank you so much.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] pierella:
Hello everyone, I'm asking for a detail as an inexperienced person. I downloaded the files, but there are 3 of them. ( Lineage 20.0 -Source code in zip and Source code in tar.gz) I wonder if you have to install them all together before installing also NikGapss? Thanks again for the help, I hope to be grateful .
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] peter.xda:
@belzibi

If you are sure that you have a MIDO device and the correct firmware zip for it, open your zip file and find a script:

\META-INF\com\google\android\updater-script

Remove the whole line beginning with getprop("ro.product.device")...

Save the zip file, disable zip signature verification in TWRP settings and try to flash again.

You have a serious problem with your device however. The above steps are only necessary because the script doesn't recognize that you have a MIDO device. Probably your device spesific partitions (modemst1, modemst2, persist) are corrupt. Can you see your IMEI in phone settings?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] belzibi:
IMEI (sim slot 1) - ok, IMEI (sim slot 2) -ok. I mean - last two digits are different, that's all.

CPU is S435.

I believe that there is a small possibility, if I remembering correctly, that I had forced installation of TWRP, and then of this OS, when my phone was "unlocked" but I had not cleared the binding between phone and my Xiaomi account... Hard way...

First I had used twrp-3.1.1-0-mido.img, when succeed -> twrp_3.7.0_12-0-mido.img and then -> lineage-20.0-20221109-UNOFFICIAL-mido.zip + NikGapps-basic-arm64-13-20220908-signed.zip

Also, when I tried to fix EFS from TWRP recovery -> terminal -> dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1 - it give me some message about no success - there is no more space on device... Something like that.

edit: Firmware - well... Not 100% sure -> tried to use this one https://xiaomifirmwareupdater.com/firmware/mido/stable/V11.0.2.0.NCFMIXM/

fw_mido_miui_HMNote4XGlobal_V11.0.2.0.NCFMIXM_83170d3e3a_7.0.zip
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] wooque:
I switched from Lineage 18 (Android 11) to this ROM (Lineage 20, Android 13) and I regretted it. Lineage 18 (Android 11) worked much better.

Apps are slower to start and Android 13 is more aggressive at unloading apps even if I have plenty of free RAM (as shown in Developer options -> Running services).

I have around 800MB RAM free when I take cached apps into account, but still Android 13 unloads apps and only keeps 2-3 cached, so I'm frequently faced with cold starts which are as well slower than Android 11.

Pure pain
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ivonavra:
Hello, firstly many thanks for this LOS distro, it's really nice. But I found three bugs, as far as I know. Firstly, somehow default charging doesn't work, the phone still charges, but at low power (4,5-5W). Turning smart charging off doesn't work. Secondly, when an app is installed outside Play Store e.g. through Package Installer, default launcher doesn't make an shortcut automatically at desktop, even when ,,Add shortcuts for new apps" is turned on. When I used LOS 19.1 the launcher did this automatically. Was something changed from that time? Thirdly, Screen share doesn't work. Even if device visibility is turned in, it doesn't find any wireless screens. Another thing I encountered, is that after first boot and settings, Google search bar is present in the dock at the bottom in the Default launcher. In previous LOS distro (LOS 19.1, Android 11) it wasn't. I used OpenGapps though. Did I miss something that was changed either in LOS or Android that forces this widget to be present. Or is it due to some settings in GApps, that should be changed in GApps config? I know that there's a switch in Dock settings, but I'd like to be disabled from the beginning. Again, Many thanks for your work and effort.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] nortonmapes:
May I know how much is the system storage used by this ROM if you do the clean flash?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] wooque:
On my phone, after clean install and all the apps installed 10GB is used - 7.2GB System, 3.2GB Apps
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] peter.xda:
@belzibi

These are 2 completely differnet Phones:

MIDO: Redmi Note 4(x) with Snapdragon 625

SANTONI: Redmi 4(X) with Snapdragon 435

Which one is yours? Probably your are in the wrong forum, if you say you Phone is SD435-based.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] belzibi:
EDIT:

I am surprised... Wrong Intel...

CPU-Z showing 625... 3GB/32GB, Board MSM8953, release date: 2016-08-01...

CPU-Z VALIDATOR

CPU-Z VALIDATOR is the world-recognized standard for system analysis & performance validation

valid.x86.fr

Double check - Aida64 showing the same cpu Sd625 (msm8953). Adreno 506.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] anandsvm:
Biggest and Stable Update is here

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

- December SP

- Synced latest LineageOS sources as of 24 Dec 2022

- Synced Kernel with latest Google android-4.9.336

- Fixed reboot issues related to Wi-Fi SSID length

- Fixed reboot issues related to charging

- Add lockscreen weather

- Add weather tile

- Integrated hotspot in Internet tile

- Add more screen recorder options

- Add firewall status bar icon

- Add notification sound panel in volume panel (when unlinked)

- Add compass tile

- Launcher: Add memory info bar

- Add support for Micro-G

- Add screenshot tile

- Add GameSpace feature

- Fixed L2TP/PSK VPN

- Fixed jelly browser download dialogue

- Fixed crash with Clock analogue widget

ROM Download: GitHub

MD5: f295c69c640f7c64ebd5a65bed871c5e

Support my efforts: Donate to Zeelog
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] peter.xda:
@belzibi

The back camera of Redmi 4x SD435 is located in the top left corner, while on Redmi Note 4x SD625 it's in the middle. Check this and make sure, that you phone is Redmi Note 4x SD625.

The firmware update from the phone manufacturer doesn't contain modemst1 and modemst2 partitions. They are different on each phone. I don't know why you were trying to erase them. I read somewhere that they are recreated if they are erased, but I have never checked this. If you are sure that they are corrupted and you have no backups, then you have no other choice as to erase them and hope that they will be recreated. Their size is 1.5 MB. You complained about dd errors, so try again by specifing the block size:

dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1 bs=1536k count=1

dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2 bs=1536k count=1

Modify the file \META-INF\com\google\android\updater-script as I wrote previously, disable signature verification in TWRP settings and try to flash the zip file once again.

Edit: 3072 sectors was wrong here, I corrected it. You should use 1536k.