[Q] Where can I find drivers for Nexus One - Nexus One Q&A, Help & Troubleshooting

how can I find drivers for Nexus one?
I did 'cd device/htc/passion and then extract-files.sh' to my nexus one. But I did this after I flash my Nexus one with a ROM I built. So I am too late in doing that extract-files.sh' step.
./extract-files.sh
remote object '/system/bin/akmd' does not exist
chmod: ../../../vendor/htc/passion/proprietary/akmd: No such file or directory
remote object '/system/bin/mm-venc-omx-test' does not exist
chmod: ../../../vendor/htc/passion/proprietary/mm-venc-omx-test: No such file or directory
remote object '/system/bin/parse_radio_log' does not exist
chmod: ../../../vendor/htc/passion/proprietary/parse_radio_log: No such file or directory
remote object '/system/etc/AdieHWCodecSetting.csv' does not exist
remote object '/system/etc/AudioBTID.csv' does not exist
remote object '/system/etc/firmware/bcm4329.hcd' does not exist
remote object '/system/etc/firmware/default.acdb' does not exist
remote object '/system/etc/firmware/default_att.acdb' does not exist
remote object '/system/etc/firmware/default_france.acdb' does not exist
remote object '/system/etc/firmware/yamato_pfp.fw' does not exist
remote object '/system/etc/firmware/yamato_pm4.fw' does not exist
remote object '/system/etc/vpimg' does not exist
remote object '/system/lib/egl/libEGL_adreno200.so' does not exist
remote object '/system/lib/egl/libGLESv1_CM_adreno200.so' does not exist
remote object '/system/lib/egl/libGLESv2_adreno200.so' does not exist
remote object '/system/lib/egl/libq3dtools_adreno200.so' does not exist
remote object '/system/lib/libcamera.so' does not exist
remote object '/system/lib/libgsl.so' does not exist
remote object '/system/lib/libhtc_acoustic.so' does not exist
remote object '/system/lib/libhtc_ril.so' does not exist
remote object '/system/lib/libmm-omxcore.so' does not exist
remote object '/system/lib/liboemcamera.so' does not exist
remote object '/system/lib/libOmxCore.so' does not exist
remote object '/system/lib/libOmxVdec.so' does not exist
remote object '/system/lib/libOmxVidEnc.so' does not exist
Click to expand...
Click to collapse

there in your sdk package if you have one or on blackrose's OP page
see this
http://forum.xda-developers.com/showthread.php?t=878786
also
http://dl.dropbox.com/u/28338566/drivers.rar

Related

[Q] looking for app to remote control your android (remote deskto)

so i have the sdk etc...
but i have been looking for a way to remote control my android from a visual perspective.
much like the sdk vms i create.
i can use adb to get shell etc, but i would like to get a remote desktop type app to control my phone from my desktop.
anyone heard or seen such an app or read about it in the sdk?
webkey
http://www.appbrain.com/app/webkey-(root-required)/com.webkey
You can VNC in to your device if you install droid vnc server from the market (free).

[Q] Remote Viewer protocol?

Anyone working on decrypting the camera remote viewer network protocol so we can write custom remote viewer apps? (Any chance samsung will actually document it?)

[Q] is there any way to launch chrome on a chromecast from the shell?

I've got a rooted chromecast and I want to launch a browser and load a specific url instead of streaming a tab from another device. Normally you would use soemething like:
am start -a android.intent.action.VIEW -n com.android.chrome/.Main -d http://myurl.com
to launch chrome with a specific url on an android device...
but 'am' doesn't exist on the chromecast
there is a 'start' command available though....
is there any way to launch chrome on a chromecast from the shell?
WildSatchmo said:
I've got a rooted chromecast and I want to launch a browser and load a specific url instead of streaming a tab from another device. Normally you would use soemething like:
am start -a android.intent.action.VIEW -n com.android.chrome/.Main -d http://myurl.com
to launch chrome with a specific url on an android device...
but 'am' doesn't exist on the chromecast
there is a 'start' command available though....
is there any way to launch chrome on a chromecast from the shell?
Click to expand...
Click to collapse
Not as far as I know. The stock OS is not Android and lacks Android's concepts of Apps and Intents. Instead, Chrome is launched as part of a monolithic binary, /system/chrome/content_shell, at boot, which handles both the page rendering and the Google Cast protocol implementation.

Audio file as array in Android Studio or Eclipse

I don't know if its the right place but I would proceed anyway. In matlab software we can load an audio file in the form of an array and manipulate that values in the array. i have to create an android app which requires a similar kind of thing. Can I load an audio file in the form an array and manipulate the values inside it in an android application. If so please share any tutorial or link that might be of help...
Code:
File[] audioFilesArray = new File[<enter size of array here>];
That will give you an array that holds the object type of "File".
You can then access a specific file by doing
Code:
audioFilesArray[0]
That will return the File object of the first file in the array. Then you can do what you need with that specific file, like play it using the MediaPlayer class.
elesbb said:
Code:
File[] audioFilesArray = new File[<enter size of array here>];
That will give you an array that holds the object type of "File".
You can then access a specific file by doing
Code:
audioFilesArray[0]
That will return the File object of the first file in the array. Then you can do what you need with that specific file, like play it using the MediaPlayer class.
Click to expand...
Click to collapse
How do I assign the values in an audio file to this array? The values that are displayed in matlab when an audio file is loaded. I need to store the samples of audio file in this array. By samples here i meant raw bit of sound which represent the sound intensity in individual channel at an instant of time.
munirshah77 said:
How do I assign the values in an audio file to this array? The values that are displayed in matlab when an audio file is loaded. I need to store the samples of audio file in this array. By samples here i meant raw bit of sound which represent the sound intensity in individual channel at an instant of time.
Click to expand...
Click to collapse
It's really simple. You must convert wav (or another music type) to byte array
Example for one file define like WAY_FILE
Code:
ByteArrayOutputStream out = new ByteArrayOutputStream();
BufferedInputStream in = new BufferedInputStream(new FileInputStream(WAV_FILE));
int read;
byte[] buff = new byte[1024];
while ((read = in.read(buff)) > 0)
{
out.write(buff, 0, read);
}
out.flush();
byte[] audioBytes = out.toByteArray();
munirshah77 said:
How do I assign the values in an audio file to this array? The values that are displayed in matlab when an audio file is loaded. I need to store the samples of audio file in this array. By samples here i meant raw bit of sound which represent the sound intensity in individual channel at an instant of time.
Click to expand...
Click to collapse
I'm not exactly sure what you are trying to do here.. An what I posted previously will give you an array of files. Which you can access and assign using
array[0] where the 0 indicates the first file in that array. To assign it, you would just do
array[0] = new File(<some file location string here>);
Your last sentence, "raw bit of sound which represent the sound intensity in individual channel at an instant of time" i do not understand what you mean. By channel I presume you are referring to left and right audio channels?
How are you obtaining this "raw bit of sound"? If you can convert it to a byte array as the other person posted, then you can write it to a file. But you have to have some sort of input to write or read from.

Getting a 3rd party audio player to stop when switching modes.. use MTC Manager ?

Hello all,
I have some questions, that I hope people can help with.
I am running the newest Malaysk 4.4.4 rom on a RK3188 800x600 unit.
I want to use the Musicolet Music Player as the media player.
(Hardware buttons on the head unit are configured via MTC-Keys and work fine)
The problem: This 3rd party media player keeps running when switching to MTC microntek radio.
This occurs even if the app is selected as the media player. (likely due to Musicolet not being directly supported)
Based on what I have read (portion below), @MVG-V70 's MTC Manager module will allow you to customize it to switch between the different modes in a MTCB.
1) The docs, refer to "When the MODE mutton is pressed". I assume this means ANY of the mod buttons on a MTCB ( examples: DVD/NAVI/BAND...) ?
2) The docs show how each mod is configured in the mode.ini file (See portion below) I want to use the Musicolet music player.
How do I determine all the intents info needed ?
The Package manager app I am using shows the following:
SERVICES
in.krosbits.musicolet.MusicService
ACTIVITIES
in.krosbits.musicolet.MusicActivity
How do i determine what intents are needed to send a stop/start to the Musicolet Media Player?
Is there a different app that will list them ?
Thanks for any help !
LRail
NOTE: the mode.ini docs below are not my actual settings
----------------------------------------------------------------
Portion of MTC Manager docs below
Code:
Programs are switched sequentially one after the other.
For correct sound switching, the applications used must be managed (play / pause) programmatically via intents.
If the player does not support the beginning and stopping of playback by external intents, then it is necessary to switch the sound manually.
When the MODE button is pressed, the active application is searched for in the running list. Next, the application is sent a command (configurable in mode.ini) to close or pause the audio stream.
After that, the default activation for the next application is launched and the application is sent a command to start playback (also configured in mode.ini)
#mode.ini
# list of applications to switch, package names must be listed
[apps]
# established radio
com.microntek.radio
# PowerAmp
com.maxmpz.audioplayer
# staff
com.microntek.music
# PCRadio
com.maxxt.pcradio
# staff DVD
com.microntek. dvd
Code:
# disabling playback in PowerAmp
[com.maxmpz.audioplayer: stop]
# service name
service = com.maxmpz.audioplayer.player.PlayerService
#
intent name intent = com.maxmpz.audioplayer .API_COMMAND
# action startService
send = service
# parameter name
extra = cmd
# parameter type
extra_type = int
# value
value = 2

Categories

Resources