yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Release Notes / Change

21 December 2018

- Included / Ported relevant Security Patches up to December 2018

30 November 2018

- Included / Ported relevant Security Patches up to November 2018

- Updated to FireOS 4.5.5.3 binary blobs

- Retire AOSP Browser due to security holes

- Please install an up to date browser of your choice

- Upgrade external/openssl: 1.0.1e -> 1.0.1j

- ANT+: Update to v4.0.0

- giflib: Update to v5.1.4

- bsdiff: Check for corrupt patch

- jhead: Update to cm-13.0 branch

- libexif: Update to android-5.1.1_r38 branch

- e2fsprogs: Update 1.41.14 -> 1.42.9

- NOTE: for some reason we need to flash gapps and supersu again on upgrade

17 October 2016

- Ported Google's October 2016 Security Bulletin

Older Version History:

18 September 2016

- Ported Google's September 2016 Security Bulletin

06 August 2016

- Ported Google's August 2016 Security Bulletin

27 July 2016

- Ported Google's July 2016 Security Bulletin

21 June 2016

- June 2016 Patch Level

- Update CM Code

12 May 2016

- May 2016 Patch Level

- Update CM Code

08 Apr 2016

- April 2016 Patch Level

- Update CM Code

06 Feb 2016

- Fixed Audio Issue from last Release

- Re-tested on Thor and Apollo

2016/02/04

Updated CM Code

01 February 2016 AOSP Security Patch Level

2016/01/18

Fixed battery stats, the readings should be as accurate as using FireOS

Updated CM Code

2016/01/04

Updated CM Code

2015/12/12

Updated CM Code

Fixed Orientation of Cameras

2015/11/24

Updated CM Code

Fixed bug in the last build with motion sensor been reversed in x-axis

2015/11/22

Updated CM Code

Also includes the lastest Stagefright Patches

2015/10/27

Updated CM Code

2015/10/07

Updated CM Code

Back port signature faking to enable use of microG framework

2015/09/28

Updated CM-11 code

Fixes to stock camera app

Open Gapps is recommended going forward (linked in the OP)

2015/07/26

Fix RIL Radio Detection Bug

Fixed MTP and ADB connectivity

Added back Stock Calendar app

Added back Stock Browser app

Added back Stock Camera app

2015/07/25

Latest CM Code

Fix RIL Radio Detection

Battery Stats (radio detection)

Hide 3G/LTE icon and settings automatically

2015/07/09

Latest CM code

Fixed Battery Stats

Removed Stock Calendar app

Removed Stock Browser app

Removed Stock Camera app

Removed unnecessary media kernel modules just taking up space.

2015/06/28 - Inital Release
[Kindle Fire HDX 7" & 8.9" Android Development] sn123py:
LTE working

Hi,

i just installed this rom on my Thor LTE Unlocked BL with TWRP and (nearly) everything is fine:

LTE works (dialog with SIM-Pin takes about 2 minutes to pop up after boot, but that is ok).

just two things:

- registering with google account is not possible due to broken hosts-file. I commented the line with "127.57.144.26 android.clients.google.com" and everything works fine with google.

- Rotation is upside down. Apps, that rotate to landscape (plex, for example) rotate so that the camera is at the bottom side, not on the upper side. So sound is reversed, and speaker are looking down instead of up.

btw - this rom installs fine, not complaining about failed symlinks like the "HDX_Nexus_ROM_Thor-v4.0.3-B02.zip" does ...

good job!

ps: i was a bit irritated regarding the missing root app, but then i read your post#1 :)
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Thanks for letting me know, is it possible for to you try SMS and a phone call?

[MENTION=1878227]sn123py[/MENTION] - For your apps that rotate upside down try locking the orientation the correct way up first then start your app and let me know if that works.
[Kindle Fire HDX 7" & 8.9" Android Development] sn123py:
send SMS: working

receive SMS: working

outgoing call: not working (call ended immediate)

incoming call: not working (get a ring-tone on the other side, but HDX keeps quit).

btw - i never got phone calls working on my hdx.

fixed tablet in landscape (with camera on the top side), started plex and rotation was ok.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Not sure if calling can work or not on HDX hardware. Just thought I'd give it a try :)

SMS working is good.
[Kindle Fire HDX 7" & 8.9" Android Development] candiflan:
Thanks for the ROM it works perfect on thor I installed it in the 1 slot an every things working WiFi and Bluetooth, sound,location is all good you are the man ggow
[Kindle Fire HDX 7" & 8.9" Android Development] kudoz83:
Well, Apollo LTE works great, in both TWRP and SafeStrap (LTE works in ANY slot btw)...

Takes about a minute to initialize the baseband and get signal, fyi.

Only sad report is that calls don't work yeah, disconnection time the moment a number is dialed.

Another champion effort [MENTION=5749760]ggow[/MENTION]
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Thanks :)

Do calls work on stock, has anyone ever had calling working at all?

I am wondering whether it's a limitation of the device?
[Kindle Fire HDX 7" & 8.9" Android Development] sn123py:
nope. I tried just after rooting my kindle a year ago with a third party calling app. Same effect as in your current rom.
[Kindle Fire HDX 7" & 8.9" Android Development] cjdfyd2:
Thankyou your effort and i was install cm rom but i can't install stoc rom Install only another rom anyone who why is that result?
[Kindle Fire HDX 7" & 8.9" Android Development] aleteman:
I have twrp installed but the bootloader is locked

Should it work nevertheless, because my tablet stops at the kindle fire logo?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
From the OP... yes you need to unlock your bootloader.
[Kindle Fire HDX 7" & 8.9" Android Development] aleteman:
Well i wasn't 100% sure even if the phrasing is pretty clear :D

Guess it's time to unlock it

And thanks for your work
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
No worries, I have changed the phrasing in the OP to make it clearer :)

Enjoy the ROM.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Just speculating here but it may be highly probable that the RIL libs do not support voice calling. I haven't got time at the moment to investigate. So I think for now at least this one will stay parked.
[Kindle Fire HDX 7" & 8.9" Android Development] sn123py:
Update after two days with this Rom:

I had some strange messages that the sim-card was removed and reinserted and the dialog asked me to reboot the tablet to activate the changes (?!). I simply tapped the back-button several times (there were about 10 dialog-boxes stacked) and everything is still working including LTE.

just wanted to let you know.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Thanks for that, if it happens again could you get me a log and I'll look into it.
[Kindle Fire HDX 7" & 8.9" Android Development] sn123py:
could you give me a hint how to generate/find logs?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Well - like a nub I overcomplicated a simple response (bad habit of late). Just grab the generic installer from here. The rest of my rambling pertained more to GB than Xposed.
[Kindle Fire HDX 7" & 8.9" Android Development] slothdabski:
will do! I was hesitant of using that method bc I didnt know if that would brick with safestrap

---------- Post added at 05:27 PM ---------- Previous post was at 04:56 PM ----------

worked successfully!
[Kindle Fire HDX 7" & 8.9" Android Development] Cl4ncy:
1. Please don't post multiple times all over the place, we'll find you post and reply, don't worry. ;)

2. Which Safestrap version do you have installed, and can you access it, i.e. if you turn the HDX on, does the Safestrap screen appear and can you enter recovery?

Note that this CM11 ROM is for Safestrap v4 only (or unlocked bootloader).

And DON'T do a factory reset in the Amazon stock recovery!
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Agreed! I responded to the same post in a different thread (basically same answer as Cl4ncy) before noticing the dups. Understand you are upset - patience.

Can't emphasize this enough. Doing so will likely lead to an unrecoverable situation (brick).
[Kindle Fire HDX 7" & 8.9" Android Development] ankitaroramba:
Thanks,

Sorry i was scared that i blew the tablet.

After trying multiple times, it switched on and i reached to Safestrap screen. The issue was i was not aware that as i select the new ROM in safestrap its the default for booting. I had not loaded the CM11 on it.

So i changed to Stock and problem solved. Hope it helps somebody here.
[Kindle Fire HDX 7" & 8.9" Android Development] Cl4ncy:
Oh yes, always keep an eye on the active slot in Safestrap!

[MENTION=6915090]tropicallazerbeams[/MENTION] posted some links to YouTube videos about Safestrap usage and the installation of custom ROMs here. Even if you figured out your problem now, could still be a good idea to take a look. ;)
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
New Build is Up

- Dated 2015-09-28

- Change log is Post #2
[Kindle Fire HDX 7" & 8.9" Android Development] mrw187:
I cant root my device after installing this latest cm11.

on nexus 2.05 I could use kingroot, but it wont work on this cm11.

ive tried flashing a supersu.zip in safestrap and the supersu is installed but tablet still does not have root access.

am I using the wrong supersu.zip perhaps? or doing it wrong?

Where can I find a right one?

Thanks.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
This is the one I used:

http://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133

You don't need any rooting apps at all.
[Kindle Fire HDX 7" & 8.9" Android Development] mrw187:
thanks that one worked
[Kindle Fire HDX 7" & 8.9" Android Development] Mr.Nik:
Everything is very good!

There was one problem, if the device has lost network (LTE), to connect the Operator does not occur. Just reboot the device. After that a long delay in determining the version of the modem.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
New Build is Up

- Dated 2015-10-07

- Updated CM Code

- Back port signature faking to enable use of microG framework
[Kindle Fire HDX 7" & 8.9" Android Development] Mr.Nik:
Or, to reconnect (LTE), remove the SIM card and re-insert it.
[Kindle Fire HDX 7" & 8.9" Android Development] johim:
Quick question..I'm on 2015/07/26, and was wondering if I want to upgrade, jsut flash the latest 2015/10/07 zip? Also, I've setup superSu to keep root between upgrades.

Do I need to do something with OpenGapps (I'm assuming it will continue using my old gapps package from 07/26) ?
[Kindle Fire HDX 7" & 8.9" Android Development] Seanichigo:
yeah, that's what i did, only the new rom as it says on the first page on upgrades, no need to upgrade gapps.
[Kindle Fire HDX 7" & 8.9" Android Development] milestone97:
Ok with the new update, is it more stable than nexus4?
[Kindle Fire HDX 7" & 8.9" Android Development] CanadaDave77:
I've just started using it a couple of days ago (I'll have a tutorial up for Safestrap upgrade this weekend as well for those who were following my saga) - I've genuinely found this one to be very stable. Grabbed Open Gapps, and everything's working very well.

dave
[Kindle Fire HDX 7" & 8.9" Android Development] Seanichigo:
Just for my own information, if I want to get back to original stock of amazon.. So kind of factory out of the box, What are the steps I should do?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
As you posted in this thread I'll assume you are running Safestrap v4. A return to stock simply involves flashing a custom version of FireOS 4.5.2 from this post to the stock slot (suggest making a backup of the

stock

slot first in case something goes wrong). Then reboot. Once you have confirmed FireOS loads correctly remove Safestrap recovery and Safestrap v4 itself via the original apk which you will likely have to reload from here. You'll want to do this fairly promptly as FireOS will quickly auto-update to the most recent version which will disable root an the ability to fully uninstall Safestrap.
[Kindle Fire HDX 7" & 8.9" Android Development] Seanichigo:
I'm quite happy with the cm11.. I'll still be staying on it.. Just in case.. So basically once back to 4.5.2 u have to get root in order to uninstall safestrap recovery right? So that's why the limited time before the OTA kicks in..

Thx for the help btw, Davey.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
You're welcome! :)

Correct on root. The Safestrap apk will uninstall regardless of root status but complete removal of the recovery components requires root access.

Btw - be sure to delete any secondary slots from SS recovery before removing Safestrap. While virtual disk partitions (basically a giant file) can be removed later it's a bit cumbersome and may also need root depending on location and permissions.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
New Build is Up

- Dated 2015-10-27

- Change log on Post #2
[Kindle Fire HDX 7" & 8.9" Android Development] smbo:
I have a problem with this ROM. When screen is off power consumption seems to be ok, but when the screen is on the battery drains faster than stock rom.

I checked with CPU-Spy and the cpu seems to stay in only two states: deep sleep or 2150 MHz, no intermediate frequencies.

I tried to change the governor, but the selector doesn't work.

Keeping controlled this fact I noticed also that the tablet uses only two cores, ever. I tried with Geekbench too, but two cores remains always in sleep status.

This affects the results: while in single core the tablet scores the same points, in multicore it scores about the half of the points.

Oh, I have a Kindle Fire HDX 7' 16 GB without LTE.

I tried to find solutions in older posts, but no results.

Thanks for help!
[Kindle Fire HDX 7" & 8.9" Android Development] johim:
ggow, I guess you forgot to update the #2 post. couldn't find the change log. Same for SlimLP thread too.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Is cm11 installed in a primary (stock) slot or secondary slot? There is a known issue with high battery consumption using secondary slots in Safestrap v4. Unlike Safestrap v3 hdx roms should always be installed in the primary slot under v4.

On my cm11/safestrap v4 build cpu-z reports variable frequencies (300-2150 MHz) utilizing 1-4 cores depending on workload. Exactly as expected. Battery life has been excellent.

If you need to switch slots be sure to backup the existing contents and leave the backup on device until the new install is confirmed. Do not attempt to reinstall a secondary slot backup to the primary slot as you will likely overwrite key Safestrap files and render your device unbootable.
[Kindle Fire HDX 7" & 8.9" Android Development] smbo:
Thank you for your reply!

So if I reinstall this rom in the Primary Slot all the issues should be solved, good.

The last question: if I want to go back to the stock rom after installing this on primary slot all I have to do is to restore stock backup on primary slot?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Correct. There is also a 'sanitized' version of FireOS 4.5.2 (here) that can be flashed to the stock slot should you loose your backup.
[Kindle Fire HDX 7" & 8.9" Android Development] dragoncurt:
Hi is there any new updates lately as I've not been on here for a while. Thanks
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Changelog here. Skimming the thread also helps.
[Kindle Fire HDX 7" & 8.9" Android Development] dragoncurt:
Thanks Dave
[Kindle Fire HDX 7" & 8.9" Android Development] smbo:
Hi!

I have another problem with this ROM.

Now it's installed in the main slot of safestrap, but I have a problem with WiFi connection.

In my university we have protected wifi with certificate access. The first time I connect the tablet, installing

the required certificate, all work well. The day after nothing works. The certificate is installed, but it says "Connection error" or something similar.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
This may have roots in KitKat and/or the HDX itself. I have given up on several VPN attempts after experiencing similar problems with Nexus v2 and v4. The limited research I did suggested both JB and KK have trouble establishing and maintaining secure (certificate based) connections on some hardware. Didn't pursue further as my need is sporadic and I have non-android devices that work well. Supposedly problems have been addressed in Lollipop.
[Kindle Fire HDX 7" & 8.9" Android Development] Rovers82517:
I have this ROM installed in slot1, I have no ROM on the stock slot.. i was soft bricked but managed to sort it with adb push commands. How much extra battery use is this costing me? is it worth re-installing in the stock slot including apps etc that would take an age... or am i reading the stock/slot1 thing wrong?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Thoughts:

- various contributors have reported significantly worse battery life running cm11 in a secondary slot

- primary cause appears to be lack of proper CPU throttling with cores running at 100% under idle conditions

- only two of four cores are utilized when operating in slot 1 (have personally observed this)

If you opt to utilize stock slot:

- do not restore a system backup from secondary slot; you will overwrite Safestrap files and brick your device

- you can keep CM11 in secondary slot until primary/stock slot is fully configured after fresh install

- deleting secondary slot will release several GBs of permanent storage for use by primary/stock slot
[Kindle Fire HDX 7" & 8.9" Android Development] Rovers82517:
I did exactly this, thanks
[Kindle Fire HDX 7" & 8.9" Android Development] zXiC:
So install on stock to get full use of the four cores?

Also can anyone explain to me how I can go about upgrading my Safestrap version? I'm on 3.7 and would like to upgrade to the current version.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
I have observed utilization of all cores (along with throttling) on CM11 when installed in the stock slot of Safestrap v4.
[Kindle Fire HDX 7" & 8.9" Android Development] Cl4ncy:
Which Safestrap v3.7x? Do you know the Fire OS version? Maybe you can unlock the bootloader and install the real TWRP?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
New Build is Up

- Dated 2015-11-22

- Change log on Post #2
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
New Build is Up

- Dated 2015-11-24

- Fixed a bug in yesterday's build with reversed x-axis in motion sensor

- Noticed it playing NFS Most Wanted.
[Kindle Fire HDX 7" & 8.9" Android Development] HardOnChairs:
I'm on the 11/24 build and my rear camera is upside-down. Can't say if this is new as this is the first time I've flashed a custom rom onto this device.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
- I have a bit of cleanup to do on my build of CM-11.

- On the next build it should be the correct way round.
[Kindle Fire HDX 7" & 8.9" Android Development] conan1600:
Why do none of these roms play video in 1080p on youtube? Just curious
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Appears to be change Google implemented about a year ago that limits quality options on devices that self report 4.4.4 and above. Tweaking build.prop to report 4.4.2 restores higher (and in some cases lower) quality options for many. Search online for details. Obviously editing build.prop carries it's own risks including a full on brick.
[Kindle Fire HDX 7" & 8.9" Android Development] chrischa:
thanks for fixing motion sensor behavior. great :)

but after a try i think not motion sensor is miss behaving because some apps that only support landscape in one direction also cause this issue. i think device is somehow specified badly [MENTION=5749760]ggow[/MENTION]
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
- The correct orientation for the this device is landscape with the camera at the top (

- For any app or game that deviates from this, try locking the rotation in landscape then launch your app or game

- Amazon have deviated from the standard screen orientation guidelines resulting in this mess when using custom roms
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Another option is the simply named "app settings" Xposed module. Setting rotation to 'normal' fixes most orientation issues regardless of rom (even works with FireOS). You have to set the defaults on an app-by-app basis but it only needs to be done once and survives updates. Lots of other cool settings for those who like to tinker. Low risk module; has never done me wrong.
[Kindle Fire HDX 7" & 8.9" Android Development] brainwash123:
I've already asked in a thread but maybe I will have more luck here. Was on a rooted stock installation with SafeStrap installed, did a factory reset (from SS), installed CM11 from this thread and gapps (4.4, aroma) and now I am stuck in a bootloop. I only see the 'kindle fire' white text and the device periodically reconnects to computer usb.

Edit: HDX 7"
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
There is no known recovery (locked bootloader) if your device will not boot to the Safestrap splash screen. Critical SS files somehow became damaged. Sorry for the bad news.
[Kindle Fire HDX 7" & 8.9" Android Development] brainwash123:
Ok, thank you, I thought there was a way to at least flash an image via fastboot (I have access to that). Discussing it now with an Amazon person over the chat to see how I can return it. Have to go through all the 'fun' steps (different cable, different computer, different supply, case, leave it for charging....)
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Fastboot on HDX is crippled with locked bootloader. Glad you have a return option.
[Kindle Fire HDX 7" & 8.9" Android Development] brainwash123:
I thought since I still have the root on adb that there were still some things I could modify. I do have a TWRP backup saved before doing the upgrade. I meant TWRP in all my posts, not SafeStrap, sorry for the confusion.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Big difference. Questions:

- bootloader unlocked (assuming no)

- can you access twrp via power + vol-up from cold start?
[Kindle Fire HDX 7" & 8.9" Android Development] brainwash123:
Bootloader not unlocked and cannot unlock it (it says code incorrect). I assume because in the build.prop that I have in the backup the version number is this:

ro.build.version.incremental=13.3.2.4_user_324002120

I cannot access TWRP anymore, only the "kindle fire recovery". I am not sure how TWRP got wiped since I only installed CM11 and gapps. Plus did a 'factory reset' from within TWRP which is supposed to clean only system, data and cache, not the entire system.

However my filesystem now looks like this:

1|shell@thor:/etc $ df
df
Filesystem Size Used Free Blksize
/dev 863.2M 68.0K 863.1M 4096
/mnt/secure 863.2M 0.0K 863.2M 4096
/mnt/asec 863.2M 0.0K 863.2M 4096
/mnt/obb 863.2M 0.0K 863.2M 4096
/system 1.2G 478.7M 751.7M 4096
/cache 1009.3M 18.7M 990.6M 4096
/data 11.4G 151.7M 11.2G 4096
/persist 31.5M 4.3M 27.2M 4096
/firmware 64.0M 18.6M 45.4M 16384
/persistbackup 31.5M 4.4M 27.2M 4096
/mnt/shell/emulated 11.4G 151.7M 11.2G 4096
/storage/emulated/legacy 11.4G 151.7M 11.2G 4096
shell@thor:/etc $

.. so I supposed a lot of the data got wiped since the backup size was ~6GB.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Well, given the build number I would normally say you couldn't unlock because bootloader vulnerability that allowed signature forging (and thus native twrp install into recovery partition) was 'fixed' after 3.2.3.2. But you claim to have had native twrp prior to wipe ("factory reset") so best guess is FireOS rom (or at least some elements) somehow got flashed overwriting key partitions with stock components. The presence of stock recovery supports this theory as native twrp and stock recoveries do not coexist. Inability to unlock (assuming you have the correct code) also suggests bootloader is now >3.2.3.2.

Return is your best option IMO. You'll probably get a replacement with FireOS v4 which can not be unlocked but should take SafeStrap v4 after rollback/upgrade to 4.5.2.