yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Viral1996:
I appreciate such reply man i knew that this would offend a few members here but your reply was very humble and calm.

---------- Post added at 12:45 PM ---------- Previous post was at 12:41 PM ----------

This is type of guy I referred in my post l can't stop laughing at him I don't what triggers them to abuse so much and get banned whatever us said in that **** please keep it with u boy and become a man

---------- Post added at 12:53 PM ---------- Previous post was at 12:45 PM ----------

I have reported u.You will receive notification from xda official sooner or later.I have every right to ask questions why do u want to abuse and insult me when everyone else here who are offended with me are just ignoring me,i know rom development is not easy and i appreciate their work too but why can't u stay calm why others are not abusing and only u get triggered and start insulting me, don't try to be a hero
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] LonelyDay:
Its classic problem baby. Take a whiskey and let's forget about it...flying to the moon. lol

---------- Post added at 02:58 PM ---------- Previous post was at 02:54 PM ----------

Calm my friend. Live just about acting and you have plenty of time to not talk with him.

Play music and forget. The world is so vast ;)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Rohit.ghosh:
I recently broke my display so i changed my display from that day i cannot use custom rom because of the display in MIUI ROM it's ok but in custom ROM its to bad to use and the color calibration is not ok...

plzz can anyone help me to calibrate my display color

My current display is ( r63350_ebbg fhd video modce dsi panel)

plzzz help....
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] s k:
LOL... But a bug is still a bug?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Noter2017:
In some cases flashing a custom kernel solved this problem. Try KudKernel
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] eliezerjk90:
Yup. Agree. But still I can imagine how awkward that was ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] saransh arya:
This is the only way I know you need too have root

Only other option is to root your device

and go into /system/media/audio/ui and

start looking for the .ogg file for the sound.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ayanbarua9:
Is the update worth flashing? Or any bugs there?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] eliezerjk90:
My personal opinion : nope... I can't use custom kernel in the new build, and the stock one has less battery life. It can be different for you though.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] xaikman:
Hello, just installed this rom and it looks great so far, 1 silly question, is there a way to bypass swipe to unlock after face unlock? I dont see any option for that. thank you
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] EdoNINJA93:
I use GravityBox (Xposed module) to do that...
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] lipippo:
I haven't flashed neither the latest update nor the new twrp, but I don't understand: if the partition is the same and the old TWRP can decrypt it (it does in my case), it should continue to do so, or does the update re-encrypts the partition the first time it boots? (hopefully without data loss).

And if I flash the new twrp before updating lineageos, will it be able to decrypt the (old) partition?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] h4waii:
We need clarification on what was changed in BOTH the ROM and TWRP, so users can update accordingly and properly.

Update to the new recovery and flash the latest ROM?

Is the new TWRP backwards compatible?

Update to the latest ROM, then update recovery?

Why was dm-verity disabled?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mcflyle:
If you have a working twrp installed (like me, since unofficial), it is not really necessary to update it, i think. Correct me, if i'm wrong. Weekly OTA is working perfect here.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] AlindFatin:
I am in the latest build.

My twrp can't select internal storage.

It shows 0mb.

I can't wipe it.plzz help

My twrp version 3.2.1
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Sprint82:
Well, I have performance issues with all builds of lineage 15.1. The last one, from 3.7.18 slows down after a few hours/days of use.

I tried all incl. Wiping everything and made a clean flash. No custom kernel, all "stock" but that drives me crazy.

14.1 is fluid all the time and oreo gets sluggish. Why?!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] AlindFatin:
Thanks it's working
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mcflyle:
Oh, thx. Actually i didn't have trouble, i will update if it comes ;)

(Never change a ...)

---------- Post added at 09:29 AM ---------- Previous post was at 09:16 AM ----------

The linked version is also 3.2.1.0 but modified?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] guanto96:
Yes , same for others users
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] naryhd:
guys how can i disable physical buttons?!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mcflyle:
settings/system/buttons
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] naryhd:
where is it?!!!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mcflyle:
you found it ;)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] s k:
And then delete that file?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] saransh arya:
No just just rename the file to xxxXxx.ogg.bak
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] laviniu_c:
i finally understood what happened.... so the new version 2017.07.03 has smth changed that causes the initial treble twrp (the v4 i think it was called at the time) to not be able to mount /data (quota changes or f2fs support) . if you're on an un-encrypted that's no biggie as the recovery doesn't need to access /data after it flashes.

if like you though data is encrypted... well... that's nasty...

things you can try:

-update to the latest twrp from telegram - credits to o.p. (i've just uploaded it here: https://drive.google.com/file/d/1oocfAcs1fwDDxILnqpEt9l4moAeCONr4/view?usp=sharing )

-you can flash it in fastboot mode/adb (since on the old twrp you can't mount data to see the img)

-now the catch is, the 07.03 script would probably decrypt/update if you had this new version on tuesday (but you didn't because you couldn't have known you need to update)... so now you need to basically tell it to retry

2 options:

- try and re-flash the new 07.03 update

- harder: flash first the prev 06.29 i think it was, and let it update again

-----

this concerns also un-encrypted users, just not so bad, we just can't install zips/imgs :D until we update twrp

p.s. also, sorry :( i hope you manage to recover your data...

---------- Post added at 10:20 AM ---------- Previous post was at 10:06 AM ----------

@abhishek987 should you maybe issue a warning so users know they need to update twrp?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] eliezerjk90:
Do you by any chance have any idea what's happening that we can't install some custom kernel? It will always stuck on encryption unsuccessful message and then refuses to boot... Just curious.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] guanto96:
True, but with stock kernel ui lags and with custom kernel too (but it seems a bit less), so it's the rom itself maybe? Los 14.1 was a lot smoother
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] BrandAparte:
Thanks so much for looking into this!! :)

So, overall, I love this Rom, but it feels Unofficial. I would humbly recommend that alongside this thread, there needs to be a simple/official guide for TWRP as well, so users can learn to understand LineageOS changes in sync with TWRP as well.

I was using the TWRP version that automatically formatted Data partition into f2fs. Not that I understand the technicalities, but after this fiasco, I changed the TWRP to the version linked in the OP of this threaad, and did a fresh install. This version formats Data partition into ext4s, and device encryption does not happen (The phone reboots without the encryption process taking place). So the Trust feature is reporting one Unsecure spot.

I just downloaded the TWRP version you've linked in your reply. (Is it safe to encrypt, with this version? or should I just keep my phone as is?) I'll give this TWRP a try. Could I request you to just explain the features of this version? Thanks :fingers-crossed:

Throughout LineageOS 14.1, their official instructions were enough to follow. For LineageOS 15.1 (especially with Treble), some better guidance is required if users are to keep updating to the latest versions, without any shocks, or unforeseen consequences. Also, TeamWin just rolled out TWRP 3.2.2-0, which states the changes you mention. But the official TWRP is not treble compatible.

I really appreciate the response!

Regards.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Sprint82:
If I change from hardware keys to software buttons the UI lags are a bit less. Strange but reproduction is possible. It seems that the CPU or GPU has to much to render with more displayed screen elements.

But that could not be a real solution for that issue, right?

Anyone who can test my observations and tell us if it's the same?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] BrandAparte:
Thanks so much for looking into this!! :)

So, overall, I love this Rom, but it feels Unofficial. Throughout LineageOS 14.1, the official instructions were enough to follow. Especially coupled with the Official TWRP, there were no issues. For LineageOS 15.1 (especially with Treble TWRP), some better guidance is required if users are to keep updating to the latest versions, without any shocks, or unforeseen consequences. I would humbly recommend that alongside this thread, there needs to be a simple/official guide for TWRP as well, so users can learn to understand LineageOS changes in sync with TWRP as well.

Also, TeamWin just rolled out TWRP 3.2.2-0, which states the changes you mention. But the official TWRP is not treble compatible.

I was using the TWRP version that automatically formatted Data partition into f2fs. Encryption happened with no issues, except for this update. Not that I understand the technicalities, but after this fiasco, I changed the TWRP to the version linked in the OP of this threaad, and did a fresh install. This version formats Data partition into ext4s, and device encryption does not happen (The phone reboots without the encryption process taking place). So the Trust feature is reporting one Unsecure spot.

I just downloaded the TWRP version you've linked in your reply. (Is it safe to encrypt, with this version? or should I just keep my phone as is?) I'll give this TWRP a try. Could I request you to just explain the features of this version? Thanks :fingers-crossed:

I really appreciate the response!

Regards.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Zile995:
Yes, LOS14.1 is smoother. We don't have official oreo kernel source.

I fixed LOS15.1 UI lags with Feather kernel.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] eliezerjk90:
I know that they not supported here. And I know they aren't up to date. I just curious which from the changelog cause the problem. I don't expect to get any support/workarounds/solution here. As I said I just curious what exactly the problem. Saying that it's aren't up to date is only stating the obvious without actually answering the curiosity...

---------- Post added at 11:26 AM ---------- Previous post was at 11:23 AM ----------

Could you please kindly share the link of the kernel? Couldn't find it.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Zile995:
LOS msm8953 common tree has enabled quota for userdata partition. Custom kernels doesn't have enabled quota configs in defconfig. Maybe this cause the problem.

Yes my custom build
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] guanto96:
Now I understand. I use Franco kernel, for me it has less lags in the scrolling compared to feather

Edit: tried your version and is very good. Please could you make like a telegram channel where you can post your build? Thank you
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] eliezerjk90:
Hmmmm. Interesting. Thanks for the link. Will definitely give it a try.

And btw, is it actually difficult to merged the commit to other kernel? Curious to try to build custom kernel for myself... If it's not too complicated maybe you can send me a PM so it doesn't spam the thread with oot post?

Thanks again!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] karamancho:
Will it work on the latest LOS 15.1 build?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] eliezerjk90:
Yes. I've tried it. It's pretty smooth in my opinion. Can't comment on battery life yet.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] bnesic:
Battery is superb also. Im using it on Cardinal AOSP. Daily driver.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] laviniu_c:
that's just it, official 14.1 support is stopped too (except for a semi-official release) -> 15.1 is the way to go whether we like or not.

not to belittle the work abishek does on the rom, cuz it's great work and i'm grateful for everything he does and did, but the bottom line is we are paying the price of not having a big official dev and test team behind the rom. it's the endless struggle of custom-free-volunteer rom development. we can't expect a handful of volunteers to be able to keep up with the work done by big corporations... it's just the way it is... and what we have to accept when we move to custom roms. (notice any one of them start with "it's your phone - you're responsible for it")

i just linked the latest twrp from the official telegram group for mido. it's just plain 3.2.1 with treble support. i just noticed it works to mount /data on latest lineage when i was looking to fix my /data mount error.

3.2.2 still doesn't do treble, yes, hopefully the next versions will...

magisk is in the same basket, official doesn't do treble, you need a custom for 15.1 :(

p.s. i think what got us here with mido is LOS are trying to use the same kernel sources for both mido and tissot (mi a1) - which is a fair thing to do as they share the same cpu, and 95% of the hardware. but it also means when they push changes to get tissot working and official-zed some of the things may end up breaking stuff on mido... and i assume it probably boils down to the mido drivers/firmware. those are built for 7.0 (and looks like xiaomi have no intention of providing newer versions :( ) where-as the tissot ones are kept up to date.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] xxlakis:
I had problem with lost internal storage too.I used flashify to install OP recovery and everything is ok now.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] matrixhaj:
Wrong thread bro
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Sprint82:
So if miui 10 comes official there is a small chance of getting android oreo under the hood?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Noter2017:
No.

MIUI 10 for Mido will be based on Nougat. Xiaomi won't release Oreo for our phone
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ceza1380:
Why you do not think to open a new thread for your kernel? That would be good.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Sprint82:
Oh so sad. But how can a custom rom be official if the kernel sources aren't released?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] penglezos:
Will this fix the custom kernel issue?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Cimabu:
Guys may I ask if this rom is already good enough for daily solid use? I really need something very stable and I can't try too much now...

Thanks :)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] guanto96:
Yes, no bugs
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] jufece:
Is it possible to get status bar icons like MIUI?

Enviado desde mi Redmi Note 4 mediante Tapatalk
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] h@l9000:
Everyone is complaining about lags on the latest build of LOS 15.1, while I don't face any at all. I am more than satisfied with this rom, it is awesome. I don't understand that we have same devices but still there are varying responses towards performance.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] averagegeek:
Tried to flash Franco Kernel using Franco kernel updater app ...After reboot ,my phone shows "There is a vendor mismatch & Encryption is interrupted " & I need to factory reset the phone ...

Any one knows why is this happened ?

NB: Did a factory reset via TWRP & still shows " Encryption unsuccesfull & Factory reset " message
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Yash2203:
They may backport some Oreo codes and will give Oreo exclusive features like snooze feature which only available for Oreo ROMs maybe PoP & Password autofill service but not full fledged 8.0 or 8.1
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] p3dboard:
It may relate to the amount of Ram on the device. 3gb Ram vs 4gb.

I have a 4gb version and don't have lag. Just one possibility. Possibly for those with a 3gb version, a 600mb zram partition might help with available memory.

On my 4gb version, i normally have about 1.7gb free Ram on boot, but open up a few apps and that can drop a bit, so if you only have 3gb ram, then you might be getting a bit low on Ram, causing performance issues.

Maybe some of the custom kernels include a zram partition in ram by default?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Sprint82:
No my 4 GB version has performance issues too. The problem must be another one.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] jigarmak:
I have done clean format of my phone and then installed latest lineage rom. however i am getting option to do another update of the same date 03/07 in the settings, under lineageos update

The challenge i am facing is each time the update fails... Please guide me what to do

Is anyone else facing this sort of issue?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] laska.levin:
Can you say more about how the update failed? Did it enter into TWRP recovery without updating the ROM?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] jigarmak:
It enters in to recovery, post that it fails .... And it still allows me to do an update .... Here are some screen prints ....
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] crazo7924:
Settings and SystemUI sometimes crashes

Anybody facing any issue regarding toggling quick tiles like WiFi and Mobile Data? I am. And my mido soft reboots throughout the day a few times. Very annoying.

:confused:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] crazo7924:
I should try clean flash.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] laviniu_c:
yes, it's a known issue since 2-3 weeks ago, just ignore the option to install again and double check on tuesdays for the new one...

---------- Post added at 09:25 AM ---------- Previous post was at 09:21 AM ----------

did you wipe system when you upgraded to 15.1? (may reset a few things - settings, homescreen, sms/contactd/call history - but your app data will be kept unless you wipe also /data)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mxiii:
Reflash TWRP from OP and the decryption error is gone
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] crazo7924:
Ofcourse I did. It is mandatory.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] hayvan96:
Thank you, but even when using the telegram version, or the OP one, same thing happens: after rebooting to install the 3.7 update (which has already installed, but I try to reinstall it), it goes directly to the main twrp menu, and as it doesn't ask for the pattern, internal storage is viewed as 0MB.

When I use the "old" mido vendor 4 twrp version, it says my pattern is the wrong one.

Now I've tried something else. I've just rebooted into recovery (not to install any update) with the telegram TWRP: it asks for the pattern, and then I can access everything.

So I wonder if the problem is not in the LOS15.1 updating process itself, as the telegram version seems perfectly capable to decrypt data.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Nodali:
Btw, any idea how to modify the MIUI gallery to be used in LOS? It has a nice feature in there :(
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Moksu:
Did anyone test Beats X headphones with LineageOS 15.1? Do you see battery %
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] lipippo:
I just did that and I can confirm that the new twrp can decrypt the partition. Trying to update lineageos now....
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] cpthero:
Is it possible to take a screenshot by long pressing on of the hardware buttons? Would be really handy. I'm also missing an option to assign actions to the back button.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] lipippo:
The update didn't work: the new recovery just showed the main menu without even trying to decrypt the partition or update the system.

Edit installed via adb sideload, no data loss, but the fact that the automatic update isn't working is worrying.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] k3lcior:
You didn't update TWRP.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] hayvan96:
How do you know? I've tried both the OP TWRP, or the telegram version provided in a previous posts, and I hit the same issue. And TWRP *has* been updated (I've used adb via usb cable).

For those who have that issue (internal storage not decrypted), you can:

1. Ask to decrypt data in TWRP in the mount menu

2. Go back to install, and go to /data/lineage_updates

3. You'll find the .zip downloaded by the updater, and then, you can install it manually.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] njascgil:
Yes, it can be configured to take a screenshot by long pressing the power button.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] hergen66:
For some devices, it is done by taking an old (published) kernel and adding some glue code, which allows a newer version of the android framework to run on the old kernel and drivers. While different linux major versions are not strictly ABI compatible, the actual functional changes are usually pretty small, so this is feasible for at least 1-2 version jumps.

For others devices, it is done by borrowing the kernel of a similar (newer) device.

In our case, we are using the kernel and drivers of the Mi A1 (tissot), which has almost the same hardware, and is still supported by Xiaomi.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] njascgil:
Yes, that's right. I forgot about it because I usually take screenshots single handedly using the power button menu.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] souvikpaul294:
I can't place call through my Vodafone sim when volte of my Jio sim is on, on my Redmi Note 4 running lineage os 15.1 . Can anyone help??
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] lipippo:
Of course I did!.

I used the recovery linked from the first post, that decrypts the partition both with the previous version of lineageos (I had 20180618) and the current one (20180703).

---------- Post added at 03:21 PM ---------- Previous post was at 03:17 PM ----------

Note that in my case when I boot to recovery it automatically prompts for the code and correctly mounts the partition, it just did nothing during the automatic upgrade.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mcflyle:
Spam
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] cpthero:
Unfortunately my power button isn't really working most of the time, that's why I'm asking :/
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] eliezerjk90:
You can use assistive button app from play store
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] matrixhaj:
Same problem here, there Is something Wrong, recovery wont mount partitions anymore...