yashsingh1/xdaforums huggingface dataset:
[Fire HD 6 and 7 General] DoLooper:
[EDITED]

Okay, 2 possible problems: Either you flashed incorrect Xposed version, arm64 or x86 instead of "plain" arm, or this version of lollipop needs updated version of xposed. I suspect it's the first. Please check the name of zip you installed. It should be xposed-v71-sdk22-arm-by-romracer-20150816.zip.

If it is NOT, go here and get that zip. Also get the uninstaller zip for the version you installed.

If it IS xposed-v71-sdk22-arm-by-romracer-20150816.zip, get the uninstaller for it from the above link. Then go here and get xposed-v74-sdk22-arm.zip

Now, use bibikalka's guide here to temporarily put TWRP back into recovery, and flash the uninstaller zip. After you're back in OS, confirm that Xposed is uninstalled. (I'm not sure exactly how this works. Think flashing should do the uninstall. If it's still there, look for something like Uninstall Xposed in the app drawer.)

Okay. After the uninstall, follow bibikalka's guide again to flash the correct Xposed version. When back in the OS, install HDXposed apk and then finish steps 5 through 7 at end of this guide.

Sorry for incorrect info in first reply. Didn't want you to have to get into TWRP twice, but both the uninstaller and new Xposed require it.

Please keep me posted. I need to know if version in the steps is now wrong. Thanks.
[Fire HD 6 and 7 General] driccite:
I'm having an issue with step D-4-a, After entering the adb shell, then su in the CMD window, I get the entry

1:shell@ariel:/ $

Then its states ERROR permission denied for both pm commands

Any help?
[Fire HD 6 and 7 General] DoLooper:
Sounds like you have not yet installed and run SuperSU. You need to do that before you can get superuser access, which the disable/enable commands require. After running SuperSU, the "su" command should return #prompt (and disable/enable commands will work). If you don't get #prompt after running SuperSU, please let me know.
[Fire HD 6 and 7 General] seanbecker:
Leave TWRP?

Any chance this would work if we leave TWRP on the tablet? I have two Fire HDs and the process worked flawlessly on the first one, about to do the second and wondering if it is possible to leave TWRP on as the recovery? Just in case we get some custom roms in the future, which seems like this would make installing them a bit simpler. :fingers-crossed:

Even if not, the 5.0 with play store and root is AWESOME. A million thanks!
[Fire HD 6 and 7 General] DoLooper:
I don't think OS 5.n can boot without stock recovery. It definitely can't boot to recovery. Take a look at "A bit of background" in [MENTION=6680544]bibikalka[/MENTION]'s intro to this post.
[Fire HD 6 and 7 General] driccite:
SuperSU was installed, the tablet needed a second reboot. I re-entered the CMD window and SU on the tablet asked for permissions for the ADB Shell. After the pm was granted everything else worked perfectly. Thank you so much for the post and instructions
[Fire HD 6 and 7 General] seanbecker:
Ah, makes sense. After reading the background, and not really wanting to brick my second Fire HD, I decided to stick to the script. That being said, both of mine were the "Kids Edition" and I can verify that for me at least, the process worked perfect both times. One thing I noticed though, I wasn't prompted to grant root access when I opened Xposed installer (in section D), but was able to verify it is active and enable HDXposed module on both of them. Not really sure why I wasn't prompted to grant root though. Either way was able to access Google Play and Register with Amazon. :D
[Fire HD 6 and 7 General] RharryR:
AMAZING!!!

Thankyou sooo much for this awesome tutorial! I have tried MANY roots over the last 4 months and this is the only one that worked!!!! :)
[Fire HD 6 and 7 General] Brofreeman:
lost recovery after removing system apps

help. i am running 4.5.5 rooted and i can boot into os but not twrp. i have no recovery. i used system app remover to remove fire setup.apk and a bunch of other stuff but i think fire setup was the cause of no twrp. i tried to install twrp with flashify. didnt work. i tried copy fire setup.apk from my other kindle running 4.5.4 and install it with lucky patcher as system app and reinstall twrp with flashify. didnt work. please help.

adb is working too
[Fire HD 6 and 7 General] bibikalka:
I suspect your issue may be different. If you cannot boot into TWRP, you probably have non-4.5.3 bootloaders. Your fix is to do step 1) from this link :

http://xdaforums.com/showpost.php?p=62011272&postcount=2

Once you have TWRP working, you could simply reload 4.5.5 as per instructions (no factory reset !!!):

http://xdaforums.com/fire-hd/general/upgrade-to-4-5-5-root-t3174449

It really is a lot simpler to reload 4.5.5 than to mess with trying to restore whatever you removed ...
[Fire HD 6 and 7 General] Brofreeman:
thanx. that fixed it. i was trying to solve the problem of getting stuck on setup screen after factory reset by removing fire setup.apk. i would like to find a way to disable the setup screen that loads after factory reset. thanx again.
[Fire HD 6 and 7 General] bibikalka:
I think to address this issue, you can rename /system/priv-app/com.amazon.kindle.otter.oobe.apk to apk_

It should stop asking about language.
[Fire HD 6 and 7 General] rking38:
Excellent Guide!

Tablet is up and running Lollipop with no issues so fare with Google Play Store or SU. Really is "Newbie Friendly" for a newbie like me, as long as you can follow step-by-step instructions.

I did however have an issue with the 15 Second Installer. Being a newbie I was worried about installing V1.4.2 because Snoop05 stated there was some problems with it, so I went with V1.3 not knowing that version of the ADB drivers were outdated. I'm sure it's somewhere in a thread I overlooked. Live and learn!

Thanks for the putting the guide together. Now off to learn how it all works!
[Fire HD 6 and 7 General] teiching:
Problem with PlayStore/Google Account

Thanks a lot! Everything worked perfect. Lollipop runs on the tablet and PlayStore is working.

But i have a problem with the google account. I set up the tablet for a friend and tried the playstore with my google account. Now i want to delete my account informations and set it up with the mail and password of my friend. I only managed to add an second account to the playstore. I have no idea how to delete my account information. In the settings of the tablet there is no "accounts" section so i tried to delete all caches and data from following apps: (basically all apps containing the word google :) )

google account manager

google backup Transport

google calendar

google one time Init

google partner setup

google play store

google play services

When i open the playstore app, after resetting and deleting caches, the email adresses are still there, i only have to enter the passwords for the two accounts again.

Sry for my bad english i hope you get what my problem is. :D

Thx again for the excellent tutorial !!
[Fire HD 6 and 7 General] kingsamuraix:
I done your tut. But now i want to come back OS 4.5.3. Can i keep root, and how about GAPPS?
[Fire HD 6 and 7 General] DoLooper:
Oh, sorry to say, Google won't let you delete your account. Please search to confirm, but I've looked a lot and never found a way. Maybe this is a very good friend who will promise never to use your account? :) If not, you probably need to uninstall/reinstall Gapps. I am unsure about 3 apps. It's possible (but unlikely) that Amazon needs these: Setup Wizard 2.0, Google Partner Setup, Google One Time Init. So, I am giving you below some super-cautious steps for uninstall/reinstall.

Before you do this, though, let's see if [MENTION=6680544]bibikalka[/MENTION] posts a better/easier way to get rid of your Gapps. Maybe advanced wipe in TWRP, reinstall OS 5.2.2?

Super-cautious uninstall/reintall Gapps:

(1) Back up everything with Titanium backup. (2) Get Gatesjr debloater tool[http://xdaforums.com/android/software/debloater-remove-carrier-bloat-t2998294] and disable the above 3 apps. (3) Use Titanium Backup to identify Gapps to uninstall: In the list of apps under Backup/Restore, search "google." (4) Use TB to FREEZE all but the above 3 apps and then reboot. If you reboot OK, use TB to uninstall all the apps. If reboot problem, use debloater to enable the 3 apps and reboot again. If reboot OK, uninstall all but the 3 apps. (4) Follow bibikalka's post here [http://xdaforums.com/showpost.php?p=62011272&postcount=2] to put TWRP into recovery and in TWRP do factory reset and flash Gapps, then finish b's steps. (5) Back in OS, confirm the three files have been reinstalled and if not, restore from backup.

If you do uninstall/reinstall Gapps, please kindly post the apps you uninstalled. This has been a problem for others and it will help to have a list. Thanks.
[Fire HD 6 and 7 General] DoLooper:
Nope, can't keep root or Gapps when downgrading OS 5 to 4. Also, Play Store doesn't work in 4.5.3 so you'll want 4.5.4 or 4.5.5.

You don't need earlier lollipop, just start with the OS you have and redo parts A and B of this guide to sideload 4.5.3, root it and install TWRP. (Skip the command to block com.amazon.otaverifier.) Then follow bibikalka's upgrade guide.
[Fire HD 6 and 7 General] Brofreeman:
I think to address this issue, you can rename /system/priv-app/com.amazon.kindle.otter.oobe.apk to apk_

It should stop asking about language.

Tried renaming. Not work.
[Fire HD 6 and 7 General] RharryR:
Having trouble with 15 seconds ADB installer? Check this out.

Hey guys. When i first followed this tutorial i spent a lot of the time trying to install the adb drivers. When i ran the adb installer i got success but no drivers were installed. If you are having this problem you need to install the drivers manually. To do this, just download the zip attached and extract it in a folder on your desktop. You will need to run the the adb command from this folder when you use it. Do this by shift-rightclicking in the folder and pressing "Open command window here". To make things easier you may also want to place the extra downloaded files in this folder. Hope this helps anyone with the same issue that I had.

P.S. I did not make this post to add to my 10 post count. This is simply here to help people with this issue and save them some time :D

[EDIT] Since i have not yet made 10 ten posts i cannot attached the file. Search for "adb drivers 1.0.32" instead, and download a zip file from a trusted site.
[Fire HD 6 and 7 General] DoLooper:
Thanks for info, but maybe this should have been posted in the adb driver guide. I understand your wanting to help others--always a good thing!--but I hope people will post in adb driver thread as soon as problems occur. Clearly, something went wrong with your attempt, which I think could have been easily fixed. Anyway, couple things:

- You say: "you need to install the drivers manually...To do this, just download the zip attached and extract it in a folder on your desktop."

15-second installer is an executable called "adb-setup-1.4.2.exe." What zip were you using? Maybe this was your problem?

Also, if you mean, put adb.exe and the dlls (from some zip) into a folder on desktop, that doesn't install the driver, although you can run limited adb like that.

You raise a couple good and helpful points when you say:

- "You will need to run the the adb command from this folder when you use it." Right. But this is an unnecessary restriction when 15-second installer is properly installed.

- "To make things easier you may also want to place the extra downloaded files in this folder." Yes. You pretty much must to do this unless you want to supply the full path to file you're installing/sideloading. This is why we want the ability to run adb from anywhere, like from whatever folder you put the installable files into.

If you want to try installing 15-second adb this again, please pm me. Thanks.

EDIT: Oh, I see you meant a zip you are providing. Maybe the problem was you downloaded old version of 15-second installer. EVERYBODY: Be sure to get v.1.4.2. v.1.3 uses outdated adb drivers! The adb guide is now updated to show version.
[Fire HD 6 and 7 General] RharryR:
Thanks for feedback. I'm still all new to android dev and all that so sorry for my newbie-ness. Also i was using the latest version of the installer and still didnt work? Also when i mentioned "manually installing" i just got a bit mixed up and all and didnt actually mean it. Thanks for advice hopefully it helps me in the future :)
[Fire HD 6 and 7 General] jayremmy@gmail.com:
should I be worried about that kingroot download? I got a "reported attack page" alert when I tried to start the download
[Fire HD 6 and 7 General] DoLooper:
Hmm . . . I see Firefox won't let me download it, but Chrome does. Anyway, the apk on computer is not an issue, this is:

Kingroot phones home, apparently a lot if you leave it installed on device. Pls search for info. FWIW, Kingroot is the only way to root the Fire HD and it gets wiped when you install OS 5.2.2, but you'll have to decide whether or not to use it.

You can maybe minimize transmission to developer by downloading TWRP image to Fire and installing Flashify when you install kingroot (step A6). Then turn on wifi only to root and immediately turn it off again. Not sure this will help much as they'll get whatever they get when you root, but it's an option.
[Fire HD 6 and 7 General] jayremmy@gmail.com:
I'm stuck on this step. It will go to 16% and then fail. I've tried several other versions to no avail. I have a feeling it's because my wi-fi signal has been weak for a few days, but if there are any other troubleshooting ideas you have, I'd love to hear them. When I first open the Kingroot app on my Fire it states "root access unavailable". Is that normal? It does allow me to attempt to root in spite of that.
[Fire HD 6 and 7 General] DoLooper:
I don't know about "root access unavailable," but assume it just means our device isn't on their list of supported devices. Still, Kingroot has been working for us from the beginning. The original version we used was 4.0.0.233, so maybe that will work if you haven't tried it.

There aren't any "tricks" I'm afraid, and FWIW, one person said it took more than 50 tries! As I recall there's some option in Kingroot that tells whether or not you got root. Think it told me yes, and I had, even though mine too failed early (but I got to 70 or 80%.) And try step 8 occasionally to see what "su" returns in case you're getting a false-negative. Go sit next to your router and keep trying, you'll get there!
[Fire HD 6 and 7 General] osk4rin:
Boot Loop Fire logo..kindle fire hd 7 (4th Generation)help please

Hi there!

I followed all the steps to root my kindle fire hd (4th generation).and it was rooted successfully. but at the end at the process I reboot my kindle and the (Fire logo)stays .boot loop :(

i cant access to recovery mode either.,so i dont have any option ..

please help master!!

i will appreciate thanks
[Fire HD 6 and 7 General] DoLooper:
Please don't quote entire posts. Thanks.

You reboot several times, so tell me at what point this happened: After rooting in Part A, after installing the zips in part C or after running SuperSU in part D? EDIT: [MENTION=6929004]osk4rin[/MENTION], or after installing TWRP in part B?
[Fire HD 6 and 7 General] osk4rin:
Hi there!

I rooted my kindle firefire HD I followed all the steps. After that I installed the zips. Then I reboot my kindle and I noticed that I forgot to install the xposed zip.

I decided to reinstall the twrp doing the same process with (flashy apk)

with the same trwp file.

Then the kindle fire flashed and rebooted and the Boot loop (fire logo) appear

So, what can I do master?

Thanks for your help
[Fire HD 6 and 7 General] Corelulos:
Hi, I too am stuck at a bootloop.

I got to the part in TWRP where I was installing the four zip files. It turns out that the last one, C. 3. (Exposed), was corrupt. Silly me failed to check the md5.

Needless to say, but I will anyway, after rebooting and finding TWRP no longer worked and somehow neither did the stock recovery, I tried Kingroot from the main Kindle menu. It failed, and upon reading further I tried the older version of Kingroot and it worked for gaining root access.

Then in a brilliant stroke of, (cough) genius (cough), I used flashify to try and reinstall TWRP ariel. Well, now I am stuck in a boot loop.

My kindle is a Fire HD 7 4th gen, It *was running the 5.0 dev preview.

I was wondering if I should try the fire kit with the ariel TWRP? Or perhaps there is a way to reinstall the Stock recovery or something?

Any help / ideas would be great. At this point I have little to loose except trying to sell my fire as a fancy paperweight... :(
[Fire HD 6 and 7 General] DoLooper:
Don't try to install TWRP on OS 5 with Flashify

I'm quite sure that attempting to install TWRP on OS 5.2.2 with Flashify has permanently bricked your devices. :( TWRP can only be temporarily installed on OS 5, by manually loading the 4.5.3 bootloaders and TWRP image as explained by bibikalka here: http://xdaforums.com/showpost.php?p=62011272&postcount=2].

I'd like [MENTION=6680544]bibikalka[/MENTION] to confirm that there's nothing either of you can do. If he doesn't reply in next couple days, give Amazon a call. The good news is they've been great about replacing bootlooping Fire HDs.
[Fire HD 6 and 7 General] DoLooper:
I replied about bootloop above, but I have some other questions. Hope you can take a little time to help me out:

What do you mean, "TWRP no longer worked and somehow neither did the stock recovery."? In part C you install a bunch of zip files in TWRP, including 5.2.0_stock_recovery_only.zip, then reboot to recovery (step C4). What happened when you did this?

You decided to reroot and found that an older version of Kingroot (4.0.0.0 or 4.0.0.1, I presume) worked. Are you saying that it worked on OS 5.2.2? If yes, that would be a big deal, so I need to clarify: What made you think you were no longer rooted? How do you know Kingroot worked?

Thanks for info!
[Fire HD 6 and 7 General] Corelulos:
Ok, here goes: When in the TWRP screen I attempted to flash the four items. However, the Stock 5.2.0 and the Xposed files both failed, something about the checksum didn't match. Instead of redownloading those two files, and then sideloading them and flashing them again, I jumped the gun, not realizing that TWRP would be gone by then, I rebooted. I did the reboot to recovery choice, but that of course didn't work.

Yes, Kingroot 4.0.1 I think it was. It did indeed successfully root the Dev Prev 5.2.0

I thought I was no rooted prior to that because when I attempted to install the SuperSU from the 5.2.0 screen it said I didn't have root access, aslo after downloading a root checker from the amazon store, I got the same result.

To clarify I was unable to update the the Dev Prev 5.2.2

At this point I did find that Flashify was able to gain root permissions so I attempted to flash the areil TWRP back on the boot sector, which resulted in the boot loop. I was hoping that if I could get it to reboot to TWRP I could then flash the stock recovery and maybe regain the boot recovery. As you now know it was a fail.

At this point, I did call Amazon and request a replacement. I told them I had signed up for the 5.2.0 dev prev and downloaded it and used it for a couple days. Then after shutting it down at bedtime then turning it back on the next day found it stuck in the boot loop. The issued me a RMA and have ordered a replacement sent out to me.

I did this because even in the boot loop condition the device does not show on the device managed any more. I do hear the windows device attached sound but it is the unsuccessful sound.

The reason I asked about the Firekit method was I was wondering about the way it can do a quick flash in the fastboot mode. Would that be able to flash a boot recovery?

In any case I have until Nov 1 to ship the 'brick' back to Amazon.

Thanks.

EDIT: Iam running Windows 7 home premium and have Googles ADK installed and the JDK 8. something as well.
[Fire HD 6 and 7 General] DoLooper:
Excellent information. Thank you. Glad you have a new Fire coming.

About Firekit: It's designed to flash the custom bootloader and TWRP for 2012 kindle fire. It won't work. (Doubt they would even install, but if they did and you weren't already bricked you would be.) :D I'm cautious so wouldn't use any tool/guide developed for a different device unless I understood exactly what it did.

Want to test that old Kingroot on developer preview when you get new Fire? Think a couple people tried without luck, but maybe old version was needed. (FWIW, trying it won't hurt the tablet; it'll just fail to root.) If you test it, please let us know how it goes. Thanks.

(Edit: [MENTION=5325401]Corelulos[/MENTION]. Just a shout out to you because I think I replied to thread not to your post. :o )
[Fire HD 6 and 7 General] thomasdmd:
Everything worked great for me. I managed to install a game from Google Play. The problem now is that every time I open Settings, the Settings crash. Is there any way to fix this? Thanks for all your time.
[Fire HD 6 and 7 General] DoLooper:
Oh, man, never heard this one! So, you haven't registered with Amazon? Does it open then immediately close? Let me know these things and I'll think about possible fix. (BTW, did you do those hidden steps in last section?)

Anyone else ever have this happen?
[Fire HD 6 and 7 General] thomasdmd:
>I did not originally register with Amazon, but did now and settings still crashes

>The settings button closes immediately, but I have limited access. For example, I can open the Wifi section when I tap on the Wifi logo, however when I try to go back to the main settings page, it crashes.

>I did not use the hidden steps in section D, just the regular steps

Is there a safe point I can restart again like re-installing lollipop?

Thanks again
[Fire HD 6 and 7 General] DoLooper:
I just left a post for bibikalka (here) because I too want to know best safe way to reinstall. If following b's guide is the way to go, I suggest you download the 5.2.2. update bin again, with ethernet connection if possible, since corrupted file is only thing I can think of that would cause this.

One confusion: To register you had to go to settings>my account, so settings icon worked in that case, yes? Do you go to Settings via icon in app drawer or through pull-down notifications? Does it make a difference? thx
[Fire HD 6 and 7 General] thomasdmd:
When I first read the instructions to "register the Fire", I thought that meant to register my Google account with the Google play store. So I did that initially and did have access to the settings at that time. After I signed into my Google account and downloaded Clash of Clans, I was no longer able to open the Settings section. Should I have registered with Amazon prior to connecting my Google account?

After your last comment I then registered with Amazon through the Amazon app store icon, which brings me to another question. Is it possible to turn the Kindle Fire into a strict Android device with no traces of the Kindle? I would actually prefer this.
[Fire HD 6 and 7 General] gamerlamer:
Finally got the nerve to root a couple days ago, and it went perfectly :D thanks to dolooper, bibikalka, and everyone that contributed to making this happen. You guys are legit.
[Fire HD 6 and 7 General] DoLooper:
Which you register with first makes no difference. Clearly, coc is the culprit. Please uninstall it, reboot, and see if Settings works again. If yes, reinstall coc, reboot and check Settings. If it's broken again, see if you can convert coc to system app. (You can do this with Titanium Backup or /system/app Mover app.) This might not fix Settings and might break coc, idk. Just worth a try. If you can't get coc and Settings to both work, post the problem and what you've tried in Troubleshooting forum.

No. But you can install a more customizable launcher and disable or uninstall a lot of the Fire's apps. Has to be done carefully; deleting some system apps will just break the OS. Ask in Troubleshooting about what others have safely uninstalled.