yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] hassan216:
I have another question

Iwent to the link you provided to install orangefox recovery

In the steps they mentioned idont know what 3rd step is?

Reboot to your custom twrp based recovery

This means i have to install a custom recovery before i install orangefox recovery or i am missing something?

INSTALLATION

:

0. Backup your ROM, your data, your internal storage, and your settings/apps, to an external device

1. Download the OrangeFox zip file to your device

2. Reboot to your custom TWRP-based Recovery

3. Install the OrangeFox zip file as a normal zip

4. The device will automatically reboot into OrangeFox recovery after installation (allow this to happen)

5. Enjoy!
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] landsome:
Yes, I installed Orange from TWRP. You'll find it easily on this forum (so not choose the version from twrp website).
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] sakoula:
Hi there,

I have been in Xiaomi EU Android 8.1 Miui 10 (xiaomi.eu_multi_MIMAX3_8.8.9_v10-8.1) since I got the phone and postponing of updating to any newer until now. Looking into the site I eventually decided to go with 'AOSiP Pie'. So my configuration is:

1. TWRP twrp-3.5.0_9-0-nitrogen.img

2. FW 9.12.26/10/China which was referenced on github

3. ROM AOSIP AOSiP-9.0-Pizza-nitrogen-20200125.zip

4. opengapps (ARM64/9.0/mini)

Before flashing anything I went to TWRP and Wiped Dalvik/Cache/System/Data.

Then I flashed FW,ROM and GAPPS and rebooted (I opted out of magisk). Once on the OS I installed NGCam_7.4.104-v2.0 which is not relevant anyway.

In general I am really impressed! I should have installed it earlier! However I have 2 issues:

1. I changed display size to small from default (Preferences > Display > Display Size > small). Once I did this the User Interface of the phone became very very slow to the point is not usable (opening apps from the notifications takes many many seconds). I assume that it has to do with scaling the screen and it is done using CPU/GPU power. Is this something that you are experiencing as well or is it something else I have to look into? So this problem is not related to the resize. Randomly the phone becomes very slow. Then after interacting with it for a minute or so it becomes usable again. Does it have to do with some power saving profile? Do you have similar experiences?

2. When rebooting the phone when it goes through the animated logo it freezes for some seconds and then it reboots again. Eventually the phone will boot normally but sometimes it takes up to to 5 reboots to get to the OS. Is this also something that you are experiencing too?

Can you point me to any link how to read the Android OS logs and get some more input on these problems?

Thanks for reading my post!
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] gtezprado:
I have been on AOSiP since it arrived, and is the best ROM so far, sadly there is no more development on AOSP ROMs...

About your issues I havent experienced them. For the first one I guess it is related to power saving. If your phone is rooted maybe you can try installing Kernel Adiutor and check your governor, change it to interactive, for example. There is another option to boost the cores for up to 5 seconds. Try it too.

I am using AFR kernel.
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] magnamentis:
In case that you're using an external sd-card and don't need it absolutely, remove it and the laggs will be mostly or totally gone.

As to the boot thingy, depending on your setup that's how it is but not worth for me to follow up, it always boots, just needs anything between 1 and 3 approaches in my case that don't bother me enough to start a lengthy troubleshooting process.

Certainly it has something to do with the setup because the naked rom on first firmware when it came out does not have that issue, (I have a nandroid of that which is why i know) hence it's userspace but bearable.
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] sakoula:
@gtezprado and @magnamentis thanks for your answers!

Yes AOSIP ROM is simply amazing. I did not know why I have not installed it earlier!

Indeed I have an external sd card on the phone, but unfortunately I need it. Before reading your answer I tried and flashed AFRKernel (https://xdaforums.com/t/kernel-aosp-27-01-2020-afrkernel.3941398/) which made the lag disappear! I am not sure why but I am very happy.

Regarding the boot thing, I can live with it since it does not affect anything else!

BTW I have not rooted my phone. I think I will not do it.

Last question, can you recommend a gcam that works on this configuration? And where to download it from? I would like to avoid also downloading some obscure apk build from some google drive folder of a user.

Thanks again!
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] magnamentis:
Interestingly AFR Kernel is built in ( comes with the ROM) while what matters is that ir works for you now, great 💫
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] Tazmaniiac:
The Situation: Previous rom: xiaomi.eu latest weekly beta Desired rom: AOSiP (Pie)

Steps:

-Wiped System, Cache, Dalvik/Art Cache, Data, Internal Storage

-Installed firmware (<100mb and from 2019, there is a newer one I think but that's what is told here)

-Installed rom, Error 7 ----> "Remove assertions from updater-script"-fix is not working

Did that first with TWRP, then with Orange Fox

What now? I heard that system partition may be wrong somehow (it didn't work prior to system wipe too though), how do I update system/vendor correctly? Download latest (Vendor or Firmware?) and flash with Mi Tool?? Afterwards flash the rom or the specified fw again?

EDIT:

Still Error 7, I flashed the latest global fastboot rom (device is not global though) with XAFT (MiFlash and MiSuite not working), then I flashed twrp, from there I flashed Orange Fox, then the firmware, everything fine so far..

When I install the rom itself however I get ERROR 7 again...
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] magnamentis:
Before trying anything else "FORMAT" data partition, wiping is not enough.

Well possible that it's not the cause but then before starting a thorougher troubleshooting first all known and easy steps should be done correctly.

Further: "(<100mb and from 2019," is not a valid description to tell which firmware you have installed. there is a number like for example

9.6.27 wich you probably have correct but always good to use the correct names for each file/zip you install so that there is no room for unrecognized errors. Also further this way of naming things only causes back and forth postings instead of single post provision of all needed input to make a proper assessment of the situation.

You need the 9.12.26 firmware

Also worth to mention:

Read here, go back to the 1st post on the matter and read until the 4th of May

https://xdaforums.com/t/rom-ota-unofficial-aosip-pie.3933754/post-82407365

and also have a look there:

https://xdaforums.com/t/rom-ota-unofficial-aosip-pie.3933754/post-80072655

and

https://xdaforums.com/t/rom-ota-unofficial-aosip-pie.3933754/post-82864453

and

https://xdaforums.com/t/rom-ota-unofficial-aosip-pie.3933754/post-84389917

and

https://xdaforums.com/t/rom-ota-unofficial-aosip-pie.3933754/post-82299351

just to get the greates amount of information on the or on similar matters.
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] Tazmaniiac:
[Solved] Thx for the reply!

The firmware I always flashed before the actual rom is 9.12.26.

The fastboot stock rom is called nitrogen_global_images_V12.0.1.0.QEDMIXM_20201013.0000.00_10.0_global_7165e85aee.tgz

I already looked through most of this thread and found nothing that I could do different, maybe skip 9.12.26 fw install? I think someone here did it that way if I remember correctly?

Edit: Formatting data partition has not helped unfortunately, same with skipping 9.12.26 FW

If that matters: TWRP is latest from here, same with Orange Fox

EDIT 2: I think I found the problem, the rom zip was corrupted! When I unzipped it to check whether I really deleted the assertions I noticed some error messages by 7zip, so I redownloaded the rom and flashing worked like a charm!
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] Tazmaniiac:
I have used this rom for a few days now and I'm mostly happy with it, gj to the devs :)

-However there are scrolling issues in all apps that rely on System Web View and Chrome... (especially quick) scrolling sometimes kills the momentum of the flick motion, sometimes it starts scrolling in the opposite direction. I will switch to a different main browser because of this, but in app browsers will stil suffer from that.

I have done some further testing, and noticed (by enabling "Show taps" in developer options) that touch inputs have a slight delay, which is probably the reason for the scrolling issue. I also noticed the same thing in my Launcher (Smart Launcher 3), where the gestures sometimes don't work. Most other apps however are not affected by this, be it browser like apps or Fluid Navigation Gestures for example.

-Some things don't feel as snappy as before, like Gboard, Swiftkey, and Fleksy keyboard. Maybe only the vibration feedback is delayed, maybe I'm getting crazy and it's actually alright, because sometimes it feels ok, or it could be because of the above mentioned thing.

-Double press powerbutton for torch (in Kronic settings) sadly doesn't work, it was one of my most used features in MIUI, and I haven't found a reliable replacement so far. Interestingly double press powerbutton for camera works, same with holding powerbutton for torch.

-Vibrate on USB plug doesn't work, the constant vibration used to remind me to get a new cable lol

-screen recording disables "show taps", but that shouldn't be a problem for anyone

I don't think this rom will ever get updated again, but if someone knows possible solutions for the mentioned issues please tell me!
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] landsome:
Thanks. I share some of these problems. Scrolling issues are particularly visible and annoying.

Is this an issue with all custom Android 9 ROMs, or just AOSiP?
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] magnamentis:
Generally speaking scolling issues are widely spread but I got rid of them by tweaking the kernel as well as by not using an external SD-Card.

There was a lengty discourse on the matter earlier in this thread while only those users who were willing and able to tweak the kernel had something like full success.

As far as I remeber i posted all the settings back then, my devices is untouched/not altered for over a year now and I'm not really in it anymore hence I recommend to search and read what's already there.

Don't be discouraged by those who refused to follow the steps and preferred to insist complaining. It's well possible to resolve the issue while there remains the possibility that other software components that I don't use as well as some setup differences and ultimately some hardware variations ( as most of us know CPUs and GPUs are in a range of peformance and not spot on identical in performance)

can impact the level of success.

To tweak the kernel you need to be rooted, you need a good app like ElementalX Kernel tweaking app or Franco's app.
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] sakoula:
Hi there @magnamentis ,

Thanks for your input in the thread! your posts have been of great help.

I looked into the thread and could not find the settings that you customized the kernel with. Is it possible to share there again?

I have been running AOSiP Pie for some months now without Root. I do not use an SD-Card and a single SIM. When rebooting the device the device it is running smooth and fast. As the hours/days pass the device is becoming slow and sluggish to the point that when I expect to open up the keyboard the keyboards comes on sceen after 3-4 sec. Also at this point rotating takes many many seconds. Rebooting solves everything.

You would say, ok this is a very general description of the problem. What do you have installed and what do you run, have you looked the logs? And you are right.

For some reason I want to see if rooting and tuning the kernel will improve the overall experience.

I also run the latest compatible TWRP and not the Orange one. I assume that this would not affect performance or anything like that.

BTW thanks again for your help!!!
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] magnamentis:
Long time since and info has bee spread over many posts hence I try to post a resume while due the fact that all works flawlessly ever since I mentally (awereness wise) lost a bit contact to the matter LOL 😇

The Values below are not checked as to how much they differ from defaults or if they differ at all, wouldn't want to check and redo, I simply mention those where I have "Apply On Boot" applied that hints to changes I've made.

- CPU-Governor both Clusters "Interactive

- Avoid using the SD-Card Slot in case it's not absolutely need which is rarely the case, after all cloud storages are huge nowadays and totally reliable and cheap.

- CPU Boots 300ms 0:1401600 1:1401600 2:1113600 3:1113600 4:1401600 5:1401600 6:1113600 7:1113600

- Cluster-1 minimum cores online: 2 ( max 4 )

- Cluster-2 minimum cores online: 2 ( max 4 )

- Thermal Profile: Game

- GPU-Governor: performance

- GPU Initial frequency 266MHz

- I/O scheduler: noop

- Readahead: 4096 kb
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] sakoula:
wow!!!

First of all thanks!!! I have never tweaked the kernel before.

I have enabled what you have described and the phone behaves totally different. As if it is a different device.

I assume this performance boost will impact the battery right? Have you seen changes on the battery?

Also for phycological reasons mostly after enabling all the settings using elementalx (apply on boot) and rebooted a couple of times the device I uninstall magisk. it seems that the performance stays the same. Do I have to have root every time I reboot to get these custom settings on the kernel?

Thanks!!!!
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] magnamentis:
Technically no. You can unlock the bootloader, flash a custom recovery and desired kernel but never flash superuser binary.

Since I never used any phone without rooting it before even finishing first setup ( for efficiency reasons ) I cannot tell you with 100% certainty whether there are functions that only work with root but since ElementalX app only offers tweakable options, other options are omitted from the interface, I suppose that what is there can be tweaked under the then current conditions/setup.

Impact on battery is for me not distinguishable which does not mean that there is none (there are no miracles in physics) but however it is, they are not significant enough to make a big difference.

Last but not least, even if a device is using a bit more juice while in use, since the devices get's things done faster it could well be that the balance at the ende is more or less leading to similar results for longevity. 110% more power used and 110% performance as compared to not tweaked means more or less same amount of juice per task.

Also the changes I made are in fact minor, just a few boost options that make the entire experiance more snappy and especially improves the well know scrolling issue that many encounter with the device.

Further I'm glad that it works for you and for more use case specific findings you have to observe and eventually react should any significant side-effects happen.

Keep in mind that identical device's hardware components have a relatively wide range of performance. CPUs as well as GPUs are from different batches of the same production line as well as from various producers/production plants and differ. You can read up about this, just search the web for it while modern devices do have a performance level where the differences are often marginal. I remember devices like the Nexus 5 where difference were significant and therefore recognizable but those are "Tempi Pasati"
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] Tazmaniiac:
I switched to GSIs now, but before I left this rom I narrowed the scrolling issues down to browsers that rely on system web view (which is based on chromium I think). The firefox browsers had no issues, if you opened a webpage for example via discord you could evade the problem by choosing a firefox browser. Now I found this Magisk module, which let's you switch your webview application: https://xdaforums.com/t/magisk-module-webview-switcher.3936964/

The most recent versions have some installing issues but you can give it a try
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] nightmoonlight:
your link doesn't work, can't download

please reupload it since I can't find it anywhere
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] nightmoonlight:
Does anyone have "boot image" for installing Magisk? I need it for this rom.
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] virtualreptile:
Releases · Black-Seraph/device_xiaomi_nitrogen

Contribute to Black-Seraph/device_xiaomi_nitrogen development by creating an account on GitHub.

github.com

it's there if you scroll down little bit. though not in obvious place. it's under "04. January 2020 pie-aosip Build"-section in assets.

or directly:

https://github.com/Black-Seraph/device_xiaomi_nitrogen/releases/download/20200104-pie-aosip/firmware_9.12.26.zip
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] virtualreptile:
boot image? is this what you're looking for.

GitHub - topjohnwu/Magisk: The Magic Mask for Android

The Magic Mask for Android. Contribute to topjohnwu/Magisk development by creating an account on GitHub.

github.com
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] nightmoonlight:
I'm done. This rom works perfectly but it costs a lot of batteries. Do u know how to stop it or calibrate or anything to prevent this?

Btw, Do u know which version of Xposed can we use with this cooked rom? Please tell me specific since I dont know much. Thank you.
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] virtualreptile:
https://github.com/topjohnwu/Magisk/

for that link, apk is also flashable zip file, so users just need to rename it.

warning: magisk development has been halted (by google).

for battery waste: that just weird. for me mi max 3 lasts very long almost on any custom rom. although, i don't use gapps and load full of apps.

i heard about edxposed but i haven't used it. https://xdaforums.com/t/official-edxposed-the-successor-of-xposed-oreo-pie-q-r-2020-07-19.4070199/

you may want to look this/these: https://androidfilehost.com/?a=show&w=files&flid=321068
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] AutumnOnFire:
Hey there,

Just wondering if there were any updates on a telegram group or something? Unfortunately I'm just not familiar with telegram so I don't know how to get into any group.
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] Khumarahn:
Hi. Is there a kernel source that I could use with this rom? It used to rely on

https://github.com/afr30010/android_kernel_xiaomi_nitrogen

by @afr30010, but that repo is gone from github...

I have built the kernel from

GitHub - Black-Seraph/kernel_xiaomi_nitrogen: Xiaomi Mobile Phone Kernel OpenSource

Xiaomi Mobile Phone Kernel OpenSource. Contribute to Black-Seraph/kernel_xiaomi_nitrogen development by creating an account on GitHub.

github.com

but it does not have working sound...
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] Khumarahn:
also tried https://github.com/rr-mario/msm-4.4 branch "stable" by @mario_R

also no sound
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] irkurniadi:
Thank you so much Mrcoldbird for making this ROM, is far better than MIUI 12, app not force close, no lag whatsover, just battery bit drain, but that the price for performance I guess :)

So happy for my MiMax3!
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] Gregor250385:
Does anybody know how to update without losing data?
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] :
I'm unsure about it, but I can confirm that using ADB works through the normal means (adb shell wm density ___)
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] pirate77:
No difference. On aosip - settings - security & location - advanced - encryption & credentials. Encryption works, decryption works with chinese twrp too.
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] zzzardoz:
OMFG! :mad: Just found out what was the problem: Encryption fails, when a sd-card is installed. Removing it solved it.... Man, this took me HOURS!...
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] Tweedledope:
Haptics and Menu

Any way to increase haptics on button presses? Home, back, etc. are very light and I can't see a way to fix them. Also, settings menu keeps reverting back to Light Theme from Dark.
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] jenia777:
- Need install TWRP from Nijel !!!!!!!!!!!!!!!

https://xdaforums.com/mi-max-3/development/recovery-twrp-3-2-3-1-nitrogen-t3866084

- Install Required 9.5.16 firmware.

- Install AOSiP ROM.

- Install open gaps.

- Install magisk.

- wipe cashe and dalvick.

Welcome!

Nanandroid backup is strongly recommended! In case of incorrect actions - you can roll back to the working version.
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] Gregor250385:
Thank you for replay. The original twrp works just fine on my phone.

The problem is when new update comes out, how to update it without losing everything. People are getting bootloop, including myself, does Nijel twrp works differently?
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] jenia777:
Yes, different.

On the official twrp, I did not manage to flash the gaps, showed the error.

When I installed this recovery, everything worked out successfully.

This is exclusively my experience. Perhaps there are better options.
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] MrColdbird:
New build is up.

Fixed the 5GHz WiFi hotspot issue

Pushed some fingerprint reader blobs I've forgotten to push
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] DuryMoo:
Hey I'm new to XDA, anyways I just flashed this ROM yesterday and the OP's Google camera apps seems to not focus properly and also the front camera with hdr crashes with flash turned on/auto. I have not tried any other camera apps yet.

Also I find the volume adjustment tab to be too small for my liking and was wondering if there's a way to increase the size of it.

Otherwise the rom seems to be good for far, thank you op!!
[Xiaomi Mi Max 3 ROMs, Kernels, Recoveries, & Other] MrColdbird:
The camera focuses fine. The other issues seem to mostly stem from the Google camera port itself.

I've yet to find a fully working port that plays nice with the Max 3.

There is however a small issue left with the camera regarding image scan libraries that I'll be looking into this weekend.

As for the volume adjustment tab, you can try setting a custom DPI setting to scale the whole UI up or down.

However this is of no real concern to me as I focus on fixing device-specific issues, not change or make my own ROM.

Design decisions were made at Google / AOSiP and I'm not going to make custom builds just to tweak the UI.