yashsingh1/xdaforums huggingface dataset:
[Fire HD 8 and HD 10 General] chemie99:
look at this thread to see if you can remove Kingroot and replace

https://xdaforums.com/amazon-fire/d...rtool-root-t3272695/post69855730#post69855730

This applied to 7" but may be same issue you are having. Note I would suspect you at least need to install the app since you used the PC version but then that might allow replacement fully. The Rootjunky script basically installs supersu and removes the kingroot app following this approach: https://www.droidmen.com/remove-kingroot-kinguser-with-supersu/

So now the questions are:

* Does the app work too or just PC version

* Does a device which has been used and registered with Amazon work? I am on 5.3.1.1, have OTA disabled, have Novalauncher sort of working, and managed to get Amazon to disable the ads lock screen but right now the device does not leave home due to Opendns constraints as I did not want to lose 5.3.1.1 while waiting.
[Fire HD 8 and HD 10 General] g4ry12:
Decided to try this on 5.3.2.1, ran Kingroot for PC few times (version 3.4.0 build 1142). Did not work. Hope it works for you 5.3.1.1 guys.
[Fire HD 8 and HD 10 General] chemie99:
I believe 5.3.2 can be downgraded to 5.3.1.1 but I also believe 5.3.2.1 is confirmed to not be downgradable.

I was lucky and got my BF unit with 5.3.1.1 and blocked OTA right away
[Fire HD 8 and HD 10 General] phpbb88:
I register to reply this thread and tell everyone that 5.3.1.1 CAN BE ROOT using KingoRoot(not KingRoot) :D

blocked OTA and planning to place Kingoroot with Supersu now.

go kingoapp.c0m(replace 0 with o) and download the PC one.

Tried APK one but seems stuck at 90% or not enough patient?

---------- Post added at 05:17 PM ---------- Previous post was at 05:12 PM ----------

my device is registered with amazon and it works

Detailed instruction on post#38
[Fire HD 8 and HD 10 General] chemie99:
so what is difference between

kingoroot

and kingroot

??

I am familiar with Kingroot but kingoroot seems to be another animal? Is kingo safe? We have a total of 3 lifetime posts from two accounts who are speaking its benefits....
[Fire HD 8 and HD 10 General] phpbb88:
honestly I dunno, I'm new to android, just bought the kindle to start playing with android...

but I found it difficult to replace the kingoroot with supersu, when I type su in terminal, it show nothing, can't give root permission to terminal emulator.
[Fire HD 8 and HD 10 General] 2ig2ag:
I replaced kingoroot with supersu following instruction from androidforums.com/threads/script-replace-kingoroot-with-supersu.919175/

After it's done, supersu doesn't prompt for root access. So I set 'default access' to 'grant' in supersu settings, and it seems to be working.
[Fire HD 8 and HD 10 General] g4ry12:
I was not paying attention, it's KingoRoot, not KingRoot. Downloaded KingoRoot for PC (v1.4.9), and tried on 5.3.2.1. Rooting failed, unfortunately.
[Fire HD 8 and HD 10 General] chemie99:
I ran the PC kingo and rooted.

I then tried to remove and replace with supersu and it failed

I lost root

I tried to rerun Kingo PC but it wanted debugging enabled even though it was

tried the apk kingo (from kingoapp.com; playstore it is a adware hack)

got stuck at 90%

exited and kindle was really sluggish; maybe something to do with my novalauncher or something?

power off reboot and stuck in boot up (Fire image). Now can't boot.

Message is be careful with kingo when removing....will try restore now.

Edit: wiping data and cache did not help. Did brick recovery to 5.3.1.1 (which is what it was on when I got it), and managed to recover. Glad I don't have to send this one back to Amazon!

I will now restart kingo root effort and if it works will report back steps (including supersu replacement).
[Fire HD 8 and HD 10 General] chemie99:
So I have root according to kingo but "root checker basic" says I do not have root.

Try to open "superuser" (which is a kingo superuser app) and it is just a blank screen then back to Home.

The removal tool that [MENTION=2825960]2ig2ag[/MENTION] linked did not work.

It failed on "mount -w -o remount /system" with "mount: operation not permitted"

I also tried to manual cp the su file over and get error "read only file system"

Edit: Despite kingo saying you have root, you don't. At least not complete root. I am unable to copy anything into system/app via ES File explorer too. I am unable to grant programs that want access, that access. For example, Titanium BackUp is unable to detect "Su and Busybox" so no go.

I am able to pm disable the firelauncher for example but that is about it
[Fire HD 8 and HD 10 General] phpbb88:
I soft-bricked once, stuck at fire logo, sideload adb and resumed normal.

I didn't use the root checker to check, the superuser included will crash when I launch it,

but I can su in adb shell..

[MENTION=2825960]2ig2ag[/MENTION]'s way not work for me either,

I cannot run the script, it said permission denied, then I try to run it manually,

I can remount /system, it do not show any error, but I am stopped at "cp ./su /system/xbin/daemonsu",

it said "daemonsu" text file in use.
[Fire HD 8 and HD 10 General] chemie99:
tried ultra explorer as another way to get to /system and it just locks up when trying to detect root.

Tried manually installing supersu.apk and it locks up and requires reboot to get back to working device.

[MENTION=7995022]phpbb88[/MENTION] I retried "mount -w -o remount /system" and it worked; maybe I wasn't in su at the time. I get the same error on file copy

So to summarize:

you can: adb su

you can: pm disable fire launcher and OTA (not sure if unrooted allows this too?)

you can not:

write to /system

install any apk that require root and grant root access

switch to supersu

adb remount (fails)

I would not call this a successful root. I am not even sure of the pm disables will last more than 24 hours.
[Fire HD 8 and HD 10 General] phpbb88:
I am using a file explorer called "ES File explorer", it cannot view the system file when it is not root.

After Kingoroot, I can view them, but I still cannot create file in /system by using that File explorer.

However I can successfully create a dir in /system in adb shell, shown below.

root@giza:/system # mkdir 123

root@giza:/system # ls

123

app

bin

build.prop

data

etc

fonts

framework

lib

lib64

lost+found

media

priv-app

recovery-from-boot.p

sbin

security

sqfs

tts

usr

vendor

xbin

root@giza:/system #
[Fire HD 8 and HD 10 General] chemie99:
I have made progress...with kingo install I did this:

copy the files of the kingo root removal to sdcard/kingo

adb shell

su

mount -w -o remount /system

cd /sdcard/kingo

cp ./su /system/xbin/daemonsu

fails because it is locked. Then I started to think that the steps were for the kingo app and not the PC so

with adb window still open, run PC program and remove root

then

cp ./su /system/xbin/daemonsu

chmod 0755 /system/xbin/daemonsu

daemonsu -d &

./step1.sh

got some errors

then sideload the supersu apk via ES file explorer

then allow supersu to do it thing and reboot.

Now I have supersu running!''

edit:

but do I have root?

Titanium backup still fails but ultra explorer does say it has root

now adb shell su fails.....
[Fire HD 8 and HD 10 General] phpbb88:
I cannot run the step1.sh, still show permission denied.

I tried manually, but got another permission error...

root@giza:/sdcard/Kingo # cp ./su /system/xbin/daemonsu

root@giza:/sdcard/Kingo # chmod 0755 /system/xbin/daemonsu

root@giza:/sdcard/Kingo # daemonsu -d &

[1] 8434

root@giza:/sdcard/Kingo # ./step1.sh

sh: ./step1.sh: can't execute: Permission denied

[1] + Done daemonsu -d

126|root@giza:/sdcard/Kingo # cp ./su /system/xbin/su

root@giza:/sdcard/Kingo # chmod 0755 /system/xbin/su

root@giza:/sdcard/Kingo # ./chattr.pie -ia /system/xbin/ku.sud

sh: ./chattr.pie: can't execute: Permission denied

126|root@giza:/sdcard/Kingo # ./chattr.pie -ia /system/xbin/supolicy

sh: ./chattr.pie: can't execute: Permission denied

126|root@giza:/sdcard/Kingo #
[Fire HD 8 and HD 10 General] chemie99:
after the errors, did you install supersu.apk?

I ignored the errors thinking they were from differences between kingo apk and kingo PC versions of what they put on device.

Supersu does manage to install itself but root checker still says I do not have root.
[Fire HD 8 and HD 10 General] phpbb88:
I didn't finish all the steps in step1.sh, cause I have installed SuperSU at the beginning of time,

I then try to run Supersu and it said blahblahblah error, need to reboot my device.

wola, i lost my connection to root adb shell, and now going to root it again
[Fire HD 8 and HD 10 General] chemie99:
I only install supersu as the step after running step1; it worked, and took hold (at least no errors and opening the program looks normal). The issue is that it won't grant access to anything (TB, flashfire, etc)
[Fire HD 8 and HD 10 General] phpbb88:
Kingoroot PC asked me to grant root access to it by pressing OK on my device's pop up when my device is under root,

but my device wouldn't show anything.

Is there any problem on fire OS that wouldn't show this pop up?
[Fire HD 8 and HD 10 General] Joneildu:
I just received a tablet with 5.3.2, and I seen someone mention that this version can be rolled back to 5.3.1.1. I cannot find anything about how to accomplish this. Can anyone steer me in the right direction?

Nevermind! Succesffully downgraded 5.3.2 to 5.3.1.1 using the method found here: https://xdaforums.com/hd8-hd10/general/unbrick-amazon-fire-hd-8-10-t3240034
[Fire HD 8 and HD 10 General] el7145:
So 5.3.2 can be downgraded but 5.3.2.1 cannot?

EDIT: found the answer, you cant currently downgrade 5.3.2.1
[Fire HD 8 and HD 10 General] :
I think it just comes down to supply/demand and what warehouse your kindle device ships from. If that warehouse had a larger supply than another warehouse which would presumably get re-supplied with upgraded version units sooner. A warehouse in Austin, Texas could still have a bunch of 5.3.1.0 units laying on their warehouse shelves/bins but in Seattle they are just getting 5.3.2.1 units or something, for example. Luck of the draw, and some timing w/ respect to when a device becomes publicly available and frequency of updates, etc. etc.

But I think mostly its 5.3.1.1 and 5.3.2.0 being shipped out [not manufactured-different things] right now.
[Fire HD 8 and HD 10 General] nbc12:
Alright, I'll start working on it. The main problem I can see is that I don't know of a way to keep the rooted shell open after you unroot, and still send it commands. Anybody got any ideas?
[Fire HD 8 and HD 10 General] gbennett:
Help! I followed these instructions and can no longer access system settings. when i choose settings, it flashes black for an instant and then right back to the launcher. I need to be able to enable installs from untrusted sources. I tried uninstalling the launcher action launcher, but still have the same problem. i also tried to enable firelauncher from adb shell, and while it said it is enabled, i still can't access settings. can someone help me figure this out? thanks in advance
[Fire HD 8 and HD 10 General] :
don't disable/remove/rename DeviceSoftwareOTAContracts/DeviceSoftwareOTAContracts.apk

(this is different from DeviceSoftwareOTA.apk which can and should be disabled/renamed

). Hopefully, it's not something else. If you are using a different launcher (like nova) make sure you have it set to default.

* adb command to enable unknown sources:

adb shell settings put global install_non_market_apps 1

from: http://android.stackexchange.com/qu...s-from-terminal-without-going-to-settings-app
[Fire HD 8 and HD 10 General] gbennett:
I couldn't find DeviceSoftwareOTA.apk but did find DeviceSoftwareOTAContracts.apk and deleted it.

Can someone post the apk for DeviceSoftwareOTAContracts and I will put it back where it was?

Thank you!!
[Fire HD 8 and HD 10 General] :
standby...

* http://www.filedropper.com/devicesoftwareotacontracts

**also, DeviceSoftwareOTA is located in /system/priv-app. rename that one.
[Fire HD 8 and HD 10 General] gbennett:
Thanks a million....will definately be waiting.

Would you also be kind enough to tell me where to find DeviceSoftwareOTA.apk? I looked in /system/priv-app/ but didn't see an apk or a folder called DeviceSoftwareOTA

I only found the folder DeviceSoftwareOTAContracts and that was where i made my mistake. im a noob!
[Fire HD 8 and HD 10 General] chemie99:
where is that located?
[Fire HD 8 and HD 10 General] :
/system/priv-app/DeviceSoftwareOTAContracts/
[Fire HD 8 and HD 10 General] chemie99:
I have DeviceSoftwareOTA there (/system/priv-app)

When you disable OTA, you lose access to that sub menu (also, you can;t see the firmware version either). Not sure what elese is in there?
[Fire HD 8 and HD 10 General] :
somehow, the DeviceServiceOTAContracts makes it so you can't access settings at all. I.e. the main settings. I went through that whole thing of reflashing cuz I didnt know what was causing it at the time until I realized it was that, as weird as it is. The other one, DeviceSoftwareOTA, yeah disable/nuke that one...but I think its that one that is the sub menu for ota updates so you can't access it if you try, which is good.
[Fire HD 8 and HD 10 General] chemie99:
I have DeviceSoftwareOTA disabled and the apk renamed, but left DeviceServiceOTAContracts alone but can't access the "system updates" menu.
[Fire HD 8 and HD 10 General] :
exactly. That's how it should be.

But, to confirm, you can access and navigate the rest of the settings menu (app manager, developer, security, display, etc)?
[Fire HD 8 and HD 10 General] chemie99:
Yes, but I was not sure what was missing from inside the "system updates" beyond the OTA (which we dont want) and the firmware version (which I suppose I can remember)
[Fire HD 8 and HD 10 General] :
Yes, I believe it just shows you your current version number and the button to check for system updates..that's it.

5.3.2.1, 5.3.2,5.3.1.1,5.3.1.....it definitely gets confusing for me!..lol.
[Fire HD 8 and HD 10 General] Joneildu:
So, I've rooted and disabled OTA updates via renaming trick. I have lockscreen ads. Is there a way to disable then via root or can I register the device with Amazon now and call customer service?
[Fire HD 8 and HD 10 General] gbennett:
So for those of us that diabled OTA updates via adb shell and that cannot see the DeviceSoftwareOTA.apk on our device with ES explorer are we safe?
[Fire HD 8 and HD 10 General] :
yes.

disable/rename/remove com.amazon.kindle.kso

---------- Post added at 05:24 PM ---------- Previous post was at 05:21 PM ----------

well..for me it's been day 2 or 3, with moderate wifi activity (i will put in airplane mode when not using it just to play it safe. If the normal OTA process is as sneaky as I have heard it to be (people just setting it down..then BAM your software has been upgraded), I think we would have all been going WTF right about now with lost root..lol.
[Fire HD 8 and HD 10 General] ahac85:
Ive used root junky supertool and it works fine, even tho its for the 5th gen fire tablet, i was able to block OTAs, installed xposed and flashfire, google playstore and block lockscreen ads. Heres the link http://www.rootjunky.com/amazon-fire-5th-gen-supertool/
[Fire HD 8 and HD 10 General] :
the 5th gen tool works/works now on 6th gen?
[Fire HD 8 and HD 10 General] ahac85:
Yes, most options work, it was not having root that was not allowing us to use it as most options available in his tool required root,
[Fire HD 8 and HD 10 General] :
oh okay, you mean you are using the tools other than the ones to root the device for stuff like otas, etc. not the actual rooting. Sorry I misunderstood.
[Fire HD 8 and HD 10 General] ahac85:
Correct
[Fire HD 8 and HD 10 General] phpbb88:
In fact, I saw another solution to disable the OTA (renaming/removing otacerts.zip), but this method didn't work for me, the otacerts.zip just keep respawning, no matter I removed it, renamed it.

So far renaming/removing the DeviceSoftwareOTA.apk together with the pm disabling ota works, I haven't been using OpenDNS for few days already.

PS. Has someone found that in the internal storage of the device, there is a folder called "dianxin"? (ie. /sdcard/dianxin). I didn't search for it but I thought it should be something about the chinese kingoroot thing(backdoor?). Tried removing it but it respawned.
[Fire HD 8 and HD 10 General] nbc12:
So does that mean that flash fire works?
[Fire HD 8 and HD 10 General] ahac85:
Yes it does
[Fire HD 8 and HD 10 General] :
good to know. there is also a file in /data/kingroot that when viewed shows "Root." I deleted it. Ill check out /dianxin later.

* https://xdaforums.com/android/help/es-file-explorer-malware-dianxin-folder-t3348545

that folder is created from installation of es file explorer, possibility tied to "notify me of app permissions setting" in es file explorer. Like a drunk uncle flirting with one's wife/girlfriend, it appears harmless. Can always use a different file manager.
[Fire HD 8 and HD 10 General] La_Luke:
I Also Hard Bricked when trying to downgrade from 5.3.2.1, had exchange with Amazon, the new unit came with 5.3.2.0 and upgraded to 5.3.2.1 with Alexa.
[Fire HD 8 and HD 10 General] phpbb88:
Thanks! for me, I didn't see any /data/kingroot file, maybe created by some application installed by yourself like the case of ES file explorer?

PS. Any good root explorer to use?:fingers-crossed:

---------- Post added at 04:32 PM ---------- Previous post was at 04:30 PM ----------

so bad you didn't keep it on 5.3.2.0, at least you can downgrade to 5.3.1.1
[Fire HD 8 and HD 10 General] La_Luke:
I won't be downgrading again, that attempt caused the brick, besides I like Alexa home button app, it works fine with my Smartthings hub. In fact I now have an extra Amazon Echo Dot, So I am sticking with most recent 5.3.2.1.

I will have to reread this post again to figure out how to, disable lock ads. Without Rooting 5.3.2.1.
[Fire HD 8 and HD 10 General] JAS_21:
Alright, just got my replacement. It has 5.3.1.0 installed. Which instructions work best? Post #38? And i tried downloading kingoapp for Windows and got a server error, does anyone have a mirror?
[Fire HD 8 and HD 10 General] ¿GotJazz?:
Yes, follow Post #38
[Fire HD 8 and HD 10 General] citrusfizz:
I had this same issue. someone posted a mirror look through the thread and you'll find it
[Fire HD 8 and HD 10 General] ¿GotJazz?:
If I do a factory wipe of my rooted v5.3.1.1 HD8-6G, will I be back at a factory clean install of v5.3.1.1? And, can I re-root again with Post #38 / re-install Google Play?

I'm trying to get back to my original battery drain levels, and I may need to wipe my Kindle to get it done.
[Fire HD 8 and HD 10 General] :
yes-however I would recommend starting from "real" scratch and flash the 5.3.1.1. bin over in recovery via

adb sideload update-kindle-49.5.5.4_user_554206920.bin

then proceed with the rooting process.
[Fire HD 8 and HD 10 General] chemie99:
clear cache, then data inside recovery first
[Fire HD 8 and HD 10 General] ¿GotJazz?:
OK, thanks [MENTION=6200352]smokejumper76[/MENTION]! I rerootededed my factory-fresh v5.3.1.1 HD8-6G last night, and did a minimal install of a few apps (not my usual pack).

I'll let my HD8 run for a few hours collecting wakelocks and battery current data to see if there is an improvement.
[Fire HD 8 and HD 10 General] :
oh yea..that too..lol :cyclops:

---------- Post added at 06:56 PM ---------- Previous post was at 06:55 PM ----------

cool beans!
[Fire HD 8 and HD 10 General] JAS_21:
Successfully rooted my replacement which came with 5.3.1.0. A few hiccups along the way , but got it figured out.
[Fire HD 8 and HD 10 General] raaghulboddy:
Can anyone explain me how to run adb shell commands? Any software required? Someone help me with the detailed explanation of how to use it.
[Fire HD 8 and HD 10 General] lr1100:
Is there anyway we can get a detailed, in order, process on how to do this along with the prerequisites required at the top of the thread? Going through 23 pages isn't very efficient.

As a bonus, it would be cool for a guide to load a custom rom (say vanilla android) on the tablet :)
[Fire HD 8 and HD 10 General] Joneildu:
After you've installed ADB drivers, just hold shift + right click in the ADB folder (may not be required to do it in the adb folder?), click "open command window here"

After that, just type "adb shell" without the quotes.

then type "su" without the quotes, for root access

after that, you'll start with the mount -w....etc command as detailed in post #38
[Fire HD 8 and HD 10 General] evianonline:
Hi. I was able to root my Fire HD 8 (2016) like described on post #38. Now I want to disable OTA - I tried these HowTo's

https://www.groovypost.com/howto/kindle-fire-hd-disable-auto-update/

https://xdaforums.com/showthread.php?t=2086450 (via KFFirstAide)

The second one seemed to be not able to disable OTA services (The where some errors in the log).

However, if I connect my device via Wifi and go to "Settings/Device Options/System Update" I can see that the kindle starts to download the latest FireOS - therefor I think the OTA is not disabled yet.

Is there any HowTo available which describes how to disable OTA on Fire HD 8 (2016)?

thank you.
[Fire HD 8 and HD 10 General] Joneildu:
I assume you have ES file explorer.

Turn on Root browser

Go to system > priv-app > DeviceSoftwareOTA

In the folder, you'll see DeviceSoftwareOTA.apk

Rename it something

Done

Also, ***DO NOT ACCIDENTLLY CLICK THE DeviceSoftwareOTAContracts FOLDER and rename that file. You'll lose all settings functionality***
[Fire HD 8 and HD 10 General] JAS_21:
I used root junky's super tool to remove OTAs. The tool is for 5th gen tablets, but it works for installing play store and removing OTA updates.
[Fire HD 8 and HD 10 General] evianonline:
great. Thank you guys. I will try both option. :)
[Fire HD 8 and HD 10 General] imadiamond:
Stuck at Step 7 "No such file or directory" error

EDIT: RESOLVED (unable to delete post)

(Kingo.to.SuperSU file was extracted to a folder of the same name, so the files were not in the right place. Navigated to same-named folder in the directory to get to the files, and problem was resolved.)

Hi, at the beginning of Step 7 I'm not able to get past the command

cp ./su /system/xbin/daemonsu

(EDIT: Issue resolved.)

---------- Post added at 05:11 PM ---------- Previous post was at 05:00 PM ----------

[/COLOR]

In your command prompt window, after you've navigated to C:\Users\[Your Username]\AppData\Local\Android\sdk\platform-tools

type

adb shell

Now you are able to type in all of the commands that you see in the rooting instructions.

There ya go!
[Fire HD 8 and HD 10 General] phpbb88:
I've added a direct link to post#38 in my first reply in this thread. I could write another thread when I hv time
[Fire HD 8 and HD 10 General] :
Maybe ask a moderator to make it a sticky when you repost it. It's legit and deserves to be right up there with the 5th gen as well as included links in the master kindle sticky guide. Maybe also include file attachments for all needed files (adb, firmware,drivers, etc).
[Fire HD 8 and HD 10 General] phpbb88:
A new thread listing the full instruction is created, [MENTION=1444920]coltxL2717[/MENTION] hope you don't mind.

https://xdaforums.com/hd8-hd10/general/complete-guide-root-hd7-8-106th-gen-t3545411
[Fire HD 8 and HD 10 General] stank22:
Thanks to the great people of this thread, I got root on my 5.3.1.1 HD8-6G. But as a rooting noob, I have a question...Now that we have a fairly simple rooting method, are there good chances of getting custom ROMs in the future for this device?
[Fire HD 8 and HD 10 General] vandyman:
Not to many people have root on this device, it is fairly new. In time when there are multiple rooted devices, then the custom roms will come.

Sent from my Nexus 5X
[Fire HD 8 and HD 10 General] imadiamond:
SuperSU: "No binaries installed"

A THOUSAND THANKS!

Still working on it, getting stuck after installing SuperSU. It says binary installation was successful, but after powering off and then back on, SuperSU says there are no binaries installed. Wiped cache/data and did factory reset on device, still happening.