• 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
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
So there isnt an option to completely remove vibrations?also which gapps u use guys?
I'm not sure that will do the trick for every case. But with SmartPack-Kernel Manager (requiring root), in Misc, you have the ability to set Vibration Strength to 0.
I use MindTheGapps, since the first 18.1 release, when this was the only one recommended and with not any issue.
Here, ten post upper, Open GApps seem to have boot loop issue.
 

ferreol-fr

Senior Member
  • Like
Reactions: brianmolko1981

Mattew029

Member
Dec 11, 2021
11
2
Hi guys!
I need help. My device is still running Lineage 17.1, but I think is time to update.
I have a few questions:
  1. This version is as stable as 17.1?
  2. I have the TWRP 3.5.2, is it ok for the 18.1 or I have to update it?
  3. Can I use the same Google camera version, also same file?
  4. Is the battery life the same?
Thanks for your help :)
 

lifesaver38

Senior Member
Jan 1, 2019
154
22
Grenoble
Very very nice ROM ! Everything works perfectly, I love this ROM, realy !
But I found only on problem, which is serious : my bank application doesn't work and says me my phone is rooted, but it's wrong ! With Crdroid, lineage based ROM, I haven't this problem, I don't know the origin.
Is there a solution ? I hope so !!!
 
Last edited:

Mattew029

Member
Dec 11, 2021
11
2
Very very nice ROM ! Everything works perfectly, I love this ROM, realy !
But I found only on problem, which is serious : my bank application doesn't work and says me my phone is rooted, but it's wrong ! With Crdroid, lineage based ROM, I haven't this problem, I don't know the origin.
Is there a solution ? I hope so !!!
If I'm not wrong, when you install this ROM, su in automatically installed. If you want to remove it, I think you should flash the su remove file.
 
  • Like
Reactions: lifesaver38

ferreol-fr

Senior Member
If I'm not wrong, when you install this ROM, su in automatically installed. If you want to remove it, I think you should flash the su remove file.
Sorry, but I'think, you're wrong. Lineageos, doesn't include su.
Very very nice ROM ! Everything works perfectly, I love this ROM, realy !
But I found only on problem, which is serious : my bank application doesn't work and says me my phone is rooted, but it's wrong ! With Crdroid, lineage based ROM, I haven't this problem, I don't know the origin.
Is there a solution ? I hope so !!!
Try:
-Disable developer option if enabled.
-Remove all related su on your device (root checker, root manager...).
-Stop and Clear data and cache on your bank application.
-Reboot to recovery an wipe caches.
-Boot to system and try again your bank app
 

lifesaver38

Senior Member
Jan 1, 2019
154
22
Grenoble
Sorry, but I'think, you're wrong. Lineageos, doesn't include su.

Try:
-Disable developer option if enabled.
-Remove all related su on your device (root checker, root manager...).
-Stop and Clear data and cache on your bank application.
-Reboot to recovery an wipe caches.
-Boot to system and try again your bank app
I Try:
-Disable developer option if enabled. -> note enabled
-Remove all related su on your device (root checker, root manager...). -> No root applications on the device
-Stop and Clear data and cache on your bank application. -> OK
-Reboot to recovery an wipe caches. -> OK
-Boot to system and try again your bank app -> NOK, bank app still fails. I contacted their technical service, but I'm afraid do not get a lot of help from them ...
 

Mattew029

Member
Dec 11, 2021
11
2
First, backup your vendor partition.
Wipe or format vendor partition.
Install and cross the fingers.
Sorry but I will go to bed...
@ferreol-fr I have a question for you.
I want to install Lineage 18.1.
When I flash a ROM I usually do full wipe (Wipe Dalvik / ART Cache, Cache, System, Data, Internal Storage).
Never heard about vendor. Is it dangerous? Is it ok if I don't wipe vendor? Lineage OS will wipe the vendor itself before installation?
Do you think that TWRP 3.5.2 is ok for Android 11 or the newest 3.6.0 is mandatory?
Thanks in advance :)
 

lifesaver38

Senior Member
Jan 1, 2019
154
22
Grenoble
Which GCAM did you use for Whyred on LineageOS 18.1 ?
I tried GCam_7.3.018_Urnyx05-v2.6, works fine, but I c'an't change jpeg compression level, photos are too loud...
 

ferreol-fr

Senior Member
@ferreol-fr I have a question for you.
I want to install Lineage 18.1.
When I flash a ROM I usually do full wipe (Wipe Dalvik / ART Cache, Cache, System, Data, Internal Storage).
Never heard about vendor. Is it dangerous? Is it ok if I don't wipe vendor? Lineage OS will wipe the vendor itself before installation?
Do you think that TWRP 3.5.2 is ok for Android 11 or the newest 3.6.0 is mandatory?
This is a Very good question...
Normally, you don't have to format vendor partition.
And normally you don't have to format system partition...

As i'm rooted, I've ever modify my vendor and my system partition , without any issue, and with some result. But I personally discourage anybody to do this, as he is not sure of the result.

I've advised @mankokoma to do this because he was confronted to a specific trouble. And this advise was useless.

I advice him to do this because I don't know the answer to a simple question : When in your OTA update you simply have system.new, vendor.new file. And no system.patch.dat or vendor.patch.dat :
Is there something subsist after update in this partition ?
 
  • Like
Reactions: Mattew029

ferreol-fr

Senior Member
@ferreol-fr are you still on the discontinued Orange fox ? I want to update to the latest LOS build but Im a little concerned with switching recovery right now.
I'm still using discontinued Orange fox.
Since I'm on Lineageos 18.1, and since Orange fox official version for whyred is the last one, I hope it's safe.
But you are right. This is a real problem for the future of our whyred system.
 
  • Like
Reactions: CoLdIcE42

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