yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
Hello All,

- For lineage-14.1 - I'm waiting for May 2018 patches before building again.

- For lineage-15.1, the WiFi bring is proving problematic, number 1 problem is difficult to solve and number 2 new job is taking a lot of bandwidth

I'm still around, promise I won't just disappear without saying ;)
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
New Build is Up

- Dated 24 May 2018

- Security updates to May 2018 included
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Kkiixx:
Just did an update. Cleared the system partition, installed the may 24 2018, did gapps nano. Everything went smooth. SuperSU worked after a coffee break. Didn't lose any data.

Thanks for your work. I love my kindle now!
[Kindle Fire HDX 7" & 8.9" Original Android Develop] stangri:
Thanks! Dirty flash from the previous build with dalvik/cache clear followed by the flash of magisk in the same FlashFire queue (probably redundant as it's supposed to survive the LOS updates now) worked fine.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] bpll:
Camera still doesn't work

I'm using lineage-14.1-20180524-UNOFFICIAL-apollo.zip

The camera app still crashes when I try to take a photo (front or back), the camera app looks fine until the shutter button is pressed. I have to work around it by setting SELinux to permissive (setenforce 0) using root adb. Is it possible to release alternative builds with permissive SELinux until this is fixed properly?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
Have you tried a different camera app? Open Camera is decent choice given the mediocre camera(s) on this device. It tends to work when the native app doesn't.

FWIW - native camera app in AEX (SELinux is permissive by default) doesn't work either. Open Camera is fine.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] bpll:
I had tried Open Camera which didn't crash, but no photo was saved in the directory, logcat showed the same error as the native camera app. Other non-camera apps that can take photos are also affected. These apps can take photos only if SELinux is permissive.

Does this problem not affect everyone?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Pajoe:
I tried both Open Camera and Snap Camera on our Kindle Apollo , video recording works ok but not photos. Neither app saves the photos. I also have a lot of trouble with bar code reading, the grocery app bar code reader we use doesn't work as well on the Kindle as our other devices. Every time I do an upgrade, I try the camera apps - more for curiosity than necessity.

Everything else seems to work OK.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] bpll:
So this is a common problem - video works and photo doesn't work. It seems having alternative builds with permissive SELinux would benefit some users until the problem is fixed.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Pajoe:
Actually, we are happy with the way things currently work and only answered to let you know problems with the camera are not specific to your device. We know ggow has more to do than work on Apollo fixes & upgrades.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] :
I am using Aex built by ggow. photos work well by using open camera.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] bpll:
Thanks for the clarification. I wasn't asking for an urgent fix. I was suggesting to create alternative builds with permissive SELinux to work around the problem until it's fixed (which may or may not happen). I think setting permissive SELinux should be fairly straightforward (it's possibly a simple config change). I'd try to do it myself if I had the build environment set up, but I think setting up the environment would require more work than creating an alternative build using an existing environment, so I'd like to know if ggow is willing to create 2 builds for future releases (one standard build and one permissive SELinux build).
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
Or use AEX which is set to permissive by default.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] steamport:
I have gotten LineageOS 15.1 to successfully boot on thor. I'll release it once wifi works.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
I have it had it booting for a long while now. WiFi is all that remains. Have you got any time to work on it?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] steamport:
Oh cool. Sure, i'll work on it. According to logcat... it's just one wpa .so that's missing. Gonna try looking at other msm8974 lineage-15.1 device trees.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] steamport:
[MENTION=5749760]ggow[/MENTION] There is a problem: 8.1 TWRP can't fit on the recovery partition.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
We should be able to sort that out later, for now just build with the standard lineage recovery repo.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] steamport:
[MENTION=5749760]ggow[/MENTION] Not sure if you know this, but according to logcat spam, the problem is related to the Wifi HALs.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] steamport:
[MENTION=5749760]ggow[/MENTION] I've tried several things... libhardware_legacy, adding HIDLs, etc... none of it works.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] arshileus:
I previously had battery problem with this rom. It cant still longer while not using it. Does problem is fixed?

If so, which is lastest version of this rom to upgrade
[Kindle Fire HDX 7" & 8.9" Original Android Develop] stangri:
[MENTION=5749760]ggow[/MENTION] -- do you still have time to build images with monthly security updates for 14.1?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
Yes, I may skip a month here and there but for most part I'll still keep the ROM up to date.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] vartanarsen:
Hi guys is this still working? Can I try it on my Fire hdx7?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
What a strange question. Yes, LOS 14.1 is "still working". Yes, you can install in on your HDX 7 provided the bootloader is unlocked. See OP for further guidance.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] vartanarsen:
HDX7 here....I Rooted via KingRoot,

I then downloaded and extracted lineage and Gapps on my desktop. I hooked up my HDX7 . Now what do i do?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] steamport:
Unlock bootloader, flash the latest TWRP, flash lineage and gapps.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] vartanarsen:
Thx Steamport, but every xda link has 4 other xda links and it’s just a maze..my hacking skill level is like 3/10

Can you please provide a step by step?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] lampylamp:
hey vartanarsen,

you could try the 1-Click tool by draxie. didnt work for me but maybe you are luckier. i think that's the safest approach.

https://xdaforums.com/kindle-fire-hdx/general/multi-platform-1-click-bootloader-t3241014

i followed this post and it worked like a charm.

https://xdaforums.com/kindle-fire-hdx/general/thor-unlocking-bootloader-firmware-t3463982

and i got the files with missing/dead links from here

https://xdaforums.com/kindle-fire-h...r-firmware-t3463982/post75284993#post75284993

good luck ;)
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
New Build is Up

- Dated 01 August 2018

- Security patches up to July 2018

- Upstream Lineage Updates
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Kkiixx:
Thanks again ggow! I've been checking every few days for the update. Not that I needed it, they have always ran great, just makes me feel special. My Thor is a very nice tablet because of this.

Update went smooth, wiped system, installed update, then nano gaps, wiped cache and rebooted. Having a coffee as SuperSU suggested.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] pxrave:
Thanks. Nice to see updates again. How about cm15. 1?any news?

How are you? Hope your doing well
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
I'm ok thanks, time pressures are still the same and probably on going. Job and family life is busy :)

On cm15, I have verified the kernel is good. Now just need to figure out what I've done wrong in the device configs.

I'm going to post a work in progress thread with some initial builds etc
[Kindle Fire HDX 7" & 8.9" Original Android Develop] locolyric:
nougat is working fine in hdx.

there are many people who feedback oreo had less standby time compare to nougat(my phone lost 1 hour SOT after upgrade to oreo) not sure if same thing will happen in hdx or not.

Do our device have any hope to eat Pie? :D
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
What more needs to be said? No killer feature/functionality in Oreo that can't be replicated via other means. A quick (albeit incomplete) look at Android 9 preview suggests more of the same. Meanwhile Nougat chugs along with no major deficits.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] arthrod:
Hi everyone,

I'm still learning here, so please forgive my newbieness.

So step-by-step would be:

1. Get superboot access (flashfify)

2. Install TWRP

3. Install the ROM?

And all done? The link thor v appolo is not working...

If there is a newbie post, please let me know. Thanks in advance!

Best,

Arthur
[Kindle Fire HDX 7" & 8.9" Original Android Develop] rjbad1100:
Has the LTE and Sim card issues been worked out yet? I tried a previous build about 6 months ago and it wasn't so before installing I want to double check. I'm building this for a car tablet so it's important to have.

Awesome project!
[Kindle Fire HDX 7" & 8.9" Original Android Develop] freshmike:
Project Treble?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
Not on this device - or most 'legacy' hardware.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] saomaimuaha:
Hi man!

How to root in this 01 August update CM 14.1? Thanks
[Kindle Fire HDX 7" & 8.9" Original Android Develop] freshmike:
I thought this an Android specific software feature, not driver/hardware related.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
Read the closing thoughts in [url="https://www.androidauthority.com/project-treble-818225/]this[/url] article randomly selected among many available via simple Google search.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] pipyakas:
I'm having massive issue with the wifi, basically it drops a lot, especially when using oddly enough. Adding to that, after the connection drops I can't easily reconnect back to wifi, despite the connection's totally fine and coverage is not an issue at all

About Oreo/Pie, there isn't any tablet focus feature to speak of, aside from adaptive battery in Pie I presume. I still prefer for Nougat to get a custom kernel that has thermal+voltage control, and overall some performance tweaks like enable cpu&gpu overclock (considering hdx is running the sd800 at lower stock speeds)
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
- known issue with all custom ROMs based on Android 7 for this device; move to an area that does not have mixed 2.4/5 MHz service emanating from the same AP or disable one at the source

- ROM has nothing to do with thermal/voltage control or overclocking; all in the kernel; no custom kernels for HDX
[Kindle Fire HDX 7" & 8.9" Original Android Develop] pipyakas:
I know that the ROM has nothing to do with it, Im just wishing a custom kernel is made for nougat that's all

So if where Im living has a lot of 2.4ghz wifi, then the wifi problem is dued to happen again and again? I can't switch to 5ghz unfortunately, and there're about dozen of other 2.4ghz wifi around my area :eek:
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
Kernel is largely ROM independent. No custom ROMs for this device due to unique hardware and proprietary interfaces.

Try changing AP channel and/or assigning a fixed IP address. Beyond that your best option is to streamline access to the WiFi/connect toggle under settings to quickly remediate the situation when it occurs.

For whatever reason some of the older KitKat based ROMs (FireOS, Nexus) were less susceptible to this issue. Could try one of those.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] stangri:
My 2.4GHz and 5GHz SSIDs are named differently and my apollo device only connects to 5GHz one. I'm only having WiFi issues like yours when I reboot the router while apollo is turned on. If I reboot apollo afterI reboot the router (I reflash it once a month), WiFi works perfectly after that.

PS. Just wanted to clarify something, it's not like apollo doesn't connect to 2.4GHz, it's just I've set it to only connect to 5GHz.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
WiFi issues are highly situational. My SSID names are different. Router auto-reboots weekly. Sequence is irrelevant. WiFi drops are spontaneous with no identifiable trigger (other than mixed signal environment). I've learned to live with it. Running AEX.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] droiduzr2:
just an idea....check your region code make sure it's set to the country you are in

settings-wifi-advanced

set your region and then reboot

let us know if that helped
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
New Build is Up

- Dated 18 August 2018

- Security patches up to 05-AUG-2018

- Upstream Lineage updates
[Kindle Fire HDX 7" & 8.9" Original Android Develop] fabische:
Thanks for the August update!

I updated immediately, hoping for some Bluetooth improvements. Sadly, however, I still cannot connect to my Harman Kardon Go&Play Bluetooth box. Always get the alert that a Bluetooth connection is not possible. Otherwise great work, thanks ggow!
[Kindle Fire HDX 7" & 8.9" Original Android Develop] pxrave:
That's fast ? can you take a look to twrp too? Thanks

Build have no new bugs or fixes.

Stable enough as daily driver
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
TWRP is now updated, see here
[Kindle Fire HDX 7" & 8.9" Original Android Develop] pxrave:
do you have the full upstream'd kernel here to flash? only kernel? i want to test sth maybe i will find the culprit. thanks
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
The new kernel is not available standalone. But it is fully upstreamed and WiFi works.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] pxrave:
where i can find it? :) dont see the branch at github
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
https://github.com/ggow/kernel_phoenix_hdx-common/tree/ng-7.1
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Serbest955:
and what is about the oreo update? #ggow

any updates ?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] double-gee:
Is there a compiled version of the kernal available? I'm looking for a file that can be flashed easily
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
No custom kernels; only stock.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Seraphitas:
Hello, i Tried fresh Install and WiFi Don,t Work . Any Suggestion?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
I'll do the next build with upstreamed kernel included.

You haven't provided enough information to guess what might be going on.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Seraphitas:
Hello, that news like a melody in my head :)

i hope i read soon from you :)
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
New Build is Up

- Dated 11 October 2018

- Include Upstreamed Nougat Kernel 3.4.113
[Kindle Fire HDX 7" & 8.9" Original Android Develop] fidelis.lee:
Question abou HD 8

Hi, guys. Thanks for your new release and I will try to use this rom.

Is this working on fire HD8 7th??
[Kindle Fire HDX 7" & 8.9" Original Android Develop] murso74:
Doesn't seem to want to pair with my ue megaboom
[Kindle Fire HDX 7" & 8.9" Original Android Develop] floschl:
I again had boot loop, similar to current CM13 nightlies, but now they are gone after I re-sideloaded the 20161216 image. The only thing I mentioned (did not test BT) is that the browser app crashed right at the beginning but this was likely an opengapps issue. Wifi runs fine.

In general the image runs pretty smooth. Thanks a lot for your work!!
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Hashcode:
I will fix up the cm-13.0 thread to change it from [NIGHTLIES] to [LEGACY] later tonight (including links to the known working builds...)

For Apollo users:

https://download.cyanogenmod.org/?device=apollo&type=

The first CM 14.1 nightly build is ready. It *should* be identical to what [MENTION=5749760]ggow[/MENTION] posted (unless he included the screen off fix).

Thor users will have to wait a few more hours (builds are sorted alphabetically). That build should be the same as what I posted yesterday. No changes since then.

Enjoy,

- Hash
[Kindle Fire HDX 7" & 8.9" Original Android Develop] pxrave:
Dude I need your help. How can I disable strict se Linux I need that for v4a
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Zathor:
Thank you very much for the great work!

I bought a new Appolo (14.3.0.2_user_302075320) on Amazon last week and have successfully flashed it to CM 14.1. However I have two questions/issues:

- The device is stuck on the horizontal/vertical view and wont switch to others automatically (automatic switching is enabled). Only when an app (e.g. game) switches, then the view changes but is again stuck. This did work in FireOS.

- The WiFi connection drops often during sleep

Should I maybe flash the 3.2.3.2 bootloader described here: http://xdaforums.com/kindle-fire-hdx/development/twrp-flashable-3-2-3-bootloader-upgrade-t3025504

Or are there any other advises?

Additionally I would like to know if there is any hope that 3g/4g will be supported at all or if I have to use CM11 for that.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
- If you have the LTE model , then flash stock firmware 14.3.2.3.2 firmware first, the bootloader upgrade doesn't include any radio update due to how the HDX update process works.

- I am trying to borrow an LTE device, so there may be a chance.

---------- Post added at 12:27 ---------- Previous post was at 12:17 ----------

I've repacked the nightly boot.img for you to be in permissive mode, get it from here:

https://www.androidfilehost.com/?fid=673368273298917288
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Zathor:
Thanks for the quick reply. However I am unsure how to proceed here. Help is welcome, but I assume this may be OT here. Should I ask somewhere else?

In any case, I would download the 14.3.2.3.2 firmware here: http://xdaforums.com/kindle-fire-hdx/general/update-1314-4-1-1-probably-sangria-t2901813

Then flash it with TWRP, directly flash the CM14.1 afterwards and I am done - or do I have to restart into 14.3.2.3.2, unlock the bootloader again, ...?.

Great to hear, but I missed in my initial post an important detail. Currently I am dealing with an Apollo without LTE to test everything out. Additionally I have hear an Thor with LTE which I will process afterwards. So the Apollo one is currently my guinea pig (which I do not want to brick nevertheless).
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
I think start another thread in the Q&A section and some of us will try to help there.

Or Flash the bootloader upgrade until LTE functionality becomes available. This will fix the rotation and WiFi issues you are seeing at the moment.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] pxrave:
thank you so much

my init.d scrip does not work with android 7 ;) is there any way at build.prop or something wo i can change?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Hashcode:
Do you have the "avc: denied" SELinux denial related to V4A handy? I can probably add a rule for the HDXs so that there's no need for work arounds like this.

To get your SELinux denials from the kernel log enable USB debugging in developer settings as well as adb root. Then run the following commands from a shell on your host PC:

adb root

adb shell "dmesg" | grep "avc:" > selinux-denials.txt

From what I saw in a quick search of the internet we need a rule like this (for Lollipop):

allow mediaserver mediaserver_tmpfs:file { read write execute };

But I would like to see the actual denial to be sure.

- Hash
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Hashcode:
Looking ahead, here are the items that I'm focusing on:

- Orientation and Gyro sensor changes to reorient the device correctly. Using a sensor app like Sensor Box for Android, you can see that the x/y axis of both the Gyroscope and the Orientation sensors are reversed on Thor. (Not sure on Apollo). This is probably causing several apps to rotate the wrong way in landscape mode.

- Further look at SELinux denials on Apollo with help from [MENTION=5749760]ggow[/MENTION].

- Full device encryption testing

- Audio(headphones) skipping issues when device goes into low power mode.

- Possibly more work to be done on bluetooth

- If [MENTION=5749760]ggow[/MENTION] needs help with the LTE device that he's trying to borrow, I'll take a look at that as well.

- Hash
[Kindle Fire HDX 7" & 8.9" Original Android Develop] pxrave:
i use this mod its open source so maybe you can include it in the kernel?

http://xdaforums.com/crossdevice-dev/sony/soundmod-project-desire-feel-dream-sound-t3130504

with this mod you will have original amazon sound (it will enable dolby v4a etc... )

and here we go for the commands

supolicy --live "allow mediaserver mediaserver_tmpfs:file { read write execute };"

others are

# Project Meli Script
# FREE TO USE FOR ANYONE
# by PDesire

# Mount RW
mount -o remount,rw /system
mount -o remount,rw /data
mount -o remount,rw /cache

# make Mediaserver Unkillable
while sleep 1; do
if [ `pidof mediaserver ]; then
mediaserver=`$bb pidof mediaserver`;
busybox renice -18 $mediaserver;
echo -17 > /proc/$mediaserver/oom_adj;
chmod 100 /proc/$mediaserver/oom_adj;
exit;
fi;
done&

# make com.android.media Unkillable
while sleep 1; do
if [ `pidof com.android.media ]; then
media=`$bb pidof com.android.media`;
busybox renice -18 $media;
echo -17 > /proc/$media/oom_adj;
chmod 100 /proc/$media/oom_adj;
exit;
fi;
done&

# fix V4A
supolicy --live "allow mediaserver mediaserver_tmpfs:file { read write execute };"

#make v4a Unkillable
while sleep 1; do
if [ `pidof com.audlabs.viperfx ]; then
v4a=`$bb pidof com.audlabs.viperfx`;
busybox renice -18 $v4a;
echo -17 > /proc/$v4a/oom_adj;
chmod 100 /proc/$v4a/oom_adj;
exit;
fi;
done&

# enable PDesireAudio Ultra High Quality Audio & Advanced Mode
echo 1 > /sys/module/snd_soc_wcd9320/parameters/uhqa_mode_pdesireaudio
echo 1 > /sys/module/snd_soc_wcd9320/parameters/pdesireaudio_advanced_mode

# Fauxsound Callibrations
echo '252 252 7' > /sys/kernel/sound_control_3/gpl_headphone_gain
echo '252 252' > /sys/kernel/sound_control_3/gpl_headphone_gain
echo '32 32 191' > /sys/kernel/sound_control_3/gpl_headphone_pa_gain
echo '32 32' > /sys/kernel/sound_control_3/gpl_headphone_pa_gain

# disable lpa
setprop lpa.decode false
setprop lpa.releaselock false
setprop lpa.use-stagefright false
setprop tunnel.decode false
setprop tunnel.audio.decode false

# increase buffer
setprop audio.offload.buffer.size.kb 1024

# Set SELinux to permissive
setenforce 0

# Enable DTS configurator
dts_configurator_wrapper

# Mount RO again
mount -o remount,ro /system
mount -o remount,ro /cache

here is my init.d to fix the su.d folder not loading

#!/system/bin/sh
#Init.d Permissive SELinux

su system setenforce 0
SELINUX=permissive
[Kindle Fire HDX 7" & 8.9" Original Android Develop] tvd0405:
I still have problem with the camera even on the latest nightly build of Apollo
[Kindle Fire HDX 7" & 8.9" Original Android Develop] pxrave:
mine works fine since first build for two days (14.12) you should read your debug log and post here
[Kindle Fire HDX 7" & 8.9" Original Android Develop] tvd0405:
Where do i find the log files?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] pxrave:
http://xdaforums.com/showthread.php?t=1726238