sndcpy
sndcpy copied to clipboard
[DELETE_FAILED_INTERNAL_ERROR]
i am new to this i don’t know how to run sndcpy in my macbook pro and my android device is oneplus6t, this is what i get when i drag the sndcpy into terminal and run it please help me
Last login: Mon Oct 5 20:43:06 on ttys000
The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh
.
For more details, please visit https://support.apple.com/kb/HT208050.
suryas-MacBook-Pro:~ suryaprakash$ /Users/suryaprakash/Desktop/sndcpy-v1.0/sndcpy
Waiting for device...
Performing Streamed Install
adb: failed to stat sndcpy.apk: No such file or directory
Uninstalling existing version first...
Failure [DELETE_FAILED_INTERNAL_ERROR]
suryas-MacBook-Pro:~ suryaprakash$
i think you need to cd into that folder first
if i do that i am getting waiting for device and nothing is happening Please help me
You must connect first to device with adb via usb or via wifi.
To connect via wifi follow these steps:
- enable developer settings and then debugging via usb on phone
- connect usb cable phone<>laptop
- allow fingerprint on phone
- open terminal on laptop
- run commands: cd <path_to_sndcpy> ./adb shell ip -f inet addr show wlan0 | grep inet | awk '{print $2}' | awk -F [/] '{print $1}' #this will give you the wlan ip of the phone ./adb tcpip 5555 #start adb on port 5555
- disconnect usb cable
- In terminal: ./adb connect <wlan_phone_ip>:5555 #connect via adb to phone (eg. adb connect 192.168.0.2:5555) !note: you can add adb to system path to be able to run it from anywhere ./sndcpy
- wait for apk install and start sndcpy on phone
- press enter in terminal to start forwarding sound
- test sound forwarding by opening youtube (or newpipe) on phone. you should hear the sound on your laptop and be able to control volume individually on the 2 devices
Note 1: there is a bug, at least on Windows where the sound continue being forwarded after closing terminal, because vlc process remains open. If you want to stop it, you can kill vlc process. @rom1v Is there any fix coming on related to this?
Note 2: if you still get 'waiting device' message, kill all adb processes, and start from the beginning
thank you so such for answering but nothing happened after step 7 it just stopped. can please tell how to do it via usb bcoz i should livestream my cod mobile gameplay on youtube so usb will be very helpful for me
What exactly happened on step 7? Can you give me the output of the 2 commands from step 7?
If you want to forward through usb cable, then you would simply connect usb cable and then type:
usb devices #should show your connected device after you allow device's fingerprint
.
You can then run ./sndcpy
after you cd into its folder
You must connect first to device with adb via usb or via wifi.
To connect via wifi follow these steps:
1. enable developer settings and then debugging via usb on phone 2. connect usb cable phone<>laptop 3. allow fingerprint on phone 4. open terminal on laptop 5. run commands: cd <path_to_sndcpy> ./adb shell ip -f inet addr show wlan0 | grep inet | awk '{print $2}' | awk -F [/] '{print $1}' #this will give you the wlan ip of the phone ./adb tcpip 5555 #start adb on port 5555 6. disconnect usb cable 7. In terminal: ./adb connect <wlan_phone_ip>:5555 #connect via adb to phone (eg. adb connect 192.168.0.2:5555) !note: you can add adb to system path to be able to run it from anywhere ./sndcpy 8. wait for apk install and start sndcpy on phone 9. press enter in terminal to start forwarding sound 10. test sound forwarding by opening youtube (or newpipe) on phone. you should hear the sound on your laptop and be able to control volume individually on the 2 devices
Note 1: there is a bug, at least on Windows where the sound continue being forwarded after closing terminal, because vlc process remains open. If you want to stop it, you can kill vlc process. @rom1v Is there any fix coming on related to this?
Note 2: if you still get 'waiting device' message, kill all adb processes, and start from the beginning
***The Bug is also on Kali 2022 OS. I try to uninstall the apk after sucessfully getting sndcpy to work and I get the fatal error message. I just ctrl + c to get out of sndcpy. This tool works, but my vlc is alwaays changing process ids so how do I delete the sndcpy apk?
scrcpy wont run either unless I uninstall sndcpy from the physical device. I know there is a work around if you guys don't have the answer yet I'll look into it and post the answer here for future users.
Try this it worked for me. Make a new text document and type in there
cd < Your path to the adb folder > adb tcpip 5555 adb connect < your phone IP:TCP > example 192.168.1.100:5555 sndcpy
After this save it as START.bat double click and it should run over wifi
Try this it worked for me. Make a new text document and type in there
cd < Your path to the adb folder > adb tcpip 5555 adb connect < your phone IP:TCP > example 192.168.1.100:5555 sndcpy
After this save it as START.bat double click and it should run over wifi
Thanks for the insight hackvice this works on debian
69