yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" General] draxie:
Hmm... that isn't looiking great, is it...

Looking at the updater's README, you'll find a number of other interesting options.

synaptics-dsx-v2.1/command_line_tools/synaptics_fw_updater at master · ggow/synaptics-dsx-v2.1

Synaptics DSX v2.1. Contribute to ggow/synaptics-dsx-v2.1 development by creating an account on GitHub.

github.com

For starters, you _could_ try to dump the config area from both devices and compare. That _might_ give

a clue about which firmware to flash to what area... I've never had to deal with this personally; so, I'm afraid

this is about as far as I can stretch my limits on this one. Perhaps, @ ggow could help you. I don' t know.
[Kindle Fire HDX 7" & 8.9" General] mbuck2019:
Ok, I looked at the README and the only config I could compare is the UI. The others don't give me an output, except "-pm" which is all zero'ed out. So I got the following, but it's an exact match on the 'good' HDX7 :

Draxie, your help is much appreciated. Are you based in the U.K? I thought I could send you the kindle if you were interested to have a go. I don't mind loosing everything on it. I bought it recently which was working without issues like this on FireOS. To remind, the problem only started after I flashed it with LOS16 (Thor) via 1-Click and then reverted back to AOSP.
[Kindle Fire HDX 7" & 8.9" General] draxie:
Hmm... interesting...

I'm not in the UK, and I barely have time to take care of my own projects... SORRY!

A relatively new addition to 1-Click, specifically motivated by the OP of the LOS16 thread,

is an option to wipe the misc partition (probably, selected by default).

(I didn't include an option for fota, since I've never seen such a partition

on any of my HDX tablets, independent of what ROM, stock or custom, they were on.)

You could compare those partitions with your "good" HDX and experiment with either

wiping or reflashing a copy from the "good" one.
[Kindle Fire HDX 7" & 8.9" General] mbuck2019:
Update: It looks like the problem is fixed. Here's how. I found this option in Developer Options called "Show taps" and I activated it. I noticed there were missing taps on part the screen when I swiped my finger across, no matter how many times I tried. Of course, when I switched into portrait mode, the traces were missing on the same area of the screen. I thought the digitizer was faulty. So I stripped the device open, disconnected the mainboard, removed it and put it back, rebooted, .. et voila... the issue disappeared. It sounds like the digitizer connection to the board might have been seated firmly all that time.

Please note, the digitizer connector is located underneath the board - it was a hell of a nightmare to plug it back in as the cable cannot be pulled out enough to be able to plug it in with the fingers. It took me more than 30 mins to get it seated properly.

I reran 1-Click and reinstalled AOSP. There was no need to fiddle with synaptics this time round.

Thanks for your help and tips. It was a great way to learn.
[Kindle Fire HDX 7" & 8.9" General] draxie:
Oh, yes... it's tough to fix HW issues from SW... :cool:

Good job tracking down and fixing the culprit!!

I've heard similar stories about the volume buttons,

but unsure about the digitizer. BTW, in some of those

other cases, applying pressure EXTERNALLY at the right

place (approximately, of course; eye-balled from tear-down

videos for the location of the relevant connector) was enough.

I'd probably try that first before prying open my HDX.

Of course, you may have done that, too; for all I know.
[Kindle Fire HDX 7" & 8.9" General] tfurrows:
Had a Fire HDX 7 3rd gen (C9R6QM) sitting in a drawer wasting space, thought I'd give it a try with a new ROM. Could not for the life of me get the boot loader unlocked... until I found this thread. Yes, you have to wait for the download link, but it is worth it. Worked flawlessly, quickly, and was easy to understand. This is some solid, solid work. MANY thanks!
[Kindle Fire HDX 7" & 8.9" General] madmaxmedia:
Do you guys know if this method can be used to restore a 1-Clicked unit to stock?

https://xdaforums.com/t/how-to-revert-to-stock-6-3-4-rom-2015.3149434/

I have a 7 HDX lying around, am considering trading it in to Amazon towards an HD 10 ($15 trade in value, somehow higher than my 8.9 HDX lol.)
[Kindle Fire HDX 7" & 8.9" General] draxie:
You'd probably have to apply quite few tweaks to that process to make it work.

I posted my original back2stockscript here a while back.

BUT, I have actually updated it since then, when helping someone restore their tablet.

If you're handy with a terminal, you might want to give it a try...

(SCRIPT UPDATED on 2011-11-12)

#!/usr/bin/env bash

set -e

x=${0##*/}

,() {
echo $'\x1b[1;31m'"$*!"$'\x1b[m' >&2
exit 1
}

@() {
echo $'\x1b[1;37m'"$*"$'\x1b[m' >&2
}

[ -r "$1" ] || {
echo Usage: $x UPDATE.BIN
echo
echo Replace UPDATE.BIN above with the Amazon update to be applied,
echo e.g. $x update-kindle-14.4.5.5_user_455006420.bin
echo
, NB: the update will _also_ replace TWRP by stock recovery
}

@ make sure prerequisites installed
for cmd in adb zip unzip
do type -p $cmd || missing+=($cmd)
done
! ((${#missing[@]})) || , please install $'\x1b[7m'"${missing[*]}"$'\x1b[27m'

@ ensure a device is connected
adb devices -l | tee /dev/tty | grep -cq product: ||
, please connect your device with USB debugging enabled

u=META-INF/com/google/android/updater-script
z="$1.zip"

# make a copy with a .zip extension
cp -v "$1" "$z"

# clean up on exit
on_exit() {
trap - 0
set +e
rm -dfvr $z $u ${u%%/*}
}
trap on_exit 0

@ remove device checks, since ROM:s tend to change model name
unzip -u -o "$z" $u
sed -i '/^getprop/d' $u
zip -u "$z" $u

@ push the tweaked stock image
adb push "$z" /sdcard/

@ enter TWRP
adb reboot recovery
echo $'\x1b[1;36m'"
Your Kindle should now reboot to recovery (which _SHOULD_ be TWRP).
If the device boots normally or enters fastboot instead, please
boot to recovery manually (keep holding VolumeUp during boot)!
"$'\x1b[m'
adb wait-for-recovery

@ got recovery, make sure it is TWRP
while sleep 1
do v=$(adb shell twrp get tw_version) && [[ "$v" = "tw_version = "* ]] && break
done

@ got TWRP ${v##*= }, install stock update
sleep 1
#adb shell echo
adb shell twrp set tw_skip_digest_check 1
adb shell twrp install /sdcard/${z##*/}

@ wipe everything and reboot
adb shell twrp wipe cache
adb shell twrp wipe dalvik
adb shell twrp wipe data
adb reboot
echo $'\x1b[1;35m'"
Your Kindle should now take a long time to reboot to FireOS.
Be patient and make sure to 'Allow USB debugging', if asked!
"$'\x1b[m'
adb wait-for-device

read -sn1 -p \
$'\x1b[0;33mReboot to stock recovery for Factory Reset? \x1b[7m[Y/n]\x1b[m '
echo
[ n = "${REPLY,}" ] || {
adb reboot recovery
echo $'\x1b[1;33m'"
Your Kindle should now reboot to stock recovery for 'Factory Reset'.
"$'\x1b[0;33m'"
The [VolumeDown] and [Power] buttons can be used to select and confirm
first 'Reset to Factory Defaults' and then 'Yes -- Erase everything'.
"$'\x1b[m'
}

@ DONE

BTW, depending on condition, these tables are still trending at

between double to quadruple of the cited 15USD trade-in value on eBay...

(e.g. https://www.ebay.com/itm/324811525956)
[Kindle Fire HDX 7" & 8.9" General] madmaxmedia:
Thanks draxie! I'm not much of a command line guy, so as you say probably better to just go EBay route- I've sold on EBay but hadn't checked recent prices for the 7".

BTW- last year I had a 8.9 HDX that I managed to screw up and brick into bulk mode (probably the only person who ever screwed up 1-Click...) You gave me some suggestions but I wasn't able to work it out so it's been sitting on the shelf. I just dusted it off and charged it the other day, somehow it booted successfully into Lineage OS and is now up and running (very smoothly too, for a 2013 tablet...)
[Kindle Fire HDX 7" & 8.9" General] cee-bot:
Incredible tool. Draxie provided a link very quickly - the tool is very polished and provides full instructions as you go along. It's clear a lot of time and effort has gone into this seamless experience. Thank you so much for making unlocking my old device so simple :-)
[Kindle Fire HDX 7" & 8.9" General] timjharvey:
This is pure gold, this script should be shared with all other devs, and become a global sticky, well done!
[Kindle Fire HDX 7" & 8.9" General] tviderman:
Have been visiting this site for YEARS now but never ended up with an account. I've been a sad sad leech and will continue to be a sad sad leech. But I am so, SO grateful for this website. Have had to update my hdx every few years due to loss of compatibility with netflix/hulu. I just got one of the new baby 7" from amazon and man, I miss the hdx already. Thought I was done with it, thought I wouldn't want to get it up and running again. Buuuuuut I think I'll give it one more go :) This is a just a general "thank you" to all the types on here that understand things WAY more than I do that make these things so accessible to those willing to exert a little effort. You are all fantastic. <3
[Kindle Fire HDX 7" & 8.9" General] tekiro7:
I'd like to learn how to use the script. Can I simply copy and paste using ADB? If somehow I can get a crash course and I figure it out pretty quickly from there.
[Kindle Fire HDX 7" & 8.9" General] senthai:
Perhaps you can help me too @draxie

I ran the script and cannot get past this point:

+ '[' -r update-kindle-13.4.5.5_user_455004220.bin ']'
+ u=META-INF/com/google/android/updater-script
+ p=recovery/recovery-from-boot.p
+ d=system/etc/recovery-resource.dat
+ a=boot.img
+ t=/data/local/tmp
+ e=/sdcard/rec.img
+ z=update-kindle-13.4.5.5_user_455004220.bin.zip
+ x=mv
+ '[' . = '' ']'
+ x='rsync -u'
+ rsync -u -v update-kindle-13.4.5.5_user_455004220.bin update-kindle-13.4.5.5_user_455004220.bin.zip

sent 76 bytes received 20 bytes 192.00 bytes/sec
total size is 882479199 speedup is 9192491.66
+ on_exit=()
+ trap on_exit 0
+ unzip -u -o update-kindle-13.4.5.5_user_455004220.bin.zip META-INF/com/google/android/updater-script
Archive: update-kindle-13.4.5.5_user_455004220.bin.zip
signed by SignApk
inflating: META-INF/com/google/android/updater-script
+ on_exit+=("rm -dvr $u ${u%%/*}")
+ sed -i '/^getprop/d' META-INF/com/google/android/updater-script
sed: 1: "META-INF/com/google/and ...": invalid command code M
+ on_exit
+ trap - 0
+ set +e
+ for x in '"${on_exit[@]}"'
+ rm -dvr META-INF/com/google/android/updater-script META-INF
META-INF/com/google/android/updater-script
META-INF/com/google/android
META-INF/com/google
META-INF/com
META-INF

I have a thor model if this is relevant.

I also had to replace the cp command with rsync to get past my first error ^^
[Kindle Fire HDX 7" & 8.9" General] draxie:
You ran "the script", you say? Interesting...

What you posted vaguely resembles

an old version of my back2stock script.

This thread is about 1-Click. What gives?

That said, the latest version is in post #628 above.

You just need to "CLICK TO SHOW CONTENT"...

BUT, if cp doesn't work on your system,

then you likely have more serious issues

than just using an old version of "the script"...
[Kindle Fire HDX 7" & 8.9" General] senthai:
Yep, figured that out and ran the latest one from post #628 on another machine with linux.

There cp seems to work ;)

but the tablet does not reboot into the recovery, also not with pressing plus on the tablet.

I tried to restart manually in recovery. Then it does not go further then got recovery, make sure it is TWRP

I have Safestrap 3.75 (TWRP v2.7.1.0)

Here is the whole

Spoiler content hidden.

Do I have to do anything before running "the script" :) ?
[Kindle Fire HDX 7" & 8.9" General] longbush:
Many thanks to Draxie for this script, for me it worked flawlessly. I installed Lineage 6 rom and that continues to be an adventure, but the tablet is usable and disabling 5ghz wireless with the Magisk Module developed for that purpose seems to have stabilized the WiFi. Using the WiFi hotspot from my phone gives me a compact, full-service tablet which is what I was after, along with the challenge of making it work.

Thanks again to all the developers and users for making this possible.
[Kindle Fire HDX 7" & 8.9" General] draxie:
Wow.... OK... That's probably NOT going to work.

I'd recommend 1-Click to get the tablet in shape first....
[Kindle Fire HDX 7" & 8.9" General] senthai:
I ran the 1-Click script without any problems and now I can use my device again. It has a second life now :)

I have to find out why it does not rotate the screen and stuff, but the update to (real) TWRP and the ROM update went smooth.

Thank you very much @draxie

Great work and awesome experience!!!
[Kindle Fire HDX 7" & 8.9" General] Bobb_o:
Amazing product produced by @draxie here, thank you so much for creating this.
[Kindle Fire HDX 7" & 8.9" General] MrGluggy:
Thanks very much @draxie for the link :-) Its clear that much time and effort has gone into the unlocker and it's very good of him to offer it to the the members here.
[Kindle Fire HDX 7" & 8.9" General] JJ2017:
I have successfully navigated my HDX back to Full Stock using the script provided by @draxie in this post: https://xdaforums.com/t/multi-platf...gen-hdx-with-virtualbox.3241014/post-85889361

Thanks v. much (y)
[Kindle Fire HDX 7" & 8.9" General] ffluffy:
I installed a ubuntu on my computer but had no idea how to "run" the scripto_O. Is there anything should be setting in the terminal？
[Kindle Fire HDX 7" & 8.9" General] JJ2017:
These were my steps (follow them at you're own risk! This is a very unforgiving tablet to mess with....)

- Save drakie's script (link to script is in previous post) using text editor and save as a .sh file e.g. "HDXrestore.sh"

- make executable: sudo chmod u+x HDXrestore.sh

- download the full update .bin from Amazon (e.g. update-kindle-14.4.5.... etc etc)

- everything in same location, run at terminal: sudo ./HDXrestore.sh update-kindle-14....etc etc.bin

Hope that helps.
[Kindle Fire HDX 7" & 8.9" General] echelon64:
Will be asking for the tool and a PM. Running MacOS Catalina.
[Kindle Fire HDX 7" & 8.9" General] echelon64:
Ended up attempting the 1 click using the tool but I think it just bricked the Kindle. I'm pretty sure I did something wrong (as always). Here's the log I got from the VM:

Mac : Mid 2012 Macbook Pro Catalina

VM: Virtualbox 6.1

Browser: Firefox

Spoiler content hidden.

any help is of course appreciated.

EDIT: Of course it's my fault, I decided to fish out the BEST micro USB Cable I had (an XBOX One controller micro USB cable) and decided to re-start the whole process. And voila, 1 click unbricked the kindle and had me follow the steps go get working into twrp. I'll post again once things start working out.

EDIT2: I think, I THINK, maybe I used the wrong version of gapps and that bricked it? Not sure. Either way, 1 clicked unbricked it and a high quality micro-USB cable clinched it. 1 click has instructions on how to get your device to boot into TWRP and once there you can restart the process to unlock the bootloader. However, 1 click didn't want to unlock the bootloader at first. Great. Shut it down manually, rebooted into twrp (hold power+volume + button) and once back into twrp, restarted the 1 click again. AND then it unlocked the bootloader.

I decided to install my ROM, gapps, and magisk straight from twrp instead. I use a program called OpenMTP on MacOS to interface with android devices, works great, make sure to mount the kindle via TWRP first.

Some notes: Thanks to MacOS security, virtualbox failed to install properly via the 1 click setup script. So I just downloaded it and installed it manually, overriding mac's nagging security along the way, and 1 click worked just fine after that.

I have an extra Kindle I'll try in the morning and see if I have a less painful process.

LineageOS 16.1 doesn't work well with this device, at all. Stick with LineageOS 14.

If installing Magisk via TWRP, make sure to uncheck "verify zip signature" or magisk won't install. Make sure to rename the apk to .zip on your mac before transferring.

EDIT 3: Just did a bunch of these kindles. I can cofirm previous errors were my own. Anyway, I tried another Kindle Fire 3rd Gen and I quickly connected it via USB, let 1 click do it's thing, and it now works. Any lingering issues are TWRP and lineage related. Good stuff!
[Kindle Fire HDX 7" & 8.9" General] -394941:
hey there, i use mint 20.2 & im looking to install lineage on my thor. thanks in advance!!
[Kindle Fire HDX 7" & 8.9" General] Rasmaster:
Hello, Just dug this ol' tablet out of a drawer and would love to set it up as a PC monitor. Can I get the link. I've been with XDA for ages but took a few years as a stock user and wanting to start rooting around again. Thanks
[Kindle Fire HDX 7" & 8.9" General] webzone2022:
I have a kindle fire hdx 3rd thor wiht 4.5.5.3 Fire OS. Could I use 1-click script? and where can I get it? Thanks
[Kindle Fire HDX 7" & 8.9" General] olivermpo:
Draxie is a legend!

Works like a charm, was able to get the bootloader unlocked in less than 5 minutes using the tool!
[Kindle Fire HDX 7" & 8.9" General] andyhax0r:
I have previously performed the manual unlock method probably 5 times for both Apollo and Thor devices, and it was a somewhat tedious, time consuming process. The type where you have different guides open in multiple tabs to compare, like "do I cut the green wire or the red?"

Just utilized this 1-Click method on a 64GB Thor LTE device, and it took like 2 minutes. Has a super slick GUI, and @draxie responded to my request PM very quickly.
[Kindle Fire HDX 7" & 8.9" General] nestaole:
I have a kindle fire hdx 7 3rd apollo wiht 4.5.5.3 Fire OS. Could I use 1-click script? I send PM to Draxie for link, my host SO (macOS mojave 10.14). Thanks
[Kindle Fire HDX 7" & 8.9" General] chippa2k:
Hi ya, I know this old now, but how can I get a copy of your 1 click software, I'm using live usb Linux, and have a fire Thor hdx, with only showing loads of drive partitions. Thank you in advance.
[Kindle Fire HDX 7" & 8.9" General] ushilives:
You have to PM Draxie directly.
[Kindle Fire HDX 7" & 8.9" General] tekiro7:
Went to use the 1-Click tool tonight and just as I got my first check box done for Fastboot when my internet connection dropped. The process didn't make it to the next checkbox. My device is currently in bulk mode. ProductID is 9006. How can I get 1-Click to recognize the device again? I've been through the forums multiple times and Draxie mentioned if the product ID was 9006 their might be chance 1-Click would be able to work. I was thinking maybe I can trigger something with Fastboot since that was the step it was on when the internet went out for me. View attachment 5803131
[Kindle Fire HDX 7" & 8.9" General] draxie:
Have you tried simply connecting the device AGAIN _as is_?

1Click _should_ find devices in 9006 bulk mode (9008 is different).
[Kindle Fire HDX 7" & 8.9" General] tekiro7:
Yes, it does not recognize the device. I click the refresh button over and over again but nothing is detected. Should I persist with trying to get it detected or is this now a bricked unit?
[Kindle Fire HDX 7" & 8.9" General] draxie:
What OS is this on?

Also, did you a) restart 1Click and b) physically disconnect and reconnect your Kindle?
[Kindle Fire HDX 7" & 8.9" General] peltz.david:
Got my 1click package from @draxi very fast response time, script worked 100% and was very easy to follow along with. If you get hung up on the part where the virtualbox is trying to start up and fails, you may need to check your bios config for Vitural Technology and enable it!
[Kindle Fire HDX 7" & 8.9" General] TastyUpdate:
1-Click worked flawlessly for me on Arch Linux! I now have my Kindle running Lineage 14.1. draxie responded quickly to my message and supplied me with a download link for 1-Click.

One unrelated issue I encountered was the issue described by another user here. 1-Click included TWRP 3.5.0_9-1, and for some reason after flashing open gapps (with no reported errors in TWRP), the Google Play Store was not present. As seen in the thread I linked, the suggested solution was to use thor_twrp-3.2.3-1.img, and this worked for me. Open gapps with the Play Store installed flawlessly after this.

One last thing I'll say that perhaps draxie can answer; I was a bit skeptical going into this due to:

1. The requirement to private message draxie for a download link. What is the reason for this?

2. The concealed nature of it. The only part of readable source in the scripts was the script which starts up a VirtualBox VM. The magic happens inside that VM with the supplied iso file. Upon inspecting the iso file, the files it contained were mainly non-readable binary files. What is the reason for this?

These things raised some alarms for me of potentially malicious scripts. I do not believe it is malicious, and ultimately I did decide to proceed with running the scripts anyway. However I would be curious to know the justifications for the points I made above.
[Kindle Fire HDX 7" & 8.9" General] krazy006:
Send you a PM, VMWare running Ubuntu now
[Kindle Fire HDX 7" & 8.9" General] donts13:
1-Click tool worked like a charm for my Apollo, thanks a lot for this great tool! Now running DivestOS 14.1 on it with security patch level of June-5-2023 :)
[Kindle Fire HDX 7" & 8.9" General] nguyenlucky:
you need to have Ubuntu as HOST OS, not inside a VM
[Kindle Fire HDX 7" & 8.9" General] mrtuttle:
Good morning everyone.

I bought a second-hand HDx Fire 7.

I immediately wrote to @draxie, but maybe he's on vacation.

:-(

:-)

mrtuttle
[Kindle Fire HDX 7" & 8.9" General] mrtuttle:
Good morning everyone!!!

@draxie replied and sent me the link.

Everything went well and now I just have to decide which new ROM to install. Which do you recommend?

Incredible application, I think complex, but very easy to use. Just follow all the instructions that appear on the video step by step.

Read and follow step by step.

It may take some time, you have to be patient.

If it helps, my configuration:

dated Acer Aspire E11 netbook (Celeron N2840 2GB DDR3 RAM and 32 GB eMMC), Linux Mint 21.2 (Xfce Edition), VirtualBox 7.0 with extension pack installed and, then, with the terminal command "sudo adduser $USER vboxusers".

Little tips:

Pay attention to the USB cable, it must be of high quality.

Enable ADB on the kindle, as required, and connect it to the PC for the first time, answering all the questions that appear on the kindle. Then start 1-Click.

Some internet connections (Internet Cafe') may "block". I used my tablet as a hotspot. I connected the PC's WiFi to my tablet's hotspot and launched 1-Click.

Follow what is written, especially when it talks about pressing the volume button and the power button.

It will all be very simple.

I'm waiting for advice on which ROM to install!!!

Congratulations again for the application.

Very good!

Thank you.

mrtuttle
[Kindle Fire HDX 7" & 8.9" General] derelicte:
Sent you a DM, draxie! :)
[Kindle Fire HDX 7" & 8.9" General] ENIGMAXG2:
PM sent! I hope to recover this HDX which right now is a brick and also upgrade to a custom ROM.
[Kindle Fire HDX 7" & 8.9" General] transgirlphoebe:
Same boat,i've had my hand at building custom roms,so i'm somewhat interested in backporting security patches to CM13/LOS14.1
[Kindle Fire HDX 7" & 8.9" General] CtrPCikEDNKxSETKtfoaE:
@draxie mad props for this! Literally couldn't have been easier. Thanks!
[Kindle Fire HDX 7" & 8.9" General] zhugun:
Worked great! Thanks to drague for the easy process!

Wonder if anyone has a recommended ROM. For me, lineage 16 does not have WiFi or camera. 14.1 works fine (with its android 7.1 limits) but does slows quite a bit than stock.
[Kindle Fire HDX 7" & 8.9" General] blackson1c:
Hi, have any one the Files. Cant find any link in this thread for this tool
[Kindle Fire HDX 7" & 8.9" General] blackson1c:
@draxie hi, could you provide a fresh link
[Kindle Fire HDX 7" & 8.9" General] wave_sailor:
I want to install pi-hole, but it needs root. How do I get root going?
[Kindle Fire HDX 7" & 8.9" General] matchuek:
Thanks for your work, draxie.