yashsingh1/xdaforums huggingface dataset:
[Fire TV Q&A, Help & Troubleshooting] droidguy80:
I have a 1st generation Amazon Fire TV device that I used the below guide to root:

http://www.aftvnews.com/how-to-root-the-amazon-fire-tv/

Up to now everything was OK and had Kodi and other apps installed. But, the past few days my AFTV has been acting very strange. When I'm on main home menu for AFTV it takes very long for the items to load. Also I am unable to select the "Settings" option from the menu. When I click on the "Settings" menu it immediately takes me out of there and back to main menu. When I click down on the "Settings" option from the "Photo" option it will immediately get out of there and to "Photo". I feel something is wrong with my device and a factory reset is in order. At this point I'd like to just do a clean factory reset and get my device to the latest firmware (remove all the root and other things that I did when I rooted..just get back to the status as when bought with the latest update). I'm not too concerned with root now as long as I can sideload apps like KODI and other android apks.

Can someone please help me or guide me on which protocol to take to get my AFTV back to factory fresh settings with latest firmware from Amazon? I've read several different instructions on unrooting, but none of them deal with the way I rooted my device.
[Fire TV Q&A, Help & Troubleshooting] Y314K:
What exact PreRooted FW version are u on at the moment? Is ur bootloader fully unlocked ?
[Fire TV Q&A, Help & Troubleshooting] droidguy80:
When I go to System/About/Software Version it shows 51.1.0.2_user_510058520. I don't know if bootloader is fully unlocked or not? How can check or now for sure? The link that I used in original post had us use towelroot and superuser to do the root. I've read other guides on how to unroot, but nothing yet on how to unroot with originally towelroot was used.

I'd like to get my fire tv back to original factory settings with latest update and be able to load KODI. Can you recommend what I need to do?
[Fire TV Q&A, Help & Troubleshooting] Y314K:
So since you are in such an old FW you have multiple options to choose from.

1. Revert back to stock where you are at:

A: Without ClockWork Mod (CWM) installed: http://www.aftvnews.com/how-to-revert-an-amazon-fire-tv-back-to-stock-recovery-and-stock-software/

B: With ClockWork Mod (CWM) installed: http://www.aftvnews.com/how-to-unroot-a-fire-tv-and-switch-back-to-stock-updates-from-amazon/

2. Update to latest PreRooted ROM (MY RECOMMENDATION):

Start by making sure you are blocking updates on your current ROM: http://www.aftvnews.com/how-to-block-software-updates-on-the-amazon-fire-tv-or-fire-tv-stick/

Then follow all the Prerequisites to install TWRP & the latest PreRooted ROM: http://www.aftvnews.com/how-to-install-twrp-custom-recovery-on-a-rooted-fire-tv-1/

Make your FTV1 have a Fully Unlock Bootloader & install CWM & last version of CWM in the correct sequence. So first verify what you have installed & then update to the prerequisite as needed once by one. There are links to everything on the TWRP guide. Also make sure you use the v7 of the TWRP Image file instead of the v6 that is listed in the guide. And adjust the command as needed to v7.

Your choice. You do have one of the VERY RARE FTV1's that can have it's bootloader Fully Unlocked. So you are very lucky.
[Fire TV Q&A, Help & Troubleshooting] droidguy80:
Thank you for your help. I will go with your recommendation and Use the #2 option you listed. So just to be clear on the steps:

I should first block updates (which I think I did initially when I rooted, but I guess I can do the step again just in case).

Then for the second part of installing TWRP and prerooted ROM....I will be following the "Section 1: Fire TV 1 on 51.1.6.3 or older" correct?

Then I need to install ClockworkMod version 6.0.5.1.4a (Question: Do I need to install that particular version stated in the guide at this step or is there a newer version?)

Then I need to install Pre-Rooted 51.1.6.3 ROM using ClockworkMod . (Question: Is this is version of the Prerooted ROM I need to install at this step or is there a newer version?)

Once these steps are done I can then continue with the section "Guide" and install TWRP and following the steps accordingly. At the end I will latested prerooted ROM correct. So I need to install one version of the prerooted ROM with ClockworkMod and in the final step install the latest version of the prerooted ROM..is that correct?

Once all that is done I will have an updated AFTV 1 and hopefully the issues I'm having now will be resolved.
[Fire TV Q&A, Help & Troubleshooting] droidguy80:
So for this step I need to install the RBox Boot Menu before I can update to the preRooted ROM v51.1.6.3 correct? So that last line is actually needed to be done first before I can update to the PreRooted ROM correct?
[Fire TV Q&A, Help & Troubleshooting] Y314K:
Good catch. You'll have to do it in a three step process. First install PreRooted v51.1.4.0. Then RBox Bootloader & then moving to PreRooted v51.1.6.3.

http://www.aftvnews.com/how-to-install-a-kernel-boot-menu-on-the-amazon-fire-tv/

Will update the info on my prior post accordingly.

---------- Post added at 10:51 PM ---------- Previous post was at 10:23 PM ----------

There is only one section that needed modification. It's been fixed above.
[Fire TV Q&A, Help & Troubleshooting] droidguy80:
So I have gone thru the steps you provided and have installed TWRP and currently on PreRooted ROM v51.1.6.3. The issues that I had previously with the menu items have gone away and all looks well up to now.

So right now when I do a restart of the Fire TV it goes first to the RBox Boot Menu (with Kernel Boot and Launch Recovery Options) and does a 5 second countdown before loading to the Amazon Fire TV homescreen. Is this normal or should it boot to the TWRP boot screen? Does it really matter?

When do "adb reboot recovery" command it takes me to the TWRP menu page where there is the "Install, Wipe, Backup, Restore, etc." options. So I think at this point everything installed and working fine I believe.

So if I want to get the latest prerooted stock image on my Fire TV then I would go into TWRP recovery mode and install it from there? Would it be this link: http://www.aftvnews.com/how-to-installupdate-a-package-using-twrp-on-the-amazon-fire-tv/

And would the latest prerooted stock image be this one: May 1, 2017 - 5.2.4.1_r1 (md5sum: 64451a8f88cb5a3fff53f14c80ba2267)

With this image I would be upgrading from OS3 to OS5 now...no issue in doing this now?

One other thing I had a question on is does CWM and TWRP work the same way? I mean since we have TWRP now will we need CWM since it seems both do the same thing in helping us install ROMs. Or it was necessary to have CWM installed before we could install TWRP?

Thanks for your help by the way.
[Fire TV Q&A, Help & Troubleshooting] droidguy80:
Thank you for the info.

So just to sum it up I just go into TWRP and follow the steps in the guide to install the "May 1, 2017 - 5.2.4.1_r1 (md5sum: 64451a8f88cb5a3fff53f14c80ba2267)" (I will adb the file first to Fire TV and check integrity of it to make sure it matches the the md5sum value before installing) and before I hit "Reboot" after install is complete, I should select the "Home" button at bottom on screen and once on home page of TWRP I should select "Wipe" function..and once that is done I can hit "Reboot" this time on the TWRP screen and that should boot the Fire TV back to the main homepage. At this point my Fire TV with be on OS 5 ROM and updated to use.

At this point I should make sure that updates are blocked using th OS 5 method. Once that is completely I'm pretty much done. I can work on the other few things you mentioned in your post.

Does that pretty much sound correct?
[Fire TV Q&A, Help & Troubleshooting] Y314K:
Yes, pretty much. I would load an MD5 file to the same place you upload the PreRooted ROM image so TWRP checks the integrity once you tell it to update. Specially if you are ADB'ng the PreRooted ROM. If you run into any problems. Just stop & post back. Now the first boot will take over 15-20 minutes. So be patient. You will be asked for your Wifi & Amazon Account info again too. You can keep pushing the forward button when the intro video plays to speed things up.

Keep the keyboard plugged in just in case you need to make the device boot into TWRP recovery.
[Fire TV Q&A, Help & Troubleshooting] droidguy80:
A few more questions I had if you don't mind.

1. For the MD5 file do I just open notepad, paste the 32 alpha/numeric sequence that is shown at the end of the file here ( "May 1, 2017 - 5.2.4.1_r1 (md5sum: 64451a8f88cb5a3fff53f14c80ba2267), and then just save the file and name it as "MD5.txt" and adb it to the fire tv "/sdcard/" location where the PreRooted ROM will be adb'ed as well? Is that correct?

2. Also when we do a "Wipe" in TWRP after installing the PreRooted ROM and before doing a reboot..what exactly is the "Wipe" doing? It is not doing a factory reset correct?

3. So on the first boot where you say it takes 15-20 minutes and it will ask for Wifi and Amazon account again does this mean it wiped out all my data and any installed apps as well so it will be like having a brand new factory fresh Fire TV? How come when I was installing the previous ROMs it did not clear all the data? Is it because we are going from OS 3 to OS 5 now?

4. So once the first boot is complete after 15-20 minutes and I put in my WiFi/Account info etc. again and Fire TV is up and running on home screen at this point I need to block updates again correct? Since now my Fire TV is on OS 5 do I use the following command now in ADB:

"For Fire OS 5 (version 5.0.0 and up), run the command:

pm disable com.amazon.device.software.ota"

5. Once the block updates is complete then I'm good to go with the latest ROM and can use my Fire TV as normal at this point. Nothing else I really need to add at this stage correct? Or should I be concerned with any other files I will need to load or have for sure at this point?
[Fire TV Q&A, Help & Troubleshooting] Y314K:
If you do Wipe / Advanced Wipe / & check the boxes for “Dalvik / ART Cache” & “Cache”. (This is just a Cache Wipe. This is NOT a Factory Reset). Your apps should be intact.

If you do a Wipe / Advanced Wipe / & check the boxes for “Dalvik / ART Cache”, “Cache”, “Data” & “Internal Storage”. OR do a Wipe / Wipe to Factory Reset (This supposedly only wipes “Dalvik / ART Cache”, “Cache” & “Data”). Both this options are consider doing a FULL FACTORY RESET. If you are going to do a Factory Reset. It is better to include Internal too. And it is better to manually choose the options.

http://www.aftvnews.com/how-to-factory-reset-a-rooted-fire-tv-using-twrp-custom-recovery/
[Fire TV Q&A, Help & Troubleshooting] droidguy80:
So in my case I would just download the May 1 PreRooted Rom to my PC Desktop then use Method 1 of the guide you posted to generate the md5 file and download it to my Desktop PC. Then I will ADB both the PreRooted Rom and md5 file to the fire tv location: "/sdcard/". Then when I go to TWRP and select the Prerooted ROM from that "/sdcard/" location on the fire tv to install it will automatically pick up the "md5" file as well since I had adb'ed to the same "/sdcard/" location on the fire tv.

So pretty much that is it to get my fire tv up to par. I don't need to the 2 files and 2 md5 files as you have mentioned here. I can just do the the latest Prerooted ROM and the 1 md5 file and just move into the installation of the ROM. Is that correct?
[Fire TV Q&A, Help & Troubleshooting] Y314K:
Yes. I just included the second one as an example in case you where flashing the XPosed Framework too. TWRP automatically checks to see if there is an MD5 file in the same directory as the file it is flashing every time.
[Fire TV Q&A, Help & Troubleshooting] droidguy80:
OK I'm ready to finally get to installing the latest PreRooted ROM and finally get my fire tv updated. I'm thinking of just doing a full wipe and start fresh with clean fire tv. So here are my steps below. Please comment if I'm missing anything.

1. Download the May 1 PreRooted Rom to my PC Desktop then use Method 1 of the guide you posted to generate the md5 file and download it to my Desktop PC.

2. Then I will ADB both the PreRooted Rom and md5 file to the fire tv location: "/sdcard/".

3. Then when I go to TWRP and select the Prerooted ROM from that "/sdcard/" location on the fire tv to install it and it will automatically pick up the "md5" file as well since I had it adb'ed to the same "/sdcard/" location on the fire tv.

4. Once the install is complete, I should select the "Home" button at bottom on screen and once on home page of TWRP I should select "Wipe / Advanced Wipe /" & check the boxes for “Dalvik / ART Cache”, “Cache”, “Data” & “Internal Storage”. (This will be like doing factory reset which once the system reboots I will need to login with my Amazon account, setup WiFi, etc..)

5. Before I hit the "Reboot" button I should block updates using the Method 5 from here: http://www.aftvnews.com/how-to-block-software-updates-on-the-amazon-fire-tv-or-fire-tv-stick/ and follow the steps to do that from here: http://www.aftvnews.com/how-to-bloc...k-by-setting-a-custom-fire-os-version-number/ (This will ensure that when I system is rebooted and installing ROM no updates get thru since I did a full wipe in TWRP).

6. Once this is done I should clicke on "Reboot" and let the system install the ROM.

7. Once the ROM installation has been finished (after 15-20 minutes) I should be at the main screen of the fire tv where I assume is the setup screen now which will ask for Amazon login to continue, then WiFi details, etc..pretty much the initial setup of the fire tv box again.

8. Once all these steps are done I should be on the main homepage of the firetv now with the latest PreRooted ROm and running OS 5 now.

9. At this point I should also use Method 1 from here: http://www.aftvnews.com/how-to-block-software-updates-on-the-amazon-fire-tv-or-fire-tv-stick/ and do the following steps:

a. Run the command: adb shell

b. Run the command: su

(Be sure to select “Grant” if your Fire TV prompts you for superuser access.)

c. For Fire OS 5 (version 5.0.0 and up), run the command:

pm disable com.amazon.device.software.ota

d. Run the command: exit

e. Run the command: exit

10. Once this is done then I should be pretty much done with the everything and can move on to using my fire tv as normal.

Let me know if I missed anything or if everything looks good to go from my end. Thanks.
[Fire TV Q&A, Help & Troubleshooting] Y314K:
Everything looks good. Just a few comments to add. But it's your choice. You will need to use a Fat32 USB stick to do Method 5 in TWRP (Read my last comments in the AFTVNews Guide thread about needing to CHMod 755 when this is done thru TWRP).

http://www.aftvnews.com/how-to-bloc...custom-fire-os-version-number/#comment-466724

If you are using a USB stick anyways. You can just make a folder & have the PreRooted ROM & MD5 in the USB stick. And while your at it I would throw in the XPosed Framework zip & MD5 files into a different folder in the USB stick too. And just flash it after you do the Factory Reset (Just hit Home/Reboot/Recovery). I trust PC/Mac USB copy/transfers more then ADB transfers. And they can easily be checked once the file is in the USB stick.
[Fire TV Q&A, Help & Troubleshooting] droidguy80:
At which step in the guide do we implement the steps to CHModd755? Is this an additional step or a modification of one of the steps in the guide? At which point do we do the following:

“- At the bottom of the screen click the middle symbol (the house).

– From the TWRP main menu (the 8 gray buttons), click on Advanced.

– Click File Manager.

– Go to the /system folder and select the build.prop file.

– Click the “chmod 755″ button.

– Click on the 3 arrows button next to Swipe to Confirm.

– Click Reboot System.

– All of this step will need to be repeated every time your flash a ROM.”

So do I have to use USB to transfer or will ADB to PC work as well? If USB how to make sure FAT32 USB stick?

Also in the guide it mentions the following: "To transfer the file using ADB: Connect to your device via ADB. You will need to be connected over ethernet and the IP of your device is displayed in the upper left of the main TWRP menu." Does this mean I have to hook up a ethernet cable to my fire tv while doing the ADB? Up to now my fire tv has been on WiFi when doing all the installs and ADBing? Why is it necessary for ethernet at this stage?
[Fire TV Q&A, Help & Troubleshooting] Y314K:
If your doing Method 5 thru ADB then you need to do the CHMod 755 command to the modified build.prop file you upload. So the command is done after the upload.

For the USB option there is a very detailed walk-thru created by Mark thru the above link.

ADB should work fine. But more things can go wrong when ADB'ng then on a properly formatted & functioning USB stick. Just use the Format option built into all Windows. Just save anything you don't want to loose from the USB stick. Then right click on the USB stick in My/This PC & choose Format & pick Fat32 as the file system. Or you can even just stick the USB stick in your FTV1 & let it format it. Just ignore/delete the Android files it adds once you take it back to your PC.

If I remember correctly you will need to have ethernet connected. But I might be wrong. I don't think TWRP lets you ADB from Wifi.
[Fire TV Q&A, Help & Troubleshooting] droidguy80:
So does the PC/Laptop need to be on ethernet as well or just connect the Fire TV by ethernet cable? Laptop can be on WiFi when doing ADB to Fire TV as long as Fire TV is connected by ethernet. Is that correct?
[Fire TV Q&A, Help & Troubleshooting] Y314K:
Yes, just the FireTV. The PC just needs to be on the same network.
[Fire TV Q&A, Help & Troubleshooting] droidguy80:
So I just finished the "Wipe" process and now doing the Method 5 to block updates. I using the ADB method and when I do the command "adb pull /system/build.prop [PATH-ON-YOUR-PC]" I get an error. The error I get is the following:

"error: device offline"

Do you what the issue can be? Both the Fire TV and Laptop connected by ethernet.

I made sure I was connected to firetv by ADB by using the command "adb connect IP address" and it shows the line after it was connected.
[Fire TV Q&A, Help & Troubleshooting] Y314K:
Yeah, that is the order I would do it.
[Fire TV Q&A, Help & Troubleshooting] droidguy80:
So I just finished the "Wipe" process and now doing the Method 5 to block updates. I using the ADB method and when I do the command "adb pull /system/build.prop [PATH-ON-YOUR-PC]" I get an error. The error I get is the following:

"error: device offline"

Do you what the issue can be? Both the Fire TV and Laptop connected by ethernet.

I made sure I was connected to firetv by ADB by using the command "adb connect IP address" and it shows the line after it was connected.

When I do "adb devices" command it shows the following:

List of devices attached

XXX.XXX.XX.XXX offline

Do you think since I did the full Wipe it disabled the ADB bugging now so I can't use the ADB method to proceed with Method 5 and will need to do the USB method now? The smal light on the fire tv is going in and out right now and not a solid white.
[Fire TV Q&A, Help & Troubleshooting] Y314K:
Could be. Although I thought the ADB debugging in TWRP was separate then the one in the actual device since it has root access by default.. My bad. You can probably get away with just doing Method 1 for now right after first boot. Since I don't think there are any updates out there this minute or do the USB option.
[Fire TV Q&A, Help & Troubleshooting] droidguy80:
I just realized that if I use the USB method then how can I control TWRP since I will be removing the USB keyboard from my fire tv to place the USB in its place. Any other option beside just doing a reboot at this point and hoping for the best that no update gets thorough. So if I do just reboot right now and it will then install the latest ROM that we put on it, but won't it look for any updates after that or since we are using the May 1 Prerooted ROM it should be still the same and no new update is in the system at this time?

So if I am unable to do the Method 5 now before rebooting and installing the ROM how can I come back to do it again? Will it work after this ROM has been installed as well?
[Fire TV Q&A, Help & Troubleshooting] droidguy80:
So I went ahead and did the reboot and everything installed fine. After the first boot up I did Method 1 to block the updates. My fire tv is now working as good again and no issues like I had before. It's great to be on an improved interface compared to what I had.

So now the question I have is how do I do the Method 5 of blocking updates via ADB (USB is not possible since I will be using a USB keyboard to navigate TWRP). Can I just go back to the TWRP Recovery and follow the guide of Method 5 even though I have installed the new ROM now or is there another way I should proceed?
[Fire TV Q&A, Help & Troubleshooting] Y314K:
That is why I had mention a USB hub in the first walk thru. On first boot it will check if latest version FW # is installed. And skip updating since you do have the latest version.

Yes, Method 5 can be done at anytime.

---------- Post added at 09:46 AM ---------- Previous post was at 09:45 AM ----------

You can go thru TWRP ADB or you can try the ES File Explorer option too.

Congrats
[Fire TV Q&A, Help & Troubleshooting] droidguy80:
If I will be doing the TWRP ADB for Method 5 blocking then after Step 8 where it says the following:

"8. Now you need to transfer the file back to your Fire TV.

To transfer the file back using ADB:

Run the command:

adb push [PATH-TO-build.prop-ON-YOUR-PC] /system/build.prop"

then the next set of steps we have to do are the following to make sure the fire tv boots up properly:

“- At the bottom of the screen click the middle symbol (the house).

– From the TWRP main menu (the 8 gray buttons), click on Advanced.

– Click File Manager.

– Go to the /system folder and select the build.prop file.

– Click the “chmod 755″ button.

– Click on the 3 arrows button next to Swipe to Confirm.

– Click Reboot System."

Is this correct? There is no additional files or apps I need to install to make all these steps work correct?

Also in step of the Method 5 by ADB it says the following: "3. Check the box next to "System" and then return to the main menu by pressing the home shaped button in the bottom center. ". When I got to this point last time I think the "data" and "cache" were checked already after I had selected "Mount". I unchecked both of those and then checked the "System" only. Is that correct? So only the "System" should be checked after "Mount" is selected in TWRP? I want to make sure I do everything correctly so no issues.
[Fire TV Q&A, Help & Troubleshooting] Y314K:
To the 1st ? Yes. After you copy over the edited build.prop. You just run the command on said file to make it work like the original did. If you don't then the device will just hang instead of load.

On the 2nd ?. U don't need to unchecked data or cache. All ur doing there is mounting System. Since that is where the build.prop resides. TWRP always loads with System unmounted as a safety measure. So just ignore the other mounted parts.
[HTC 10 Questions & Answers] throcker:
Ok so, I have known magisk for its root hide feature.....as systemless root method and, you know, first things you read about it

Now I'm realizing it's bigger than that......with modules!

wow, xposed wasn't f%&ing up our devices enough, now we need magisk modules too

joke, anyway....I once tried to flash it and resulted in bootloop (like 5/6 months ago) so it was closed story for me

BUT again....I see everyone asking for it, modules and stuff....

I know that unless you use special carrier features is not mandatory

So now....these are my questions to you, magisk power users:

1) Is it better/less invasive on the system than lastest superSU beta?

2) is it better for performance? or stability?

3) are there really useful modules? do many modules break things, decrease performance/stability as xposed does? (yes. I hate xposed)

thank you for your attention