yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] DadAlwaysBuysShit:
Has it something to do with the CSC Code? I dont know what exactly i put the code for germany "DBT"
[General Questions and Answers] alecxs:
in case you (unintentionally) flashed wrong CSC Odin3 should prevent flashing. you can however try again with patched Odin or Heimdall.

you could also try middle man slow usb 2.0 hub (or usb 2.0 port on pc)
[General Questions and Answers] DadAlwaysBuysShit:
after couple of months i tried it again. The Display on the tablet writes: An error has occured while updating the device software.....

the patched Odin 3.14.1 says "BOOT" and

.....

<ID:0/003>recovery.img

stuck there for a good amount of time
[General Questions and Answers] alecxs:
I recommend to try heimdall and manually flash each partition on its own. you need the mapping for file name = partition label, this information can extracted from pit file.

https://xdaforums.com/t/pit-editor-viewer-from-samsung.2953072
[XPERIA X1 General] kloker93:
hi can anyone upload transcribing,block recognizer and letter recognizer .cab files? i prefer the swedish version, but it doesn't really matter..:)
[Fire TV General] Falcon_X:
Bascially this one is by xnappo but I had quite some problems to follow his guide here:

https://xdaforums.com/t/app-firetv-...er-without-root.4176349/page-66#post-87928085

I wrote it again to make it a bit easier for other people, who wants to try this. In combination with setting this up remotely with PC and "scrcpy".

--- Remotely control FireTV with your PC ---

1. Download the latest release of scrcpy from here: https://github.com/Genymobile/scrcpy/releases

2. make a shortcut of scrcpy.exe + right click on it > properties

3. insert in destination after scrcpy.exe: --tcpip=<your FireTV IP> -b 2M -m 1024 --max-fps=15 --legacy-paste

4. Open the scrcpy.exe shortcut

--- Install Apps ---

1. Install Tasker + Termux (sideload or via AptoideTV)

--- Install ADB + set Permissions ---

1. Open Termux and copy/paste the following:

apt-get update && apt-get upgrade -y

apt update > /dev/null 2>&1 && apt --assume-yes install wget > /dev/null 2>&1 && wget https://github.com/MasterDevX/Termux-ADB/raw/master/InstallTools.sh -q && bash InstallTools.sh

adb shell pm grant net.dinglisch.android.taskerm android.permission.READ_LOGS

adb shell pm grant net.dinglisch.android.taskerm android.permission.SYSTEM_ALERT_WINDOW

(last command might not be need, not sure)

--- Setting up Tasker ---

1. Go to Tasks make a new Task called "Wolf"

2. Add action > Code > ADB Wifi > Command

3. paste the following: am start -n "com.wolf.firelauncher/.screens.launcher.LauncherActivity"

4. go back and add another action > App > Kill App

5. select "KFTV Launcher" (Icon with avatar)

6. Go back to Profiles and add > Event > enter Log > click on Logcat Entry > Filter and paste:

amazon.intent.action.HOME_PRESSED

7. Select Task "Wolf" and save
[Fire TV General] xnappo:
That's great, thanks for taking my notes and improving. I have been using it for a while now and it has been working well. Hopefully they don't kill this one with another update!
[Fire TV General] dvrk__soul:
Work 7.6.1.4?
[Fire TV General] xnappo:
Yes. One thing to note is Tasker is a paid app, so you need to either install MicroG services, or get the non-Play Store version from Joa via his Patron.
[Fire TV General] ptstr:
Hello,

Great guide, it would be nice to specify what fire tv OS, and Tasker versions are being used.

Couple of notes/clarifications:

a.) Turn off soft keyboard in the termux settings

b.) To paste in scrpy, use shift + alt + v

*Strg refers to the Ctrl button for those coming from the Windows echo system/keyboard.

I'm having an issue when trying to run the permission command, I'm getting this error:

================================================

~ $ adb shell pm grant net.dinglisch.android.taskerm com.termux.permission.RUN_COMMAND

Security exception: Package net.dinglisch.android.taskerm has not requested permission com.termux.permission.RUN_COMMANDjava.lang.SecurityException: Package net.dinglisch.android.taskerm has not requested permission com.termux.permission.RUN_COMMAND at com.android.server.pm.permission.BasePermission.enforceDeclaredUsedAndRuntimeOrDevelopment(BasePermission.java:398) at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermission(PermissionManagerService.java:1495) at com.android.server.pm.permission.PermissionManagerService.access$1000(PermissionManagerService.java:96) at com.android.server.pm.permission.PermissionManagerService$PermissionManagerInternalImpl.grantRuntimePermission(PermissionManagerService.java:2210) at com.android.server.pm.PackageManagerService.grantRuntimePermission(PackageManagerService.java:5553) at com.android.server.pm.PackageManagerShellCommand.runGrantRevokePermission(PackageManagerShellCommand.java:1737) at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:224) at android.os.ShellCommand.exec(ShellCommand.java:103) at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21668) at android.os.Binder.shellCommand(Binder.java:634) at android.os.Binder.onTransact(Binder.java:532) at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2796) at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3975) at android.os.Binder.execTransact(Binder.java:731)

================================================

I'm using: Tasker v5.8.5 so not sure if that's why there is an issue. My Fire TV stick gen 3 (Fire OS 7.6.1.4 (PS7614/3227)). I hope Amazon didn't block it yet? What version of Tasker are you using? I checked the permissions for the app through the UI, it shows two things: "Location: Deny" and "Storage: Allow".

Do you have a third permission option called "Run commands in Termux environment."? Because based on what I'm reading here:

https://github.com/termux/termux-app/wiki/RUN_COMMAND-Intent

It says: "For Tasker you can grant it with: Android Settings -> Apps -> Tasker -> Permissions -> Additional permissions -> Run commands in Termux environment."

But I'm not seeing it, so I guess it's missing from my older version?
[Fire TV General] xnappo:
Can you please try running:

pkg install android-tools

In Termux first?
[Fire TV General] ptstr:
tried it, still getting the same error...
[Fire TV General] xnappo:
Hmm. @meeeeeeeeeeeeeeeeeeow @Falcon_X any ideas? I don't think versions should really matter here for Tasker and Termux, nothing here is a new feature. I am using Tasker directly from Jao's site though.

Tasker for Android

tasker.joaoapps.com
[Fire TV General] ptstr:
What version of Tasker are you using? I checked the permissions for the app through the UI, it shows two things: "Location: Deny" and "Storage: Allow".

Do you have a third permission option called "Run commands in Termux environment."? Because based on what I'm reading here:

https://github.com/termux/termux-app/wiki/RUN_COMMAND-Intent

It says: "For Tasker you can grant it with: Android Settings -> Apps -> Tasker -> Permissions -> Additional permissions -> Run commands in Termux environment."

But I'm not seeing it, so I guess it's missing from my older version? Does it show the third option in your GUI? To get there, go to Android settings -> Applications -> Tasker -> Permissions and tell me what do you see there...

Note: My Termux is version 0.118.0, my Tasker is version 5.8.5 and my Fire TV stick gen 3 (Fire OS 7.6.1.4 (PS7614/3227))
[Fire TV General] xnappo:
Actually you may be right. I think it used to be a plugin - maybe you do need a newer version. But don't trust the GUI in FireOS to show requested permissions.
[Fire TV General] xnappo:
To answer your question directly NO I do not see that permission on my FireTV. I DO see it on my phone with the same Tasker version.

Again - I am using the Google Play version from Jao's site (https://tasker.joaoapps.com/download.html) with microG installed to handled the license.
[Fire TV General] meeeeeeeeeeeeeeeeeeow:
Therefore we could use Easer (https://f-droid.org/packages/ryey.easer/). It's opensource and is capable to start Termux Commands (https://codesti.com/issue/renyuneyun/Easer/415)

@ptstr I'm on version 6.0.10 of tasker and 7.6.1.4 of FireOS. Did you start tasker before you run the command? Stupid question, are you connected to your Fire TV Stick via AdbLink or any other ADB shell?
[Fire TV General] xnappo:
Looks like Termux was added in 5.9.3:

Tasker for Android

tasker.joaoapps.com

Don't want to start the old open source argument (really I don't!! ) but... Jao is a really responsive developer and a 'nice guy'. It is a very cheap app. That said, installing microG is a hassle for sure.
[Fire TV General] ptstr:
Now we need a new guide for installing microG on firestick :ROFLMAO: or how to use Easer instead of Tasker or finding an apk for Tasker 5.9.3+ that’s going to “work” (only version 5.8.5 “worked” for me in the past so not sure about the upper versions...)
[Fire TV General] xnappo:
Yeah, it is a pain - I admit. I didn't actually notice my Tasker was a trial version at first and was paniced when my 7-days ran out and I had spent hours on this :D

Here is the guide I followed, but I did it in an uncontrolled way so I don't have any notes on gotchas.

Installation

Free implementation of Play Services. Contribute to microg/GmsCore development by creating an account on GitHub.

github.com
[Fire TV General] xnappo:
Here is what the microG settings 'Self Check' looks like for me:

View attachment 5818931

I installed 'Fake Store'.
[Fire TV General] ptstr:
How can I install the microg on my firetv will it interfere with existing apps and/or can it co-exist with the existing stock app store? do I need to uninstall the existing tasker app that I have?

Thanks!
[Fire TV General] xnappo:
It won't do anything to FireTV interface, currently installed apps etc. It will let you log in to your Google account, and things you purchased on Play Store (on another device!) will get access to the license.

You will have to uninstall your current version, and install the version from Jao's site.
[Fire TV General] ptstr:
Wait so I actually need to buy the app first on the regular play store app? I thought this method was to bypass that...
[Fire TV General] xnappo:
Nope - you have to buy it. You can also get it through Jao's Paetron, but it is more expensive than this way.

I mean.. It is the price of half of a beer. It is a SUPER useful utility that you will find more uses for probably.
[Fire TV General] ptstr:
@xnappo I just tried to use it from another place where I don't have access to the router to do dns block, so I used this method: https://xdaforums.com/t/block-updates-dns-way-no-root-needed.4397079

And it seems like it started the update download...

I have Fire TV Stick (3rd Gen) Fire OS 7.6.6.4 (PS7664/3772) unrooted and it shows under Setting FireTV About

Downloading Update... "Installing the update may require a reboot. If you leave this page, this update will be installed later when your Amazon Fire Tv Stick is not in use.

Downloading version Fire TV 7.6.6.9 (ps7669.4007N/4007)." And the progress bar appears to be like 85% full and stuck.

When I saw it, I took out the plug out, but when I plug it back in and disconnect from the wifi, I still see the screen, and I can tell that the size of the storage is much less, probably because of the downloaded updates files, so is there a way for me to undo the download/remove the update file, etc?

Thanks.
[Fire TV General] pitsensas:
Did you try to use Tasker by calling directly your own launcher (instead of Termux command) ?

Delay is 3-4s to see the screen !

[APP][FIRETV][NOROOT] Launcher Manager (Change Launcher without Root)

LAUNCHER MANAGER (FOS 6+) BLOCKED BY AMAZON, USE LAUNCHER MANAGER (MINI) STEPS TO ENABLE CUSTOM LAUNCHER: Before installing version 1.1.8 uninstall any previous version. 1. Download Launcher Manager by clicking or by using short link and...

xdaforums.com
[Fire TV General] ptstr:
@xnappo Any suggestions?

I don't have a usb cable... Also I'm not sure how to connect it to the firetv stick since it only connects with the HDMI port in the tv, it doesn't seem to have a USB port?

I do have the remote adb shell app installed which can connect to 127.0.0.1:5555 so I can run some adb commands within the firetv itself.

The question is what command should I run?

This article:

https://www.techdoctoruk.com/block-updates-on-amazon-devices-new-method/

Mentions:

Command to clear something downloaded –

pm clear com.amazon.device.software.ota

So maybe I should try to run it and see if it removes the pending download that is stuck?

Just ran it, it says: Success.

It doesn't show the pending download anymore.

But the storage space is still appear to be reduced, so I guess I need to somehow clear the cached downloaded files using the TDUK cache cleaner tool as per the article?

Update: I installed both TDUK UPDATE WIPER which running it already cleared lots of space that was caused by the downloaded OTA files. I also installed TDUK Cache Cleaner and was able to clean with some junk files and it pointed me to some big unused files that I could delete as well which I used adb and went to kodi packages folder that has many unused zip files and removed them all with the command (this is how you remove in adb): rm *.zip

Now I'm a good shape with 1.2GB free space and OTA updates are blocked with the wifi dns method so all good. Thanks.
[Fire TV General] ptstr:
@xnappo This experience led me to think about this new idea - Why can't you have a tasker trigger that's scheduled to run every 2 minutes and executes a task with adb wifi action of this command:

pm clear com.amazon.device.software.ota

Wouldn't this prevent an OTA from ever happening?

Could small updates might get installed during this 2 minutes interval? Because I don’t know if you can make something scheduled that runs less that every 2 minutes in tasker...

In that case, maybe some other app or tool that could just run it on a loop and does it instantly every second?

Actually on TDUK, he talks about it here:

Block Updates On Amazon Devices (New Method) | TechDoctorUK

www.techdoctoruk.com

There is a tool called TDUK Update Blocker

There is a video he explains more about it:

Do you think this method could be reliable?
[Fire TV General] SweenWolf:
Please go throught this.

Fire TV Stick 4K Firmware and apps. Official Cloud Front direct links

Fire TV Stick 4K Stock Firmware files, cloudfront.net download links. Firmware (Once downloaded you need to change file name from .bin to .zip) https://gist.github.com/JulyIghor/d3d3dd460527a1d2b5b67954160d4abf

xdaforums.com
[Fire TV General] ptstr:
So you are saying it’s a protected package and running this command during OTA download won’t actually help to stop it?
[Fire TV General] meeeeeeeeeeeeeeeeeeow:
I think AuroraStore should work too (I'm not sure if google maybe blacklists your account if you use this). But you still have to buy it. Or you find a way to use Easer :)

@xnappo I'm not for or against opensource, I was just naming an alternative.
[Fire TV General] xnappo:
No worries - I just know it can be a sensitive subject on XDA :D
[Fire TV General] ptstr:
I just tried Tasker 5.9.3 beta, I'm still getting the same error on the permission command... So maybe it's not a Tasker version issue after all? @meeeeeeeeeeeeeeeeeeow @Falcon_X any ideas?
[Fire TV General] meeeeeeeeeeeeeeeeeeow:
So we told you that on our versions it is working flawlessly and you install a different version? Sorry I don't get it. Install microG and a more current version and use the trial. When this is working, BUY THE APP! When it is not you have to find a different solution. Sorry but this is stupid. It's $3.49!

https://www.reddit.com/r/tasker/comments/btxz6c
[Fire TV General] ptstr:
Ok I was able to get it to "work" with Tasker.5.10.1. No need for microG or anything, keep it simple :cool:
[Fire TV General] ptstr:
I was able to expand on it and add some more cool stuff:

There are existing ways to remap remote app buttons following this guide:

https://www.aftvnews.com/how-to-remap-the-app-buttons-on-fire-tv-edition-remotes-with-remapper

But the guide mentions that:

"Important limitations: Buttons for preinstalled apps, like Prime Video, IMDb TV, and Amazon Music, cannot be remapped. This is because there is no way to uninstall preinstalled apps and you cannot remap a button if the button’s app is installed.".

I'm providing an alternative to that:

To re-purpose Amazon Prime remote button with another app I used:

catlog entry filter: KEYCODE_APP_2

for my script I used:

adb shell am force-stop com.amazon.firebat

adb shell am start -n "your app package name"

Only using it once in the Tasks (no repeats needed).

To re-purpose Tv Guide remote button with another app I used:

catlog entry filter: Binding to Prism Service from: com.amazon.tv.livetv

for my script I used:

adb shell am start -n "your app package name"

Only using it once in the Tasks (no repeats needed).

Let me know if you have any additional suggestions or improvements or ideas. Thanks!
[Fire TV General] meeeeeeeeeeeeeeeeeeow:
Ok that's good to know if someone would only use microG for Tasker. Maybe you could write that in the main thread too. Is this Version not limited? Do you need no license for that?
[Fire TV General] xnappo:
@ptstr - as far as I know there are no 'free' versions of Tasker, only a 7-day trial. If by simple you mean obtaining a shady APK, it is bad form on XDA to suggest that as a solution - basically if you insist on not paying the $3.49 I would keep it to yourself. microG is really not hard to install compared to the rest of this.

That said thanks for the additional button idea. Here is another related thing. Some FireTV remotes have a 'recent apps' button. This brings up something like the normal Android multi-tasking switch menu. It is quite nice, but not present on all remotes. I have used a method similar to add this function. Here is the adb call to bring up the 'recents' menu:

adb shell am start -a "com.amazon.tv.action.NAVIGATE_TO_RECENTS" -n "com.amazon.tv.launcher/.deeplink.activity.RecentDeepLinkActivityDI"
[Fire TV General] ptstr:
Maybe it’s the trial version but I didn’t realize that. How do I check that? Do I just wait 7 days?

That’s interesting I didn’t know that existed, because I’m using something called

Background Apps and Process List

Wonder if the native one is more intuitive and easy to use, will have to try that to compare...
[Fire TV General] meeeeeeeeeeeeeeeeeeow:
I can't find the menu item, but I'm quite sure it will inform you when it's over -> if not then this is not a legit version. Saying that, maybe on old versions you need to have gms installed to check whether the trial is over or not. "Purchase" date could be tracked within google play store so this could be a never ending trial. I don't know
[Fire TV General] xnappo:
Well there are a TON of 'cracked' Tasker APKs out there if you didn't get it straight from Joao's website. But yeah, it could be a trial. I actually don't know how to tell. I actually didn't realize myself that I needed microG until it expired (I had the APK from sideloading on my Shield and actually forgot it was paid).
[Fire TV General] meeeeeeeeeeeeeeeeeeow:
You can also buy it on your phone (that's what I did), and download the apk from apkmirror https://www.apkmirror.com/apk/joaom...sker-app-factory-6-0-10-android-apk-download/
[Fire TV General] xnappo:
Yep - it isn't worded very well on the Tasker site, but the 7-day trial version there does work if you buy it on your phone and have microG installed. That one is not the non-Play version you can get from his Paetron, which is another option.
[Fire TV General] xnappo:
FYI, from my original write up, I was running Kodi twice. What I had noticed is that *sometimes* it would not switch to Kodi. I *think* this happens when the Amazon Launcher is loading a new ad promotion.

I have gotten a little more sophisticated with how I handle this, and thought I would share. Rather than running twice, I now check to see if Kodi is the foreground app after 300ms, and if it isn't run the command again.

This is done in the task with:

- Wait 300ms
- Get Screen Info (Assistant) *
- Run Kodi again if %ai_app_name NEQ Kodinerds

* Requires a new permission:

adb shell pm grant net.dinglisch.android.taskerm android.permission.WRITE_SECURE_SETTINGS

FYI - Get Screen Info (Assistant) was added in Tasker 6.0.3 :D
[Fire TV General] xnappo:
And yet another method. I have found this to be quite stable and maybe a bit more consistent speed-wise. Also slightly easier to set up.

Instead of doing a Profile based on Logcat, I use:

Profile->Event->App Changed

Then in the task, I check to see if:

%app_name EQ KFTV Launcher

And if so, then run the Termux launch script.
[Fire TV General] ptstr:
Hi @xnappo , I agree I also find the Logcat method unreliable where it wouldn't change to it or sometimes it triggers it incorrectly...

With that being said, could you please clarify the new method configuration:

When I choose the App Changed event I get this screen:

==========================================================

Output Variables

%app_icon

Icon

Icon for the app

%app_name

Name

Name for the App

%app_package

Package

Unique package name for the app

Package => button and magnifying glass button

Optional text entry __________

==========================================================

So do I need to click on the buttons to select anything or type anything in the optional text input or do I just press on the back arrow?

And then what are you doing to configure the task - new task and what exactly do you add to it, what action category do you choose/etc? Some screenshots could help too...

Thank you!
[Fire TV General] xnappo:
Yeah, the LogCat entry trigger is working 100% of the time, I tested that, but sometimes it seems the home screen still wins some timing race. My previous work-around (using Get Screen Info (Assistant)) also works 100% of the time, but is was a bit hacky so I tried this way. This way seems just a tad slower when the script wins the race, and a tad faster than the case where a second run is needed.

Yes - you just hit back and make a new task, it is just telling you the variables that will be available to you in your task.

You simply need to make the task action look something like this:

View attachment 5821971

This will only execute the 'Function' if the 'If' condition is met.

Now.. There is a slight wrinkle if you are also using the 'Recents' menu - because that recents menu is a sub-task of KFTV Launcher too. The 'App Changed' trigger doesn't get that amount of detail, so to fix that we need to add a 'Get Screen Info (Assistant)' action to the task to get the variable %ai_app_class:

View attachment 5821975

And then add another 'and if' to the launch action that only does the launcher IF we are not in our 'recents' menu. Note that '!~R' is a 'does not match regular expression'. This particular regular expression explained:

^ = start of line

. = any character

* = match any number of previous check (., any character)

ChatGPT is very good at making regular expressions if you are unfamiliar.

View attachment 5821979

BTW - @Falcon_X - I had heard of scrcpy before and always thought it would be a pain to set up - it is SO easy! Life changing - thanks for pushing me to try it lol.
[Fire TV General] meeeeeeeeeeeeeeeeeeow:
It turns out you could just add a Profile for any application. So whenever this application gets started the task will start.

Profile -> Application -> Select the Fire TV Launcher (the orange avatar), press back and then select your task

@xnappo why are you running Kodi in background? (true in the termux command)

btw when you have scrcpy installed you can use it with adblink so you don't even need to use the terminal to start it and you can transfer files and install apks ;)
[Fire TV General] xnappo:
Yep, you are right, slightly easier! Note that the workaround for the 'recents' menu is still applicable if using that.