yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] magnamentis:
you can PM me the exact problems you face, exact means how and when things happen. After that i try to reproduce it which is why i need to know which apps you have running when issues occur and generally as many details as possible.

Thing is that VERY often things are either compatibility issues and/or app/setup/user space related and not making sense at first glance.

Also at times terms are relative. Someone can see a lag and compare to his last phone and somone else can make a hardware (cpu, gpu etc.) assessment and see the so called lag as obviously normal for the hardware at play.

I've really seen people complaining about lags and stuttering while playing heavy games on devices with mediocre GPU/GPU combos and asking for solutions, so we have to make absolutely sure that the culprit is not the app(s) in use etc.

The best way to start troubleshooting would be to install the ROM naked with only root if needed and test performance. In case it's bad (problem occurs) we would start with the kernel settings, if it performs well you'd start to add your user apps in increments and observe after which increment the trouble begins, which means, it must be an app/setting changed/added in that last batch that is most probably the culprit.

To avoid multiple clean setups you'd better make nandroid backups after as small as possible steps to be able to revert to last working and go from there.

I recommend to start like this. In case you prefer to seek the needle in a heystack, means to start troubleshooting with a fully setup device, we have to see how far we get the number of possible culprits is increasing exponentially and a sophisticated setup ends with a very steep climb, means every single change opens up an endless number of new possible combos that could cause an issue.

However just send PMs and give me time to reply since i'm a busy person spending a lot of time offline while on the move.

EDIT:

I've seen your PM and replied
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] Wmateria:
Perhaps the low mic issue can be fixed through mixer_paths.xml in system/vendor/etc, tried fiddling around with the audio policy but the hanset mic line seem too complex to understand. I say this because fixing the mic problem was alot easier then using mixer_paths.xml, but the paths do not have values ranging from 0 -100. It looks like something is missing.

Headset Mic is more sensitive when changing the volume value to a higher value using DEC1,2,3,4 in the "volume controls" section near the top of the list inside the XML file.

Handset Mic does not have a value # near the end of the bottom of the XML list..It only have the corresponding DEC # typed in.
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] pokipokipxorn:
Any way to change display fonts? Upgrade screenshot utility to Longshot like Derpfest?
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] pamposmouskos:
Anyone installed the latest version?
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] L_e_x_t_e_r:
Yes, but sdcard not working, some apps crashing...so I am back to latest crDroid...
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] pamposmouskos:
Is it stable? Where can i find it ant what firmware i need? Thanks
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] L_e_x_t_e_r:
ROM: https://github.com/Black-Seraph/dev...rDroidAndroid-9.0-20200101-nitrogen-v5.11.zip

Firmware: https://t.me/NitrogenCloud/1832
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] magnamentis:
yes, for me it works without issues and the mention sdcard issue is only new if one did not recognized the significant lag once an sdcard was used any time with any buil in the past.

i use 2 sims and they werk perfectly well.

since nobody will ever use all the features at the same time this can only be a personal experience for my use case,

even though my use case is very demanding and sophisticated at any time ;) and as owner of 5 devices i can

easily compare between them and therefore i say that this rom on this device is as close to perfection as it can get, no complaints from my side
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] eloyho:
I agree whith you. This roms is the best one right now. But i have found, a single issue.

Screen mirror. Have a little bug, that push you to turn off you phone sometimes.

Other than that, everything is perfect.

I cant wait for next update for this rom :victory:
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] magnamentis:
thanks for the feedback, as hinted in my post, sreen mirror is not one of the features i'm using, it's very "niche" and niche-issues often dodge

being fixed due to lack of demand/complaints.

I'm sure there are other minor bugs, i.e. as far as i know FM-Radio never worked on any Custom Rom ( just my impression, did not test them all LOL)

however, verdict remains, is a very good rom and has been for a long time, really happy to have this on this only remainng decent 18:9 device which is why i bought it. huge but narrow screens that make the keyboard small and add space where i don't need it are not very useful to me. I hope that sooner or later there will be 16:9 or at last 18:9 aspect ratio devices back, once the "fake-inch" hype is over ;)

this device with an AMOLED would be my dream + this rom of course, can't stand MIUI, cannot warm-up with it. ;) ;)
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] pamposmouskos:
Guys i am on global Miui 20.1.16 and i will have to flash firmware 9.12.26 so that the rom works. Will i have a anti roll back broblem? Thanks
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] Wmateria:
I can agree to disagree that the lastest is perfect, volume mic is either "too low or too sensitive" when adjusting (after testing in both 64gb and 128gb variant). From the last builds, not sure of this build would be any different ever since the summer. The low mic volume problem is an old issue and can only be manually toggle via kernel app, the sensitivity of the mic can be random and can have feedback noise on the other end while using a messenger app. Basically the problem forces the user to speaker way louder than usual.

It's just to give some facts in case someone asks, so if new users think they can put up with that, so be it. Magna fails to address that issue unfortunately

I'm currently looking at the new build 20200118 to see if there's any change but the the device ends up with an endless bootanimation even with the required firmware.

Since android 10 based trees has started since Jan. 4th. Just wait it out and use something that works for you.
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] pokipokipxorn:
Anyone have mirror of 2019-11-13 (Nov 13th)? This build cannot be downloaded from github anymore, thanks.
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] Mickael333:
January security patch on this rom appears to be infected with software snoopsnitch : CVE-2019-1988

Regards
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] magnamentis:
a) no there is no such app on my device

b) better ask than jumping to conclusions

c) snoop snitch is not an infestation even when installed, on the contrary, it's a very useful app that needs root to

. let users know whether they are traced through silent SMS among othe things

so next time i recommend to read about an app first before calling it an infestation, than ask if anyone else has the same app

installed on this device and then it has nothing to do with the security update. if anything it would be the rom version.

so the resume says that almost anything was wrong with your post, interestingly i just recently thought to install that app because it was widely recommended in security aware circles recently.
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] prongsjiisan:
Tried it and boy I love this rom
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] blackxmafia:
Is this rom still receive update?

Im want to flash it.
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] magnamentis:
a) if a rom would work pefectly well, would you not use it because it needs not updates?

- would you choose a mediocre rom just because it receives updates ?

that said:

go to the first page of this thread, click on the download link and check the dates, there you will easily find the information you are

looking for. If there are regular and not too distant builds the answer will be yes, there are updates, if the last build is months old the

answer is perhaps, most probably not, while asking for ETAs is frowended upon, hence a final answer is at times hard to receive.

this reply is applicable to any piece of software, sometimes devs give up on XDA due to sometimes a bit "political" happenings ;) ;)

as it happens some would say, why not give a short ans simple (spoon feeding) answer?

my take on this is that i tend to reply in a manner that allows users to help themselves in the future, means more sutainable replies.

enjoy and good luck
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] Khumarahn:
Hi, I can't flash this rom with an error

nitrogen.verify_trustzone("TZ.BF.4.0.7-00142") == "1"

Oh, I found the problem. I was flashing the old firmware, the one from the first post in this thread. I used the new firmware from github and it worked. Thank you.
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] Khumarahn:
Hi MrColdbird, I am trying to compile android myself, using your repositories. (BTW, amazing work!) Getting some error.

I have set up a build environment, I use the repo

repo init -u git://github.com/AOSiP/platform_manifest.git -b pie

I added your repos:

droid@ubuntu-14:~/android/aosip$ cat .repo/local_manifests/nitrogen.xml
<manifest>
<!-- remote name="github" fetch="https://github.com/" /-->

<project name="Black-Seraph/device_xiaomi_nitrogen"
path="device/xiaomi/nitrogen"
remote="github"
revision="pie-aosip" />

<project name="Black-Seraph/kernel_xiaomi_nitrogen"
path="kernel/xiaomi/nitrogen"
remote="github"
revision="MIUI-OC-P" />

<project name="black-seraph/vendor_xiaomi_nitrogen"
path="vendor/xiaomi/nitrogen"
remote="github"
revision="pie" />

<project name="black-seraph/vendor_MiuiCamera"
path="vendor/MiuiCamera"
remote="github"
revision="pie-nitrogen" />
</manifest>

Then I run:

repo sync
source build/envsetup.sh
lunch aosip_nitrogen-userdebug
mka kronic

The build fails with

...
device/xiaomi/nitrogen/parts/res/values/styles.xml:34: error: resource layout/preference_category_material_settings (aka org.lineageos.settings:layout/preference_category_material_settings) not found.
device/xiaomi/nitrogen/parts/res/values/styles.xml:45: error: resource layout/preference_material_settings (aka org.lineageos.settings:layout/preference_material_settings) not found.
error: failed linking references.

Am I perhaps missing something?
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] Khumarahn:
To answer myself: I had to add to .repo/manifests/snippets/lineage.xml this line:

<project path="packages/resources/devicesettings" name="android_packages_resources_devicesettings" remote="los" />

Also, there was no sound with Black-Seraph/kernel_xiaomi_nitrogen, so I used afr30010/android_kernel_xiaomi_nitrogen:ten-new. Then it finally worked.
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] SasugaWatashi:
What few version you use?
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] Khumarahn:
I really don't remember. Perhaps 9.12.26? Look in the release history on https://github.com/Black-Seraph/device_xiaomi_nitrogen/releases
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] vincere03:
Hello, I can't flash this rom because of error

nitrogen.verify_trustzone("TZ.BF.4.0.7-00142") == "1"

I'm using latest rom and 9.6.27 firmware
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] Khumarahn:
flash later firmware, look in https://github.com/Black-Seraph/device_xiaomi_nitrogen/releases
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] hanafi2009:
Delete
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] magnamentis:
Spoonfeeding up to 1 year of age max [sarc]

comeon, reading is all you need and then search and reading is even better.

HINT: https://xdaforums.com/showpost.php?p=16682226
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] mac231us:
lol..you are correct

let's hope there isn't a follow-up question like How to search, or did you mean google it or google search or simply search

lol
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] hanafi2009:
lol
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] keenan316:
Hi..

I am hoping someone can help me.

I have only just started trying stock Android roms and coming from Xiaomi.eu (MIUI 10 9.8.25) it feels a lot better (cleaner)

So far I am able to flash the latest Pixel Experience rom without any issues, but this rom is giving me an "Error 7" when I try to flash it in TWRP.

I have done a search and it seems it has something to do with ARB?

I have flashed the firmware linked to in the OP before trying to flash the latest rom but I keep on getting "Error 7"

Am I missing something?
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] magnamentis:
That firmware does not work with recent iterations of this ROM, hence you need a more updated firmware:

I'm using firmware_9.12.26.zip hence i cannot make any statement about newer firmware versions, only that this one works and

your's, the older ones in general, don't.

I uploaded the file to my webserver, you can try to download, should work else let me know so i can try other means like dropbox to share the file with you.

Nevertheless i recommend to search on XDA where you find more info about firmware for this device, there are sources ;););)

DOWNLOAD LINK: http://magnamentis.com/WFH_Files/firmware_9.12.26.zip
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] keenan316:
Thanks, that firmware worked :good:

However, I find most of the custom roms a bit "laggy" compared to the Xiaomi.eu rom.

I gave most of the main Pie roms a try and I absolutely love to stock feel, but it's just not snappy enough.
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] magnamentis:
If it happens that you are using an SD-Card in it's slot I recommend to remove it if it's not absolutely necessary for you.

I have no more lags and a few other glitches went away after i took it out for good.

It took me quite a while to find out but the difference is/was significant to say the least.

Same applies to touch delays etc.
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] keenan316:
Nooo, I am indeed using one yes. :(

Do you know why this happens? I mean, if the devs know about this it should surely be a simple fix or am I mistaken.

I very likely am as I know nothing about any of this :)

I might give it another go later..
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] magnamentis:
Why it is i don't know because it has never been that important to me to dig deeper.

Further there once was a huge and in parts heated debate about lags etc. and most people obviously prefered to complain and demand

fixes while in fact it was easy to solve.

This device is not used by so many and even less of the owners root and customize their device which is why we should be very happy for what we got, even though there is close to zero further developmetn due to circumstances.

Usually i look early enough for a successor to be prepared should a device encounter a sudden death and i can tell that from the 2-3 comparable devices none has any developement worth to mention.

I want 18.5:9 max aspect ratio, all the tall narrow stuff does not serve the purpose for me. as phone i'm using several oneplus devices while this one is for my motorbike to provide music and navigation as well as radar warnings and i need 78mm mimimum width to be able to use the keyboard on highways, smaller is too narrow and too many typos occur.

As to your assumption, yes you are indeed mistake in the way that it is simple to fix. this kind of issues is often and most probably on firmware/kernel level and right now we don't even get android 10 in proper iterations because basic tools are missing.

I wish you that the device without SD-Card works better and fulfills the purpose that you exect from it. for me it does hence i'm happy with it as it is.

:highfive:
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] keenan316:
Thanks for all the info..

Sadly, taking out the SD card made no difference at all.

It's unfortunate because I really want to get away from miui and all it's restrictions..
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] magnamentis:
Nevertheless there is a reason for your issues and in case that you are really interested i recommend to follow the following procedure as

linked:

The Tutorial has been made for another device but it's not device specific, except perhaps that nandroid backups are not so easy and reliable to switch back and forth between roms and versionsa anymore.

Key is that you install clean without any apps or tweaks or mods, no root and then test the specific behaviour you encounter now.

If you continue in small increments, the smaller the better but the longer it takes, you can narrow your issue down to a specific group of

either third party apps and/or settings.

Try to restore nothing, neither from TiBu nor from the cloud or any other device.

Thing is that my device works flawlessly except fm-radio and of course i wish that you can achieve the same functionality on yours.

good luck

http://xdaforums.com/showpost.php?p=62192068&postcount=4059
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] keenan316:
Thank you so much for all your help and advice..

Just to be clear, you are running this latest build right?

"AOSiP-9.0-Pizza-nitrogen-20200125.zip" ??

Also, which gapps are you flashing?

Nano is fine I think or this will make no difference..?

So....

I boot to recovery... TWRP - (latest official)

Wipe Cache, Data and System.

Then flash each of these in this order without rebooting between zips.

firmware_9.12.26.zip

then..

AOSiP-9.0-Pizza-nitrogen-20200125.zip

then..

open_gapps-arm64-9.0-nano-20200418.zip

......

Reboot and let the phone boot up..

Do you root by flashing Magisk?
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] magnamentis:
- yes, same build

- use orange fox recovery instead of latest official

- either factory reset or format data depending on whether you can backup key ingredients to a computer or external drive

- DON'T wipe system, long topic, just don't

- firmware has to be flashed only once until you need a newer version, hence if you did before, you don't have to again

- nano is great, using nano myself as well

- start without root and without restoring ANYTHING to be on the safe side, only like this you make sure that the effort is not in vain ( exclude possible culprits )

- once you're done or once you come to root apps or apps that have root features you can flash magisk at any time to root

- keep the device unlocked, no PIN no PATTERN, set to none in security

- don't apply any themes, keep it stock/default until you're done with your apps and settings

- check for issues frequently so that you can remember the steps since last working state

this way you will:

- either find out whether everything naked default works or has the flaws you encountered before

- or find out when the issues start and seek the culprit by eliminatiing anything done since last working state and repeat

. any setup and/or installation out of that group until the issues start again, that time with only one or two steps from last working state.

after that you can decide how important the culprit is for you and risk to terminate setup in one go. chance is tiny that a second culprit will cause the same issue. this is per issue, if you have several issues you have to keep an eye on all of them.

good luck
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] keenan316:
Thank you for the detailed layout of instructions, I really appreciate it.

I will try this later and report back :)
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] magnamentis:
The safest outcome you get if you format data partition but you'd need either ADB or an external storage of some kind to

re-paste/transfer ROM & GAPPS and to be safe a custom recovery which you won't need if all goes well since it remains

Either way you have to factory reset to get system and boot right.

i recommend to factory reset, then make sure that you still have your recovery in place and then format data because that way you can make file transfers via Android File Transfer as well as ADB.

Make sure that OEM Unlocking and USB-Debugging are active before you start and also make sure that screenlock is set to none.
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] keenan316:
Would a data format make any difference in the performance of the rom afterwards compared to just a standard factory reset?
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] magnamentis:
that depends what the exact reason for your issues is, hence i can't tell which is why i said: To Be On The Safe Side

everything but formating data can and usually does leave residues and this could exactly be the problem.

before i installed this rom i unlocked the bootloader that does exactly that, it formats data and i never had the issues you describe.

First reason why i mention this is that i want to safe you from the sitation to go through a lengthy process only to find out that it did not help, hence in case we take on such a task, it's better to add 5% workload because if we do the other 95% to no avail we could lose motivation to continue and end up with an unsatisfactory compromise.
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] BrokeBloke1969:
Hey, i had the same issue that you have, the rom was a bit laggy but flashing the latest non-arb firmware and AFRKernel seems to fix it
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] magnamentis:
Additional Info _ Not Opposing A Custom Kernel

One can tweak the built in kernel accordingly instead of flashing a custom kernel, just saying.

I posted a few helpful kernel tweaks in this very thread a few months back and it does not matter which kernel as long as te

settings are same or similar.

AFR Kernel comes more or less with default settings of the kind i posted but can be had with default kernel as well.

I recommend EXKM (ElementalX Kernel Manager for the purpose) or of course the custom kernel.

Downside of using a custom kernel is that it might lose compatibilitiy in the future or with another rom that would set a user back to start.
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] BrokeBloke1969:
Props to you my friend, i didn't go back a few months but i read your recent comments and they have been very helpful, thank you :good:
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] emailumia520:
so basically i cant install the rom. mi max 3 global 4/64 bought at official xiaomi store.

tried using both twrp by nijel8 and orangefox

i can flash firmware 9.6.27 successfully but i got an error code 7 when flashing the build

i came from miui 11 V11.0.7.0

after i tried this firmware, the phone booted but when i enable the mobile data, the phone rebooted itself and bootloop on next boot

am i doing something wrong?