yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ceza1380:
Talking about official nightly builds right? I don't know how this much difference from other ROMs. Can we use Substratum rootless?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Tazer93:
Yeah i use official nightly build
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] DrDOOM4U:
Just flashed this ROM. Awesome work developers. Thumbs up. Saw everyone saying LOS is good, but I didn't know it was this awesome.

Is volte working? Because I do not see volte in status bar (not a problem but just curious)

How to do carrier video calling? Not able to do because whenever I do video calling it just automatically switch to regular call and also has no switch to video call button in call screen.

Any help would be appreciated.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] nic.dnb:
Also wanted to thank the devs for a great job. Just dirty flash updated from LOS 14.1. This is what I did:

1. Flash Orange Fox recovery latest from official site (R8.3)

2. Wipe system, Dalvik, and cache

3. Flash ROM latest nightly

4. Flash firmware V9.6.2 global

5. Flash gapps (pico)

6. Flash magisk latest

Everything seems to be working great except I had to redo my homescreen, all the widgets were gone after update.

Also I had a question, I notice trebuchet no longer has the option to protect folders with swipe pattern or fingerprint. Can anyone recommend any alternatives?

Thanks again for a great rom!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Walden0:
Here, you can try it this way.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] DrDOOM4U:
I meant when I press that video call button, video appears but as soon as the other person answers the call it will go to voice call and not video call.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Walden0:
Are you sure the other person's device has vilte?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] DrDOOM4U:
awsome bro. actually the other person whom i tried calling had asus zenfone max pro m1. i just came to know that it has a bug and cannot accept or do carrier video call. i tried calling my friends phone (mi note 5) and it worked. sorry for trouble bros. :p
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Walden0:
Np XD
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] el_grande_padre:
Can you post a screenshot? Because I can't see the option "more".

I literally can't get Google Feed/Discover get to work with stock Trebuchet Launcher.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] sattract:
Will it support f2fs
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mcflyle:
Mehr (german) = more (english)

Have my phone language in german, maybe it's different in english?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] DrDOOM4U:
Audio and music in this ROM is awesome. Sound is so rich and clear. :good:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ismail.ahmed84:
face lock now working
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Moksu:
I had like 3 different launchers installed when I upgraded to 15.1 check if you got the correct one. [emoji846]
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mcflyle:
Trebuchet, Pixel and what was the third one?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Moksu:
Some Google launcher
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] beauty2:
please help audiufx is not working since i installed this rom. this is first time i installed custom rom everything is working fine except changing equiliser settings doesn't change sound output. i tried playing music youtube and wynk music
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ismail.ahmed84:
Face unlock option is not available i am using micro gapps why?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mcflyle:
In some postings before you can read, that just installing the same gapps package again can solve the problem. Did you tried it?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ismail.ahmed84:
yes i tried to install same gapps again after that i have wipe all data and install fresh LineageOS 15.1 with stock gapps but again face unlock not available
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] DrDOOM4U:
How to update vendor image? (Noob question please don't mind).
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] TXUTXI72:
Is anyone experiencing the issue (not sure if an Android or a Lineage 15.1 itself issue) that the search function will be useless (won't work) after making an update, unless/until you do this afterwards: Settings > Apps & notifications > See all apps > Settings > Storage > Clear Data.??? Because I am. And not only me, and it is not only happening with Mido: https://www.reddit.com/r/LineageOS/comments/9u44if/settings_search_doesnt_work_since_the_last_ota/ So, is this a bug? Of course I made a clean installation following the OP'S instructions...
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mar.ur:
There is vendor inside each treble rom. Why do you want to update vendor image? What for?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] lipippo:
Yes, it's a known issue (don't know if somebody is working on it though).

No need to clear data, it's enough to switch the language (in my case I have 5 languages and just move the last one as the first), close the settings app (or just go to the home screen), and switch the language back.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] TXUTXI72:
Thanks a lot for your answer.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] DrDOOM4U:
Because I saw this somewhere in settings
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] eliezerjk90:
The security patches will be updated along with the rom. So you don't really need to update vendor partition. Just watch the changelog and update the rom when security patch is bumped.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] krishna.rag:
Did you find any solution for this?

I am also facing the same but I am not using xposed.

In all the roms, the fingerprint is not working (except the miui)

Thanks
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mcflyle:
Updated firmware?

For me it works fine.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] krishna.rag:
I tried 9.6.6 global, 8.2.2 developer, 10.1.1 global and 10.2.2 as well but non of them seems to be working.

I even tried to flash the miui through mi flash but still it's not working. ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Shivver:
I have an issue with "can't connect to camera" when trying to open the stock camera app. None of the other applications are working neither.

Any idea?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Demodroid:
Restart your phone, it's a bug with the API which locks Camera access sometimes.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Shivver:
Thank you but I did it already few times and it didn't work.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] others139:
i have a question . what is this lineage os 15.1 rom?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] SafwanMcQueen:
Anyone has pixel 3 Google cam for mido

Link please.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] hamzaalijoiyah:
Maybe I'm living in a cave? Has it been ported to oreo?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Nicklas Van Dam:
it's lineage 15.1 build with (extended) or have additional feature on it by alexey, it's unofficial build from him
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ghsabyasachi:
Hi, I'm new here. Can anyone please tell me what are the bugs on this rom. I want to flash it. Is it good for daily driver?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Wind_Waker:
Just flash it it's the best rom for mido if u want a clean Android experience.

No bugs seriously
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] TXUTXI72:
I think this rom is probably the best in terms of stability for our phone. The only "bug" I have found so far is that after updating via OTA the search function inside Settings doesn't work anymore until you do this: Settings > Apps & notifications > See all apps > Settings > Storage > Clear Data. Then the search function starts working fine again.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Dzherili:
did I miss something?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Somname:
There are 2 more:

1- random soft reboots

2- partial screenshot crashes and u need to restart in order to do any screenshot
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] hayvan96:
How do you capture partial screen shots?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] jitendratripasa:
Hold the screenshot shortcut in power button menu.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] hayvan96:
OK thanks, I'll try if it leads to crashes

Edit: partial screenshot works here. Thank you I didn't know that option existed
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] TXUTXI72:
I have never experienced soft reboots with this rom. About the second issue you talk about, I never tried partial screenshot, so I can't tell... But the other day I called my telephone company and when I tried to hang up the phone, I just couldn't do it, because the screen went black, so I couldn't see anything. Proximity sensor issue, perhaps? Clean installation, of course. That's why I have come back to Miui for now...
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] klevi02:
Hello to all. How can I disable screen stays always on on lock screen? Thanks
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] SafwanMcQueen:
Find a icon caffeine in your quick settings above notification panel and turn it off
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Somname:
Maybe my terminology wasn't the best one...

What I mean by soft reboots is the apps disappearing from the recent apps drawer. Even locked in ram ones (u use the lock symbol to do that)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] dan73b:
Trusty Lineage 15.1

I'm back here after being let down by about 5 Pie ROMs. There are some great Pie ROMs out there but their updates still seem a just a tiny bit experimental and not 100% stable to me.

So I have returned to a trusty & reliable Lineage and I'm very happy with my decision. Lineage 15.1 FTW
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] greenys':
Can confirm I was on pie roms too. Lineage ftw.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] faraz46:
Is anyone facing network issues on recent builds?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] jdstrydom:
I have sound settings force close with 04/02/2019 build; going to reflash again and check

edit. reflash fixed it; was error on my side
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] krishna.rag:
Airtel volte is not working on this rom.

Any airtel user?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] prajwal998:
1)Is Los unofficial build for mido, better than official one( official one seems having old security patch )

2)Also what's the SOT that one can expect from LOS?

3)What about performance?

4)Scrolling Smoothness ?

5)Heating?

6)Is it true that after 2 -3 cycles of charging, SOT starts to decrease ( even on casual usage like YouTube ,Chrome with no gaming at all !)

7)Any issue with Mobile data isn't able to be turned ON again after sometime? Or screen got hang on Calling screen ( phone isn't able to hang down the call and continues to see the caller screen behind !)

8)Camera 2 Api & GCaM

All i need is to settle on a balanced ROM having great SOT battery with no performance let downs and scrolling smoothness.

Thanks in Advance
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] papsr6:
When lineage release 16.0 pie?

Know someones?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] vaggdou:
Go to LOS 16 thread to search for this question. I read that nobody wants to be maintainer so the device won't get official only unofficial builts.

Most maintainers moved on to newer devices like abhishek987.

Read this.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] papsr6:
Oh...this is very sadly news.

Is that unofficial builds to good to try or they have many problems?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] vaggdou:
I use Los 16 from Zile and i don't have any bugs. I believe you can try now as most issues are been solved and most pie roms are stable enough.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] vaggdou:
Here

I get 8 hours and i charge my phone every 2-3 days.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] papsr6:
Thank you.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Midomat:
Is this ROM still maintained in practice? I have two serious issues since many months, updates fix nothing, neither clean flash.

First one: bluetooth. Going to find new devices is getting my phone frozen, until it restarts automatically. (80% of times, after dome restarts im able to Connect to speakers etc, sending files doesnt work in 90% of tries; but sometimes it works) I've already tried few different firmwares. When it's connected it works, switching on/of is not a problem.

Second: Camera and flashlight stops working randomly, apps crashing or saying it's in use. Only restarting the device helps, but sometimes only one restart is not enough.

Bluetooth problem doesnt exists for me in LOS 16.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] rn4Nlos:
Try to format data in TWRP, and then reflash everything. I'd encountered random soft reboot as well.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Somname:
Thanks!

Any way to pin point the problem instead of that?

Feels like erasing a city and then build it again from scratch.... While trying to solve the mysterious shaking of one building in town...
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] rn4Nlos:
I'm not entirely sure of that. What I'm sure about is if you do not format data (clearing partition at the same time), the problem will persist.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] rn4Nlos:
Read this.

https://xdaforums.com/redmi-note-4/...ment/rom-lineageos-15-0-t3690465/post78839292

---------- Post added at 03:06 PM ---------- Previous post was at 03:02 PM ----------

Since the development for Pie will not happen, as said in 2-3 pages before, what will be the best bet to find alternatives?

LOS 16 Beta (unofficial)

AOSP Extended Pie

Pixel Experience
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] lipippo:
So the whole "treble" rigmarole was for naught?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] vaggdou:
I used all of them los,aex,pe and in my opinion Los is better.

Maybe, i didn't understand the benefits from treble in the fist place.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] crispyduck:
Just want to say thanks for this great ROM!

Using it now since 3 months, with microg and encrypted. So far it never crached and battery life is very good with franco as well as with the stock kernel.

Doing nearly weekly OTA updates without any problems.

THX,

crispyduck
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] hari1419:
i just clean flashed 02/05 build. but proximity sensor not working properly how fix that
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Cimabu:
I always had that bug on LoS 15.1 and I didn't find any solution, unluckily I had to change rom.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Lourenz0:
Bluetooth: Low volume on calls

Hello everyone,

I had Lineage OS 15.1 official on my RN4 until 2 months ago and changed it because I found a problem with bluetooth.

When connected to a device that supports phone calls, the volume during a call was very low, but on music reproduction worked normaly.

I ride a motorcycle and have a intercom on my halmed, and this problem made it impossible to ear properly on calls.

I tryed newer versions 2 or three times, installing it from scatch, but the problem was allways present.

I'm now on Pixel experience but Lineage was better on customizations and many usefull features.

Is this problem solved now or there ir any other solution?

Thank you.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] tom0769:
You could compare the settings in /vendor/etc/media_profiles_V1_0.xml of both roms.

Maybe there are some markable diffetences.

Just play with the settings to see what happens, but only one at a time.

Dirty flash the rom again will restore defaults.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] dre_:
am noob for the LOS 15.1.

is there power off alarm and 3 finger screenshot on this rom ?

if not have, please add this features in next update. this feature is what i looking for, but still bad luck to find it in other rom except in miui rom.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Supermatt01:
Did they fix it in the 02/07 build? I'm planning to try that build.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] TXUTXI72:
You just have to have a look on here: https://download.lineageos.org/mido/changes/

There you will find every fix and change included in every update and build. yesterday's build includes no changes.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Supermatt01:
Thanks. Could you tell me if you are having the same trouble with this ROM or is it maybe just device specific?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Lourenz0:
I'll try that. That is in the root partition right?

For example, if I install Lineage OS 15.1 on 2 different Redmi Note 4, is possible to have those settings different in each phone that make one works properly and another having the issue like mine?

---------- Post added at 11:40 AM ---------- Previous post was at 11:32 AM ----------

I believe that each different phone (on the same model) can have an isolated issue.

I think it's hard to believe that every RN4 have your problem and they haven't fixed it yet.

I had a problem (when I used LOS) on Bluetooth volume during calls and I think that isn't general.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] TXUTXI72:
Yes, I had just the same issue (proximity sensor) the last time I used this rom, and that was just a week ago. I don't know if it is device specific or an overall issue, but I am pretty sure it is a bug affecting quite a lot of people, same as the bluetooth issue, which I never experienced because I almost never use bluetooth, but many people here complain about. And there are more bugs. You just have to read what people tell here to realize. Because of all these bugs I have come back to Miui (last stable release).
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] runeupo:
There is an app 'Bluetooth volume control' , maybe that can help?

---------- Post added at 02:53 PM ---------- Previous post was at 02:51 PM ----------

And another app called 'proximity sensor reset doctor' might relief the issue?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] optionalmgrr.la:
Sorry for stupid question. This works for both note 4 and 4x as long as cpu is snapdragon right? Thx
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] beast99:
Yup
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] TXUTXI72:
Maybe. I don't know, I have never tried it. But I rather wait until Lineage solves all these issues, before I decide to flash the rom again. In the meanwhile, I will use Miui. In my opinion, if Lineage solved all these issues, their rom (15.1) would be by far the best one for Mido.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Apoorv_Pandey_:
Why sometimes phone don't sound if notifications is received?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] karamancho:
The updater still doesnt work. After downloading an update it just reboots to (official) TWRP and nothing else.

Anybody here has a solution?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] LonelyDay:
Import your new build from updater to sdcard, then manual install the update ;)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] karamancho:
So no automatic updates then?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mcflyle:
I think your device is encrypted. Just decrypt your data partition with twrp and install the file which was downloaded from the ota updater manually. You will find it, if you go with twrp file manager a level higher and then to data/lineageos_updates. * have the same problem, also with official and newest twrp, no automatical updates.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] karamancho:
My device is not encrypted
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mcflyle:
Ok, but the downloaded file should be on the same place.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] karamancho:
Maybe I wasnt clear the first time.

I update the os with the method you described at least once a week, I know how to do it.

I was asking if anybody found a method or has a solution on how to make the update process AUTOMATIC.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] rn4Nlos:
Update. The problem had reoccurred. This may be a known issue as for this customROM as of now.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mike_bravo:
I also update my phone using inbuilt downloader. My phone successfully updates itself. I don't have to flash manually.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] karamancho:
What recovery are you using?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mike_bravo:
twrp 3.2.3. 1
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] T.kum1993:
Download lineage downloader from play store, it can download delta updates and flash it automatically and you can add custom kernel also to flash every time.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Shahbaz17:
Is it official one??? Or from abhishek
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mike_bravo:
Latest official version.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] xdabuntu:
Encryption bug workaround

[MENTION=6458530]eliezerjk90[/MENTION] I definitely want to have my phone encrypted again. I just had to reinstall LOS 15.1 again and encountered the encryption bug.

But I am quite new to LOS and I am not a developer. I tried to find answers in the forums, but I did not find all answers to my questions:

1. Is there any other way to get it encrypted without flashing MIUI and reinstall LOS?

2. If miflash fastboot method is needed, are these valid instruction:

- From miui-Homepage: Method 2 (a-234.html): Fastboot Update (Bear with me, I am not yet allowed to use outside links, that is why I just give a description to search the internet)

- Youtube-video (Xiaomi MIUI Flashing | Fastboot Method | Mi Flash Tool)

3. Is there a way to flash MIUI it with fastboot commands directly from a terminal (without MIUI ROM Flashing Tool) as I use Linux Ubuntu.

4. How to backup LOS to be able to restore all apps & settings?

4a. TWRP backup system/data/cache? Restore after flashing LOS? What will this restore? Will encryption be kept after restoring?

4b. adb backup -apk -shared -all -f ? (this did somehow not restore my installed apps)

Sorry for the many questions, I am willing to open a new thread if this more appropriate.

Thanks in advance for any help!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mcflyle:
I can only answer to No. 1: I think i encrypted my device later then installation of LOS. Is there no option for you seeable in settings/security to encrypt now? It need some time, but i think should be possible.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] xdabuntu:
Encrypting without flashing MIUI?

Thank you for the quick response. Yes, there is an option "encrypt your phone" in the settings (Encryption) but it would only show the Android screen for a second or so and then reboot without encrypting anything. Some others in this forum have encountered the same behaviour :( . If there is a way (apart from flashing MIUI), I would be really happy!