yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Max Guides, News, & Discussion] Hupo:
Nope my mic still doesn't work in hangout. Can someone ell's try to call someone in hangout to see if the mic works for you?
[Xiaomi Mi Max Guides, News, & Discussion] nijel8:
Samse here. I posted about the playback issue in the original developer thread and he replied he will try to fix it.
[Xiaomi Mi Max Guides, News, & Discussion] zelipukin:
outdated, moved
[Xiaomi Mi Max Guides, News, & Discussion] manuelgs88:
Any Rom update?

Enviado desde mi MI MAX mediante Tapatalk
[Xiaomi Mi Max Guides, News, & Discussion] nijel8:
I can confirm now video recording and playback works as it should. No freezing, sound sound works too.

Don't like the boot animation but that's not your problem, ha-ha....

Great job! :good:
[Xiaomi Mi Max Guides, News, & Discussion] zelipukin:
Hope, those hw options were disabled in orig. rom not for "purpose" but by mistake or for purpose to be compatible with older applications. Cant see so far if anything is broken. but still have a feeling that there was some kind of "trade", like "OK, this will not work well, but the rest of system will"

bootanimation called "furious_impatient_android_waiting _for_boot_to_finish_after_flashing_patch#567987" made it to escape from thoughts "whats wrong with this damn rom"

original cm13 (copy to system/media):
[Xiaomi Mi Max Guides, News, & Discussion] nijel8:
Hey, no worries about the animation... I just deleted the whole Media folder from your patch before flashing it.

But you are right... Something is not right after patch applied. All system sounds, music, any sound is kind of playing with delay... Phone even didn't ring receiving a call. Pointing at sounds in Sound settings is delayed... not played at all the very first time. It's like system can't find the sound the very first time you select it. I hope you get what I am trying to explain.

I restored /system from backup and everything is back to normal exept the video recording/playback issue of course...

So you are on the right track but something else needs/not needs to change. Might be a simple build.prop edit or just those libs not planning well with Mi Max.
[Xiaomi Mi Max Guides, News, & Discussion] zelipukin:
Ive got that bug as well. then Ive rebooted, changed something in build.prop then rebooted again and then I had

to do something else but playing with the phone. when I get back to the phone few hours late I find it in a working order. I tried to reproduce the bug opening different apps, changing settings, etc. but those attempts were "unsuccessfull". Crossing fingers Im uploading patch#564875. Also, (Im new in qualcomm) I found that /system/etc/mixer_paths_wcd9326.xml contains max volume numbers. this part:

<ctl name="HPHL Volume" value="22" />
<ctl name="HPHR Volume" value="22" />
<ctl name="RX0 Digital Volume" value="90" />
<ctl name="RX1 Digital Volume" value="90" />
<ctl name="RX2 Digital Volume" value="90" />
<ctl name="RX3 Digital Volume" value="90" />
<ctl name="RX4 Digital Volume" value="90" />
<ctl name="RX5 Digital Volume" value="90" />
<ctl name="RX6 Digital Volume" value="90" />
<ctl name="RX7 Digital Volume" value="90" />
<ctl name="RX8 Digital Volume" value="90" />
<ctl name="ADC1 Volume" value="14" />
<ctl name="ADC2 Volume" value="14" />
<ctl name="ADC3 Volume" value="14" />
<ctl name="ADC4 Volume" value="0" />
<ctl name="ADC5 Volume" value="14" />
<ctl name="ADC6 Volume" value="14" />
<ctl name="DEC0 Volume" value="90" />
<ctl name="DEC1 Volume" value="90" />
<ctl name="DEC2 Volume" value="90" />
<ctl name="DEC3 Volume" value="90" />
<ctl name="DEC4 Volume" value="90" />
<ctl name="DEC5 Volume" value="90" />
<ctl name="DEC6 Volume" value="90" />
<ctl name="DEC7 Volume" value="90" />
<ctl name="DEC8 Volume" value="90" />

Had no idea which one is for bt(needed my bt headset sounds louder) changed them all. it works.

there is nothing fancy in .zip (libs and build.prop only):) :
[Xiaomi Mi Max Guides, News, & Discussion] nijel8:
I know this section in that mixer xml

<path name="speaker">
<ctl name="SLIM RX0 MUX" value="AIF_MIX1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX INT6_2 MUX" value="RX0" />
<ctl name="COMP6 Switch" value="1" />
<ctl name="RX6 Mix Digital Volume" value="88" />
</path>

changes speaker volume, the"RX6 Mix Digital Volume" value originally was 76, I changed mine to 88.

I will try the new patch later and let you know how it goes...
[Xiaomi Mi Max Guides, News, & Discussion] AttK0:
I tried the latest test patch zelipukin posted and can happily report that all the camera issues, at least for me, are fixed! Thank you very much for working on this issue. I can now finally fully enjoy CM on my Max.

This should definitely be added to the OP.
[Xiaomi Mi Max Guides, News, & Discussion] zelipukin:
Nope, it does not work for me. video is broken again.

testing another setup today but will wait 24 hours before conclusion.
[Xiaomi Mi Max Guides, News, & Discussion] nijel8:
There is ResurectionRemix ROM out for mi max:

https://translate.googleusercontent.com/translate_c?depth=2&hl=en&nv=1&rurl=translate.google.com&sl=auto&tl=en&u=http://www.miui.com/thread-4493044-1-1.html&usg=ALkJrhhWSGuipGquEpuKq6cjH2GO3SIasw

It is similar to CM13 and people say has no these CM13 problems. It is from the same guy... You can take a look and "steal" the fixes from it. ;)
[Xiaomi Mi Max Guides, News, & Discussion] obermotz:
Can someone mirror the RR rom somewhere other than Baidu? Can't figure out how to download from there.
[Xiaomi Mi Max Guides, News, & Discussion] obermotz:
sorry, duplicate
[Xiaomi Mi Max Guides, News, & Discussion] Survivor1990:
Could you tell me which services exactly need other/more permissions?
[Xiaomi Mi Max Guides, News, & Discussion] nijel8:
I granted all permissions to all services and apps exept one - location access for Google Play Store to stop it force closing. Also disabled battery optimization for apps with notifications and syncing I need.
[Xiaomi Mi Max Guides, News, & Discussion] dinhvtai:
hi, if anyone want to use this rom, you should use OpenGapps ARMx64 pico version, it's the best. no need to do anything more, no issue also :)
[Xiaomi Mi Max Guides, News, & Discussion] zelipukin:
thank you, will check it out.

still working... actually last few hours just waiting for the problem to show up opening camera every few minutes.

Been looking through logcat err.messages the whole day.

Hopefully, smthng has been fixed. will report tomorrow.

yep, open gaps work fine, been using them from the begining.
[Xiaomi Mi Max Guides, News, & Discussion] nijel8:
Can you point me to that last patch to test it? Thanks.
[Xiaomi Mi Max Guides, News, & Discussion] zelipukin:
outdated
[Xiaomi Mi Max Guides, News, & Discussion] nijel8:
Keep it going:good:
[Xiaomi Mi Max Guides, News, & Discussion] andjohn:
I love this rom! I only have one problem, no sound from apps like A Soft Murmur or basically any media using the speakers... But YouTube works fine. It's a weird problem.
[Xiaomi Mi Max Guides, News, & Discussion] zelipukin:
xxx

"no sound .... any media using the speakers" does that mean you have no sound from speaker playing audio/video files through stock or 3rd party players ? if so, there is smthng wrong in your particular case.
[Xiaomi Mi Max Guides, News, & Discussion] zelipukin:
xxx delted
[Xiaomi Mi Max Guides, News, & Discussion] andjohn:
I get sound from any app like normal but not from "A Soft Murmur" or Relax and Sleep. Black Player works fine as does the Gallery and any streaming app like YouTube or Google Music.
[Xiaomi Mi Max Guides, News, & Discussion] zelipukin:
Tried both. they work. but Ive changed a lot in my system. May be Ive fixed sound in Murmur at least instead of camera. will put a "patch" just need to figure out what has been changed.

Ive been traying to post a video patch today 3 times. tested those patches for relatively long time, and next 10 sec. after I click "post reply" I took video and video was broken again. unbelivable.
[Xiaomi Mi Max Guides, News, & Discussion] AttK0:
A2DP/Audio control through bluetooth seems to be bugged as well, at least for me. Audio plays fine but controlling playback (pause,play,next/previous song etc.) does not work through bluetooth on my car or bluetooth speakers.

PS. Again huge thanks to zelipukin for working on the video and audio bugs! Excellent work.
[Xiaomi Mi Max Guides, News, & Discussion] nijel8:
+1 to your PS...

Anyone tried RR ROM yet? Bugs...?
[Xiaomi Mi Max Guides, News, & Discussion] andjohn:
I can control music with my Pebble, so that part of Bluetooth is fine. Also, my car can change tracks too over Bluetooth. However, my car does not connect reliably, but a Chinese 3.5mm-bluetooth adapter does everytime. Miui and my Note 4 on CM both have problems with my car, so I doubt it's the ROM. I think its because the car doesn't attempt to connect, I don't know. I'm going to try rejecting the phone aspect of Bluetooth and see if the music autoconnects in the car.

Man, I love this rom though, so much works better than the stock rom it's crazy. Pebble stays connected with this rom and I really had to fiddle with it to get Miui to stop disconnecting.
[Xiaomi Mi Max Guides, News, & Discussion] zelipukin:
moved
[Xiaomi Mi Max Guides, News, & Discussion] nijel8:
Tried this last patch and still getting delayed/missed notification sounds... I can live with the video bugs but not with missed calls/notifications. Back to original CM13.
[Xiaomi Mi Max Guides, News, & Discussion] zelipukin:
Alarms and sms are important for me as well. Ill be fired if I won't be able to wake up in 4am or miss a few sms with info where and when should I go. Never had missed notifications problem. I usually flash "stock cm13 rom" and then jeer at it. That whay I stripped original rom to system and boot.img. I dont like the idea to flash preloader (!?) and dozen more partitions just to test another insane idea.

but /system is pure stock (its packed in system_new.dat - you can easily unpack it, but pack it back with modifications - its a pain - so I left it "as is".
[Xiaomi Mi Max Guides, News, & Discussion] luciferlul:
It works. I'm using it now.

通过我的 MI MAX 上的 Tapatalk发言
[Xiaomi Mi Max Guides, News, & Discussion] choihanoh:
652 version not working gps. (oepngapps installed)
[Xiaomi Mi Max Guides, News, & Discussion] obermotz:
After applying the latest camera patch from zelipukin video recording stopped working - ehhh, anyone with a link to that RR rom?
[Xiaomi Mi Max Guides, News, & Discussion] zmajdk:
Video Recording

Install OPEN CAMERA and open video settings and choose whatever video quality you want if sound doas not work open sound option and choose mono or alternatively other sound source. It should work without applying any patch.
[Xiaomi Mi Max Guides, News, & Discussion] lyul74:
I have a 64g model.

I had setup to this rom. but my device not working.

no on, no booting, no LED!

at last, I had setup to a factory-rom by miflash. fortunately my device is alive.

what is a problem?
[Xiaomi Mi Max Guides, News, & Discussion] ageg123:
me too. my mi max 652 version not working gps. I installed opengapps arm64 6.0 stock 20160704
[Xiaomi Mi Max Guides, News, & Discussion] choihanoh:
you have to 7page link rom download.
[Xiaomi Mi Max Guides, News, & Discussion] lyul74:
thank you. but i'll wait to safe rom.
[Xiaomi Mi Max Guides, News, & Discussion] obermotz:
ResurrectionRemix for the Max

If anyone is interested, here is the link for RR / Max on Mega: https://mega.nz/#!AEoiQI6Y . Will flash it later today and see if it is really better than CM.

Encryption key: !8waVtTl3_ujUguswn9Xptbx3lwQ9hrJVZxpmMHsVwSc
[Xiaomi Mi Max Guides, News, & Discussion] nijel8:
Link asks for a decryption key...

---------- Post added at 05:57 PM ---------- Previous post was at 05:31 PM ----------

Same with my LG HBS730... Was working fine with CM12.1 on my old phone.
[Xiaomi Mi Max Guides, News, & Discussion] king123321:
downloaded from Baidu the RR rom, same as these CM 13 bugs, no sound on video player
[Xiaomi Mi Max Guides, News, & Discussion] zelipukin:
been looking through bootlog (dmseg). there are errors like:

Warning! Service qcom-post-boot needs a SELinux domain defined; please fix!
13,2593,107962226,-;init: Starting service 'qcom-post-boot'...
13,2594,107962934,-;init: Starting service 'qti-testscripts'...
11,2595,107964517,-;init: Warning! Service config-zram needs a SELinux domain defined; please fix!
13,2596,107964541,-;init: Starting service 'config-zram'...
11,2597,107965256,-;init: cannot find '/system/bin/ATFWD-daemon', disabling 'atfwd'
11,2598,107965573,-;init: Warning! Service cs-post-boot needs a SELinux domain defined; please fix!

Thats bad. This is kernel/boot.img.

This makes system unstable. And problem with dropped bitrate in camera is not dtivers/libraries, etc., but something that prevents normal functionality over the time.

As of my poor knowledge it needs to be fixed by recompiling from source.(?)

I will try to compare "stock" and cm boot.imgs once again.
[Xiaomi Mi Max Guides, News, & Discussion] nijel8:
Not happening soon from what I have read about Xiaomi releasing kernel sources... 6 months + or so unfortunately...
[Xiaomi Mi Max Guides, News, & Discussion] luciferlul:
The third version is coming.

http://pan.baidu.com/s/1jI8RNsM

Password is 7yqe

通过我的 MI MAX 上的 Tapatalk发言
[Xiaomi Mi Max Guides, News, & Discussion] ffboy2009:
2016-07-05第三版/3RD release：

1、修复视频解码的问题（需要更多测试反馈）/ try to fix video decoder,need more test

2、更新底包为6.6.30，本ROM集成底层 / rom contains MIUI8 develop version 6.6.30 baseband and other

3、优化电量消耗（需要更多测试反馈）/ try to reduce battery consum ,need more test and feedback

4、同步CM13代码到0705 / sync latest cm13 changes until 0705

5、希望有使用车载蓝牙、蓝牙耳机的朋友反馈一下蓝牙是否OK / as someone said in this threat,A2DP not working well,plz give me more test by send private message to me or reply ,thanks

I'm the developer of cm13

i will push device tree and vendor to github github.com/zhaochengw when xiaomi release kernel source of MI max

---------- Post added at 03:51 AM ---------- Previous post was at 03:50 AM ----------

Thanks for methion

this is because i have not done write selinux rules for this device and using permissive mode.

Will working on this
[Xiaomi Mi Max Guides, News, & Discussion] luciferlul:
why your rom can be flashed on mimax pro

but the original rom can not

plz update the 3rd version

thx
[Xiaomi Mi Max Guides, News, & Discussion] nijel8:
Thank you for the great work you are doing! :good: You've made this phone my daily driver and a reliable one top of that . Really...

Ooh, and thank you for showing up here too. It's so much easier for us to communicate.

I hope someone will mirror the new release somewhere more accessible sooner.
[Xiaomi Mi Max Guides, News, & Discussion] Fain:
Spent the last 3 hours trying to download the file from Baidu. They make it so damn hard for anyone outside of China.
[Xiaomi Mi Max Guides, News, & Discussion] qazzi76:
Does 4K video recording work on this ROM?

Hi all,

Does 4K video recording work on this ROM?

Awesome work being done here - BTW! :)
[Xiaomi Mi Max Guides, News, & Discussion] luciferlul:
here is the google drive link

https://drive.google.com/file/d/0B131_m9OowbCMWhkRGlPSVlFZkE/view?usp=drivesdk

通过我的 MI MAX 上的 Tapatalk发言

---------- Post added at 12:56 AM ---------- Previous post was at 12:51 AM ----------

And if you want flash the ROM with a mimax pro 64g you must replace the baseband with this file for helium.

https://drive.google.com/file/d/0B131_m9OowbCMlRzRldPenhXRDA/view?usp=drivesdk

通过我的 MI MAX 上的 Tapatalk发言

---------- Post added at 01:00 AM ---------- Previous post was at 12:56 AM ----------
[Xiaomi Mi Max Guides, News, & Discussion] catogts:
Available 8 core use in mi max pro rom?

I tried 3rd version modified(delete all file except system image), working correct but operate only 6 core

And still not use video record
[Xiaomi Mi Max Guides, News, & Discussion] catogts:
cpu core setting only 6 core. 2 core is disable in 7/05 3rd version

if use kernel adiutor than available but can not unrooting (for finance application)

how can change kernel default core setting? kernel is unable that is require root condition.

need to default setting change
[Xiaomi Mi Max Guides, News, & Discussion] luciferlul:
use some app can active the other 2 core.

such us system tuner
[Xiaomi Mi Max Guides, News, & Discussion] catogts:
System tunner require root status. But i can not use root status for financial app

Some financial app detect cm hide root status. Only delete

6/14 modified rom for 652 rom is default core is 8

Need this modify
[Xiaomi Mi Max Guides, News, & Discussion] ITTack:
CPU Setting change needs permission about devices.

So if you want modify CPU setting with apps, must root access apps.

or edit ROM's core setting and recreate CM ROM yourself.
[Xiaomi Mi Max Guides, News, & Discussion] qazzi76:
4k Recording in CM13

Does anyone know if 4k Recording works in CM13?
[Xiaomi Mi Max Guides, News, & Discussion] nijel8:
There is xposed module that can hide root status for apps of your choice and still be rooted: http://repo.xposed.info/module/com.devadvance.rootcloak2

With stock camera app none of the video recording works... No sound... But with Open Camera all even 4K resolution works just fine.

Video playback is fixed for CM player in latest CM13 release.

A2DP works with VLC media player but not with CM player.
[Xiaomi Mi Max Guides, News, & Discussion] anirudhks:
thank you very much for the files , how about the TWRP ? does the Hydrogen version work for Helium as well ?
[Xiaomi Mi Max Guides, News, & Discussion] luciferlul:
yes it works.

通过我的 MI MAX 上的 Tapatalk发言
[Xiaomi Mi Max Guides, News, & Discussion] anirudhks:
Super ! , thank you very much
[Xiaomi Mi Max Guides, News, & Discussion] qazzi76:
4K Support.

Thanks so much for confirming - This is appreciated greatly! :)
[Xiaomi Mi Max Guides, News, & Discussion] alexecus:
deleted
[Xiaomi Mi Max Guides, News, & Discussion] Survivor1990:
Is that possible for every version of MiMax? I have 32/3GB and Pro Version of System Tuner on CM 13 and I can not find an option to activate the cores in CPU tab. How did you turn them on? Thank you!
[Xiaomi Mi Max Guides, News, & Discussion] wildlime:
Ok not sure what I am doing wrong. I have flashed the latest version with open gapps and also given all the right permissions. I cannot get location to work in battery saving mode. Won't work for cclock or maps
[Xiaomi Mi Max Guides, News, & Discussion] nijel8:
cLock/weather providers are broken so no surprises there, but everything else location related works just fine for me. I had location problems with earlier opengapps releases but not with the latest so my suggestion is try different opengaps release/package till you find what works for you. Make sure you use arm64 version... 7/5 arm64 nano works for me.
[Xiaomi Mi Max Guides, News, & Discussion] nijel8:
I found my A2DP media control problem. Actually there was no problem at all. I installed VLC player when video playback was broken in cm player and VLC hijacked bt media control receiver in data/system/users/0/settings_secure so I changed the value back to 1(it was set to some vlc reseiver class...):

...
<setting id="203" name="media_button_receiver" value="[COLOR="red"]1[/COLOR]" package="android" />
...

and now cm player bt controls works as they should.

Credit goes to https://forum.cyanogenmod.org/topic/120528-bluetooth-controls-and-volume-buttons-for-skipping-tracks-stops-working-in-cm13/#comment-592550

Just reporting for [MENTION=1882908]ffboy2009[/MENTION] no A2DP media control problems here.
[Xiaomi Mi Max Guides, News, & Discussion] obermotz:
Guys anyone here tried Waze on this? On the 1406 version Waze caused a soft reboot after 2 minutes or so no matter what I did. I'm kinda dependant on Waze so it was a showstopper for me and went back to the xiaomi.eu version of Miui8.
[Xiaomi Mi Max Guides, News, & Discussion] anirudhks:
Use the kernel auditor app very straight forward
[Xiaomi Mi Max Guides, News, & Discussion] luciferlul:
Thank you for the job. I have two problems after flashing the syspatch. The first is my camera doesn't work any more. When I open the app it says "can't connect to the camera"

I have tried to clear the data and cache. But it doesn't work. And the second is my phone is 64gb version. So the CPU is 8 core msm8976. I always active the 2 core manually by using system tuner. But this time it doesn't work and even the worse. The active core is just 5 not 6. I cannot active the other 3 core anymore. Btw the sound get louder than before. Thx again.

---------- Post added at 09:56 PM ---------- Previous post was at 09:48 PM ----------

I found my sixth core comes back after I post the . But 7&8 never come back again

---------- Post added at 10:36 PM ---------- Previous post was at 09:56 PM ----------

I find my CPU back by modifying thermal-engine-8976.conf. But the camera is out of my ability. ?
[Xiaomi Mi Max Guides, News, & Discussion] zelipukin:
is 64gb version - helium ?

Ive, actually, disabled version checking in updater-script, but this is for hydrogen. build.prop and default.prop in boot.img states about hydrogen. before this I didnt know that is possible to flash hydrogen on helium just like this. did you flash original cm13 ROM or stripped version ? Im pretty sure original version wont let you flash on helium. Im going to take a look at helium, already downloaded miui something. You are saying camera was working - how long have you been testing it? does it have same frozen/choppy bug?
[Xiaomi Mi Max Guides, News, & Discussion] qazzi76:
Does the camera work in the stripped cm13 rom you posted today? or does it have the choppy bug after some time...?
[Xiaomi Mi Max Guides, News, & Discussion] zelipukin:
Answered in description (just changed to make things clear)
[Xiaomi Mi Max Guides, News, & Discussion] luciferlul:
Yes , it is helium. I replace the original ROM with helium's firmware. And I succeed flashing the ROM. But I cannot open camera after flashing syspatch. The camera doesn't work any more.
[Xiaomi Mi Max Guides, News, & Discussion] zelipukin:
Though helium and hydrogen roms look similar in 95% but these devices have a different hardware after all (processor at least).

There are some files from stock miui HYDROGEN in the patch that may be incompatible with helium.

Why not to roll back to saved backup. Or just flash same rom again (no need to wipe data)

Another question is why to flash anything over stable working system ? (even camera works - we can only dream about it)

Thank you for your experience - now we now that the rom is compatible with Helium.

I will put stripped version late but only modifications over Hydrogen version are just regarding correct device name in "About" section. There are also 2 extra files in boot.img and one is related to 8-core cpu.
[Xiaomi Mi Max Guides, News, & Discussion] luciferlul:
The camera can just take photos not taking video.

I find another bug is that Google now voice down for me but other voice services can work.

Yes I will reflash the system. I know it's all my fault not yours. You do a good job for us. Thank you very much indeed.
[Xiaomi Mi Max Guides, News, & Discussion] zelipukin:
I think I have a temporary solution for those who use video recording frequently. Install "cpu awake" app from gplay.

Set time, start at boot, screen off.

You will trade off for some battery life, I guess.

This also confirms assumption that doze/sleep mode kills some important service (and its OK), but this service doesnt restart after screen is on and untill full reboot.

†*****************

Compared process/services lists before and after sleep (ps and dumpsys activity services) ..found nothing. pretty much similar. ??? Got stuck again.

*****************†

Lucifelul,

I have compared miui8 for helium and hydrogen. the fact that cm13_hydrogen starts on helium phone is amazing. there are some files in helium rom that dont exist (or located in diff. places) on hydrogen, also I tried to replace some files(libraries) from helium to hydrogen and this gave me the errors with bt, wifi, etc or phone wont boot at all.