• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

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

Search This thread

ChristianWS

Member
Sep 6, 2016
31
7
Moto G
Redmi Note 10
Sorry for bothering, but I'm thinking about buying this phone(current one is a Moto G 2013) and decided to check how's the development of custom roms going, and I'm kinda confused by what this mean:

You can't. Our device doesn't allow post installation modules like gapps. I tried, so shipping with gapps is the only way here.

Like, is this a limitation because the phone is too recent and there isn 't 100% support for TWRP/Custom Roms, or is this because Xiaomi did something stupid while designing the phone?

The same questions applies for why you said it would be difficult to make the ROM Official
 

MPK99

Senior Member
Jun 25, 2017
379
172
Mexico
gitlab.com
Sorry for bothering, but I'm thinking about buying this phone(current one is a Moto G 2013) and decided to check how's the development of custom roms going, and I'm kinda confused by what this mean:



Like, is this a limitation because the phone is too recent and there isn 't 100% support for TWRP/Custom Roms, or is this because Xiaomi did something stupid while designing the phone?

The same questions applies for why you said it would be difficult to make the ROM Official
It's the limitation of A/B partitioning & offcourse, TWRP is still in alpha, bcaz TWRP is yet to release A11 codebase....Nebrassy did a great job building TWRP without it.

Officializing the ROM is difficult only for Lineage.
I already made crDroid official, u can check in it's thread.
 

Anish Louis

Member
May 25, 2021
45
3
Redmi Note 10
Yeah. Cr droid is an amazing os. imho its better than pe. 😁. Only drawback is the video recording bug. Hope it will be resolved soon. Can anyone explain y the bug exits in all of the custom rom. I tried almost all roms. Just curious to know.😊
 

ChristianWS

Member
Sep 6, 2016
31
7
Moto G
Redmi Note 10
It's the limitation of A/B partitioning & offcourse, TWRP is still in alpha, bcaz TWRP is yet to release A11 codebase....Nebrassy did a great job building TWRP without it.

Officializing the ROM is difficult only for Lineage.
I already made crDroid official, u can check in it's thread.
It's a limitation that will never be lifted? I'm unfamiliar with how things are going right now in terms of custom roms(again, I still use a 2013 phone), but it appears that LineageOS is officially supported on some A/B Devices(and I've found mentions of flashing Magisk on them), so is it fair to assume that eventually the Redmi Note 10 will receive official support AND be able to support flashing of post installation modules, like OpenGAPPS/Magisk(or whatever is relevant in the future)?
 
Last edited:

Zirila

Senior Member
Jul 31, 2015
160
52
It's a limitation that will never be lifted? I'm unfamiliar with how things are going right now in terms of custom roms(again, I still use a 2013 phone), but it appears that LineageOS is officially supported on some A/B Devices(and I've found mentions of flashing Magisk on them), so is it fair to assume that eventually the Redmi Note 10 will receive official support AND be able to support flashing of post intalation modules, like OpenGAPPS/Magisk(or whatever is relevant in the future)?
a/b partitioning isn't a limitation, that's just misleading. a/b partitioning is rather something new that rom and tool developers have to adjust to. the beginning is always difficult. but if devs have learned how to use it and what it does it could actually be beneficial for development.

I recommend reading this excellent summup from XDA regarding a/b partitioning, so you understand what's happening in the background. it is also important to understand if you want to flash custom roms, due to the lack of recovery partitions and how OTAs (will maybe) work in the future:
https://www.xda-developers.com/how-...ess-updates-affect-custom-development-on-xda/

a/b partitions is the future default everywhere, it's just a matter of time until the community has learned how things are done then.
 
  • Like
Reactions: ChristianWS

ups2k

Member
May 7, 2016
9
7
Kazan
VANILLA Lineage 2021-06-12 is not VANILLA, GAPPS inside. Snap camera is absent. Gallery2 is absent. There are third-party APKs. The author, I respect your work, but why you are doing this is unclear. LineageOS is so good that she is clean. No need to add anything extraneous or remove anything. Who needs GAPPs uses PE and others ROMs.
 

MPK99

Senior Member
Jun 25, 2017
379
172
Mexico
gitlab.com
VANILLA Lineage 2021-06-12 is not VANILLA, GAPPS inside. Snap camera is absent. Gallery2 is absent. There are third-party APKs. The author, I respect your work, but why you are doing this is unclear. LineageOS is so good that she is clean. No need to add anything extraneous or remove anything. Who needs GAPPs uses PE and others ROMs.
Sorry for the inconvenience. It was a mistake (uploaded gapps as vanilla). I re-uploaded it.
 
  • Like
Reactions: ups2k

Zirila

Senior Member
Jul 31, 2015
160
52
whith this lineageOS build, USB Debugging is *always* automatically turned on when rebooting. there is no way to disable it. is this kind of a development build?
I'm concerned this is a security risk when you don't know that it's always enabled after rebooting.

i also found this thread for further information:
 

Zirila

Senior Member
Jul 31, 2015
160
52
@MPK99 is this kind of a debug build? I tried everything, esp. the ro.debugging and persist.sys(/vendor).usb.config props to disable usb debugging on reboot, but nothing workds.

even with developer options disabled, usb debugging gets re-enabled on every restart.

is ist possible to make a build that doesn't have this behaviour?
 

MPK99

Senior Member
Jun 25, 2017
379
172
Mexico
gitlab.com
@MPK99 is this kind of a debug build? I tried everything, esp. the ro.debugging and persist.sys(/vendor).usb.config props to disable usb debugging on reboot, but nothing workds.

even with developer options disabled, usb debugging gets re-enabled on every restart.

is ist possible to make a build that doesn't have this behaviour?
It's userdebug. I'll look into this prob.
 

gnomiik

New member
Jun 7, 2021
2
0
Anyway to boost the headset and speaker volume in this rom? Could be root method, that is fine with me. I find the volume in this rom to be a little quieter than MIUI stock, PE+, and crDroid. Thanks in advance.

By the way, I like this rom a lot and prefer it over the others for it's stability and battery life. My only suggestion besides the volume boost is to also enable adding columns / rows to the quick settings tiles.

Thank you.
 

StaryMuz

Senior Member
Dec 27, 2012
244
58
... My only suggestion besides the volume boost is to also enable adding columns / rows to the quick settings tiles.
...
Lineage OS is already a stable system and does what it does.
It is not possible to add and change features on demand, then it would not be Lineage OS anymore, but for example crDroid (a Lineage OS extension).
But you have the option to add an extension using another launcher, or perhaps Gravitybox (Xposed).
 

gnomiik

New member
Jun 7, 2021
2
0
Well, what about the volume then? Many have stated in this forum on other devices as well that LOS tends to have lower volume compared to stock for some unknown reason. Wouldn't it make sense to be able to at least match the stock volume?
 

StaryMuz

Senior Member
Dec 27, 2012
244
58
The factory firmware can use a booster for its phones to boost the sound if the basic Android system volume doesn't suit it. It doesn't necessarily mean that the system has the wrong sound setup at all. But the question is what sound booster options can be used for Lineage OS. I have no suitable information in this regard.
 

rien333

Member
Dec 29, 2019
5
0
Some tutorials on how to install this ROM state that you'll need a Mi account to do so (and also that you need to wait two weeks for the "official" unlock process to succeed!) Some settings in the "developer options" section also require a Mi account.

My question, then, is if I actually need such an account. The installation instructions at the beginning of this thread don't mention anything about this, so I'm guessing such an account is not strictly required. Furthermore, I also wonder if you're actually required to use official xiaomi tools to get the phone "ROM ready" (as the tutorial above describes), or if you can just use fairly standard tools and procedures (e.g. adb + twrp or whatever) to install this rom.

Thanks!
 

zamiboi I

New member
Jun 22, 2021
3
0
Hello, Thank you for your work. I was wondering If I could flash my own gapps? I just need ok google functionality to work but it doesn't work if its not a system app (like PE rom for me). I just have a lot of home automation buttons and on PE it doesnt work. I havent been in the custom rom scene for a while so I was wondering if anything regarding gapps changes such as open gapps etc?
 

zamiboi I

New member
Jun 22, 2021
3
0
Some tutorials on how to install this ROM state that you'll need a Mi account to do so (and also that you need to wait two weeks for the "official" unlock process to succeed!) Some settings in the "developer options" section also require a Mi account.

My question, then, is if I actually need such an account. The installation instructions at the beginning of this thread don't mention anything about this, so I'm guessing such an account is not strictly required. Furthermore, I also wonder if you're actually required to use official xiaomi tools to get the phone "ROM ready" (as the tutorial above describes), or if you can just use fairly standard tools and procedures (e.g. adb + twrp or whatever) to install this rom.

Thanks!
I think that process is only for unlocking your bootloader. I had to do it before flashing any roms. It took 7 days. Then you can flash any recovery or rom after that. and for that you do need a MI account and sim inserted in the phone. After my bootloader unlock request i took the sim out and used my other phone lol. but you can still go about using it normally day to day.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    THREAD CLEANED

    Just a friendly reminder to keep it civil, on-topic and refrain from putting fuel to fire by responding to posts that you think are offensive or hateful. Just report if you feel something isn't right and let us take care of it for you, so that we can make your experience on the forum better. :)

    Regards,
    shadowstep
    Forum Moderator
    3
    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
    1
    if i want safetynet-fix, is it required to install Magisk and root the device?
    Currently, you need to. Next los update will have the fix...
    1
    I finally managed to "dirty flash" to the latest version.. but that was rather a clean flash.

    I tried installing the latest LOS version after clean flashing MIUI and that alone was very adventurous with many a/b errors and again clean flashes.
    but in the end I was able to boot the latest LOS rom and it could set up default encryption keys for /data and stuff.
    After that, I restored my TWRP nandroid backup from the previous LOS rom. not all, just the /data partition.
    So I had: clean, latest LOS rom + my previous /data.
    It didn't start at first (loaded endlessly) but I found out that the problem was Magisk with my signature spoof module, which was tailored for the previous LOS rom version. I build one for the new version and replaced the module (updated services.jar in /data/adb/modules/sspoof). Then it finally booted up completely.
    However, many system settings were reset, so I had to manually adjust them again. But that wasn't so painful, as losing my data.

    a few things I noticed immediately after it started up:

    with the latest version the Quick Panel has suddenly only 2 lines of icons in it's most dropped down state. before it was 3 lines (that was better imho). a few icons are missing too that were there before, something like "black and white for reading"-icon.

    next thing I checked out was exFAT support, and indeed, this version got it covered. I wiped my ext. sdcard and inserted it again, the rom automatically formated it as exFAT (it did fat32 before). great!

    unfortunately, USB Debugging is still always auto-enabled on every boot, and when you connect to the PC it always asks for USB-debugging authorization. as mentioned earlier I consider that as security risk - this still needs fixing.

    otherwise, I'm happy it's working now. just too bad for the amount of time to get there.

    ah and yes.. you might be right, I'll try LOS recovery next time.. I'm just not sure whether it works so well with installing magisk and I want to make nandroid backups, but if that also works with fastboot twrp, then I'll give it a try.

    when I've already TWRP recovery installed, how am I supposed to get LOS recovery back? Re-flashing the los rom.zip almost certainly leads to a/b flash errors in TWRP... is there a way to extract only the los recovery img that I can flash?
    Well I wanted to release it with a user build but I had some issues in building the user build so that will be a bit late but it will be there soon
    I actually have my exams starting so thats why I rushed the release a bit...
    And yeah I made a bit of qs panel tweaks..
    Icons are missing? Oh well will check that too hopefully will be be fixed by next build
    1
    I finally managed to "dirty flash" to the latest version.. but that was rather a clean flash.

    I tried installing the latest LOS version after clean flashing MIUI and that alone was very adventurous with many a/b errors and again clean flashes.
    but in the end I was able to boot the latest LOS rom and it could set up default encryption keys for /data and stuff.
    After that, I restored my TWRP nandroid backup from the previous LOS rom. not all, just the /data partition.
    So I had: clean, latest LOS rom + my previous /data.
    It didn't start at first (loaded endlessly) but I found out that the problem was Magisk with my signature spoof module, which was tailored for the previous LOS rom version. I build one for the new version and replaced the module (updated services.jar in /data/adb/modules/sspoof). Then it finally booted up completely.
    However, many system settings were reset, so I had to manually adjust them again. But that wasn't so painful, as losing my data.

    a few things I noticed immediately after it started up:

    with the latest version the Quick Panel has suddenly only 2 lines of icons in it's most dropped down state. before it was 3 lines (that was better imho). a few icons are missing too that were there before, something like "black and white for reading"-icon.

    next thing I checked out was exFAT support, and indeed, this version got it covered. I wiped my ext. sdcard and inserted it again, the rom automatically formated it as exFAT (it did fat32 before). great!

    unfortunately, USB Debugging is still always auto-enabled on every boot, and when you connect to the PC it always asks for USB-debugging authorization. as mentioned earlier I consider that as security risk - this still needs fixing.

    otherwise, I'm happy it's working now. just too bad for the amount of time to get there.

    ah and yes.. you might be right, I'll try LOS recovery next time.. I'm just not sure whether it works so well with installing magisk and I want to make nandroid backups, but if that also works with fastboot twrp, then I'll give it a try.

    when I've already TWRP recovery installed, how am I supposed to get LOS recovery back? Re-flashing the los rom.zip almost certainly leads to a/b flash errors in TWRP... is there a way to extract only the los recovery img that I can flash?
    And you can flash los recovery from the main post
  • 16
    f811f5723a0834a63de7b0cea485c373bee439dfa9687f77bb2468f8f3dc248ca542.jpg

    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. In this current build, you can remove google apps from system & use microg on it too. 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 :
    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.)

    Note :

    • Dont dirty flash this build over prev Gapps build
    • Clean Flash recommended
    • Use universal fix for safetynet

    Use Los Recovery or TWRP
    FlameGapps and OpenGapps recommended

    Installation:

    • Sideload / Flash
    • Reboot to Recovery
    • Gapps (optional)
    • Format (optional)

    CURRENT KNOWN ISSUES :
    - Camcorder record bugs

    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/PixelExperience-Devices/kernel_xiaomi_mojito
    ROM OS Version: Android 11
    ROM Kernel: 4.14.190-LA.UM.9.1.r1-09600
    Security patch level: June 2021

    Version Information
    Status:
    Stable

    Created 2021-06-01
    Last Updated 2021-07-21

    👍SMASH THE LIKE & SHOW YOUR APPRECIATION👍
    3
    It would be a better base without GAPPS. Why is it included?
    crDroid is also an extension of Lineage OS.
    But we miss a clean Lineage OS.
    Even so, I like him and how it will be time, phone reinstall.
    (y)
    3
    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
    3
    THREAD CLEANED

    Just a friendly reminder to keep it civil, on-topic and refrain from putting fuel to fire by responding to posts that you think are offensive or hateful. Just report if you feel something isn't right and let us take care of it for you, so that we can make your experience on the forum better. :)

    Regards,
    shadowstep
    Forum Moderator
    2
    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 (and I'll be maintaining Los now)
    • 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