yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" General] ONYXis:
Hm. Okey. You wrote that mtp not working? Why?

Maybe we need to know something ) do you try reboot tablet?

Anyway, sorry, bro, seems its your local problem. Need to investigate deeper. I go sleep. We could continue tomorrow if no luck. [MENTION=5828306]draxie[/MENTION] , safestrap couldnt be reason of this? [MENTION=7108536]RambaaZambaa[/MENTION], i see that you have installed safestrap, I hope you use stock slot?
[Kindle Fire HDX 7" & 8.9" General] ONYXis:
[MENTION=5193738]dutuka[/MENTION], it should. But I didn't try.

And to be clear I mean Kindle Fire HDX 8.9 Apollo. Not Fire HDX 8.9 Saturn.
[Kindle Fire HDX 7" & 8.9" General] draxie:
It should, yes. And, I'll need a volunteer for testing 1-Click doing everything for you on Apollo.

(I just want to make sure it works for [MENTION=5594063]ONYXis[/MENTION] on Thor, before I get others into taking risks.)

---------- Post added at 21:59 ---------- Previous post was at 21:56 ----------

Not sure, I haven't been using safestrap for ages, but that's exactly what I was thinking.

---------- Post added at 22:01 ---------- Previous post was at 21:59 ----------

Wonderful...

Can you just show the levels in between?

ls -lZ /storage
ls -lZ /storage/emulated

Talk to you tomorrow night... (-;
[Kindle Fire HDX 7" & 8.9" General] RambaaZambaa:
[MENTION=5594063]ONYXis[/MENTION]: Yes i have installed Safestrap and i'm currently running Fire Nexus ROM. How can i check if its the stock slot? (but i think it is)

Btw: i switched PCs and the MTP-Problem is gone. Still the same "no such file or directly" error while in SU-Mode tho...

I also tried to reboot PC and Tablet of course.

[MENTION=5828306]draxie[/MENTION]

root@thor:/ # ls -lZ /storage
d---r-x--- root sdcard_r u:object_r:tmpfs:s0 emulated
lrwxrwxrwx root root u:object_r:rootfs:s0 sdcard0 -> /storage/emulated/legacy
drwxrwx--x root sdcard_r u:object_r:sdcard_internal:s0 sdcard1
root@thor:/ # ls -lZ /storage/emulated
drwxrwx--x root sdcard_r u:object_r:sdcard_internal:s0 0

Thank you to both of you, great help!

€dit: I found out how to access my sdcard in SU-Mode:

cd /storge/emulated/0

There are all the files. So then i modified the "dd if=/sdcard/twrp_cubed.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery" command and the next one to this directory. Worked fine.

Restarted and it bootet right into fast boot. Exactly as described.

Now the problem is, that adb cant find the device. I tried two different pcs and all different usb ports and both linked drivers. It shows up in the device manager without any problem but adb devices shows nothing...

While booted into fire nexus, adb worked like a charm.

€dit2: Oh i see, i dont need adb at this stage. The Fastboot command worked! CM13 is running!

Awesome job ONYXis!

I guess you can add my little workaround to your first post for other ppl with the same problem.
[Kindle Fire HDX 7" & 8.9" General] ONYXis:
Congratulations) Added your expirience at second post.
[Kindle Fire HDX 7" & 8.9" General] dutuka:
[MENTION=5828306]draxie[/MENTION]

I already have installed cm11 and recovery and made a nandroid backup. In case of a fail, i still can access recovery and restore my HDX 8.9 Apollo. Am i right? If yes, i wanna give a try.

Thanks.
[Kindle Fire HDX 7" & 8.9" General] ONYXis:
Nope.

If you fail - you can't boot into safestrap recovery, just brick =)

But really I sure that this works for Apollo without issues.

Just follow instructions precisely.
[Kindle Fire HDX 7" & 8.9" General] FotixChiang:
Really great work! You are the man who never give up!
[Kindle Fire HDX 7" & 8.9" General] draxie:
How about using '/data/local/tmp' instead of '/sdcard' (for everyone)?

I don't suppose Safestrap remaps that one, or does it?
[Kindle Fire HDX 7" & 8.9" General] DB126:
Have you tried to boot into TWRP to see if that part (step #2) was successful? To access recovery power down device and then restart as follows:

- press and hold <vol-up> button

- while still holding <vol-up> press and hold <power> button

- release both buttons shortly after grey fire logo appears

If all goes well you should enter TWRP. Don't mess with anything unless you're familiar with the UI; just report back whether you got in. Exit TWRP by long pressing <power> until the device shuts off or by tapping the reboot button in the lower right corner.
[Kindle Fire HDX 7" & 8.9" General] Thanatus1985:
Yes, I can successfully enter TWRP

---------- Post added at 06:18 AM ---------- Previous post was at 06:14 AM ----------

C:\Users\Thanatus>fastboot -i 0x1949 flash unlock 0x15051c11a1.unlock

error: cannot load '0x15051c11a1.unlock'

and this is the resulta when I put my thor in fastboot mode and try to flash the unlock
[Kindle Fire HDX 7" & 8.9" General] stangri:
Are you sure the .unlock file is in the same folder (and not in Downloads)?
[Kindle Fire HDX 7" & 8.9" General] DB126:
- verify unlock file is in same location (folder) as fastboot executable

- try issuing other passive fastboot commands (eg: fastboot devices)

- check permissions; can file be opened/viewed in a simple text editor?

- try a different USB cable (sounds silly; works with surprising frequency)
[Kindle Fire HDX 7" & 8.9" General] Thanatus1985:
Well, I guess maybe my unlock file has problem, can't be open correctly in text. Would u pls help me generate a unlock file? Here are the details: Manfid 0x000015 Serial 0x051c11a1

Thx a lot

---------- Post added at 04:05 PM ---------- Previous post was at 04:05 PM ----------

Yep, in the same folder.
[Kindle Fire HDX 7" & 8.9" General] Paladin@1976:
Here is your unlock file. If your fire hdx is in fastboot mode is there a "ready" statement shown? If not try to take out the usb cable and in again after about 5 seconds.
[Kindle Fire HDX 7" & 8.9" General] Thanatus1985:
thank u so much, actually I can see ready statement in the screen when connected in fastboot mode. I'll try this file. Thx!

---------- Post added at 03:07 AM ---------- Previous post was at 02:40 AM ----------

Thank u so much, finally I got my thor unlocked. I tried different cables, but finally I foud the problem is that I got my adb folder in C: but when running cmd, it was in C:\Thanatus, so I changed the directory into C:\adb, then all solved.

---------- Post added at 03:08 AM ---------- Previous post was at 03:07 AM ----------

Thx, with your file I succeeded.
[Kindle Fire HDX 7" & 8.9" General] tydeus:
unlock file request

Hello,

I tried and got through all steps, but keep getting the "unlock code is NOT correct" answer.

My manid and serial:

cat /sys/block/mmcblk0/device/manfid

0x000011

shell@thor:/ $ cat /sys/block/mmcblk0/device/serial

0x1dd41761

Could somebody please create me an unlock file?

I created my unlock files under windows x86 with python 2.7 and GMPY2 from a google code repo (can´t post the url) . Don´t know if this is the problem. I didn´t get any errors during the steps. Only the uncorrect unlock code message at the end. Couldn´t find any posts with similiar issues. My unlock code file name is 0x111dd41761.unlock . Read it several times and recreated the file, but no luck.

Thanks in advance!
[Kindle Fire HDX 7" & 8.9" General] DB126:
Traveling w/o laptop so can easily create unlock file from your data (suspect another contributor will step-up shortly). The message indicates the unlock file is being read so it would seem just the contents are invalid. Should be an easy fix. Hang tight.
[Kindle Fire HDX 7" & 8.9" General] tydeus:
Wohhooo! Worked like a charm! Thank you a lot for your fast feedback and the unlock file stangri and Davey!!! I have an unlocked bootloader:D:D:D

I must add, that it was my fault. I didn´t carefully read the text of the second step: "2. Flash old vulnarable aboot and cubed twrp ". I did not see the word "vulnerable" and skipped this step, because I had twrp through safestrap and thought I wouldn´t that.

So if somebody experiences the same "unlock code is not correct" message: Ask yourself, if have you flashed the vulnerable aboot ;)

Thank you guys a lot and enjoy the rest of the year!
[Kindle Fire HDX 7" & 8.9" General] cristinel3:
0x1583eab449.unlock

Good evening! Please help me with creating the file for my tablet.

This is called 0x1583eab449.unlock, i have small problems with your PC and can not install Python. (No access, being a laptop from the company where I work).

Thank you very much
[Kindle Fire HDX 7" & 8.9" General] mrabrasive1:
I tried this but failed. Help please

I have an HDX 7" that was running 4.5.5.2.

After spending several hours looking for the best way to add the GApps and such, I tried this method to unlock bootloader and have encountered a snag.

I first achieved root access using Kingroot. I verified that I had root using root checker and installed Superuser. Turned off Wifi and disabled OTA by changing the filename and extension.

From there, I successfully connected (ADB Shell) to get the numbers necessary and generated the unlock code. (I wasn't sure how to verify that it was done correctly).

I read a few threads on this topic and I believe I read in one of them that I needed to place this unlock file in a special directory but I did not. I found that part after I had done the rest of this (there seems to be too many sources of incomplete info on this matter). I did place the unlock file into the root of my Python installation. I must have run the fastboot unlock command from the python folder. (I'm guessing that it does me no good there?)

Then I did step 2. Installed TWRP and Aboot, that seemed to work as planned.

I then did ADB reboot bootloader to go into fastboot. That worked.

The problem is, when I try to fastboot unlock it doesn't work. I ran it several times once I got a message that seemed to unlock something (getvar:partition-type:unlock...ok.)

It seems that I still have a locked bootloader as when I try to fastboot and change the code to boot into my existing image it won't let me saying that the hardware is still locked.

I can get into TRWP alright. I did a backup first time I went into recovery (rooted stock 4.5.5.2 with OTA disabled). I also tried to mount the storage and that seems to do nothing. I can't seem to make this thing want to boot. It stays in fastboot mode or I can manually go into TWRP. I'm not sure what my options are to recover this device.

I forgot to mention that ADB no longer works, I can't ADB Shell. It worked fine originally I even reinstalled the drivers to see if that would help. I know that if I can ADB then I can move a new image or original image and start over.

I'm just not sure what options I have at this point. I know worst case is buying a new Motherboard, but I think there has to be another way. Would a fastboot factory cable change anything? Do I need to open the back case and short something to restore the bootloader code? Is there something even easier that I have overlooked?

Sorry if I'm missing anything important, any feedback would be helpful.

Thanks and Happy New Year!

Good news! While typing this, it occurred to me than the fastboot path to the unlock file was not entered since the OP didn't explain the path process or location of the file. After using the fastboot flash unlock command while giving the file location path, I have successfully unlocked the bootloader!

Can I do anything I want now? Like flash any HDX 7 Rom? Further help would still be appreciated.
[Kindle Fire HDX 7" & 8.9" General] DB126:
Glad you are on a productive path. Unlocking bootloaders, twiddling custom recoveries and flashing ROMs is not for the faint of heart. Some things are assumed whether is be the location of a file or the ability to troubleshoot issues. You'll get a better reception simply asking for help/clarification vs pointing out the deficiencies of a post the author did not have to make in the first place. No one should get critiqued for unselfishly sharing their time and talents with the XDA community. Check out the Genius Bar if you want a seamless experience hacking your device (wait...).

You may flash any HDX compatible rom. Be sure to read the OP in the relevant ROM thread for prerequisites and caveats. I humbly suggest Fire Nexus HDX (KitKat) or Fire Nexus 6 (Marshmallow) as both are all inclusive. One zip and you are done.
[Kindle Fire HDX 7" & 8.9" General] wiihacker324:
Hello, I try to download cuberHDX and I'm not able to for some reason. Could any of you make an unlock file for me?

manfid: 0x000011

serial: 0xd80be2e0

Thanks.

Edit: Was able to download it and successfully unlocked bootloader and installed CM
[Kindle Fire HDX 7" & 8.9" General] mrabrasive1:
Sorry, I didn't mean to offend anyone. I'm new to forums (yes, I did read the rules) maybe my user name made that impression. I've rooted and romed several phones in the past and always figured things out myself. My point in highlighting the omission is more for others on this forum that are not experts on these things. It's awesome that so many people are willing to help.

Anyway, thanks for your quick reply. I am still getting stuck on fastboot when I restart my device. I did the fastboot 4000 command to return my bootloader to normal booting. This didn't change the fact that it still boots into fastboot. I'm wondering what is my best next step. Should I fastboot a boot image? (still don't have ADB Shell) Should I replace the bootloader? (seems like the scarier option). I don't understand why it won't boot normally now. I didn't delete or remove the existing image as far as I know.

Thanks again for your help!

:D
[Kindle Fire HDX 7" & 8.9" General] DB126:
Suggested next steps:

- boot device into TWRP (<power>+<vol-up> from a cold start)

- tether device; assuming a Windows host you should have access to "internal storage" in file explorer; if not Windows adb drivers need to be updated

- copy a suitable Nexus ROM zip to device ( can also use 'adb push {filespec}’)

- from TWRP wipe system, data, cache and dalvik partitions

- then flash (install) Nexus ROM

- reboot device

Post back observations/results. We'll go from there.
[Kindle Fire HDX 7" & 8.9" General] mrabrasive1:
Thanks again for the quick response. That's one thing I wasn't sure of, why my ADB Shell stopped working. Is it possible that the drivers "broke" from when I started the unlock process and when I first entered fastboot? Earlier, I did uninstall my ADB drivers and reinstall the same download I had aquired a couple of days ago but still no change. Is there something else I should try?
[Kindle Fire HDX 7" & 8.9" General] DB126:
ADB and Fastboot access require and different driver to be installed. Can you see/access the device when booted into TWRP? If not:

- boot into TWRP

- open Windows Device Manager

- tether device; observe what shows up in device manager; delete (uninstall) those entries

- untether and reboot both devices

- boot tablet into TWRP

- tether device but don't allow Windows to choose the driver; instead direct to previously downloaded ADB driver(s) for this device

If all goes well you won't need to use ADB shell commands to transfer files to the device (while booted into TWRP 3.x.x).
[Kindle Fire HDX 7" & 8.9" General] Elrandar:
Hello,

So I'm pretty new to this and I wanted to unleash the potential of my kindle fire HDX7 (thor) but something went wrong and I'm stuck in fastboot mode and can't get out of it. Strangely enough I got no error message, I even got the confirmation message at the end that says that the bootloader was unlocked succesfully.

I could get into TWRP once by pressing volumle and power and hit reboot, but went into fastboot mode again, and it won't go into TWRP again.

I'll appreciate your help, thanks.
[Kindle Fire HDX 7" & 8.9" General] DB126:
- untether device

- long press power (20+ seconds) to insure device is fully powered off

- press <power>+<vol-up> to boot into recovery mode; release both keys when Amazon logo appears

- assuming TWRP successfully booted you should be able to copy a ROM image to device via USB tether; see previous posts for related dialog and initial ROM recommendation and steps to prepare device (full wipe of system/data partition)
[Kindle Fire HDX 7" & 8.9" General] cristinel3:
0x1583eab449.unlock

Thank you very much! I tried, but it gives me error FAILED (remote: Unlock code is NOT correct), it may be the bootloader version. software is 14.4.5.4.

I wish you a happy new year!!!
[Kindle Fire HDX 7" & 8.9" General] Elrandar:
Thgank you very much it worked without any problem !:good:
[Kindle Fire HDX 7" & 8.9" General] DB126:
- assume device is rooted which is a prerequisite to unlocking the bootloader

- vulnerable bootloader is installed in step #2 (see OP)

- test if device boots TWRP (see recent post for procedure) which validates if step #2 in unlock procedure was performed successfully

- confirm unlock file is in the same folder as adb/fastboot executablables
[Kindle Fire HDX 7" & 8.9" General] Mr McBoatface:
Hi Folks, new reg here but been floating around here a long time.

Got a strange one here, I picked up a second hand Thor on eBay, clean device and working well except for one issue the mini USB port is not working correctly. It powers and charges the device perfectly. How ever when it come to connecting the device in fastboot mode to a PC it is not recognised , it is not a driver issue it a device issue the device doesn't give a descriptor to windows or linux and show as malfunctioning device .

Originally ADB or normal data tranferer couldn't pick up the device but some electrical contact cleaner solved that , so its just fastboot mode that's the problem. Tried with 9 different USB cables and 3 PC's.

I've got twrp installed and nexus kk on this, its great to have a working recovery method and really stable ROM with everything working. I'd probably stick with that ROM even with an unlocked bootloader but still if it's possible to unlock from with android with a terminal window I'd like to give it a shot.

Other than nexus kk and cm11 are there other roms that can be flashed through twrp but not need an unlocked boot loader?
[Kindle Fire HDX 7" & 8.9" General] mrabrasive1:
It looks like everything worked!

This hardware is so good for it's time it's a shame the Kindle Fire OS was on it. I'm using the Fire Nexus Rom and so far seems to work pretty well. I'm guessing that it is a good idea to create a backup after I install essential apps?

What are the next best steps to take? Is there another thread you could point me to?

Thanks and Happy New Year!
[Kindle Fire HDX 7" & 8.9" General] DB126:
Great! Link below will lead you to other custom ROMs for this device. No need to backup current install beyond normal good practices. Enjoy your liberated device!

http://xdaforums.com/kindle-fire-hdx/orig-development
[Kindle Fire HDX 7" & 8.9" General] DB126:
Seems you have covered the bases short of cracking open the case to perform a more targeted cleaning of the USB port. I vaguely recall an older build of CM 12.1 would boot on locked devices despite the prerequisites stating otherwise. Might give that a whirl. Otherwise Fire Nexus and CM11 are excellent options despite their KitKat roots.
[Kindle Fire HDX 7" & 8.9" General] Mr McBoatface:
Thanks Davey, Yeah they are stable ROMs, use them before on my now bricked old HDX, waiting on a m/b to arrive along with some tools to see if I can bring it back to life. Will swap out the USB cable when I've it opened up.

Bluetooth is a must for me , so kk is the best. But as some stage the new roms might become stable is that regard.

Happy new year, thanks for taking the time to respond.:good:
[Kindle Fire HDX 7" & 8.9" General] myjellyrollsoul:
Hi! can someone make me an unlock file?

manfid: 0x000045

serial: 0xe085358a

Thanks in advance! and a happy new year!
[Kindle Fire HDX 7" & 8.9" General] DB126:
Later today. While waiting perform step #2 in unlock procedure then test if you are able to access TWRP. A couple people have neglected/botched that step with uncomfortable outcomes. Note step #2 can be performed independent of bootloader unlock.
[Kindle Fire HDX 7" & 8.9" General] myjellyrollsoul:
I do have access to twrp from 1 click method thanks!

I did try step 2 but it says cannot open for read: no such file directory

although twrp_cubed.img and aboot_vuln.mbn is already on root directory of the sdcard
[Kindle Fire HDX 7" & 8.9" General] DB126:
Verify location of files; check for typo in dd commands. Get this sorted before moving forward. Unlock file attached.
[Kindle Fire HDX 7" & 8.9" General] Mr McBoatface:
Swapped out the USB port and successfully unlocked now the device is recognised in fastboot :D

At this stage is it worth update twrp to v3.0.3-1 ?
[Kindle Fire HDX 7" & 8.9" General] DB126:
Woohoo! Nice to see someone isn't afraid to get their hands dirty. :)

Yep - go for v3.0.3-1. TWRP v3 is assumed (albeit probably not required) for some recent builds. The two builds between v3.0.0.0 and the latest had some minor issues with file permissions (backups) and *potentially* others that prevented flashing CM 12.1/13.0. Those issues have yet to surface in the latest release.

BTW - flashify is a nice tool for working with the recovery partition.
[Kindle Fire HDX 7" & 8.9" General] Mr McBoatface:
Updated with Flashify, which is ideal for me giving my semi-crippled USB port and fastboot problem. Saves me swapping out the USB port each time I've to update recovery. Waiting on my mb to arrive for my second hdx, if it's not recoverable then I'll do a permanent USB port transfer.

BTW for others I used Amazon's official signed drivers on my 64bit win10 system. I didn't have to disable secure boot on my PC and then enable unsigned driver to get the hdx seen in adb and fastboot.

Think these where the drivers - https://s3.amazonaws.com/android-sdk-manager/redist/kindle_fire_usb_driver.zip
[Kindle Fire HDX 7" & 8.9" General] myjellyrollsoul:
Thanks! I was already able to flash vulnerable aboot and twrp-cubed through adb shell turns I just have to change the path. Can you reupload the unlock file it says FAILED (remote: Unlock code is NOT correct)
[Kindle Fire HDX 7" & 8.9" General] DB126:
Unlock file was generated using data supplied here. Hash values as shown in attachment. If they match the error is local - possibly related to file location, permissions or command issued.
[Kindle Fire HDX 7" & 8.9" General] myjellyrollsoul:
can you reupload the unlock file or as a .unlock file extension

I downloaded the zip file 10 times already the hash value doesn't match

the zip file downloaded is consistent with these hash values:

MD5: cd2e0e43980a00fb6a2742d3afd803b8

SHA1: 81ffbd1712afe8cdf138b570c0fc9934742c33c1

CRC32: 0296da05
[Kindle Fire HDX 7" & 8.9" General] DB126:
Regenerated unlock code and compared to previous (match). Rezipped, unziped, rechecked hash values (matched). Uploaded again along with hash values for internal unlock file vs external zip.
[Kindle Fire HDX 7" & 8.9" General] myjellyrollsoul:
Thank you so much sir [MENTION=5488402]Davey126[/MENTION] I was able to unlock the bootloader with your guided help and so much patience. Thank you again! Now for the rom...
[Kindle Fire HDX 7" & 8.9" General] gobernaster:
Unlock file please!

I'm new to this and would appreciate your help.

manfid: 0x000015

serial: 0x6d985dfa

Thank you,

Scott
[Kindle Fire HDX 7" & 8.9" General] HelloMick:
unlock file

Hi! can someone make me an unlock file?

manfid: 0x000015

serial: 0x3f08b8a0
[Kindle Fire HDX 7" & 8.9" General] DB126:
Can't speak for others in this thread but I am not willing to run a code mill. Instructions for installing the components necessary to create an unlock file are contained in the OP. On occasion I may choose to produce an unlock file but that will be handled on a case-by-case basis. For those unable/unwilling to do this on their own someone else will likely step up and create unlock files on demand or as a service.