TrebleDroid / treble_experimentations

Scripts to automatically build/CI/Release TrebleDroid GSI
Other
203 stars 26 forks source link

Treble app overlays? #104

Closed melontini closed 3 months ago

melontini commented 3 months ago

This is more of a question/feature request. Is it possible to create hardware-esque overlays for the Treble App?

On the realme 8 pro (well, on most phones, I assume), there are some common props which need to be enabled to get calls, VoLTE and headphone jack working (stereo on VoIP, Restart RIL, alt audio policy). While not major, this makes onboarding just a bit easier.

phhusson commented 3 months ago

Yes, there is treble_presets for that: https://github.com/phhusson/treble_presets

I don't think IMS can work that way though, I need to give it a thought.

melontini commented 3 months ago

I see. Thank you.

Btw, on an unrelated note. Is it normal that Htop constantly reports ~40% (cumulative) from multiple com.androis.bluetooth processes when using the System wide HAL?

phhusson commented 3 months ago

No, there should be only one, and only during playback. Without playback there shouldn't be any such process

Le mardi 5 mars 2024 à 19:21, melontini @.***> a écrit :

 I see. Thank you.    Btw, on an unrelated note. Is it normal that Htop constantly reports  ~40% (cumulative) from multiple com.androis.bluetooth processes when  using the System wide HAL?    —  Reply to this email directly, view it on GitHub  [https://github.com/TrebleDroid/treble_experimentations/issues/104#issuecomment-1979377627],  or unsubscribe  [https://github.com/notifications/unsubscribe-auth/AAAA4OW2LUDYXJMQUOIDS5TYWYELVAVCNFSM6AAAAABEHSHDGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZZGM3TONRSG4].  You are receiving this because you commented.Message ID: @.***>

melontini commented 3 months ago

Oh, sorry, constantly during playback.

phhusson commented 3 months ago

K. When there is no playback, it consumes 0%? If you kill it, then let it restart and start playback again, you again see multiple threads consuming 40%?

melontini commented 3 months ago

So, after checking again, everything seems to be okay-ish. There are ~12 com.android.bluetooth processes, but only ~7 are active and only 2 consume 30% and 12%. Everything else is <8%. Still seems like a lot, but maybe that's just me.

phhusson commented 3 months ago

Check the CPU frequency. It should be 30% of very little

melontini commented 3 months ago

Yup the freq is barely affected by the service. Thank you once again.