[ROM][OFFICIAL][R] LineageOS 18.1 for Xiaomi Redmi Note 5 Pro [whyred]

Search This thread

VeDoxe

Member
Apr 25, 2018
11
5
Is it not possible to make a programmed switch on and off of the device under LOS? Because on MIUI there was this option in the parameters.
 

MGREX

Senior Member
Dec 4, 2011
292
20
So in all honesty how stable is it? enough for daily use?

Is there a way thru safetynet to be able to use banking apps?

There is encryption support right?
 

Renz1er

Senior Member
So in all honesty how stable is it? enough for daily use?

Is there a way thru safetynet to be able to use banking apps?

There is encryption support right?

1. I been using LOS for 5 months now (Feb to June 2022), shifted from MIUI 10 eu ROM. Its quite stable and good for daily drive. My battery is already at 75% capacity or so, using the extended kernel and getting an average of 3.5 hours SoT (3 hours lowest and 6.5 hours highest got so far).

2. Using Magisk 23 and its says the devices passes through safetynet.

3. Encryption support is there.

Known Bugs:

1. Restarts whenever you try to turn on mobile data.

2. When connected to PC using USB through "file transfer" mode, Windows can't find the mobile storage. Workaround is connecting it in "file transfer" mode from the recovery. (Not sure, might be bug only I faced)

Overall, its a pretty solid and stable ROM for whyred.
 
Last edited:
  • Like
Reactions: MGREX and Aqq123

plusminus_

Senior Member
I cannot say I currently have issues with either mobile data* or using file transfer (maybe because I use Extended Kernel?), but I have had issues with late notifications for SMS messages for as long as I have been using this ROM lol

I switched to QKSMS a few days ago and this is no longer a problem.

I may have been affected by this bug, which sounds a lot like this one

Otherwise it's been great.
 

RandomNewbie

Senior Member
Dec 19, 2014
71
65
Known Bugs:

1. Restarts whenever you try to turn on mobile data.

As I wrote on the previous thread page, this has to do with LineageOS' firewall. Do not disable the mobile data access in the app settings for any app, then you won't run into the issue. Sadly the LineageOS volunteers nor the maintainers don't appear to care here, so this workaround is important to keep in mind. Don't disable mobile data for any app, then this does not happen. As an alternative, using Afwall as a firewall is necessary.

2. When connected to PC using USB through "file transfer" mode, Windows can't find the mobile storage. Workaround is connecting it in "file transfer" mode from the recovery.

I can't confirm this bug, for sure it does not exist on build 20220214. There may be a different hidden cause that you can figure out after resetting the phone, and testing settings one at a time (changing one setting, restart, repeat). It's how I figured out the mobile data system crash.

But apart from these things, I can definitely vouch for the system. Definitely don't want to change the Android system for 3+ years now after a full month of testing and switching.
 

RandomNewbie

Senior Member
Dec 19, 2014
71
65
So in all honesty how stable is it? enough for daily use?
Yes, however there is some quirks to avoid. Read the last few pages of this topic to find out more. Then you can have peace of mind to install this - SafetyNet is a different story though. LineageOS does not actively do anything to bypass it. Other custom ROMs such as ArrowOS are more "out of the box" here.
 

church_foster

Senior Member
Oct 22, 2018
92
10
Mostroferrato
Yes, however there is some quirks to avoid. Read the last few pages of this topic to find out more. Then you can have peace of mind to install this - SafetyNet is a different story though. LineageOS does not actively do anything to bypass it. Other custom ROMs such as ArrowOS are more "out of the box" here.

Hey dude, nice day. Flashing persist.zip somehow fixed my frequent wifi drops. I had no idea this flashable tool existed.
 

filipe_m

Senior Member
Nov 26, 2012
426
80
Porto
I update for the 25/4 build and it don´t start, it´s always back to recovery.

Any solutions , apart wipe data?
 

Holgrah

Member
Feb 16, 2017
6
1
As I wrote on the previous thread page, this has to do with LineageOS' firewall. Do not disable the mobile data access in the app settings for any app, then you won't run into the issue. Sadly the LineageOS volunteers nor the maintainers don't appear to care here, so this workaround is important to keep in mind. Don't disable mobile data for any app, then this does not happen. As an alternative, using Afwall as a firewall is necessary.



I can't confirm this bug, for sure it does not exist on build 20220214. There may be a different hidden cause that you can figure out after resetting the phone, and testing settings one at a time (changing one setting, restart, repeat). It's how I figured out the mobile data system crash.

But apart from these things, I can definitely vouch for the system. Definitely don't want to change the Android system for 3+ years now after a full month of testing and switching.
Holy moly, i almost reinstalled the system because of those unexpected restarts. thanks a lot for this hint. should be somewhere in capital letters
 

kingofcope

New member
May 13, 2022
1
0
Now that LOS19 has officialy released, Is there any progress on whyred getting an update?

Thanks for all the hardwork
 

tobisto

Senior Member
Feb 13, 2013
107
2
What about battery life ? Screen time ? Aospextended 9.0 is too weak battery life to use.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    In case you guys are not awaring, I am sharing a fix for safetynet on lineage os without the need of magisk or any other modules. It is a flashable zip which can b flashed in a recovery like twrp. It is developed by lineage os team members.

    1
    I'm having a bug that whenever I click an app it just opens random apps instead of the one I clicked. Here are some examples:

    1. When I clicked on Bromite Browser, it redirected me to Reddit: https://streamable.com/sgqrur
    2. When I clicked on Fennec Browser, it redirected me to notes app: https://streamable.com/1e9n5p
    3. When I clicked on Fennec Browser again, it redirected me to Discord: https://streamable.com/c3rvzo
    4. When I clicked on Firefox Browser, it redirected me to bluetooth prompt: https://streamable.com/776c8i
    5. When I clicked on Firefox Beta, it just copied the link to clipboard: https://streamable.com/6pbxoq

    I'm having this bug since like I installed lineageos. I already submitted a bug report to their gitlab and reddit but no response.
    Ever tried reformatting/wiping then reflashing again?
    1
    I'm having a bug that whenever I click an app it just opens random apps instead of the one I clicked. Here are some examples:

    1. When I clicked on Bromite Browser, it redirected me to Reddit: https://streamable.com/sgqrur
    2. When I clicked on Fennec Browser, it redirected me to notes app: https://streamable.com/1e9n5p
    3. When I clicked on Fennec Browser again, it redirected me to Discord: https://streamable.com/c3rvzo
    4. When I clicked on Firefox Browser, it redirected me to bluetooth prompt: https://streamable.com/776c8i
    5. When I clicked on Firefox Beta, it just copied the link to clipboard: https://streamable.com/6pbxoq

    I'm having this bug since like I installed lineageos. I already submitted a bug report to their gitlab and reddit but no response.
    I can confirm the issue. If you click quick enough, sometimes it opens the wrong app.
    1
    Hi @SebaUbuntu, thanks for ROM, I think LOS's SOT way better than Pixel Experience in terms of SOT .

    Wanted to check if you had the BT LDAC issue in your radar , I do see some conversations did happen . LDAC Gitlab. There are better codecs than SBC I have to get to dev options and change to aptx HR or aac .
    1
    2okPze5.png


    LineageOS is a free, community built, aftermarket firmware distribution of Android 11, which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

    Mantainers

    - srfarias
    - SebaUbuntu

    Installation instructions
    Here

    Device info
    Here

    Download
    Here

    Sources
    LineageOS
    Kernel sources

    How to report a bug
    - Please head over to LineageOS issues page in GitLab and create a report here
    Will they officially update Lineage19 with Android 12?

    Oficialmente actualizarán a Lineage19 con android 12?
  • 76
    2okPze5.png


    LineageOS is a free, community built, aftermarket firmware distribution of Android 11, which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

    Mantainers

    - srfarias
    - SebaUbuntu

    Installation instructions
    Here

    Device info
    Here

    Download
    Here

    Sources
    LineageOS
    Kernel sources

    How to report a bug
    - Please head over to LineageOS issues page in GitLab and create a report here
    18
    To clarify:
    It was not a device-side issue, nor a ROM side issue, it's actually a build server isssue
    If someone want an accurate explanation, ask me
    If you don't, just wait the next build
    16
    Updated thread for 18.1 🎉
    9
    Re: SoterService & Qualcomm Location

    1. SoterService

    SoterService [...] helps chinese users with secure payments (e.g. WeChat)
    So for starters it certainly isn't useful to anybody outside China. As for users in China (not Chinese users, there's a difference), official LOS isn't really suitable for them anyway without further patching (at least fallback DNS, SUPL, captive portal and connectivity test URLs should be changed, Chinese-specific fonts and IME also aren't included). In practice not many people there are going to install a custom ROM on a device like this and if they do, it's most likely going to be something locally-brewed like Moqu. Thus, "helping users in China" (not "Chinese," since Chinese people all over the world by and large don't and in fact usually can't use Weixin either unless they happen to be in China) is not a realistic consideration. And as you can see it's also not as if not having this preinstalled would be an extra burden to any user in China.

    This APK was not included in official LOS 15.1. I don't even recall it being a part of MIUI Global ROM for this device. Those lucky few who have the use for it (if anybody at all) will know how to install it, just like everybody else installs all kinds of other stuff on top of LOS. However, Lineage OS defines itself as a "free [as in 'libre'] and open-source operating system," and incorporating proprietary, third-party blobs of dubious benefit to the user is hardly in line with the project's objectives.

    https://www.github.com/Tencent/soter/wiki [link edited to remove Google Translate]
    Please read this and check why we need it.
    I read it, again (I first did when I was looking up this APK before even writing anything in this thread) and all the more I don't see any reason why it should be included. On the contrary, it's specific to China and only compatible with some of the devices launched in that market. Why would it be so indispensable that it just has to be part of the official LOS build for this device? (If you were referring to some specific statement in what's written there, feel free to quote it, and I will look at it again.)

    For the record, I never said it was spyware, just a leftover that serves no purpose. But device security can be compromised in a number ways, for example through an exploitable bug in the APK. We all know the whole vendor blob for this device is completely outdated. The less is kept of it in its original form, the better. If something can be safely removed without impact, this should be the default action to take.

    This blobs and apps are in stock ROMs, so, to not break something, we leave them in place.
    The whole point of having a custom ROM is to be able to critically pick and choose what should be in it from the usability perspective. Obviously this involves informed experimentation and something can occasionally break, so what? Reading something like this here makes me want to scroll back to the top of the page to check if this is still "XDA Developers."

    Vendor blobs are not sacred. Xiaomi's in particular are usually rather bad. For instance, previous vendor blobs for this device enabled Wi-Fi diagnostics by default, needlessly spamming the logs and draining battery. Should this have been kept too?

    2. Qualcomm Location

    Again, this is a system component
    What is that even supposed to mean? By definition it's a user-space application, so it's a "system component" as much as Candy Crush is in Windows.

    as you said, can help in specific scenarios
    I wanted to save everybody the boring details. In practice I doubt it makes any difference. It's supposed to work by querying the location from nearby Wi-Fi access points but only those with supported SoCs in them (so QCA-only I believe), and then again only those that were configured to provide it.

    The benefit is supposedly better location indoors, so it could be life-saving if you get lost in a shopping mall but 99.9% of the time when you need precise location is when you are outside and not near any particular Wi-Fi access points.

    The idea behind it is not unsound and it could indeed save battery life if GPS doesn't have to run in such situations (and if it really is indoors then it wouldn't work anyway) but the bigger point is that Google (and others) have already been doing the same for years and are better at it. So if you install Google Apps you are already getting all of this functionality anyway.

    You can't blame Qualcomm for trying even though they're late to the game but essentially it's about duplicating what already works just was "not invented here." Your location won't get any more precise than what Google already provides, all it accomplishes is Qualcomm being able to use your battery time and data allowance to seed their own database so as to compete with the incumbent.

    with MIUI you can't disable this stuff so that's an improvement
    Actually, here you can't disable it either: given how it's set up, there is no setting for it anywhere in the UI, it just runs all the time in the background. I think it'll also interfere if you wanted to use mock location.

    So even if Qualcomm location were to stay by default, there should be a toggle for it, or at the very least the framework overlay settings should be restored to their defaults because now it's effectively impossible to use any other location provider: it's either Qualcomm or nothing.

    Since LOS does not include a complete location solution (people will install Google Apps, MicroG, or perhaps something else), arguably it shouldn't force a partial one on the user either. To be brutally honest, I thought these settings were left like that by mistake, couldn't imagine anyone defending them but here we are. (Feel free to also check out the discussion I linked to in my previous post, and the commit where it was removed for beryllium - Xiaomi Pocophone F1.)

    ***

    I appreciate your effort in building this ROM and making it official. I understand the way you responded must be due to the impression that I attacked or criticized your work. This was not my intention.

    I'm not saying anybody should do anything, I'm just sharing what I did. Hopefully it can help others one way or another. And if I'm wrong about something I'll be the first to admit it, after all I'm here to learn.

    In the end it's your work and your decisions, you'll do as you wish. But there is a valid argument for the majority of the users and readers of this thread not to have these included in the official LOS build, which is why I wrote about it.

    Agree or disagree, either way it's really not necessary to make any of this personal.
    go completely offline and buy a Nokia 3310
    Don't be racist and don't apply stereotypes, not all chinese app spy on you