yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" Android Development] Cpasjuste:
[MENTION=837767]gbgadgets[/MENTION]

You need selinux support for flashing zips that use set_metadata function in the updater-script, at least (cm11, gapps 4.4 I think etc...) but you can swap this commands by the old set_perms command (long work) or there is a custom updater-binary/script around on xda which does just that.

Its why I built the Thor recovery with the 4.5,2 kernel source but [MENTION=5749760]ggow[/MENTION] is also right, appolo kernel is unbootable for now due to some crap with bootloader/dt compatibility.

In any way you're right as we need the 4.x kernel running for cm11 to work (or at least I wasn't able to get display working on < 4.x kernels, and other problems due to JB binaries).

So to be clear the biggest challenge (and probably the only as I did all the hard work on cm11) is to get kernel 4.x running (fix dts?), and you don't need a special recovery for flashing that !
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
TWRP 2.8.4.0

I have updated the OP with a new release.
[Kindle Fire HDX 7" & 8.9" Android Development] holeshot77:
You can flash this via flashify in play store. Tested with success. Ty ggow.
[Kindle Fire HDX 7" & 8.9" Android Development] AmazonLeaker:
You will get a new device with updated OS again

Also can you let me know if the recovery is working on flashable on 4.5.2 OS?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
I was lucky and they sent me a new device with the old firmware.

And no TWRP will not work with 4.5.2.
[Kindle Fire HDX 7" & 8.9" Android Development] AmazonLeaker:
Okay so as if his 4.5.2 is useless ?

If so they have please see if you can achieve something for that we well
[Kindle Fire HDX 7" & 8.9" Android Development] jimyv:
Well like a dumbA I tried to upgrade via rename bin to zip got to .2.4 lost any recovery and black screen.... I do have root and adb shell permission and it does boot ,charge etc. Just no display for most part like any launcher .. ( I still got super user prompt for ADB shell )...I also wiped data for all user and system apps via titanium backup not sure if that made black screen or not .... need to flash stock .2.4 recovery? To fix black screen? Or do I need to push a Specific file ? That of which I do not know the details of . Because I don't know which files would have been deleted by titanium backup . The device has been sitting for a few weeks now I figure it's time to get it up and running any help would be appreciated thanks

Apollo first release of TWRP started at .0 flashed renamed files each increment up to and including .2.4 I know I can redo the downgrade and anything else I need to do once I get a usable ui
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Which firmware were you coming from, before you flashed the 3.2.4 bin?

You should check whether you also have the stock recovery installed as a result.

Usually if you have a black screen on booting there might be a mismatch between your /system and /boot partition versions.
[Kindle Fire HDX 7" & 8.9" Android Development] conan1600:
Just to confirm it for everyone, I was on 14.3.2.3.2 and flashed the latest version of this TWRP with Flashify for Root Users and had no troubles at all. A few reboots in, 1 backup created and a few hours on time have led to 0 issues so far. TY to Ggow for this as I have been concerned with how to backup and restore this device for quite some time. I was not happy with safestrap limitations so I never used it, just rooted and xposed my stock ROM, so this could potentially solve a future problem.
[Kindle Fire HDX 7" & 8.9" Android Development] jimyv:
Apollo first release of TWRP started at (.0) flashed renamed files each increment up to and including( .2.4 )I know I can redo the downgrade and anything else I need to do once I get a usable ui

not unless the recovery is black screen also. What is strange is when it is booted and I tried adb shell I did get su prompt ,,, just no launcher or notification bar etc..this is what I'm thinking let me know if I am mistaken. I should grab and flash a stock recovery image via the same as flashing this recovery with PC. Push. 3.2 build prop file to system then try this. http://xdaforums.com/showthread.php?t=2793253 with .2.4 WiFi was off before black screen and OTA had been re- enabled I believe.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Open a shell and issue the following command with your device connected:

adb shell getprop >props.txt

then post the props.txt file that is generated. This will give us some more info about the current state of the device.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
If you can see the lockscreen then the cause of the problem is not what I thought it was. It is more likely something wrong on your /system partition. And in that case then then yes your best bet is to try what you said earlier. Flash stock recovery, and try r3pwn's method of recovering the device.

Good luck, let me know how it goes.
[Kindle Fire HDX 7" & 8.9" Android Development] jimyv:
thankyou for info could you edit above tx quote for my info please ,I aready fixed my end lol you got me before I saved,,took me a bit to figure out proper commands and then had to learn how to post code lol then I noticed my info
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Done :)
[Kindle Fire HDX 7" & 8.9" Android Development] jimyv:
still has my ip in your copy

my fault though sorry , just woke up and getting ready for work. may wait till I get home to do anymore and charge device
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
removed the field [ro.build.host]
[Kindle Fire HDX 7" & 8.9" Android Development] jimyv:
I am thinking when I wiped data for all system and user app in titanium backup is when this happened. black screen anyway, the recovery was borked before that but booted and functioned I kept messing around because recovery wasn't mounting cache . I let myself get carried away and forgot Apollo is no wear near as ready for development then my other two thor devices and flashed .3.4 getting impatient .
[Kindle Fire HDX 7" & 8.9" Android Development] jimyv:
you wouldn't happen to have a( .4 ) recovery img ? or will (.0) img work? and will the code for flashing this trwp recovery work also?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
The only stock recovery image I have is 14.3.2.3.2. It should boot ok. I am not sure if the act of flashing a rom will initiate any checks with regard to the recovery version except if you have 14.3.2.5/6 so it may be safe to flash versions lower than this.

Yes the code for flashing twrp will work.

If you want the 14.3.2.3.2 version you can find it here <- md5 = 3de99d1f2b6391d965d276bf8a1e93b1
[Kindle Fire HDX 7" & 8.9" Android Development] jimyv:
results

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell
shell@android:/ $ su
su
root@android:/ # dd if=/sdcard/stock_recovery_14.3.2.3.2 of=/dev/block/platform/
msm_sdcc.1/by-name
.3.2.3.2 of=/dev/block/platform/msm_sdcc.1/by-name <
/sdcard/stock_recovery_14.3.2.3.2: cannot open for read: No such file or directo
ry
1|root@android:/ # dd if=/sdcard/stock_recovery_14.3.2.3.2.img of=/dev/block/pla
tform/msm_sdcc.1/by-name
4.3.2.3.2.img of=/dev/block/platform/msm_sdcc.1/by-name <
/dev/block/platform/msm_sdcc.1/by-name: cannot open for write: Is a directory
1|root@android:/ #
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
The command you need to use is:

dd if=/sdcard/stock_recovery_14.3.2.3.2.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
[Kindle Fire HDX 7" & 8.9" Android Development] jimyv:
hell yes! now I have a recovery! thank you...now back to work and reading .. I need to exract 3.2 and pull build prop file and find those commands to push it properly

or I have your Apollo rollback zip I can get (.9) build prop from push it fix permissions then push (.0) to cache ? correct?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Off to bed now for me, so good luck. Let me know how it goes.
[Kindle Fire HDX 7" & 8.9" Android Development] XxD34THxX:
Will this work on newer firmware? If not, is there some way to downgrade to stock from 14.3.2.6 on said device? Also, what ROMS will work with this TWRP version?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
- http://xdaforums.com/showpost.php?p=53382929&postcount=1 (also covers Apollo rollback)

- http://xdaforums.com/showpost.php?p=57899310&postcount=1

- http://xdaforums.com/showpost.php?p=58717020&postcount=1

- http://xdaforums.com/showpost.php?p=54563092&postcount=1

As always read, read and read some more before you flash.

Your other options is to simply root, disable OTA (critical!), side load a few apps and enjoy your HDX as Amazon intended which isn't that horrible of an experience. Some folks have had success installing Google Play Services; read up to learn pros/cons.

I have a pair HDXs. One running Nexus 2.0.5 (which is excellent), the other rooted Amazon stock w/3.2.6. On the latter I can sideload 95% of the apps I use on a daily basis while still enjoying a few 'native' Amazon services such as Prime video and a fully functional Kindle app. Both of these can be obtained on alternative ROMS but the experience isn't quite as fluid.

Have fun!
[Kindle Fire HDX 7" & 8.9" Android Development] XxD34THxX:
I have already rooted my kindle and disabled OTA as well as sideloaded all google services including working google play.. I am not satisfied with Amazon's software as it has always been buggy for me.
[Kindle Fire HDX 7" & 8.9" Android Development] draxie:
Howdy and thanks!

I've been using this for a good while now,

but I only noticed today that apparent typo.

The first number should be 14 not 13 for Apollo, right?

Oh, well... I'm not here to complain, anyway. :p

I seriously dislike the default tint of TWRP on my HDX 8.9;

so, I changed that to something more "standard" on this device.

I suppose this should go into the Themes thread,

but it's really only relevant to those that want TWRP;

so, I decided to put it here, anyway.

I'm attaching a version of OP's TWRP build with the new tint

along with a bash script that uses Imagemagick to transform

the original images and ui.xml, when pointed to th

right resource directory (res or twres).

Enjoy!
[Kindle Fire HDX 7" & 8.9" Android Development] EncryptedCurse:
What exactly do you mean by tint?

Can we get a screenshot? :p
[Kindle Fire HDX 7" & 8.9" Android Development] draxie:
Screenshots added.
[Kindle Fire HDX 7" & 8.9" Android Development] EncryptedCurse:
Oh, I see. I personally use z31s1g's Materialised theme.
[Kindle Fire HDX 7" & 8.9" Android Development] kudoz83:
Have you customised them for the 2560 x 1600 res? Or you mean you're using the theme on other devices?
[Kindle Fire HDX 7" & 8.9" Android Development] draxie:
I checked that out first, but I didn't fall for the "app-like" approach and certainly not for portrait mode.

Is there a high-res landscape version these days?
[Kindle Fire HDX 7" & 8.9" Android Development] dpeddi:
ggow: does the kernel is build from source? From which amazon source release? Does you applied a lot of patches?

dpeddi

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
dpeddi, if your talking about the kernel I built for Nexus ROM and Magic Beanz then yes all from source. My base for this was .3.1.0. It hardly resembles that now because - yes I have applied many changes.

All on my github page: https://github.com/ggow/android_kernel_hdx_nexus
[Kindle Fire HDX 7" & 8.9" Android Development] dpeddi:
And the one inside this recovery?

I've just build twrp from cpasjuste source but I can't get any image on screen.. i hope you can help me so i can start doing other esperiment
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Oh yes, I have already been through this. It doesn't work. There is something different for apollo that means the display doesn't come up even though the kernel boots.

It started to take up too much time so I decided to evolve my own kernel from the 3.1.0 sources.

You have probably seen this thread: http://xdaforums.com/kindle-fire-hdx/development/booting-4-1-1-kernel-bootloader-t2936460

You could look there for more information.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Update

New Apollo Recovery Image Posted built from latest 4.5.3 sources.

Thanks [MENTION=4276415]p1gl3t[/MENTION] for solution to boot new kernel.
[Kindle Fire HDX 7" & 8.9" Android Development] mxzwhx:
Hi [MENTION=5749760]ggow[/MENTION],thanks for the amazing work you have been doing .I have a question about the stock firmware version,you said 'Ensure you are running stock firmware 14.3.2.3' ,does that mean I have to restore 3.1.0 stock firmware via twrp and enable fire os ota and update the stock to 14.3.2.3.2 ,then flash this new version of twrp for apollo ,and then flash the nesus rom or magic bean rom ? one more question ,is there never a stock firmware version named 14.3.2.3 ?I am confused
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
It's a typo, should say 14.3.2.3.2.

If you already have twrp installed then you can use the files here:

http://xdaforums.com/kindle-fire-hdx/development/twrp-flashable-3-2-3-bootloader-upgrade-t3025504
[Kindle Fire HDX 7" & 8.9" Android Development] mxzwhx:
Thanks,waiting for test your new kikkat or lollipop rom ,it's gonna be awesome
[Kindle Fire HDX 7" & 8.9" Android Development] conan1600:
So I'm exhibiting some odd behavior. I have the last version of TWRP you made installed, after install I seem to be using battery pretty fast and when I get low on battery it is reporting battery stats incorrectly as well. It will say 11% then pop back up to 32%. Anyone else had this problem?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Seems ok for me here, let me know if you want me to post the previous version.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Ok for me.
[Kindle Fire HDX 7" & 8.9" Android Development] draxie:
Minor correction

I suppose you mean aboot/emmc_appsboot.mbn from 14.3.2.3.2 (or earlier?),

as the rest of the firmware doesn't seem to play much of a role for this.

(I'm on 14.4.5.2 for all firmware except 'aboot' and 14.4.5.3 for boot/system.)
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
You are correct, I stated it in the OP like that for simplicity.
[Kindle Fire HDX 7" & 8.9" Android Development] mxzwhx:
hello @ggow,I need your help

Hi [MENTION=5749760]ggow[/MENTION],Can you make a amazon stock 14.3.1.0 backup via apollo-twrp-2850 and a 14.3.2.3.2 backup via apollo-twrp-2850 ? I really need this ,and I've forgot to to it so when I flashed your rom.I know your're very busy and I hate to interrupt you with such thing.Help me when you have time if you don't mind ,If you do ,I would totally understand .thanks again for your incredible work .
[Kindle Fire HDX 7" & 8.9" Android Development] jeryll:
Ok, take a deep breath, and count to ten... then open this thread and download required firmware by yourself, install it, make a backup in TWRP... done!

Why would you even ask busy developer with this type of question? Why not ask community here instead? Somebody with nothing better to do will be most probably willing to help you, but why do you even need this?
[Kindle Fire HDX 7" & 8.9" Android Development] mxzwhx:
Hi [MENTION=3370844]jeryll[/MENTION],I have all the bin files I need ,but I don't know how to convert a bin file to a twrp flashable zip ,I've tried [MENTION=5828306]draxie[/MENTION]'s tool with Cygwin.But it won't work ,I am very bad at coding ,even I really wanna learn that ,but I don't know where to start ……That's a whole other story :D. What I've been try to say is I am currently on CM11 and I forgot to have backup for the stock firmware (14.3.1.0,and flashed the [MENTION=5749760]ggow[/MENTION]'s upgrade 14.3.2.3.2 bootloader) ,and I think there is something wrong with my kindle(software),I can't exactly tell the details about .So I wanna recovery to stock firmware 14.3.1.0 and update the stock to 14.3.2.3.2 ,and then install CM11 again .I hope you could understand .and Thank you for your information and help.
[Kindle Fire HDX 7" & 8.9" Android Development] jeryll:
Just rename amazon .bin file to .zip and flash with TWRP, it is that simple. It is mentioned several times in TWRP thread - one example here.

EXAMPLE:

update-kindle-14.3.1.0_user_310079820.bin renamed to update-kindle-14.3.1.0_user_310079820.zip

So if you want to reflash you bootloader files enter TWRP 2.8.X.X:

1. backup whatever you need

2. flash 14.3.1.0 bin file renamed to zip

3. make backup of pure amazon stock rom fw 14.3.1.0 if needed (remember, no OTA disabled, no root in this backup)

4. flash 14.3.2.3.2 bin file renamed to zip

5. make backup of pure amazon stock rom fw 14.3.2.3.2 if needed (remember, no OTA disabled, no root in this backup)

6. flash required CM11 rom if needed or restore your backups of CM11 ... reboot ... done.

Remember, everything you are doing is at your own risk, this operation requires at least basic if not average computer skills, so if you dont understand something ask, please, before you do something that you will regret later...
[Kindle Fire HDX 7" & 8.9" Android Development] mxzwhx:
Hi [MENTION=3370844]jeryll[/MENTION] , actually I've done that before ,it fails ,and to be sure ,I've done it three times after I saw your reply just a moment ago ,I've tried twrp2.8.1.0 and twrp2.8.4.0 and twrp2.8.5.0 ,it all fails .twrp2.8.1.0 just shows fail ,and both twrp2.8.4.0 and twrp2.8.5.0 just reboot itself everytime I swipe to flash the zip file that from the renamed bin file .I have no idea why ?

---------- Post added at 10:06 AM ---------- Previous post was at 10:05 AM ----------

Hi [MENTION=3370844]jeryll[/MENTION] , actually I've done that before ,it fails ,and to be sure ,I've done it three times after I saw your reply just a moment ago ,I've tried twrp2.8.1.0 and twrp2.8.4.0 and twrp2.8.5.0 ,it all fails .twrp2.8.1.0 just shows fail ,and both twrp2.8.4.0 and twrp2.8.5.0 just reboot itself everytime I swipe to flash the zip file that from the renamed bin file .I have no idea why ?

---------- Post added at 10:06 AM ---------- Previous post was at 10:06 AM ----------

Hi [MENTION=3370844]jeryll[/MENTION] , actually I've done that before ,it fails ,and to be sure ,I've done it three times after I saw your reply just a moment ago ,I've tried twrp2.8.1.0 and twrp2.8.4.0 and twrp2.8.5.0 ,it all fails .twrp2.8.1.0 just shows fail ,and both twrp2.8.4.0 and twrp2.8.5.0 just reboot itself everytime I swipe to flash the zip file that from the renamed bin file .I have no idea why ?

---------- Post added at 10:06 AM ---------- Previous post was at 10:06 AM ----------

Hi [MENTION=3370844]jeryll[/MENTION] , actually I've done that before ,it fails ,and to be sure ,I've done it three times after I saw your reply just a moment ago ,I've tried twrp2.8.1.0 and twrp2.8.4.0 and twrp2.8.5.0 ,it all fails .twrp2.8.1.0 just shows fail ,and both twrp2.8.4.0 and twrp2.8.5.0 just reboot itself everytime I swipe to flash the zip file that from the renamed bin file .I have no idea why ?

---------- Post added at 10:07 AM ---------- Previous post was at 10:06 AM ----------

Hi [MENTION=3370844]jeryll[/MENTION] , actually I've done that before ,it fails ,and to be sure ,I've done it three times after I saw your reply just a moment ago ,I've tried twrp2.8.1.0 and twrp2.8.4.0 and twrp2.8.5.0 ,it all fails .twrp2.8.1.0 just shows fail ,and both twrp2.8.4.0 and twrp2.8.5.0 just reboot itself everytime I swipe to flash the zip file that from the renamed bin file .I have no idea why ?
[Kindle Fire HDX 7" & 8.9" Android Development] jeryll:
Well, just to be sure, I did it myself - works for me - see attached picture.

Check md5 checksum of your downloads on kindle:

update-kindle-14.3.1.0_user_310079820 - md5 - 0F2BC5278C057E7A6B4823B0F68D0727

update-kindle-14.3.2.3.2_user_323001720 - md5 - 1AB3A42EB95D89207B35358FAA909098

If different - redownload bin files from amazon until you get correct md5 checksum on kindle, then try to install again.

If same - sorry, no idea why it fails for you ...

If you can, post what error message you get in TWRP, maybe we can find why it fails...
[Kindle Fire HDX 7" & 8.9" Android Development] mxzwhx:
sorry [MENTION=3370844]jeryll[/MENTION],you're right,the bin fire in my folder was corrupted,another question,hope you don't mind,how can I recover the original Amazon stock recovery from twrp ?
[Kindle Fire HDX 7" & 8.9" Android Development] jeryll:
By flashing corresponding recovery.IMG file - this operation effectively REPLACE your current TWRP recovery, so once you flash amazon recovery - you will have only that, TWRP will be destroyed. Is this what you want? Why?
[Kindle Fire HDX 7" & 8.9" Android Development] mxzwhx:
Where do I find the amazon kindle fire hdx8.9 official recovery (fw14.3.1.0)?If it is in the stock bin files ,I've already open the renamed zip file ,but it just has a boot.img ,no sign of recovery.img .I am doing this because I wanna do it all over again from pure amazon fire os ,hope you could understand [MENTION=3370844]jeryll[/MENTION]
[Kindle Fire HDX 7" & 8.9" Android Development] draxie:
There's a script and a binary "diff" in the .bin used to generate the recovery image from the boot.img;

I don't recall the exact filenames, but in the newer updates these are all in the 'recovery' folder...

---------- Post added at 22:55 ---------- Previous post was at 22:47 ----------

If you describe how the tool fails, I can see if I can fix it.

There's precious little I can do about corrupted update.bin downloads, though,

which -based on your other posts- seems to have been a/the source of your problems.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
New Build 2.8.6.0

I have updated the OP with build 2.8.6.0 of TWRP.

There are builds in the OP for Apollo and Thor.
[Kindle Fire HDX 7" & 8.9" Android Development] Meins321:
Does it make sense to upgrade from "TWRP Recovery 2.8.5.0 - Thor" , i was on 13.3.2.3 and now have an unlocked bootloader so this should work or do i need to update the "bootloader" for it to work?

Thx for all that support :fingers-crossed:
[Kindle Fire HDX 7" & 8.9" Android Development] EncryptedCurse:
Just flash it over the previous version. There's nothing else you need to do.
[Kindle Fire HDX 7" & 8.9" Android Development] zswielder:
Hi,

I'm confused about a few things. Could you please help? I rooted and unlocked the bootloader of my HDX (thor). I then wanted to install TWRP. I first went to this thread: http://xdaforums.com/kindle-fire-hdx/development/recovery-twrp-2-8-1-0-thor-t2986004

Because that thread said it was for my firmware (which is 13.3.2.1). But, the download section of that thread pointed to this thread, saying "•Please see [MENTION=5749760]ggow[/MENTION] thread for up to date recovery." Well, makes sense if there's a newer version. But then, this thread says "Ensure you are running stock firmware 14.3.2.3.2." My first confusion is, if this newer version is for that particular firmware version, why did the other thread, which was for the earlier firmware version, directed people to this thread??? Does this newer TWRP work for my firmware? Or, do I have to update to the 14.3.2.3.2?

Secondly, your command says to use "dd if=/sdcard/signed-<device>-twrp-2860.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery," but Kindle doesn't have sdcard, so I'm confused about this command as well. Do I just create a folder named sdcard in the internal storage? Please let me know.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
If you already have twrp already installed then just flash the recovery file. .3.2.3.2 is recommended because it has caused the least problems.

I have changed the OP reflect .3.2.3.2. There is a separate file for Apollo and thor .

Don't worry about there been an sdcard or not. Just follow the instructions and you'll be fine.

In the above command substitute <device> for thor which corresponds to the file your flashing.

Or... Download the recovery file and flash with the flashify app.