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

I'm currently working on Wireless Display and Auto-Brightness.

Both of these don't seem like they are going to be an easy fix, so may take some time.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
No unfortunately this ROM cannot support USB OTG, we would need a new Kernel to enable this functionality.
[Kindle Fire HDX 7" & 8.9" Android Development] Fallingwater:
Crap. This has dampened my enthusiasm somewhat.

Thanks anyway for your work, I might still get the HDX - a bluetooth 'board was in the list of stuff to buy sooner or later anyway.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Get a bluetooth keyboard, works a treat.
[Kindle Fire HDX 7" & 8.9" Android Development] holeshot77:
Woot! Just what I wanted to see out of the box!!
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Excellent :)
[Kindle Fire HDX 7" & 8.9" Android Development] sherry478:
hi [MENTION=5749760]ggow[/MENTION]

could you possibly see why a ps3 controller can't sync with the kindle please.
[Kindle Fire HDX 7" & 8.9" Android Development] carlwong_kf:
I encounter a problem and see if someone can offer me any help:

After successfully rolled back to 13.3.1.0 from 13.3.2.5 and installed the v1.4.3 into my stock ROM slot, I realized this ROM is a WIFI-only version so I lost mobile connection and GPS that I sorely missed. Then I decided to restore my Kindle back from a nandroid backup I made earlier while it was still at 13.3.2.5. When I rebooted the machine soon after the restore, it stayed on a black screen forever! I rebooted many times but it was still the same. I noticed I could still connect my Kindle to my PC and see the files there so I guess the nandroid restore was in certain extent successful but it seems that because my Kindle has been rolled back to 13.3.1.0 while my nandroid backup was done at 13.3.2.5 there may be a conflict in there and now my Kindle is stuck without any display. Any help would be appreciated!
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
You need to flash stock 13.3.1.0 via safestrap...
[Kindle Fire HDX 7" & 8.9" Android Development] Fallingwater:
Is there any way of safely installing this as the HDX's only ROM? The more I use it the less I like FireOS, even with the Play Store enabled, and I'm irritated that it's taking so much space from the non-expandable internal memory. I performed a SafeStrap backup of the stock ROM as a matter of course, so I should be able to restore it if everything goes south. Can I run SafeStrap in the "stock ROM" slot, wipe the system and data partitions, then somehow (adb push?) copy the required zip files and install them?

I wish I'd noticed the stupid thing doesn't have a microSD slot before it was too late - I'd never have bought it. Non-expandable memory is a massive dealbreaker for me and I was enormously disappointed to figure it out only when I was already playing with it. Bah.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Yes copy the zip files to the sdcard, reboot into safe strap, wipe data cache and dalvik on stock slot flash nexus ROM and that should be good. Then you can install the safe strap application if desired, although not necessary.

Or you can backup your hdx nexus installation and restore it to your stock slot
[Kindle Fire HDX 7" & 8.9" Android Development] gqukyo:
I'd love to use this rom again but the google services battery drain is annoying even following the suggestion posted previously using greenify and wakelock terminator. After updating to the new fire os 4, no more battery drain. As much as I dislike fire os, beats charging daily when I barely use the tablet more than an hr or two a day. Hate losing root as well but gotta deal with it for the battery life. Just have to wait for new root if it ever comes out.
[Kindle Fire HDX 7" & 8.9" Android Development] Fallingwater:
Are others having the same battery problem with the google services? I've only used the tablet tethered to the power adapter so far.

Oh. Didn't think of it. This does sound a lot easier.
[Kindle Fire HDX 7" & 8.9" Android Development] carlwong_kf:
[MENTION=5749760]ggow[/MENTION]

Thanks for the reply. Can you tell me how to flash the 13.3.1.0 bin file to my Kindle in Safetrap? I have no idea how to do that. Thanks!
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
I've never done this myself, but I believe you rename the .bin file to be .zip file, then copy it to your /sdcard and flash.

Someone please correct me if I'm mistaken.
[Kindle Fire HDX 7" & 8.9" Android Development] carlwong_kf:
I tried to do what you said but that didn't work. Safestrap indicated the flash was failed. Any idea?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
I am uploading a file for you now, will let you know when it's done.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
[MENTION=758318]carlwong_kf[/MENTION]

You'll find a safestrap flashable 13.3.1.0 pre-rooted and with amazon updates disabled here:

http://xdaforums.com/showpost.php?p=56148362&postcount=1
[Kindle Fire HDX 7" & 8.9" Android Development] carlwong_kf:
Thank you! I'm downloading it right now and will report back later today.

---------- Post added at 10:12 AM ---------- Previous post was at 09:52 AM ----------

One question: I was able to reinstall your v1.4.3 ROM to the stock slot yesterday. Can I just flash the above zip directly over v1.4.3 after doing a factory reset in Safestrap? ...... Note: I am using Safestrap-Thor-3.72, I guess this is the right one for this operation, correct?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Correct, do a factory reset, flash the image and yes this is correct file for Safestrap 3.72 on thor.
[Kindle Fire HDX 7" & 8.9" Android Development] carlwong_kf:
Big thanks to you, ggow! Finally I am able to revert back to the stock firmware now. I really hope that your future Nexus version will include support to Thor-LTE variant.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Good to hear your back up and running :)

I haven't got the LTE variants, that is the only reason I cannot support them.
[Kindle Fire HDX 7" & 8.9" Android Development] Fallingwater:
I've noticed something weird. The facebook Messenger app behaves differently in this ROM than how I'm used to. If the tablet hasn't been connected, when it does connect the app progressively loads all the messages I've recived since the last time it showed them on the tablet, regardless of whether I've already read them (or replied to them) on the main computer or on the phone. While it loads them it notifies me (and spawns the talking heads if they are activated) for all the messages it's receiving, so it takes a while and it's really annoying.

On FireOS - or any other Android device I've seen so far - it knows when I've already read them, and only notifies me of actually unread messages - and even then it doesn't keep slowly loading them and notifying me six times if one conversation has six unread messages, for instance. It just shows the last messages in the queue and that's that.

Is this a peculiarity of this ROM? Or have I mistakenly set something that shouldn't have been set? I need the Messenger app but can't keep using it like this, and I really don't want to give up the AOSP awesomeness only for this reason.
[Kindle Fire HDX 7" & 8.9" Android Development] gavolo:
Mine batt is draining fast too
[Kindle Fire HDX 7" & 8.9" Android Development] cdub50:
Use xposed framework with deep sleep battery, and set it to slumberer. This will shutoff WiFi and background apps until the screen wakes up. Battery is much better with it installed.
[Kindle Fire HDX 7" & 8.9" Android Development] Fallingwater:
I've simply gone in the settings and set the wifi to not connect during sleep; this helps greatly (overnight consumption gone from 30%+ to 3%), but it's still inferior to FireOS, where if I take it off the charger when I go to sleep it's still at 100% in the morning - and it seems to actually maintain wifi connectivity during this time.

How is this possible? Does it have to do with deep sleep, and if so why isn't it deep-sleeping in Nexus?
[Kindle Fire HDX 7" & 8.9" Android Development] versatilias:
sorry for noob question... but what does full aosp stand for? and what can it do?
[Kindle Fire HDX 7" & 8.9" Android Development] lekofraggle:
Android Open Source Project. Is a build of pure android source designed to be compatible with different devices normally not designed to run it (though there are aosp releases for nexus devices). It is essentially striving for a nexus experience. The advantage is, it is the exact opposite of heavily customised versions of the os like sense, touchwiz, and of course fire. It strives to be quick, light, and fully customizable.
[Kindle Fire HDX 7" & 8.9" Android Development] gutts10:
internet video not working

Hey,

I have this habit of wiping devices and fkrmating them. Keeps my devices cleam and running fast. I did this recently on my hdx and reimstalled this awesome rom. I am now experiencing a "bug" iv never had before. When i go to some sites suvh as ign, gametrailers, or espn the enbedded videos do not play. They played before on the previous versiin of this rom (nkt exactly sure what version). Itnhas been bothering me for two days now and i have been installing and unintalling this rom to see if it installed incorrectly but i have disproved that theory. I have tried other browsers and that was nkt the problem.

What can i do? Without internet videos tablets are pretty useless...

THANKS!!:good:
[Kindle Fire HDX 7" & 8.9" Android Development] oushouseki:
Thanks for the heads up. It seems us (who has a LTE version) have to wait a little bit longer and stick to the original ROM......
[Kindle Fire HDX 7" & 8.9" Android Development] ands2:
I can confirm the issue with the embedded videos. But I wasn't able to solve it. I hope you will have an idea - fingers crossed :)

But perhaps some first small improvements to one of the next versions. I've added the following points to my kindle today and it's running fine till now. But there are likely many more improvements made in famouse ROMs for similar devices like the Nexus 7.

1. Add busybox

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

I've used the "Stericson" version.

2. Add init.d support

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

or

http://xdaforums.com/showpost.php?p=32716412&postcount=2

3. Improvements to the build.prop

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

I've added the following options to the end of the file. Perhaps there are more useful or better options.

video.accelerate.hw=1

ro.media.dec.jpeg.memcap=8000000

ro.media.enc.hprof.vid.bps=8000000

profiler.force_disable_err_rpt=1

profiler.force_disable_ulog=1

ro.ril.disable.power.collapse=1

ro.kernel.android.checkjni=0

debug.performance.tuning=1

ro.config.nocheckin=1

wifi.supplicant_scan_interval=180

persist.adb.notify=0

4. With enabled busybox and init.d support I've added those scripts. And here are also perhaps some more useful scripts available from experience developers.

zipalign

#!/system/bin/sh

LOG_FILE=/data/zipalign.log;

ZIPALIGNDB=/data/zipalign.db;

if [ -e $LOG_FILE ]; then

rm $LOG_FILE;

fi;

if [ ! -f $ZIPALIGNDB ]; then

touch $ZIPALIGNDB;

fi;

busybox mount -o rw,remount /system;

echo "Starting FV Automatic ZipAlign $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $LOG_FILE;

for DIR in /preload/app /system/app /system/priv-app /data/app; do

cd $DIR;

for APK in *.apk; do

if [ $APK -ot $ZIPALIGNDB ] && [ $(grep "$DIR/$APK" $ZIPALIGNDB|wc -l) -gt 0 ]; then

echo "Already checked: $DIR/$APK" | tee -a $LOG_FILE;

else

ZIPCHECK=`/system/xbin/zipalign -c -v 4 $APK | grep FAILED | wc -l`;

if [ $ZIPCHECK == "1" ]; then

echo "Now aligning: $DIR/$APK" | tee -a $LOG_FILE;

/system/xbin/zipalign -v -f 4 $APK /sdcard/Download/$APK;

cp -f -p "/sdcard/Download/$APK" "$APK" | tee -a $LOG_FILE;

rm -f "/sdcard/Download/$APK";

grep "$DIR/$APK" $ZIPALIGNDB > /dev/null || echo $DIR/$APK >> $ZIPALIGNDB;

else

echo "Already aligned: $DIR/$APK" | tee -a $LOG_FILE;

grep "$DIR/$APK" $ZIPALIGNDB > /dev/null || echo $DIR/$APK >> $ZIPALIGNDB;

fi;

fi;

done;

done;

busybox mount -o ro,remount /system;

touch $ZIPALIGNDB;

echo "Automatic ZipAlign finished at $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $LOG_FILE;

db vacuum

#!/system/bin/sh

PATH=$PATH:/system/xbin:/sbin:/vendor/bin:/system/sbin:/system/bin

if [ -d "/data/local/busybox*/xbin" ]; then PATH=$PATH:`ls -d /data/local/busybox*/xbin 2>/dev/null`; fi

for i in \

`find /data -iname "*.db"`

do \

sqlite3 $i 'VACUUM;';

sqlite3 $i 'REINDEX;';

echo vacuum $i

done;

for i in \

`find /dbdata -iname "*.db"`

do \

sqlite3 $i 'VACUUM;';

sqlite3 $i 'REINDEX;';

echo vacuum $i

done;

for i in \

`find /sdcard -iname "*.db"`

do \

sqlite3 $i 'VACUUM;';

sqlite3 $i 'REINDEX;';

echo vacuum $i

done
[Kindle Fire HDX 7" & 8.9" Android Development] EncryptedCurse:
These types of tweaks tend to be placebo.
[Kindle Fire HDX 7" & 8.9" Android Development] cdub50:
I think I have figured out why Netflix is not showing any videos in HD. When I play this sample video Example Short 23.976 the bitrate always stays at 375 kbs so the resolutions is always at 384 x 288, so it would seem its something network related issue with the app might also explain why HD video in other apps does not work correctly, but not exactly sure what the issue is. I also noticed that if h/w decoding is turned on in MX player video does not play correctly. Hoping this can be fixed in a future version.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Update - Version 2.0.1

At the moment, I am working on version 2.0.1.

The ROM will be upgraded to use 13/14.3.2.4 kernel.

This should be a seamless update to your devices if you are on version 1.4.3.

This should hopefully fix the WIFI problems that many people are experiencing and serve as a good base for moving forward.
[Kindle Fire HDX 7" & 8.9" Android Development] Droid_1:
Sounds great! I'm pretty excited and willing to try as always :thumbup:
[Kindle Fire HDX 7" & 8.9" Android Development] Arashkage:
Wow! Great. I was waiting for it! Thanks
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Update - Version 2.0.1

I now have it booting on both Apollo and Thor, gonna do a few days of testing to ensure things check out.

In the next day or two I'll post full upgrade instructions before I release the ROM.

Please take the time to read through and get familiar with the process before attempting the upgrade.
[Kindle Fire HDX 7" & 8.9" Android Development] Clarke33:
Will it continue to work with 14.3.1.0? I would love to have a WiFi fix. Everything else is great.
[Kindle Fire HDX 7" & 8.9" Android Development] stapler85:
could you please put instruction for people whos upgrading from booting on stock rom slot, sounds very high risk to do so.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
No, version 2.0.1 will not work with 14.3.1.0, please read post #559.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
The instructions are based off upgrading from the stock slot. They have to be. Hardly any risk if done correctly.
[Kindle Fire HDX 7" & 8.9" Android Development] zXiC:
For Kindle Reader App when trying to install it just says file not installed after going through the verification. This is by selecting it through file manager. This is with a Thor.

Anyone know what to do?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Update Guide for HDX Nexus 2.0.1

I have posted the Upgrade Guide for HDX Nexus ROM 2.0.1

Please read this through carefully before attempting the upgrade.

To re-iterate HDX Nexus ROM 2.0.1 will now be based off the .3.2.4 stock kernel.

It will

NOT

work with the .3.1.0 kernel
[Kindle Fire HDX 7" & 8.9" Android Development] 058515471:
nice job bro. i'm ready and waiting for the upgrade. can i take the "risk" first? :D
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Still testing, looks good so far.

Probably be released sometime Thursday or Friday :)
[Kindle Fire HDX 7" & 8.9" Android Development] Droid_1:
Read instructions. It is just a reverted downgrading, someone may call it upgrading :D

Looking forward to test! Thanks for the guide!

Sent from my A0001
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Version 2.0.1 is Released

Hello All,

Version 2.0.1 is now up.

If you are already on HDX Nexus ROM and upgrading please check the Upgrade Guide
[Kindle Fire HDX 7" & 8.9" Android Development] rubinho:
[MENTION=5749760]ggow[/MENTION]

Your link from Thor Image is wrong.

The url is www.androidfilehos1.4.3... and not www.androidfilehost.com

greets

rubinho
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Sorry about that, link should now work.
[Kindle Fire HDX 7" & 8.9" Android Development] rubinho:
No problem ;)

Von meinem LG G3 getippelt
[Kindle Fire HDX 7" & 8.9" Android Development] 058515471:
upgraded, its working great for now! :)
[Kindle Fire HDX 7" & 8.9" Android Development] johnwaters:
Anybody got xsposed to work on this? It's just a black screen every time I install it....
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Xposed 2.7 Experimental 1 seems to work fine...
[Kindle Fire HDX 7" & 8.9" Android Development] johnwaters:
Thanks buddy, will try that.
[Kindle Fire HDX 7" & 8.9" Android Development] Droid_1:
Tried 2.0.1 for a few hours now. No problems so far. Many thanks for all your efforts! :thumbup:

I can't get prime instant video to work. Didn't work on 1.4.3 for me. Any ideas what I am missing?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
I may have a way for you to downgrade. Will upload the necessary file later this evening after work.

Are you currently on 14.3.2.4 ?
[Kindle Fire HDX 7" & 8.9" Android Development] tuanda82:
Yeah. i am on 14.3.2.4. Thank you very much
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Thor Nexus ROM

A build of Thor Nexus ROM will be coming very soon...
[Kindle Fire HDX 7" & 8.9" Android Development] holeshot77:
Now we just need a boot loader unlock to take full advantage. Ggow so far you made most of us rooted users much happier. I'll be buying you a beer soon. Thanks.
[Kindle Fire HDX 7" & 8.9" Android Development] sherry478:
Hi will it work with the latest update?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Hi there, no it won't, 13.3.1.0 only, so you will have to downgrade if you want to use it.
[Kindle Fire HDX 7" & 8.9" Android Development] sherry478:
I meant for the Thor
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Cheers buddy... :)
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
oh I meant 13.3.1.0, i'll edit the post.
[Kindle Fire HDX 7" & 8.9" Android Development] sherry478:
Damn I'm on 13.3.2.2
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
You can downgrade to the official 13.3.1.0, reroot and you should be good to go. I don't know if anyone has already made a tutorial to downgrade?
[Kindle Fire HDX 7" & 8.9" Android Development] sherry478:
How would I downgrade?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Check out this thread:

http://xdaforums.com/showthread.php?t=2782159
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Hi tuanda82

Follow the instructions on this thread to downgrade, you won't need anything from me for the process.

http://xdaforums.com/show....php?t=2782159
[Kindle Fire HDX 7" & 8.9" Android Development] icedtrip:
If I had a spare it would be in the mail to you now. I set up a build environment awhile back to play around with trying to get an AOSP ROM up and going, but ran out of time. If you can't get a loaner, I may jump back into it and reach out to you for some direction since you've done a lot of legwork on this.

Do you have any screenshots? I'm assuming this is entirely based on AOSP with the necessary proprietary binaries making sure everything works? So, no more GUI items left over from Fire OS, no more dealing with Fire OS settings, etc?
[Kindle Fire HDX 7" & 8.9" Android Development] holeshot77:
Yes. No fire os settings. AOSP settings. AOSP nav bar and status bar.

Xposed works good to adjust everything that gravity box is good at. I use the everythingme launcher and I have to say...I'm super happy with ggows work and the eye candy now on my kindle.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Hi icedtrip,

Yes it is based on pure aosp with amazon binaries and code changes required to make it work.

I have finished the build for the Thor device, just need to complete testing...
[Kindle Fire HDX 7" & 8.9" Android Development] icedtrip:
Wow! That is great to hear. Let me know if you need an additional tester :)
[Kindle Fire HDX 7" & 8.9" Android Development] johnwaters:
Holy crap, can't wait for Thor!!!!!!!

GOOD WORK!!!!!
[Kindle Fire HDX 7" & 8.9" Android Development] dimi5:
Hello,

does anybody have a problem to change ro.build.version.incremental and ro.build.version.number values? I'm using BuildProp Editor from googleplay to make the change (I'll will not mess with permissions and brick my device, therefore, would like avoid editing. I can change the values via it, but after reboot the device still stucks with 14.3.2.4_user_324002120 and 324002120 fpr ro.build.version.incremental and ro.build.version.number). I also tries to mount the system partion as read/write volume before to start buildpro, however, still no success.
[Kindle Fire HDX 7" & 8.9" Android Development] zXiC:
So if you're on Thor 13.3.1.0 but you're not on HDX Nexus what do you do? Go through the upgrade stage?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Go from step 3 or 4 depending on whether you need to re-enable ota updates
[Kindle Fire HDX 7" & 8.9" Android Development] cdub50:
Got 2.0.1installed. I can confirm that Netflix will now show video at 720p. Before it would not, however I am still having an issue with Hulu when it hits a commercial in the app it crashes. In the log cat I see a lot of warnings like this

11-06 22:59:51.478 W/SystemClock(28523): time going backwards: prev 3919112120845(ioctl) vs now 3919112084804(ioctl), tid=29121

Could this be causing an issue?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
I've never tried prime instant video, maybe someone else can chime in here.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
I'd need to take a look into that one, could you file a bug report so it doesn't get forgotten.
[Kindle Fire HDX 7" & 8.9" Android Development] rubinho:
Instant video (Amazon Prime Germany) works fine for me on v2.0.1.

However, only with the Amazon app phone edition. The Amazon app tablet edition will not start the video.

-- Edit --

It worked for me but only with a clean installation of the Amazon app.

A restore via TitaniumBackup did not work for me

--Edit--

[MENTION=5749760]ggow[/MENTION]

Just for info. Miracast still doesn't work with the 2.0.1.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Still working on Miracast, not going to be an easy fix.
[Kindle Fire HDX 7" & 8.9" Android Development] boi2kmall:
v2.0.1 works perfectly fine for me. Thank you [MENTION=5749760]ggow[/MENTION] for your effort in making this device more useful. Been using it for a day and I'm not having any problem with the wifi connection. :thumbup:
[Kindle Fire HDX 7" & 8.9" Android Development] Cpasjuste:
Thanks [MENTION=5749760]ggow[/MENTION] ! Now Netflix works great and so I can totally switch to your ROM ;)

Else do you have a problem with the lights module ? It seems auto brightness is acting weirdly or not ? Do you have an idea of what could cause the problem ?

Else, again, are you building this ROM from sources ? If so I would be interested in getting your device tree. In fact I did start to work on CM11 with the 3.2.4 kernel. I now have little success as I can show the bootanimation, but I think there will be a lot of work needed to get it to work ... :)

Note to Admin note:

We may start to talk technical !