yashsingh1/xdaforums huggingface dataset:
[Fire TV Themes and Apps] jocala:
adbLink

adbLink2 does not have Kodi features. You want adbLink.
[Fire TV Themes and Apps] Peter03_de:
Hello jocala, thanks for the message.

I thought adblink2 is the successor of adblink.

I will try it once.

Could I also make a backup of the entire firetv and then transfer it 1:1 to a new stick?
[Fire TV Themes and Apps] jocala:
adbLink does backup/restore of Kodi data. It does not do a 1:1 copy of a device, or backup applications. Basically, to clone a Kodi device you backup the data of your first device then after installing Kodi on the new device you restore the backup made from the first.

You can see a video demo of backup/restore at the link below:

adbLink2 Video Help
[Fire TV Themes and Apps] Peter03_de:
Thanks for this Info.
[Fire TV Themes and Apps] jpetrone:
I can't get adbLink to connect to my firestick. If I launch the console from abdLink I'm able to manually initiate a connection the device and it connects fine. When I try to connect with adbLink it immediately fails, it fails so fast with the message it's hard to belive that adbLink is even attempting to make a connection. This is what the log looks like...

I've turned off firewalls, and I've tried different port numbers instead of 5555. I'm using windows 11. I find it strange that adbLink is seeing multiple IP interfaces, with APIPA. Obviously, my laptop is the .23 IP, IDK where it's getting all the APIPAs from, who knows that might be the issue. IDK. Does anyone have any ideas?
[Fire TV Themes and Apps] jocala:
My win11 box has 4 ipv4 addresses, my win10 box the same. I think it's vm related ...

"start-server failed!"

Do you see an "adb running" message? If the adb server doesn't start there's something significantly wrong with your install.
[Fire TV Themes and Apps] quippy:
I have the same problem: adb server does not start. (using Win10...)

"adb connect 192.168.1.***:5555" on CMD however does work!

"adb start-server" on CMD also does work

adbLink V4.7 worked - upgraded, even with complete deinstall, deleted all profiles - started with admin rights. Nothing worked.

Log:

adbLink 5.1
092922085232
IP: 192.168.1.1
IP: 192.168.230.1
IP: 192.168.149.1
Windows
------------
SELECT Id FROM device WHERE description="FireTV Cube Wohnzimmer"
SELECT daddr FROM device WHERE description="FireTV Cube Wohnzimmer"
start-server failed!

starting server

Downgraded to adbLink 4.7 again, and that works flawless...
[Fire TV Themes and Apps] jocala:
Thanks for the report. Unfortunately, I'm not able to duplicate this issue with 10 or 11. There are lots of things to try from the command-line to attempt a diagnosis, anyone willing to work through it, write me at jocala@jocala.com
[Fire TV Themes and Apps] quippy:
Just as an Info: the Linux version 5.1 works flawless. Tried it just on Tumbleweed... Weird...
[Fire TV Themes and Apps] jocala:
I'm guessing that adb.exe isn't being located for some reason.
[Fire TV Themes and Apps] jocala:
Removed
[Fire TV Themes and Apps] Carboniferocity:
After struggling with adbLink 5.1 on Wkindows 10 for a while, I finally realilzed that, unlike 5.0 which I had been using for some time, the new version cannot be run successfully from C:\Program Files. When I copied it to another location it words fine again, but now I have another weird issue...

In addition to being a Kodi enthusiast, I also develop mobile Android apps. I thought adbLink would be a great tool to navigate the files on an Android emulator, but the File Manager just can't see anything on the emulator. What is really odd about it is that I can see everything on the emulator with the ADB Shell, but the adbLink File Manager starts up with no files listed, and any attempt to change directories results in "Directory not found."

I realize my intended use is not what adbLink was built for, but any idea why the ADB Shell can navigate the directories on the emulator, but File Manager can't?
[Fire TV Themes and Apps] jocala:
I just installed 5.1 to both "\Program Files" and "\Program Files (x86)" -- no issues, installed and ran fine. Can you give more detail regarding this issue?

For the FM issue, edit the device record and check "Disable root". See. if that works ...
[Fire TV Themes and Apps] jocala:
5.2 release

adbLink, adbLink2 and wsaLink codebases

merged into version 5.2

Windows: Program location bug fixed.

Windows: adbLink/adbLink2 Scrcpy updated to v2.0

Jocala Software
[Fire TV Themes and Apps] shakazoid:
There is a problem with screencopy on 5.2. Uninstalled and reverted back to 5.1 and had no issues, Uninstalled 5.1 and reinstalled 5.2 and got the same error message. Am on windows 11. Thanks 4 your hardwork
[Fire TV Themes and Apps] blaacksheep:
I think the error is in the last two path entries. They use foreslashes instead of Windows standard backslashes. You could just manually edit the path statement to fix it.
[Fire TV Themes and Apps] jocala:
Scrcpy 2.0 is working fine here with Windows 11. Tested before I dropped the new release and just retested with a downloaded copy of adbLink 5.2.
[Fire TV Themes and Apps] TX16095:
And just as an added data point, no issues with Windows 10, either.
[Fire TV Themes and Apps] shakazoid:
THanks for the response and suggestion . will look into it.
[Fire TV Themes and Apps] shakazoid:
Thanks for the reponses fellas.
[Fire TV Themes and Apps] rainman74:
@jocala Unfortunately, with the current version the file manager window is no longer expandable. So you have to scroll all the time :-(
[Fire TV Themes and Apps] jocala:
I'm able to replicate this bug. Thanks for the feedback!
[Fire TV Themes and Apps] jocala:
adbLink 5.3 released. Fixes resizing bug in file manager.

Jocala Software
[Fire TV Themes and Apps] jocala:
04/22/23

5.4 release

File manager fixes

Dropdown menu regression for kodi fixed.

Jocala Software
[Fire TV Themes and Apps] TX16095:
Any ideas on this? It started popping up just today upon startup of v5.3 and persists after updating to v5.4 (ETA: adbLink does appear to be functioning properly after I clear the error by clicking the "Cancel" button):
[Fire TV Themes and Apps] jocala:
No idea, not happening here on any build. What are you doing when this occurs?
[Fire TV Themes and Apps] TX16095:
It occurs on startup of adbLink.
[Fire TV Themes and Apps] jocala:
Error replicated. Occurs when adblink checks for updates. I think it's something at jocala.com, checking now.

In the meantime, go to preferences and turn off check for updates at startup.

EDIT: Think it's fixed, thanks for letting me know!
[Fire TV Themes and Apps] TX16095:
Confirmed. Thanks for the quick fix.
[Fire TV Themes and Apps] Gary711:
Hi, with adbLink 5.4 I can't get to addons from the d>rop down menu like I could with v5.1 I can eventually get there through sdcard/Android & a few other steps. Is this normal or am I doing something wrong. Fire stick 4K W-10

Thank You
[Fire TV Themes and Apps] jocala:
Odd, it's working here. There are three choices for kodi in the dropdown, kodi, userdata and addons. Do all three choices fail for you?
[Fire TV Themes and Apps] Gary711:
Thank you for the reply. Here is the choices I have. Just local tmp works. Not sure what the ? is at the top right.
[Fire TV Themes and Apps] jocala:
I'm sorry, I can't replicate your issue. I just tested against a 4K max stick using windows,mac and linux and file manager accessed all selections via the dropdown menu and the go button. The ? can be ignored. It's a help icon built into my build toolset I forgot to suppress. I'm happy to investigate further, is there anything non-standard about your kit that may help? No change after a restart, etc,etc?
[Fire TV Themes and Apps] Gary711:
I have to then get to here, then here to see what would show in drop down menu. Maybe I will try to go back to 5.1 and update again?
[Fire TV Themes and Apps] jocala:
org.bmc.wiz

adbLink's not checking for non-official Kodi builds. Let me ponder a way to fix this.
[Fire TV Themes and Apps] jocala:
Gary, try this build and see if it works for you. Unzip and drop the exe on top of your currently installed adbLink.
[Fire TV Themes and Apps] Gary711:
Thank you you so much. Not sure what you mean about dropping in my abdlink. I’ll look at it tomorrow and see if I can figure out how to do it. Thank you
[Fire TV Themes and Apps] jocala:
1. Unzip the adbtest.zip.

2. The zip contains the file adblink.exe

3. Move this file to the directory where you installed adbLink. It will replace the adblink.exe you installed.
[Fire TV Themes and Apps] Gary711:
Ok, got it. Thanks for your patience with me.
[Fire TV Themes and Apps] Gary711:
Well, I dropped it in abdlik & it added favorites & amazon photos on sdcard menu, but did not change how to access addons. I have three FS's with the same build & each one shows favorites, but the others also show favorites & one plugin. (pay no attention first jpeg) Thank you.
[Fire TV Themes and Apps] jocala:
adbLink doesn't add folders. It just displays the folders it finds on your device. What you need to try is:

1. Connect to device and press file manager button

2. Click the dropdown button

3. Select kodi

4. Press the go button

Does the file manager switch to the kodi data folder?

If so, repeat the test for the userdata dropdown and the addons dropdown.
[Fire TV Themes and Apps] Gary711:
The only thing that works from the drop down menu is data/local/tmp. It shows data/local/tmp/abdlink. Here is a shot of my set up.
[Fire TV Themes and Apps] jocala:
Sorry the fix didn't work for you. The issue here is the package name setting org.bmc.wiz. The standard Kodi package name is org.xbmc.kodi. Why is yours not standard?
[Fire TV Themes and Apps] TX16095:
BMC is a Kodi fork/build.
[Fire TV Themes and Apps] jocala:
I thought BMC was an addon. Where did you download it, so I can further test your issue?
[Fire TV Themes and Apps] Gary711:
Using downloader> 75915>BMC Forks>BMC 18.9 32bit This is where I download it from. Thank you. Amazon FS 4k
[Fire TV Themes and Apps] jocala:
I've got your release of BMC installed to test.
[Fire TV Themes and Apps] Gary711:
Glad you got it, sometimes there are issues with downloader.
[Fire TV Themes and Apps] jocala:
As far as I can tell, file manager and the patched v5.4 work fine with BMC, org.bmc.wiz. You can see video at http://www.jocala.com/filem.mp4

The patch has been applied to 5.4 downloads, so you may want to download and reinstall, since dropping the patched exe didn't seem to work for you.

Good luck!
[Fire TV Themes and Apps] Gary711:
Thank you Jeff, going to do it now.
[Fire TV Themes and Apps] Gary711:
Working great now! Thank you for all the time you spent with me on this, most appreciated.
[Fire TV Themes and Apps] jocala:
Glad it's sorted out. Good luck!
[Fire TV Themes and Apps] yumyumfun:
@jocala, i have to say first off, i love adblink. But sadly for me i am having issues with the latest 5.4 version for both adblink & adblink2. scrcpy button doesn't work anymore, trying to get a logcat leaves me stuck on "- waiting for device -". Installing apps, taking screenshots works. On the same system, i copied the installed files from version 5.1 from my pc to my main PC (i can't find the older install files) and tried it out and it works flawless. I can't seem to get full functionality from version 5.4 from all my streaming devices. Fire stick 4k & 4k Max, Nvidia Shield, Tivo Stream 4k any ideas? I also tried uninstalling/reinstalling plus clearing out the files from /Users/[userid]/AppData/Roaming/.jocala/
[Fire TV Themes and Apps] jocala:
Let me see a screencap of your device record.
[Fire TV Themes and Apps] yumyumfun:
Where exactly would that be? Here is adblink2 connected to my tivo stream 4k, scrcpy doesn't work but i can access the file system
[Fire TV Themes and Apps] jocala:
Select your device with the dropdown (titled select device) then press the edit button.
[Fire TV Themes and Apps] yumyumfun:
Nothing happens when i click on the dropdown. I was only able to get to that screen by clicking on "New" or "Edit"
[Fire TV Themes and Apps] jocala:
So, you're using ad hoc for connections? I'm working on a bug in that function. I suggest you set up a device record and use that to connect, that may fix your issues. Watch the video titled "Records" at the link below for an overview.

adbLink2 Video Help
[Fire TV Themes and Apps] jocala:
If you're having issues using ad hoc connections I've posted a beta to test.

http://www.jocala.com/adbtest.zip

It's not a full install. The zip file contains only adblink.exe, just drop this into your install folder to replace the current 5.4.
[Fire TV Themes and Apps] yumyumfun:
I just tried this beta and it indeed fixes the issues i've been encountering. I just wanted to say the work around you mentioned by creating a device record also solves the problem for version 5.4. Just wanted to say thank you @jocala
[Fire TV Themes and Apps] jocala:
You're welcome. I hope to have a new build out this week.
[Fire TV Themes and Apps] TX16095:
As a follow-up to a somewhat-long-ago previous inquiry, would it be possible to add functionality to this oh-so-fine app such that the last-used directory is saved and then auto-populated for functions such as Backup, Restore, and Install APK? It currently defaults to the User directory, which then requires a major drill-down for each of the aforementioned functions. Thanks.
[Fire TV Themes and Apps] jocala:
That certainly fell through the cracks! It's not possible for the upcoming bug-fix build, but I've added it to my project notes for investigation.
[Fire TV Themes and Apps] TX16095:
Thanks, and, as always, appreciate the rock-star level responsiveness.
[Fire TV Themes and Apps] jocala:
05/26/23

adbLink 5.5 release

Bugfix for null directory values in file manager

Bugfix for port misallocation when connecting via ad hoc ip, and

possibly at other times as well.

Jocala Software
[Fire TV Themes and Apps] Gary711:
Regarding V 5.5 Thank You Jeff!
[Fire TV Themes and Apps] nrlatsha:
Did I miss something or is everyone else seeing problems connecting to Kodi installs on the latest FireOS and the latest Google TV OS?

I'm getting (adblink.log):

busybox install failed
adb: error: target '/data/local/tmp/adblink/busybox' is not a directory

I assume I'm missing something, but I just can't figure out what.

I can stream install via the console (adb install packagename), just not via the GUI.
[Fire TV Themes and Apps] jocala:
http://www.jocala.com/adblw55.exe

If you don't mind, try a reinstall using the link above (if you're not using Windows, let me know).
[Fire TV Themes and Apps] nrlatsha:
Uninstalled adblink 1 and adblink2 (I tried both versions over the last few weeks).

Installed the above package. Same problem, Busybox install failed:

busybox install failed

adb: error: target '/data/local/tmp/adblink/busybox' is not a directory
[Fire TV Themes and Apps] jocala:
OK, thanks. Please try downloading from http://www.jocala.com/adblink.html

1. You may have to clear your browser's cache.

2. Check your logfile. It should say version 5.5.a, otherwise your browser is serving you an old version it has cached.
[Fire TV Themes and Apps] nrlatsha:
Downloaded the file in a different browser completely. I also did a fresh reboot and made sure all the networks were correctly configured. All the initial ADB connections seem to work.

adbLink log file indicates 5.5.a

There are some new error messages thrown in the latest download:

SELECT daddr FROM device WHERE description="Beach AFS 2"

busybox install failed

adb: error: cannot stat 'E:/STUFF': No such file or directory

adb: error: cannot stat 'FOLDER/Downloads/Amazon': No such file or directory

adb: error: cannot stat 'Fire': No such file or directory

adb: error: cannot stat 'TV': No such file or directory

adb: error: cannot stat 'Files/adblink/adbfiles/busybox': No such file or directory

Based on those error messages, I did a fresh uninstall, then did a brand new install (another new browser to download). This time, I changed one thing: I left the default install on the C: drive, with a path without spaces.

Once I installed to the path on c:\adblink, all is well with every system on my network. I think there may be a problem with spaces in the path or something. I'm, just more surprised I'm the only one that hit this problem.
[Fire TV Themes and Apps] jocala:
Thanks for the feedback. I'll look into this new issue.
[Fire TV Themes and Apps] jocala:
No luck duplicating your issues as yet.

Here's a partial log:

adbLink 5.5.a

072423170042

IP: 192.168.1.51

IP: 172.19.208.1

Windows

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

"D:/test directory/adblink/adbfiles/adb" kill-server

server test

* daemon not running; starting now at tcp:5037

* daemon started successfully

"D:/test directory/adblink/adbfiles/adb" start-server

* daemon not running; starting now at tcp:5037

* daemon started successfully

"D:/test directory/adblink/adbfiles/adb" start-server

starting server

SELECT Id FROM device WHERE description="max"

SELECT daddr FROM device WHERE description="max"

SELECT Id FROM device WHERE description="max"

SELECT daddr FROM device WHERE description="max"

"D:/test directory/adblink/adbfiles/adb" connect 192.168.1.22:5555

connected to 192.168.1.22:5555

Connected to 192.168.1.22:5555

process time duration: 0 seconds

SELECT Id FROM device WHERE description="max"

SELECT daddr FROM device WHERE description="max"

Installing C:/Users/jeff/apks/firevol.apk

Performing Streamed Install

Success

process time duration: 2 seconds

SELECT Id FROM device WHERE description="max"

SELECT daddr FROM device WHERE description="max"

open uninstall dialog

package: "D:/test directory/adblink/adbfiles/adb" -s 192.168.1.22 -s 192.168.1.22:5555 shell pm list packages

com.asfmapps.firetv_volume is installed

uninstall: "D:/test directory/adblink/adbfiles/adb" -s 192.168.1.22 shell pm uninstall com.asfmapps.firetv_volume

process time duration: 12 seconds

SELECT Id FROM device WHERE description="max"

SELECT daddr FROM device WHERE description="max"

Delete Files

----------

/sdcard/firevol.apk:deletion succeeded

userpush started

"D:/test directory/adblink/adbfiles/adb" -s 192.168.1.22 push "C:/Users/jeff/apks/firevol.apk" "/sdcard/firevol.apk"

C:/Users/jeff/apks/firevol.apk: 1 file pushed, 0 skipped. 581.1 MB/s (2310319 bytes in 0.004s)
[Fire TV Themes and Apps] Gary711:
Hi, I use abdlink for backing up different builds in case I lose them or want to change some files from the backup, like favs xml in userdata, or add a repo. Everything has for the most part has/is working perfect & has saved me a lot of headaches by being able to backup my builds and doing a restore. One question, do I need busybox or anything else for just backing up my builds. I do not have the knowledge like most here to do do anything more than backup's & moving a few files around, which is fine with me. Thank You, Gary
[Fire TV Themes and Apps] jocala:
Busybox is included with adbLink. Some parts, like filemanager, wouldn't be able to function without it.
[Fire TV Themes and Apps] nrlatsha:
Here's the crazy part, it only stopped working for me on new entries (from the looks of my issue)

More testing below:

ADB Link Testing.

202307241819

Opened ADB Link (current install path c:\adblink)

Connected to "Beach Fire Stick 2"

Pressed "File management" Button

File management opened (indicating full functionality of ADBLink based on busybox install succsss)

Success (File management opened)

Closed file management

Exited ADBLink

Uninstalled ADBLink

Reinstalled ADBLink (E:\Storage Area\Downloads\Amazon Fire TV Files\adblink)

Tested connection to "Beach Fire Stick 2"

Pressed "File management" Button

File management opened (indicating full functionality of ADBLink based on busybox install succsss)

Success (File management opened)

Closed file management

Performed factory reset on a different Fire Stick 4K

Tested connection to "Beach Fire Stick 3" (Brand new factory reset fire stick - Added via ADBLink UI)

Pressed "File management" Button

ERROR

Closed ADBLink

Opened ADBLink

Tested connection to "Beach Fire Stick 3"

Pressed "File management" Button

ERROR

SELECT Id FROM device WHERE description="Beach Fire Stick 3"

SELECT daddr FROM device WHERE description="Beach Fire Stick 3"

busybox install failed

adb: error: cannot stat 'E:/Storage': No such file or directory

adb: error: cannot stat 'Area/Downloads/Amazon': No such file or directory

adb: error: cannot stat 'Fire': No such file or directory

adb: error: cannot stat 'TV': No such file or directory

adb: error: cannot stat 'Files/adblink/adbfiles/busybox': No such file or directory
[Fire TV Themes and Apps] jocala:
Let's see a screenshot of "Beach Fire Stick 3" device record.
[Fire TV Themes and Apps] jocala:
I was hoping for a clue from your device record. I cloned your device name and did an apk install/uninstall. No joy, no bug I could pin down. Something I missed here? The only odd thing I notice is your IP of 192.168.111.111 -- is that real?

adbLink 5.5.a

072523160243

IP: 192.168.1.51

IP: 172.24.0.1

Windows

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

"D:/test directory/adblink/adbfiles/adb" start-server

server started

"D:/test directory/adblink/adbfiles/adb" start-server

* daemon not running; starting now at tcp:5037

* daemon started successfully

SELECT Id FROM device WHERE description="Beach Fire Stick 3"

SELECT daddr FROM device WHERE description="Beach Fire Stick 3"

"D:/test directory/adblink/adbfiles/adb" connect 192.168.1.22:5555

connected to 192.168.1.22:5555

Connected to 192.168.1.22:5555

process time duration: 0 seconds

SELECT Id FROM device WHERE description="Beach Fire Stick 3"

SELECT daddr FROM device WHERE description="Beach Fire Stick 3"

Installing C:/Users/jeff/apks/firevol.apk

Performing Streamed Install

Success

SELECT Id FROM device WHERE description="Beach Fire Stick 3"

SELECT daddr FROM device WHERE description="Beach Fire Stick 3"

open uninstall dialog

package: "D:/test directory/adblink/adbfiles/adb" -s 192.168.1.22 -s 192.168.1.22:5555 shell pm list packages

com.asfmapps.firetv_volume is installed

uninstall: "D:/test directory/adblink/adbfiles/adb" -s 192.168.1.22 shell pm uninstall com.asfmapps.firetv_volume

process time duration: 13 seconds
[Fire TV Themes and Apps] Gary711:
Thank you, I thought maybe I had to activate it, but file manager is working fine.
[Fire TV Themes and Apps] Buccaneeers:
Hello Jocala, I have been a fan for years. Thank you for all you do! I really mean this.

I used adb to change the default homepage of my android box i.e the adb shell tab. Yesterday I update my adb to v5.5 and tried clicking on the adb shell tab to connect to my box and for some reason the dialogue box for me to enter the command did not come up. I then downloaded adb to another computer in my network to see if the issue were with my old computer and still got same issue. The computers I used run windows 10 & 11.

Is there something that am getting wrong with using the adb shell? TIA
[Fire TV Themes and Apps] jocala:
If I understand you, you're connected to an android device and adb shell isn't starting a terminal?

If that's the case, please connect to your device and press the adb shell button. If the console fails to open, open the log viewer and press the copy button. Paste that log into an email to jocala@jocala.com
[Fire TV Themes and Apps] jocala:
Don't bother with the log. Please redownload/reinstall adblink. I found a regression bug that prevented the console from opening. The new download version is 5.5b.