Comments (32)
can you just send me the correct bat thingy so we could all live in peace
The main reason why rom1v asked you to do this is to actually pinpoint where the problem is.
There's no such thing as the perfect/correct bat file that can actually work with every single problem that is unique to each user.
If it closes immediately, then it can't start VLC for some reason.
Open a terminal (Win+r, cmd.exe), cd C:........\sndcpy, and execute sndcpy.bat (it will not close the terminal and show the error message).
This is called a "troubleshooting step", so we know what exactly your problem is and we can find the solution for that problem.
Every problem has a different solution, so if you would just let us know what this outputs, then we could help a little bit more to as what the problem is at hand.
from sndcpy.
It seems that your device ROM does not give the expected permissions to shell (probably modified by the vendor).
As a workaround, remove -g
here:
Line 15 in f0995ca
from sndcpy.
bruh, when i connect that snd thingy it outputs nothing.. it should give a sound on my pc right? or im wrong
Copy the text from the command prompt, it should show you something.
This is a visual step on how I can get the output log: https://v.ezz.moe/1124/17-20-53.mp4
What we want is what's gonna be shown here: https://img.ezz.moe/1124/17-28-17.png
You can copy the text from there or take a screenshot of it.
Open a terminal first (Windows Key + R, "cmd" in the Run window) to make sure the window doesn't close when it fails.
from sndcpy.
The filenames have extensions, it's just that Windows by default hides them.
Random link to unhide them: https://www.howtogeek.com/205086/beginner-how-to-make-windows-show-file-extensions/
from sndcpy.
hi
i get this message below
Waiting for device...
1763 KB/s (91689 bytes in 0.050s)
Success
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.rom1v.sndcpy/.MainActivity }
Press Enter once audio capture is authorized on the device to start playing...
when i press enter the cmd closes can you help me?
from sndcpy.
It's okay bro I changed the enviormental variable and its working fine now. Thank you for this bro. you made my life keep up the good work and thank you so much.
from sndcpy.
It seems that your device ROM does not give the expected permissions to shell (probably modified by the vendor).
As a workaround, remove
-g
here:Line 15 in f0995ca
should that be copied when you start the cmd or what
from sndcpy.
happening nothing
from sndcpy.
Did you press Enter in the console?
from sndcpy.
Did you press Enter in the console?
i did.. nothing happens.. console disappear
from sndcpy.
i did.. nothing happens.. console disappear
Do you have VLC installed at the correct location? #5
from sndcpy.
i did.. nothing happens.. console disappear
Do you have VLC installed at the correct location? #5
yes sir
from sndcpy.
If it closes immediately, then it can't start VLC for some reason.
Open a terminal (Win+r, cmd.exe
), cd C:\........\sndcpy
, and execute sndcpy.bat
(it will not close the terminal and show the error message).
from sndcpy.
If it closes immediately, then it can't start VLC for some reason.
Open a terminal (Win+r,
cmd.exe
),cd C:\........\sndcpy
, and executesndcpy.bat
(it will not close the terminal and show the error message).
do i need VLC in same folder as snd? or what.. you need to simple thing not to confuse me more mate
from sndcpy.
Please read #5.
from sndcpy.
Please read #5.
can you just send me the correct bat thingy so we could all live in peace
from sndcpy.
can you just send me the correct bat thingy so we could all live in peace
The main reason why rom1v asked you to do this is to actually pinpoint where the problem is.
There's no such thing as the perfect/correct bat file that can actually work with every single problem that is unique to each user.If it closes immediately, then it can't start VLC for some reason.
Open a terminal (Win+r, cmd.exe), cd C:........\sndcpy, and execute sndcpy.bat (it will not close the terminal and show the error message).This is called a "troubleshooting step", so we know what exactly your problem is and we can find the solution for that problem.
Every problem has a different solution, so if you would just let us know what this outputs, then we could help a little bit more to as what the problem is at hand.
bruh, when i connect that snd thingy it outputs nothing.. it should give a sound on my pc right? or im wrong
from sndcpy.
dude dude dude.. i made it.. works.. just have a minor delay..
from sndcpy.
just have a minor delay..
Edit the .bat
with this change (replace 50
by 0
): 39bd8c7
from sndcpy.
just have a minor delay..
Edit the
.bat
with this change (replace50
by0
): 39bd8c7
thanks a bunch friend.. you the best guys
from sndcpy.
It seems that your device ROM does not give the expected permissions to shell (probably modified by the vendor).
As a workaround, remove
-g
here:Line 15 in f0995ca
I had to remove it on line 18 as well. It worked for me.
Line 18 in f0995ca
from sndcpy.
It seems that your device ROM does not give the expected permissions to shell (probably modified by the vendor).
As a workaround, remove
-g
here:Line 15 in f0995ca
I have followed the steps but still, no change
from sndcpy.
It seems that your device ROM does not give the expected permissions to shell (probably modified by the vendor).
As a workaround, remove
-g
here:Line 15 in f0995ca
Where to find the file? i also have this problem
from sndcpy.
It's sndcpy.bat
in the release.
from sndcpy.
do i need to download the files? i only downloaded the sndcpy-with-adb
from sndcpy.
It's in the archive sndcpy-with-adb.zip
.
from sndcpy.
sorry, i don't understand.
i downloaded the file and it contains
adb
AdbWinApi.dll
AdbWinUsbApi.dll
sndcpy
sndcpy
sndcpy
for the first installation open the sndcpy file that is windows batch file right?
from sndcpy.
The filenames have extensions, it's just that Windows by default hides them.
Random link to unhide them: https://www.howtogeek.com/205086/beginner-how-to-make-windows-show-file-extensions/
ok i've installed them
now after i clicked and authorized from my phone i need to click enter, but after i did that there's no sound coming through..
The filenames have extensions, it's just that Windows by default hides them.
Random link to unhide them: https://www.howtogeek.com/205086/beginner-how-to-make-windows-show-file-extensions/
Thanks! got it working after following ur guide up top where the sndcpy.bat cannot find the vlc.exe just need to change the address and it works. again thank you
from sndcpy.
@rivldy #64 (and please don't post screenshot of text, just post the text as text in a code block with ```)
from sndcpy.
Having this same issue on Linux.
I tried removing -g
from sndcpy on line 15 and even tried commenting out line 18 like mentioned. It did not work. After digging a bit deeper there was something about enabling "install via USB" but this option is not available on OnePlus Nord 2. I am not sure what else I am missing.
Here's the error: https://pastebin.com/5i63hMrs
from sndcpy.
@AzharArzk Sure. here you go
set -e
ADB=${ADB:-adb}
VLC=${VLC:-vlc}
SNDCPY_APK=${SNDCPY_APK:-sndcpy.apk}
SNDCPY_PORT=${SNDCPY_PORT:-28200}
serial=
if [[ $# -ge 1 ]]
then
serial="-s $1"
echo "Waiting for device $1..."
else
echo 'Waiting for device...'
fi
"$ADB" $serial wait-for-device
"$ADB" $serial install -t -r "$SNDCPY_APK" ||
{
echo 'Uninstalling existing version first...'
"$ADB" $serial uninstall com.rom1v.sndcpy
"$ADB" $serial install -t "$SNDCPY_APK"
}
"$ADB" $serial shell appops set com.rom1v.sndcpy PROJECT_MEDIA allow
"$ADB" $serial forward tcp:$SNDCPY_PORT localabstract:sndcpy
"$ADB" $serial shell am start com.rom1v.sndcpy/.MainActivity
sleep 2
echo Playing audio...
"$VLC" -Idummy --demux rawaud --network-caching=0 --play-and-exit tcp://localhost:"$SNDCPY_PORT"
That about it. I only removed the -g so.. It still isn't working. Kind of frustrating tbh. I even tried removing the -Idummy but then it just existed
from sndcpy.
Hi a have problem,only audio,but i need see screen
from sndcpy.
Related Issues (20)
- is it possible to to passed microphone from the Host / Mac to Android ?
- 'C:\Program' is not recognized as an internal or external command
- Newbie Problems
- Phone tell
- audio forwarding is not working HOT 1
- miccpy? HOT 1
- How do i make a silent start for sndcpy?, (Not showing the console) HOT 1
- adb: failed to install sndcpy.apk: Security exception: You need the android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS permission to use the PackageManager.INSTALL_GRANT_RUNTIME_PERMISSIONS flag HOT 2
- Waiting for device... HOT 2
- SNDCPY, adb: failed to stat sndcpy.apk: No such file or directory HOT 2
- can i ask something HOT 1
- Audio not working for android 10 HOT 4
- sndcpy does not transfer audio played by poweramp
- Got this issue with sndcpy. Also the app doesn't show up after being installed.
- Issue with Sndcpy, HOT 3
- Audio delay using sndcpy HOT 3
- scrcpy kills audio on tv (Firetv Stick 4k and LG tv) HOT 1
- Sndcpy is installed on phone but says,"Waiting for connection "
- Android 14, Pixel 6, Sound drops on phone call HOT 3
- not versi for android 9? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sndcpy.