yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" Android Development] Whitewolf99:
[MENTION=3370844]jeryll[/MENTION]: checked hash and reinstalled recovery exactly as you said but still having the same symptoms. adb reboot recovery worked but i had to manually unlock with power button to actually see the recovery.

[MENTION=5749760]ggow[/MENTION]: log is attached. hat to rename it to txt to upload it here. thanks for trying to help!
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
I have an idea of what might be wrong, at work at the moment - later when at home will make a new test version for you to try.
[Kindle Fire HDX 7" & 8.9" Android Development] Whitewolf99:
thanks a lot for your help. i'm glad that you have an idea what might be wrong.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Had a bit of free time.

Try the following and report back:

- Download: Whitewolf99-Test-Thor-v1.zip

- Flash the file (no need to flash gapps, you can if want to)

- Do a factory reset from TWRP

- Reboot

- Screen might go blank for up to 30 secs then the boot animation should show.
[Kindle Fire HDX 7" & 8.9" Android Development] Whitewolf99:
sadly still the same bootloop. tried it with and without gapps.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Ok, just had a look at your logcat and it confirms you are on the same hardware version as everyone, I thought the problem is you might have had a different one.

Next thing you might want to try is installing stock version 13.3.2.3 and going from there. You will be able to root and install TWRP from this stock version.
[Kindle Fire HDX 7" & 8.9" Android Development] Whitewolf99:
updated to 13.3.2.3 and it works now!!

immediately noticed the first difference after reinstalling twrp recovery, that twrp showed the boot animation and i didn't have to unlock it first before seeing anything.

flashing nexus worked then without problems.

Without knowing it exactly i guess my problem was a faulty upgrade from 13.3.0.5 to 13.3.1.0. i didn't do it via kindle update system (because i had already blocked ota updates) but by flashing a zip in twrp.

sorry for the hassle!
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Hey! glad you're up and running - excellent news :)
[Kindle Fire HDX 7" & 8.9" Android Development] jeryll:
I am glad you have working TWRP 2.8.4.0 and nexus 2.0.4, but could you explain how did you flash update zip from 13.3.0.5 to 13.3.0.1? By "flashing a zip in twrp"you mean TWRP 2.4.8.0 or Safestrap or?
[Kindle Fire HDX 7" & 8.9" Android Development] Whitewolf99:
initially i started with 13.3.0.5. rooted, blocked ota updates and installed twrp 2.8.4.0. tried to install nexus but for whatever reason it didn't work so i thought it would be best to update to 13.3.1.0. I didn't realize i had to reenable stock updates with kfhd toolkit so I booted into twrp and flashed 13.3.1.0.zip. I now realize that this zip is only 755MB and the update.bin of 13.3.1.0 is 813MB so something didn't install i guess, perhaps the kernel?!

i didn't realize there could be the problem because i booted normally into 13.3.1..0, rooted it and tried to install nexus via twrp. And even after restoring my backups of 13.3.0.5 i couldn't intall nexus before upgrading to 13.3.2.3.
[Kindle Fire HDX 7" & 8.9" Android Development] jeryll:
Thanks, I am trying to find (for future references) if FW 13.3.0.5 is TWRP 2.8.4.0 compatible (it should be), so can you please answer (you are the only one so far AFAIK who tryed instal TWRP 2.8.4.0 on FW 13.3.0.5 directly) some other questions for me?

The problems with TWRP begins right after you install it over 13.3.0.5 stock recovery? Or after you install 13.3.1.0.zip? Can you point me to this file so I can check if it contains boot.img (contains kernel), or can you check that for me? Were you able to reboot to TWRP without problems before installing 13.3.1.0 update?

Thanks for answers and for you time.
[Kindle Fire HDX 7" & 8.9" Android Development] Whitewolf99:
no problem, glad to help.

i attached a picture of the 13.3.1.0.zip. definitely no boot.img. don't aks me where i got it from, don't remember that.

as you said the problems with trwp recovery were there from the beginning, right after i installed it over 13.3.0.5 stock rom. i'm sure I used the right recovery etc. it did boot into recovery but with the symptons i described. it irritated me a lot, that i couldn't see the twrp boot animation.

then I I tried to install nexus rom and got a bootloop so i decided to flash the 13.3.1.0.zip, which was obviously not the best idea.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Update

Testing has gone well, so as promised version 2.0.5 will be released tomorrow.

The main new feature is CIFS support. At the moment the only way to mount shares is via terminal/shell and issuing a mount command manually. I will post instructions on how to do this.

The likes of CIFSmanager do not work due to changes in the 3.4 kernel in general. I plan to make a small application to handle this in the future.

I will make a FAQ section in the OP to hold this sort of information like how to mount a CIFS share.

I will start updating the thread tomorrow and let you all know when files are up etc.
[Kindle Fire HDX 7" & 8.9" Android Development] murso74:
Microphones don't seem to work on 2.0.4
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Working for me...at least immediately after flash plus a few reboots. Used Sound Recorder app to verify.
[Kindle Fire HDX 7" & 8.9" Android Development] manymarius73:
Is there a reason the time and date won't stay correct, no matter what setting I use? Does anyone have problems with the settings not showing up every so often, until I restart it?
[Kindle Fire HDX 7" & 8.9" Android Development] yigal66:
Microphone of wired hands-free working perfect in Skype.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Time and date will remain after reboot with version 2.0.5. Is the problem you are experiencing different to this?

Which settings are not showing up?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Update

Version 2.0.5 is up.

Version 2.0.5 requires a new Dolby Digital version 1.2.
[Kindle Fire HDX 7" & 8.9" Android Development] manymarius73:
No, time wouldn't stay correct for very long. didn't stay. I just flashed 2.04....so I'll see how that works. I'm using safestrap on 3.2.8..so....?

Every day or two I hit the settings button and the window comes up but there is no settings listed. A reboot fixes it. LOVE the ROM! Thank you very much. This was a gift, so this ROM makes it awesome.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
I'm surprised 2.0.4 works on safestrap. Bear in mind the last version for Safestrap will be version 2.0.2. Anything after v2.0.2 is simply not safe to use.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Warning - Safestrap Users Be Careful

*** do not flash any version after v2.0.2 if you are running safestrap - you have been warned ***

*** use at your own risk! I am not responsible if things go wrong. ***

*** the latest released version for Safestrap is v2.0.2 ***
[Kindle Fire HDX 7" & 8.9" Android Development] manymarius73:
I've got 2.04 running now.. Who knows. I knew the warnings. What's the difference with .O2 and the rest?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Mainly the change to a custom kernel, but I am going to be making changes in the HAL, surfaceflinger and kernel drivers in the newer versions which could be problematic for anyone running Safestrap.
[Kindle Fire HDX 7" & 8.9" Android Development] manymarius73:
Can the new one be dirty flashed over the existing?
[Kindle Fire HDX 7" & 8.9" Android Development] cybercat1:
Hello,

does anyone can help: after flashing 2.0.5+gapps over CM11, twrp2.8.4.0, all I can see are running rgb-points round by round and... that's it... CM11 works fine. Any ideas? Thanks in advance!
[Kindle Fire HDX 7" & 8.9" Android Development] jeryll:
Did you do this?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Went in smooth as butter. Haven't tried CIFS mount yet.

As an aside (and likely unrelated) I am seeing charge rates >1A for the first time on 2.0.5. Wasn't able to coax anything above 0.95A on 2.0.4 which nearly doubled recharge times. Stock varies but will typically settle in around 1.75A under the right conditions: cool battery, not fully depleted or nearly full, etc. Yeah, I have the proper adapters/cables/tools to measure charge rate.
[Kindle Fire HDX 7" & 8.9" Android Development] johim:
Any chance you could branch/tag/push 2.0.2 so that we can compile and add features as well?

There are many ppl now using safetrap and are on stock 3.2.8/7 kernel. I'm surprised that 2.0.4 works with 3.2.8. Wouldnt custom kernel be a problematic and trigger the eFuse?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Yes you can flash version 2.0.5 over 2.0.4.

What I will probably end up doing is creating a separate thread for users on Safestrap. That way you'll always know your getting a compatible version.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
I will not be releasing the source code for the HDX Nexus ROM right now. The build process isn't exactly elegant and I haven't got the time to be writing guides etc to explain and support someone else to do this. This may change in the future but right now - not possible.

I plan to still support a Safestrap version. Upon closer inspection the boot.img can not be flashed via Safestrap because it is protected.
[Kindle Fire HDX 7" & 8.9" Android Development] johim:
I understand. I was still wondering, if you plan on supporting Safetrap, then custom kernel is not an option, as far as I understand it, kernel must be compatible with stock 3.2.8/7. This is for people which rolled back from 4.5.2 to 3.2.8 (no futher downgrade is possible, and thus bootloader is locked and can easily be tripped)
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
You are correct, custom kernel will not be possible and will not be in the equation at all. I am going to create a new thread for HDX Nexus ROM for users on Safestrap. I will make sure versions release on here will be compatible with the stock kernel. I will baseline HDX Nexus ROM v2.0.5 as the starting point for any further Safestrap versions.

I will start to organise this very soon.
[Kindle Fire HDX 7" & 8.9" Android Development] jeryll:
Thanks, installed and as usual, Nexus 2.0.5 is running really great, but ... I have all sort of troubles trying to do something usefull with CIFS, can you check this post please, it contains explanation why CIFS manager is not working and patches how to get it working again in android 4.2.

If you execute the mount command from inside Terminal Emulator (or a script program) it looks like it mounts ok and you can 'ls' in the directory but it doesn't work for Android apps, they just see an empty directory but if you do it via a 'adb shell' it works (mostly) fine in Android apps.

Connecting kindle to pc via cable just to mount something through adb shell is not user friendly at all (IMHO), so I really hope you can use that patch to make cifs manager to work again.

Thanks
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Agreed, its not ideal. But as a first step it seemed like a good thing. Will take a look at the link...
[Kindle Fire HDX 7" & 8.9" Android Development] NeverSmile:
I come from CM11 unoffical. This fw rq base fw .3.1.0 ? Or dont need, may i dirry flash over CM11 ? And i use TWRP to flash it ?
[Kindle Fire HDX 7" & 8.9" Android Development] cybercat1:
Oops, no. Will it erase all data? I have some troubles to connect via ADB, so... sorry for silly questions :)
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Follow the instructions in the OP. Use TWRP.
[Kindle Fire HDX 7" & 8.9" Android Development] jeryll:
Yes, it will erase all ROM related data (your internal storage will stay intact), heres what to do:

1. From running CM11 reboot to TWRP 2.8.4.0

2. Make a backup (you will use DATA section from this backup after you do Factory reset and install Nexus 2.0.4 - 2.0.5)

3. Tap Wipe -> use slider Swipe to Factory Reset (your internal storage will stay intact, only ROM (CM11) related data will be erased)

4. After Factory reset install Nexus 2.0.4 - 2.0.5 + nexus gapps + any addons you want

5. Reboot system

If Nexus cant boot correctly into setup and later into home screen and you see graphical glitches described before, file a bug report here so ggow can check it out

If Nexus boot correctly into home screen without problems you experienced before with dirty flash, you can try restore your CM11 data over Nexus and hopefully you have all your applications back.

1. Enter TWRP 2.8.4.0

2. Tap Restore and select you latest CM11 backup

3. In section Select Partitions to Restore untick System and Boot, only Data will stay selected.

4. Use slider Swipe to Restore

5. Reboot system

After this you can experience (or not) a lots od FCs after Nexus boot into home screen, or Nexus may not boot at all or you can experience graphical glitches you see before (that probably means its not a fault from Nexus ROM but from some of your installed applications)

Try this:

1. Enter TWRP 2.8.4.0

2. Tap Wipe

3. Tap Advanced Wipe

4. Select Partitions to Wipe: select Dalvik Cache and Cache (be sure no DATA or SYSTEM or INTERNAL STORAGE is selected)

5. Use slider Swipe to Wipe

6. Reboot

If after wiping dalwik cache and cache you still get FCs after Nexus boot into home screen, you are out of luck and you need to setup all your apps again (or you can use Titanium Backup in CM11 and restore your apps later in Nexus)...
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
[MENTION=1221011]cybercat1[/MENTION]

Just to add to what jeryll said. I have seen problems coming from stock .3.1.0, the best place to start is install stock .3.2.3, then root, install TWRP then install Nexus ROM. This has had excellent results resolving graphical glitches.
[Kindle Fire HDX 7" & 8.9" Android Development] rubinho:
[MENTION=5749760]ggow[/MENTION]

What is the difference between stock 3.1.0 and 3.2.3?

The system and the kernel but completely replaced when installed the nexus-rom or cm11.

What else could be cause this various problems?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
The bootloader chain is different.
[Kindle Fire HDX 7" & 8.9" Android Development] rubinho:
[MENTION=5749760]ggow[/MENTION]

ok, thx

Can You or any other guy with required knowledge create a twrp flashable zip file to change only the bootloader up to 3.2.3 base ?

As a result, we do not have to flash the full firmware
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Yes, I can. Post it up shortly.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Update

[MENTION=279255]rubinho[/MENTION]

Files are up here:

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

Not everyone needs these files so as usual please read carefully before flashing.
[Kindle Fire HDX 7" & 8.9" Android Development] Mr.Nik:
Unfortunately I can not test. So 4G and GPS does not work!
[Kindle Fire HDX 7" & 8.9" Android Development] Reckerr:
Hi ggow. Appreciate the work you have been doing. I was using this on safe strap, now I'm back on 3.2.3. Great.

I would like to ask if one thing is possible though(bear in mind I'm not sure how the ROM building process works)

Ok. Its not a necessity or anything just curious as to why it doesnt and if it could work.

On my Tab 3, my ps4 controller pairs as a wireless device and I can basically control every aspect of my tablet.

On the kindle(stock or any of the publicly available ROMs), it works the same way, but after 10 seconds or so, a great deal of input lag arrives and its impossible to navigate anything.

What would be the reason of it doing that? If you are aware. I have no one else to ask so...

Thanks for sharing your knowledge if possible.
[Kindle Fire HDX 7" & 8.9" Android Development] johnwaters:
Wow I am lost. Haven't been on here for a while now. How do you install this if you have safest rap installed already?
[Kindle Fire HDX 7" & 8.9" Android Development] kudoz83:
That's interesting... you have a bluetooth mouse or something that you can test it with to narrow down if it's PS4 controller specific or just Bluetooth related?
[Kindle Fire HDX 7" & 8.9" Android Development] manymarius73:
I have 2.04 on safestrap, but there is a .05 for safestrap.
[Kindle Fire HDX 7" & 8.9" Android Development] EncryptedCurse:
http://xdaforums.com/kindle-fire-hdx/development/rom-hdx-nexus-rom-t3024526
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
I think the problem is to do with the implementation within the stock bluetooth binaries. I have no way of moving away from these binaries at the moment.
[Kindle Fire HDX 7" & 8.9" Android Development] Reckerr:
[MENTION=3283426]kudoz83[/MENTION], unfortunately I don't.

But thanks for the info ggow. At least now I know. :D

I thought it was just me. Has.
[Kindle Fire HDX 7" & 8.9" Android Development] NeverSmile:
I have installed this rom. Dont keep stock rom. But my storge is 11gb. Not 14gb. So have the way to take 3gb back? Anyone know ?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
You might have some safestrap rom slot data hanging around. Can't remember off the top of my head where this is stored.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
~11gb available on a 16gb device is typical for most roms including Amazon stock.
[Kindle Fire HDX 7" & 8.9" Android Development] jeryll:
Look for /data/media/safestrap/, that is the location for rom slots, if youre not using safestrap anymore (have it uninstaled), it is safe to delete *.img files ... or look for /mnt/shell/emulated/safestrap/ ...
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Rendering Issue

I am encountering a web page rendering problem on Nexus 2.0.5 which I do not experience on any other device including a stock HDX (thor 3.2.6), a phone running 4.4.2 or my desktop. It happens on all browsers (different underlying engines) and is not remedied by a complete wipe and and reinstall of Nexus ROM as the generic AOSP browser exhibits the same problem immediately after flash with no device customization or apps installed. I have tried different WiFi networks, connected through a different ISP (testing if block occurring upstream) and connected to a different Google account. The problem seems confined to page redirects which typically manifest as webpage not available or failure to render images downloaded from another source. I am starting to wonder if this is an issue with JB on certain devices. I haven't tried one of cpasjuste's CM11 ROMs yet to test that theory. Thanks in advance for your thoughts.

http://cl.exct.net/?qs=3b342a7f5cf7a06d40f4e87b23d410843e4d7a86d4e02836d5ec3a1e9384b5cc2dd94b274f442842

(news story in a local fish wrapper - web page not found)

https://protect.squaretrade.com/pub/sf/FormLink?_ri_=X0Gzc2X%3DWQpglLjHJlYQGnE01mj2uJbqp21JSvtmfj0zcCAqU80Gizb0hVXMtX%3DWQpglLjHJlYQGogE0D9H3sFK3zfza3HCE5CcpWzcccdzdd7jtk3&_ei_=Eul96rn1Z3dzkBOb3bVZF9UlHVrAS3q4JADStKUCeZ8z_0c00PEMEkwhTHbNyVuOJka5oCqpv1hGLvxayI26Mc83XfrYqhyKQ4aSKLrD9csfXINizi3749_4ephEb3UUiiNrnPa3.

(SquareTrade promo - images do not render properly in any browser; however Gmail app on same device shows page correctly)
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Doesn't even work on my Nexus 6 so your guess is as good as mine right now.
[Kindle Fire HDX 7" & 8.9" Android Development] philipp158:
There is a modified hosts file in the image to block ads. You have to download the app "AdAway" and deactivate the ad-blocker or modify the hosts file manually (/etc/hosts) to see the pages.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Oh yes I forgot about that, thanks for the reminder.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Thanks, Philipp158 - that did the trick. I had a feeling ad blocking was somehow involved and spent considerable time looking for orphaned remnants of my personal choice (Adguard) before taking the more aggressive steps outlined in my original post. Never dawned on me ad blocking was baked into the nexus image. Easy enough to clean out the host file after restoring my working build from backup. Also explains why I wasn't seeing much rubbish before installing my own adblocker :)

As an aside, the default hosts included in the image also blocked downloads from androidfilehosts; yet another mystery solved.

[MENTION=5749760]ggow[/MENTION] - might want to put a footnote in the OP to advise others of the imbedded ad blocking. Or maybe it's there and I just missed it ...
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
I'll remove it in the next round of changes. It shouldn't really be there. Should be a choice to the user to install adaway or not.
[Kindle Fire HDX 7" & 8.9" Android Development] dr3yec:
You should really take your skills over to cm11 ROM, then we could get a full working cm11.
[Kindle Fire HDX 7" & 8.9" Android Development] icedtrip:
I tried all of this the other night trying to go from CM11 to Nexus 2.0.5, and unfortunately was never able to get beyond the Kindle Fire grey logo (simply kept rebooting after awhile). Has anyone had success using TWRP backups of the user partition in going from CM11 to Nexus 2.0.5, or is reverting to using Titanium Backup and other apps the only way to do it? My CM11 tablet is setup with all my apps, settings, and arrangement and I'm simply trying to avoid having to redo everything.

Oh....and the reason I'm trying to do this is because CM11 doesn't have bluetooth working, can't install Google Calendar, and I would like to be able to use the most recent version of the Kindle app as well.
[Kindle Fire HDX 7" & 8.9" Android Development] jeryll:
Try this, should help ...
[Kindle Fire HDX 7" & 8.9" Android Development] icedtrip:
Thanks for the suggestion, but sorry I should have mentioned this. It's not an issue of Nexus 2.0.5 not booting. A factory reset followed by flashing 2.0.5, gapps, etc works like a charm. Everything boots up and works just fine. The issue is when I restore my CM11 user partition and try to boot. Even with a cache and dalvik cache wipe, it's a no go. Also, I had already flashed 3.2.3 before flashing CM11 awhile back.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
If anyone is worried about soft-bricking their device through improper build.prop mods then just use safestrap to create a backup before editing.
[Kindle Fire HDX 7" & 8.9" Android Development] EncryptedCurse:
Wow, thanks for all your work. Installation and setup was a breeze on my Thor/HDX 7 device.
[Kindle Fire HDX 7" & 8.9" Android Development] stapler85:
suggestion is if we can clean up the rom further as there's still some amount of unnecessary bloat

just curious to why a aosp rom still comes out more than 400mb
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Kindle Reader App

For working kindle reader install this version:

http://www.androidfilehost.com/?fid=23501681358544993
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Kindle Reader App

For working kindle reader install this version:

http://www.androidfilehost.com/?fid=23501681358544993

Then set play store so it is not updated.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
there is hardly anything that is unnecessary, it's largely due to the amazon library/binary files that are still required, trim it at your own risk.
[Kindle Fire HDX 7" & 8.9" Android Development] stapler85:
this is great work, although some apps experience freezes, like youtube before a video starts

also automatic brightness doesnt work, it wont select, no biggie i just left it almost lowest.

and if anyone wants the minimalistic approach like me, i just tried BaNks 4.2.2 core Gapps and works fine, its absolute bare bone 15MB to get you started, it will give you playstore access only and you go from there.

https://s.basketbuild.com/devs/BaNkS/GApps/4.2.2/
[Kindle Fire HDX 7" & 8.9" Android Development] mitochondrion:
Awesome work!

Hello I am so happy to see this! Just want to know if it works with HDX 7" with LTE? Thanks heaps! :)