yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
Thank you and [MENTION=5492063]Jerry08[/MENTION] very much ! its will in next build. Can you send me logcat about volte not working or who know help me !?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] bdogan1912:
OK. I will re test when that huge problem solved otherwise its great rom to daily usage though, thanks for your work ?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] eulipereira:
Battery became fantastic after the tweak init.qcom.power.rc of Jerry08, performance well above Miui stock .... I am loving the rom ....

Enviado de meu Mi Max usando Tapatalk
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] eulipereira:
Follow the print of the end of the first cycle of the battery ... Get your conclusions.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] pepfapeste:
This is mine on XenonHD. Get your conclusions :cowboy:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] eulipereira:
Oreo?

Certainly not, I decided to share because it is known by everyone who is testing the oreo the battery drain problem.

So the fact of doing almost 9h of the screen in an Oreo Alpha is something exciting.

Congratulations on the great performance of your battery.

continuing with the tests !!!!

Enviado de meu Mi Max usando Tapatalk
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] kelvinng199:
Full function is working？ have any bug？
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Tom bah:
No VoLTE
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] kelvinng199:
only votle no working? thank you?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] pepfapeste:
Nougat.

The conclusion is that Oreo is, as u said, in alpha stage and currently Nougat is better IMHO.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
Dirty Unicorns v12.0 uploaded !

(Still VoLTE bug - i don't know)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
is the fix provided by jerry in the today's DU build?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
Yes ! included !
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
superb. SO If the battery should be better now or we'll still need to wait till ROM sources update?

As I reported earlier there was google play services battery drain and CollectorChimeraSvc alarms battery drain.

ANy chance yu've been able to identify the cause?

ALso, I am guessing we still should flash the patch first and thenyour gapps?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
Tell you somethings:

vendor: hydrogen and helium Nougat (realy safe), driver:camera, sound, media, display, gps, touch,... well enough. Now just rom sources update for better, better...

You can find any other Gapps no need patch (you can make for your own patch for any Gapps by extract prebuiltGmsCore.apk and get lib64/*.so zip flash to system/lib64)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Tom bah:
Seems a new ROM for me to test if VoLTE is OK?. I think it not ?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
Not touch VoLTE. I need you send me Logcat about volte
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mandarthedon19@gmail.com:
Installed AEX Oreo. Working good. Camera has bugs. But working ok. USB thethering works. VOLTE don't know as don't have such sim.

Also installed stable magisk. Ok. Only CTS profile failed.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
So Opengapps arm64 should work alright, right?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Tom bah:
Open gapps 11.19 pico, I flash it and it's OK in DU.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] raymondsanusi:
There's bug in dirty tweaks?especially at status bar section

There's only blank page
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Tom bah:
I guess not. Maybe They just didn't add all of these into this ROM
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
Dirty Unicorns coding all tweaks
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
Buddy Dialer is Not working in DU too.

Request you to please test and fix dialer before next versions.

Cz we need Oreo but we need the Phone too. :/

Installed all apps only to find that dialer does NOT show up the incall screen.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Tom bah:
Log for dialer

Actually dialer works fine on my hydrogen, both call in and out. Just no VoLTE.

Camera is OK. No error messages displaying.

Hotspot works.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
With Gapps or not ? If with Gapps please send me the download link
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
hey After 2 reboots, inbuilt dialer started working.

But google phone app from playstore does not work even after getting all permissions.

Thanks for your continued help.

I guess I will be moving to oreo now (if the ROM proves to be NOT draining battery because of google play services.

Without OMS on [MENTION=4399618]nijel8[/MENTION] Nougat, I will move on to Oreo despite it being early in the lifecycle.

I need OMS LOL

Just bought Ethereal and Outline themes :D

Next I will buy Andromeda.

One thing I am confused about, if you know the reason, all Oreo ROMs for all devices use the google dilaer version 10 as their default dialer. Why not use the latest version (14) instead of the old 10?

Meanwhile, Could you please include latest OMS/Substratum commits from their repo?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
The Gapps you used is OpenGapps ? That's full or nano, pico ? I will test with its and try fix in next buils

Im testing phone with no Gapps:

https://youtu.be/DyKcL0vzyoc
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] bdogan1912:
Cant find LOS15 in folder.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
pico.

always pico.

when in the first go, default dialer didnt work(meaning did not show in call Screen - to enable loudspeaker, disconnect call etc) , I installed google dialer from playstore. it didnt work too.

but after 2 reboots, default worked but google dialer from playstore still didnt.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
I will compile new LOS15 builds
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
when in the first go with Gapps or not ?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] bdogan1912:
Oh okay. I used your 11.18 AOSP XTENDED build but it drained battery so fast i had to reswitch back to N. Hope LOS15 will have enough battery life though
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
with gapps
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
You can test no Gapps for original Dialer. Im downloading the Open gapps for test and if see it work or not
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
I told you that original dialer is working now. :P

You need not test it.

You can and should definitely install opengapps pico x64 and test Google play services battery drain.

Do install BBS and use it for a few hours.

See what wakelocks you get.

You can also test Google dialer from playstore to see why it is not working.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] apoor12:
Pls anyone tells about any rom which have work volte build by dungphp?????
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
I ran your build for 3 hours and i will post the BBS screenshots.

This test has been with Opengapps x64 pico. There is NO point whatsoever testing this ROM without gapps because 99% of the people use google services along with their phone.

The phone did NOT go to Deep sleep even for 1 second.

CollectionChimeraSvc kept the phone AWAKE the WHOLE TIME.

You really realy need to test the ROM with Gapps installed.

I can understand that this problem might be in the sources itself but if you can, please figure out the way to DIsable this particular service in your Kernel along with other battery draining google services that you find in your test with gapps.

thanks for the oreo build nonetheless.

Screenshots attached. [MENTION=5492063]Jerry08[/MENTION] [MENTION=4399618]nijel8[/MENTION] any help/word on this?

people here are discussing this issue but they seem to be getting nowhere.

PS: this is certainly NOT this ROM problem. I have seen this with ALL OREO ROMs across devices.

Cancro has this problem too with Oreo builds.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] apoor12:
Sir [MENTION=2772810]dungphp[/MENTION] i tested du rom...working perfeclty even volte is working perfectly no issue but volte icon doesnt appears on status bar...thankyou..pls work on laos volte.

Du rom volte rom....no doubt.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] apoor12:
See volte proof
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Sure... still don't care...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
i know you dont care about Oreo. But here is a problem solving task. I'm sure you can solve a bit of a puzzle this CollectionChimeraSvc that is.

but if you're busy merging OMS, I am sorry to bother you :P hahaha
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Tom bah:
Hydrogen DU

YYY, ? I have no VoLTE at all. It's just down to 2g totally ?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Jerry08:
I blame Google. Their google(bs) services always eats battery on early stages of new versions of Android. I will test oreo at weekend and will see how it goes.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
That's b/c unnecessary gms services/wakelocks are not yet disabled in whatever rom code. This is part of every new android version bringup/new wakelock intro...

This is how it's done usually https://review.lineageos.org/#/q/status:merged+branch:cm-12.0+topic:SystemUpdateService
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
Please take screenshot abour Google Dialer (with pico Opengapps office i dont see Google Dialer) and test this patch then say it work or not: Link
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] bdogan1912:
No LOS15 for helium? :(
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
Will send you test first (volte) ! compiling
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] bdogan1912:
thanks a lot. I am awaiting for it ^~^
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] JulianJenner:
I am too... :D

小米Max全网通版3GB/64GB银色MIUI9中国开发者7.11.21
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
Sent to PM
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] JulianJenner:
I got. I will test a.s.a.p

小米Max全网通版3GB/64GB银色MIUI9中国开发者7.11.21
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] bdogan1912:
Thanks will test in a moment and will give you a report ?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
Bro I said I installed it from play store.

You are not reading my post completely.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Rohit Shelke:
Can you share the tweak please
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
I said that because Google Dialer not replace original Dialer in my phone (pico Open office gapps)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Rohan purohit:
The thread title ? op should have been romfactory
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
Sorry I don't understand :eek: . Can you tel me clearly more
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] bdogan1912:
i think he means you making multiple roms and working like "romfactory" or he means another dev which developed AiM ROM and RR Nougat builds. [MENTION=8363123]ROMFACTORY[/MENTION]1
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
yes yes it does not.

Man, we are confused here.

So, the test need to be done on 2 things, separately:

1. Install Opengapps and run the phone for a few hours. Also, keep it idle for a few hours like when you sleep and then see if CollectionChimeraSvc keeps your phone awake.

I think it is related to Sensors data collection service.

2. nowthat you have gapps, use the playstore to download Google Dialer.

Disable the original Dialer from settings>apps and try to use Google Dialer (just downloaded) for calls and see if it works.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] bdogan1912:
So, dear [MENTION=2772810]dungphp[/MENTION],

- ROM is still a bit scratchy i mean mini-lags appearing and since its alpha stage its very normal.

- Mobile Network has no slow connection or timeout issues but wifi has problems on it.

- A bit better battery management but still drains it like there is no tomorrow

- Cannot test VoLTE because my stupid provider doesnt enables it (says its not a volte device while my friends on same network using same device with operator) tried many ways to enable it but it wont lets me.

- Receiving SMS properly (prev. LOS15 build had problems this one works good)

- Using EX Kernel Manager and fine-tuned stock LOS15 kernel to prevent obvious wakelocks draining battery.

- Managed to tune LITTLE cores down to 691 MHz on idle (not gaming etc.) but it wont scale down the big cores and it always stays on 1804 MHz no matter how much i take it down. So i'll try more tuning until i find a stable fine-tune-ish setting or someone can provide a good setup for me.

- Adaptive Brightness dims screen so low that most of the times i cant see the screen properly due to screen brightness beign too dark.

As the time passes i'll give more feedback. I did not tested quick charging (though it did not worked in prev LOS15 and AOSPX 5.0 ALPHA) But i can say its better than previous LOS build a bit more stable.

---------- Post added at 09:51 AM ---------- Previous post was at 09:42 AM ----------

[/COLOR [MENTION=2772810]dungphp[/MENTION] also dialer cannot make or receive calls. Used gapps micro x64 both stock and google dialer wont work. Is there a workaround for it?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
Please take a screenshot apps . I want to see the Google Dialer and Stock Dialer in apps

I used gapps in http://opengapps.org/

Platform: ARM64

Android: 8.0

Variant: Pico

and see just one Dialer
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] bdogan1912:
downloading pico variant now. Will uploads screenshots in a few moments for both google dialer and stock dialer.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] eulipereira:
Looking at the comments I see reports of various problems, including Dialer, here everything is working perfectly, I can not find these problems here ... AEX 11.18

Volte not tested

Enviado de meu Mi Max usando Tapatalk
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
oh god. I think English is not your First language.

Okay, lemme try getting this through again.

I NEVER said that flashing pico gapps gives you 2 dialers.

You WILL have 1 original Dialer only.

It did NOT work for me in the first go. MEANING - When I flashed the ROM and gapps and tried making calls, no in call Screen showed up.

Although call did go through and I could hear the ring BUT in call UI where you disconnect the call did NOT show up. Neither was there a notification of the call in progress.

So, I went to the play store and installed Google Dialer to see if it worked. BUT it DID NOT work too.

Now, after2 reboots, original Dialer started working (showing in call UI screen).

BUT the Google Dialer still does Not work.

I really hope you GET it now.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] bdogan1912:
for #2; if flashed with pico installer stock one works but google dialer keeps crashing but still sends the call but cannot reach call UI due to it crashes so much.

---------- Post added at 10:33 AM ---------- Previous post was at 10:30 AM ----------

As he noted down with pico stock dialer works but google dialer still doesnt works. With micro (which i use regularly) both dialers wont show dialer ui and keeps crashing.

Note: No quick charging for now but cmon it still charges like a snail for a normal 2.1A 5V charger.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
haha, sorry for my bad English. Can you please backup your sdcards then format its. Then flash rom, Gapps...

And tell me know your system, data partitions are ext4 or what ?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
ext4 only.

have not changed anything else.

---------- Post added at 03:24 PM ---------- Previous post was at 03:23 PM ----------

it might be crashing because you might have not granted it permissions first.

even before launching it, grant google dialer ALL permissions and then use it.

It wont crash but still the incall UI will not show up.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] bdogan1912:
Granted full permissons via settings<apps UI showing but in call ui has constant crashes but i can hear dialling sound but no notifications or in-call ui shown.

---------- Post added at 11:30 AM ---------- Previous post was at 11:22 AM ----------

Also there is constant notification about SD card that cannot be removed. most likely a bug. i havent encountered something like that in any other roms including aospxtended alpha.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mandarthedon19@gmail.com:
For me also on helium I dont have any dialer issue. I flashed open gapps aroma version.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Rohit Shelke:
You've made many Oreo roms .. So he said it should be romfactory:laugh:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dribibu:
I use Helium ROM (version: 21 November)

installed the 2 gapp zip files ( first this, then this)

phone is working

Only problem is the SD card is not recognized, there is an error message: corrupted sandisk sd card.

In twrp I can access SD card, (exFAT) but not in android.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] akubaek:
Which twrp should i use? What about camera?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] JulianJenner:
Nijel8's TWRP

Mi van? Mi van! Mi One? Ez egy még mindig dögös MI 3W Global Developer 7.11.23
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Tom bah:
I use nijel8's, too.

https://xdaforums.com/mi-max/development/recovery-twrp-3-0-2-2-hydrogen-helium-t3512981
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] JulianJenner:
May you need to copy your important files (like twrp backup folder!) to PC. After then make Format data on Wipe/Advanced wipe menu. After reboot recovery this is mandatory/important. Last copy back twrp backup folder from PC to phone, and make Restore.

Maybe. I think.

小米MIX标准版4GB128GB开发公测版MIUI9建立7.11.23
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mandarthedon19@gmail.com:
[MENTION=2772810]dungphp[/MENTION]

When we can expect LOS15 for helium ??

Please.........
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] bdogan1912:
As a helium user (this actually saddens me though ) LOS15 builds are kinda dead. Iam waiting RR OREO based ROM which will eventually released on December. We can only hope [MENTION=4399618]nijel8[/MENTION] develops LOS15 since i really trust his builds.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
LOS 15 uploaded ! just try to fix volte
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] bdogan1912:
Well lets test it then.

---------- Post added at 02:07 PM ---------- Previous post was at 02:05 PM ----------

I hope calls and messaging works tgese are vital part of it though.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
What's rotmware you using ?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] bdogan1912:
Rotmware?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
Dry, firmware
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] bdogan1912:
Currently using MIUI GB 7.11.16.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] avi3230:
He must be saying firmware i guess.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
I've just tested miui 9.1.2.0 Stable firmware and still have good calls, signal. Hydrogen firmware

Yes, im type fast and lost, haha
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] bdogan1912:
lol i meant it for LOS15 about calls/messages. Last time when i was on 1122 build calls werent working. Now going to test i hope battery backup is improved. See ya in few mins.

---------- Post added at 03:29 PM ---------- Previous post was at 02:56 PM ----------

calls and messaging works (tried with pico) but cant test it longer due to having ****ty connection at this moment. Will test more when i get stable enough connection.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Tom bah:
No one test VoLTE? OK, I will test it later on.:D

---------- Post added at 11:13 PM ---------- Previous post was at 11:10 PM ----------

Hey, VoLTE works or not?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Tom bah:
VoLTE didn't work:cyclops:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] bdogan1912:
Cant test because stupid provider/operator does not enabling VoLTE network..
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Tom bah:
Take it easy and leave 4G behind.?5G is just around the corner. It's about to be put into operation in 2020.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mandarthedon19@gmail.com:
I am getting error 7 while flashing LOS 15 on helium. Any suggestions.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
folow:

- turn off phone then on to recovery and flash

or re-download zip rom

or change new twrp

and others one confirm lost or not ?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] bdogan1912:
Nah 4G enough for me. I only await a good stable oreo rom atm.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mandarthedon19@gmail.com:
I got that. It was assert problem. I removed the assert from updater script. Now ROM is booting. will update you bugs.

What is the new twrp ?? Any link ???
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
Just from Nijel8 twrp thread
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mandarthedon19@gmail.com:
[MENTION=2772810]dungphp[/MENTION]

Why I have to change assert lines while flashing helium ROM on helium device ???
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
Can you copy that line here ? i think your firmware is older then in rom ask
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mandarthedon19@gmail.com:
assert(getprop("ro.product.device") == "helium" || getprop("ro.build.product") == "helium" || abort("E3004: This package is for device: helium; this device is " + getprop("ro.product.device") + "."););

ui_print("Target: Xiaomi/helium/helium:6.0.1/MMB29M/V8.2.3.0.MBCCNDL:user/release-keys");

ifelse(is_mounted("/system"), unmount("/system"));

package_extract_dir("install", "/tmp/install");

set_metadata_recursive("/tmp/install", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644);

set_metadata_recursive("/tmp/install/bin", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755);

mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/system", "/system", "");

run_program("/tmp/install/bin/backuptool.sh", "backup");

unmount("/system");

show_progress(0.750000, 0);

ui_print("Patching system image unconditionally...");

block_image_update("/dev/block/bootdevice/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat") ||

abort("E1001: Failed to update system image.");

show_progress(0.020000, 10);

mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/system", "/system", "");

run_program("/tmp/install/bin/backuptool.sh", "restore");

unmount("/system");

show_progress(0.050000, 5);

package_extract_file("boot.img", "/dev/block/bootdevice/by-name/boot");

show_progress(0.200000, 10);

set_progress(1.000000);

Now I flashed helium firmware 7.11.6
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
You deleted this line :

assert(getprop("ro.product.device") == "helium" || getprop("ro.build.product") == "helium" || abort("E3004: This package is for device: helium; this device is " + getprop("ro.product.device") + ".");); ?