yashsingh1/xdaforums huggingface dataset:
[OnePlus 8 Questions & Answers] darwin1111:
I have a OP8 from Tmobile that they will not unlock. Has anyone found a way to rebrand the 8 away from TMobile without unlocking the bootloader?

I have found the modded MSM tool for the 8T but nothing for the 8 except the original MSM tool.

Any help or guidance would be appreciated.

Thanks in advance
[OnePlus 8 Questions & Answers] KurwaPhone:
I've been wondering the exact same thing , all it is is something in the code telling it relock the bootloader after flashing the software and I know that part works because I've downgraded android versions on a locked financed phone three times now... You would think everyone would be asking to make one for the 8 also..
[OnePlus 8 Questions & Answers] farhansaeeddnp3021:
I am also waiting for Unlocking of Oneplus 8 tmobile Bootloader without unlock token​
[OnePlus 8 Questions & Answers] scorpio76r:
Did you ever find a way?
[OnePlus 8 Questions & Answers] N173M43R:
Wait a few days, call in and let 'em know it's because you're developing for the device.

If you're out of your 14 day return window they're generally pretty nice about it, but it'll still depend on the rep you get. (Can't take a return phone thats been unlocked, causes all sorts of issues)

Source: I work for T-mobile.
[OnePlus 8 Questions & Answers] farhansaeeddnp3021:
yes, i get unlock code from OnePlus website. after applying for it.
[Redmi Note 10] MPK99:
View attachment 5429319

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 :

MICROG

GAPPS

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👍
[Redmi Note 10] MPK99:
Update: I'm no longer available to provide any updates, because builds were just a hobby, beside my routine work. I'd suggest either wait for someone to continue building LineageOS, or migrate to any another stable rom. Apologize for the inconvenience.

Thank you.

Regards,

Prince Cooper

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
[Redmi Note 10] StaryMuz:
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)
[Redmi Note 10] MPK99:
You can remove gms, gsf, phonesky & Sync adapters from twrp or through by root. Those are the only gapps that included here.
[Redmi Note 10] yardroid:
That's true. we can install the gapps ourselves.
[Redmi Note 10] MPK99:
You can't. Our device doesn't allow post installation modules like gapps. I tried, so shipping with gapps is the only way here.
[Redmi Note 10] MPK99:
Will include vanilla later.
[Redmi Note 10] syntheticdingo:
Would this apply to MicroG on a vanilla rom?
[Redmi Note 10] Zirila:
I also want to know that. If I ever want to install gapps it should be microG on a clean lineageOS image.

isn't it possible with magisk?
[Redmi Note 10] UniNick:
You can always install microG easily without flashing on any vanilla rom with signature spoofing.

Either from the free F-Droid store, just download the app via browser on the smartphone and install.

Then add the link to microG in it's repositories settings (https://microg.org/fdroid/repo).

Now you can search in F-Droid for all microG-components you want.

With this method you will be noticed by F-Droid when updates are available.

The other option is to get the apk-files from microg.org/download and install them on the smartphone.
[Redmi Note 10] MPK99:
Didn't try. Might won't work too.

Try magisk modules, go systemless.
[Redmi Note 10] MPK99:
Root, or from alpha twrp, remove these to convert it into vanilla :

/system/app/GoogleContactsSyncAdapter

/system/app/GoogleCalenderSyncAdapter

/system/priv-app/AndroidPlatformServices

/system/priv-app/GoogleServicesFramework

/system/priv-app/Phonesky

/system/priv-app/PrebuiltGMSCore

These are the only apps that I included for this gapps variant
[Redmi Note 10] StaryMuz:
Files cannot be removed.

Not even in TWRP (on ramdisk).

Not even on a rooted phone.

You have to remove them for us in system.ini.

EDIT: Another file manager enabled it in root.
[Redmi Note 10] MPK99:
It's been tested...System partition is R/W.

You can only remove, but can't add.
[Redmi Note 10] StaryMuz:
This rom? I tried it briefly.

I backed up my phone to Google.

But after running rom, restoring from this backup was not possible.

I decided to delete gapps. With TWRP installed on the ramdisk this was not possible. Rooting the system and installing the file manager did the trick.

I then installed the latest gapps test from sourceforge. It tried to restore from backup, but crashed.

So don't count on gapps support on this rom for now.
[Redmi Note 10] Ud4ba:
any chance to become official ?
[Redmi Note 10] MPK99:
Difficult for lineage.
[Redmi Note 10] nierewa:
I love LineAge from the first time I used it on my LG L90.

Thanks and keep going (y)
[Redmi Note 10] MPK99:
That's the reason I pre-included minimal gapps. If someone needs to have vanilla, they can able to remove gapps & possibly unroot.
[Redmi Note 10] StaryMuz:
The Gapps I installed worked.

Google backup recovery has crashed.

If I left it out, it would work.

But what didn't install at all was MindTheGapps

recommended by Lineage OS. https://wiki.lineageos.org/gapps.html

So something's not right in the build for the mojito.
[Redmi Note 10] Anish Louis:
Does this rom have video recordning bu?
[Redmi Note 10] MPK99:
Yes
[Redmi Note 10] ChristianWS:
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
[Redmi Note 10] MPK99:
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.
[Redmi Note 10] Anish Louis:
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.😊
[Redmi Note 10] ChristianWS:
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)?
[Redmi Note 10] Zirila:
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.
[Redmi Note 10] ups2k:
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.
[Redmi Note 10] MPK99:
Sorry for the inconvenience. It was a mistake (uploaded gapps as vanilla). I re-uploaded it.
[Redmi Note 10] ups2k:
Thanks!
[Redmi Note 10] Zirila:
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:

USB debugging is turned on again with every boot (#308) · Issues · LineageOS / issues / android · GitLab

Expected Behavior When USB debugging is turned off in developer settings, it should stay off after the next reboot. (When USB...

gitlab.com
[Redmi Note 10] Zirila:
@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?
[Redmi Note 10] MPK99:
It's userdebug. I'll look into this prob.
[Redmi Note 10] gnomiik:
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.
[Redmi Note 10] StaryMuz:
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).
[Redmi Note 10] gnomiik:
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?
[Redmi Note 10] StaryMuz:
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.
[Redmi Note 10] rien333:
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!
[Redmi Note 10] zamiboi I:
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?
[Redmi Note 10] zamiboi I:
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.
[Redmi Note 10] rien333:
Thanks for the info! It seems that you're right, and that unlocking the bootloader requires you to wait a while.

I hadn't expected this because my previous phone (a Mi A3) didn't require me to do so - however, that was a Android One device.
[Redmi Note 10] zamiboi I:
No worries. Its a bit weird also they make you stay logged in on your mi account on the phone for that week its kind of weird.
[Redmi Note 10] Zirila:
Thanks. I also noticed the same problem in the CrDroid build.
[Redmi Note 10] Zirila:
Could somebody give me info or link me to an info about how to update Custom ROMs nowadays?

I tried simulating updating to a new LineageOS version by flashing the rom.zip again, and I experienced a lot of problems and difficulties.

TWRP always flashes to the inactive slot. by following the guideline so far, the inactive slot however doesn't have TWRP installed, it also fails switching slots after updates.

I managed to fix it by manually switching slots with fastboot and flashing TWRP to the inactive slot again.

then if you use spoofed LOS with microg:

the next problem is Magisk, it's modules, MicroG and ALL the apps relying on Magisk->MicroG(minmicrog)->GCM/FCM->APPS.

if you can't flash Magisk.zip right after flashing the new lineageos version to the correct a/b slot, microG won't be loaded, then GCM is unavailable and therefor ALL installed Apps (messenger etc) relying on GCM lose their GCM registration. If that happens, you have to uninstall and reinstall ALL these apps to register them again for GCM. This must be prevented at all cost.

I kinda got it working by:

let "a" be the active slot with the old ROM+TWRP+Magisk already installed.

make "a" the active slot (with fastboot --set-active=a) if it's not.

boot to recovery on "a"

flash the new updated rom.zip with TWRP recovery

TWRP will install ROM update to inactive "b" slot

"b" has ROM now, but no Recovery or Magisk and the TWRP currently running from "a" cannot install itself to ramdisk on "b"

set "b" active with fastboot (reboot to recovery should actually switch to "b" here, but it NEVER did it for me)

load TWRP with fastboot boot twrp.img - TWRP now running and "b" active. -> now install TWRP to Ramdisk

TWRP is now on "b"

boot to recovery on "b", don't start the updated ROM on "b" yet.

in TWRP on "b" flash Magisk.zip again.

now boot to system

this way the updated ROM on "b" has the boot patched for TWRP+Magisk and on first boot, Magisk can load it's modules (f.i. MicroG) and all apps should have GCM available again like before. well, if you're lucky at least..

the process is very risky and cumbersome, and I really want to have a crystal clear, functional way to apply updates in the future..

someone here maybe have tested it more than I and could add some guides, that would be really good.
[Redmi Note 10] MPK99:
How did you spoof the ROM?

Here's the Magisk module for it.
[Redmi Note 10] Zirila:
I think that's probably about the same.

I created my own Magisk module for signature spoofing by patching the /system/framework/services.jar

using haystack and extracting and patching the classes.dex and compiling them to a magisk module. (see: https://gitlab.com/oF2pks/haystack/-/tree/11-attempt)

but I would have to do that again whenever a LineageOS update makes changes to the services.jar, otherwise I'd have the old files applied by the Magisk module, despite having newer versions on the system.

I'm still hoping LineageOS is getting official for Redmi Note 10 sometime soon, so we can all get automatically generated microG builds from lineageos.microg.com.
[Redmi Note 10] StaryMuz:
I wanted to build flash files of Lineage OS to run in MiFlash.

In the Miui image folder I would replace only the ones that the Lineage OS rom contains and then use the Miui script for flash.

But I can't put system.img+vendor.img+product.img+system_ext.img into a common super.img

If anyone can do it, put it together.

Especially for vanilla and gapps.

I think then the flash rom would be correct.
[Redmi Note 10] :
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.)
[Redmi Note 10] :
Thank you very much ! Will try when I have time
[Redmi Note 10] Zirila:
I digged a bit deeper in this ROM and I'm suddenly having Certificate Issues.

whenever I browse to a website with webview (a browser which uses androids native webview module) I get "Certificate not trusted" errors.

It's like either the ROM is missing CA root certificates, or they are outdated or maliciously modified.

Some websites (like google) work however without warning.

I tested the same setup on another phone with official LineageOS and the errors were gone.

Maybe there is something wrong with CA on this debug build?

EDIT: hm maybe it is actually the used Browser (NB Pro), I tested other webview browsers and normal browser that don't have this problem.

strange that the same version runs perfectly fine on the other 18.1 phone and on this one it gets SSL errors..

(i can just speculate that the other phone has CA's from earlier LOS versions and they have been kept with dirty flashes, so the browser can see these CAs whereas on the new phone with clean LOS install, the older CAs are missing)

The Problem was something completely different: AdAway + Ad-domain localhost redirects + localhost webservers.

see details here.

solved.
[Redmi Note 10] Zirila:
Could anybody using this ROM test if the Alarm is working when the Phone is switched off?

When you open the Clock for the first time it asks for permission to be able to switch on the phone to start the alarm. Grant this permission. Then set an alarm clock at least 3 minutes in the future and switch off the phone.

My phone starts like 1-2 minutes before the time of the alarm clock. it boots up to the simcard pin and waites until it's time to ring the alarm. Then the Alarm starts correctly BUT it is not making any sounds, it's a silent alarm, and therefor useless.

When setting an alarm clock while the phone is on, the alarm starts normally and with sound.

please, someone test this too if it works for you!
[Redmi Note 10] Zirila:
another bug or strange behaviour: the ROM does not support exFAT for SD Cards.

whenever I insert my exFAT formated 64GB sdcard, this ROM tells me there is an "issue with the sd card" and it can only use the sdcard when the ROM formats it again. unfortunately it formats the SD Card with Fat32 and there is no option for exFAT. Fat32 is no option due to the 4GB filesize limitation.

I read somewhere that this might be a flag settings issue when building the unofficial ROM. Also, the official 18.1 ROM has no issue accepting exFAT sdcards when I insert them.
[Redmi Note 10] MONGTAY:
if i want safetynet-fix, is it required to install Magisk and root the device?
[Redmi Note 10] MPK99:
Currently, you need to. Next los update will have the fix...
[Redmi Note 10] Subhan.:
Are you on the latest build?

Well on the latest build sdCard with exFAT is accessible
[Redmi Note 10] Zirila:
sorry, i'm on build from 12/06/21, I didn't get the attention of a new version. Could you append a new post to the thread on ROM updates so we get notifications (contrary to post-edits)?

I'll try to update to the 29th June version and (if successful) test if exFAT works. I'll keep you updated.

oh and thank you for maintaining the rom now! (y)
[Redmi Note 10] Zirila:
I've got massive problems updating/dirty flashing LOS rom. I thought I could dirty flash the new rom.zip within TWRP but it failed. I tried flashing it from slot_b to active slot_a, because thats the way that worked before when clean installing the rom. but it doesn't work from either slot... I get kPostInstallErrors and it didn't work. I ended up reflashing MIUI back without userdata to keep my data, but after that it couldn't decrypt userdata anymore, so I ended up losing all my data and previous state before.

please, if anybody is experienced with that in it's current state, make a detailed guide how to update the ROM without losing all data again (not installing it clean from scratch)
[Redmi Note 10] MPK99:
It's recovery prob. Re-install recovery or reflash boot, then u might successfully update the rom through dirty flash.
[Redmi Note 10] Subhan.:
Changelog (30/06/21):

• Initial Build (and I'll be maintaining Los now)

• Fixed flashing of libs for ANX

• Tweaked qs panel a bit