yashsingh1/xdaforums huggingface dataset:
[Redmi Note 10] alonsoj636MW:
actually i did some changes in the features for the cpu arch, to optimize the runtime a little bit. it may be the responsible.

you have to look for an alternative while i figure this out
[Redmi Note 10] tit0um:
would be nice if it doesn't create unwanted side effects.

thank you for your help
[Redmi Note 10] covecove1:
i downloaded

Redmi Note 10 Global	Stable	Recovery	V14.0.8.0.SKGMIXM	12.0	2.9 GB

from xiaomifirmwareupdater dot com, and when trying to install zip with adb sideload, it says cannot open archive.

Please help me, how to update firmware with adb, and NOT with fastboot
[Redmi Note 10] alonsoj636MW:
You downloaded the full miui rom instead of the firmware

here you go : https://xiaomifirmwareupdater.com/firmware/mojito/stable/V14.0.8.0.SKGMIXM/
[Redmi Note 10] covecove1:
HAHHAHA tnx, i realy did
[Redmi Note 10] Speedtrials:
Anytime I reach a Google login screen with the latest GApps release, the application (be it the internal Google app or a web page in the browser) crashes.
[Redmi Note 10] alonsoj636MW:
Can't reproduce... it's fine here
[Redmi Note 10] alonsoj636MW:
i still miss MIUI due to camera.. but i remember that is filled with bugs so i have to use GCam
[Redmi Note 10] ChristianWS:
Alright, so the last device I used could only use Lineage 14.1, so I'm missing some context, but 19 seems like it's missing some obvious settings, so I'm just checking to see if I didn't miss anyhing:

- While the screen is locked and the flashlight is on, pressing the power button doesn't turn the flashlight off, you need to hold the power button instead. This isn't really how it worked in MIUI.

- The lockscreen is dimmed for some reason, I don't like it and don't understand why. It becomes incredibly frustrating with an OLED display, as I can't see **** while locked.

- Speaking of the lockscreen, this is my first device with fingerprint, but back in MIUI you could set it up so the device wouldn't be unlocked by just touching the sensor, you needed to press the power button. I didn't find this option on the ROM.

- This is a very nitpicky problem, but Eleven, the default LineageOS Music Player, no longer responds to Tasker or Kustom. Back in LineageOS 14 it did respond, and I was able to control it using the mentioned apps.

Edit:

- Probably some stupid Android thing, but Is there a way to let apps start before the system is unlocked after boot? As I said, I skipped android 8~10 and my old device didn't have... whatever the hell this is. I really hate this as it makes the device unreliable, as you can't just reboot and forget it, you need to pay attention and unlock it, otherwise you are stuck with a brick. Even worse is that this doesn't really seem to be related to encryption, as disabling the lockscreen produces the same result as I want, but the device still seems to be encrypted.

Also, thanks Zirila as your recommendation worked well enough for me. I'm still not sure what it is missing tho
[Redmi Note 10] alonsoj636MW:
1) this is obvious, you will turn on the screen , is how it works on LOS

2) No issues here. Maybe you have the Extra-Dim option enabled?

3) Yes , this is a feature of MIUI , not present here

4) i don't use those apps

5) no way to do so
[Redmi Note 10] ChristianWS:
Not what I want. The option there is to turn on and off the flashlight if you hold the power button while the screen is off, and to auto disable it after x minutes.

What I had on MIUI (and on my old device running old LineageOS) is that if your device is with the screen turned off, but the flashlight is on, simply pressing the power button would disable the flashlight.

What happens now is that the screen turns on while the flashlight keeps turned on.

Nope. The screen is significantly darker while on the lock-screen.

Damn, this is a shame as it makes me accidentally unlock the device as I like to rest my thumb on the sensor.

This Reddit post has someone mentioning it is an "overlay" to set it up when you compile the ROM. Here's it for LineageOS 19

I verified and seems to be something with Android 12, so forget about it.

There must be a way somewhere, maybe a Magisk or Xposed module, anything
[Redmi Note 10] alonsoj636MW:
thank you for that... will try to add that specific overlay and test it for the next build (but i like the default behavior i hope a toggle can be found on settings)

Yeah , i understood. As far i know that feature is not present on the source code
[Redmi Note 10] Zirila:
I've been using the flashlight like this since ages, at least since 2015. so I'm used to hold the power button for a second to toggle the flashlight.. that's the default since ages, you probably get accustomed to it pretty fast, it isn't that much of an annoyance, is it?

I've got rare (really rare) cases, where the lockscreen doesn't adjust to the current light situation. It's like if you turned off automatic light adjustment and set it to lowest brightness. But this only happend once or twice since I use this phone. In all other times the lockscreen uses the exact brightness setting as if it was unlocked.

Maybe you have covered your front-camera. the phones brightness sensor is the front-camera, if it is dirty or covered, it might think it is dark and uses the lowest brightness setting.

yeah like already mentioned in this thread, there is no fingerprint+press power button to unlock by default. I don't recommend using fingerprint-unlock anyway due to security reasons. but of course, would be sweet to have such options.

i also didn't ever use such apps as tasker or kustom, so I can't say anything about it.

I still don't really understand what you want to achieve by starting apps before unlocking. could you give me an example to understand better?

In previous Android versions (<v10) android used full disk encryption if you enabled encryption. that means everything beside /boot was encrypted and nothing on the phone (apps, data) could be red before you entered your passphrase on boot.

Nowadays it uses File Based Encryption, which means android encrypts not the whole disk (or partitions) but every single file and this as default. If you set no password or pattern, all files are nevertheless encrypted but the key is set to a default one.

This was introduces for the reason, that some apps like the phonecall-app is usable even while the phone is still locked. (for emergency reasons, if someone needs help and the phone was shut down and someone needs to call for emergency, he can boot it up and the phone-app for emergency calls is already working - the rest not until it is unlocked)
[Redmi Note 10] ChristianWS:
The lockscreen issue is weirdly happening less frequently, so I give up trying to reproduce it.

About the apps: The problem is that I'm unreachable before first unlock, I have to babysit the phone every time I reboot it, god forbid if I'm distracted and only notice it hours later. My wallpaper and Lockscreen is made through Kustom, so the device doesn't look right till first unlock. Not only that, but I have a very useful task on Tasker to automatically reboot the phone if it overheats without me noticing. Actually more useful than I care to admit, I came up with it because one night my old phone overheated for some reason during the night, I woke with it pretty dangerously hot. Tasker is pretty useful to me, and not having it work before first unlock severely limits the utility of the device.

But really, the issue is that I reboot my phone and forget about it, I don't like to babysit it after a reboot. If the phone app can work before first boot, it means there's a workaround, either that or somehow trick the system to use the default key even if I have a pin.
[Redmi Note 10] Zirila:
i think you maybe see some problems where actually no problems are. It's a matter of how you use your phone I think. For example, I've been using this phone since over a year now with lineage. My average uptime of the phone in this period of time is over 1 week. I rarely shutdown the phone, have only flight mode enabled occasionally. I had no crashes in the past year, so availability was almost 'always'. I never experienced heat issues on this phone too so far, neither with high cpu usage nor with fast charging (of course noone can exclude a bad battery sometime, esp. when it's a cheap replacement..). Also the chances that something overheats your phone before unlocking it, is rather minimal, as there are no apps startet until you unlock your phone.. so there has to be a really rare boot or kernel bug with high cpu spikes to produce extreme heat via CPU, and even then I think it is going to throttle before overheating. If something overheats the phone while unlocked, there are tools and methods to track the source of the problem. I'd suggest then to find and nuke the problem, and the phone is fine again. there should be no way to make the phone overheated that it is reaching a dangerous level (in normal temperature conditions).

How are you supposed to be reachable if you don't enter your simcard PIN before unlocking the phone? have you disabled the simcard PIN?

Also, reboot is matter of about 10-15secs, not that much time to babysit I think, if it's then available for a week or so.

of course, that's just my experience with it and this might differ from yours.. I also might have other use cases for it. But I don't know of any other redmi note 10 users and have never heard of anyone that needed these kind of safety measures and tools yet :)

but anyway.. you could sacrifice all safety to achieve that probably. Disable simcard PIN completely and then disable android security password/pattern - you'd have to set it explicitely to "none" and not "wipe" or similar. that way it should boot right to home screen even after it should crash and reboot. of course this doesn't make much sense because noone wants to sacrifice security for that.

maybe there is some dark shady way to have some apps defined as default-encrypted startup apps, but I'm not aware of anything like that yet (doesn't mean there is no way, though..)

but instead of investigating into this direction I'd rather try to accommodate with the things that are already available and possible. many ppl just use this phone for so long now without problems and for sure without these tools and extra safety measures :)
[Redmi Note 10] Zirila:
I've stepped into a bug in this ROM that cost me 10 bucks of pre-paid money :-/

@alonsoj636 I need your help.

let me explain (but don't laugh ;-):

it's about the quick panel and status bar. The Menu that you swipe from the top to the bottom and that shows brightness settings and all the other buttons for rotation, flight mode, internet, etc.

The Problem: this menu is even accessible when the screen is locked.

For example, if you have a pattern lock and the phone is locked / screen off, you press the ON button once to see the lock screen come up right before you see the pattern dots to unlock your phone. In this state you can swipe with your fingers from the utmost top of the phone down and the quick panel with all the settings open up. This is even possible despite saying in the display and security settings that it shouldn't be allowed before unlocking the phone.

So now, what happened? I got the phone in my pocket, suddenly the screen was touched in my pocket (the fabric of my pocket obviously was able to trigger the on-screen). Then, without my knowledge, it pushed various quick panel buttons. Amongst others, it disabled my wifi button and enabled my mobile-data button(!). Both were on the first page of quick panel buttons when you swipe it down.

I then used my phone as usual but now all data used was made via my pre-paid mobile data connection without noticing me (because the data limit is 2GB by default). So suddenly I was noticed that I have no money on my phone anymore.. I then slowly got to know what happened and it wasted 10 bucks of money on mobile data connection for nothing!

And that's not all.

Today I was getting a call. The phone was again in my pocket. I was doing the dishes and had wet hands and I couldn't get to my phone immediately. After something like 15secs I was able to get to my phone in the pocket, pulled it out and was shocked as I saw the phone already picked up the call like 15secs before, without me doing anything to pick it up!

I don't know what was going on and got really angry of course. Somehow the phone interpreted some movement in my pocked as the pick-up gesture. This has never happened before.

Now, in this case there is - as far as I know - no lockscreen involved, because it is normal to be able to pick up a phone call while the phone is still locked - you just have to move the button upwards (correct me if I'm wrong).

But because that never happened before I wonder if anything changed that could make this possible. something like, the sensitivity of the display got changed by some values.. idk?

so in short:

-quick panel should not be accessible when the phone is locked (maybe only brightness settings but not the rest)

-and subjectively the sensoric sensitivity of the inductive screen feels suddenly increased..

I'm still quite confused if the things I mentioned are actually default or normal or whether they should be protected behind a lock screen.
[Redmi Note 10] ChristianWS:
The device has a virtual proximity sensor which is incredibly unreliable and basically only really works when it's in upright position, like when in a call. You can test how ****ty it is with Sensor Box. This basically means there's no reliable way of preventing accidental touches while on your pocket (unless you bring the front facing camera into the equation, which is another rabbit hole...). The only solution to accidentally answering calls is to buy better pants with better fabric on the pockets.

That said, I agree that besides the Brightness slider, quick settings should be locked behind the lock screen (IMO, the power menu as well).
[Redmi Note 10] alonsoj636MW:
ChristianWS is absolutely right , no need of another answer

about quick settings , afaik LineageOS (and stock android) only sensitive tiles are blocked on a screen lock but not the QS itself

there is nothing that i can do sadly

only choice is to switch to another rom where that feature (block access to the QS is fully blocked) is available
[Redmi Note 10] Zirila:
Thanks for your replies. it's strange and I'm still confused.

I'm not going for another ROM just because of this.. but it's surprising that LineageOS by default doesn't lock the QS behind the pin... that's negligent. I hope this comes officially someday.

I'm still not quite sure why the phone gets "touched" in my pocket without touching it.. whether it is the fabric of different pants or a proximitiy sensor which does not work in the pocket... but I'm trying to mitigate the issue now by removing all 'dangerous' quick panel buttons from the menu or move it to 2nd/3rd pages.

I also disabled the "double tap to activate" option.. but I'm not sure of keeping it like that, because I used the double tap feature a lot while in normal use..
[Redmi Note 10] ChristianWS:
The negligence IMO is on Google's part. While LineageOS could definitely improve on it, it should be Google's responsibility to fix such a glaring flaw. Someone could theoretically just turn on Hotspot and eat your mobile data, and IMO, the power menu is the same, as a thief can just easily turn the device off or turn airplane mode on immediately after stealing it.

You can mitigate the issue of Quick Settings with Tasker if you are creative about it. Creating profiles that react only if the Wifi or mobile data are toggled when the device isn't unlocked, but the screen is on (i.e on the lock screen) so they are toggled again. Or far more easy: Replace the default quick settings with custom ones that use Tasker and make them not work while locked. If you are super paranoid, you can also completely hijack the shutdown command and force the device to reboot if the shutdown command is issued on the lock screen.

As you can see the problem with that is that once the device is rebooted, Tasker doesn't work until after first unlock...
[Redmi Note 10] Zirila:
I found a simpler working fix for the QS problem. It works with LineageOS 12.1 and I'm running it right now.

You need this modified LSPosed module:

https://xdaforums.com/t/xposed-security-disable-quick-settings-pulldown-on-lock-screen.4076595/

This module is modified from the original module for the Pixel 4 in the way that the media controls still work in lock screen state. the rest is the same. and luckily it seems to work with LineageOS 12.1 for now..

You need Magisk, Zygisk enabled, LSPosed installed. Then install the NoQSInLockScreen-P4Mod_1.0-Q.apk app.

You need to enable the module in LSPosed for "System UI" (check: show system apps, because its hidden by default). Then reboot.

Now at the lock screen, when you swipe down it doesn't open the quicksettings but instead opens the pattern unlock screen.
[Redmi Note 10] ChristianWS:
Doesn't that mess up with brightness control?
[Redmi Note 10] Zirila:
Well, it's an all-or-nothing solution, but it's the best choice we have at the moment. I consider that a small compromise for gaining security that should be standard. The only problem that might raise from that is that under some circumstances the display is at the lowest brightness setting and the light outside is so bright that you might not see the pattern dots to unlock the phone. But in this rare case you could always hide the phone somewhere dark to see enough to unlock the phone.

of course, in a perfect world, google would have already implemented a way to hide or protect each quick settings button individually. obviously complains of thousands of people on the internet is not enough to make them rethink what they mismanaged here.
[Redmi Note 10] ChristianWS:
Not really in my case, as if it is too bright to see then I'm most likely outside, under the sun, with no easy access to a shaded area where it's dark enough to see it.

...Guess how I solved the issue? That's right, with Tasker. The moment the screen goes on it reads the Light sensor value, and then it's matched with brightness levels I've manually set up. And if the Light Sensor is higher than 600 it just turns the Auto Brightness on.

Btw @alonsoj636 any chance of reconsidering trying to make the ROM official? Would be pretty nice to have OTA, just saying.
[Redmi Note 10] alonsoj636MW:
No plans to make it official coz i can't guarantee updates, which is the main requirement.
[Redmi Note 10] Zirila:
I think I witnessed an Android bug here. Usually the pattern lock screen either white with black dots, or black with white dots.

Today I saw again that the background was white but the dots were actually bright grey instead of black. so there was almost no contrast and you could barely see it even with bright screen settings. I think the same happens sometimes with black background and then dark grey dots. in these cases I can imagine you can't see anything with lowest brightness settings and outdoor.

But that doesn't happen everytime. With normal contrast (background/foreground colors) one could easily see the dots outdoor even in lowest brightness settings.

I guess this could be a side effect of the "Material You" design they introduced. That would explain the random behaviour of this case..

anyway, I think it's androids fault (instead of hardware sensor failure) and it should be fixed.
[Redmi Note 10] ChristianWS:
While understandable, it's... rather disappointing as you've been supporting the device since April, and dropping the support without it ever going official means there's no public repository (afaik) where another maintainer could take your place more smoothly .

I don't think so. My frustration with the lock screen being hard to see on sunlight was here since I've got the device, which was using Android 11. I don't think Black on White would solve anything, it's the display itself which is prone to sunlight messing up with readability.

I' also don't believe I've come across something that could be described as a random behavior. It was always a shade of gray, not pure black.
[Redmi Note 10] Hkj_1029:
could you add vibrate when the call is connected or disconnected
[Redmi Note 10] alonsoj636MW:
I'm not taking feature requests
[Redmi Note 10] BungDho:
thank you so much bro, your rom super!
[Redmi Note 10] abhisheks3259:
@alonsoj636MW Sir any new build for Lineage Os 20?
[Redmi Note 10] Soda_47:
Hi Alonso,

Thanks for your work.

I have two small issue with my sim. After I disable airplane mode, I have to enter both my SIM pin and select my default SIM for 4G. Any idea how to solve that ?
[Redmi Note 10] alonsoj636MW:
after march sp

i don't have a second sim, neither a pin for the sim.... but i believe this is the expected behavior. if you can confirm if you have this on other roms or send a small video showing what you describe can help.
[Redmi Note 10] wahyuwidiantoro:
Hi i would like to ask about how to dirty flash update this rom, because i already do it thrice and always got an message that i need to reboot because there is package that need to be installed in order to continue, but when i restart my phone, and reboot to recovery again the update progress was gone, after that i try sideload update again and the result is still same, after that i try to choose not to reboot, but update is finish with error, and when i reboot the system says the rom is corrupt, can anyone help me how to update the rom via dirty flash? I dont want to lose my data again and again when there is an update :) ( I use the gapps version)
[Redmi Note 10] alonsoj636MW:
flash the new build on recovery and that's it.... reboot to system.

you are confusing things

it's asking you to reboot in case you want to flash anything else... being this a Virtual A/B phone you need to reboot to recovery before installing anything else.

If you don't want to install anything else just tap "No" and reboot to system. Flash has been done if no errors came up during flashing.

what error (send image)

send image

If you were on the previous build dirty flash is totally fine and tested. If you have issues like you described maybe you made something wrong in between.

Try to reflash the rom again and reboot to system. If nothing works then i'm afraid that your data is lost.

Remember to make backups and use an SD card to store your important files.

I always encourage users to take backups as some times... things can go wrong.
[Redmi Note 10] Soda_47:
When I toogle airplane mode off, I always have to select the sim I want to use for data. It seems like my parameter doesn't get memorised.
[Redmi Note 10] IdunnoWhy66:
Same here
[Redmi Note 10] alonsoj636MW:
27-03-2024

* New update is up
[Redmi Note 10] Duo8:
Does Lineage have support for multiple light sensors for auto brightness calculation?

I just found out this phone has another light sensor on the back. MIUI uses both sensors to set auto brightness. This way the screen won't become too dark when you're facing a light source but it's dark behind you, for example.
[Redmi Note 10] wahyuwidiantoro:
The new update lost the miui camera, and when my battery dropped below 20% I couldn't watch instagram reels and whatsapp stories because the videos would freeze or lag
[Redmi Note 10] alonsoj636MW:
the answer lies below
[Redmi Note 10] alonsoj636MW:
flash the module

provide logs
[Redmi Note 10] svec52:
Hi, what happened to the releases repository on github? It shows 404 Page not found..

Releases · alonsoj636MW/alonsoj_lineage_releases

Contribute to alonsoj636MW/alonsoj_lineage_releases development by creating an account on GitHub.

github.com
[Redmi Note 10] Kimparo:
<Mod Translations>

English:

stop?

**********

Korean:

중단?
[Redmi Note 10] alonsoj636MW:
back online
[Redmi Note 10] SapientAgent:
Does anyone else get the issue where after some point, videos (youtube, browser, netflix app, etc.,.. music player apps) play in slow motion and you lose sound?
[Redmi Note 10] pmpi:
yes, it happened to me a couple of weeks ago....a reboot fixed it
[Redmi Note 10] alonsoj636MW:
June Update is up!