• 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

ferreol-fr

Senior Member
i installed MindTheGapps 11.0
Normally you may have a 30-gapps.sh file in your /system/addon.d/ directory.
As you previously don't list this file, I suppose the leak of this file can explain your bootloops.
Have you previously wipe your system before an update ?
Try to install MindTheGapps again after update, or just copy 30-gapps.sh before update.
 

mankokoma

Senior Member
Dec 28, 2010
810
321
Berlin
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.
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.
 

lefty100

Member
Aug 4, 2017
25
4
Normally you may have a 30-gapps.sh file in your /system/addon.d/ directory.
As you previously don't list this file, I suppose the leak of this file can explain your bootloops.
Have you previously wipe your system before an update ?
Try to install MindTheGapps again after update, or just copy 30-gapps.sh before update.
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 ?
 

ferreol-fr

Senior Member
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.
 
  • Like
Reactions: mankokoma

mankokoma

Senior Member
Dec 28, 2010
810
321
Berlin
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)
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.
 

ferreol-fr

Senior Member
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...
 
  • Like
Reactions: mankokoma

ferreol-fr

Senior Member
anyone having a problem that when the phone wake up from deep sleep, the wifi is unresponsive for 30s-1min then works normally?
Hi,

I had a similar problem, not associated with deep sleep, but specific to an old Linksys router used as a WiFi access point.

I almost solved the problem by putting "1dot1dot1dot1.cloudflare-dns.com" in settings>Network and Internet>Advanced>Private DNS>Hostname of private DNS provider.

By this way you will be using Cloudflare as your DNS provider instead of Google or your ISP, as it should be. So check that this is allowed for you in your country, and take time to understand what you are doing.

In my case, I think the problem is a consequence of not supporting IPV6 by this specific device. And since I prefer Cloudflare for my DNS provider than Google or my ISP, I was satisfied with this solution.
 
  • Like
Reactions: plusminus_

AkshitGupta

Member
Sep 24, 2021
6
1
Downloading Now.

3rd June 2020
Things that i found working are:-
1.Volte(Tested on !dea and Jio) and native Video-Over-LTE(JIO Only) is working perfectly.
2. FM Radio works perfectly.
3.Flashed with Gapps PICO 10.0 works perfectly, but initially tried flashing with NANO 10.0 and resulted in a bug while setting up the google account(first boot), the "set fingerprint+pin" and "Google assistance" Loop.
4. IR blaster works perfectly.

I have found out some bugs,
1. There is problem in sending SMS (not recieving).
2. Netflix does not work.
3. Cannot send SMS due to which banking apps or UPI apps such as Google Pay(TEZ) cannot be setup.



4th June 2020
Found a bug in "in-call recorder" failed to start.
For me JIO to JIO video calling is not working!! , did you did something extra?!, and what Gapps you flashed!?
 

Jaunor

New member
Nov 9, 2021
2
0
This rom is amazing, I have tried many and for me this is the best by far, thank you very much for sharing it :D
I have a little question, does this rom use EAS or HMP?
 

Chronic Zaman

Member
Jul 3, 2017
27
1
Xiaomi Redmi Note 5 Pro
Is there a way to completely silent the phone without ANY vibrations? I can do that when I was on MIUI 11 and xiaomi.eu version. I want to use this rom because it's lightweight and it has a dark mode.

I have a fear of vibrations, to the point that I think that I'm going to die, so I really want to remove it.

I found out disabling vibrations using adb but only for specific apps and it goes back when reinstalled.

cmd appops set <package> VIBRATE ignore

Is there a way to remove the vibration using an app or at least an easier to execute command?
My phone is rooted, if that can help. Please help me
 
Last edited:

kos25k

Senior Member
Nov 15, 2012
3,107
428
So there isnt an option to completely remove vibrations?also which gapps u use guys?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Well, today's build fails I guess... No update. 😝
    1
    Very good ROM but there is a problem, I read a lot of other users have the same issue.
    Alarms don't wake up the phone like on the stock MIUI ROM.

    Can this be fixed somehow?
    Is it possible to schedule wake up?
    is there any solution for this?
    I read that it worked fine in the past and got broken after some update.
    1
    I still have problems with GPS. The only fix that work is to do a restart every time GPS not working.
    I have another issue with mobile data. Many times phone restart itself each time i turn on mobile data.
    All these problems didn't occur when i used android 8.0 rom.
    Maybe this is related to the firmware which latest version support android 9.0 only.
    1
    But it strange GPS works fine with Android auto !
    You mean that when you use Android Auto, you apply GPS fix and then GPS works ?
  • 74
    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