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

Development [ROM][11.0][UNOFFICIAL] Lineage OS 18.1 for Redmi Note 10 (mojito / sunny)

Search This thread

MPK99

Senior Member
Jun 25, 2017
520
364
Mexico
gitlab.com
Redmi Note 10
Changelog (23/09/21):
• Moved to armv8-2a
• Added BatteryHealth & Charge Cycle
• Added Auto Call Record
• Added Dirac Enhancer
• Added camera cutout ring like memeui
• Added main display cutout overlays
• Updated device cutout corners
• Fixed wifi display cast
• Updated brightness overlay configs
• Bring back full stack of audio ACDB
• Removed virtual framebuffer cmdline
• Set voice call volume steps to 10
• Addressed more sepolicy rules
• Fixed thermal crash

Notes:
• SafetyNet will fail.
GCam recommended. No issues with Ultrawide & Macro
• MicroG variant supports spoofing out of the box
 
Last edited:

funbob33

New member
Sep 24, 2021
1
0
Do i need to clean flash from previous builds of LOS for mojito? And for the gapps variant, what gapps does it include (i'm hoping that it's just core services)?
 

MPK99

Senior Member
Jun 25, 2017
520
364
Mexico
gitlab.com
Redmi Note 10
Can I install this using twrp? From another custom ROM to lineage?
You can.
cant pass safety net even after applying riru and unervsel fix tru magisk. Any ideas?
Hm strange. Will look into this. It didn't even on last build by subhan.
Also I am using microg for the first time. Wattsapp and maps are still saying they need play servcies for working. Is microg is used instead of play services? Pls help🙄
You can't spoof maps bcaz of api v3. Everything on whatsapp works fine here, except gdrive backup.
 
  • Like
Reactions: Nyakov

@StoneRanger

New member
Sep 25, 2021
1
0
Two bugs in this rom, one major and one minor, respectively:
1. While calling the other side can't hear my voice, but in voip platforms like whatsapp and skype, they can.
2. Screen Recordings are too much laggy.
Thank You
 

MPK99

Senior Member
Jun 25, 2017
520
364
Mexico
gitlab.com
Redmi Note 10
Changelog (01/10/21):
• Fixed Spoofing on microg variant
• QS size set to 2x4
• Fixed Slow charging
• Fixed camera color shift
• Moved to Lineage Recovery
• Allow all filesystems for USB-OTG
• Don't check prox before pulsing

Caution: Failed SafetyNet.
 
Last edited:
  • Like
Reactions: tbm13 and Agent Lu

reckoon

New member
Oct 2, 2021
2
0
Why does the MicroG build include proprietary applications like GBoard and Google Calendar and Contacts Sync Services as system apps? Can you please remove them, or replace them with free software? If someone has to download GBoard, they can just add it as a non-system app.
 

MPK99

Senior Member
Jun 25, 2017
520
364
Mexico
gitlab.com
Redmi Note 10
Why does the MicroG build include proprietary applications like GBoard and Google Calendar and Contacts Sync Services as system apps? Can you please remove them, or replace them with free software? If someone has to download GBoard, they can just add it as a non-system app.
There's nothing wrong shipping proprietary counterparts, as they're free & recognised / play store certified.
 

reckoon

New member
Oct 2, 2021
2
0
There's nothing wrong shipping proprietary counterparts, as they're free & recognised / play store certified.
People usually prefer LineageOS over other roms is due to the fact that it ships with only free and open source applications (degoogled by default). People who need GApps usually use roms like PE or flash it by themselves.

I read somewhere that due to some hardware limitation, flashing GApps is not possible, which is why you release two builds (GApps and MicroG). I have not used MicroG before(I used a 'base' build of LOS with no GApps on my old phone), but I have read that it is a free and open source replacement of google play services for people who want to use applications requiring google play services, but keeping their phone degoogled. Shipping proprietary components by default defeats the purpose of using MicroG in the first place.

Also, it is very easy for someone to install GBoard from the app store. However, if is already installed as a system app, removing after each update is cumbersome.

Can you please consider either releasing a 'base' LOS build or removing proprietary google components from the MicroG build? Thank you.
 

MPK99

Senior Member
Jun 25, 2017
520
364
Mexico
gitlab.com
Redmi Note 10
People usually prefer LineageOS over other roms is due to the fact that it ships with only free and open source applications (degoogled by default). People who need GApps usually use roms like PE or flash it by themselves.

I read somewhere that due to some hardware limitation, flashing GApps is not possible, which is why you release two builds (GApps and MicroG). I have not used MicroG before(I used a 'base' build of LOS with no GApps on my old phone), but I have read that it is a free and open source replacement of google play services for people who want to use applications requiring google play services, but keeping their phone degoogled. Shipping proprietary components by default defeats the purpose of using MicroG in the first place.

Also, it is very easy for someone to install GBoard from the app store. However, if is already installed as a system app, removing after each update is cumbersome.

Can you please consider either releasing a 'base' LOS build or removing proprietary google components from the MicroG build? Thank you.
You can avoid google's firebase trackers just by disabling app or restricting the network access for proprietary specific apps.
Microg itself designed to spoof google play services.
If you have concerns with open source-ability sir, below are the only proprietary ones that I've included which worth disabling:
> Via browser - by tu yafeng
> QuickPic Gallery - by wstprojects
> Gboard - by Google LLC
As this is unofficial, I don't mind shipping proprietary apps, as long as they improve the user experience.
 

lex_2193

Member
Jan 19, 2009
10
5
I was using the vanilla version with opengaps pico installed (bare minimum for sync and google play), what should I choose from the MICROG or GAPPS version to have an equivalent ?
There is a warning of a failed SafetyNet in the last version, does this have an important impact ?
 

greentrees24

New member
Jan 27, 2018
2
0
I was using the vanilla version with opengaps pico installed (bare minimum for sync and google play), what should I choose from the MICROG or GAPPS version to have an equivalent ?
There is a warning of a failed SafetyNet in the last version, does this have an important impact ?
I'm running microG after waiting a week for the bootloader to be unlocked by Xiaomi. Been running perfect for the last week, no issues. I haven't needed to try make SafetyNet work yet for an app (there is a method to do it afaik). The microG version comes with the Aurora store which is a Google Play Store simulator and makes installing/updating apps a breeze

If you go the GAPPS version you will get these packages which seems very minimal, I don't know if it is as minimal as pico GAPPS myself https://forum.xda-developers.com/t/...mi-note-10-mojito-sunny.4285859/post-85133023
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Changelog (23/09/21):
    • Moved to armv8-2a
    • Added BatteryHealth & Charge Cycle
    • Added Auto Call Record
    • Added Dirac Enhancer
    • Added camera cutout ring like memeui
    • Added main display cutout overlays
    • Updated device cutout corners
    • Fixed wifi display cast
    • Updated brightness overlay configs
    • Bring back full stack of audio ACDB
    • Removed virtual framebuffer cmdline
    • Set voice call volume steps to 10
    • Addressed more sepolicy rules
    • Fixed thermal crash

    Notes:
    • SafetyNet will fail.
    GCam recommended. No issues with Ultrawide & Macro
    • MicroG variant supports spoofing out of the box
    4
    Changelog (26/09/21):
    • OrangeFox Recovery pre-included
    • Smarter decisions on whether to use 2/5Ghz AP
    • Disabled wifi firmware logging
    • Disabled NUD failure occurs logging
    • Fixed whatsapp mic delay or crashes
    • Improved overall system performance
    2
    Can we expect another update?
    I'm tired of all roms and i want something simple for basic usage
    Thanks
    I've re-owned lineage thread...
    Will drop los by couple days. Crd by this week.
    2
    Changelog (01/10/21):
    • Fixed Spoofing on microg variant
    • QS size set to 2x4
    • Fixed Slow charging
    • Fixed camera color shift
    • Moved to Lineage Recovery
    • Allow all filesystems for USB-OTG
    • Don't check prox before pulsing

    Caution: Failed SafetyNet.
    1
    Can we expect another update?
    I'm tired of all roms and i want something simple for basic usage
    Thanks
  • 23
    1633823826022.png


    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.

    Downloads :

    Note :

    • SafetyNet will fail.
    GCam recommended. No issues with Ultrawide & Macro
    • If you guys experience spoofing issues, try Spoof magisk module.

    Installation:
    • Sideload / Flash
    • Reboot to Recovery
    • Format (optional)

    or Install through Fastboot

    CURRENT KNOWN ISSUES :
    - Safety Net

    Reporting Bugs :
    • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
    • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)

    XDA::)evDB Information
    [ROM][11.0][UNOFFICIAL] Lineage OS 18.1 for Redmi Note 10 (mojito / sunny)
    Source Code:
    https://github.com/LineageOS
    Kernel Source Tree: https://github.com/Neternels/android_kernel_xiaomi_mojito
    ROM OS Version: Android 11
    ROM Kernel: 4.14.206
    Security patch level: September 2021

    Version Information
    Status:
    Stable

    Created 2021-06-01
    Last Updated 2021-10-01

    👍SMASH THE LIKE & SHOW YOUR APPRECIATION👍
    4
    Changelog (01/10/21):
    • Fixed Spoofing on microg variant
    • QS size set to 2x4
    • Fixed Slow charging
    • Fixed camera color shift
    • Moved to Lineage Recovery
    • Allow all filesystems for USB-OTG
    • Don't check prox before pulsing

    Changelog (26/09/21):
    • Included OrangeFox Recovery
    • Smarter decisions on whether to use 2/5Ghz AP
    • Disabled wifi firmware logging
    • Disabled NUD failure occurs logging
    • Fixed whatsapp mic delay or crashes
    • Improved overall system performance

    Changelog (23/09/21):
    • Moved to armv8-2a
    • Added BatteryHealth & Charge Cycle
    • Added Auto Call Record
    • Added Dirac Enhancer
    • Added camera cutout ring like memeui
    • Added main display cutout overlays
    • Updated device cutout corners
    • Fixed wifi display cast
    • Updated brightness overlay configs
    • Bring back full stack of audio ACDB
    • Removed virtual framebuffer cmdline
    • Set voice call volume steps to 10
    • Addressed more sepolicy rules
    • Fixed thermal crash

    Changelog (21/07/21):
    • Dropped gapps variant
    • Switched to User builds
    • Increased system partition's size
    • Included TWRP 3.5.2
    • Set props for Rounded Gboard(If you install Gboard)
    • Setup required props for userspace LMKD
    • Switched Skia rendering backend to Vulkan
    • Enabled force triple frame buffers
    • Added bluetooth aptX blobs from redfin

    Changelog (30/06/21):
    • Initial Build
    • Fixed flashing of libs for ANX
    • Tweaked qs panel a bit

    Changelog (12/06/21):
    • Removed addons (simple calendar, mix, gboard, etc)
    • Included Audio FX

    Changelog (01/06/21):
    • Initial build
    • Replaced native apps with lighter ones
    • MiX & Terminal included
    4
    Changelog (23/09/21):
    • Moved to armv8-2a
    • Added BatteryHealth & Charge Cycle
    • Added Auto Call Record
    • Added Dirac Enhancer
    • Added camera cutout ring like memeui
    • Added main display cutout overlays
    • Updated device cutout corners
    • Fixed wifi display cast
    • Updated brightness overlay configs
    • Bring back full stack of audio ACDB
    • Removed virtual framebuffer cmdline
    • Set voice call volume steps to 10
    • Addressed more sepolicy rules
    • Fixed thermal crash

    Notes:
    • SafetyNet will fail.
    GCam recommended. No issues with Ultrawide & Macro
    • MicroG variant supports spoofing out of the box
    4
    Changelog (26/09/21):
    • OrangeFox Recovery pre-included
    • Smarter decisions on whether to use 2/5Ghz AP
    • Disabled wifi firmware logging
    • Disabled NUD failure occurs logging
    • Fixed whatsapp mic delay or crashes
    • Improved overall system performance
    3
    Hi everyone, I got `ErrorCode::kPostinstallRunnerError` after flasing this rom by TWRP, reflash the TWRP into rawdisk, reboot into recovery, reboot to system and my device bootloop into fastboot. Does anyone know why ? Thank you very much ! (LOS Recovery works fine though.)
    I got this error too one time.. I don't remember what helped, but I've installed LOS so many times on this phone in the meanwhile that I know of other ways that pretty sure works. give this a try:

    you need:
    • the TWRP alpha build twrp.img,
    • latest android platform tools (adb+fastboot),
    • latest redmi firmware.zip (link found in first post of the thread),
    • the lineageOS ROM.zip.
    • if you need to make a clean flash: MiFlash Tool and the current/latest MIUI ROM (links found in this forum)
    I make this guide a more-than-usual detailed step-by-step guide so many users can follow.
    1. start from a clean stock flash (flash the current/most recent official MIUI ROM with MiFlash, make sure you check "clean" and -not- "clean and lock" at the bottom before flashing, otherwise you lock your phone again)
    2. now the phone has MIUI and slot "a" is active, just boot to it and create a PIN/3-dot-pattern (in some cases TWRP can't decrypt data with default PW when you don't set this)
    3. switch off your phone, restart it into fastboot mode (vol-down + power).
    4. connect it with your PC, have the latest fastboot.exe from the most recent platform tools (https://developer.android.com/studio/releases/platform-tools)
    5. set the active slot to "b" with: fastboot.exe --set-active=b
    6. load the TWRP.img (currently the alpha build from this forum) with fastboot: fastboot.exe boot twrp.img
    7. load firmware.zip, lineagerom.zip and twrp.img to your phone: in TWRP enable MTP and copy files from your computer to the phone. if this does not work, see next step.
      Then install firmware.zip, then lineageOS.zip. lineageOS gets installed to slot "a".
    8. (if the above step fails to copy files to your phone try ADB sildeload:
      in TWRP go to advanced -> start ADB sideload. in your console cmd: adb sideload firmware.zip, and: adb sideload lineageos.zip. it installs the ROM to slot "a". there might be an error at the end but it works anyway.)
    9. switch off the phone. return to fastboot mode (vol-down + power)
    10. make the active slot now "a" with fastboot.exe --set-active=a
    11. reboot your phone normally to system, let the ROM start. at this point you should be able to launch LineageOS but without recovery. Load it so you can set up a PIN or 3-dot-pattern and then enable MTP connection with your PC.
    12. copy the TWRP.img (and if you want Magisk.zip) to your phone (internal/external storage), we want to install TWRP recovery now.
    13. switch off the phone, boot into fastboot mode.
    14. start TWRP with: fastboot.exe boot twrp.img, enter your PIN/Pattern to decrypt your user[0] data, in TWRP now go to Advanced -> install TWRP to ramdisk. select the TWRP.img you uploaded before. TWRP gets installed to slot "a".
    15. reboot your phone to recovery: Reboot -> Recovery.
    16. If you want to use Magisk/Root, go to Install -> Magisk.zip (If you want to use a custom Kernel in the future, flash the kernel before Magisk)
    17. now reboot to system, LineageOS should start normally and you can finish installing the rest.
    Lets note that this works at the stage of TWRP alpha with current available LineageOS (2021-06). Future versions of TWRP and LOS may change these steps completely.

    also if you have an error intalling or flashing files due to an snapshotted state (happens when you mess up custom ROM installation before and switchin a/b within TWRP), cancel the snapshot first with the command:
    fastboot.exe snapshot-update cancel