Author Topic: Wifi android device synching  (Read 326483 times)

Madmaxneo

  • Jr. Member
  • **
  • Posts: 102
I have tried the various suggestions above to get wifi sync to work but nothing is working. BoringNames steps did not work and there seems to be no way to allow the MusicBee Wifi Sync app to gain all files access.

DeXel

  • Newbie
  • *
  • Posts: 1
I forked off from the main repo and made it compatible with Android 13 if you want to try it https://github.com/mayallst/MusicBeeWifiSync/compare/master...akarabak:MusicBeeWifiSync:development.  Tested on Pixel 7 and Xperia 1 III.

Madmaxneo

  • Jr. Member
  • **
  • Posts: 102
I forked off from the main repo and made it compatible with Android 13 if you want to try it https://github.com/mayallst/MusicBeeWifiSync/compare/master...akarabak:MusicBeeWifiSync:development.  Tested on Pixel 7 and Xperia 1 III.
Do I copy the full SHA or what and how do I load that onto my phone?

Kartoffelbrei

  • Newbie
  • *
  • Posts: 10
I forked off from the main repo and made it compatible with Android 13 if you want to try it https://github.com/mayallst/MusicBeeWifiSync/compare/master...akarabak:MusicBeeWifiSync:development.  Tested on Pixel 7 and Xperia 1 III.
Do I copy the full SHA or what and how do I load that onto my phone?

Its the source code for that app. You would have to build the apk yourself with android studio and gradle. I tried to build Dexels commit yesterday but i ended up battling android studio for a bit. Might try later. Id be interested if this runs on my s23 ultra.

Madmaxneo

  • Jr. Member
  • **
  • Posts: 102

Its the source code for that app. You would have to build the apk yourself with android studio and gradle. I tried to build Dexels commit yesterday but i ended up battling android studio for a bit. Might try later. Id be interested if this runs on my s23 ultra.
That seems a bit much for this. I may have dabbled in Javascript a little but I am no programmer, nor do I have the time to learn something like this.
I just hope there's an actual fix in the making that will work for us pleebs.....

ScummedYou

  • Newbie
  • *
  • Posts: 1
Please help. Trying to get wifi sync to work. Keep getting the following errors:

2023-04-14: SM-A536U1;  13;  2.0.0
23:34:54: createFile: Music/Playlists/5 Stars.m3u: java.lang.SecurityException: Document null is not a descendant of 7C76-3EB6:, folder=content://com.mixplorer.silver.doc/tree/7C76-3EB6%3A/document/null
23:34:54: receiveFile: java.lang.SecurityException: Document null is not a descendant of 7C76-3EB6:: file=Music/Playlists/5 Stars.m3u

I really dont want to go back to using itunes/isyncr  :'(

Kartoffelbrei

  • Newbie
  • *
  • Posts: 10
I forked off from the main repo and made it compatible with Android 13 if you want to try it https://github.com/mayallst/MusicBeeWifiSync/compare/master...akarabak:MusicBeeWifiSync:development.  Tested on Pixel 7 and Xperia 1 III.
Works beautifully on my Samsung Galaxy S23 Ultra. Thank you, well done.

KenDavies

  • Newbie
  • *
  • Posts: 6
Is there any way of getting a "compiled" version of this? Things like "Gradle" and "forked off from the main repo" are a bit of a mystery to me. Jusding by the number of pages in this thread and page views there's an awful lot of users would like to try it.

Madmaxneo

  • Jr. Member
  • **
  • Posts: 102
Is there any way of getting a "compiled" version of this? Things like "Gradle" and "forked off from the main repo" are a bit of a mystery to me. Jusding by the number of pages in this thread and page views there's an awful lot of users would like to try it.
100% agreed!

TReKiE

  • Newbie
  • *
  • Posts: 6
I only compiled this last night, so I've only tested this on my Android 13 Pixel 4a.  It worked perfectly.

Here is my compiled APK VirusTotal Scan

Instructions (on a Pixel 4a, Android 13 anyway):
  • Uninstall existing version of the app if installed
  • Download APK on the device
  • Open the APK, usually from the notification that the file is downloaded (might also need to give Install unknown apps permissions for your browser)
  • Select to Install from the Package Installer window
  • If you get "Unsafe app blocked" from Google Play Protect, choose More details, then choose Install Anyway
  • Once installed, choose Open
  • The "All files access permission" window should open, choose MusicBee Wifi Sync
  • Select the Allow access to manage all files toggle
  • Press the back button at the top corner
  • Press the back button at the corner again
  • You should now be in the app and can choose your server/PC

KenDavies

  • Newbie
  • *
  • Posts: 6
Brilliant! It's syncing my Pixel 7 Pro as we speak. Many thanks.

Madmaxneo

  • Jr. Member
  • **
  • Posts: 102
I only compiled this last night, so I've only tested this on my Android 13 Pixel 4a.  It worked perfectly.

Here is my compiled APK VirusTotal Scan

Instructions (on a Pixel 4a, Android 13 anyway):
  • Uninstall existing version of the app if installed
  • Download APK on the device
  • Open the APK, usually from the notification that the file is downloaded (might also need to give Install unknown apps permissions for your browser)
  • Select to Install from the Package Installer window
  • If you get "Unsafe app blocked" from Google Play Protect, choose More details, then choose Install Anyway
  • Once installed, choose Open
  • The "All files access permission" window should open, choose MusicBee Wifi Sync
  • Select the Allow access to manage all files toggle
  • Press the back button at the top corner
  • Press the back button at the corner again
  • You should now be in the app and can choose your server/PC
Note 10 +
That doesn't work for me. Using your method above the "All files access permission" window doesn't automatically open and I have to actually go into settings and open the "All Files Access" and MusicBee Wifi Sync is in there. I can click on it and give it access but when I try to sync I get the same error that the music folder is unusable and to choose a SD card root folder (when I am not using an SD card at all). I go back and can see that the MusicBee Wifi Sync app still has permission.
EDIT: I restarted the phone and it still does not work. When I try to sync it takes me to the folder selection and it says: "Can't use this folder. To protect your privacy choose another folder". I then click on "Use this folder" but it gives me that error message again.

Kartoffelbrei

  • Newbie
  • *
  • Posts: 10
Note 10 +
That doesn't work for me. Using your method above the "All files access permission" window doesn't automatically open and I have to actually go into settings and open the "All Files Access" and MusicBee Wifi Sync is in there. I can click on it and give it access but when I try to sync I get the same error that the music folder is unusable and to choose a SD card root folder (when I am not using an SD card at all). I go back and can see that the MusicBee Wifi Sync app still has permission.
EDIT: I restarted the phone and it still does not work. When I try to sync it takes me to the folder selection and it says: "Can't use this folder. To protect your privacy choose another folder". I then click on "Use this folder" but it gives me that error message again.
Afaik Musicbee Wifi sync doesnt even have an option to select folders. It should just run. Android must be doing this on its own accord. This sounds like Android wont let you use its native folders. Did you chose one of the pregenerated "music" folders or even the "android" folder?
Try and create a NEW folder, from windows explorer or the android explorer and set your Musicbee to copy the files to that. Call it Music2 or something. Worked on my s23.
Last Edit: April 19, 2023, 08:34:31 AM by Kartoffelbrei

NeutralP

  • Newbie
  • *
  • Posts: 1
I'm on Remi Note 11 Pro and sadly, none of the fixes above worked for me.
First I tried using MiX Explorer, it worked out until I had to choose SD card in which there's no option to choose from MiX Directories (I suspect it's problem with MIUI)
For the installing Android Studio and changing the source code, I've had better luck until I tried syncing and got this error log for each file that I tried to sync:
Quote
2023-04-20: 2201116TG;  12;  2.2
00:16:00: locate: search=192.168.137., exclude=192.168.137.71
00:16:00: ping: socket ok=/192.168.137.1
00:16:00: ping: hello=MusicBeeWifiSyncServer/1.0
00:16:00: ping: matched=/192.168.137.1,status=FAIL
00:16:39: locate: search=192.168.137., exclude=192.168.137.71
00:16:39: ping: socket ok=/192.168.137.1
00:16:39: ping: hello=MusicBeeWifiSyncServer/1.0
00:16:39: ping: matched=/192.168.137.1,status=OK
00:16:39: ping: socket ok=/192.168.137.1
00:16:39: ping: hello=MusicBeeWifiSyncServer/1.0
00:16:39: ping: matched=/192.168.137.1,status=OK
00:17:03: exists: content://com.android.externalstorage.documents/tree/0403-0201%3ASyncFolder/document/0403-0201%3AMusic: java.lang.SecurityException: Document 0403-0201:Music is not a descendant of 0403-0201:SyncFolder
00:17:03: createFolder: Music: java.lang.SecurityException: Document 0403-0201: is not a descendant of 0403-0201:SyncFolder
00:17:03: receiveFile: java.lang.SecurityException: Document 0403-0201: is not a descendant of 0403-0201:SyncFolder: file=Music/Unknown Album Artist/Unknown Album/# - 喫茶ステラと死神の蝶 OST BGM - 『残滓』-I6xdHy2YF-c.m4a
00:17:03: exists: content://com.android.externalstorage.documents/tree/0403-0201%3ASyncFolder/document/0403-0201%3AMusic: java.lang.SecurityException: Document 0403-0201:Music is not a descendant of 0403-0201:SyncFolder
00:17:03: createFolder: Music: java.lang.SecurityException: Document 0403-0201: is not a descendant of 0403-0201:SyncFolder
00:17:03: receiveFile: java.lang.SecurityException: Document 0403-0201: is not a descendant of 0403-0201:SyncFolder: file=Music/Carpenter Brut/TRILOGY/01 - Escape From Midwich Valley.flac
00:17:03: exists: content://com.android.externalstorage.documents/tree/0403-0201%3ASyncFolder/document/0403-0201%3AMusic: java.lang.SecurityException: Document 0403-0201:Music is not a descendant of 0403-0201:SyncFolder
00:17:03: createFolder: Music: java.lang.SecurityException: Document 0403-0201: is not a descendant of 0403-0201:SyncFolder
00:17:03: receiveFile: java.lang.SecurityException: Document 0403-0201: is not a descendant of 0403-0201:SyncFolder: file=Music/Carpenter Brut/TRILOGY/02 - Disco Zombi Italia.flac
00:17:03: exists: content://com.android.externalstorage.documents/tree/0403-0201%3ASyncFolder/document/0403-0201%3AMusic: java.lang.SecurityException: Document 0403-0201:Music is not a descendant of 0403-0201:SyncFolder
00:17:03: createFolder: Music: java.lang.SecurityException: Document 0403-0201: is not a descendant of 0403-0201:SyncFolder
00:17:03: receiveFile: java.lang.SecurityException: Document 0403-0201: is not a descendant of 0403-0201:SyncFolder: file=Music/Carpenter Brut/TRILOGY/05 - 347 Midnight Demons.flac
00:17:03: exists: content://com.android.externalstorage.documents/tree/0403-0201%3ASyncFolder/document/0403-0201%3AMusic: java.lang.SecurityException: Document 0403-0201:Music is not a descendant of 0403-0201:SyncFolder
00:17:03: createFolder: Music: java.lang.SecurityException: Document 0403-0201: is not a descendant of 0403-0201:SyncFolder
00:17:03: receiveFile: java.lang.SecurityException: Document 0403-0201: is not a descendant of 0403-0201:SyncFolder: file=Music/Carpenter Brut/TRILOGY/06 - Le Perv.flac
00:17:04: exists: content://com.android.externalstorage.documents/tree/0403-0201%3ASyncFolder/document/0403-0201%3AMusic: java.lang.SecurityException: Document 0403-0201:Music is not a descendant of 0403-0201:SyncFolder
00:17:04: createFolder: Music: java.lang.SecurityException: Document 0403-0201: is not a descendant of 0403-0201:SyncFolder
00:17:04: receiveFile: java.lang.SecurityException: Document 0403-0201: is not a descendant of 0403-0201:SyncFolder: file=Music/Carpenter Brut/TRILOGY/07 - Roller Mobster.flac
00:17:04: exists: content://com.android.externalstorage.documents/tree/0403-0201%3ASyncFolder/document/0403-0201%3AMusic: java.lang.SecurityException: Document 0403-0201:Music is not a descendant of 0403-0201:SyncFolder
00:17:04: createFolder: Music: java.lang.SecurityException: Document 0403-0201: is not a descendant of 0403-0201:SyncFolder
00:17:04: receiveFile: java.lang.SecurityException: Document 0403-0201: is not a descendant of 0403-0201:SyncFolder: file=Music/Carpenter Brut/TRILOGY/08 - Meet Matt Stryker.flac
00:17:04: exists: content://com.android.externalstorage.documents/tree/0403-0201%3ASyncFolder/document/0403-0201%3AMusic: java.lang.SecurityException: Document 0403-0201:Music is not a descendant of 0403-0201:SyncFolder
00:17:04: createFolder: Music: java.lang.SecurityException: Document 0403-0201: is not a descendant of 0403-0201:SyncFolder
00:17:04: receiveFile: java.lang.SecurityException: Document 0403-0201: is not a descendant of 0403-0201:SyncFolder: file=Music/Carpenter Brut/TRILOGY/09 - Obituary.flac
00:17:04: exists: content://com.android.externalstorage.documents/tree/0403-0201%3ASyncFolder/document/0403-0201%3AMusic: java.lang.SecurityException: Document 0403-0201:Music is not a descendant of 0403-0201:SyncFolder
https://i.imgur.com/MWv5iEF.jpeg
https://i.imgur.com/QA4j5nF.jpeg
Hope someone can help.

Kartoffelbrei

  • Newbie
  • *
  • Posts: 10
Hmm one problem im still having is that after some time i get:
java.net.SocketException:java.net.SocketTimeoutException:Read timed out
after around 6000 to 10000 songs. Tried to restart reboot reinstall nothing helped.
I only compiled this last night, so I've only tested this on my Android 13 Pixel 4a.  It worked perfectly.
How many did you sync? did you run into this?