yashsingh1/xdaforums huggingface dataset:
[Fire HD 8 and HD 10 Original Android Development] drdtyc:
Looks like your computer has java error.

This error is not from your tablet, right?

I am using a Linux computer and has encountered no such java error for the three Fire 10HDs I unlocked successfully. Incidentally, the third one was just unlocked today.

Are you using a Windows computer?

If so, other Windows users may chip in.
[Fire HD 8 and HD 10 Original Android Development] tnthd2:
Can you be more specific on when you saw the error? Step 1, 2, 3 etc...?

---------- Post added at 02:43 PM ---------- Previous post was at 02:17 PM ----------

Same for me, won't install after following the instruction: https://github.com/488315/prime_modded/. There are some other similar mods but they won't run after installed.

The regular app from Google Play store runs ok though, just with low res.
[Fire HD 8 and HD 10 Original Android Development] toybits:
That is what im getting too. I tought because i was running stock. I wonder if the prime video apk from stock rom will run well. When i did look at apk extractor it was showing also 2 amazon prime apks. Do you like LOS more than the stock? Do see an improvent with useability? Also have tried LOS 14.1 by any chance? Thanks.
[Fire HD 8 and HD 10 Original Android Development] :
I am using a linux system, I followed the steps from OP, but it didn't work from step 1 (says i don't have root) so I tried your method with kingoroot apk and it gives me an java error
[Fire HD 8 and HD 10 Original Android Development] drdtyc:
Can you factory reset the device now?

If you can, try it again.

All three devices I unlocked successfully were in a state right after factory reset before I installed Kingo Root apk.

---------- Post added at 10:13 PM ---------- Previous post was at 10:06 PM ----------

I like LOS more than stock because I can browse the net using Chrome and social networking using Facebook, without the intermittent pauses when my device was running stock rom.

LOS 12.1 is full feature as far as my usage pattern is concerned. LOS 14.1 still has certain restrictions such as I cannot use a microSD card and the camera is not working at all. At least, these were the restrictions I found when I tried LOS 14.1 and I could not live without these two shortcomings.
[Fire HD 8 and HD 10 Original Android Development] maaneeack:
There's at least four kingoroot sites, and they all feel sketchy. To root a 5.6.6.0 hd10, which kingoroot do you use?
[Fire HD 8 and HD 10 Original Android Development] tnthd2:
I used the one from kingoapp.com. Should be considered as malware and just for temporary use as a workaround only.
[Fire HD 8 and HD 10 Original Android Development] :
I tried again after factory reset, I still have the same problem, am I missing something? no idea why it does that
[Fire HD 8 and HD 10 Original Android Development] tnthd2:
Where did you get kingoroot from?
[Fire HD 8 and HD 10 Original Android Development] :
the one from kingoapp.com
[Fire HD 8 and HD 10 Original Android Development] maaneeack:
I've got a hd10 that won't do anything now. Got root with kingoroot, followed the steps in the op and post 1148 but I can't get it to do anything. No screen, doesn't seem to be able to boot into recovery either
[Fire HD 8 and HD 10 Original Android Development] drdtyc:
AFter bricking, the screen is dark and shows nothing.

Try to follow the Notes of Step #3E in Post 1148 and then go back to repeat Step #3D and Step #3E. Make sure you know when to unplug and then re-plug the usb cable.

Read Post 1 again with care. Post 1148 is only expanding Step 3 of Post 1 into substeps.

Read also Post 2 about (a) Unbricking and (b) Checking USB Connection.
[Fire HD 8 and HD 10 Original Android Development] tnthd2:
It's possible that resetting didn't clear out the directory in use by kingoroot app then the app failed to download what it needed. I would try reset and delete all data, then redownload the app and run again. It possibly needs internet connection to run and apply the root.
[Fire HD 8 and HD 10 Original Android Development] maaneeack:
So step 3E doesn't do anything, and I can't even get it to show up on windows via adb or fastboot. I've tried to boot it into recovery and then navigate blind to reboot to bootloader (I have two of these to play with right now so I used the working one to guide myself). I popped the back off but I don't have the screwdrivers to take the star heads out so I can't do anything else.

If that pin is only accessible from the underside then I'll probably never be able to get to it.

It should make a difference but I was running the scripts in an archlinux VM on my windows box, I had passed the fire through, and when it was plugged in and turned on, that's how I got kingoroot installed (adb install) and then ran the first step to brick it, then moved to post 1148 for continuing.
[Fire HD 8 and HD 10 Original Android Development] tnthd2:
In addition to following the

Notes

in step #3E post 1148, how you unplug and plug the USB cable may make a difference. I got stuck at the same stage when I unplugged and re-plugged the cable at the USB-A end at the computer. Re-doing the cable at the micro-USB end on the tablet fixed the problem for me.
[Fire HD 8 and HD 10 Original Android Development] maaneeack:
I tried both, as I've been fiddling with trying to get the bootrom step to work. I popped the back off and unplugged the one battery cable and tried it that way too.
[Fire HD 8 and HD 10 Original Android Development] tnthd2:
You can try again Notes (c) and (d), even if you've already done it, as it seems quite sensitive to the timing. Also possible that Windows doesn't pass along USB connection to the VM when the tablet is off, so a direct machine running Linux is worth a try.

Otherwise I can't say much about hardware unbrick.
[Fire HD 8 and HD 10 Original Android Development] maaneeack:
I probably will keep messing with it, I've got an old laptop with ubuntu on it I could try at some point
[Fire HD 8 and HD 10 Original Android Development] :
ok I found the issue, my pi-hole was blocking kingoroot, disabled it now it works! :)

EDIT: I am about to flash the ROM, where can I get the right gapps for lineageos 12.1?
[Fire HD 8 and HD 10 Original Android Development] tnthd2:
Cool! Let us know how it goes in the end regarding unlock, root and ROM, etc.

Get the ARM64 pico package at opengapps.org.
[Fire HD 8 and HD 10 Original Android Development] :
is the ARM64 and 5.1 the right one?
[Fire HD 8 and HD 10 Original Android Development] tnthd2:
That's the right one. Bigger packages than pico failed on me (would crash later on too).
[Fire HD 8 and HD 10 Original Android Development] DragonFire1024:
Flashing gapps like we do as a memory hog in the long run. Though they are system apps they technically duplicate themselves in the data in order to update. Which then creates more memory eating. If there's anything these Amazon tablets love to do is eat as much memories they can even if you got a custom ROM. Manually adding a swap file significantly improves performance. The trick is you have to do it manually. Letting an application do it like apps to SD ends up being more trouble than it's worth in the end especially since when you uninstall it not all of it scripts and files are removed. I had just discovered a really good way of doing this not so long ago and I don't believe I've ever shared it but if you would like to know how to I will gladly make a post for you
[Fire HD 8 and HD 10 Original Android Development] tnthd2:
That'd be nice! Anything to improve performance of these slow tablets is surely appreciated by everyone.
[Fire HD 8 and HD 10 Original Android Development] toybits:
I would like to know how to do it too. Please share how you did it. Thank you in advance.

---------- Post added at 02:35 PM ---------- Previous post was at 02:24 PM ----------

Does Fire HD 10 seuz support Dolby or Dolby atmos? [MENTION=3628825]tnthd2[/MENTION] I pulled the trigger and unlocked my fire he 10 and flashed LOS 12.1 the speed and performance is so much better for me. Only downside as you said is no HD for amazon. One thing I noticed is you can change the dpi to somewhat to trick it to look better but it's always a pain to keep on changing. I think the Kodi repo is still being Improved. I will try later to flash the stock 5.6.6.0 and root it with magisk and see if prime video will run on HD.
[Fire HD 8 and HD 10 Original Android Development] tnthd2:
Cool, [MENTION=467303]toybits[/MENTION]! Dolby atmos probably depends on android versions but you can try it on suez with some patches around to see how it goes, not sure if the chipset is fast enough though.
[Fire HD 8 and HD 10 Original Android Development] toybits:
Dolby atmos working well on LOS 12.1. It helps a lot for sound enhancement. If you want to try. Install it under twrp.

https://xdaforums.com/devdb/project/dl/?id=13100
[Fire HD 8 and HD 10 Original Android Development] maaneeack:
I got it working with the VM. Once it goes to the bootloader-minimal step I had to find the correct USB device to pass to the VM, which was a Mediatek device. Then it finished and I've got TWRP installed.
[Fire HD 8 and HD 10 Original Android Development] toybits:
I want to try this to see if amazon prime video will run at HD. Some questions i have... Did you sideload the amazon stock rom using the twrp recovery? Did you have to change amazon stock rom from .bin to .zip to sideload? Can you uninstall fire os launcher directly from titanium backup then install a launcher?

Do you see an improvement in speed with stock rom after uninstalling amazon apps bloatware? Thanks in advance.
[Fire HD 8 and HD 10 Original Android Development] mxj_xda:
Yes. I sideload amazon stock ROM (5.6.6.0) using TWRP recovery. In TWRP, there is a menu option called adb sideload.

There is no need to change to .zip. You use adb sideload ***.bin on your pc (Either windows or Linux).

About launcher disabling follow this link. https://xdaforums.com/hd8-hd10/general/successfully-changed-launcher-to-nova-t3744067

Yes. After disabling most Amazon bloatware, speed improvement is very very obvious.... much faster.
[Fire HD 8 and HD 10 Original Android Development] toybits:
Just reporting and I hope this helps you [MENTION=3628825]tnthd2[/MENTION] or anyone who goes the route of what mxj_xda did:

With the stock 5.6.6.0 with magisk rooted, Prime Video was playing in full 1080p. Also a suprise, the Netflix app can now do Full HD when checked with playback specs which I think was in HD only before with non rooted 5.6.6.0 ROM, which I installed the app from amazon appstore. I also added the dolby atmos patch and wifi idle patch in TWRP which also worked for sound enhancement and help save battery when at sleep. I debloated the amazon apps and uninstalled it except for prime video, kindle app and appstore. I also used lawnchair launcher which I installed as a system app using FX root explorer and just deleted the fire launcher after installing the lawnchair to change the launcher. It is working really well and It is almost as responsive as the LOS 12.1 in my experience. but with true widevine L1 working. :D
[Fire HD 8 and HD 10 Original Android Development] tnthd2:
What a nice surprise! Worthwhile reward for all these experiments. :good:

Did you enable Magisk Hide? Does it pass safetynet?

I'll soon go for it just for the new version of Netflix app alone.
[Fire HD 8 and HD 10 Original Android Development] toybits:
Nope I did not enable magisk hide. Should i enable it? I just tried safetynet now, it says ctsprofile was false, Basic integrity true this is without magsik hide. I guess it should not matter coz prime was 1080p and netflix says full HD. I would suggest install the dolby atmos and wifi idle patch coz it really makes a difference. My tablet was on today at 745am, left it at standby now its still is 100% at 5:45pm. Dolby atmos just makes the speaker sound much better. Try it and let me know your experience! So far I am really happy with the performance. :good:

Btw, it says on playback specs on netflix app the DRM widevine L1 version 1 and playback: maximun playback resolution Full HD. Supported hardware coded vp9 (secure) and AVC-High (secure).
[Fire HD 8 and HD 10 Original Android Development] tnthd2:
Both NF and PV work without hide so enabling it won't make a difference. If you have some app that checks for root then hide it, but these 2 main streaming apps don't seem to bother with either root or unlocked bootloader. Not sure what they check for in either stock unrooted rom or LOS that causes the low res...

Battery efficiency is pretty good with LOS 12.1 also, mine running about 2% a day idling, but I think the wifi patch would still be useful since I don't really need the tablet connecting to anything while not in use.

---------- Post added at 06:07 PM ---------- Previous post was at 06:03 PM ----------

It says the same on my stock rom device except HD instead of Full HD, but I got Google stuffs installed. Did you have Google apps services on yours?
[Fire HD 8 and HD 10 Original Android Development] toybits:
Yes, I have google apps services, google play store and stuff installed. That is what I first noticed with netflix it changed from HD to Full HD. That is why I recommend the wifi idle patch on rooted stock to be as good as LOS battery when idle coz the stock rom is not as efficient without it, as far as I can remember.

So what I did is to directly abd sideload from twrp the stock rom without formatting the LOS 12.1. Then when it booted, installed magisk, dolby and wifi patch on twrp. So I guess it was a dirty flash. But it worked so I did not bother to do a clean install. Then used Amazon tool box 7.1 to install google play services.

So far every streaming app that I had tested been has working well. I have not tested any games as I don't play as much.
[Fire HD 8 and HD 10 Original Android Development] Raison07:
Help for "ERROR: Serial protocol mismatch" needed

Hi,

i have the same problem as many of you before. I think if tried (probably) every possible way posted here.

Maybe you have some more tips for my problem.

sudo ./bootrom-step.sh
[2020-06-17 17:19:25.940091] Waiting for bootrom
[2020-06-17 17:19:39.848679] Found port = /dev/ttyACM0
[2020-06-17 17:19:39.876268] Handshake
[2020-06-17 17:19:39.897345] Disable watchdog
b''
b'\x00\x01'
Traceback (most recent call last):
File "main.py", line 192, in <module>
main()
File "main.py", line 82, in main
handshake(dev)
File "/home/lap/Downloads/amonet/modules/handshake.py", line 11, in handshake
dev.write32(0x10007000, 0x22000000)
File "/home/lap/Downloads/amonet/modules/common.py", line 163, in write32
self.check(self.dev.read(2), b'\x00\x01') # arg check
File "/home/lap/Downloads/amonet/modules/common.py", line 90, in check
raise RuntimeError("ERROR: Serial protocol mismatch")
RuntimeError: ERROR: Serial protocol mismatch

Kind regards
[Fire HD 8 and HD 10 Original Android Development] tnthd2:
More details of what you did before this?
[Fire HD 8 and HD 10 Original Android Development] ro-76:
I'm running into a problem, which I cannot figure out.

I get this error:

ubuntu@ubuntu:~/Documents/amonet$ sudo ./step-1.sh

sudo: ./step-1.sh: command not found

ADB is ok and the device is recognized, but for some reason, I cannot get the step-1.sh to run.

thanks
[Fire HD 8 and HD 10 Original Android Development] drdtyc:
Were you shorting contacts in the hardware brick method when your ran sudo ./bootrom-step.sh?

If this is the case, I think your shorting was not effective. In other words, when shorting is not done properly, Serial protocol mismatch will happen.

I encountered this same error previously. Once my shorting was done properly, sudo ./bootrom-step.sh went through smoothly. I used the sharp tips of a metallic tweezer to perform the proper shorting of contacts.
[Fire HD 8 and HD 10 Original Android Development] tnthd2:
Set execute permission for the scripts:

chmod +x *.sh
[Fire HD 8 and HD 10 Original Android Development] kindle-user:
question

Hi

I've asked in another area before. Maybe someone here has an idea what I could do.

my problem is that after a successful unbrick the tablet still won't start. I plugged the battery in and out.

jorg@jorg-ThinkPad-X250:~/Schreibtisch/boot$ sudo ./bootrom.sh

[sudo] Passwort für jorg:

[2020-06-17 22:20:30.197994] Waiting for bootrom

[2020-06-17 22:20:55.321570] Found port = /dev/ttyACM0

[2020-06-17 22:20:55.322073] Handshake

[2020-06-17 22:20:55.322675] Disable watchdog

* * * Remove the short and press Enter * * *

[2020-06-17 22:21:05.042216] Init crypto engine

[2020-06-17 22:21:05.066640] Disable caches

[2020-06-17 22:21:05.067332] Disable bootrom range checks

[2020-06-17 22:21:05.083522] Load payload from ../brom-payload/build/payload.bin = 0x45D0 bytes

[2020-06-17 22:21:05.085466] Send payload

[2020-06-17 22:21:05.634210] Let's rock

[2020-06-17 22:21:05.636187] Wait for the payload to come online...

[2020-06-17 22:21:09.240955] all good

[2020-06-17 22:21:09.241475] Check GPT

[2020-06-17 22:21:10.530568] gpt_parsed = {'proinfo': (1024, 6144), 'PMT': (7168, 9216), 'kb': (16384, 2048), 'dkb': (18432, 2048), 'lk': (20480, 2048), 'tee1': (22528, 10240), 'tee2': (32768, 10240), 'metadata': (43008, 80896), 'MISC': (123904, 1024), 'reserved': (124928, 16384), 'boot': (141312, 32768), 'recovery': (174080, 34816), 'system': (208896, 3306496), 'cache': (3515392, 868352), 'userdata': (4383744, 56687583), '': (0, 1)}

[2020-06-17 22:21:10.530913] Check boot0

[2020-06-17 22:21:11.733233] Check rpmb

[2020-06-17 22:21:11.940314] rpmb looks broken; if this is expected (i.e. you're retrying the exploit) press enter, otherwise terminate with Ctrl+C

[2020-06-17 22:21:17.995600] Downgrade rpmb

[2020-06-17 22:21:17.997851] Recheck rpmb

[2020-06-17 22:21:18.888288] rpmb downgrade ok

jorg@jorg-ThinkPad-X250:~/Schreibtisch/boot$ ^C

lsusb shows:

jorg@jorg-ThinkPad-X250:~$ lsusb

Bus 001 Device 002: ID 8087:8001 Intel Corp.

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Bus 002 Device 003: ID 04ca:703c Lite-On Technology Corp. Integrated Camera

Bus 002 Device 002: ID 8087:0a2a Intel Corp.

Bus 002 Device 098: ID 0e8d:0003 MediaTek Inc. MT6227 phone

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

jorg@jorg-ThinkPad-X250:~$ ^C
[Fire HD 8 and HD 10 Original Android Development] k4y0z:
You could start by running the scripts from this thread, "bootrom.sh" is not one of them.

Why are you terminating the script with Ctrl+C ?
[Fire HD 8 and HD 10 Original Android Development] kindle-user:
bootrom-step.sh worked!

thank you!!!
[Fire HD 8 and HD 10 Original Android Development] shogunreaper:
is there a way to see if my kindle's bootloader is unlocked?

I rooted years ago when i first got it but i can't remember if i unlocked the bootloader
[Fire HD 8 and HD 10 Original Android Development] Michajin:
Reboot into recovery. Likely you just have root. Recovery would be twrp if you unlocked. But, good news the process of unlocking should be fairly easy with root...
[Fire HD 8 and HD 10 Original Android Development] shogunreaper:
seems i dont have twrp installed, thanks.

does that mean i still start from step one in this guide?
[Fire HD 8 and HD 10 Original Android Development] Michajin:
Yes start at step one, if you have root you don't need mtk-su, just run the steps. Having root should prevent you from having to open the device. Only if something goes wrong though.
[Fire HD 8 and HD 10 Original Android Development] drdtyc:
I need clarification of the above section taken from OP.

I understand that I can use adb from my linux laptop to run the above fastboot command.

I have 2 queries:

1. Where do I get the "recovery.img" file?

I did not backup FireOS before I flashed Lineage OS 12.1.

2. Can I still use TWRP (via VOL-UP and POWER buttons) if I want to go back to Lineage OS 12.1?
[Fire HD 8 and HD 10 Original Android Development] Michajin:
That recovery is for stock recovery. Basically relocking the device. You can download stock ROMs from amazon. change name from .bin to .zip. flash them in twrp. If you flash stock recovery you lose twrp. You shouldn't need to use fastboot.
[Fire HD 8 and HD 10 Original Android Development] drdtyc:
Great!

I have been able to use TWRP to flash FireOS by changing the bin file to zip file.

By the way, I downloaded 5.6.3.0 from this thread:

https://xdaforums.com/hd8-hd10/general/firmware-update-fire-hd-10-7th-gen-t3926806

Before I flash the bin file (renamed as zip), I also did an advanced wipe to wipe (1) Dalvik/ART Cache, (2)System, (3) Data, and (4)Cache.

5.6.3.0 thus boots up OK. Furthermore, this version of FireOS can be temporarily rooted by mtk-su allowing me to trim down those unwanted Amazom stuff.
[Fire HD 8 and HD 10 Original Android Development] Michajin:
Flash magisk for root. Mtk-su is a temp root and not full root. Personally I use 14.1 with the fixes. But to each their own.
[Fire HD 8 and HD 10 Original Android Development] drdtyc:
Thanks for the heads up.

I do not need a permanent root. Thus mtk-su is adequate for my temporary usage.

Somehow to me there is a learning curve to use magisk. I have so far delayed to use magisk as my needs are not so extensive to require a permanently rooted tablet.
[Fire HD 8 and HD 10 Original Android Development] kayodele:
I'm sorry if this has been answered elsewhere.

Can I expect this to work for a anti rollback-bricked Fire HD 10 5th generation with 5.3.X firmware rolled-back to 5.1.2 ?

Thanks.
[Fire HD 8 and HD 10 Original Android Development] kojam:
How to short?

Where to short?

What to short?

Special tool needed to remove the PC board? Definitely not a regular screw driver.
[Fire HD 8 and HD 10 Original Android Development] kojam:
Help please!!!!

Seemingly, I have a type 1 brick, however, endless attempts to unbrick fail with the same 'mismatch' error soon after plugging in the device. I've tried on Kali Linux, Ubuntu Studio, and NeonOS. What am I doing wrong?

As well, how do I check to see what it says in "/usb/"?

Thanks in advance!
[Fire HD 8 and HD 10 Original Android Development] drdtyc:
Type command

lsusb

Then check the listing of all USB devices connected to your computer.

---------- Post added at 05:29 PM ---------- Previous post was at 05:23 PM ----------

The shorting point is the blue dot in the picture of this post.

https://xdaforums.com/hd8-hd10/development/2017-fire-hd-10-unbricking-anti-rollback-t3896616

The tool to open the device is some phone repair tool kit.

Here is an example from Amazon Canada.

https://www.amazon.ca/Tournevis-Ouverture-Démontage-Réparation-Smartphone/dp/B01NAEWU8O/

Watch this video to see how to remove the ciircuit board from the case inside the Fire 10 hd 2017. The shorting point is at the back of the circuit board which this video does not show. See the back of the board in the image of the above post.

https://www.youtube.com/watch?v=U-Qm_slDOoQ
[Fire HD 8 and HD 10 Original Android Development] kojam:
Help please!!!!

THANK YOU drdtyc!

Actually THANK EVERYBODY ON THIS WONDERFUL SITE FOR ALL THEIR HARD WORK OVER THE YEARS!!!

JUST INCREDIBLE!!!

You know, i looked at that pic 1000 times and did not see the blue dot UNTIL NOW. :eek::silly::cyclops:

My board looks like this:

https://imgur.com/a/VOVGGSb

So, I guess that I have to flip the board over to find that spot. Ok. Check! Now I'm cooking!

That was the last video I watched yesterday about opening it up and was wondering if that's the best one. I guess you answered that for me.

Feel really special to be a part of this community. Only wish I had a tall forehead to be smart enough to give, rather just take all the time.
[Fire HD 8 and HD 10 Original Android Development] drdtyc:
This youtube video matches the circuit board of your image.

https://www.youtube.com/watch?v=FKNSA_GV7Og

You can lift the circuit board and flip it over at the top end of the video as the four wires of the two speakers are soldered onto the board. By doing so, you avoid the need to de-solder and re-solder the four wires.