yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
A Poco F1 with the Max 3 screen would be perfect. If only...

I haven't seen anyone confirm if the Poco works with CDMA and EVDO networks. The official tech specs don't show it but the SoC and baseband should support them. The Max 1 didn't have official CDMA support for the global model yet it still worked fine in those networks.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] theo1fx2:
Its sad when a phone like xiaomi mi3 still have support from the devs receiving android 9 (5 y.o. phone) and a phone like mi max having loss of support from the first 2 years. its truly very sad. Anyway i guess im gonna try to port lineage os 16 for my mimax and only. if i succeed i might bring it to this forum also. Im an amateur so dont espect many things.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] raikko5:
also not leave for helium.. maybe u can.. just try....
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Dave Hodson:
Got my 6gb/128gb. On way from eBay, let's see what the spec is, says it is global version

https://rover.ebay.com/rover/0/0/0?mpre=https://www.ebay.co.uk/ulk/itm/132724912370

Looking forward to any good info and guidance in the future.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
As far as I know there is no 6/128 official global version released from Xiaomi.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Dave Hodson:
Ooh err!

I assume once I get through the bootloader unlock process, I'll be able to flash on the global ROM?

Have you been investigating LineageOS for this device?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Not yet, have no time for development yet. Tried quick building the kernel but as I expected didn't go straight from the sources...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Dave Hodson:
OK thanks Nijel. Good luck with your future efforts and once again thanks for the long lasting life you have given the Mi Max 1!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] moni93:
installed this on my mi max , volte not working , not in any other roms , lineage , rr , bootleggers , and others . its frustrating .....
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] davehodson:
The Mi Max 3 arrived after a little over a week from China to here in the UK.

It was already bootloader unlocked and had ROM version MIUI Global 9.6 Stable 9.6.4.0 (OEDMIFD) and no ARB existing on device either!

I have successfully wiped and installed the Stable (MIUI 9 V9.6.6.0.OEDMIFD) ROM and then rooted with Magisk as well.

So far very good!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Superitkas:
I Will Try This

i want use this rom,after i try oreo rom lineage
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] careless_angel:
Hello Nijel8, faced with a shortage of RAM and decided to try swapfile, but any my manipulatation in the terminal did not lead to the desired result.

1. dd if=/dev/zero of=swapfile bs=1m count=1024

2. chmod 600 swapfile

3. mkswap swapfile

4. swapon swapfile

Result: invalid arguments

what I just did, both on the internal memory and on the external map, the same errors, somewhere on the forum I read that this is a command error of dd, and need to use fallocate -l 1G swapfile, but this app same error, not enough space...

maybe the core does not support swap? or am i doing something wrong?:confused:

Tnx for your work)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
First S652 device with Oreo firmware begins to surface.

https://m.gsmarena.com/samsung_oreo_update_galaxy_a9_pro_2016-news-33734.php
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
Can we take firmware blobs from another S65x device and use them? There are still Xiaomi blobs that are stuck on Nougat like the camera.

I wonder how the Kenzo and Redmi Note 3 Pro crowd do ROM porting. They even have a 9.0 Pie ROM working.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Yes the A9's use the same primary camera ISO cell Samsung sensor as the most of Mi Max units. Otherwise it wouldn't be a news & wouldn't post it hire. Working & working as supposed are two different things. Whit this the requirement for building a good working Oreo ROM's for Max will be met.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Bartos81:
I'm wondering if someone will try to create Oreo again, is this the end of Mi Max?

We already have well-developed roms only require a few amendments.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] bttcp12:
Indeed there is a thread for LineageOs 16 Pie [MENTION=6407372]tarkzim[/MENTION]
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
I did try that.. Took blobs from some Sony and another SD650 treble devices I don't remember... That's how I got GPS and most of the hardware working as treble device but couldn't get RIL working so I gave up entirely on the Oreo bring up.

Making old style Android 8+ working is not a problem. That's how Note 3 and alike are doing it and I don't see the point doing it myself. The real problem is bringing treble to device with no-treble support from manufacturer...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] the_lzxman:
sir can i flash latest your kernel to other oreo rom ?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Bartos81:
nijel8 whether you MiMax3 has a chance for development and custom romy?

For now, there is a great tragedy. PocoF1 has better support than MM3
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
Howdy.. so the hydrogen is, now, in the bin or what?

you know we would've rejoiced the nijel8 oreo without the treble :D
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Nope... Hydrogen is still my main and only device and will be for like 2 more months. Max 3 is in the bin till have time for it...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
hey was flashing the last build with latest available twrp. got these errors on ROM flash.

any pointers?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Don't worry, buit-in su install option got removed from TWRP a while ago but somebody forgot to remove orphaned UI strings...

BTW TWRP has screenshot feature you know...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
How do you find the Max 1 vs Max 3? I'm itching for a new phone, I tried out the Max 3 at the store and I couldn't find any major improvement except for the slightly larger screen. The old 650 chip feels just as fast as the 636. I also tried the Mi 8 Lite SD660 and Mi 8 SE SD710 and again, I didn't find them much faster either.

I might go with a Huawei 8X Max for the gigantic 7" screen but I'm worried about Huawei not allowing bootloader unlocks and locking out root access. That phone runs a SD660 instead of a Kirin so it could be good for Lineage.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ioy:
Is it worth to switch into Pie Android 9?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] khnoizer:
It is, if you want to help the developer by giving feedbacks. So max development will keep continuing to the future.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ioy:
Yeah.. And what are the advantages of Android Pie over Nougat, in general?

Asking this because previously, when putted similar question about switching to Oreo, people here discouraged doing it saying the Oreo had no essential changes and only some bloating ones. So, are Pie system's different sort of changes?

Please, provide this exceptional ROM continuation link, now in Pie! :) As I understand there is one :)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
yeah. I know. But something unimaginable happened to my hydrogen.

My father tried to rip off the back plate of the phone to insert the second SIM card, damaging the phone buttons which I had to get replaced from a shady shop who might have cheated me. :P

He was still living in the OLD era when we used to remove the back plate to insert SIM.

I know..weird. :P

if this is still your primary, we could've done with a treble-less oreo ROM or skipped it entirely for PIE.

One and only stable build. :P

---------- Post added 26th October 2018 at 12:03 AM ---------- Previous post was 25th October 2018 at 11:47 PM ----------

I'd suggest max 3 (big screen + nijel8) or pocof1 (845 + other rom devs)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
AudioFX is still flaky on Bluetooth and wired headphones. Sometimes it works after a restart, sometimes it doesn't, it seems like the effects aren't being applied properly in the mixer pipeline.

I've given up on it so I flashed Magisk, installed the Dolby Atmos plug-in and all is good now. These Xiaomi Bluetooth Sports in-ears have amazing sound and they're so cheap.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
[MENTION=4399618]nijel8[/MENTION] been using the ROM with my usual setup. Just google apps, whatsapp, uber, whatsapp business too, truecaller. Been experiencing lags throughout the UI.

App opening janks etc.

Are you facing some of these?

Since, we do have some time before MAX 3 comes out of the box, I guess another update with blob changes would not be bad.

:)

Also, there is one very cool feature that you might try to bring to your ROM (Found a challenge to motivate you)

which is the Full-screen gestures which work very well in MIUI --- although I find the Oneplus stock gestures to be Better)

but still can be tried.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Moderators, please close this thread. This project is dead! The dev is deaf... or blind... whatever...

Thank you...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] prashanth9reddy:
Hy.... Myne mobile touch is not working on custom roms and twrp.... On miui it is working fine.... I replaced brocken touch with duplicate touch.I think kernel is not supported.. Can anyone help me
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] coffee-turtle:
What's this now? :cowboy:

https://www.xda-developers.com/miui-10-global-stable-xiaomi-redmi-6-pro-mi-max-mi-max-prime/
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] AlexandraV:
No more updates
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ishwar110594:
Its final release... Dev will not update anything now
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] AlexandraV:
Got it. Thanks
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] gregbradley:
Done!!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
I started building again and I am stuck... More things broken after syncing with latest Lineage code than om my last build and that is frustrating...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] AmokPL:
I installed your rom yesterday on my Helium. I'm not the kind of guy drizzling over antutu numbers, just needed a good daily rom for a standard usage (browsing, gaming, playing movies). So far no problems. Everything works, smooth, clear rom without this annoying MIUI crap. Very happy with that. Great job and thanks!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
Yes, this is the best rom for Mi Max for now. MIUI on Android 6 is slightly better in compatibility (HiRes audio support works there, slow motion and timelapse video recording works correctly, simcard setting for dual sim are remembered) but the cost is annoying MIUI interface (settings and tasks because I use Nova Launcher on both systems so launcher is a non-issue), much worse battery, even more castrated kernel configuration, sdcard support (only fat32) and strange permissions system. Although I managed to prevent MIUI from closing my background apps, battery life just got much worse that way.

Please Nijel8 - don't abandon this rom :)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] pokipokipxorn:
[IMG="Trepn overlays"]https://developer.qualcomm.com/sites/default/files/attachments/trepn-preset-home.jpg[/IMG]

Qualcomm's Trepn profiler allows overlay of CPU cores/freqs & other system info.

If the kernel have AutoSMP hotplug, that could help to turn on/off helium's extra cores.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Jerry08:
So nijel, I was looking to edit AICP boot.img to enable all cores. And while looking into your init.qcom.power.rc(the one in helium h+patch) I found what was preventing 2 cores from running:

write /sys/devices/system/cpu/cpu4/core_ctl/max_cpus 2

Changed it to 4 and now all cores can be online.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
Yes, it may be nice, but displays only 4 first cores and we are concerned about cores 5-8 :(

Tried that before and was really sad that such a resource is not updated for newer CPUs

Edit: I took a closer look at this software, seems I've been negligent in it's testing, it allows for monitoring 4 cores BUT deep in settings it is possible to change monitored cores. So I did and set monitoring to all big cores. I'm happy to say that it monitors them correctly. I will test how that impacts different kernels (hydrogen, nijel8's helium and nougat kernels).
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Damn... you are right... I was about to look in kernel for some cpu cores restrictions. And I will but good catch.:good: Thanks.

BTW fixed most frustrating camera bug and I am back in the game. This time building proper helium from scratch as well...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] RomanGeorg:
Excellent!!! Ready to test!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] jpph:
Impatient here also! You are our only and great chance for us helium users!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
NOT FLASHABLE ZIP !!! DON'T TRY TO FLASH IN RECOVERY !!!

Here is a slightly modified kernel for Helium, it should work with 8 cores without any problem (works for me).

Use "fastboot flash boot boot-20170127-0104.img" to flash this kernel once it is unpacked

- must be unpacked in directory containing fastboot.exe

- phone must be in fastboot mode (you can enter it by doing: restart>bootloader from running system or by starting phone while holding VOL- button)

- once kernel is flashed restart phone by holding power button until it reboots

This is how it looks with this kernel even with no load for big cores.

And below Antutu using all big cores.

and

Good luck playing :)

Below are screen shots from Geekbench 4. Look at some of them and notice how CPU frequency (yellow line) keeps falling as temperature rises and test progresses, overheating is obvious.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] TEKME:
[MENTION=2473722]mat9v[/MENTION] Thanks, enabling 4 cores in Kernel Aduitor finally sticks and all 8 cores come online.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
New dedicated releases for hydrogen and helium in OP...

Enjoy!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] andjohn:
Oh man, thanks for sticking around! I love this ROM so much! Works perfectly, and I'm sitting here with 7 days uptime and it's still fast, no memory leaks or anything! I'm just about to update but it's clear, you don't have to reboot this ROM if you don't need to :)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] cmk7128:
Can I dirty flash this latest release over the current official hydrogen LineageOS build? Thanks so much for the build, much appreciated.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Dirty flash is always my first option no matter what...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] cmk7128:
OK! Good to hear that :).
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Feenfleisch:
I flash the 27.1 Rom for Hellium, But now it cant find Sim Card and the phone application is bugy (crash)

Gesendet von meinem Mi Max mit Tapatalk
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] RomanGeorg:
do a clean install and all would work well. On my helium everything is fine!! did a clear cache and system.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Feenfleisch:
I have still the Problem

Gesendet von meinem Mi Max mit Tapatalk
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
[MENTION=4399618]nijel8[/MENTION] - have you seen this https://xdaforums.com/showpost.php?p=70492947&postcount=8793 about f2fs? Did you implement it perhaps?

I had to fully wipe because after dirty flash phone app would FC constantly and sim cards would not be recognized correctly.

On clean install in initial wizard there are again few screens without any text, just "next" or "skip" buttons but only if you select different initial language from detected from simcards ???

On top of that data/app automatic restore from google servers did not work - tried it 3 times, even wiping system and starting from scratch. I really don't know what is happening :(
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Feenfleisch:
The same here. SIM card was found for 30 Sec. then the phone App crash

Gesendet von meinem Mi Max mit Tapatalk
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Jerry08:
So same thing happened when I flashed one of builds of AICP. Probably something messed up your partitions(I could see partition 'dsp' in mount menu from recovery). EDL flash is the only way to fix it.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Feenfleisch:
I try the Boot. Img for Helium here from the thread. It's looks like The Sim card and the phone App works again

Gesendet von meinem Mi Max mit Tapatalk
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
As I stated previously, full wipe fixed SIMs problem. The other MAY have something to do with my meddling with build.prop file on previous rom to enable Vulkan games (changed ro.model and so on to Galaxy S7 Edge) and now Google did not know that it should restore apps from Galaxy to Mi Max phone :)

Or it is a rom problem, in that case some other user will stumble on it and should report it.

On another note (not to spam posts), I did some tests with multiple simcards:

case 1. data/call/sms set to card 1 - during call I can access internet HSDPA because my provider does not support VOLTE I guess

case 2. call/sms on card 1 and data on card 2 - no internet access during call

Now the question, does anyone know if Mi Max has one or two radio chips? I mean if it has only one, then just 1 card can be active at the time, so it would explain why I do not have internet access in case 2.

Oh, and remembering sim settings is not fixed completely - calls setting still defaults to sim1 after cold reboot, whatever I try to set it in settings - sms and data are remembered correctly.

Please verify anyone?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Somebody have done it already...:)

https://github.com/LineageOS/android_kernel_xiaomi_msm8956/blob/cm-14.1/fs/f2fs/f2fs.h#L184
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
Oh, so I will check if it is possible to convert to F2FS now :)

Oh, it's a commit from october 2016 - so it won't work now since it didn't work a week ago :(

Nevertheless I'm happy to say that F2FS now works as it should :)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
How's that? I mean what's changed from before?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
Before on your roms, after I converted /data to F2FS and rebooted, Android asked for pin to unlock sim cards and then complained that "encryption process is stopped because it can't mount /data partition" and advised to do a full phone reset (delete user data). No matter what I did (formatting /data) it would not continue booting always stopping at the same point. I thought it was something to do with kernel forcing encryption, but the only kernel that was stated not to force it was for MIUI. So I waited :) and sometimes tried again. Last try was at the beginning of this month.

So everything changed, rom and kernel are new, your firmware mix is new (though I don't think it has anything to do with that), only thing I can be certain is that it happened in the last 3 weeks.

If you really want to I can flash some older kernels and check if the phone boots.

Come to think about it, it may be from this change from january 19 from your changelog - "Kernel: added support for f2fs encryption"
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] liguangming1981:
I just installed this on my Helium 128GB, and it seems to be working very well. Only issue I'm facing is that both of my SIM cards are showing x in the bottom right corner, which I'm not sure what it means. I still have internet access when on LTE, so I don't think it's actually affecting anything, but it's just odd.

Also, I couldn't find the built in root so I just flashed Super SU and everything worked just fine.

Thanks for the hard work, OP. It's nice to be able to try close to stock Android on this device.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] souravipc53:
Working good so far ... wish there was a official channel for the helium version
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Skalexs:
Tested last version on Helium

Clean install

So far everthing work perfect with no mods, just with the ROM Zip.

Its the BEST ROM for helium, the most complete and bug-free you can find, as stable as marshmallow

I had before with some roms including first realses of this ROM bugs like LTE but dont GSM or HSDP, i had to soft reboot to get data working etc.

All this things are fixed.

Thanks again [MENTION=4399618]nijel8[/MENTION] for this perfect ROM, thanks for the love you have gave to helium users :svetius:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ashiafu:
Noob question here..im on lineage for almost 2 week, really great rom so far for my helium...if im going to try flash latest RR 5.8.What should i do make all 8 core to work..?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
You can try my kernel that I posted yesterday, it should work on any rom based on LineageOS. I am not certain of RR so remember to backup.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
URGENT UPDATE!!! Fixes data lost after TWRP backup/restore operations!!!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] kyler084:
The 27/01 build is rock solid for me .., done some controlled benchmarks with antutu on my helium 128gig, first one was with 6.12.29 firmware installed along with f2fs converted file system here are the results

Then repeated the benchmark with 7.1.5 firmware installed and f2fs filesystem the difference is quite astonishing ..

Thanks for your efforts Nigel !
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] blove:
Link dead

Please update link download ver 29.01.2017, it's dead with error 404 not found.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Yeah... for a short time.

Forgot to disable camera test parameter and it was crashing...:( Had to rebuild the roms and upload them again.

Anyway... all good now.

If your camera crashes redownload and flash again or

just flash the attached Snap.zip

. Sorry for the inconvenience...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] RomanGeorg:
:D

My helium 128 + firmware 6.12.29 + 27.01 builgs antutu!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] justln:
Just flashed the Helium version, everything looks fine! I'm just restoring apps using Titanium Backup now.

Can you remove the # for the dual SIMs in your next update? I'm using only 1 SIM card and the # is just there taking up space.

Thanks again for the hard work!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Davehimself:
Is it normal, that you can't change system to F2FS, just data and cash ?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
This "#" means some app is using root access at the moment, it has no connection to sim card number.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] justln:
Ah! Ok thanks for enlightening me, I thought it was related to the unused SIM slot. I assume it's the CF.Lumen app that's running, I didn't see this in MIUI so it's new to me.