[ROM][UNOFFICIAL][11] LineageOS 18.1 for Xiaomi Redmi Note 5 Pro [Whyred][2023-09-15]

Search This thread

SunilSuni

Senior Member
Jul 5, 2017
1,722
1,111
Bengaluru
then what difference is there in the rom of the 22nd with respect to the one of the 18th?
it is assumed that the day 22, if it is the same as the official, should go exactly the same as the official, but it does not happen so.
that's why I have now the version of the day 18, because if not, I drain the battery faster.
These are the different between old vendor blobs and Vendor blobs extracted from 20221024 LineageOS official zip file

Vendor blobs used in official LineageOS has Energy, Performance and Thermal related files which are missing in previous vendor blobs

refer to attached txt file
Previous vendor blobs used in 20230218 and older builds--> /home/sunil/Downloads/vendor_xiaomi_whyred-lineage-18.1

Vendor blobs from LineageOS 20221024 build --> home/sunil/android/lineage/vendor/xiaomi/

I will switch to previous vendor blobs as it has good battery life
 

Attachments

  • Difference.txt
    19.4 KB · Views: 22

TFT69

Senior Member
Aug 22, 2013
122
55
hello. i don't know if others have noticed.
that's what I can tell you.
with the rom of the 18th, I have a similar duration to the official rom.
With the rom of the 22nd, it lasts less.
that's why I have installed your rom, but the rom of the day 18.
 

SunilSuni

Senior Member
Jul 5, 2017
1,722
1,111
Bengaluru
hello. i don't know if others have noticed.
that's what I can tell you.
with the rom of the 18th, I have a similar duration to the official rom.
With the rom of the 22nd, it lasts less.
that's why I have installed your rom, but the rom of the day 18.
I think i have corrected the battry isssue

There was some difference in sdm660-common source

Now battry remains on 68% throughout the night

Initially 2% drop from 70 to 68% but after that battery remains same

Now build is using everything from the official source including vendor blobs from official LOS build 20221024

This is my test build with chromium webview 113
Because official lineage chromium_webview apk file is corrupted and builds are failing
 

Attachments

  • Screenshot_20230321-052527_ಸೆಟ್ಟಿಂಗ್‌ಗಳು.png
    Screenshot_20230321-052527_ಸೆಟ್ಟಿಂಗ್‌ಗಳು.png
    206.9 KB · Views: 45

TFT69

Senior Member
Aug 22, 2013
122
55
thank you for your progress.
I have left the phone on standby all night and it shouldn't drop that much.
When you release this month's update, we'll try it.
greetings.
 
  • Like
Reactions: SunilSuni

SunilSuni

Senior Member
Jul 5, 2017
1,722
1,111
Bengaluru
New update with March Security Patch
lineage-18.1-20230322-UNOFFICIAL-whyred

Synced with lineage sources
Updated chromium webview version to 110 (Couldnt update to version 111, as the build was failing)
Fixed battery drain issue

Everything is based on the official lineage source
Vendor blobs from lineage build 20221024
I have re-uploaded the new build with some of the lineage-18.1 merge changes
 

TFT69

Senior Member
Aug 22, 2013
122
55
  • Like
Reactions: SunilSuni

SunilSuni

Senior Member
Jul 5, 2017
1,722
1,111
Bengaluru
Battery is same in both version
Updated build has few additional changes which i mentioned in my previous comment



hello. this latest version, the re-uploaded one, will it behave the same as the previous one?
i.e. today you uploaded the update, and now this one.
in terms of battery life, will they behave the same?
I have installed the one you uploaded at 9:34am.
 
  • Like
Reactions: TFT69

TFT69

Senior Member
Aug 22, 2013
122
55
I've had it installed for about 2 hours, the latest version.
I will let you know in a few days if everything is ok.
 
  • Like
Reactions: SunilSuni
  • Like
Reactions: SunilSuni

SunilSuni

Senior Member
Jul 5, 2017
1,722
1,111
Bengaluru
Yes, i also got around 36 hours standby with 4 hours 30 minutes screen on time (Mine is 4 years 9 months old mobile)
Everything is based on the official lineage-18.1 source, So the build is similar to official release


I will confirm when it is my turn to charge the battery.
But so far, I have almost 2 days with this charge, after updating to the latest rom.
looks good.
 
  • Like
Reactions: quest2012 and TFT69

TFT69

Senior Member
Aug 22, 2013
122
55
hello.
I would like to say that this version goes very well.
the battery lasts me 4 days. just like the official rom.
When you say that the usb transfer does not work, what do you mean?
reinstall the rom, and delete caches just before rebooting to start for the first time.
 
  • Like
Reactions: SunilSuni

cruncher1234

Member
May 1, 2016
24
1
I don't know. I can sideload from the recovery but if i connect the phone from LOS to a pc and switch to transfer mode then the phone doesn't show up (but i hear a windows system sound). I formatted already everything and also reinstalled MIUI (Android 9) and then twrp and then LOS but it didn't help. If it works for you then there is a problem with my setup. Also another USB cable or a different port didn't change anything.
I must say that i didn't test it from MIUI because i didn't start it before flashing LOS but it worked at least a year ago and i don't want to start again from scratch because of all the effort i had already put in the custom rom ( to configure all apps to connect with their servers).
 

TFT69

Senior Member
Aug 22, 2013
122
55
I don't think it's the rom because it works for me.
I always have it in data transfer mode.
But, sometimes, because of the drivers, I did not recognize it.
Therefore, it did not appear in the list of devices.
solution for me: uninstall the current driver with the phone connected, disconnect the phone from the pc, and reconnect it to install the drivers correctly.
if you say you have formatted, it is supposed to install the correct driver when you connect the phone. don't use programs, let windows do it.

I have now connected the cell phone, and as I said, I have it in data transfer mode.
I have switched to ptp, and after installing and configuring the driver, I have switched back to transfer mode, and everything is fine.
 
  • Like
Reactions: SunilSuni

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    New update is available with September 2023 Security Patch
    lineage-18.1-20230915-UNOFFICIAL-whyred
    5
    It works like a charm, thanks for sharing your knowledge in this public way, @SunilSuni 🙏

    I have updated my new build over yours and it works perfectly as before.

    I limit my builds to sync LineageOS sources. Has your build any other upgrade implemented so it should be better to use it?

    Thanks for your work and support to the community.
    I am not adding/removing anything from the source

    My build is same as original LineageOS 18.1 build thats why even you can dirty flash your build over mine because build is from the same source
    Will be possible to see LOS 20 in near future?
    I am trying but didnt get required support to resolve kernel build failure issue.

    Kernel 4.19 is half baked one. Doesnt have proper defconfig file for whyred.

    Let me do some more research in coming days
    1
    I will help you in solving Chromium Webview problem,
    As the file size got increased, LineageOs team switched to git-lfs for Chromium Webview
    follow the below steps for resolving the build issue

    sudo apt install git-lfs
    cd ~/android/lineage/
    repo init --git-lfs
    rm -rf external/chromium-webview/prebuilt/*
    rm -rf .repo/projects/external/chromium-webview/prebuilt/*.git
    rm -rf .repo/project-objects/LineageOS/android_external_chromium-webview_prebuilt_*.git
    repo sync --force-sync
    source build/envsetup.sh
    breakfast whyred
    croot
    brunch whyred

    Let me know if the build successful or not
    It works like a charm, thanks for sharing your knowledge in this public way, @SunilSuni 🙏

    I have updated my new build over yours and it works perfectly as before.

    I limit my builds to sync LineageOS sources. Has your build any other upgrade implemented so it should be better to use it?

    Thanks for your work and support to the community.
    1
    Hi,
    Can you please add support for OTA updates? For instance, ItsVixano has OTA support on his unofficial builds of LineageOS 20 for Mi A2 Lite (daisy):https://forum.xda-developers.com/t/...eos-20-0-for-xiaomi-mi-a2-lite-daisy.4421213/
    I think the OTA server is on github here:https://github.com/ItsVixano-releases/LineageOS_daisy/
    Can you please DM him or something to know how he implemented it so you can add OTA support for your LineageOS builds (and maybe PixelExperience too if its possible)? I think it will be very helpful in updating instead of having to connect to PC and sideload it manually everytime you update.

    Waiting for your reply.
    Thanks!
    1
    Tiny tip: I recently flashed this DRC remover module (alongside V4A which I was already using) and things, through my headphones at least, sound so much better.
  • 9
    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.

    Thanks to

    - srfarias
    - SebaUbuntu
    - Darkstar085
    - EdwinMoq​

    Installation instructions
    Here

    Device info
    Here

    Download
    lineage-18.1-20230915-UNOFFICIAL-whyred
    Last Official 20221024 build

    Sources
    LineageOS
    Kernel sources
    8
    New build with 2023-05-05 May security patch and updated LineageOS source

    lineage-18.1-20230510-UNOFFICIAL-whyred
    6
    New update with March Security Patch
    lineage-18.1-20230322-UNOFFICIAL-whyred

    Synced with lineage sources
    Updated chromium webview version to 110 (Couldnt update to version 111, as the build was failing)
    Fixed battery drain issue

    Everything is based on the official lineage source
    Vendor blobs from lineage build 20221024
    6
    New update is available with September 2023 Security Patch
    lineage-18.1-20230915-UNOFFICIAL-whyred
    6
    New update with July 2023 Security Patch

    lineage-18.1-20230712-UNOFFICIAL-whyred

    Changelog :
    July 2023 security patch
    Updated Chromium and synced with LOS source