[DELETE_FAILED_INTERNAL_ERROR]

See original GitHub issue

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$

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:8

github_iconTop GitHub Comments

1reaction
ChillVibesMushroomcommented, Feb 23, 2022

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.

1reaction
fusionneurcommented, Oct 10, 2020

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

android - adb Failure [DELETE_FAILED_INTERNAL_ERROR]
I was having the same problem uninstalling with: adb shell pm uninstall <package>. This is what worked for me eventually:
Read more >
Pm uninstall - Failure [DELETE_FAILED_INTERNAL_ERROR]
Namely, I tried to uninstall some of the apps from Xiaoxin Pad Pro, but received "Failure [DELETE_FAILED_INTERNAL_ERROR]" instead of "Success".
Read more >
How to uninstall a system app using adb uninstall command ...
Android on the phone is 6.0 and the package is a system app. Without the extra option I get the error: Failure [DELETE_FAILED_INTERNAL_ERROR]....
Read more >
Different Ways to fix "DELETE_FAILED_INTERNAL_ERROR ...
Method 1: Uninstalling the APK which is present in your device or Emulator ; Method 2: Updating the version code and version name...
Read more >
DELETE_FAILED_INTERNAL_E...
Android : DELETE_FAILED_INTERNAL_ERROR Error while Installing APK [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found