yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
No need to ask, I have already done it :)

I am right now uploading Rollback images for thor and apollo. Will let you know when it's all done.

It's taking a long time because I work from a mobile broadband connection...
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
I have posted the rollback images here...

http://xdaforums.com/kindle-fire-hd...ack-images-t2991015/post57896360#post57896360
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Patched TWRP for Apollo

I have issued the TWRP 2.8.1.0 Patched recovery here...

http://xdaforums.com/kindle-fire-hdx/development/recovery-twrp-recovery-2-8-1-0-apollo-t2991155

Also if you want to continue using Nexus ROM with this then flash .3.2.4 stock boot image by doing the following:

- Copy the stock .3.2.4 boot.img to the root of your /sdcard then:

- From TWRP Recovery do the following...

adb shell
su
dd if=/sdcard/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/boot
[Kindle Fire HDX 7" & 8.9" Android Development] jeryll:
Ok, I did everything I can with new recovery for now it seems :D

- rolled back to 14.3.1.0

- installed new TWRP 2.8.1.0

- restored from old Safestrap backup the whole Nexus 2.0.2 with new TWRP

- overwrited 14.3.1.0 boot.img with 14.3.2.4 boot.img

- made a few runs, reboots Nexus 2.0.2 <-> TWRP 2.8.1.0

- and finally removed Safestrap

- everything working for now without slightest hiccup ;)

- thanks to everyone who made this possible
[Kindle Fire HDX 7" & 8.9" Android Development] Håvi:
Write this code on a computer, or in some kind of terminal in TWRP?
[Kindle Fire HDX 7" & 8.9" Android Development] jeryll:
You can do it through working adb shell connection to your kindle running rooted OS connected to PC, but I highly recommend to do it through signed TWRP 2.8.1.0!

If you have already installed and running signed TWRP 2.8.1.0 (tap Advanced -> Terminal Command -> Select folder -> you should see command line in the center of the screen with keyboard started):

type exactly this (check triple before hit enter):

dd if=/sdcard/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/boot
[Kindle Fire HDX 7" & 8.9" Android Development] rubinho:
[MENTION=5749760]ggow[/MENTION]

I have modified your install-package (Thor Nexus ROM 2.0.2) with the stock kernel (13.3.2.4).

I hope that's ok

Its tested and works fine.

here the Downloadlink.....

https://mega.co.nz/#!VRlTHTSB!1Stqc1AQ7cksCq3E1g5D1gyJg5LTMRFHA7B8rWmEUJ0
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Yeah that's cool :)

All subsequent releases will have the boot.img integrated.
[Kindle Fire HDX 7" & 8.9" Android Development] shadowcliffs:
Does it have Lte support now?
[Kindle Fire HDX 7" & 8.9" Android Development] sw01:
If I flash the .3.2.4 boot image do I lose the exploit??
[Kindle Fire HDX 7" & 8.9" Android Development] jeryll:
No, to lose exploit you must write something "different" to recovery partition (than the new patched TWRP 2.8.1.0 recovery), in this case you are writing boot image to boot partition, so no worry :good:
[Kindle Fire HDX 7" & 8.9" Android Development] sw01:
Thanks, but my question was about the signature exploit, not TWRP.
[Kindle Fire HDX 7" & 8.9" Android Development] Cpasjuste:
As soon as you don't flash something higher than 3.2.4 then the sig exploit will be possible.
[Kindle Fire HDX 7" & 8.9" Android Development] sw01:
Thanks for your quick reply.

So, flash the boot image back to .3.1.0. for the exploit to be possible again?

Also, would the tablet be able to boot with the .3.2.4. boot image

and a Cuber-signed recovery image? When is the recovery image signature verified?
[Kindle Fire HDX 7" & 8.9" Android Development] Cpasjuste:
No you won't be able to boot the 3.2.4 bootimage but i posted a modified version of latest amazon update (4.5.2) which is compatible with the exploit in the twrp recovery thread (or cm thread don't remember).
[Kindle Fire HDX 7" & 8.9" Android Development] sw01:
Got it, Thanks again!
[Kindle Fire HDX 7" & 8.9" Android Development] Cpasjuste:
If you install it be careful with automatic updates !
[Kindle Fire HDX 7" & 8.9" Android Development] Fallingwater:
Apologies for being dense, but what benefits does this provide?
[Kindle Fire HDX 7" & 8.9" Android Development] jimyv:
Nexus ROM = safestrap locked bootloader ROM

Nexus ROM+ modified stock kernel= TRWP compatible
[Kindle Fire HDX 7" & 8.9" Android Development] Reddog80p:
Is there a market hack to enable DPI specific apps to work on the HDX 7?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Thor Nexus v1.1 Release Imminent...

Hi All,

I have finished the build and testing of the ROM, so a following will now happen.

1. The of this thread will change to "HDX Nexus ROM"

2. Both the Apollo and Thor will be catered for under this new name.

3. A new common gapps package called hdx-nexus-gapps-v1.1.zip will be added.

4. The old Apollo gapps package will be removed.

5. thor-nexus-rom-v1.1.zip

6. I'll update the first two posts to reflect the changes.

And as usual please bear with my crappy internet connection while the files upload.
[Kindle Fire HDX 7" & 8.9" Android Development] johnwaters:
Just awesome.....!
[Kindle Fire HDX 7" & 8.9" Android Development] icedtrip:
This is awesome! Can't wait to get home tonight to try it out (as long as the files have uploaded by then). This was an unexpected and nice surprise. Thanks!
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Update

I'm getting upload errors at the moment, just contacted an XDA moderator for help...

Will get the files up when this is fixed.
[Kindle Fire HDX 7" & 8.9" Android Development] sherry478:
Are you ever going to build this ROM on a newer base?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
No, there is no reason to. Technically there are no advantages to having it on a newer base.

Did you have any success downgrading back to 13.3.1.0?
[Kindle Fire HDX 7" & 8.9" Android Development] johnwaters:
Dumb question...how can you tell which base you are on?
[Kindle Fire HDX 7" & 8.9" Android Development] jimyv:
I smell

Holy cow I was in the rollback thread since beginning and I helped fix dozen of bricks I smell another flood of bricks oh my god oh my god... God I wish they would release the bootloader unlock so I could please move on to a new device, this currently has me stuck like a crack attack... This place is about to get flooded with people who do not how to do their homework and simply hit the search button or breakdown spend a little time and invest into just reading up on their devices.... By the way people there is also a thread here with nothing but peoples build prop files so you can get an idea of what they change theirs too and it work instead of breaking your devices by not doing your homework... If you decide to swap out the file which is not recommended do not forget to correct your permissions or you will be struggling to get ADB so you can correct your permissions on your build prop file when you brick..

ROLLING BACK IS DANGEROUS if you are in inexperienced user I advised not to attempt it. In less you want to be back here cry babying and pooh-poohing and begging and pestering people to help you fix a break that is probably not recoverable if you do a factory wipe etc. etc. and all the wrong things please do all your homework before even starting.... I have a Dirtee feeling about this I pray for the unlock to come soon.:rolleyes::rolleyes:

BTW ggow great work on all this everything looks fantastic it is wonderful to claim that screen real estate that is lost on the fire OS turns my tablet into real wide screen sweet eye candy.. And I cannot believe your turnaround for the Thor device. Excellent all and all.. And us experienced users will all be using it..And loving it. And everybody else will be dreaming of it while holding down a stack of papers with their HDX paperweight although it is such a lite device I'm not so sure it would make a good paperweight probably a better Frisbey... Does anybody know if anybody made any progress on automating the build prop edits necessary for an OTA rollback?
[Kindle Fire HDX 7" & 8.9" Android Development] sherry478:
Don't want to try to downgrade it looks to risky.

How hard would it be to port this ROM to a new base?

BTW can you upload some screen shots?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Update: File links posted...

I have posted alternative file links on the OP because the XDA uploads are still not working for me at the moment.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
The downgrade is not risky if done properly.

I managed to do it previously by using ES File Explorer to make the necessary edits to the file. The key is not to replace the file completely. Edit it in place.

I'll post some screenshots when I have a moment. Time is scarce these days.
[Kindle Fire HDX 7" & 8.9" Android Development] icedtrip:
Running the Thor version now. Amazing job! I still want a bootloader crack, but this will suffice for quite some time now :)
[Kindle Fire HDX 7" & 8.9" Android Development] jimyv:
personally

I used a prop build editor I think it might've been ROM toolbox but I'm not positive . It automatically fixed my permissions and I felt it was very easy to locate and change what was necessary . I no I agree it isn't that difficult but ... Tell that to the 50 people who bricked their devices just in the first weekend the towelROOT and rollback thread started .
[Kindle Fire HDX 7" & 8.9" Android Development] stapler85:
can anyone confirm if we can use the new Adreno drivers with our old 4.2 kernel or somehow port it over, this is my single most wished new function without bootloader unlock to get KK

it should be V60 or higher but last i checked in the old thor gapps rom is still v45

KK drivers here https://developer.qualcomm.com/mobi...le-gaming-graphics-adreno/tools-and-resources
[Kindle Fire HDX 7" & 8.9" Android Development] Clarke33:
I'm still on the first version of Safestrap. Any reason to update before flashing?
[Kindle Fire HDX 7" & 8.9" Android Development] DungHD:
I am using Thor Gapps Rom by Cpasjuste.

Can I use this Rom (up rom) through SafeStrap recovery?

Thanks.
[Kindle Fire HDX 7" & 8.9" Android Development] dimi5:
Solved. One should edit build.prop file directly (there is an Option in the BuildProb Editor to do it).
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
The new adreno drivers will only work with kitkat and are binary blobs which qualcomm do not release the source code for. Even then I don't think there will be any significant gains, tried them on another kitkat device and there was no noticeable differences.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
I tested it using Safestrap 3.72, but I don't have any reason to believe that it won't work on an earlier version.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Yes, you can. Tested on safestrap 3.72.
[Kindle Fire HDX 7" & 8.9" Android Development] shadowcliffs:
Any plan to add 4g LTE support to this fabulous ROM?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
I only have the WIFI version of the hardware which would makes it almost impossible to add and support LTE. Sorry.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
I think LuckyPatcher may have something built in for this.
[Kindle Fire HDX 7" & 8.9" Android Development] TheZander:
Hello all, I was curious if it is safe to install this if you have a signed recovery installed and do it that way. I know this thread said its for safestrap and that certain bootloader version. I currently have that CM Rom and an old bootloader I believe.
[Kindle Fire HDX 7" & 8.9" Android Development] bamemanxxa3416:
I would like to know this also. I have twrp recovery now but on 14.3.1.0_310079820. Thanks
[Kindle Fire HDX 7" & 8.9" Android Development] rubinho:
[MENTION=5117152]bamemanxxa3416[/MENTION] [MENTION=4208815]TheZander[/MENTION]

I have make modified Nexus-Rom Images for a TWRP install...

Apollo:

https://mega.co.nz/#!ZIkAVZba!h3dZQO0mufVkp8CjPScQSCGIreJpBoGYXRT-ycAjplw
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Update

My new Kindle came with a good version of firmware :)

Some things to note:

- HDX Nexus ROM will be dropping support for Safestrap in favour of the newly usable TWRP recovery.

- Tomorrow morning I'll upload version 2.0.3 which will include the boot.img for TWRP compatibility.

- Please do NOT flash any version greater than 2.02 within Safestrap.

- Looking forward to joining in again :)
[Kindle Fire HDX 7" & 8.9" Android Development] icedtrip:
That's great news! I was hoping you would have luck in getting a rootable firmware.
[Kindle Fire HDX 7" & 8.9" Android Development] jimyv:
but

Will they're not be a ton of people stuck at. 7 and can only use safestrap? Will there be a need for continued development on the Nexus ROM for safestrap only? Or is it possible that. 7 may receive a bypass hack also?

It does seem like the recent developments have brought more interest back to the device I will keep my fingers crossed..for those unfortunate ones there will not get much more love lol
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
jimyv, ah yes I forgot momentarily about .3.2.7. I'll have a think about that....
[Kindle Fire HDX 7" & 8.9" Android Development] jimyv:
I would say you would be a hell of a guy to keep developing for both of them. I'm sure theyll be a lot that appreciate it.

personally all 3 of my devices will make it on TWRP.. It was just a thought.

can't you take one of those poll things ? just to get an idea number wise how many got stuck and how many did not?

At least that way you could make a decision on demand..if you needed to.
[Kindle Fire HDX 7" & 8.9" Android Development] andPS2:
mmh decisions decisions for [MENTION=5749760]ggow[/MENTION] ...

in general i think the rom would be more attractive for ppl with the bootloader bypass if it was

based on android 4.4.4 like [MENTION=503571]Cpasjuste[/MENTION] cm rom

then we would have both AOSP and CM

however that would make it much harder to still maintain the 2.0.2 for safestrap

or you guys could join forces?

whatever u decide thanks for the work you do for us!
[Kindle Fire HDX 7" & 8.9" Android Development] Cpasjuste:
That's so cool i'm so happy for you :)

You HAVE to get the 4.5.2 kernel working ! If you didn't notice be aware that i can now compile it from sources ! : https://github.com/Cpasjuste/kernel_amazon_hdx-common (use appolo-perfconfig)

I still use happened binary dts but i'll take a look again soon to try to fix that. I think this prevent me from building an OC kernel as freqs seems to be in the msm8974.dtsi file. You should try to start with a 3.2.3.2 bootloader/fw's.
[Kindle Fire HDX 7" & 8.9" Android Development] Håvi:
Fail

I flashed Apollo rollback image, then i wiped system, cache and dalwik cache. Then rebooted and got stuck on grey kindle logo.:crying:
[Kindle Fire HDX 7" & 8.9" Android Development] jimyv:
why

why oh why would you wipe the system? nobody here has told you to do that. As a matter of fact in several places as I have stated never to wipe system on stock slot.

Sorry ,There is no help for you here .We currerntly have no repair for that.

Your tablet is now a paperweight or a false warranty claim.

welcome to XDA Developers

you can try hard reset and if you can get into safestrap againflash the rollback file again and you will be safe otherwise. You are so out of luck.

when using safestrap if it is in red print you are not supposed to do it.

Plain factory reset in safestrap is simply to tap the wipe button then swipe .....do not even open the advanced panel and only open the data panel if you want to wipe the whole device....data
[Kindle Fire HDX 7" & 8.9" Android Development] Håvi:
the guide said flash rollback zip then wipe.
[Kindle Fire HDX 7" & 8.9" Android Development] Cpasjuste:
It doesn't state to wipe system :/
[Kindle Fire HDX 7" & 8.9" Android Development] jimyv:
[/COLOR]

(CAUTION) when using safestrap if it is in red print you are not supposed to do it.

factory reset= tap wipe then swipe. .do not even open the advanced panel and only open the data panel if you want to wipe the whole device....data
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Hi Cpasjuste,

I built the kernel for 4.5.2.

Also I have written a tool that patches the new 4.5.2 dt.img to be usable on the old bootloader. This patched dt.img works on thor but not apollo.

I have also tried appended DTB, which works on thor but not apollo. I have looked in the apollo-perf_defconfig configs and cannot spot anything which may cause this.

In both scenarios the kernel boots but no screen output.

I am still working on this, will let you know if find anything else.
[Kindle Fire HDX 7" & 8.9" Android Development] Håvi:
It says factory reset. isn't that the same as wipe?
[Kindle Fire HDX 7" & 8.9" Android Development] jimyv:
I just explained this. A factory reset is not the same as going into the advanced options and wiping the system.

if you can get ADB access you can try this

http://xdaforums.com/showthread.php?t=2793253
[Kindle Fire HDX 7" & 8.9" Android Development] moomoon03:
Hello cpasjuste i am moomoon03 from wikoandco forum

Everyone is looking for you for the wiko wax?can you come and see us please?

Merci beaucoup et courage pour ton travail
[Kindle Fire HDX 7" & 8.9" Android Development] Cpasjuste:
Yes but this mean a wipe of data and dalvik cache ONLY.

I'm really sorry for you but they are right you must try amazon for an exchange.
[Kindle Fire HDX 7" & 8.9" Android Development] Håvi:
So only use the big blue slider. Got a new for the third time anyway. So lucky.
[Kindle Fire HDX 7" & 8.9" Android Development] jimyv:
facepalm smh ? let's hope third time is the charm

and we wonder why we get a bad rap here.simple directions that needs to be comprehended / understood before attempting.

and the other words you ask before you have a brick
[Kindle Fire HDX 7" & 8.9" Android Development] EncryptedCurse:
That's a bit ridiculous. At this point, you honestly need to re-evaluate if a device like this is appropriate for you.
[Kindle Fire HDX 7" & 8.9" Android Development] jimyv:
BAM that just happened

Roflmao

IMO +1
[Kindle Fire HDX 7" & 8.9" Android Development] Cpasjuste:
Your rude :)
[Kindle Fire HDX 7" & 8.9" Android Development] EncryptedCurse:
Sorry, I didn't mean to come off like that.

I was just suggesting that they should consider looking into other devices that are more mod-friendly, like the Nexus 7.

With Amazon's hardware being so locked down, it quickly becomes a hassle and it's easy to mess up with no way back.
[Kindle Fire HDX 7" & 8.9" Android Development] jimyv:
no, I'm rude but I was asked to be nice [MENTION=5940066]EncryptedCurse[/MENTION] is just a realist
[Kindle Fire HDX 7" & 8.9" Android Development] uhraman:
Hello, I do not know if anyone here have any problem with youtube app on this rom? My youtube does not automatically change to landscape mode when I see the video fullscreen (it keeps in portrait) as when I used my phone (Moto G and others) (the screen rotation on both devices are still intentionally locked) (however a video on google play store still can force to fullscreen when I touch fullscreen button)
[Kindle Fire HDX 7" & 8.9" Android Development] gbgadgets:
fwiw

I have not built the apollo kernel from source, but I did attempt the following, which did not work:

I took .452 update.bin and unpacked the boot.img and replaced the dt.img with the one from the boot.img in .3232 and repacked. When attempting to apply this update, the boot got stuck on the grey logo, which was one step further than being immediately dumped to fastboot by just trying to apply the .452 modified update.bin. However, at this point, I am not sure how to debug the boot process and so I don't think I'll get any further in the near future. I do hope you can figure it out though as it would be great for the apollo users to catch up on all the fun with either cm, nexus, aosp, or just current stock .452.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
From what I saw the old .3232 dt.img won't work with the new kernel because a lot of DT binding names have changed etc.

I'll have some time tonight after work tonight to continue.
[Kindle Fire HDX 7" & 8.9" Android Development] Cpasjuste:
[MENTION=5749760]ggow[/MENTION]

Well I finally managed to fully compile the Thor kernel from sources, including DT stuff ! I'm almost sure it will also work on apollo. Take a look at my github (https://github.com/Cpasjuste/android_device_amazon_hdx-common/blob/cm-11.0/mkboot.mk) , there's is a mkboot.mk file which take care of dt compilation, also i added Apollo support to it ;) You'll also find the kernel sources on my github.

You'll also want to copy the appolo-perf_defconfig to Apollo_cyanogenmod-defconfig then copy first lines from thor-cyanogenmod-defconfig to it.

This should allow you to boot 4.x fws :)

Edit : can't wait for you to try :)

Edit2 : je suis charlie (et français)
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Hi [MENTION=503571]Cpasjuste[/MENTION],

Good job getting this together...

I tried this, but same result as before. I built the recovery image which boots but there is no screen output. I can adb into the the booted recovery and use command line twrp tools which means the kernel boots as before with the same symptoms.

See attached, if you have an idea then please contact me.
[Kindle Fire HDX 7" & 8.9" Android Development] Cpasjuste:
Did you start from a 3.2.3 ROM ? This does a difference.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
No, I did this on 3.1.0 stock.
[Kindle Fire HDX 7" & 8.9" Android Development] Cpasjuste:
There's a very high possibility that this is the problem ;)
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
ok will upgrade to 3.2.3 and try again...
[Kindle Fire HDX 7" & 8.9" Android Development] Cpasjuste:
At least cm users had some fb/screen/rotation problem/freezes which was solved by starting from 13.3.2.3.2. So I guess something, maybe the bootloader (my unlocked one have a 3.2.x BL), needs to be updated.

Also you know/remember that you'll almost for sure get a black screen with ROM < 4.x ?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Apollo 14.3.1.0 stock recovery

Can someone kindly help me out by posting the Apollo 14.3.1.0 stock recovery.img backup.

I made a backup but can't for the life of me find it.
[Kindle Fire HDX 7" & 8.9" Android Development] Cpasjuste:
I don't want you to brick your device but on thor, at least, we can flash amz updates renamed to zip from twrp, say 14.3.2.3.2 for you.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
I updated to amazon stock 14.3.2.3.2, same result - no display.

To test my process is not flawed I built the recovery image for thor, tested it and it works fine.

The investigation will continue.
[Kindle Fire HDX 7" & 8.9" Android Development] Cpasjuste:
But no display with which ROM ? 4.x ?

You'll probably just have a black screen on any system < 4.xx
[Kindle Fire HDX 7" & 8.9" Android Development] gbgadgets:
I don't see a recovery.img in any of the update.bin files I have. I also do not see where it is ever written outside of the applypatch stuff. (recovery/etc/install-recovery.sh; recovery/recovery-from-boot.p; and system/etc/recovery-resources.dat)

I did not make any backups of any of the partitions before flashing the updated signed twrp recovery image that you made. I then backed up .3.2.3.2 inside of twrp (system, data, cache), but no recovery.

If there is anything I can provide from the official update.bin files for the following, let me know (.3.1.0;.3.2.1;.3.2.2;.3.2.4).
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Hi gbgadgets, no it's fine. I managed to upgrade fully to 3.2.3.2 by making a update.zip containing the necessary components as suggested by [MENTION=503571]Cpasjuste[/MENTION].

I also recreated the recovery.img by using Applypatch to write to the recovery partition. So I now have a backup in case I need it later (though I doubt I will).

But thank you for the offer :)