yashsingh1/xdaforums huggingface dataset:
[Fire HD 6 and 7 General] tobnddl:
Bootloop on my 4.5.5.1

I followed these steps below with my rooted 4.5.5.1 kindle, and ended up with a bootloop. My PC very quickly recognizes it on boot, then disconnects. Nothing on the screen, unable to boot to recovery or anything. Is this a hard brick, or is there a way back?

Originally Posted by fizz1234

Ok, so here is what I am going to do for my rooted 4.5.5.1 now as per your instructions:

Boot to TWRP

Factory reset

Flash the latest 5.1.1 from your dropbox link[after renaming it to .zip] using TWRP

Flash 5.2.2u3_stock_recovery_uboot.zip

Flash make_space_v02.zip

Flash SU

Flash xposed for 5.1

Flash pico gapps

clear dalvik/cache

reboot to OS

Looks correct! The dropbox file is already zip, so it should need no renaming.
[Fire HD 6 and 7 General] bibikalka:
This sounds like a brick ...

What OS did your Fire have before 4.5.5.1 ? Also, which specific files did you download, esp. bootloaders ? It's not clear yet where things have failed ...
[Fire HD 6 and 7 General] TQuest:
if you have 5.11 already and rootet with kingroot 4.8.1 you can also install the play store with the file "Amazon-Fire-5th-Gen-Install-Play-Store.zip" found here:

http://rootjunkysdl.com/?device=Amazon Fire 5th gen&tag=823814-20

after installing, reboot, then wait a few minutes for the google stuff to update before you can login.
[Fire HD 6 and 7 General] ritholtz:
Hi,

I did root by downloaing kingroot app from kingroot.net website. Verified with root check. I need some more steps to install play store. I have download above zip file to my HD7. Can I just open this zip file using ES file explorer app and run install play store bat file by double tapping. Or Do I need to install from adb shell. I have working adb shell setup on my windows laptop.

Thanks
[Fire HD 6 and 7 General] ritholtz:
I need to run this bat from windows. Looks like it is going to setup adb as well. I already have working adb on my laptop. Is it ok to run this bat file.

Thanks
[Fire HD 6 and 7 General] bibikalka:
Since adb works (meaning you got the drivers installed correctly), you should be good to go with the installation script for GAPPs. You can have as many copies of adb as you want, not an issue. After you get GAPPs installed, do go ahead and rename devicesoftwareota.apk if you don't want to come back here asking where my root went ;)

Note that from here you are just 1 script away from installing TWRP as per post #2 (it's also a script there). Give it a few days, and once you are comfortable, you may come back and re-install everything via TWRP.

Good luck!
[Fire HD 6 and 7 General] ritholtz:
I am able to install GAPPS by running script. It suppose to disable amazon ads. But I still see amazon ads displaying on home page. This script has a option to block ota updates (option 3). Can I just run it again with this option instead of renaming devicesoftwareota.apk file. I need to find out how to do rename a file.

Regarding installing TWRP as given in post #2 and flashing to some custom RAM, I will try it out after reading a bit more. Is it just running one script for installing TWRP? I checked out Imma wake video where he does lot of things from TWRP. I would like to try installing clean RAM with TWRP if it improves performance. My kid actually doesn't want me to install GAPPS. He likes to play games Terraria, pixel gun and minecraft from appstore. If it improves performance by doing clean install, I would like to try out. Thanks for the help.

Just watched Imma Wake video again. Can I just follow steps given in his video from 13:30. Looks like this will do clean install with improved performance along with Gapps. After doing these steps, is it possible to disable all amazon stuff other than appstore.

Thanks
[Fire HD 6 and 7 General] TQuest:
Yes, the file is a batch file for windows.

When you start it, you can choose if you want to install the adb drivers or not.

As I already had them installed from modding my amazon fire 7 (5.gen), I did not install them again when installing the play store on my HD6.

You might however want to block the OTA update manually after installing the play store, as i am not sure if the OTA block works on 4. gen devices.

By the way, you do not loose any amazon functionality by installing the google play store. you just end up having both stores working. so your kid can still play the favorite games from the amazon store.
[Fire HD 6 and 7 General] ritholtz:
Thanks TQuest. I will look into forum for command to block OTA. I would like to install TWRP if it is going to improve performance. I would like to disable all amazon stuff except playstore. Does amazon backup all app data to my account in case if I am going with TWRP option.

Thanks
[Fire HD 6 and 7 General] TQuest:
to disable OTA, I renamed the file: /system/priv-app/DeviceSoftwareOTA.apk to /system/priv-app/DeviceSoftwareOTA.apk_

I didn't mess with TWRP yet, cause all I needed was "google play movies", so stick to the first page for that stuff.
[Fire HD 6 and 7 General] ritholtz:
Thanks again TQuest. I renamed file DeviceSoftwareOTA.apk to DeviceSoftwareOTA.apk_. This file is inside directory DeviceSoftwareOTA. When I started my HD7 4g today, it acted weird. I was not able to swipe. Tap itself is not working. Everything I have to tap twice. It adds green and orange borders around selection windows or tabs. It took some time to even pull down notification bar which is asking to enable some kind of voice over settings. When I disabled, it is working fine. I was actually about to install stack 5.1.1.

Is it possible to uninstall all amazon stuff except appstore. I feel, it became little slow compared to before installing app store. I would like to know how to improve performance which is more important than installing GAPPS for me.

Thanks

---------- Post added at 04:01 PM ---------- Previous post was at 03:45 PM ----------

Again ran into this problem where swipe and single touch doesn't work. During reboot, it is enabling voiceview screen which is under settings -> accessibility. Then screen acts weird. There is also Kingroot service under settings -> accessibility. Do I need this. Can I just download amazon 511 update and do update in order to go back to stack 511 version.

Thanks
[Fire HD 6 and 7 General] TQuest:
Whats your firmware version? I have 5.4.1, rooted with kingroot.
[Fire HD 6 and 7 General] DoLooper:
Hi! Can't boot past Fire logo. No excuse for not keeping track of all I was doing before it happened, but started with OS 5.2.2 September 2015 and 5.2.0 bootloaders.

Can't get into su since can't boot, BUT device is still recognized, I can ls dirs, etc. and have stock recovery. (THINK I still have 5.2.0 bootloaders but can't tell.)

I want to keep 5.2.0 bootloaders, so figure I must adb sideload OS 4.5.3, root and upgrade back to where I was. Is there a more direct path? Also, once I've got rooted 4.5.3, can I just load twrp per post 2 and flash Sept. 5.2.2 and 5.2.0 bootloaders or must I flash an older dev preview with 5.2.0 bootloaders? (Sorry I've lost track of what bricks what.) Thanks!
[Fire HD 6 and 7 General] ritholtz:
I have 5.1.1 version recently released by Amazon. Can I manually update this stack 5.1.1 again. When I press check now button from system updates, it says check for update failed. I think I should copy 5.1.1 software to fire and try. Do I need to run kingroot service? Are there any list of apps which can be disabled to improve performance now that I am rooted. I think, my HD7 feels slow after installing GAPPS.

Thanks
[Fire HD 6 and 7 General] TQuest:
With ota disabled, you get the failed message, even if you try to upgrade manually.

You can try to flash 5.4.1 manually, and then root again with kingroot. ( might need more then one try, reboot after esch try) To remove apps from the fire, follow the instructions from page one.
[Fire HD 6 and 7 General] bibikalka:
Indeed, if you want 5.2.0 bootloaders, you have to go to 4.5.3 first. Then install TWRP per #2, and off you go to FireOS 5.1.1, but do flash 5.2.0 bootloaders before leaving TWRP.

There is also a nice guide out there for this, *your* guide ;)
[Fire HD 6 and 7 General] bibikalka:
I don't think it'll let you re-load 5.1.1 from within 5.1.1 Either you sideload something older (FireOS 4.5.3) via recovery, and then upgrade back to stock 5.1.1. Or, alternatively, just get TWRP via post #2, and re-do the instructions in post #1, where you put fresh 5.1.1 into clean system partition (it will delete everything in /syste before it installs 5.1.1 again, but all the user apps + data will survive). This will save you sideloading via recovery.

Caution, however. If you don't feel comfortable yet, give it a few days until you build up your knowledge and confidence. We don't want you to brick !!!
[Fire HD 6 and 7 General] DoLooper:
LOL! I really must stop revealing myself for the fool I can be :D But in my defense, I never updated guide to allow users to skip formal TWRP install with Flashify on 4.5.3, so wanted to double-check--both for myself and the long-overdue guide update. Thanks a lot!
[Fire HD 6 and 7 General] ritholtz:
Thanks for the help. I would like to try TWRP (#2)and then 5.1.1(#1). I am going to rename file to DeviceSoftwareOTA.apk_. Can I disable kingroot service. King root app has option to disable some of the apps.
[Fire HD 6 and 7 General] DoLooper:
[MENTION=6680544]bibikalka[/MENTION]: Is there any known cause for the hang at Fire logo when one has both OS and recovery? Should I be disconnecting and giving it a manual boot occasionally, because I do lots of testing (install to priv-app, chmod, in and out of twrp, etc) staying connected through it all, including reboots. Now wonder if that's bad practice.

EDIT [MENTION=6680544]bibikalka[/MENTION]: [MENTION=5908480]ritholtz[/MENTION] post above reminds me I've also been "unrooting" with kingroot without a reboot after. Think I did that both times I had the stuck-at-Fire problem. Maybe that's it(?)
[Fire HD 6 and 7 General] ritholtz:
Can you please post a link for me to get list of apps I can remove safety without any issues. Then I can use it like this. Any info on how to disable voiceview functionality enabled during startup.

Thanks
[Fire HD 6 and 7 General] Gimzie:
Nice to see an updated guide! Tried this, along with the other guide, and worked like a charm! (Replaced all amazon apps with google apps) Also, on an unrelated note, I can't press thanks because the button isn't there. It's there for most posts, but not your original.
[Fire HD 6 and 7 General] bibikalka:
You are better off just disabling stuff temporarily, as per this : http://xdaforums.com/fire-hd/general/fireos-4-5-x-root-quickly-switch-to-t3145613

If you ever run the TWRP script from Windows, it'll push the required scripts to Fire. Then just follow the instructions how to make the scripts above work for you via Gscript. It really is nice, and works very well!
[Fire HD 6 and 7 General] squatingyeti:
I followed this tutorial to successfully achieve root as well as get nova prime as a system app and be able to switch back and forth between it and the standard fire launcher using gscript to block and unblock fire.

So, my issue is something else. I've noticed in Nova when I tried to add some widgets it just dumps me to the fire settings and doesn't add them. Is this because I'm not running a complete replacement for FireOS and instead launching into Nova running on top of FireOS?

Thanks for the great tut and any help!
[Fire HD 6 and 7 General] bibikalka:
Double check that your Nova is indeed a system app! Widgets work fine for me, and this is a well known issue, and the fix does work (Nova as system app).
[Fire HD 6 and 7 General] squatingyeti:
Maybe I did it wrong to make it a system app. My process was to install from the play store, copy apk to a backup folder, uninstall, put apk in system/app folder and restart fire. I couldn't find an exact explanation on making it a system app, so it's likely I've made a mistake.
[Fire HD 6 and 7 General] enwoke5:
Will this work on the Fire HD 7 4th gen?
[Fire HD 6 and 7 General] bibikalka:
This is not the way to do this. You should use an app that can let you convert an app to system, just look in Playstore. There could be libraries that need unpacking.
[Fire HD 6 and 7 General] bibikalka:
This is for 4th gen ! (device name is "ariel")
[Fire HD 6 and 7 General] DoLooper:
FWIW, I found a few articles that said to put the uninstalled apk into /system (/system/priv-app for us), change perms (chmod 644) and reboot. Tried this with nova and apex and they worked fine for some months. I've uninstalled now, so can't say where they unpacked. Was I just lucky?

EDIT: Pretty sure this works fine. Noticed recently that /system app mover app now copies to /system/priv-app and changes perms, but am sure it used to copy to /system. (Understand this is different; the app's already installed. Just found it interesting.) Anyway, not sure if there are other problems with [MENTION=5843649]squatingyeti[/MENTION]'s method, but maybe just moving to priv-app and fixing perms will make widgets work.
[Fire HD 6 and 7 General] enwoke5:
Awesome thx.

After my fire updated to 5.1.1 google play games isn't working for me. Any time I try logging onto an account it says I have no internet connection even though I am certainly connected. Is there perhaps there is an easier fix than rooting the device?
[Fire HD 6 and 7 General] squatingyeti:
Thanks DoLooper! I was up way too late last night trying several different things to get this to work and was pretty much getting nowhere. Installed one of the app mover applications from the play store and in my frustration trying to make it work I think I moved a sys app I shouldn't have. Got a boot loop now where I get into FireOS for about 2-3 seconds then reboot back to fire logo ad naseum. Tried factory restore, which was probably stupid cause I could have used adb to reboot to TWRP and probably fixed it. Just bought it the other day so at worst I can get amazon to replace it and maybe I can still get adb to TWRP. I'm blaming it on the extreme late hour of the night for my poor decisions :silly:
[Fire HD 6 and 7 General] squatingyeti:
Was able to get out of the boot loop using stock recovery and adb sideloading back to 5.1.1

Now to start again and see if I can't get it right this time lol
[Fire HD 6 and 7 General] bibikalka:
OK, just don't mess up too much ! :D

So, with 5.1.1 installed you could sideload 5.1.1 on top of it ? That's pretty convenient!
[Fire HD 6 and 7 General] Heruktiang:
In Explorer go to /system/priv-app/DeviceSoftwareOTA

No system folder on my kindle. 5.1.1 kingrooted fire hd 7

hi:good:
[Fire HD 6 and 7 General] dayone8:
Please help me.

I'm new to this and trying to figure this out without bricking my device.

Amazon Fire HD 7, 4th gen.

On 5.1.1

Rooted via Kingroot when I was on 4.5.1 (not sure if it makes a difference)

Want a clean install of the Amazon OS with Google Play on it (w/o Kingroot cause I don't know if it's safe). Also hoping to get Chromecast mirroring to work on this thing so I can Cast Prime Video, Netflix, Youtube, etc....

Started with post #2 of this thread.

-Tried the 101 automatic install under windows first

-downloaded 5.4.1_1133_stock_recovery_uboot.zip, and moved it to /sdcard/gscript folder (had to create the gscript folder)

-downloaded WindowsAutoTWRP_v01.zip onto my desktop (Windows 10), extracted the files. Tried to run adb, but screen popped up, stuff scrolled by too fast to read, then window closed.

-Ended up downloading [TOOL]Minimal ADB and Fastboot [8-28-15]

-Ran the Minimal ADB and Fastboot, and tried to type su. It was not recognized as an internal external command, program or batch file.

I knew i was in trouble here, but kept trying anyway. :P

-app from unknown sources is already enabled, from when I installed Kingroot

-Switched to A - Instructions with Gscript

-downloaded and installed gscript app

-downloaded and unpacked both 453_key_images.zip and flash453.zip in /sdcard/gscript

-Go to Gscript/Add script/Need Su (yes, check)/Load file "flash_453.sh"

-From Gscript run this "flash_453.sh"

... THEN NOTHING HAPPENS

-I then went back to run the 1_FIRE_HD_4TH_GEN_TWRP.bat

-type the 'adb reboot recovery' command in 'Minimal ADB'

-Fire rebooted and I tried to sideload a file from 'Minimal ADB' - "adb sideload 5.4.1_1133_stock_recovery_uboot.zip

-get msg saying "cannot read 5.4.1_1133_stock_recovery_uboot.zip"

PLEASE HELP!
[Fire HD 6 and 7 General] bibikalka:
Well, did you enable root explorer in ES explorer ?

Which recovery do you see ? Is it stock or TWRP ?

If you are not seeing any responses to your commands, perhaps the drivers are not installed on the PC ?

You flash 5.4.1_1133_stock_recovery_uboot.zip in TWRP, not via adb !

I suspect that your current 5.1.1 is still intact, don't try anything until you understand things a bit better!
[Fire HD 6 and 7 General] squatingyeti:
Yeah. I was stuck in a boot loop where I'd get the FireOS to boot for about 1-2 seconds and then go right back to the fire boot logo over and over. Used stock recovery and selected ADB sideload. Sideloaded 5.1.1 from the first post and it booted back to normal.

From there I went back through the process outlined and everything is now working perfectly. The only thing I would add is a link to how to remove the Kingroot apps and replace them with SuperSU, which is what I did.

Thanks for all the help and a great TUT!
[Fire HD 6 and 7 General] dayone8:
NVM, figured it out. Had to re-root the tablet. :p
[Fire HD 6 and 7 General] ritholtz:
Thanks Bibikalka. I can install TWRP with instructions given in #2 (installs TWRP and gscript) then follow the above link to disable stuff temporarily. Some time in future, I can flash customized ram using steps in #1 right?

I have kingroot service active by default under accessibility setting. Do i need to keep running this in order to keep it rooted. Can I disable it. There are two processes kingroot and purity. I am not sure if I can kill these processes.

Thanks
[Fire HD 6 and 7 General] X-90:
I've been lurking these forums for a while now. I registered because my Fire HD6 is likely stuck in a boot loop with recovery not working.

I followed this guide step by step all the way up to section C-3.f. I wasn't sure if I was supposed to load the zip for install and then flash immediately or load all the zips together then flash. I flashed them one by one. When I swiped for Reboot with SuperSU install, the screen blanked and hasn't come back since. On my PC, when connected to the FireHD6 through USB, I can see the device manager having a fit showing a MT65xx Preloader every few seconds, dropping it, then repeating again. The device is warm.

Some Notes. Up until a few hours ago I had 4.5.5.1 (!). I haven't used the tablet for months (surprisingly the battery was still at 29%) so I picked it up today and used it. When I put it back down it auto-updated to 5.0.1. I followed the above linked guide until C-3.f. Now I'm here. I'm guessing using the 5.2.0 recovery on top of the 4.5.5.1 wasn't a good idea.

If the tablet is ultimately bricked, that's OK. I'll toss it or donate it to science*
[Fire HD 6 and 7 General] bluesforte:
I've been working on porting CM12.1 to the HD6 -- but I haven't flashed anything to it yet in fear of something like what happened to you. However I think it might be fixable. I think SP Flash Tool might work: http://androidmtk.com/smart-phone-flash-tool

Seems like you'll need a scatter file though. Do you have the 8GB or 16GB version? When I get home I should be able to provide the 8GB version at least.
[Fire HD 6 and 7 General] bibikalka:
Yes, your tablet does look bricked ! You probably flashed the incompatible 5.0.1 on top of 4.5.5.1

SP Flash Tool is no go, people tried it both for Fire HD 4th gen, and Fire 5th gen ... So whatever you do with CM12.1, always keep stock recovery on hand, this way you can sideload the stock 4.5.3, re-load TWRP, repeat ad nauseum . You'll have to use one of the existing Fire HD Lollipop boot images, since only those can boot from Fire HD.
[Fire HD 6 and 7 General] bluesforte:
Any idea what the problem with fastboot is, too? I can reboot into bootloader, but whenever I try to boot any image, it gives me a protocol error. Did Amazon disable booting through fastboot somehow?

Also I didn't really follow some of the first post -- can I try to recap and see if that matches your understanding:

- 4.5.3 boot image works with 4.5.3 fire os (duh)

- 4.5.3 boot image will not work with 5.x fire os

- unsigned/non-Amazon boot images won't boot after upgrading to 5.x ever (?)

- 5.x boot image with 5.x recovery is fine; but won't boot unsigned kernel (?) - this one seems weird

- 5.x boot image won't boot 4.5.3 system ?

Right now my strategy will be to flash 5.x boot/recovery/system, then grab binaries, then flash 4.5.3 boot+TWRP, flash my test CM build, then boot up. I'm guessing for the last step I'll also need to flash 5.x boot and recovery though, or else the 5.x-based CM system won't boot?

LOL so complicated...
[Fire HD 6 and 7 General] bibikalka:
I don't recall that booting an image via fastboot ever worked on 4th gen ...

For the bootloaders, it's not that bad :D

To recap (you are mostly right!) :

- 4.5.3 bootloaders work with 4.1.1 and any 4.5.x, but will not boot any Lollipop; these bootloaders can also boot TWRP (that is not Amazon signed !!!)

- I don't think anybody tried 5.x bootloaders with FireOS 4.5.x (why???), but most likely it won't work

- 5.x bootloaders need everything signed, so you must flash bootloaders together with stock recovery which gives you an option to load 4.5.3 back, and start over in case of a screw up

- there are varieties of 5.x bootloaders, the recent ones from FireOS 5.1.1 seem benign, but I religiously stick with the earliest 5.2.0 just in case ;)

For you CM 12.1 you'll have to recycle Amazon's bootloaders and boot.img, also stock recovery. Not sure why you need to flash 5.x beforehand, just unpack the 5.x image on your PC, and grab any files you need from there. Any flashing will have to happen through TWRP, which would require 4.5.3 bootloaders to be flashed as well.

You'll get used to it, and then it's clear sailing :D
[Fire HD 6 and 7 General] bluesforte:
Makes sense :). I've actually backtracked and decided to start with CM11 though, mostly because this would be my first CM port so I want to go with easy first :). I'll keep you posted on how it goes!

Also, I'm surprised that the SP Flash tool doesn't work -- perhaps the latest public version just doesn't work on them version? As far as I've seen, there aren't many differences with the MT8135 vs the MT6577 etc (the biggest of which is that MT8135 uses big.LITTLE arch). If I ever brick my fire I'll have to investigate further as to what's actually changed...
[Fire HD 6 and 7 General] lord_verminaard:
I must have screwed up somewhere, hopefully you guys can help me out.

I had a 5.1.1 device, rooted with Kingroot. Used the .BAT file method to get TWRP loaded, all went well there. Followed the steps in #1 - all in single session of TWRP, rebooted device, came up normally, all looked good. I then followed the steps in this post: http://xdaforums.com/fire-hd/general/fireos-4-5-x-root-quickly-switch-to-t3145613 to switch to the Google launcher instead of the Amazon one. I successfully used the scripts to disable the amazon launcher, however when I tried to start the google launcher, it told me it needed a new version of Google installed. I sideloaded google search, but I missed the post in that thread on how to use ADB to enable and launch the google launcher. Thinking that I could just reboot and fire up the Google Launcher, that's what I tried to do, but all I got was the Fire Screen. So back to this thread, I sideloaded 4.5.3 back on, rebooted, and I still only get the fire screen on boot. Not wanting to jack anything else up, that's where I'm at now, any suggestions on how to get it back?

Thanks,

EDIT: NVM, I rebooted into recovery again to clear dalvik/cache and it asked if I wanted to do a restore, I hit yes, and now I'm running 4.5.3 again. Ok, now to try again. :D Wish me luck.