title: Call Audio Stream Modification in Android 4.0 ICS
body: <p>I've been working on a project that would greatly benefit from call-stream modification. This has been repeatedly said/assumed to be unachievable, as most people believe that the hardware loop for the in-call audio is completely disconnected from the main MCU of the device.</p>
  
  <p>Questions like <a href="https://stackoverflow.com/questions/5268964/stream-audio-to-a-phone-call-android">Stream audio to a phone call Android</a> have received answers stating that it is impossible to access the audio. I agree that this is definitely impossible from the Android API, but it is completely unclear whether the hardware ACTUALLY is disconnected completely.</p>
  
  <p>The stackoverflow user 'artsylar' said that they were able to modify the 'framework layer' of Android OS to inject recorded audio into call streams, which would be a huge step forward (see <a href="https://stackoverflow.com/questions/3900564/play-an-audio-clip-onto-an-ongoing-call">Play an audio clip onto an ongoing call</a>, artsylar's comment on the selected answer). Assuming artsylar's success is valid, there definitely is a way to control the call stream audio by modifying the framework (I assume the telephony base framework in the Android source).</p>
  
  <p>Basically, I completely agree that modifying or controlling the call-stream is impossible from the application layer. However, I am interested in customizing the Android OS in framework or Radio Interface Layer; artsylar seems to have had success, but there is no explanation in open-literature on how. Given the current state of Android technology, could anyone clarify the above to actually establish whether controlling call audio is possible by modifying the core Android OS, and a good path to accomplish this goal?</p>
  
  <p>I believe that a final clarification on this issue would be of great value to the open-source community.</p>
  
  <p>Thanks!</p>