[Q] Play simple audio from command line - AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin

I'm trying to find out solution for months...
Challenge : play audio (loud beep in any format) from command line (terminal emulator). I have rooted S4. I tried to install alsa aplay, but I'm still getting errors.

Related

[Question] Help with AVD and Eclipse !!!!!!

So I decided to learn how to develop on the android platform and after installing everything I tried the helloandroid example from the android developers page and when I clicked run, the emulator window came up but then my computer started making a really weird noise like clicking and the emulator just froze while everyting else was working fine.... I tried to force close the emulator buti could not close it and the noise would not stop......please help ....thanks
edit: I tried starting the emulator through sdk manager and it began to start and then the noise started again.
have you tried connecting an android phone and using adb instead? The emulator can be pretty taxing on your system. Maybe something isn't compatible with your hardware.

Terminal Emulator (Galaxy Tab)

Does anyone have any tricks on how to make the most of the terminal emulator that is available for install on the Galaxy Tab? I have been having a hard time being able to use tab completion on the command line, and finding the Up/Down arrow buttons (such as to run through history on the command line).
Does anyone know if the full Bash environment and/or GNU/CoreUtils are available? The BusyBox I installed on my rooted Tab seems quite limited.
Any thoughts on the Android terminal emulator (specifically on the Tab) are very much appreciated.
Thanks

[Q] USB Audio on ubuntu?

Has anyone manage to install an usb audio board or usb headphones to ubuntu on hd2? Is it possible? I'm trying to update alsa drivers but haven't managed to solve this problem.
Is there a known way?
Yes, worked fine with new kernel update and modules. It detected as soon as i inserted the sound card even through usb hub.
However audio does not work for phone calls still. Exploring out still...
can you please direct me on where or how these updates could be make. Even external audio would be ok.
I've tried downloading any update i could get, but don't know how to enable sound as my external usb audio adapters are not yet recognised.
Yes... external audio is fine. I tried with a Microsoft USB Headphones and also with cheap usb sound card both are working fine...
Search with the string zImage-htcleo-usbhost-latest and download both zImage-htcleo-usbhost-latest and modules-htcleo-usbhost-latest.tgz
Search [Discussion]Linux and Android on the HD2 and you will get information about updating the kernel.
Cheers!
hello, i did by the following guide
Installing the latest Linux kernel image (zImage)
1) Download the latest Linux kernel image (right click, save file as)
1a)for Google Android
1b) for classical GNU/Linux based distros (Ubuntu, openemebdded, meego, maemo etc)
Be aware these build links are dynamic and will be updated once the Linux kernel source code is updated. See here for static links
2) Rename the file to zImage
3) Overwrite your old zImage file with the newly obtained zImage file
Installing the matching Linux kernel modules (.ko files)
1) Download the latest Linux kernel modules to match your kernel image
1a) for classical GNU/Linux based distros (Ubuntu...)
1b) for Google Android
2) Install the modules...
2a) in GNU/Linux
As root run
cd /
tar xvf /path/to/modules-htcleo-usbhost-latest.tgz
downloaded both zImage-htcleo-usbhost-latestt and modules-htcleo-usbhost-latest.tgz then renamed first one like the older one in the linux folder, then use the tar command in root console to copy files from the archive to /lib folder (or wherever they were put). After a restart i get some fatal errors during text load up of linux, something involving mod probe complaining about not finding something in /lib folder, modules.dep if i remember, then at GUI load i get another error "cannot update ICEautorithy file. When i click ok, i get the desktop loaded but still no sound plus now, no wifi or some other drivers.
I guess i did it wrong
diwa_sen said:
Yes, worked fine with new kernel update and modules. It detected as soon as i inserted the sound card even through usb hub.
However audio does not work for phone calls still. Exploring out still...
Click to expand...
Click to collapse
can you please tell me in detail what I have to do to get usb audio working
in sound settings it shows me that there is no hardware????
i didn't manage to solve that problem.
i still have problems replacing the old kernel and modules, after reboot the phone displays some errors involving modprobe then iceauthority files. If someone could upload a newer version using this kernel or a guide to enable sound, it would be excellent.
ok, managed to change to a new kernel and modules with no problems but still.. no audio. By default (no other modifications) i have no audio devices in the hardware tab of "audio" in preferences. When booting up i can see the usb-audio driver loading up and my audio card is recognised as "usb headphones" or something like that, but when the graphical part of ubuntu loads up i can't see nothing related to audio.
Tried with both cheap sound card and logitech usb headphones, same result, no sound.
USB audio works on my Allwinner A10 tablet witn "Unofficial CyanogenMod 9 for many AllWinner A10 tablets" firmware from Christian Troy

[Q] pipe output of shell-program to media player via shell script

hi there,
i'm usint the android version of rtmpdump to get a rtmp stream from somewhere out of the net and try to pipe it to a capable mediaplayer, got mplayer vlc or any u suggest.
how do i do this? been experimenting with am but got stuck, any ideas?
eg: in linux i'd do "rtmpdump $some_stream | vlc -"
thanks!
*bump**bump**bump*

[Linux] Sending AT Command to I9505 (Galaxy S4)

Currently I'm playing around with the AT command trying to have the Galaxy S4 I9505(Non Rooted) to dial my iPhone 6 by using the following a guide by Roberto Paleari - Exposed Modem Interface using (USBSwitcher).
However I do not have much luck making it work as the only command that works is ATZ, which returns OK and all other commands like ATD/ATI does not work. So I was wondering If you guys have any chance getting this to work?
How I test
1. Use USBSwitcher to switch to configuration 2 which is the CDC ACM.
2. Issue the command $socat - /dev/ttyACM0,crnl
3. Issue the command 'ATZ'
4. Returns 'OK'

Categories

Resources