Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Asus ZenFone Max Pro] Audio issues #49

Closed
zennnez opened this issue May 21, 2018 · 16 comments
Closed

[Asus ZenFone Max Pro] Audio issues #49

zennnez opened this issue May 21, 2018 · 16 comments
Labels
validation pending A potential fix has been commited, this needs to be validated with next release

Comments

@zennnez
Copy link

zennnez commented May 21, 2018

  1. FIXED 3.5mm jack doesn't work - earphone not getting detected, sound plays through loudspeaker (works in aex by AryanPatidar) ** Works by installing overlay by phhusson **
  2. FIXED In call audio doesn't work - fixed by a patch ** Works in new builds without patch **
  3. FIXED Calls goes through loudspeaker in some builds but goes through earpiece in some. ** Works fine in new builds **
  4. PARTIALLY FIXED No audio in Bluetooth headphone in calls but works fine for played media in new builds

logs+etc.zip

Note: etc folder i attached here is from stock system.img

@phhusson
Copy link
Owner

Do you have a /vendor/overlay?

@phhusson
Copy link
Owner

Can you reboot, run adb logcat -s PHH, make a call, and give me the logs?

Oh gosh, they have no XML audio policy, wtf have they done

@zennnez
Copy link
Author

zennnez commented May 22, 2018

Logs from 2018-16-05 rr build. Audio call patch flashed to vendor only system is untouched stock
Calls work over GSM (earpiece and loudspeaker both), VoLTE is broken (out)
rr_nopatchsystem_soundthroughearpiece(lte+gsm).txt

yes there is /vendor/overlay with 2 overlays already there (stock)

Note: the etc folder i attached is from stock system.img

@phhusson
Copy link
Owner

phhusson commented May 22, 2018

I didn't check, that was /system/etc or /vendor/etc? It's vendor/etc that I need
I need the logs without the framework patch (though it's good to know that it is possible to fix it only by updating vendor)
Can you attach the vendor/overlay?

@zennnez
Copy link
Author

zennnez commented May 22, 2018

Restored to stock vendor
Calls works fine without any patch in 2018-19-05 rr build (both earpiece and loudspeaker)
no_patch_call.txt

That was from system, this is from vendor
vendor-overlay.zip
vendor-etc - scve(facereco)deleted.zip (deleted fareco to upload here)
vendor-etc.zip (complete etc folder, gdrive)

@zennnez
Copy link
Author

zennnez commented May 22, 2018

I tested the Rr again, this time without call audio patch (stock vendor)
Audio through BT is working for played media but NOT for calls

@phhusson
Copy link
Owner

Wait, I didn't realize that when you said RR, it wasn't mine.
Could you link to the sources of the RR you mentioned?

@phhusson
Copy link
Owner

Could you also dump me a getprop?

@phhusson
Copy link
Owner

@aouerfelli Your device is honor 7x? If so, please don't hijack this thread which mentions it is on a Zenfone

@zennnez
Copy link
Author

zennnez commented May 26, 2018

sorry for delay
RR was yours only but vendor was modified by that in call audio fix patch. restored vendor to stock.
3.5mm jack is working by your overlay.

here is getprop
getprop.txt

should this issue be closed as everything is fixed except Bluetooth in call audio?

@phhusson
Copy link
Owner

When you say in-call and earphone/speaker works, it is with my AOSP GSI v18, with stock vendor?

3.5mm should be fixed in next release with:
phhusson/device_phh_treble@456b7b7
phhusson/vendor_hardware_overlay@302a3f2

@phhusson phhusson added the validation pending A potential fix has been commited, this needs to be validated with next release label May 26, 2018
@zennnez
Copy link
Author

zennnez commented May 26, 2018

I'm on your ResurrectionRemix gsi 19th may build with stock vendor

https://www.google.co.in/amp/s/forum.xda-developers.com/project-treble/trebleenabled-device-development/resurrection-remix-phh-treble-t3767688/amp/

And in-call audio through Earpiece and bottom speaker both, works without any patch
3.5mm works with overlay that will be fixed by default from next builds, thanx to you

I can try aosp too if you want me to

@phhusson
Copy link
Owner

well, I'm afraid earpiece/speaker switch works only on RR, not AOSP

@zennnez
Copy link
Author

zennnez commented May 26, 2018

Will flash and report in 3hrs
Thanx

@phhusson
Copy link
Owner

thanks

@zennnez
Copy link
Author

zennnez commented May 26, 2018

aosp and aosip didn't boot for me (bootloop)
tested earpiece/loudspeaker on dotos too, it worked fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
validation pending A potential fix has been commited, this needs to be validated with next release
Projects
None yet
Development

No branches or pull requests

2 participants