yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Sorry - original post contained a typo (should have read 'may' vs. 'many'):

...if FireOS can not 'see' the serial number the device

may

have been black listed by Amazon and/or altered at the hardware level before you acquired it.​

It was speculation not a statement of fact.

A 'factory reset' omits the system partition where the ROM resides. While unusual neglecting the wipe the system partition can result in instability and/or unusual behavior of the recently installed ROM. In most cases it simply fails to boot if not an incremental update to the existing ROM.
[Kindle Fire HDX 7" & 8.9" Android Development] Goonswoon:
I have attempted the fire os flash again, unfortunately with the same result. I do notice that even though I executed the wipe step stated as per your instructions, when the Fire os loads I see the couple of pictures I downloaded while on the Nexus rom. It is like it is still using parts of the android rom. Is that standard for this type of flash?

EDIT: I also received the symlinks failed error in the initial install. The tip about changing the mount state of system allowed it to fully install but still no serial.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
TWRP wipes preserve the media folder where pictures/videos reside.

I don't have any great ideas around serial number issue. My recommendation is to flash a supported version of Nexus and call it a day. Restore the backed up Nexus build if you want to preserve any content other than pics. Otherwise a 'clean' install is the best option.

Sorry this didn't work out the way you hoped.
[Kindle Fire HDX 7" & 8.9" Android Development] Goonswoon:
I have been poking around and I saw some threads where plain stock roms were offered. I will lurk those threads and see what others have done. I actually found a thread where someone had the same desire as I do with this rom on a HDX. You also commented with help for them ( although the instructions were a little different) and they were successful. I would post that thread but I am not sure how to. I also wonder if I would have made my own thread instead of under this old discontinued thread I would have maybe received help from other contributors that may have an idea of what is happening or if I am doing something wrong.

In any event,

I thank you for all of your assistance. I appreciate it. Cheers.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Sure. Hope you are able to find a solution. Keep in mind the device does not have a stock recovery which limits options for restoring stock FireOS. Good luck; feel free to post questions if you find something that looks promising.

(Don't neglect to consider Amazon Underground w/Nexus which should yield much of the functionality you seek; unfortunately, no Alexa)
[Kindle Fire HDX 7" & 8.9" Android Development] aaronkatrini:
Since i unlocked my bootloader 4-5 days ago I've been trying almost every Rom. Nougat based have some problems regarding the WiFi and the Camera seems a bit dark. These are huge deal-breakers for me, since I use the tablet for streaming and Skype. Same goes with the WiFi on the Marshmallow builds. And I tried this Rom, a bit old and now discontinued, but to me is the best. Very stable, while not as buttery smooth as Nougat, it works "fine". No problems with Wifi or Camera or whatsoever. The only major concern is the security issue, not being updated to latest security patches remains open to many vulnerabilities. Another "non-issue" is the fact that many new apps today require at least Lollipop to run, but older apks can be found on the internet.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
I am familiar with this ROM having used it as my daily driver for nearly a year. I recommend you try the immediate successor (here) which still receives occational updates. Same KitKat base, same developer/maintainer. It remains the 'go-to' choice for those seeking a fully functional HDX ROM w/o the camera and radio issues you noted. Also works with an unlocked bootloader which is a benefit to some.
[Kindle Fire HDX 7" & 8.9" Android Development] ONYXis:
See OP -
[Kindle Fire HDX 7" & 8.9" Android Development] loco09:
uhm.. there is safestrap 3.75 with twrp

not the same?
[Kindle Fire HDX 7" & 8.9" Android Development] ONYXis:
Totally not.
[Kindle Fire HDX 7" & 8.9" Android Development] loco09:
oh 8)

is it possible to install twrp ?
[Kindle Fire HDX 7" & 8.9" Android Development] tishotch:
After attempt to flash this rom through TWRP and following instructions, HDX 7 stuck on bootload menu and permanently grey logo. Is there any way to fix it ?
[Kindle Fire HDX 7" & 8.9" Android Development] :
You need an unlocked bootloader as it did the same after i installed it. follow this link http://xdaforums.com/showpost.php?p=58897784&postcount=67 after unlocking your bootloader this will boot.
[Kindle Fire HDX 7" & 8.9" Android Development] kudoz83:
[MENTION=5749760]ggow[/MENTION] are my PMs coming through about testing mate, I don't see anything in Sent messages after I send them...
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Hi, yes mate I have a couple of messages from you :)
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Update - Nexus ROM

For version 4.0.2 I am aiming for:

- Youtube, facebook and other video rendering to be fixed

- Youtube working and video in general working correctly over Miracast connection

- Try and reduce latency on Miracast

- ro.build.characteristics=tablet

- Safestrap compatibility (more details later)

- Low audio volume on headphones fix

4.0.2 will mark the release of the first stable version.

For version 4.0.3, there will be only one goal:

- Enable LTE

I will aim to get version 4.0.2 out by the end of this week.
[Kindle Fire HDX 7" & 8.9" Android Development] cdub50:
As a work around until 4.0.2 you can open videos, and YouTube with vlc which has no rendering issues.
[Kindle Fire HDX 7" & 8.9" Android Development] tb205gti:
Can you please take a look at the low volume issues as well?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Yes will do.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Update - ROM

- Youtube + facebook videos rendering correctly and also over miracast connection

- Netflix still has the same problems over miracast and refuses to display video - possibly hdcp broken?
[Kindle Fire HDX 7" & 8.9" Android Development] fiengzhu:
Webview engine can't load local html file?

It seems the webview engine comes with this rom can't load local html file. Would you please help me to look into this issue? Thanks!
[Kindle Fire HDX 7" & 8.9" Android Development] Nirrik:
Im not sure if I messed something up or not, I got to the point were the rom is up and running, but i cant seem to install amazon app store or amazon kindle, is this intentional? when I try to install from google play store I get error code 24 and when I manually download the apks it shows me permissions and I hit install and it fails. I already have unknown sources checked. Anyone else having this problem?

Oh and thank you very much for all the hard work done to allow us to have an unlocked boot loader and nice rom
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Try going into TWRP and doing a factory reset. Sounds like something is wrong on your /data partition.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Could you post any logs etc that may be relevant?
[Kindle Fire HDX 7" & 8.9" Android Development] Nirrik:
That worked Tyvm ^_^ great rom as always
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Hum...both of those install fine on my device. See previous post by ggow on possible solution. Be aware the latest Kindle app v4.12.0.134 force closes on many devices including mine. Rolling back to v4.2.0.54 (look for it on archive sites like Android Drawer) solved the problem. You'll need to uninstall the current version first unless you have made tweaks to the native installer to permit downgrades (requires Xposed module or similar technique).
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
I'm running Kindle App 4.12.0.134 fine with no problems.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Seems to be device specific or conflicts with other apps. Dropped v4.12.0.134 on a virgin Nexus v4 build; ran fine. Returned to my primary device and tried both v4.12.0.134 and the recently released v4.13.0.193; both force closed. Returned to v4.2.0.54 - ran fine. You will find sporadic reports of the Kindle app failing to install or force closing across a wide range of versions/devices with the usual array of unsubstantiated attributions. That said, I think it safe to say the Kindle app may not be especially robust and doesn't always play nice in the proverbial sandbox.

This has nothing to do with Nexus v4 IMO. Amazon needs to get their act together.
[Kindle Fire HDX 7" & 8.9" Android Development] kudoz83:
Hi mate, I'll give it a crack tonight then. Shoot me a PM
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Hi kudoz83,

Thanks, has to be someone with a locked device running stock 4.5.2.
[Kindle Fire HDX 7" & 8.9" Android Development] kudoz83:
Ah, right yes, haha good point!
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Update

Release of v4.0.2 is delayed

- Media sound through the headphones is currently not working. Something in the changes I made to the media HAL have broken it.

Other progress (completed):

- Video Rendering Fixes

- ro.build.characteristics=tablet

- Busybox and nano editor integrated

- Battery Stats Fixed

- Error executing updater binary when Flashing - Fixed

I'll get the headphones sorted out then Release.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Update

- Headphones working again properly

- Tested new volume settings for headphones - nice and loud now.

- I will build for thor and test then go for release today.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Update

Version 4.0.2 is Released - Enjoy :)

The changelog is on Post #3 of this thread.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Are you on Thor or Apollo?
[Kindle Fire HDX 7" & 8.9" Android Development] jeryll:
apollo, unlocked BL
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Just noticed the install script is printing v4.0.1. Highlighted above.

Strange, just tried dirty flashing and then clean flashing and it worked fine.

Just uploading a new file with a symlink removed for you to test.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Try this one: https://www.androidfilehost.com/?fid=24052804347762597

In your log it seems to also be complaining about file_contexts not being in the root. I am running the lastest build of TWRP off our xda thread (2.8.6.0) and don't see any of these errors.

But we'll work through it and see where we get to.
[Kindle Fire HDX 7" & 8.9" Android Development] jeryll:
Downloading right now, will try and report here ASAP, BTW - I have TWRP 2.8.6.0 too ....
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
For giggles and grins try an advanced wipe that includes the system partition. I've seen this work on several occasions though have no explanation why. A factory reset (data and cache) should be all that is needed.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Were you able to flash v4.0.2 ok?
[Kindle Fire HDX 7" & 8.9" Android Development] LittleGreenSony:
The 4.0.2 update works on Thor

Thanks again ggow. :good: I'm using safestrap. BTW don't forget to reapply gapps and SuperSU as they get wiped on update even with dirty flash.
[Kindle Fire HDX 7" & 8.9" Android Development] jeryll:
Thanks, ggow, this one installed smooth and nice, no problem or error during installation, this reply is from dirty flashed nexus 4.0.2 ... so thanks again :)
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Oh good, I'm going to upload new versions of both files to reflect the change I made to the updater script.

Download links will be back in about 10-15 minutes hopefully.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
New file links are up now.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Currently working off a metered connection; will be flashing tonight report back. Previous suggestion regarding wipe was generic...did not reflect specific experience with 4.0.2
[Kindle Fire HDX 7" & 8.9" Android Development] Droid_1:
I'm on thor with unlocked bl and downloaded the rom before you uploaded the changed updater script. No problems so far! Many thanks for your efforts!

Sent from my Kindle Fire HDX 7
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Cool, like you I'm curious why Wiping Data and Cache does not always work.

I'll take a look into TWRP commits and see if there is anything relevant to the issues some are experiencing here.

EDIT: Looked at the commits against our latest build/release of TWRP and I couldn't see anything relating to these issues.
[Kindle Fire HDX 7" & 8.9" Android Development] tb205gti:
I have my Thor permanently installed in my car - so I'll just have to remove it from the car before I can test the update. :)
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
I just dirty flashed a device from Nexus 2.0.5 backup to 4.0.2 and it seemed to work :)
[Kindle Fire HDX 7" & 8.9" Android Development] candiflan:
Is hdx-nexus v4.0.2 works with safestrap v4.0.1
[Kindle Fire HDX 7" & 8.9" Android Development] Sven-K:
I am also using HDX Nexus 4.0.2 on Thor 4.5.2 locked Bootloader with Safestrap 4.0.1. :D

Updated from HDX Nexus 4.0.1.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
All hdx nexus v4 releases will be compatible with safestrap 4.0.1
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Dirty flashed 4.0.2 over 4.0.1 (Nexus+gaps+SuperSu) and only cleared caches. Booted first time. Xposed Framework need a quick reinstall but all modules/settings were retained. Very nice indeed. :)

---------- Post added at 11:35 PM ---------- Previous post was at 11:31 PM ----------

Have to give that a try as I needed to clear system (advanced wipe) when going from 2.0.5 to 4.0.1. Will report back...probably in a day or so.
[Kindle Fire HDX 7" & 8.9" Android Development] cdub50:
Working great so far YouTube working which is sweet. Thanks again for all that you do.
[Kindle Fire HDX 7" & 8.9" Android Development] justa_hoang:
Mobile network

It's not working ! Always stop :(

i hope you fix soon !

My kindle is hdx7 32gb lte ^^

P/s : My kindle is in 4.5.2 with stock rom, rooted ! So, i want have gg play, please tell me how about do it, thanks !

Sr, my E is not good !
[Kindle Fire HDX 7" & 8.9" Android Development] NeverSmile:
Hi ggow. I really want to try this rom but i dont know how to unlock BL. I have adb on my pc. Hdx 7 with TWRP with locked BL. Hope u guide me. I have exp to unlock BL on N7 but on HDX everything isnt simple.
[Kindle Fire HDX 7" & 8.9" Android Development] :
Hello i was in the same boat as you when it came to unlocking my BL but after messaging ggow he gave me a link to follow and it worked great. here's the link http://xdaforums.com/showpost.php?p=58897784&postcount=67 just follow step by step.

hope this helps.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
LTE is scheduled for v4.0.3 release of the ROM.

As for gapps on stock. I think [MENTION=372570]GSLEON3[/MENTION] has a similar setup working, have a look at this post and this thread for more info:

http://xdaforums.com/showpost.php?p=61421251&postcount=40
[Kindle Fire HDX 7" & 8.9" Android Development] candiflan:
Okay thanks for the update, I have the 16G Apollo unlock 14.3.2.3 every things is good but the google maps location or GPS not working proper
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Do you have an LTE device?

Will take a look into GPS once I have LTE working.
[Kindle Fire HDX 7" & 8.9" Android Development] candiflan:
i have the wifi
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Unfortunately the WiFi model doesn't have GPS.

I had early reports from 4.0.1 that GPS was working on LTE models.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
For awareness GPS is flaky on stock FireOS as reported by others. Appears the chipset isn't that great with slow acquisition times and frequent resets. Not much the ROM can do about that if it's truly at the hardware level.
[Kindle Fire HDX 7" & 8.9" Android Development] justa_hoang:
Great, I will wait 4.0.3 ^^

P/s : i did step by step but I don't log in my account gg into my kindle :((
[Kindle Fire HDX 7" & 8.9" Android Development] Gigabyte20:
Sorry if this is off-topic, but I have just upgraded to 4.5.2 from a rooted 3.2.8, but towelroot won't work. It says that my phone isn't supported. I don't see anybody else talking about this problem. How are you rooting your devices?

I have to quickly turn on wifi to use towelroot, then turn it off before the update can finish downloading, then factory rest the kindle to erase any update that has downloaded. It's annoying.

Also, to confirm, after rooting my device, I need to disable the OTA with hdxtools (or maybe just rename the file with a file explorer) and then install safestrap, then flash the nexus rom, then gapps, then the device will run just like any android device except for a few GPS issues?

This is my first time trying this, so I apologize for the noobie question. Please inform me of any steps that I have missed.

Thankyou
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Hi Gigabyte20 - the instructions you have are not applicable to 4.5.2. While there are several approaches to rooting and blocking OTA on FireOS 4.x I suggest the following:

- Root using Kingroot (easier than some other techniques)

- Block OTA by renaming DeviceSoftwareOTA.apk to DeviceSoftwareOTA.bak (HDX toolkit won't work on v4.x)

- Follow the SafeStrap 4.0.1 thread for info on installing SafeStrap and Nexus:

http://xdaforums.com/showthread.php?t=3137840

Good luck.
[Kindle Fire HDX 7" & 8.9" Android Development] tb205gti:
Installed a dirty flash :) Had to reinstall the gapps - otherwise GooglePlay would FC on me. :)

Volume is much better - but there is a small glitch still. I cannot set the volume to more than 75% of the slider. if I set it at 100% - then it pops back to 75%. Video playback in YouTube and NetFlix is working without errors.

I'll try to post a video of the volume glitch.

edit: here it is:

https://www.youtube.com/watch?v=yew_tZtq8JM
[Kindle Fire HDX 7" & 8.9" Android Development] candiflan:
So HDX Nexus v4.0.2 Won't have Google maps or GPS working on Apollo or Thor wifi
[Kindle Fire HDX 7" & 8.9" Android Development] tb205gti:
If the hardware is not present - it's hard to get it to work ;)
[Kindle Fire HDX 7" & 8.9" Android Development] candiflan:
Is working on cm-11-20150507-NIGHTLY-apollo and my Thor 13.3.2.8 nexus safestrap ROM v1.0.1
[Kindle Fire HDX 7" & 8.9" Android Development] tb205gti:
The Thor Wifi does not have the GPS hardware - so I highly doubt it..
[Kindle Fire HDX 7" & 8.9" Android Development] holeshot77:
It was working on cm11 for Apollo. However on nexus it does not work. Is hardware present in the Apollo WiFi?? I thought it was.
[Kindle Fire HDX 7" & 8.9" Android Development] candiflan:
It does luck at the spec
[Kindle Fire HDX 7" & 8.9" Android Development] kudoz83:
That's not Thor (or Apollo) that's the updated 8.9" (Jupiter or something I think).

Remember guys... Google Maps still works without GPS (using WiFi positioning)... so just because google maps is working doesn't mean you have GPS...
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Google Maps works regardless of GPS or WiFi positioning. WiFi can offer an approximate location but its accuracy varies widely depending on what physical location Google has associated with the hotspot (further assuming you have enabled Google's location services). Generally a rough approximation outside major metropolitan areas. You really need a GPS chip for accurate positioning which most HDX devices lack.
[Kindle Fire HDX 7" & 8.9" Android Development] cdub50:
Seeing an issue on 4.0.2 with both hangouts and gmail. Logcat shows.

06-21 21:28:50.763 E/ProviderInstaller(14343): libgmscore version mismatch (7574 vs. 6599)

06-21 21:28:19.553 E/ProviderInstaller(14343): Failed to install provider: null

06-21 21:28:19.563 E/Gmail (14343): Unrecoverable error from installIfNeeded, in runHttpRequest

I have a back trace as well if you would like me to post it.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
It's working fine here which suggests there is something wrong on your device's /data partition.

libgmscore on kitkat usually resides in /data/app-lib/com.google.android.gms-1/

I couldn't find the file version but the one I have on my device is 793,808 bytes in size and 794,624 bytes used (ES File Explorer File Properties).

You could try clearing data for all google apps OR

I don't know if you tried clearing it manually whether it would be re-populated with the correct version?

After all that, not ideal but a TWRP factory reset should work.
[Kindle Fire HDX 7" & 8.9" Android Development] cdub50:
Will try a factory reset dirty flashed 4.0.2 over 4.01 could be the issue.
[Kindle Fire HDX 7" & 8.9" Android Development] skeptic1007:
The first boot with safestrap. The first screen, with the dancing circles, lasts very long. It seems not to go farther than that. How long is normal?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Typically lasts under 60 sec on first boot; 10 sec on subsequent boots. I have seen this before. Try returning to safestrap recovery and do an advanced system wipe selecting all (4) partitions. Then reinstall Nexus 4.02, gapps and SuperSu 2.46. (latter is optional but recommended). Then reboot. Should come up clean. While there may be other solutions the above worked for me.
[Kindle Fire HDX 7" & 8.9" Android Development] skeptic1007:
Thank you, it worked nicely. A few questions, please:

1. "Unknown issue with Google Play Services." I repeatedly get this message.

2. Gravity + Xposed framework work here?

3. Is greenify worth using to improve on battery here? It did a good job with Nexus 1.0.1.

4. I have the Wifi only model. I would freeze the Phone, Messaging and Voice Dialling applications, as they are definitely useless.
[Kindle Fire HDX 7" & 8.9" Android Development] morbos:
I have delayed asking you about this through quite a few ROM releases (old HDX Nexus, CM11, to this one), but I can not resolve the issue myself. I am hoping it's something you might have a solution to off the top of your head. If not, I'll scramble around some more to try to arrive at a solution myself. I suspect that because it's a single application, that it might have something to do with screen compatibility on the developer's end.

One application is running on about 20% of the upper-left corner of the screen. I have tried Xposed modules to adjust DPI and every other option I could get my hands on. I even started the application manually to try some ActivityManager and WindowManager options. Actually, I asked Google+ about it here. Nothing stands out in logcat. :p

Otherwise, I can not thank you enough for your work on this device! It seems every time I buy a normal tablet, my girlfriend breaks hers and I end up giving her mine, but this one has stuck with me (probably because of the technical curve), and I passionately hate FireOS.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Quick responses:

- try reflashing gaps (make sure you have the correct version; see first post). Usually solves problem.

- absolutely! I use both extensively. No problems unique to Safestrap v4 / Nexus v4

- I use it on a few aggressive apps. Works well. In general battery life is pretty good w/nexus v4 (KitKat tweaks)

- so far I have not observed any cpu/battery utilization attributable to these apps on WiFi hdx. The persistent network icon in status bar is slightly annoying. Was going to see what happens with Nexus 4.0.3 (LTE support) before requesting if it can be artificially suppressed.

---------- Post added at 04:42 PM ---------- Previous post was at 04:31 PM ----------

Have you tried v4.0.2. There was a subtle property change that defines the device as a tablet vs phone. Probably won't help but easy to test.