Building Custom Rom HELP NEEDEED Final annoyances - Android Stick & Console Computers General

hi, ive been putting together my own custom ROM for S905X based boxes and have almost finished, just a few things that are bugging ne and need some help getting the last of these bugs (annoyances) ironed out
Rom Link
https://apkpure.com/amazon-prime-video/com.amazon.avod.thirdpartyclient/download?from=details
So already fixed a bunch of issues including power standby issues, Wifi & Bluetooth drivers, Modified system apps to replace icons ect...
Things that need fixed
1. Issue when there is delay between the video starting and the audio starts, same with any sound there is a delay (happens with any sound if its been quiet for 5-10seconds (The issue wasn't there on the factory ROM so ive ruled out hardware)
2 Bluetooth audio volume is too loud (it sounds distorted and i have to reduce the (Android) Volume to 50-70% to remove the distortion) i have looked at various files in system/ect (audio policy volumes.xml ect...) any ideas what could cause this
I have attached some files from my ROM that might be useful

Related

[Q] Anyone else experience popping sound ONLY during Google Now voice search sounds

ROM CM10.1 M Snapshot and CM10 Stable
I've noticed popping and/or crackling sounds when Google Now plays back the confirmation audio (the "ba-ding!" when the microphone button is tapped, and the sound that plays after you finish talking).
The popping sounds can be heard through headphones as well as the external speaker, and does not happen any other time (music, notifications, ringtones).
Anyone else?
EDIT: I've found that the popping sound occurs when I activate the microphone button too quickly, but only with certain sound files. I can recreate the popping sound if I select certain notification sounds in the settings screen and tap it repeatedly. It seems more like a driver issue to me than a hardware problem if my memory of popping audio in Linux serves me right.
Audio does not pop while listening to music, watching videos, streaming music, etc. I think it may have something to do with the wav files used in Google Now. I'm trying to edit them in Audacity, but I'm being forced to import them as raw audio, but they don't play back properly.
EDIT 2: I used Odin to flash back to stock and it does not make any crackling sounds at all. This is clearly an issue with the ROM's I've been using.
Same problem here, popping sound on Google Now launch and quit. Driving me up a wall. Using AOSP based ROM and a CM10.1 kernel. Super noob here so, kernel maybe?
jmattp said:
ROM CM10.1 M Snapshot and CM10 Stable
I've noticed popping and/or crackling sounds when Google Now plays back the confirmation audio (the "ba-ding!" when the microphone button is tapped, and the sound that plays after you finish talking).
The popping sounds can be heard through headphones as well as the external speaker, and does not happen any other time (music, notifications, ringtones).
Anyone else?
EDIT: I've found that the popping sound occurs when I activate the microphone button too quickly, but only with certain sound files. I can recreate the popping sound if I select certain notification sounds in the settings screen and tap it repeatedly. It seems more like a driver issue to me than a hardware problem if my memory of popping audio in Linux serves me right.
Audio does not pop while listening to music, watching videos, streaming music, etc. I think it may have something to do with the wav files used in Google Now. I'm trying to edit them in Audacity, but I'm being forced to import them as raw audio, but they don't play back properly.
EDIT 2: I used Odin to flash back to stock and it does not make any crackling sounds at all. This is clearly an issue with the ROM's I've been using.
Click to expand...
Click to collapse
Sorry to rez an old thread, but this is the only one I've been able to come across where you have stated exactly the same issue I am having with Google Now. That popping noise is driving me crazy! Did you ever find a solution for it or a new rom that does not have this issue. I'm on a 4.1.2-based CM 10.0 rom and would love to find a fix for my current rom as I don't want to upgrade to 4.2+ as the multi-user capabilities of it make my precious Directory Bind unusable
NinjaBurg3r said:
Sorry to rez an old thread, but this is the only one I've been able to come across where you have stated exactly the same issue I am having with Google Now. That popping noise is driving me crazy! Did you ever find a solution for it or a new rom that does not have this issue. I'm on a 4.1.2-based CM 10.0 rom and would love to find a fix for my current rom as I don't want to upgrade to 4.2+ as the multi-user capabilities of it make my precious Directory Bind unusable
Click to expand...
Click to collapse
Nope, sorry. I eventually returned it to stock and sold the phone. I'm poor.
NinjaBurg3r said:
Sorry to rez an old threat this is the only one I've been able to come across where you have stated exactly the same issue I am having with Google Now. That popping noise is driving me crazy! Did you ever find a solution for it or a new rom that does not have this issue. I'm on a 4.1.2-based CM 10.0 rom and would love to find a fix for my current rom as I don't want to upgrade to 4.2+ as the multi-user capabilities of it make my precious Directory Bind unusable
Click to expand...
Click to collapse
unfortunately I have not been able to fix the Google now popping sound, I was able to get directory bind working however, if you need further assistance with that I can help you.

[Q] Kernel for sound cutting out

Hey everyone...I'm fairly new to flashing ROMs and Kernels onto my trusty dusty TF101. I've got the EOS4 b93 JB 4.2.1 with Kat Kernel lidpatch 80b. Unfortunately, I'm having an issue where my sound disappears and it won't come back without a reboot...and after that, it is hit and miss how long it'll last.
I've installed KAT Audio v1.24 but I really didn't find it as useful...other than the sound reinitialization button being available. I adjust my volume often and found I was just fighting the app to change my volume. I use my tablet as my alarm clock so toggle the volume modes via Audio Manager Pro...from Regular to Mute. My Mute setting has my alarm volume up so I can obviously hear it when it goes off. Sometimes I listen to things through the speaker, so the volume needs to be at my default setting...sometimes I listen with headphones and I lower it... The Kat Audio app caused all sorts of issues and I just couldn't figure out how to use it when I want to change my volumes. (much respect and appreciation for Tim Duru for taking the time to come up with a very powerful app for the community).
So...sound is important to me and I'd like to be able to control it, use it, etc. Is there a kernel that has better audio chip support that doesn't cut out? I've heard Guevors worked better for people, but am unsure if I can flash it over my current kernel. Any advice in this area would be much appreciated.

Bluetooth Static, Crackling when playing audio or alerts/tones

When stock, unroot and unmodded, bluetooth playback to my Logitech Mini boombox and Motorola S10-HD headphones was decent. I did notice a few pops and clicks every so often, but nothing like what it is now that I have rooted and flashed the latest ViperXL stable ROM, ElementX 5.2 kernel and the German 3.17 radio. I've seen a few scant reports of this same issue, but I'm guessing not many stream audio via bluetooth, hence why the issue doesn't get as many mentions as it should. I can confirm it is NOT a hardware issue as the streaming of audio via bluetooth was fine on the stock AT&T ROM. Base ViperXL emitted this issue before ever adding the ElementX 5.2 kernel or flashing the radio, so I'm thinkin' the issue may be with ViperXL.
The static/crackling/popping sound is unaffected by volume changes. Turning the volume all the way down allows for only the artifacting to be heard and turning the volume up doesn't increase this sound, but at least puts the music on part with it so that you can at least drown it out with other ambient noise. It's horrible and only stops when you stop playing the audio. It sounds like clipping that occurs when an equalizer is set too high for the DSP or output device. Is there something written in these ROMs to alter the stock levels? I'm not talking the EQ options such as BEATS, Dolby or Sony Xloud 'cause toggling those on or off have absolutely NO effect on this issue.
I did come across a few posts in the ViperXL thread claiming to disable some chinese variant of the Dolby sound enhancer, but that functionality seems to be gone with newer versions of the ROM, such that I am now on. Disabling ALL sound enhancers does not resolve the issue. I know there's others out there havin' this problem. What would it be in third-party, sense-based ROMs that would cause this issue to exacerbate? Please post your experiences and possible resolutions.
Flashed 2.20 RUU and the issue went away. All signs pointing to the ViperXL ROM...
UPDATE: Issue didn't NOT resolve, but lessened under stock ROM. I've isolated the crackling to fluctuations in CPU clock. When locking the speeds to one clock rate, the crackling goes away. As soon as I allow the governor to adjust speeds, the crackling recurs. I'd really like a dev to chime in here and advise how this could be resolved. I'm going to flash back to ViperXL to see if these same variables have any effect.

Mokee: Problem with Call waiting, hang up and other in call tones

Context:
I use Moto Atrix 2 [edison] running MK44.4-edison-141019-RELEASE.zip
The following observation is from the day I installed Mokee in August 2014
I have similar experience with NIGHTLY ROMs as well. These versions use the modified dialer in google AOSP KitKat.
Problem:
My phone has an irritating tone for call drop/call waiting/ etc.
What I have tried:
I wanted to change the respective tones and hence was looking for .ogg or similar files in the system partition. I found media/audio/ui folder has some .oggs such as lock, unlock, etc. but nothing related to call hangup or waiting. There is no setting to disable the sounds as well.
After a little digging, (disassembling dialer.apk and incallui.apk and reading on the internet) I found that android does not use audio files for such sounds. Rather uses a C++ library to generate sinewaves based on given frequency and duration.
ToneGenerator.java, ToneGenerator.h, ToneGenerator.cpp are crucial in generating these tones. When I compared these files in ICS and Kitkat, i hardly found any changes. (I did not have this problem with Stock ICS)
Later I realized, this problem happens only during a call. e.g the above files also control the DTMF tones of the dial pad. When idle (no call connected), dial tones sound proper. But when in a call and I try to use the dial pad, the same horrible sound is played. This horrible sound is like a very slowed (slow tempo) version of the original tone.
This leads me to believe there is some problem with the incallui (or the section of dialer handling incall events) which probably uses a lot of resource: hence slows down "ToneGeneration" .
I have also tried changing the final variable MAX_VOLUME in ToneGenerator.smali (after disassembling framework.jar) to 50 percent, but it dint lower the volume.
Other Mokee users, please check if you have this problem.
Any idea how I can fix this or atleast change the volume to 0.
Any help would be appreciated.

Reduce the volume of ringtones and multimedia

After installing the unofficial ROM CherishOS 3.6 of my phone, I had a sound problem and it led to a decrease in ringtone or even a multimedia program. Even after the official flash ROM, this problem continued. Did the phone have a hardware problem? What should I do to solve it?
This sounds like a hardware issue.
I guess to temporarily fix this, you could attempt to root your device via Magisk and get your hands on ViPER4Android to fix such issues with the speaker (like amping up your speaker's DBs, for example)

Categories

Resources