yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" Original Android Develop] pechter:
New Fire HDX 7" -- 4.5.5.2 -- want to go to Lineage 14.1

Got the new Fire HDX 7 yesterday and powered it up and plugged it in to charge and the thing autoupgraded from 4.5.3 to 4.5.5.2.

I'm following the bootloader unlock and I've done TWRP and

CWM on phones and Nook ovation tablets. Looks like Amazon's guys REALLY locked this little beast down.

How risky is trying to force a download to 4.5.5.1 so I can get it with Kingroot? Should I wait until someone gets this cracked or is there a way to root the tablet. It's a beautiful tablet with only the software making it less than perfect for me.

The Nook is so much slower than the Thor... I'm amazed how much faster it seems than my phone.

I've got a mail app which supports PGP/GPG which I want to get on here but that keeps going to only the Play store for upgrades and license checks.

Thanks for any help.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
Think the device is fast now? Wait 'till you load a custom ROM. :)

KingRoot is effective against FireOS 4.5.5.2; might take many attempts/iterations as the algorithm used to identify vulnerabilities and associated exploits is inefficient (nearly random) and not optimized for FireOS. What KingRoot is really looking for are vulnerabilities in Android 4.4.x which is the base for FireOS v4.5.x. Likely only a handful that work against FireOS given Amazon has closed some well known Android vulnerabilities. You can also try the tether desktop (Windows) variant which often yields better results. Downside is the non-English UI which can be a bit intimidating.

However, a downgrade it 3.2.8 is relatively trivial and offers easy rooting which is the only soft prerequisite to unlocking the bootloader (please ask for details as it's also easy to brick the device). It's also possible to unlock a non-rooted device but the procedure is more complex and unfamiliar to many.

Recommendation: Continue attempts with KingRoot. If unsuccessful downgrade to FireOS 3.2.8 and continue from there.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Practically:
I tried to install that and it stucks at kindle fire screen
[Kindle Fire HDX 7" & 8.9" Original Android Develop] pechter:
Going to have to roll it back.

I put up 4.5.5.2 and rooted it but the mail app doesn't work.

Seems to crash almost immediately. I'm playing with the google

apps and play store to see if it fixes it.

If I go back to 13.3.2.8 is there a good doc on moving to Lineage

or CyanogenMod.

I'm pretty comfortable with CWM and TWRP and did CM10->14

on the Nook HDplus.

Sounds like Lineage 14.1 may be the way to go.

Got a pointer to the best thread on bootrom unlocking...

Thanks again...
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
Return to TWRP, wipe system and data partitions then reflash LinOS 14.1. You will also need a GAaps package which should be flashed at the *same time*, before LinOS 14.1 is booted for the first time. Recommend Nano build as it is compact yet contains all the essentials. See link below; be sure to select arm/7.1/nano via radio buttons before downloading; otherwise you'll likely get the wrong build. You can transfer the GAaps zip to your HDX via tether while it is booted into TWRP.

http://opengapps.org
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Practically:
I did but it still stuck . how lond would it take ? i've been waiting for 10 mins
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
Should progress in ~1-2 min (at most). Return to TWRP, wipe system and data partitions again and then flash self contained Fire Nexus ROM (link below). If that one starts ok it suggests the bootloader is not unlocked on your device.

Note Fire Nexus has GAaps and SuperSU built in; no need to flash additional zips.

https://xdaforums.com/kindle-fire-hdx/orig-development/rom-fire-nexus-rom-ktu84q-t3322931
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Practically:
I got error 7 sory for bothering you

---------- Post added at 09:28 PM ---------- Previous post was at 09:09 PM ----------

It works thank [MENTION=5488402]Davey126[/MENTION]
[Kindle Fire HDX 7" & 8.9" Original Android Develop] yoyohoho:
Framework addition for Lineage 14.1?

I'm working on using my thor device with Google Daydream. It works great as a Google cardboard device with a much better FOV then is possible with a phone. I found that if I delete Google VR Services that many Daydream apps will run, however they run in full screen mode, not 3D. If I activate 3D, they all crash. The logs say that Framework/tcmclient.jar and Framework/connectionExt.jar are not installed.

My question (before I spend 4 weeks learning how to build an Android kernel): is there any reason why tcmclient and connectionExt were left out (or can't be added) from the Lineage 14.1 build?

BTW, thanks for all your work in getting 14.1 to work on thor, I love it :)

Thanks,

yoyohoho
[Kindle Fire HDX 7" & 8.9" Original Android Develop] pechter:
Crap. Bricked. Any thoughts or just chuck it.

Damn... I rolled it back to 3.2.8 and rooted it. Started to install the play store and unfortunately looked at the updates to see there were none... It found one. Crap.

Tried to figure how to kill 'em before it applied and I couldn't.

While I was feeding the #$%$ cats it updated to 13.3.4.1 and bricked. No power on. USB connected to pc and it only powers up while I hold the button on. No data on screen at all. Any suggestions?

My fault for not keeping a closer eye on it.

Bill
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
Sorry for your loss. Device is a write-off; there is no known recovery method for this type of brick. Maintaining network isolation is essential following a 3.2.8 rollback. Hence the advisory in my original post. Hopefully future readers may learn from your misfortune; history suggests otherwise.

---------- Post added at 01:09 PM ---------- Previous post was at 12:53 PM ----------

Kernel on this device is Android 4.4.x based which was the foundation for the terminal release of FireOS for 3rd gen HDX. Proprietary binaries have not been updated since; developers have faced significant challenges getting basic interfaces (eg: display; radios) working and stable with higher Android builds. Might be why those Framework libraries were not included in LinOS and possibly serve as a caution to those who wish to construct a custom kernel for this device.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] pechter:
Thanks again...

Thanks for your help. Too bad they don't have ethernet and have the capability to load via tftp like routers with blown flash.

I was afraid this one would beat me. Too bad no jtag interfaces and stuff. Back to the Banana Pi and stuff for now.

I may buy one cheap on Ebay with a broken screen and swap boards.

Bill
[Kindle Fire HDX 7" & 8.9" Original Android Develop] caiu:
I can flash Apollo cm14 but can't flash lineageOS 4.15

When I choose lineageOS .zip in Recovery Mode, and Install it.

iT alway show Me:

>. E3003 CAN'T INSTALL THIS PACKAGE over newer build

in my screen

can you help me?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] CocoBun:
Extract the zips contents and edit the file updater-script by removing the first line, then zip it back and install. The file is in the folder META-INF/com/google/android
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
Alternatively, downgrade TWRP to 3.0.0-1. Builds 3.0.1.x-3.1.x seem to have issues dealing with the latest HDX ROM zips.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] caiu:
I Delete the first line, but when I install Lineage0415 ,it shows me

> invalid zip file format

---------- Post added at 02:00 AM ---------- Previous post was at 01:58 AM ----------

you mean I can flash Lineage415 not by TWRP 3.1.0.0?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
Don't know about Lineage414 but Lineage 14.1 can be flashed with any TWRP v3 build. If uncertain download TWRP 3.0.0-1 and boot into from fastboot (vs launching whatever is installed in the recovery partition).
[Kindle Fire HDX 7" & 8.9" Original Android Develop] CocoBun:
You're probably having the same problem I had, check to see if u zipped the folder it was in instead of just the contents. The files must be at the beginning of the zip (I guess at the root u could say) and not inside of a folder. So try zipping again but by selecting all the files from the zip and not the folder they were extracted to. Does that make sense? If that works u shouldn't have to downgrade, ggow is working on the issue with the error so maybe the next build will no longer have this problem. Also if u get another error it might be that u removed more than the first line by accident
[Kindle Fire HDX 7" & 8.9" Original Android Develop] caiu:
Thankyou

Got it

thank you
[Kindle Fire HDX 7" & 8.9" Original Android Develop] caiu:
thank for you help

already solved the problem！
[Kindle Fire HDX 7" & 8.9" Original Android Develop] nhatanh181:
Where does the first line end?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
At the semicolon. A better approach is to roll back TWRP to 3.0.0-1 which does not exhibit this behavior. No messing with zips.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
New Build is Up

- Dated 03 May 2017

- Upstream Lineage updates

- Please use 3.0.0.1 of TWRP to flash until latest version of recovery is fixed up

- Also note Thor version was built a day earlier than the date of this release
[Kindle Fire HDX 7" & 8.9" Original Android Develop] a442509097:
thanks, downgrade TWRP is the right choice.

---------- Post added at 01:40 AM ---------- Previous post was at 01:06 AM ----------

When in locked Portrait Mode, YouTube can't right full screen, only on Auto-Rotate Mode can.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Insidious622:
Sorry for the silly question but does the latest thor image from the 2nd still have the Bluetooth issues mentioned in the op? And can someone explain what said issues are? I ask because I just grabbed an HDX 7" from Swappa, was planning on putting this on it, and am planning on potentially grabbing a clip-to-the-side controller set eventually and wanted to know if said Bluetooth issues would prevent this working. I also have a Bluetooth speaker and would like to know if I can expect that not to work either. If there aren't easy answers to these questions that's fine. Thank you for your time.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
Given potential bluetooth dependencies you should consider a KitKat based custom ROM (CM 11 or Fire Nexus KTU84Q) which offers better compatibility with the near stock kernel on this device. Some members have indicated the Marshmallow based build of Fire Nexus also plays nice with many bluetooth devices. Unfortunately, only a few use this ROM so not a lot of data points to go on. Good luck.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Insidious622:
Thanks for the helpful response :) I'll probably just go with Fire Nexus for now then, at least until the Bluetooth is stabler with LineageOS 14. Will keep a weather eye on this thread for future developments though.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
Don't look for dramatic radio improvements anytime soon. Been an ongoing issue with newer (Android 5+) custom ROMs for this device due to difficulties integrating with Amazon's proprietary/wonky KitKat era binaries. Development resources are very limited for this aging device; mostly maintenance updates from upstream LineageOS sources which will do nothing to improve the Bluetooth situation. What "works" works very well. Just need to understand and accept the limitations.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] a442509097:
Speaker sound quality so harsh, but in "Fire OS 4.5.2" or "Nexus v2.0.5" is good, what's the issue here?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
Please don't cross post; response here which leads back to this thread.

Unlike some previous custom ROMs for this device LinOS is generic with only minimal tweaks for device compatibility. Enhanced audio is discretionary.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] a442509097:
Viper4 is same too, i think this is about audio drive problem, because i try 4.22 or 4.4.4 system(however custom) sound quality has enough bass.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
https://xdaforums.com/kindle-fire-hdx/development/rom-fire-os-4-5-2-t3189694/post72176475
[Kindle Fire HDX 7" & 8.9" Original Android Develop] M-A-X:
Hey. Just wondering: I just switched from CM12.1 to Lineage14.1 latest build. My WiFi keeps disconnecting in less than 2 Minutes. Is this normal? I read first Post but thought 'Sometimes after an extended period of time Wifi will stop working.' means that the extended period is longer than 2 Minutes :(
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
Nope - pretty much unusable with that duration.

Try setting a fixed IP on the device (long press to modify specific WiFi network; advanced option) and, if possible, on your home AP. Also try to determine if drops are occurring on 2.4 or 5 GHz networks; if the latter you may find relief connecting at 2.4 GHz. Finally, some members have reported improved WiFi stability when the 5 GHz radio is disabled on home APs. Clearly not an ideal/viable solution for many but a potential workaround for some.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] M-A-X:
Hey. Thanks for the fast answer. I set a static IP now. Now it drops the WiFi connection every few seconds an reconnects automaticly shortly after. How do I set up the Kindle to only connect to 2.4ghz? I cant find this Option. The WiFi it drops from is always 5ghz it seems.

Edit: I m not sure If that is important but when I flashed the rom there were two lines of errors: E: unknown command [log].

But Everything else is working
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
You control which APs your device connects to via credentials (hopefully no open networks in play). There is no mechanism within the device or ROM to limit connections to a particular band. Hopefully the APs you are trying to use broadcast on both 2.4 and 5 GHz bands and use a different name (SSID) for each. Simply "forget" the 5 GHz network.

Some report the presence of mixed signals is a catalyst for spontaneous WiFi disconnects. Not much you can do about that unless you can disable one of the AP radios.

No worries regarding the errors observed while flashing this ROM (annoying but harmless).
[Kindle Fire HDX 7" & 8.9" Original Android Develop] M-A-X:
Hey. Thanks, that did it. Changed SSID of 5GHz Band so that Kindle could only connect to the 2.4GHz band and all is working ok now.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] mrw187:
How is bluetooth audio on the latest build? I am often using my phone to play music when I go out and I would like to use my tablet instead, but not if it is going to be hard to connect/drop signal etc....I do not care about bluetooth peripherals or anything like that I am only concerned with the ability to connect to a bluetooth speaker and have music play for hours...
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
I would approach with caution. Bluetooth connectivity/stability is remains device (speaker) specific with more failures than successes. If your HDX is primarly used for audio playback consider one of the custom KitKat based ROMs which have proven to be quite reliable w.r.t. BT. Suggest Fire Nexus KTU84Q over CM 11.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] pxrave:
Installed and no problems with latest TWRP 3.1

Thanks for keep the Rom updated
[Kindle Fire HDX 7" & 8.9" Original Android Develop] yigal66:
Thanks for stable rom. Only wifi wake-up problem slightly annoying. Any plan/chance to fix it?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
Probably best to consider this ROM (and all others for HDX) feature complete with only occational upstream LinOS and/or security updates being baked into new builds. Development​ resources are scarce and challenged by proprietary KitKat era Amazon device binaries (kernel) that don't always play nice. The presence of 5GHz signals seems to aggravate WiFi connectivity issues, especially when emanating from the same AP. I realize you are referring WiFi reconnect on wake but the above may help if have control over AP radios. Also try setting a fixed IP.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] murso74:
Links down for anyone else?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
ggow builds (AFH) work fine here (Northeast US)
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Koile:
funny thing: I also had the WiFi-Problems, since a second user was created.

I accidentally found a workaround: I switched into airplane-mode and only reactivated WiFi (instead of switching airplane-mode off again). I haven't had the WiFi-problem ever since! o.O
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
Damn - forgot all about this strategy! Had to use it a few years back on a crappy device that got its panties in a bunch when both mobile and WiFi radios were active. Had to choose one or the other. Since I could never remember which was last active I would toggle airplane mode then enable the desired radio. Set up a couple shortcuts to do the dirty work. Thanks for the memory jog! Hope it proves useful to HDX users facing WiFi issues on wake-up.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] M-A-X:
This last hint isnt working for me (WiFi still gets disconnected after a while).
[Kindle Fire HDX 7" & 8.9" Original Android Develop] stangri:
Proper WiFi operation seems to be router, router firmware and WiFi settings dependent. I've had apollo working great at my folks' place for about a week before their ISP forced a router/settings update and now it gets disconnected as well.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] tbnorris:
I love the build, ido seem to have an issue with my 5GHz AP, but the 2.4GHz has been really strong.

My biggest issue seems to be Bluetooth will not pair, at least not my LG earbuds.

Using a Thor with the 20170503 build. I did have to run the last hashcode build to setup up my device. There was an issue where it would not let me pick my WiFi access point, it just wanted to setup my SIM card (which I have an AT&T model, but I don't have service on it). After I out on the 20161230, registered and upgraded to the 201700503 release the only issue I can see is the Bluetooth one.

Let me know if there is anything I can do to help with any issues.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
Yep - Bluetooth connectivity is an issue with this ROM due to dated (KitKat era) Amazon binaries/drivers that don't play nice with newer versions of Android. There are no reliable workarounds. If Bluetooth is a must you'll need to drop back to an older ROM.

Also be aware LTE (and likely SIMs) are not officially supported by this Lineage build although you may be able to get it working.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] MahmudS:
How?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
No specific suggestions. Look back through this thread and other custom HDX ROM threads for reported experiences, conquests and failures. That's why I go with 'not working/supported' as considerable effort is often needed to acheive meaningful results.

Keep in mind this applies only to specific functionality. If you don't need LTE or Bluetooth and can tolerate occational WiFi wackiness the ROM is stable and highly functional which is rather remarkable given the devices age, proprietary interfaces and limited development resources.

If you do need these capabilities there are several other ROMs to choose from.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] CocoBun:
Are u going to include the new jelly browser in the next build? I read somewhere that it supports flash player
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
Would rather see this mature a bit before being included in the build. AOSP works. Flash player...really?? Maybe toss in shockwave player too. Oi!

For the curious: https://www.xda-developers.com/heres-the-apk-for-the-new-jelly-browser-from-lineageos-14-1/
[Kindle Fire HDX 7" & 8.9" Original Android Develop] CocoBun:
Heh that's where I read it from, it was on page 2 :p
[Kindle Fire HDX 7" & 8.9" Original Android Develop] usman3206:
I want to install the update but do not want to loose either the data or the apps that I have on my device, please suggest a way to do that
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
Boot into TWRP and flash desired version along with a suitable GAaps package from here and SuperSU if you are not using native root manager. Do not perform any wipes - although it is fine to flush dalvik and cache if prompted.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] usman3206:
Thanks, you are always so much helpful
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
New Build is Up

- Dated 19 May 2017

- LineageOS Upstream Updates
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
As with other recent builds this release only incorporates upstream Lineage updates. It does not, nor was it intended to, address HDX specific tweaks or add new feature/functionality.

Great adaptation of Android 7.1 for a proprietary, non-standard, discontinued KitKat era device (!!) with a couple modest limitations as documented in the first few posts. Enjoy!
[Kindle Fire HDX 7" & 8.9" Original Android Develop] CocoBun:
Also that guy lied, Jelly browser doesn't support flash player :(
[Kindle Fire HDX 7" & 8.9" Original Android Develop] CocoBun:
Are u going to implement this? (In screenshot) It could work like magisk hide and apps like Netflix would maybe appear back in play store, but would it have any negative effects?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
Probably a good thing.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] CocoBun:
Yeah, puffin works good enough anyways
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
Yes, I'll include it in the next release. I'll cherry-pick the commits over from the hammerhead (Nexus 5) kernel.

It shouldn't have negative effects as far as I can see. I'll give it test to double check.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] pxrave:
thanks for it...twrp is also updated maybe it will fix these errors with 3.1.0
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
TWRP flashing errors are due to a problem in update-script which is locally customized for each ROM. Earlier TWRP builds apparently ignore the line(s) in question.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
I have built TWRP 3.1.1-0 and flashed the 19 MAY 2017 LineageOS build and seems OK.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] anrchy666:
So i got the rom to install with no issues but when trying to install gapps i keep getting architecture is wrong i tired both arm and arm64 am i missing something?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
Suggested package: arm/7.1/nano. Can go with something other than nano while remaining cognizant of limited space in the system partition.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
I have rebuilt the ROMs with the kernel updates, will release them when at home this evening or tomorrow morning.

The changes are on my github
[Kindle Fire HDX 7" & 8.9" Original Android Develop] anrchy666:
Figured it out i was on twrp 3.1.1.0 went back to 3.1.0.0 no issues thanks i should of done this a long time ago bit barely use the fire anymore lol
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
New Build is Up

- Dated 22 May 2017

- Upstream LineageOS

- Kernel: Prevent unprivileged processes from exploiting su when root is disabled in Settings

- https://github.com/ggow/android_kernel_amazon_hdx-common/commits/cm-14.1

- Cleaned OP from legacy CM information