yashsingh1/xdaforums huggingface dataset:
[Fire TV General] nahsha:
Hi all,

My firetv stick 2 is on 5241..the first time i ran the command to disable the unneeded apps, the stick went into a bootloop.. I was able to factory reset via adb..

After restoring I just disabled OTA for now.. which other useless apps should I disable? Also, whats the recommended launcher? appreciated!
[Fire TV General] yungskeeme01:
Does this work on 5.2.6.3?
[Fire TV General] Bropinski:
Unfortunately, there is no currently known method to remove/disable bloatware on devices that are running firmware 5.2.6.1 or higher.
[Fire TV General] akhil17kr:
(General question to choose between firestick and chromecast 2)

My main need is to be able to

1) stream/cast music and movies from both Android smartphone and Windows 10/Linux(Ubuntu) to the firestick or chromecast

WITHOUT NEED OF ACTIVE INTERNET CONNECTION PREFERABLY

. I have my music collection mainly in my android smartphone. i want to cast directly from music player/YouTube/soundcloud or any other music app directly to firestick or chromecast and same for videos too with proper audio sync and no lag.

2) Able to screen mirror the smartphone/Windows 10/Linux(Ubuntu) to the firestick or chromecast without lags or frame rate drop or out of sync video.

3) To be able to connect Bluetooth headphones so i can listen to audio wirelessly through headphones and video on TV, where content is being played by firestick or chromecast through desktop or android smartphone.

4) Can connect external USB devices such as wirelss mouse,usb drive (can be accomplished on firestick with usb host otg as saw on a youtube video for ver.2 of firestick)

5) Able to use JioTV/JioCinema/HotStar by out of the box or by some mod or something.

i am confused between two.

Currently the amazon firestick is available on amazon for just 2900 with offers and Chromecast for just rs.1800 from flipkart with offers.

so about Rs.1000 price difference roughly.

What should i choose ?

Please reply ASAP as the sale ends on 16th may and so will be the cheap offers.
[Fire TV General] rainman74:
Your question has nothing to do with the topic here! :rolleyes:
[Fire TV General] akhil17kr:
"(General question to choose between firestick and chromecast 2)"

there is a reason to mention this as heading title if you didn't understand it ?
[Fire TV General] R0ttenB4ndit:
Wrong thread friend. The topic here is "[GUIDE][NO ROOT] Disable Bloatware on 2nd Gen Fire TV Stick"
[Fire TV General] ranjeet choudhary:
try this for 5.2.6.1 or higher https://xdaforums.com/fire-tv/general/fire-os-5-2-6-3-bin-extract-fire-stick-t3780621
[Fire TV General] yungskeeme01:
Thanks. Really new to this. How do I use it? I usually use ADBLink on my Mac to install apks
[Fire TV General] ranjeet choudhary:
u can use the same
[Fire TV General] TV33:
i really do not see any posting that mention, that the "exploit" will work to gain privilieges to install system apps.

so asking again, anyone with 5.2.6.3 and later able to hide or disabnle apps?
[Fire TV General] rainman74:
unfortunately, no :eek:
[Fire TV General] juanse254:
Omg dude use your brain you can replace the default launcher with a custom launcher using the exploit jesus christ.
[Fire TV General] freshjr:
Not really, since we can't pack our own resources into it IIRC, but it should be able to be turned into a "launcher hijack" to launch a 3rd party launcher.
[Fire TV General] djnoname22:
I ran all the code in the first post on my FireTV2-4k gen-1 running 5.2.1; there is a noticeable improvement on Kodi. After uninstalling all the stuff in the first post, I can no longer access the bluetooth & network settings and thus cannot connect via wifi. I can connect to it via ADB as the ethernet still works, I've tried installing confireator, which opens but when I select "Network" or "Bluethooth/Controllers" the app closes back to my main launcher screen.

Can anyone suggest how I can fix this so I can have access to bluetooth controllers and the network settings?
[Fire TV General] rainman74:
Have you tried this?

https://github.com/rockon999/TvSettingsOnFire/releases

If you can't, you won't get around a factory reset. In the first post some important packages are uninstalled (by mistake?), but you still need them.
[Fire TV General] djnoname22:
I tried installing that one as well. It installs but refuses to run, just makes a click noise when I select it.

I think that one of the packages in the first post is required for 5.2.1 as everything was working before I did the uninstalls and I like the performance gains, so I'm hesitant to factory reset. Is there anyway I can determine which package is needed and if so where might I be able to download it from?
[Fire TV General] rainman74:
Do you have root? If not, you will not be able to install any uninstalled system apps.
[Fire TV General] djnoname22:
I did before I updated to 5.2.1, so in theory hopefully I can again. What would the steps be if I do have root to reinstall?

Also, if I had to guess what package was required that I removed it would be "com.amazon.tv.launcher".
[Fire TV General] rainman74:
Repeat this for every uninstalled app - you must first extract every app from a firmware file or from another device.

Step 1:

adb shell su -c mount -o remount,rw /system
adb shell su -c rm -r /system/priv-app/<name-of-app>
adb shell su -c mount -o remount,ro /system
reboot

Step 2:

adb shell su -c mount -o remount,rw /system
adb push C:\<name-of-app>.apk /sdcard/
adb shell su -c mkdir /system/priv-app/<name-of-app>
adb shell su -c chmod 755 /system/priv-app/<name-of-app>
adb shell su -c rm /system/priv-app/<name-of-app>/<name-of-app>.apk
adb shell su -c cp /sdcard/<name-of-app>.apk /system/priv-app/<name-of-app>/<name-of-app>.apk
adb shell su -c chmod 644 /system/priv-app/<name-of-app>/<name-of-app>.apk
adb shell su -c chown root:root /system/priv-app/<name-of-app>/<name-of-app>.apk
adb shell su -c rm /sdcard/<name-of-app>.apk
adb shell su -c mount -o remount,ro /system
reboot

No, these:

com.amazon.dcp

com.amazon.devicecontrol

com.amazon.shpm

com.amazon.webview

com.android.captiveportallogin

com.android.managedprovisioning

However, it would be much easier to restore the factory settings. Then all uninstalled apps are automatically back. You only have to block the updates during the first login (there are also guides here) ;)
[Fire TV General] djnoname22:
rainman74, thanks I really appreciate the help!

You're right a a factory reset is the way to go at this point, as it isn't a quick file copy as I had hoped since the device isn't rooted currently.

Update edit: So I tried the files rainman listed, same issue as before of not being able to access the network settings. Reset again and followed the OP but did not remove the launcher this time; behold as I suspected that was what needed to remain, and now everything is working!
[Fire TV General] rainman74:
cool, can you post here which packages you have removed so that it still works?
[Fire TV General] JUSTINMARMER:
What is the maximum firmware on the FTVS v2 that this actually works with? 5.2.6.0 is the cutoff? Or does 5.2.6.1 work as well? Just want to be clear. Why isn't that info in the OP? Seems important.
[Fire TV General] Bropinski:
This method will work with firmware version 5.2.6.0 and lower. This will not work on firmware 5.2.6.1 or higher. I have updated my OP to reflect this information.
[Fire TV General] krew11uv:
Remove whatever from Amazon Device

Have you tried just using ADB Link. Way easier.
[Fire TV General] andreizet96:
I hope for the life of me that this thread is still alive. I got scammed into buying a blacklisted fireTVstick, managed to work around the update error via adb, hijack launcher, leanbacklauncher and installed other apps via aptoide tv, which I also installed via adb install ____.apk.

After using the debloat commands in the very first post of this thread, my stick magically jumped from the booting animation to leanback launcher, insted of always starting the setup process with language selecting and all that. It still does, it works perfectly.

My question is: would I be able, by using only some of these bloatware removal adb commands, to bypass the balcklisting check (which i understood it is done by com.amazon.tv.nimh, if I remember the package name correctly and which, btw, returned the error "not installed for 0" after running adb uninstall etc etc) and use my stick with its stock launcher, amazon app store and all?

Leanback is absolutely great and my tv is now a smart tv for only $10 or so. Still, even though I like to mess around modding android, I am more of an out of the box default exprience guy.

Another way of asking this question is if I can find out what each of these uninstalled apps does, so I can work it out by myself.

Many thanks to the contributors, this post was incredibly useful!
[Fire TV General] naughty6t9:
I use amazon prime video, but i would like to remove few apps like amazon music app etc.

if i remove music app or store will it break amazon videos?
[Fire TV General] rainman74:
Tasker or Llama, but I don't know, if they are working on OS 5.2.6.7.

View attachment Llama-1.2014.10.23.0945.apk

View attachment Tasker-4.9u5.apk

If that should work, that would be a nice hack that Amazon wouldn't have expected!

You must also take this command:

am kill com.amazon.tv.forcedotaupdater

That would be my recommendation:

View attachment unfire2.zip

Future: OS 5.2.6.8 -> am kill/start will no longer be possible ;)
[Fire TV General] clemenza011:
I have checked and both attached apks (LLama and Tasker) are being started fine on 5.2.6.7, yet I don't know how to configure any of those to run the script being provided by rainman.

Else, where to get that Insomnia thing, as I am getting apk of some video game, instead?

It would be nice if diego could write a bit more detailed instructions, or to fill the to one as I see now as:

1. Install (for instance via adb link , 'install APK' option) AppStarter, FireTV-Settings, LauncherHijackV3, TASKER AND INSOMNIA.

2. copy to the fireTV unfire2.sh (script copied would not have eXecutive permission, so I am not sure how to change them on un-rooted FireTV)

3. using TASKER setup starting named script to being executed along with the system startup (so it will run launcher hijack and insomnia)

4. reboot FireTV, on the next startup, named script should be executed and FireTv should remain in AppStarter, with killed amazon apps and disabled ota.

5. per preference, add at the end of the script 'am start -n org.xbmc.kodi/.MainActivity' that would mean that Kodi is being started automatically (is this a good idea?)

cheers
[Fire TV General] diegocr:
I have been tested it without amazon account and don't start tasker at boot, with amazon account starts.

With tasker I can't exe the script but can do and "am kill-all" and start launcher hijak or other app when user 0 is active.

Tasker backup, am kill-all don't work, sepolicy denial

View attachment backup.xml

adb shell ps | awk '{print $9}' |grep amazon

Working adb command am force-stop

am force-stop com.amazon.tv.ime
am force-stop com.amazon.tv.launcher
am force-stop com.amazon.client.metrics
am force-stop com.amazon.venezia
am force-stop com.amazon.device.controllermanager
am force-stop com.amazon.whisperlink.core.android
am force-stop com.amazon.bueller.music
am force-stop com.amazon.storm.lightning.services
am force-stop com.amazon.tv.livetv
am force-stop com.amazon.tv.settings
am force-stop com.amazon.device.controllermanager
am force-stop com.amazon.device.software.ota
am force-stop com.amazon.kso.blackbird
am force-stop com.amazon.device.bluetoothdfu
am force-stop com.amazon.device.bluetoothkeymaplib
am force-stop com.amazon.bueller.photos
am force-stop com.amazon.kindle.cms
am force-stop com.amazon.kso.blackbird
am force-stop com.amazon.tv.devicecontrolsettings
am force-stop com.amazon.amazonvideo.livingroom.firetv
am force-stop com.amazon.tv.csapp
am force-stop com.amazon.identity.auth.device.authorization

Insomnia app

https://play.google.com/store/apps/details?id=com.gianmarcodavid.insomnia
[Fire TV General] rainman74:
Why can't you run scripts in Tasker?

Have you copied them into the appropriate folder?

/storage/emulated/0/sl4a/scripts/

https://github.com/damonkohler/sl4a
[Fire TV General] diegocr:
Nothing happens when run script :(

With run shell sh /path/script.sh sepolicy denied

W/sh ( 6604): type=1400 audit(0.0:129): avc: denied { module_request } for kmod="personality-8" scontext=u:r:untrusted_app:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0
[Fire TV General] clemenza011:
have you got any news upon recent efforts, guys? cheers
[Fire TV General] Sus_i:
There is a plugin for tasker that runs adb commands on the device itself. So forget about scripts, run kill/force-stop adb commands on the aftv via this plugin:

https://labs.xda-developers.com/store/app/com.ADBPlugin
[Fire TV General] clemenza011:
could you please share more information how to use this on our FireTVs? so far I have pushed this apk to FireTV, and once I open it, I got the tasker screen opened. Then what? I cannot access '+' button with the FireTV remote to add a new task, so what is to be done from this point?
[Fire TV General] LazerL0rd:
Well on the newer versions of FireOS I came up with a mini idea which doesn't remove all bloat but removes quite a few. Rename the attached .txt file to 11.bat and run it then you should be good and you should be good. :good::silly:. MAKE SURE IT'S RUN IN THE DIRECTORY WHERE UR ADB.exe EXISTS.
[Fire TV General] Sus_i:
RemoteADBPlugin is a plugin for tasker. Start Tasker, add a new "profile" with '+' , as a profile choose status 'display on' or something else that starts on boot. After the profile you have to add a task -> choose under plugins the adbplugin. You must type in the config in the adbplugin, localhost, 5555 as port, then the adb commands. You can test the task by clicking the play icon downside the window. Then the firetv asks you about the permission, click the checkbox and allow ^^

There is a thread about the plugin:

https://xdaforums.com/u/tasker-tips-tricks/plugin-remote-adb-shell-t3562013

Since there are quite a few firetv devices and many firmware versions, I don´t know if the plugin will work on every device... You can report errors in the thread above.
[Fire TV General] eugene2878:
Non of the uninstall commands working on 5.2.6.3.
[Fire TV General] LazerL0rd:
None, huh? I just tried and some work. You did run it in order? Cause there is a reason I force-stop the apps prior to uninstalling.
[Fire TV General] diegocr:
Only works if app has been updated, remove updated and use rom stock app.

On logcat appears this entries, try to start apps that are installed.

Don't know with what rights are launched or if can make a custom service.

W/ActivityManager( 981): Unable to start service Intent { act=com.android.ITelecomService cmp=com.android.server.telecom/.TelecomService } U=0: not found
W/ActivityManager( 981): Unable to start service Intent { cmp=com.android.printspooler/.model.PrintSpoolerService } U=0: not found
W/ActivityManager( 981): Unable to start service Intent { cmp=com.android.systemui/.keyguard.KeyguardService } U=0: not found
W/ActivityManager( 981): Unable to start service Intent { act=amazon.speech.audiostreamproviderservice.AudioStreamProviderService pkg=amazon.speech.audiostreamproviderservice } U=0: not found
W/ActivityManager( 981): Unable to start service Intent { act=com.amazon.kindle.otter.oobe.TIMESET_RECEIVER_SERVICE pkg=com.amazon.kindle.otter.oobe } U=0: not found
W/ActivityManager( 981): Unable to start service Intent { cmp=com.amazon.tv.csg.dnwstateservice/.DNWStateService } U=0: not found
[Fire TV General] Reni10:
Will this debloating work on a Gen 1 Fire TV Stick as well?
[Fire TV General] juanjo7812:
There's no way to access the '+' button to add a new profile using the firestick remote. How you did it ?

Thanks.
[Fire TV General] Sus_i:
[MENTION=565418]juanjo7812[/MENTION]

usb-otg cable, hub and a mk400 keyboard... or remote mouse for firetv app.
[Fire TV General] iptvsubscription:
thanks

:rolleyes:
[Fire TV General] Br!cked:
On my device only 6 were successfully uninstalled, errors for everything else. none the less, thanks.
[Fire TV General] SoulInfernoDE:
Hi,

does anybody have an advice how to debloat but keep the ability to use prime video, amazon shop and alexa voice recognition ? ...i have prime and that is why i use the stick primarly. Other android devices aren't able to play prime videos in HD or 4K due to drm limitations.

My goal would be to change launcher, remove the whole advertizing and install GApps. Anyone tried this already with this kind of set-up?
[Fire TV General] llukezz:
Quick question...

I was able to root and use pm disable com.amazon.tv.launcher and use a different launcher

However, if you push the "go back" button on the remote at the home screen of the new launcher it used to go to the stock launcher but now with it disabled it goes to a blank black screen. Is this black screen because I only disabled instead of uninstalled? Or does the same thing happen even if you use uninstall command?

If anyone is using a different launcher and could check for me that would be great.

Thanks
[Fire TV General] Sus_i:
Did you found a solution?

Whats about MicroG as a GApps replacement?
[Fire TV General] vanzan:
Reminds me of when the v1 Fire Stick was rooted....I was desperate for a guide to reduce the Stick to purely Kodi and a few other apps. Still waiting.
[Fire TV General] pontiffholychurch:
So is this usable on the Toshiba version of Fire TV?
[Fire TV General] nikec:
Now that the Fire TV Stick 2 is rooted, is there any guide to fully debloat the stick with root? Amazon Prime video not needed, I just need access to the Fire TV Settings to set Wifi & Bluetooth and use another launcher.
[Fire TV General] llukezz:
I did the debloating but now I can't use an app on phone as a remote. I have tried all the apps out there, they all say they can't find the fire stick.

I suspect it's a package I disable during debloating.

Any thoughts to what could be causing it?
[Fire TV General] brentonv:
Android remote app dependencies posted below
[Fire TV General] brentonv:
See this
[Fire TV General] Coldtrain6989XD:
I kept getting the unauthorized saying when using adb devices on cmd.
[Fire TV General] BizarreAndroid:
Have you clicked the authorisation box on the device when your promted?
[Fire TV General] Coldtrain6989XD:
I completely forgot about this I do not even think I can jailbreak it now on what os it is on.
[Fire TV General] BizarreAndroid:
Tbh it wasn't until I hit enter that I realised how late to the party I was xD
[Fire TV General] Coldtrain6989XD:
It's not ur fault I am use to getting late responses or no response at all.
[Fire TV General] oldman20:
Still live in 2023, excellent. Thank u
[Tilt, TyTN II, MDA Vario III General] Jaquinhos:
Hi Guys I got my MDA VARIO III

I've tried to use the simunlocker but no lucky at all ..

Enter to 3 color (bootscreen) after that still on 0% on next screen and dosen't move at all??

Any ideias?

Thanks
[Samsung Galaxy S7 Questions and Answers] knexxy:
Hello guys,

so long story short:

My dad sent me his "old" S7 (SM-G930F) and I didn't know that there was something like FRP Lock until now...

So I did reset it to factory standard and now i can't get into the phone... And it seems like the google account he is using atm is not the account he registered the

phone with. (I also needed to reset the password of his old account since he forgot the password - amusingly i never rly changed the password it just stayed the same)

More Problems:

I don't know if OEM settings are active...

I am a noob considering Phones! - I don't know if it makes sense to try to flash the phone...

My question now is: What should i do?

Thanks in advance!

regards

knexxy

P.S.: sorry to any admin if this is in the wrong section :/
[Samsung Galaxy S7 Questions and Answers] Ibuprophen:
One or both of the following threads should provide you with further information/support for your issue.

http://xdaforums.com/showthread.php?t=3622126

http://xdaforums.com/showthread.php?t=3518235

Good Luck!

~~~~~~~~~~~~~~~

I Am The Egg Man,

They Are The Egg Men.

I Am The Walrus!

Coo Coo Cachoo!

I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.

PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
[Samsung Galaxy S8+ Questions & Answers] Shah1989:
So apparently disabling bloatware and other packages such as bixby can cause the phone to have a negative affect such as a higher battery drain. I would've thought removing bloat such as Samsung health etc, wouldve been better for battery.

Share your thoughts please, have I been wrong this whole time?
[Samsung Galaxy S8+ Questions & Answers] WorldIRC:
I've had no negative impact by disabling Bixby.
[Samsung Galaxy S8+ Questions & Answers] dogredwing1:
I've noticed no additional drain from disabling bixby, but disabling other things I have experienced additional battery drain from. Disabling certain things can causes the system to call on it but can't find and keep calling on it, causing more battery drain.
[Samsung Galaxy S8+ Questions & Answers] WorldIRC:
Like what?
[Samsung Galaxy S8+ Questions & Answers] anewday:
Can you share which things caused negative effects?
[Samsung Galaxy S8+ Questions & Answers] dogredwing1:
For me things like knox related apps, S-health, Samsung pay, and anything Qualcomm related caused me drain. But stuff like Facebook, Oculus or Carrier bloatware didn't cause more drain. For me anyway, your experience might be different.
[ZTE Axon 7 Questions & Answers] daevion0:
Okay so long story short: I unlocked my bootloader, flashed twrp and things like that and tried to flash lineage. This was all using the Axon 7 tool. I did something wrong and now I can't get into any other mode but EDL mode. The phone shows up in Miflash but I always get some "cant read hello packet error" and it tries to "reset" and end it eventually just stops and gives me an error. Plz help.
[ZTE Axon 7 Questions & Answers] Choose an username...:
I assume you're not on Windows 10 x64? If you aren't, either get a PC with Win10 x64, or do this:

Connect the phone, get into EDL mode. Now go to the Device Manager, and tell me where it appears.

It can appear as:

-"Qualcomm HS-USB QDLoader 9008" under Ports (COM & LPT);

-"ZTE DFU Interface, under Ports too; or

-"QUSB_BULK" under Universal Serial Bus devices or unknown devices.

If it appears as the DFU stuff, you'll have to follow the 4th category brick repair guide. If it appears as QDLoader, right click on it, then Properties, then go to Bits per second and put the number at 115200 or 128000 if it's not there. Then hold the 3 buttons (vol and power) until Windows beeps and the device manager spazzes and the phone flashes the red led, then try MiFlash again.

If it appears as QUSB_BULK, uninstall the driver (tick delete driver software too) and restart edl.
[ZTE Axon 7 Questions & Answers] daevion0:
I'm on win10 64bit
[ZTE Axon 7 Questions & Answers] Choose an username...:
Then do everything I described above or just try another PC. It always happens that one PC can be decided not to let you unbrick your phone for some reason
[ZTE Axon 7 Questions & Answers] daevion0:
Is there no other option? is there no other way to at least get fast boot mode back on my phone?
[ZTE Axon 7 Questions & Answers] Choose an username...:
Lol nope, not if EDL is not working for you. You still didn't tell me whether you have a DFU brick or not. If you do have a DFU brick the only surefire way is to disassemble your phone and short a testpad, so don't complain.

Try what I told you above. It may be that it's set at 9600 baud
[ZTE Axon 7 Questions & Answers] tamahouse02:
1. You must use "Qualcomm HS-USB QDLoader 9008" driver (there is another one call zidag but it's not work here)

2. As soos as you enter EDL mode, you must press "Flash" as quick as possible