yashsingh1/xdaforums huggingface dataset:
[Fire TV Android Development] brick00444:
The first time I tried it, I was on an older rom version. When I used your backup it was stuck at the black fire tv screen. I was able to get into TWRP and flash your 6.2.7.1 rom you posted then used your backup and it worked great. I should have made that clear. Sorry for that. That being said, with the new files you listed can a person use your backup on another rom version " say 6.2.6.8 " or should it be on 6.2.7.1.? I have another 4k stick I might have time tomorrow to test the new method on.
[Fire TV Android Development] Sus_i:
A backup with boot.img should work, without it won't.
[Fire TV Android Development] 0815hoffi:
Can it be restored without otg .

Twrp Commandline?
[Fire TV Android Development] brick00444:
Thank you
[Fire TV Android Development] WarrenDen:
Have tried this rom to pass updating configuration screen on my Fire TV 4k without success. Restored this rom from TWRP without a problem but stucked again at configuration updating screen.
[Fire TV Android Development] dadme:
Any solution to skip updating screen?
[Fire TV Android Development] 0815hoffi:
Yes you must decompile com.amazon.tv.oobe.apk

with APK Easy Tool.

!!!!! For Sure save a backup of this file !!!!

and customize NativePageProvider.smali file

Replace the Update command like

Lines

??????? 》with NOP

example attached , decompile it and compare the file to understand how it works

than compile with APK Easy Tool and replace the file over twrp.

------‐-----------'

Easy way delete com.amazon.tv.oobe.apk over twrp.

Pair remote with use of TV-CEC Remote.

An then do the Configuration.

But then it is not possible to enable adb over the settings.

Can be done in twrp maybe.

in TWRP type:

echo -n 'mtp,adb' > /data/property/persist.sys.usb.config

echo '' >> /system/build.prop

echo '# Enable ADB' >> /system/build.prop

echo 'persist.service.adb.enable=1' >> /system/build.prop

echo 'persist.service.debuggable=1' >> /system/build.prop

echo 'persist.sys.usb.config=mtp,adb' >> /system/build.prop

Reboot

Do it at your own Risk!!!!!

If it works, run.

adb shell settings put global setup_wizard_has_run 1

adb shell settings put secure user_setup_complete 1

adb shell settings put global device_provisioned 1

To set oobe succesfully run.

----‐---------

Own Risk you can try replace com.amazon.tv.oobe.apk with the attached file, run the Setup Wizard and After that copy back the backuped com.amazon.tv.oobe.apk to /system/priv-app/com.amazon.tv.oobe/com.amazon.tv.oobe.apk
[Fire TV Android Development] dadme:
Should work even for 4k Fire TV? Or only for 2 gen?
[Fire TV Android Development] 0815hoffi:
[MENTION=566409]dadme[/MENTION]

I have played around this with 4k , and it works.

But with the Restrictions i Described.

This i have testet 4k.

Flashable 4k Twrp zip attached.

It delete oobe and amazon launcher and install leanbacklauncher.

try it at your own risk

Error in zip fixed, please redownload
[Fire TV Android Development] dadme:
Thanks for the info! I make a try on the weekend. Restrictions.. I don;t have Amazon Prime... Just for Kodi and HBO Go. And mirroring phone display..

That would be another question. In case of an software update, the process of decompile and patching will probably have to be restarted?
[Fire TV Android Development] 0815hoffi:
LeanbackOnFire 1.17 Version TWRP
[Fire TV Android Development] shoulih:
So far so good with this Debloated Rom 6.2.7.7 and just a quick question; do I need to disable OTA updates manually?
[Fire TV Android Development] Skel40:
I know what the Remote issue is relating to and I will be releasing version 1.1 of 6.2.7.7 with com.amazon.tv.turnstile being responsible with remote pairing
[Fire TV Android Development] Skel40:
Its a good idea to disable the OTA updates manually by disabling com.amazon.device.software.ota just to be safe from the debloated rom getting overwritten unless you want to have the incremental updates installed
[Fire TV Android Development] darksavior:
I left mine on overnight and it updated. Starting over and disabling updates..
[Fire TV Android Development] edan13:
hi quick question

if i want to install this debloated FW and root/TWRP that comes along with it, do i have to do it out-of-the-box with the Fire4k?

or can i use the Fire4k in its original state and decide if i want to come back to this later as well?

are there any amazon updates that will lock me out from rooting/custom firmware is what i mean.

thanks
[Fire TV Android Development] Skel40:
Yes you will need to take it out of the box and take the 4K apart with ground. By default, devices are locked meaning with stock recovery stock bootloaders and stock firmware so it's always important to follow this guide here:

[UNLOCK][ROOT][TWRP][UNBRICK] Fire TV Stick 4K (mantis)

NOTE: There have been multiple reports of devices with serial numbers containing VM190 or higher being shipped with DL-Mode disabled in BROM. These devices cannot be unlocked using kamakiri. These devices do not show up at all on USB when...

xdaforums.com

Amazon updates can lock you out if it's a full system firmware download but if it's just a system component update, you should be fine. You can disable updates with adb shell, pm disable-user com.amazon.device.software.ota (this command may be patched already by Amazon in future firmwares)
[Fire TV Android Development] edan13:
thanks for the reply,

so if i understand you correctly i should go on and root it right away (taking it apart and shorting the contacts, i read up on all that) , in order to be safe. Otherwise i could be locked out of doing this later on if amazon decides to push some mean updates down the line
[Fire TV Android Development] Bertonumber1:
You will only be locked out if you leave the stick idle and let it update , after you do the unlock go straight to settings》myfiretv 》developer options》enable adb debugging and unknown sources .

Give magisk manager permissions if needed in managed installed applications. then :

adb shell

su

pm disable com.amazon.device.software.ota

pm clear com.amazon.device.software.ota

reboot

Then continue doing what youre doing m8
[Fire TV Android Development] shoulih:
I want to update Debloated Rom 6.2.7.7 to Debloated Rom 6.2.7.7 MEGA Revised 1.1.

After booting into TWRP, wipe system, dalvik, and cache , then do I just install the "Debloated Rom 6.2.7.7 Version 1.1.zip" from TWRP and reboot?
[Fire TV Android Development] Eroutina:
Thanks for this debloated prerooted rom with some tweaks already added. I was wondering if there was a way to strip it even more like removing alexa/prime completely as well as any other amazon background. I was hoping to get more ram but doesnt seem possible. I've blocked as much "com.xxx" entries as possible and the firestick is very snappy and responsive however there is still aroun 800mb usage in the background which might not be possible to reduce.... I've run various root apps to try and stop alexa and such but no luck.

If anyone could help I'm trying to strip down as much as possible just keeping wifi connection and kodi usage everything else can go.

also are these tweaks already in this build?

https://xdaforums.com/t/fire-tv-sti...-need-keyboard-works-on-any-firmware.4064269/
[Fire TV Android Development] luciferin:
This method just worked for me to upgrade from 6.2.7.1 to the 6.2.7.7 rev 1 release. Should work for you, but you may want to back up in you're not up for possibly losing settings.
[Fire TV Android Development] woleium:
This is great, thank you!

One minor issue: How do I install new apps after installing it? There doesn't seem to be any way to launch the amazon launcher or the amazon new application search interface.
[Fire TV Android Development] 0815hoffi:
Push to device over Amazon Website and sync under firetv Account settings.

Or reflash debloated rom. ( this has allways worked for me , but other user has reported that can be a Problem with 6.2.7.7)

There is no other way with removed Amazon Launcher.
[Fire TV Android Development] Bertonumber1:
This is an issue I faced also, the trick is to make sure you have whatever apps you need from the store first before flashing the launcher replacement.

I lost the wife's stv player by doing this but if worst comes to worst. Even just install hoffis Newsettings apk and select your chosen launcher (better to be inside the custom launcher while you do this)

then:

pm disable com.amazon.tv.launcher

pm disable com.amazon.firehomestarter

I find this method less brutal and by enabling the fireos launcher again you can still install the apps you need before disabling fireos launcher again, this works on 4k/2k/Firetv2

Regards
[Fire TV Android Development] 0815hoffi:
@Bertonumber1

I think so too.

That's why I also removed all my TWRP.zips.

For me it fits so, but to be on the safe side you should be use.

"pm disable"

And not my TWRP.zip

Regards
[Fire TV Android Development] DirtyAngelicaSecured:
Can Magisk be updated on these debloated ROM's?
[Fire TV Android Development] Bertonumber1:
Yes I'd imagine just the same as any other rom, boot to twrp recovery and flash latest magisk zip which is currently 21.4. Never update ramdisk via the magisk manager app. Always use twrp to update magisk zip.
[Fire TV Android Development] Eroutina:
To install new apps I install with adbLink via IP address connection
[Fire TV Android Development] Flakie:
Selfless, or is that selfish, plug ;)

If you use Windows, maybe give my ABD GUI app a go (Flakie's ADB GUI).

It also has a scrcpy integration and an integration with ngrok (for remote access without port forwading on the router). ADB Shell and custom ADB commands has recently been added. Not perfect for this yet but works for most basic commands. All the built-in features work well (install apk, uninstall, update, list etc). I am adding more features for the next version and intend to keep improving it.

My ADB GUI App - Flakies Blog

A Windows GUI wrapper for ADB that allows APK install, update uninstall and pull/download to desktop. Supports rebooting ADB devices, custom ADB Shell commands, remote control of an Android device with scrcpy and video recording of the remote session. Integration with ngrok Internet cloud relay...

flakie.co.uk
[Fire TV Android Development] Skel40:
I know it's been awhile since I've uploaded 2 debloated roms. If you want, sometime next week I'll look into 6.2.7.1 with updated features and maybe the new UI from 6.2.8.0?
[Fire TV Android Development] 5h1v4u:
Fire tv is flashing stock after rebooting the debloated rom. How do I stop it from overwriting?
[Fire TV Android Development] darksavior:
These debloated roms don't work for long since an update can easily bloat it up again. Maybe a script to run from ssh if possible? I'm not familiar with creating one and I haven't checked the forum to see if one already exists.
[Fire TV Android Development] Bertonumber1:
hey ..Easiest way to debloat is to either use pm disable commands or a debloat tool from techdoctoruk. You can use this to get rid of most bloat without root. Or...If you have root you can use this as a stepping stone to browse the /system/priv-app/ folder to delete pesky apks using up space. This may have to be done each time you use fota and update your firmware but id say debloating is an easy thing to do with firetv devices.
[Fire TV Android Development] Skel40:
Do any of you want a fully debloated 6.2.8.1 with the older interface and patches from my other rom?

Or the same roms found here with the fota bypassed without having it force an update? You'll have to disable com.amazon.device.software.ota immediately so I'll try to manually patch the DeviceSoftwareOTA to prevent any type of disabling.
[Fire TV Android Development] Bertonumber1:
Hi @Skel40,

Do you mean get rid of that new launcher? it's fkin horrid if you ask me. I'm using an old firmware 6.2.7.3 and I have to keep updating the Webview and apps to keep them working. An example is stv player the TV guide won't update on this firmware somehow probably due to old /priv-app apks.

So. Yeah I wouldn't mind an old UI with newer/lesser /system/privapp stuff most of that folder is junk anyhow.

I'm in, it's a yes from me

Regards
[Fire TV Android Development] Skel40:
Yep! I actually managed to downgrade the whole thing as well with the settings with the wifi icon and av sync tuning. It works exactly how it should before that new update.
[Fire TV Android Development] Bertonumber1:
If I remember correctly the latest update has done something to mantis remote on the new UI as well .

Each time (on my device) using the remote for a few seconds it would disconnect then a nag would appear stating no remote was connected.

I know you've been chipping away at a new lighter rom. This new launcher is no good a lot of telemetry within it.

Regards
[Fire TV Android Development] SweenWolf:
Check com.amazon.autopairservice.
[Fire TV Android Development] MarylandCookie:
Just a quick clarification, my current stick is on 6.2.7.7; not sure what kind as its been a while although it is unlocked and updates disabled. Not sure if Magisk Man is installed, does that matter?

Do i just boot into twrp, wipe system,. cache and dalvik and install rom/reboot?

Also on a side note, i have tank stick that i had lying around and just unlocked it and was wondering if Skel40 has made a debloated rom for that? Or if someone can point me to one.

Thanks in advance :)

*edit*

Does this rom include the update block
[Fire TV Android Development] Guilherme J. Ceretta:
the apple tv app doesn't work for me, the video starts and then stops with an error. Does anyone have a suggestion on how to fix it?
[Fire TV Android Development] TimmyP:
Thank you! I bricked my stick, and wound up with 6.2.8.1 when I fixed it. DTS and Kodi passthrough wasnt the same, with the former not working anymore and Kodi requiring new options to be set just to get 5.1.

6.2.7.1 flashed on top fixed this completely. Must have rom if you use Kodi and a receiver!
[Fire TV Android Development] Skel40:
I know all this information overtime is outdated and needs more updates as time goes on. So very soon I'll be releasing newly released debloated roms with and without build.prop tweaks, delete the necessary bloatware and have properly blocked updates with no disabling commands needed. If any of you have experience with making accessibility features working I can create a fully debloated test build with those settings back, older interface, converting all the system packages I can find (in older versions of stock roms) with stubs, this overall furthers the performance of the device and not take up all the room you need to have without having the issue to having install those system apps (Prime Video, IMdb, Amazon Music/Photos) as preinstalled wasted storage space from those apps and this is what I'll be implementing in these roms. What do you think? Is anyone interested in a test build the next couple weeks?
[Fire TV Android Development] kratosjohn:
I'm ready to test. So excited to see you back at it
[Fire TV Android Development] abuttino1:
Magisk is a preinstalled when I flash this.
[Fire TV Android Development] Skel40:
If you don't want the Magisk app pre-installed, I'll look into editing the META-INF folder and start editing it out
[Fire TV Android Development] abuttino1:
I don't think you understood me. Magisk doesn't get installed on flash
[Fire TV Android Development] Bertonumber1:
It looks to me like you're saying magisk Is already preinstalled

Which is obviously what skel40 construed from this as well.

Regards
[Fire TV Android Development] abuttino:
So, I take it that it isn't?
[Fire TV Android Development] abuttino:
Is there a reason I can't use any streaming program (HBO, Netflix). All of them are telling me the video is unavailable.

Plex/Emby work fine though.
[Fire TV Android Development] Skel40:
Is your device unlocked by any chance and what version of 6.2.7.1 are you on?
[Fire TV Android Development] abuttino:
I believe 6.2.7.1 1.2 was the revision
[Fire TV Android Development] Keang Un:
I've found that I can't flash some of your ROM for mantis. When I pushed the firmware to sdcard then twrp install or adb sideload it, it just finished in seconds without really writing the system/vendor image.

Some of the firmware that I can't flash:

Deblated 6.2.7.7 revised 1.1/1.2 in this thread

Fire TV Stick 4K 6.2.9.5 no OTA (but 6.2.8.1 works)

Here are some of the firmware that works for me:

Deblated 6.2.7.1 93 in this thread

Fire TV Stick 4K (mantis) Downgraded ROMS 6.2.8.0-3233/6.2.7.7-3033/6.2.7.6-2933/6.2.7.1-2493/6.2.6.8-2315

Fire TV Stick 4K 6.2.8.1 r3_4054 Fully Patched Rom

rbox's Prerooted ROM

Official firmware here

I can't see any thing abnormal from the log, do you have any idea?
[Fire TV Android Development] hasobist:
Hello

The Debloated 6.2.7.7 revised 1.1/1.2

Works well if you clean flash the rom like wiping the data too apart from Dalvik-cache,cache and system in TWRP a backup is always great help, been using it for a while though.

Never found the version 1.2 as in the OP is linked version 1.1 if possible can you provide me a link to version 1.2 and Fire TV Stick 4K 6.2.9.5 no OTAof the debloated rom

The only thing can't get going is the activation of Widgets on Wolf launcher used to work onFire TV Stick 4K 6.2.8.1 r3_4054 Fully Patched Rom though trying to find a workaround apart from that it's smooth and light.

Hope it helps,Thank you cheers.......
[Fire TV Android Development] Skel40:
I pulled those because the software I used to extract and rebuild the roms put the .br filename under the (mantis) system files when Android 7.1 (nougat) isn't supposed to have it. I'll post a newer guide for most Fire TV devices with the option under root user to get accessibility, launcher manager and other packages blacklisted under the newer roms
[Fire TV Android Development] hasobist:
Hello Skel40!

That would be great!

Is accessibility working on this version of Debloated rom version 6.2.7.1 93 and can widgets be activated in Wolf launcher in the above version?

Thank you for all the wonderful contribution and prompt reply much appreciated .Hoping to have a new build coming up soon of the debloated version.

Thank you cheers.......
[Fire TV Android Development] Skel40:
6.2.9.5_4448 is now available with a list of removed packages I have removed to add back into the rom if necessary. DeviceSoftwareOTA/com.amazon.tv.forcedotaupdater.v2 have been modified and the ewriter/efuse_check.sh are removed so happy flashing!!! @hasobist accessibility should work for the 6.2.7.1/93 rom if not, I put the forum on the OP as a reference to follow. Root is required for this kind of operation. And anytime! I appreciate the feedback!!
[Fire TV Android Development] Bertonumber1:
Hi Skel40,

I cant remember what version i am using on the 4k im sure its quite low ..Ive just been updating the store and webview apks .

what happens with this just wipe /system and flash over top with magisk ?

Thanks for keeping up appearances and chipping away with debloat, mostly development has dried up since the efuse thing.

Regards
[Fire TV Android Development] Skel40:
That's perfectly fine just be sure to backup your data system and everything important before continuing as I put a patched DeviceSoftwareOTA and com.amazon.tv.forcedotaupdater.v2 into the rom and may conflict with other packages i.e. com.amazon.tv.settings.v2, com.amazon.venezia, etc. No problem. I've had to find time outside of work and life and definitely true since most of the users here have moved on.
[Fire TV Android Development] hasobist:
Hello skel40!

Thank you for all your time and support much appreciated !

That's awesome to see a revised version, so long was awaiting and it's worth the patience.

Will flash the latest and give you the feedback.

Can a dirty flash be done over 6.2.8.1_r3 patched by you?

Thank you once again.......

Cheers!
[Fire TV Android Development] Skel40:
You're welcome!!! I know its really awesome to finally be back up and running after so much time! I recommend backing up from what I referenced above then do a dirty flash in case anything goes wrong. To be safe I'd strongly recommend clean flashing it since this version and the patched rom on the other forum permanently gets rid of updating forever for the better and not for the worst in case it breaks functionality
[Fire TV Android Development] Skel40:
6.2.7.1/93 and 6.2.7.7/3033 will be released when I have time. This release that will come up soon will be the same as 6.2.9.5 with its OTA patches. I might even implement the PackageDenyList somewhere in the system with nothing so the forum isn't really needed and all good to go in case if thats a better option?
[Fire TV Android Development] hasobist:
Hello Skel40!

Is it this version?

https://xdaforums.com/attachments/6-2-9-5_4448_old-ui-zip.5959503/

Keep the forum going😊

Thank you.......

Cheers!
[Fire TV Android Development] Skel40:
Which version are you wanting to have? I have two seperate OPs this one debloated on the drive and the other one patched on another forum with all the system files. This one here is the debloated version with the system files removed for storage space: https://drive.google.com/file/d/1H5GoqNjFkGQmkgw4BBWdtUM71wLJWNjX/view?usp=drive_link

https://drive.google.com/file/d/1JGDlDRXxIZOBsVNYG1OzL-G6I3PG7VcY/view?usp=drive_link
[Fire TV Android Development] Skel40:
FYI I have the TZ img too for 6.2.9.5 don't forget to add this for Freevee to work properly and streaming:
[Fire TV Android Development] Skel40:
My ultimate goal with the (mantis) although I currently don't have one yet due to an issue with an OTG frying it, is to stay on a version for as long as possible with the OTA patches blocking updates, getting the freedom of having control over your device, remembering that these devices are very hard to find with Serial # VM180 and below so its very much appreciated from you @hasobist and the community here over the years. Making sure this device gets the updates with unlocking is still a very important part of our community here at XDA. Work will resume and some exciting opportunities and challenges will open doors for endless possibilities of getting Google to work? Maybe LineageOS although the source code isn't open, its still all very difficult?
[Fire TV Android Development] hasobist:
Hello Skel40!

Thank you loads and all the contributors for all the contribution and help the community renders with tender help,patience and compassion.

Can sponsor a Firetv 4k to you for development, will be an honor if that helps happy to do so.

Lovely vision!

Keep the good work going!

Thank you once again.......

Cheers!
[Fire TV Android Development] hasobist:
Hello Skel40!

Will go with the debloated version 6.2.9.5 patched,will try test all the new releases though.

The Google drive is right protected and needs access permission to view the same.

Thank you for fixing the download.......

Cheers!
[Fire TV Android Development] Skel40:
NS6271/2495 is available! Unfortunately I wasn't able to force the deny list edit into 6.2.9.5/4448 and 6.2.7.1/2495. Manual adding with root functionality is needed for that. Anyways enjoy community and more will soon follow! TZ for NS6271/2495 below for streaming fixes
[Fire TV Android Development] hasobist:
Hello Skel40!

Thank you for all your time and effort much appreciated.

Cheers!
[Fire TV Android Development] Skel40:
Here's the PackageManagerDenyList edited out to be replaced in /data/system for the blocklist apps removed be sure to adb shell su pm disable com.fireos.arcus.proxy
[Fire TV Android Development] hasobist:
Hello Skel40!

Is the above process mentioned common for any version of firmware inorder to open up the Firetv stick 4k and other firetv devices as mentioned by you and Prome3us for the blacklisted apps blocked on these devices?,

So that all the blocked features can be availed.

Thank you for all the contribution.......

Cheers!
[Fire TV Android Development] Skel40:
Yes correct the unlocking is required for this operation and its common on any version of firmware until changes are made which I'll be a key witness as the FireOS progresses with the updates as time goes on since I own an unlocked sheldon running the latest 7.6.4.6 firmware.