yashsingh1/xdaforums huggingface dataset:
[Fire TV Themes and Apps] blaacksheep:
Wow! Great app @jocala . I just discovered it while reading the forums here looking for stuff to make my new Firestick 4k a little better! It makes it so much easier to modify Kodi to use external storage. Thank you for your work.
[Fire TV Themes and Apps] jocala:
You're welcome!
[Fire TV Themes and Apps] jocala:
adbLink 4.4 09/20/21

Logcat function fixed.

Delete Thumbnails function added. See Thumbnails note at

Note: 4.5 fixes a thumbnail-related backup bug

http://www.jocala.com/thumbnails.html or view topic Thumbnails in adbLink help.

Note: 4.5 fixes a thumbnail-related backup bug in 4.4.

ScrCpy launch button added

Scrcpy provides display and control of Android devices connected via USB

or TCP/IP. It does not require any root access. Scrcpy works on Windows

GNU/Linux, and macOS.

It focuses on:

Lightness (native, displays only the device screen)

Performance (30~60fps)

Quality (1920x1080 or above)

Low latency (35~70ms)

Low startup time (~1 second to display the first image)

ScrCpy for Windows is included. See http://www.jocala.com/scrcpy.html for details on ScrCpy for Mac & Linux.

For Android 11, Google has implemented scoped storage

which removes the ability for external applications to

write in /sdcard/Android/data/. This has the unfortunate

side-effect of preventing adbLink from accessing Kodi data at

/sdcard/Android/data/org.xbmc.kodi, meaning no backup/restore, no

edit of xml files, or any function requiring write access.

adbLink now has the ability to relocate Kodi's files to

/sdcard/kodi_data/ where they are accessible for

backup/restore, edit, etc.

This workaround is mainly for Android 11,

but it works with other Android versions as well.

See further detail at http://www.jocala.com/android11.html

or in adbLink's built-in help.

Root: mount r/w - r/o now affects / not /system
[Fire TV Themes and Apps] TX16095:
The new Delete Thumbnails function is a welcome addition and, obviously, easier than having to manually do so. Although the function itself worked perfectly, attempting to do a Kodi backup immediately thereafter resulted in the attached error:

As anticipated, opening Kodi and allowing the DB and thumbnails to repopulate cured the error and allowed for the backup to complete.

As always, thank you for your efforts with this oh-so-useful app!
[Fire TV Themes and Apps] jocala:
Thanks for the bug report! Fix out soon ...
[Fire TV Themes and Apps] jocala:
Note: 4.5 fixes a thumbnail-related backup bug.
[Fire TV Themes and Apps] TX16095:
An amazingly quick fix, and yet another reason as to why you are an utter rock star with this app.

An attempted back up after a clearance of thumbnails and the associated DB now produces a warning of:

and continues on, rather than a hard stop, which I believe to be perfectly acceptable.
[Fire TV Themes and Apps] jocala:
I wasn't able to reproduce this tonight. For me 4.5 backup completes with no thumbnail warning. I'll look again tomorrow.
[Fire TV Themes and Apps] TX16095:
I was/am able to reproduce it on both of my 2nd-gen Fire TV Cubes when running the backup function immediately after running the thumbnail delete function without closing adbLink beforehand. As mentioned, since the backup actually completes, I consider it to be more of a notification, rather than an error.
[Fire TV Themes and Apps] maro8906:
Any way I could help you compile a native version of adblink for m1 mac?
[Fire TV Themes and Apps] jocala:
Unfortunately, the toolsets aren't ready yet. Qt (my C++ framework) is planning a M1 rollout with their 6.2 release, then a backport to 5x. Mac adbLink is built using Qt 5.11. Google has Android Studio Canary partly working as native M1 but the platform-tools (adb and fastboot) are still x86, no idea when they'll be ported.
[Fire TV Themes and Apps] thezoggy:
@jocala small bug: the tooltip for "ScrCpy" needs to be updated
[Fire TV Themes and Apps] jocala:
Thanks for the feedback!
[Fire TV Themes and Apps] TX16095:
In a desire to prevent this thread from turning into a total bug-report thread, I have to mention that I just picked up a new stupid-cheap 3rd-gen Fire TV Stick, which Amazon is now offering to Prime members for around $20 (USD) or so, for use on a spare TV, and I must again offer major kudos to @jocala for authoring/facilitating the incredibly easy copy/migration/manipulations of the files from my Cubes to the new Stick, which literally saved hours of installation/reinstallation effort. This is one amazing app...
[Fire TV Themes and Apps] jocala:
Thanks! Always happy to fix bugs though...
[Fire TV Themes and Apps] TX16095:
As you have clearly and consistently demonstrated, which is one of the many reasons this app is as good and capable as it is!
[Fire TV Themes and Apps] swindiff:
Been using this great little tool for a while now with my T95Z android boxes and Amazon Firesticks, many thanks for developing it. Has anyone managed to connect it to a Samsung S21 Ultra. Been trying for a while and I just cannot get it to connect.
[Fire TV Themes and Apps] jocala:
I don't have that device to test, unfortunately. What happens when you try to connect? (check your log directly after a failure, it may have extra info).
[Fire TV Themes and Apps] swindiff:
This is the log of me connecting to my 2 T95Z android boxes and then the failed connection to my phone

adbLink 4.5

100721204401

IP: 169.254.145.85

IP: 169.254.86.198

IP: 192.168.1.234

IP: 169.254.80.62

Windows

------------

SELECT Id FROM device WHERE description="Android T95Z - Kitchen"

SELECT daddr FROM device WHERE description="Android T95Z - Kitchen"

server started

* daemon not running; starting now at tcp:5037

* daemon started successfully

starting server

SELECT Id FROM device WHERE description="Android T95Z - Kitchen"

SELECT daddr FROM device WHERE description="Android T95Z - Kitchen"

SELECT Id FROM device WHERE description="Android T95Z - Kitchen"

SELECT daddr FROM device WHERE description="Android T95Z - Kitchen"

Connected to 192.168.1.61:5555

process time duration: 1 seconds

SELECT Id FROM device WHERE description="Android T95Z - Kitchen"

SELECT daddr FROM device WHERE description="Android T95Z - Kitchen"

disconnect: 192.168.1.61

process time duration: 0 seconds

SELECT Id FROM device WHERE description="Android T95Z - Living Room"

SELECT daddr FROM device WHERE description="Android T95Z - Living Room"

SELECT Id FROM device WHERE description="Android T95Z - Living Room"

SELECT daddr FROM device WHERE description="Android T95Z - Living Room"

SELECT Id FROM device WHERE description="Android T95Z - Living Room"

SELECT daddr FROM device WHERE description="Android T95Z - Living Room"

Connected to 192.168.1.60:5555

process time duration: 0 seconds

SELECT Id FROM device WHERE description="Android T95Z - Living Room"

SELECT daddr FROM device WHERE description="Android T95Z - Living Room"

disconnect: 192.168.1.60

process time duration: 0 seconds

SELECT Id FROM device WHERE description="Craigs Phone"

SELECT daddr FROM device WHERE description="Craigs Phone"

SELECT Id FROM device WHERE description="Craigs Phone"

SELECT daddr FROM device WHERE description="Craigs Phone"

SELECT Id FROM device WHERE description="Craigs Phone"

SELECT daddr FROM device WHERE description="Craigs Phone"

Unable to connect to: 192.168.1.100:5555

process time duration: 5 seconds
[Fire TV Themes and Apps] jocala:
adbLink

First make sure developer options /ADB Debugging is checked. If so, try to connect and see if a authorization dialog pops up on your phone's screen.

Other tips at the link above. Connection issues are almost always authorization or IP address related.
[Fire TV Themes and Apps] swindiff:
It's enabled as far as I can tell. I have even managed to pair the laptop to the phone using command line adb pair. See screenshot below. When I try and connect using your software I don't get any authorisation pop up on the phone it just fails.
[Fire TV Themes and Apps] jocala:
Try from adbLink's console: adb connect 192.168.1.100:5555 and see what happens.
[Fire TV Themes and Apps] swindiff:
Tried that already. No joy unfortunately.
[Fire TV Themes and Apps] jocala:
Sometimes the command-line can reveal issues that aren't captured it the log. If adb doesn't work right off the bat it can take some digging. What's

How about via USB? Wifi adb connections aren't enabled by default on many devices.
[Fire TV Themes and Apps] TX16095:
Responding only with a desire to add an additional data point, I have two very old devices, an LG phone and a Fire HD8 Tablet, that have never been able to connect wirelessly via adbLink. The common denominator with each is a lack of the ability to enable ABD over WiFI on the device itself. That said, each of the ancient devices connects flawlessly via USB after enabling USB debugging and merely attaching a USB cable.
[Fire TV Themes and Apps] TX16095:
Should probably add that all of my other devices, which are mostly various models in the Fire TV environment, connect fine via Ethernet or wirelessly. Have I mentioned recently that I love this app?
[Fire TV Themes and Apps] jocala:
Yep. adbLink includes a function to temporarily create a wireless connection, but to have to connect via USB first to enable it, so it's useless for a stick. Works on tablets, phones, etc.

If your device is rooted you can add the line:

service.adb.tcp.port = 5555

to the end of /system/build.prop and that will enable it.

Edit: Luckily, Amazon has wireless adbd enabled for all the fire tv devices!
[Fire TV Themes and Apps] swindiff:
I get the same error via USB cable as I do wireless
[Fire TV Themes and Apps] swindiff:
Maybe getting closer. If I use the port that is specified by my phone for wireless debugging I get a successful connection message. However the GUI still acts as though it is not connected.
[Fire TV Themes and Apps] swindiff:
USB does at least show as a connected device, but nothing visible in file manager and I cannot do a restore of a Kodi backup. I get a load of permission denied errors in the log.
[Fire TV Themes and Apps] jocala:
From the adbLink 4.5 release notes:

This is the cause of your permission errors. Change the device record's Kodi OS from Android to Android 11.
[Fire TV Themes and Apps] jocala:
If you can get a USB connection now, try to enable wireless connections via the menu Utility/Wireless ADBD function. If it works, the wireless adbd will persist until you reboot your phone.
[Fire TV Themes and Apps] swindiff:
I am still getting denied
[Fire TV Themes and Apps] swindiff:
I can install an APK file and I can backup my Kodi install. I just can't restore a Kodi backup to the phone.
[Fire TV Themes and Apps] TX16095:
Indeed, it does! (y)
[Fire TV Themes and Apps] jocala:
Kodi's installed

Yeah, there's something going on with Android 11 and your device. I don't have an Android 11 device to test with anymore, unfortunately. To sum up:

1. Android 11 no longer allows external computers to access /sdcard/Android/data where Kodi's data lives. So, for adbLink to work, Kodi's data location must be changed.

2. A text file "/sdcard/xbmc_env.properties" with the contents "xbmc.data=/sdcard/kodi_data" tells Kodi its data resides at /sdcard/kodi_data/.

3. A Kodi OS type of "Android 11" in the adbLink device record points restores /sdcard/kodi_data.
[Fire TV Themes and Apps] swindiff:
Thanks for your help anyway. Works great on my other devices :)
[Fire TV Themes and Apps] jocala:
If you'd like to try, it's pretty simple to do a restore from the command-line.

1. Open a shell into your device using the ADB Shell button.

Paste to the $ prompt: "echo xbmc.data=/sdcard/kodi_data > /sdcard/xbmc_env.properties" (omit quotes)

Paste to the $ prompt: mkdir -p /sdcard/kodi_data/.kodi

Exit the shell

2. Open a DOS prompt using the adbLink console button.

Paste to the $ prompt:
adb push your_backup_folder/* /sdcard/kodi_data/.kodi/
[Fire TV Themes and Apps] swindiff:
Many thanks. I'll give it a try
[Fire TV Themes and Apps] jocala:
I'm releasing a beta for a new program specifically for Windows Subsystem for Android, wsaLink.

wsaLink provides a link between your Microsoft Subsystem for Android virtual machine and your computer.

This is a derivative of adbLink. I'm also preparing Windows Subsystem for Android support for adbLink which will be in an upcoming release.

Thanks for any feedback.

---

Features

Install Programs without Android SDK

ADB enabled console

Busybox

File Manager

ADB Shell

Install/Uninstall Apps

Connect to WSA via localhost or IP

Edit text files on your WSA virtual machine

Log file viewer for wsaLink logs

Hyperlinked HTML Help

https://xdaforums.com/t/wsalink.4355723/
[Fire TV Themes and Apps] jocala:
adbLink 4.6 11/02/21

StrCopy tooltip fixed

Cleanup code within File Manager subroutine

Support for Microsoft Subsystem for Android added

adbLink spun off into adbLink2, a version

without Kodi support.

sqlite3 binary added to bundle

Jocala Software
[Fire TV Themes and Apps] TX16095:
As always, your efforts with regard to this app are much appreciated.
[Fire TV Themes and Apps] BorgCymru:
trying to connect to my 4K FireStick ( All developers options are on ) I get 'Can't Connect to 'IP'' error. Ping works so it is the right IP . Using wireless. Tried Kill-Server , reply was

C:\adbLink>adb kill-server

The system cannot execute the specified program.

C:\adbLink>adb start-server

The system cannot execute the specified program.

log says this

adbLink 4.6

111321024936

IP: 192.168.1.186

IP: 169.254.132.230

Windows

------------

SELECT Id FROM device WHERE description="FIRESTICK 2"

SELECT daddr FROM device WHERE description="FIRESTICK 2"

start-server failed!

starting server

SELECT Id FROM device WHERE description="FIRESTICK 2"

SELECT daddr FROM device WHERE description="FIRESTICK 2"

SELECT Id FROM device WHERE description="FIRESTICK 2"

SELECT daddr FROM device WHERE description="FIRESTICK 2"

Unable to connect to: 192.168.1.184:5555

process time duration: 1 seconds

Any clues where to look ?
[Fire TV Themes and Apps] TX16095:
Check your abdLink settings for that particular device as your log indicates that you are trying to connect to 192.168.1.186, but the sever error indicates that you are attempting to connect to 192.168.1.184.
[Fire TV Themes and Apps] jocala:
Try running adb.exe w/o any parameters and see if you get the same "can't execute" message. If it runs and gives a wall of parameter settings, the exe isn't blocked. If you're unable to start an adb server instance check your UAC settings and see if that's the culprit. I'd also check the firewall and see if it's blocking outgoing connections.
[Fire TV Themes and Apps] BorgCymru:
well spotted, the settings are correct 192.168.1.184 but it IS showing the wrong IP Strange
[Fire TV Themes and Apps] BorgCymru:
PS C:\ADB> adb.exe

adb.exe : The term 'adb.exe' is not recognized as the name of a cmdlet, function, script file, or operable program.

Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

At line:1 char:1

+ adb.exe

+ ~~~~~~~

+ CategoryInfo : ObjectNotFound: (adb.exe:String) [], CommandNotFoundException

+ FullyQualifiedErrorId : CommandNotFoundException
[Fire TV Themes and Apps] BorgCymru:
IF I double click abd.exe Windows flashed something up about not having permission the deletes the exe file, but thats not the abd.exe in the abdlink folder, thats another abd folder in C . LOL if that makes sense. It's late. I'm off to bed :)
[Fire TV Themes and Apps] jocala:
"PS C:\ADB> adb.exe"

You're starting a powershell terminal. Run adbLink, then press the Console button. This will start a cmd terminal (a DOS prompt). From the adbLink Console, try typing adb.exe.
[Fire TV Themes and Apps] BorgCymru:
Mm the 186 IP, thats the computer I'm connecting from :)
[Fire TV Themes and Apps] BorgCymru:
Same sort of response

C:\adbLink>adb.exe

The system cannot execute the specified program.

C:\adbLink>
[Fire TV Themes and Apps] jocala:
The email from xda gave your response as:

The above response is what you would see if adb.exe wasn't available. I'm wondering if your install isn't hosed. Try a new download/install?
[Fire TV Themes and Apps] BorgCymru:
Post was edited

tried a few re installs, same response
[Fire TV Themes and Apps] jocala:
Sorry you're having problems. It's very odd that you can't even run an executable like adb.exe without an error. Unfortunately, I can't duplicate your issue and there haven't been any similar reports. If your installation is truly whole (I've attached a screenshot of the adblink directory after a clean install) the only thing I can think of off the top of my head is some security issue.

edit: the two .bat files may or may not be in your adblink directory. Not important.
[Fire TV Themes and Apps] BorgCymru:
This is the DIR
[Fire TV Themes and Apps] jocala:
How can SmartScreen help protect me in Microsoft Edge? - Microsoft Support

Learn how Microsoft Defender SmartScreen safeguards your security in Microsoft Edge against phishing and malware sites.

support.microsoft.com

See if smart screen is blocking downloaded programs.
[Fire TV Themes and Apps] BorgCymru:
I'm using Win11

Isn't that for browsing ?
[Fire TV Themes and Apps] jocala:
Yes, me too. Most of the Windows 10 stuff is under the hood and still applies. All of the security stuff, which is what I bet is causing your problems.

Edit: something to try: download adbLink with something other than Edge.
[Fire TV Themes and Apps] jocala:
adbLink 4.7

11/14/21

SQL database input bug fixed

Cleanup of alternate media center

code. (SPMC, etc)

Jocala Software
[Fire TV Themes and Apps] BorgCymru:
same problem :(
[Fire TV Themes and Apps] BorgCymru:
I used Chrome
[Fire TV Themes and Apps] BorgCymru:
Another message
[Fire TV Themes and Apps] BorgCymru:
PowerShell again Sorry
[Fire TV Themes and Apps] jocala:
The only thing I can suggest is to take a close look at your security. If I were having this level of difficulty, I'd turn off antivirus and UAC and see if that solved my issues. If it did, I'd try to adjust security to a reasonable level that allowed my software to run.
[Fire TV Themes and Apps] BorgCymru:
Tried all of that. Run As Admin, compatibility mode the lot :) Keep on with the you don't have rights to run this
[Fire TV Themes and Apps] BorgCymru:
Ohh hang on, Maybe a report incoming
[Fire TV Themes and Apps] BorgCymru:
OK it's picking up my phone so must be something to so with the Wifi I'll try a USB connection tomorrow

Seems an old instal of Panda Dome, which I thought I'd turned off, was causing a few problems as well. So it's more likely a network error.

Thanks
[Fire TV Themes and Apps] jocala:
12/03/21

adbLink 4.8

File manager sorting added

Jocala Software
[Fire TV Themes and Apps] TX16095:
Yet another update to this amazingly useful app by the rock star @jocala!
[Fire TV Themes and Apps] jocala:
My contact email has changed to adbjocala@gmail.com

in-program references will be changed in the next release.
[Fire TV Themes and Apps] jocala:
04/20/22

Version 4.9

Display scaling mode changed.

Routine for Android 11 Kodi

data area creation added

Keycode for remote keypad menu

button corrected

Support email changed from jocala@jocala.com

to adbjocala@gmail.com

Optional arguments can be passed to scrcpy

Download at:

Jocala Software
[Fire TV Themes and Apps] jocala:
Mac m1 users:

If you're interested in testing native m1 adbLink please visit http://www.jocala.com/beta.html to download
[Fire TV Themes and Apps] jocala:
NOTE: adbLink 4.9 has been pulled due to build issues. If you downloaded v4.9 please visit http://www.jocala.com and download adbLink v5.0. Thanks you and sorry for the bother!
[Fire TV Themes and Apps] TX16095:
As an extremely happy and very long-time user and financial contributor to your efforts, I have never questioned any build, but can you explain/expand upon the "build issues" to which you refer, especially with regard to the move from v4.x to v5.x? Thanks.
[Fire TV Themes and Apps] jocala:
Sure. The recent email address change invalidated my PayPal account token for donations. I just discovered this today, and additionally I neglected to update the embedded support link

in my source code. Rather than releasing an updated 4.9 I decided to drop v5.0. Mea Culpa, sorry for the bother!
[Fire TV Themes and Apps] TX16095:
You're still a rock star, and nothing at all related to my previous reply, but I do have a development request with regard to the "Move Kodi Data" function, which currently allows only for the movement of all-or-nothing Kodi data to external storage. The problem is that on slower/lower-end devices, moving all Kodi data to external storage may cause a significant slow-down when attempting to open Kodi after having moved the data. There is a method to move only the Thumbnails, which typically occupies most of the Kodi space, and which preserves the Kodi execution speed while still being able to access the graphics. I do this now manually, but it would be great if it were an option when moving Kodi data.

https://www.aftvnews.com/how-to-partially-or-entirely-move-kodi-data-to-external-usb-storage/
[Fire TV Themes and Apps] TX16095:
No bother at all, just always tend to furrow my brow a bit at full increments.
[Fire TV Themes and Apps] jocala:
M1 Beta: You may get an error message when opening these apps saying they are damaged and should be deleted. Fix this with the terminal command: "xattr -cr /path/to/adbLink.app". No idea why Mac is marking these apps as damaged. Investigating ...

Edit: Fixed. The installation file is now in pkg format.
[Fire TV Themes and Apps] TX16095:
Another development request if you don't mind. It would be nice to have the ability to set a default Kodi backup/restore directory, either globally or by device, so that directory would autopopulate whenever the Backup and Restore buttons are selected.
[Fire TV Themes and Apps] maro8906:
Just so you know, the statically linked version for m1 doesn't say the app is damaged, but instead it crashes upon launching, so perhaps best to stick with the other one
[Fire TV Themes and Apps] jocala:
Thanks for the feedback. I just setup a VM to test with and discovered the same thing.
[Fire TV Themes and Apps] jocala:
Beta 2 of adbLink for Apple Silicon is available at http://www.jocala.com
[Fire TV Themes and Apps] jocala:
Beta3 of Mac adbLink 5.0 is available at http://www.jocala.com.

This release is a universal binary that runs on either Intel or Apple Silicon, so any Mac user can run it. Beta feedback is gratefully appreciated.
[Fire TV Themes and Apps] jocala:
08/08/22

adbLink 5.1 release

Internal script directory made

uniform for all architectures.

Terminal selection expanded.

Preferences now allows you to

choose Windows Terminal or

Command Prompt for Windows,

Terminal or iTerm for macOS,

and Gnome Terminal, KDE Console

or XFCE4 Terminal for Linux.

Initial support for Intel ChromeOS.

Tested with ChromeOS Flex.

Jocala Software
[Fire TV Themes and Apps] P650SE:
Thank you for developing this very helpful program!

There is one thing I would like to suggest, I think that when selecting files/folders to push to the device using the ADB file manager, it would be a lot better if the selection dialogue instead used a full-sized Windows Explorer open interface, rather than the current simplified dialogue as pictured below?

The advantages of this idea would be, a resizable larger selection window with the ability to see file and folder thumbnails (especially helpful when transferring images via ADB) and also, much easier navigation via the navigation pane in Windows Explorer, eg. direct access to set directories via Quick Access shortcuts (instead of repeatedly clicking and scrolling through folders to navigate)
[Fire TV Themes and Apps] jocala:
Thanks for the feedback. I agree an explorer-style file manager would be very nice. Keeping in mind it would have to be portable across three architectures.
[Fire TV Themes and Apps] Peter03_de:
Hello,

I have downloaded the latest version of adblink2 v5.1, but I can't find any button to backup or restore the code.

In the version 4.3 of adblink this is still present.

Is there still the possibility? If yes, where?

Thanks in advance for any feedback.

Greetings

Peter