yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Max 3 Guides, News, & Discussion] caruhe:
I always get error 255 on twrp and phone stuck at mi screen. I cant restore my data.. Is it bricked? What should I do, please help
[Xiaomi Mi Max 3 Guides, News, & Discussion] btvbtv:
I'd flash stock via fastboot. One can avoid deleting data while flashing via fastboot, but if it was encrypted - it's probably gone. If you can not get twrp to work, that question belongs to different thread(s).
[Xiaomi Mi Max 3 Guides, News, & Discussion] caruhe:
Thanks for the reply, somehow I restored stock miu, I will try aosp again. I al confused about factory reset, by factory reset what do you mean.

And also if twrp is problematic, will flashing aosp img. By fastboot help?
[Xiaomi Mi Max 3 Guides, News, & Discussion] btvbtv:
Factory reset means wiping all data. I'd recommend flashing xiaomi.eu first, aosp next.
[Xiaomi Mi Max 3 Guides, News, & Discussion] caruhe:
Thanks for quick replies. I am very new on xiaomi. I know very less about it. By wipe do you mean wiping data, system, vendor everything.

And also is there a just one zip file flashable xiaomi.eu?
[Xiaomi Mi Max 3 Guides, News, & Discussion] takagen:
Go with this for a one zip flash all, it includes all the vendor files needed from xiaomi.eu.
[Xiaomi Mi Max 3 Guides, News, & Discussion] caruhe:
I have done everything but twrp always gives error 255. i tired also modded twrp. I dont understand what is wrong. Now x,aom,.eu is installed I did as said.... so strange
[Xiaomi Mi Max 3 Guides, News, & Discussion] takagen:
In TWRP, probably do a Format in Wipe, recopy over the files again, then flash.
[Xiaomi Mi Max 3 Guides, News, & Discussion] caruhe:
Hi. I flashed and tried all gsi roms. it looks fine but it is not smooth. Chrome and swype keyboard is buggy. Touchscreen on those apps especially very annoying. Did i do anything wrong?
[Xiaomi Mi Max 3 Guides, News, & Discussion] Isamu_Dyson:
It's normal, will hopefully be addressed somewhere (vendor mods/kernel?) in the coming weeks.
[Xiaomi Mi Max 3 Guides, News, & Discussion] Remi_LeBo:
Hello! Sorry for my idiot question. How to update my phh-treble rom? From installed v111 to v112. No updates in System -> System update.
[Xiaomi Mi Max 3 Guides, News, & Discussion] btvbtv:
Download 112 from https://github.com/phhusson/treble_experimentations/releases, decompress, flash system image and optionally gapps/magisk
[Xiaomi Mi Max 3 Guides, News, & Discussion] srg84:
How to add a new User? I don't see the option.
[Xiaomi Mi Max 3 Guides, News, & Discussion] szxa21:
Using v112 but default camera app is crashing. Is this normal?
[Xiaomi Mi Max 3 Guides, News, & Discussion] btvbtv:
Did you have a chance to search this thread, or just read page 11?
[Xiaomi Mi Max 3 Guides, News, & Discussion] szxa21:
Installed custom GCAM and it's working like a beauty! Is double tap 2 wake supported? How can I activate.
[Xiaomi Mi Max 3 Guides, News, & Discussion] IvooHDR:
Hello, I have a problem with the requirements that are needed to do the steps, when I enter the recovery it asks for a password to decrypt /data and I do not know what it is or if there is some way that it does not come out.

The other way is doing a dirty install and if I do it this way it does not work and the phone bricked. Some help?
[Xiaomi Mi Max 3 Guides, News, & Discussion] btvbtv:
Xiaomi.eu will not do that. Stock rom needs other recovery to decrypt data, not the official twrp. That is uneasy path. Make sure you have a backup.
[Xiaomi Mi Max 3 Guides, News, & Discussion] btvbtv:
Build 119 bundled with handy lockdown script that can be executed via adb root shell (adb root access will be gone) /system/bin/phh-securize.sh
[Nokia 5 Questions & Answers] Elvaa:
I want to keep WIFI during on sleep, but I can't find this option in Network Settings. Please help!

Devices: Nokia 5 (TA-1053)

Android Version: 8.1

Security Patch: August 2018
[Nokia 5 Questions & Answers] Alexium 67:
Sorry for so late answer. I'm new to this forum. I fighting almost same problem. This option was deleted by Android Developers. Turned on by default now. Despite it enabled it not working right. I think so named deep sleep mode or doze mode disabling your Wi-Fi. Sorry can't help more. :(
[General Questions and Answers] pin62:
Can anyone tell me if I can mirror live TV programs from my tablet to a LG television? If so what would I need?Thanks.pin62.
[General Questions and Answers] Ibuprophen:
I don't have this device but, your best bet is to post this question within the following Q&A thread that's specific to your device.

https://xdaforums.com/showthread.php?t=3636916

Good Luck!

~~~~~~~~~~~~~~~

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my SM-G900T device.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] bgcngm:
​

LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (Pie), 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. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.

GPL compliance:

​

​

Device tree source code: LineageOS/android_device_xiaomi_polaris

Kernel source code: LineageOS/android_kernel_xiaomi_sdm845

Working:

Camera (and flashlight)

WiFi

NFC

Bluetooth

Telephony (Calls and Data)

Audio (Record and Playback)

Video Playback

Sensors

GPS

Encryption (FBE)

Broken:

Nothing (?)

Compatibility:

Compatible with all Xiaomi Mi MIX 2S variants.​

Builds are based off the Xiaomi's Android 9 firmware with proprietary blobs from MIUI 8.10.25 dev package.​

Downloads:

Official download links

Notice:

No custom kernels are supported in this thread. Only stock kernel and official builds will be supported. No bug reports if that's not the case.

Installation:

Reboot to recovery (TWRP recovery for Mi MIX 2S)

Format /system, /data and /cache

Install LineageOS zip package

[*]Install [optional] the LineageOS su addon to get root (there are obviously other root methods, but this is the recommended one as it survives to OTA updates)

Install [optional] a Google Apps package of your choice (Open GApps is advisable, but stock and super variants are not recommended!!!)

Important notes:​

* Required * firmware version must be based on MIUI P-based builds.

GApps can only be flashed on clean installs.

Formatting data (all user data is wiped, including internal storage) is a must if MIUI was previously installed and device was encrypted.

Credits & collaborations:

All LineageOS team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!​

Device wiki:

Official wiki link
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] fabricio87878787:
Wow, thanks. Yesterday i unlock my bootloader. Im now in AOSIP, but maybe later try this one.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Fingdow:
I wonder what are the differences between yours and notsyncing's. Is this version more stable?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] fabricio87878787:
I tried aosip and lineageos 16, I prefer los 16, although both roms are equally fluid. note that aosip spends a little more battery, although I used it very little. no proximity sensor works, it can also be used daily. for the camera I use the last bgc, I miss the functions of the stock camera, it is the only thing that is made of less than miui.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] slavke1976:
I am on latest xioami.eu miui 10 beta ROM< and it has also problems with proximity sensor while using phone calls. So it means it is general problem on PIE android.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Edlar:
volte not workin?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] bgcngm:
Why?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] teddy74eva:
No, in LOS it doesn't work at all as of now, in xiaomi.eu it may be unstable though on Pie Global miui it's getting better every release.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] slavke1976:
Thanks, and there is no possibility to instal MIUI kernel?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] juankgp:
Thank you very much it works really fine, I have two questions

Is possible to install weather provider for clock?

Is possible to select different ringtone for each SIM?

Thanks

Sorry for my English...
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] akkk44:
is the second camera working?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] xarcoft:
Pixel Launcher doesn't work with this ROM, crashes at launch.

Magisk works but had to download and install manually Magisk Manager.

Boot is slower than Pixel Experience Pie but once it boots this ROM is faster overall.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] pedjamis:
This is great news. I was a long time Lineage user on my Mi5. Using Notsyncing build now on Mix2s because of working proximity sensor. Hope you get it working soon.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] rogela:
Confirms issue.

Also, Quick Charging seems broken... Getting only 500mA from stock wall charger and stock cable. Removed battery info from Recovery and got 1500mA, which is still far below normal; and it reverts to 500mA after reboot!

Also when I enter twrp the battery percentage shown there is usually 20% lower than in LOS. Bizzare.

Guess it could be issue with uncalibrated battery info. Will do a full cycle and see if things change.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] crucky:
For me Pixel Launcher from Playstore works just fine.And its normal that Magisk isnt pre installed ;)
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] napes22:
The notes state no:

"No custom kernels are supported in this thread. Only stock kernel and official builds will be supported. No bug reports if that's not the case."

---------- Post added at 12:18 PM ---------- Previous post was at 12:17 PM ----------

Thanks Bruno for this! It's a rock solid ROM with excellent battery life and stability.

---------- Post added at 12:20 PM ---------- Previous post was at 12:18 PM ----------

notsyncing's version is a GSI/Treble build. This is a true polaris Lineage OS build made specifically for our device.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] fab976:
Can anyone compare this build and the one from notsyncing for me? Which one is better and why? ? Thanks in advance!
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] eboye:
Great! Thanks! I'll move from GSI to this ASAP ? I just wish it's official so I can have OTA ?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] bgcngm:
Will be official when time comes. But Xiaomi must release updated kernel source code so that we can have working proximity sensor.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] rogela:
Any insight please on the charging issue?

Always falls back to slow charging after reboot.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] pcing111:
bugs

your 1128updated.zip couldnot be installed by twrp,i tested it yesterday,last zip works well
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] cheppetto:
Yes I have and had no issues there either.

The only thing I got issues with is the camera now, it is unable to record any video.

Currently I got no solution for it

Gcam can open video but is unable to store, onepluscam force closes when trying to switch to video, stock cam shows error that it is unable to store video - doesn't "open shutter" either.

If anybody got an solution I would appreciate it.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Henkl:
What do you mean? V13? I use twrp 3.2.3-0
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] edgarf28:
Download link for the 28th build doesn't work anymore
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Henkl:
Edit: no it does not..
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Gibghost:
Thanks. Worked well for me without wiping cache.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] ltraddical:
On a general note. For a new-user (or someone who doesn't mind a full re-install), it's probably just as easy to download the dev-package from the xiaomi website. It allready contains the latest firmware and vendor.img.

https://en.miui.com/download-343.html

You can use the flash_all script (and perhaps exclude the line for recovery.img) using fastboot on a PC running Windows or Linux. Worked really well for me. :)

After that you can wipe and flash the LOS ROM and gapps.

https://xdaforums.com/xiaomi-mi-mix-2s/development/recovery-twrp-mix-2s-t3790922
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Henkl:
Yes
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] slavke1976:
To ROOT we cant use this LineageOS SU Addon? or it is better Magisk?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Berlino:
There is no official LOS16 su-addon, so root with magisk and you're fine.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] pavanmaverick:
Is this ROM deodexed? Thanks.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Berlino:
Yup, Rom is deodexed.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] slavke1976:
Again same problem with Alarm.

now new installation, no root, nothing just flashed Gapps.

DND turned on at 23h to end at 7h, alarm set at 7:40 Alarm didnt ring until i unlock home screen and switch down notification drawer.

Does anyone have such problem? is it because DND didnt touch any setting about, just as it is .
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] EnormoDerClown:
Is The integrated camera App able To use all 3 camera modules? Android If yes can Somebody extract and Upload it somewhere? Thanks
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Henkl:
The los camera included can not make use of the 3 cameras. Only 2. Only the miui camera can make use of the 3 cameras for now. I dont believe that miui camera can be used with los
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] malimukk:
The los (Snap) camera CAN use all three cameras.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Henkl:
How?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] crucky:
Go to change Resolution and chose (Wide)Camera :D
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] malimukk:
Just press the button to switch to front camera. It rotates as back-front-telephoto
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Henkl:
Wow.. again today I learned something! Thank you!
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] epigramx:
Odd, I was on an Android 9 MIUI and this complains that it needs upgraded firmware.

edit: Nevermind, it's already discussed why.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] epigramx:
It thinks it charges slowly at first but then it switches to rapidly. I'm gonna tick this as normal.

Has anyone found a camera app that works on slow motion and both cameras? The latest pixel mod people use doesn't.

I wonder if there is a reliable way to extract the Xiaomi Camera out of an official rom. It's almost identical linux kernel anyway.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] cheppetto:
Regarding Andorid Auto I can confirm it occurs everytime.

So without restarting the mobile, it is unusable after disconnecting from Android Auto.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] epigramx:
I will probably return to Xiaomi's OS since the camera experience is pretty bad on vanilla Android options (no slow motion, second camera possibly never accessed, etc.). I wonder if we can port Xiaomi's camera app to this; I mean it doesn't sound that hard, it's just one app; do they use some kind of encryption or require special drivers for it to work?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] bgcngm:
I hope you are joking. Did you even try Google Camera ports? It puts MIUI stock camera app way behind.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] epigramx:
Are you trolling? Slow motion doesn't work; also second camera is possibly never accessed with any solution since nothing changes if you block one of the cameras on any mode (because someone suggested wide-views uses both; it does nothing here).
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] bgcngm:
I am still waiting for a decent log. Either that or an Android Auto head unit, since Christmas is so close.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] theandroid02:
Don't know why, but I updated to the lastest build and gps does not work. Maps doesnt locate and also pokemon go . I installed the firmware from the miui global 8.11.29 beta build.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] epigramx:
I think I'm seeing the same.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Berlino:
GPS works fine with global 8.11.23 firmware and vendor on latest LOS build.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] theandroid02:
I just reinstalled the rom with the 8.11.23 firm and gps works, dunno what the problem was
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] couldja:
I'm no Android developer but does this help?developer.android.com/training/auto/testing/
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] ltraddical:
So far the ROM performs really good as a daily driver.

The camera system could use some improvements (default zoomed in, and i don't think the app uses both of the back cameras).
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] EnormoDerClown:
The app is using both cameras. Put your finger on one lense and switch. On one you will see a black screen, but not on both

Anybody an idea how to get this working?

https://xdaforums.com/apps/google-camera-mods/cstark27-google-camera-mod-wide-angle-t3747263

Maybe it is just a problem with the id´s of the lenses? as mentioned by the dev?

"If you are on LineageOS, please consult your dev to see if they can alter the camera ID's to properly match LG stock roms, if my version does not work."

Edit: Also found a different mod: https://xdaforums.com/showpost.php?p=78002404&postcount=1 sadly is seems to have similar problems, the second lense does not seem to be recognized (the app reports it can not find it)

Next Edit: Got it working! GCAM with working and swtichable lenses. Install the apk from here https://xdaforums.com/showpost.php?p=78002404&postcount=1 and install the "zoomfix" magisk module. In this version if you long press the camera switch button it switches to the secend lense on the back. I had to adjust saturation in the settings, but no big deal. Working like a charme so far
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Gibghost:
Were you able to enable motion picture by chance? When I try, the app crashes and I have to clear the cache for it to work again.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] EnormoDerClown:
sry, never used this feature. Even as i owned a pixel device, do not see any sense in this.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] HTCNoblesse:
I like very much android pie animations. And they appear to be working only on the stock launcher, which can't change icons. I found a modified quickstep on another rom, wich isn't as good as this one.

Is it possible to pool that launcher and plant it here into Los, so I can change icons?

Or there is another method of changing icons without changing launcher?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] PJBonoVox:
Thanks for your efforts with this ROM, much appreciated.

Installed the most recent version, but noticing that auto brightness jumps around a lot. Anyone else seeing this?

Did a clean flash over latest .29 MIUI developer ROM.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] eboye:
Yup, same here
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Henkl:
Same here..annoying
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] w520:
Thanks for the hard work OP, the ROM seems to work really well and haven't encountered major issues, appreciate it!

However there is small problem at least for me, currently my audio is distorted at all volumes on speaker, but only for notification and ringer sounds, but media and in-call sound seem to have no issue and work just as they should. I can't figure out is it due to something I did or a bug in ROM, I do have Viper4Android installed currently but it doesn't seem to make any difference if it is disabled and uninstalled, so I guess that isnt it either? At the beginning sound did work fine for notifications and ringer though, so I'd guess there is something triggering this issue

On the another LOS thread with distortion issues I found a suggestion to delete audiofx libs from /vendor, I tried it out on this ROM, I tried renaming /vendor/lib64/audiofx to something else and the one in /vendor/lib seems to be read-only so I couldn't do anything for that, no difference.

Also it seems like I'm not the only one with this weird issue. No idea is it related to audiofx or something else, hopefully OP can shed some light on this if it's a ROM issue or if it's a user error. Not a dealbreaker for me since I am mostly on silent anyway so as long as media and incall work those are the most important, but it is a issue nonetheless. Keep up the good work OP

E: I also noticed that the issue happens on headphones, media and in-call no problems at all, but notifications and ringer are distorted, it doesn't seem to be a issue with the speaker itself having problems with the sound, it's software since it happens with whatever you output to.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] slavke1976:
Try to rename that files from twrp. For me worked
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] bgcngm:
I don't know exactly, but it's definitely something that you did. I strongly suggest you to start over, with a clean MIUI vendor image, and reinstall LineageOS. No need to wipe data.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] w520:
Any suggestion for any specific version, I currently should have 8.11.29 Global Dev image which is as far as I know the latest, should I be using a older image or chinese image?

E: Discard what I said, doesn't really matter what version you have since the problem in fact is after all in AudioFX/Viper4 in the end, turns out that after making sure I had fully removed Viper and then renamed the soundfx folders to something else in /vendor/lib and /vendor/lib64, (in TWRP, if the system was running i was not able to do anything in /vendor/lib despite being root) and after this notification sounds and ringer is fine. So it was my own modifications after all, just had to fully remove viper and rename those folders. Now looking if I can get Viper working without messing up notifications and ringer since the culprit is found

Sorry to bother OP with something which was not even ROMs fault after all, and will share instructions if I get viper + ringer working with no problems what to do if someone else wants to use Viper
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] slavke1976:
For me viper4android works fine after renaming that files in twrp.

No problem with sound and notifications anymore.

This problem is same on treble roms. No problem on miui if using viper4android