• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread

jojo1411

New member
Dec 22, 2015
4
0
One question: How is the call volume? On Pixel Experience 11 it's too low, so I went back to Experience 9, but I want Android 11, so is the volume loud enough to hear the call when your outside?
I have had the same experience. Even at full volume in caller app, it is often difficult to understand the person you are talking to with background noise.
Is the problem solved or does anyone know a solution to generally increase the call volume on the system side?
 
I think I can answer the questions together, so I post them together.
I don't think the issue is on the computer (neither due to drivers nor anything else), because I've always used the cable connection successfully with my whyred (last time being 10 min before flashing LOS) and it currently works with another whyred with MIUI, the only issue is with my device in the current state (running LOS). I'd definitely try out the suggestions though, I'll let you know if I can solve the issue.

Thanks a lot for the feedback guys!
From my experience this is a driverproblem. Windows (for some reason) is not able to identify and pull the correct android drivers for the device so you will have to install them manually in the device manager.
 
  • Like
Reactions: Nico2416

Gabriel_Geog

New member
Oct 31, 2021
1
0
I think this has nothing to do with this ROM specifically because this happened in others too, but it's a WhatsApp problem and I don't know where to ask for help anymore. Suddenly I can't fast forward audios anymore (the button doesn't appear for me) and when I send any audio, I have to click enter twice for my text to send. Any help? Thanks.
 

MysticMaestro

New member
Nov 3, 2021
3
0
I am new to all this ROM customization stuff. I wanted to install this ROM. Are the bugs or any other issues resolved?
 

TNSMANI

Senior Moderator
Staff member
Jan 8, 2014
5,705
2
7,901
Chennai
MOD ACTION:

Thread cleaned.

Guys, please use civil language. Most of you are senior members and should be lenient in replying to the others. There is no need for anger on the forum. Please read Rule 2, if you have not already read it:
2. Member conduct.

2.1
Language: XDA is a worldwide community. As a result, what may be OK to say in your part of the world, may not be OK elsewhere. Please don't direct profanity, sexually explicit language or other offensive content toward Members or their work. Conversely, while reading posts from other members, remember that the word you find offensive may not be offensive to the writer. Tolerance is a two-way street.

2.2 Nudity: XDA is used by people of all ages, including minors. It is unacceptable to post nude or pornographic imagery, which includes the exposure of male or female genitalia and / or female breasts.

2.3 Flaming / Lack of respect: XDA is about sharing and this does not involve virtual yelling (flaming) or rudeness. Flaming or posting with a lack of respect is unacceptable. Treat new members in the manner in which you would like to have been treated when you were a new member. When dealing with any member, provide them with guidance, advice and instructions when you can, showing them respect and courtesy. Never post in a demanding, argumentative, disrespectful or self-righteous manner.

2.4 Personal attacks, racial, political and / or religious discussions: XDA is a discussion forum about certain mobile phones. Mobile phones are not racial, political, religious or personally offensive and therefore, none of these types of discussions are permitted on XDA.

2.5 All members are expected to read and adhere to the XDA rules.

Thank you!
 
  • Like
Reactions: drnightshadow

paolone1

Senior Member
Oct 1, 2007
451
179
Milano
Xiaomi Redmi Note 5A
Hello,
I am back to Lineage Os after some year (and some phone model :) ).
Playing with the default camera app I find many setting by tapping many times on the build number.
Can you tellme about some setting to use to have a good performance with pictures using the default camera app?
sorry for my bad english.
 

lefty100

Member
Aug 4, 2017
21
0
Have a question regarding OTA (updater).

Since i suffered from boot loop in the past after trying to use the updater
and also after do manual update via TWRP, i wonder if it now safe to use the updater since afaik TWRP currently doesn't support android 11.

My current LineageOS version is 18.1-20211011-NIGHTLY-whyred.

Also, when i try to disable Update recovery in updater preferences
i get an error "it is impossible to disable Lineage Recovery updates on this device"
I use TWRP as my recovery.
I also read that using the updater can lose root access if using magisk.
So, what is the safe method to update LineageOS 18.1 ?
If updater is safe, do i need afterwards to change recovery back to TWRP
if i want to use it in order to do backups ?

 

ferreol-fr

Senior Member
Have a question regarding OTA (updater).

Since i suffered from boot loop in the past after trying to use the updater
and also after do manual update via TWRP, i wonder if it now safe to use the updater since afaik TWRP currently doesn't support android 11.

My current LineageOS version is 18.1-20211011-NIGHTLY-whyred.

Also, when i try to disable Update recovery in updater preferences
i get an error "it is impossible to disable Lineage Recovery updates on this device"
I use TWRP as my recovery.
I also read that using the updater can lose root access if using magisk.
So, what is the safe method to update LineageOS 18.1 ?
If updater is safe, do i need afterwards to change recovery back to TWRP
if i want to use it in order to do backups ?

I use [email protected].
I've disable OTA in OrangeFox settings and only checked "Aggressive stock recovery deactivation". (as I understood, the others options are useful for incremental OTA not used by LineageOS, an produce useless backup of system files in our case)
I've installed MagiskManager, but not used it for install magisk
I've installed magisk directly with OrangeFox tool
I've updated magisk whith MagiskManager.
Now I use LineageOS OTA update directly with the stock updater. And update seem perfectly Ok with magisk uptodate in one pass.
 

mankokoma

Senior Member
Dec 28, 2010
806
320
Berlin
I can't install Gapps without ending in TWRP again.
Clean install: format data, install latest LOS nightly, install latest gapps arm64 for A.11 nano or pico... reboot to TWRP after long bootanimation.
LOS alone, no problem... checked all md5. Files are alright and gapps log.txt shows normal installation and no errors. TWRP is v.3.4.0-0
Should I try mindthegapps or maybe 32bit gapps? I'm out of ideas.

EDIT: Same procedure and results with Orange Fox 11.1
 
Last edited:

lefty100

Member
Aug 4, 2017
21
0
I use [email protected].
I've disable OTA in OrangeFox settings and only checked "Aggressive stock recovery deactivation". (as I understood, the others options are useful for incremental OTA not used by LineageOS, an produce useless backup of system files in our case)
I've installed MagiskManager, but not used it for install magisk
I've installed magisk directly with OrangeFox tool
I've updated magisk whith MagiskManager.
Now I use LineageOS OTA update directly with the stock updater. And update seem perfectly Ok with magisk uptodate in one pass.
Thanks for the info.
Can you please explain where i can get stock updater in order
to update LineageOS OTA update ?
 

ferreol-fr

Senior Member
I can't install Gapps without ending in TWRP again.
Clean install: format data, install latest LOS nightly, install latest gapps arm64 for A.11 nano or pico... reboot to TWRP after long bootanimation.
LOS alone, no problem... checked all md5. Files are alright and gapps log.txt shows normal installation and no errors. TWRP is v.3.4.0-0
Should I try mindthegapps or maybe 32bit gapps? I'm out of ideas.

EDIT: Same procedure and results with Orange Fox 11.1
Did you follow this step ?
7. (Optionally): If you want to install any add-ons, repeat the sideload steps above for those packages in sequence.
"If you want the Google Apps add-on on your device, you must follow this step before booting into LineageOS for the first time!"
Personally, I install mindthegapps when the first 18.1 release was available, and as it's indicate before my first LineageOS boot. I've never update anythings from google outside Play Store and I don't notice any trouble with Gaps.
 

lefty100

Member
Aug 4, 2017
21
0
which files are present in your /system/addon.d/ directory ?
Can you list your installed magisk module ?
which files are present in your /data/adb/post-fs-data.d/ directory ?
/system/addon.d/ directory content :
50-lineage.sh
99-magisk.sh

magisk version 23.0 (23000)
I don't see option to downloads and install magisk modules in magisk app

/data/adb/post-fs-data.d/ directory is empty
 

ferreol-fr

Senior Member
/system/addon.d/ directory content :
50-lineage.sh
99-magisk.sh

magisk version 23.0 (23000)
I don't see option to downloads and install magisk modules in magisk app

/data/adb/post-fs-data.d/ directory is empty
So i suppose you are new with magisk.
There is no modules in magisk app, but there is module menu in MagiskManager ! (puzzle icon at the bottom right )
Meanwhile, you question bring me new one : Have you ever try a simple wipe cache and dalvik/ART cache ?
 

lefty100

Member
Aug 4, 2017
21
0
So i suppose you are new with magisk.
There is no modules in magisk app, but there is module menu in MagiskManager ! (puzzle icon at the bottom right )
Meanwhile, you question bring me new one : Have you ever try a simple wipe cache and dalvik/ART cache ?
I think i wiped cache and dalvik/ART cache when i moved to LineageOS 18.1
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    MOD ACTION:

    Thread cleaned.

    Guys, please use civil language. Most of you are senior members and should be lenient in replying to the others. There is no need for anger on the forum. Please read Rule 2, if you have not already read it:
    2. Member conduct.

    2.1
    Language: XDA is a worldwide community. As a result, what may be OK to say in your part of the world, may not be OK elsewhere. Please don't direct profanity, sexually explicit language or other offensive content toward Members or their work. Conversely, while reading posts from other members, remember that the word you find offensive may not be offensive to the writer. Tolerance is a two-way street.

    2.2 Nudity: XDA is used by people of all ages, including minors. It is unacceptable to post nude or pornographic imagery, which includes the exposure of male or female genitalia and / or female breasts.

    2.3 Flaming / Lack of respect: XDA is about sharing and this does not involve virtual yelling (flaming) or rudeness. Flaming or posting with a lack of respect is unacceptable. Treat new members in the manner in which you would like to have been treated when you were a new member. When dealing with any member, provide them with guidance, advice and instructions when you can, showing them respect and courtesy. Never post in a demanding, argumentative, disrespectful or self-righteous manner.

    2.4 Personal attacks, racial, political and / or religious discussions: XDA is a discussion forum about certain mobile phones. Mobile phones are not racial, political, religious or personally offensive and therefore, none of these types of discussions are permitted on XDA.

    2.5 All members are expected to read and adhere to the XDA rules.

    Thank you!
    1
    Which Gapps do you recommend for this rom?
    Opengapps
    or
    Nikgapps
    or
    Mindthegapps
    All gapps works fine

    Lineageos recommend opengapps
    1
    I don't have a PC right now... So that means it's not possible to install Gapps? It actually doesn't work without sideload adb? mmmmhhh. that's bad.
    Step 7 mentioned in my post, normally include that you have ever install custom recovery.
    As I'know and as you don't brick your phone, after installing custom recovery PC will not be really required.
    If you want use Lineageos with Gapps. Make a clean install and never boot in before installing Gapps.
    Gapps must be installed and as I know can only be installed by custom recovery :Orange Fox, TWRP (...???; I appreciate mention of any others)
    I copied the file before update and this fixed the problem.
    Thanks for your help.
    So, do i need to do something (wipe ?) before each update or from now on
    in order to update i need only to use the updater ?
    If you use Orange Fox like i mentioned:
    Normally, nothings to do on stock update.
    You can just think to delete second to last, and older if needed: directory /data/magisk_backup_************* who are not automatically cleaned for now.
    I'm happy if I've helped you, and I hope your device, will have a long way.
    1
    Thanks for your help! Okay, I have installed LOS many times with Gapps an ever since it's clear to me :
    1. put LOS and Gapps zips onto external sdcard (md5 of both checked)
    2. Format Data (complete including internal SD). Wipe /system and /cache
    3. install LOS and Gapps right after
    4. reboot
    Now it won't work with LOS18.1 as I run back into TWRP/OrangeFox (whatever recovery I try), if I install Gapps (nano or pico). If I install LOS alone it's booting normal.
    So I don't get the sideload thing... should I do that without a PC? Doesn't make sense to me.

    First, backup your vendor partition.
    Wipe or format vendor partition.
    Install and cross the fingers.
    Sorry but I will go to bed...
  • 72
    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