yashsingh1/xdaforums huggingface dataset:
[8.9" Kindle Fire HD Android Development] persano:
Re: [ROM-AOSP] Unofficial CM10.1 (JB 4.2.1) [02/01 ALPHA]

How we can port this rom to the kindle fire hd 7". I love your work, you are a great developer

Sent From My Super Modded KFHD
[8.9" Kindle Fire HD Android Development] ChrisFa5:
Re: [ROM-AOSP] Unofficial CM10.1 (JB 4.2.1) [02/01 ALPHA]

Thanks for the hard work, downloading now!
[8.9" Kindle Fire HD Android Development] Hashcode:
Re: [ROM-AOSP] Unofficial CM10.1 (JB 4.2.1) [02/01 ALPHA]

Great, let me now how both the bootloader (from the other thread) and ROM installation goes.
[8.9" Kindle Fire HD Android Development] kls2k:
Thank you!

Now to get a fastboot cable.

If anyone installed it please give us your impressions.
[8.9" Kindle Fire HD Android Development] Hashcode:
You can definitely do the install w/o a fastboot cable, but you do need to have a working fastboot driver on your machine. The KFHD's stock bootloader will check for fastboot commands for a short period of time during the boot.

There are other methods as well to get the partitions setup for this, however, in the case of disaster having a working fastboot setup will be required to restore.
[8.9" Kindle Fire HD Android Development] vaggolena:
Hashcode,

Does a factory/fastboot cable work on the 8.9? Some say to buy it, and others say that it only works for the Kindle fire 2 and 7" and that there is no need for it. If it is needed, is there a specific cable that you recommend? Thanks
[8.9" Kindle Fire HD Android Development] Hashcode:
I do all my work without a fastboot cable but I have my fastboot driver configured correctly so that the KFHD8 is recognized as a fastboot device during the bootup.

So, while I have tested fastboot on almost every other device that I own, I've never needed to use it on the KFHD8.

EDIT: I just did a quick functional test and my Motorola OEM factory cable did *NOT* place me in fastboot mode. So I think getting a fastboot cable may be a waste of time for the HD 8.9. Rather that users download the Android SDK and make sure it's setup correctly for fastboot. Updating my OP's.
[8.9" Kindle Fire HD Android Development] vaggolena:
Thank you!!
[8.9" Kindle Fire HD Android Development] JuannTwo3:
Hashcode, I'm getting a black screen after installing the rom + gapps. Any help?
[8.9" Kindle Fire HD Android Development] traxxx79:
same here... wiped, factory reset, then installed cm10.1, then wiped and factory reset, then gapps. After blue Kindle screen just a black screen, nothing happens. installed again, cm10.1, then gapps, no wipe/reset. black screen. Got an Fire 8.9 32GB.
[8.9" Kindle Fire HD Android Development] Hashcode:
Re: [ROM-AOSP] Unofficial CM10.1 (JB 4.2.1) [02/01 ALPHA]

are both of you using 32gb devices?

has anyone had a successfully installed this?
[8.9" Kindle Fire HD Android Development] siruba:
Just tried your build on my 16GB wifi model but got a black screen on boot (right after the blue KF logo). Happens no matter gapps installed and wiped or not.

I have a recently synced copy of your git repo and I could build myself and run the rom properly though.
[8.9" Kindle Fire HD Android Development] Hashcode:
Re: [ROM-AOSP] Unofficial CM10.1 (JB 4.2.1) [02/01 ALPHA]

Can you get a copy of /proc/last_kmsg from the black screen boot and send it to my email? Dont pastebin as there is serial #, etc information that shouldnt be shared. hashcode0f at gmail.com

I will also wipe and flash this build again. could have been a bad build somehow.
[8.9" Kindle Fire HD Android Development] siruba:
I am afraid I couldn't. After the black screen I had to hold the power button to forcefully turn the tablet off and on again - it seemed that the kmsg didn't persist through that to recovery.
[8.9" Kindle Fire HD Android Development] Poke851Le:
Hashcode

first of all, Thank you very much for developing this roms. I bought KD HD 8.9 16Gb when you were developing cm10.1 :laugh:

I read your post (bootloader and this rom) and follow steps. and succeed to enter twrp recovery. (+ blue amazon logo)

but after i installed this rom and gapps, logo appeared and black screen ...

I can enter twrp recover (by power + volume button) but i can't connect kindle 8.9 to pc (windows7 can't recognize KD driver )

so I can't move the file or enter the fastboot .. ( I ordered a factory cable.)

If you know to connect kindle to pc at black screen or at the twrp recovery mode ( I tried to mount use mode of twrp recovery but it was no useful)

tell me something please.
[8.9" Kindle Fire HD Android Development] arda99:
Smart cover

seems that the magnetic sensor for smart cover is BU52061, the driver is available in amazon's kernel source.

http://www.alldatasheet.com/datasheet-pdf/pdf/428522/ROHM/BU52061NVX.html

hope Hash can get it working...
[8.9" Kindle Fire HD Android Development] timnan:
Hi Hashcode, as I tested, 0401 does increases battery about 10-20%.

I use Kindle 8.9 read novels for most of my spare time and about 1-2 hours for web browsing every day, so in my case, after a full charge I usually can use it for 8 hours (display time) before battery reaches to 10%. With 0401 version, the time extended to more than 9 hours. This is a great improvement. Thanks for your work.
[8.9" Kindle Fire HD Android Development] Hashcode:
Thanks Timnan!

@arda99: I'll try and get that fixed in the next build. Looks like I need a keychar/keylayout file to handling the switch (treaded as a button).
[8.9" Kindle Fire HD Android Development] djluis48:
Dude if you get the sound working on this, i will buy one of these. :P
[8.9" Kindle Fire HD Android Development] Hashcode:
Oh it's my top priority. I work every night on it at least an hour or 2 debugging how stock is connecting to the audio codec in the kernel. And what commands its sending during the setup and anytime volume is adjusted in the stock OS.

I'm using this information to reverse engineering a Jellybean audio userspace driver.

Eventually, it'll all be a beautiful thing.
[8.9" Kindle Fire HD Android Development] ddem1:
Thanks for the last build Hashcode! I really appreciate all the work you put into this device.

BTW anyone here using Swiftkey Tablet with success? It's the only app I've a problem with and can't figure out why. For example it doesn't even load up in Chrome... any suggestions?
[8.9" Kindle Fire HD Android Development] Reborn627:
Running into the same problem. Works intermittently. If you wait, often times it will load but as soon as you try to type it will close again. I thought I had it tackled by danging the screen density with Pimp My ROM but that was short lived. I haven't tried disabling FLOW. That way help but I'm not certain. Flashed back to 8.3.0 this morning so I'm unable to test it out.

Peace,

Ray
[8.9" Kindle Fire HD Android Development] Hashcode:
If you can get a logcat snippet or kernel log (via dmesg) and paste it to my bugtracker here:

http://androidhosting.org:8050/projects/device-amazon-kindle-fire-hd-8-9-jem

That would be great.
[8.9" Kindle Fire HD Android Development] ddem1:
Done. Newbish at this, but lemme know in the tracker if I can do anything else.
[8.9" Kindle Fire HD Android Development] jailuis:
Re: [ROM-AOSP] Unofficial CM10.1 (JB 4.2.2) [04/01 SOME CAMERA FUNCTION]

Hey hash, you think you're getting closer to fix the sound? (I've read the posts, but none of them seem to say how you're doing..) Just a silly question though.
[8.9" Kindle Fire HD Android Development] ChrisFa5:
He's working on it.
[8.9" Kindle Fire HD Android Development] soupmagnet:
Re: [ROM-AOSP] Unofficial CM10.1 (JB 4.2.2) [04/01 SOME CAMERA FUNCTION]

...

He is only one man...Have a little patience.
[8.9" Kindle Fire HD Android Development] xxxGiantxxx:
[ROM-AOSP] Unofficial CM10.1 (JB 4.2.2)

The sound working is the top priority whenever i consider to buy it. I really appreciate what you've done so far Hashcode. You're awesome Man!
[8.9" Kindle Fire HD Android Development] Moscow Desire:
You break a #1 rule of development. NEVER ask when something is going to be finished.

MD
[8.9" Kindle Fire HD Android Development] Hashcode:
I would definitely say "closer".

Right now, I can watch the sound codec get initialized the same way as stock, and I am customizing audio_policy to send the current volume to the audio HAL so that it can be sent to the kernel driver everytime audio is played or a device switch happens (like headphones plugged in).

I'm still probably going to have to take a look at whats going on with the misc kernel driver for the codec chip, as this maybe handling gain settings or power up/down cmds (its a different driver than whats in sound/soc).

Anyway, that's where I'm at.
[8.9" Kindle Fire HD Android Development] Born2BeMild:
Thanks for the progress post on sound. About the current update, things just feel, snappier, can't really explain it, but I am loving the progress.

Sent from my Amazon Kindle Fire HD
[8.9" Kindle Fire HD Android Development] jailuis:
Actually, I never asked when is going to be finished ^^ I just asked how's it going... I can wait a year, but it's easier to wait when you know how's it going on.

Thanks for the answer Hashcode. I got my mind at peace now. This is a question as a future developer (Im studying computer science /engineering hoping to become an android dev someday), is the problem basically caused by implementing the dolby feature? Or they just implemented it in some different way so it would be more secure?
[8.9" Kindle Fire HD Android Development] Pinktank:
Hello, Thanks a lot for all the work Hashcode. I know progress questions are hated, and this is not quite one of them, I just wanted to check in to see if there are mega-blocks in front of project completion (like the Atrix 4g where we had to reverse engineer ICS because we never got the source code) or if it will slowly but surely progress into a mostly stable cm10.1 device. I am just looking at purchasing it (vs the nook hd+) and can help developing with graphics if I do.
[8.9" Kindle Fire HD Android Development] Hashcode:
Today, I pushed a very basic working audio HAL + config file to github:

https://github.com/KFire-Android/an...mmit/a861c70bf4f2e61eea082485aca3470f0869abb8

https://github.com/KFire-Android/an...mmit/b88fd9a9df6f48fdecba953f48edbf73dd69bb72

There is no volume adjustment implemented yet -- it's currently hard-coded to around 50% (kind of low). The kernel codec driver is designed to require a volume be sent to it every time audio is played and that's not how default Android works. To fix that I'm customizing the default audio_policy manager and having it send volume updates to the audio HAL (when it's changed). Be be another few days to work out the kinks on that.

Input is currently stubbed in with dummy code. That's #2 on the list of fixes.

And, I realize the source I'm working with is based on ICS where the audio devices for input and output could live harmoniously in 1 big enum field. That's been changed in JB so I need to split the input/output device handling. Right now if you tap on search or anything that re-routes input devices, then the output devices change as well and basically audio is borked till you reboot.

As I get time, I'll run a new build and post it. I may wait for basic volume function tho.
[8.9" Kindle Fire HD Android Development] bighead2k:
Did get your changes from source, but could not manage to hear anything. Wiht which application did you test it?

Debugging Bluetooth is still a mess. Current Stock ROM uses an old kernel version where BlueZ was used for bluetooth instead of the new broadcom stack ...
[8.9" Kindle Fire HD Android Development] Hashcode:
Audio works great now for speakers and headset.

Volume adjustment works and it doesn't "break" if you select a microphone or something else for input.

NOTE: no input features work yet (IE: no microphone, etc) It's still WIP.

So, I'm pushing more changes to github now. And uploading a new build.

@bighead2k:

Yeah, bluetooth needs a lot of work. But I'm on that too :P As a matter of fact this new build has some more changes for it which I'm testing. But, the audio HAL doesn't know how to route to BT yet.

For the audio to work you'll need a new xml file in /system/etc/sound. It's named "bowser" now as opposed to "jem" like it was before since both the HD's will use the same config.
[8.9" Kindle Fire HD Android Development] Reborn627:
That's terrific! Thank you for your hard work Sir. Out of curiosity, is it possible to intergrate Amazon Video into this? I'm guessing it's more than just an app thing i.e. dependencies withing the Amazon ROM. If not it's no biggie, just be nice to have.

Thanks again,

Ray
[8.9" Kindle Fire HD Android Development] Hashcode:
OP updated w/ new build:

Download Information:

[04/05] ALPHA CM10.1 + 3.0.50+ KERNEL

http://goo.im/devs/Hashcode/jem/cm10.1/cm-10.1-20130405-UNOFFICIAL-jem.zip

md5sum: f84d383732c00708eadc767912fc6202

CHANGES: Basic audio functions. No inputs yet.
[8.9" Kindle Fire HD Android Development] Hashcode:
Last time I messed w/ Amazon Video, it detected rooted systems and would immediately close out. I haven't tried lately.
[8.9" Kindle Fire HD Android Development] Hashcode:
Actually I found an issue in the latest build. I'm going to fix it and repost a new one.

If you installed the 04/05 build that I posted 30 mins ago, please revert back to 04/01, it's hardlooping on a codec binary reset. Can't be good for the system.
[8.9" Kindle Fire HD Android Development] ombheembush:
Thank you, luckily by download stopped after downloading 128 MB
[8.9" Kindle Fire HD Android Development] bighead2k:
I'm more focused on pairing it with my BT GPS :D

If I could anyhow support you just PM me or write ToDo list in this thread. Maybe someone else feels to work on it too ;)

But shouldn't the xml come via git as well as you have checked it in?
[8.9" Kindle Fire HD Android Development] Hashcode:
Just fixed the build to add it correctly. It's in the git here:

https://github.com/KFire-Android/android_device_amazon_bowser-common/blob/cm-10.1/audio/tiny_hw.xml

Doing a new recompile now, as fixing that on my device fixed the issues I was seeing.

And the bugtracker is the best place to look for stuff todo. Unfortunately, we're down to some grueling stuff, like HDMI, and bluetooth debugging.
[8.9" Kindle Fire HD Android Development] slacka-vt:
Thanks, Hash. You're a Boss. :thumbup:
[8.9" Kindle Fire HD Android Development] arnold88:
Great work. thanks, I'll download the build as soon as it's posted>
[8.9" Kindle Fire HD Android Development] Hashcode:
Build is up. Oddly, I'm troubleshooting why the OS is removing the Camera app during 1st boot.

For this build its going to be missing.
[8.9" Kindle Fire HD Android Development] lizzord30:
I just had a reboot on me, after install and running after it synced all my apps... well to many apps some i only use for my phone like 4g toggle, when I was uninstalling them uninstalled like 5 no problem then when i uninstalled 4g toggle as soon as i clicked remove it instantly rebooted but starting with cm10 screen not kindle. Other then that so far its working well, and sounds is working! Thanks alot!

Edit:

Also Loading The Sims freeplay fliped the screen upside down, but just turn it over and all good lol, was going to say google now isnt working but i guess without mic it wouldnt, but it does have some graphical glitch for the text at the search area.

Edit, Edit:

Seams The Sims Freeplay seams to have alot of graphical issues cant really see anything once its loaded, maybe havnt got 3d working yet? I dont know just letting you know!
[8.9" Kindle Fire HD Android Development] Reborn627:
Sweet, everything that's supposed to is working great including, as a pleasant surprise, the magnetic screen shut off. Great work!

Ray
[8.9" Kindle Fire HD Android Development] Hawk600:
You are the Man Hascode!!! Many thanks!!!!
[8.9" Kindle Fire HD Android Development] bighead2k:
Audio is working from source as well.

Well done Hash :)

One small question: What happens on new CM/Android versions do you/we have to repeat all those changes in kernel?
[8.9" Kindle Fire HD Android Development] Thepooch:
I used the nexus 7 one from the market seemed to work for the most part.
[8.9" Kindle Fire HD Android Development] Hashcode:
If you experience any sort of "sleep of death" or odd reboot, immediately copy this file from the device and save it:

/proc/last_kmsg

Then hop over to the Bugtracker site in the first post, and go into the Kindle Fire HD 8.9 area and add an issue attaching the last_kmsg file. Be descriptive and explain what you were doing prior to the reset, etc.
[8.9" Kindle Fire HD Android Development] tufeijoe:
Really very quick.

Just talk about the audio on 4/4 and 4/5 you have made it.

I built based on cm-10.1, really there is sound. No need stock rom now.

Hope it can be better in next weeks and then can enable GUI of ubuntu touch.
[8.9" Kindle Fire HD Android Development] praed0r:
Thank you so much for this Hashcode - finally the Fire 8.9 is achieving what it's capable of - simply brilliant.
[8.9" Kindle Fire HD Android Development] tufeijoe:
some music player can play mp3.

---------- Post added 7th April 2013 at 12:21 AM ---------- Previous post was 6th April 2013 at 11:55 PM ----------

When play a song called Lonely.mp3, it will stop at around 75%.

mp3, wmv works

---------- Post added at 12:44 AM ---------- Previous post was at 12:21 AM ----------

gMtp works with mtp mode
[8.9" Kindle Fire HD Android Development] Antob125:
Hey man! Loving your work! Do you plan on making builds off AOKP in the future or just strictly CM? Just curious, cause I love aokp features but I'll take CM since there is nothing else out there.

Sent from my Galaxy Nexus
[8.9" Kindle Fire HD Android Development] Hashcode:
This is really just the beginning.

And theres still a good bit of work to do on the device. But any device I work on, I make my build manifests and device board setup public for devs to go crazy with.
[8.9" Kindle Fire HD Android Development] putin86:
Greate work. Thank you
[8.9" Kindle Fire HD Android Development] gsu_golfer:
Just got this installed on my KFHD8. Thanks so much for your work!
[8.9" Kindle Fire HD Android Development] Slimepuppy:
And the beginning works GREAT!

I upgraded TWRP, burned your latest CM10 image, and started playing. Hashcode, your "beginning" is a toaster - it just works!

As far as I'm concerned, I have no reason to go back to Amazon's OS.
[8.9" Kindle Fire HD Android Development] Seamonkey79:
I'm thinking the same thing... I was trying the customized Amazon setup and had some weird issues that I just didn't care to deal with, so I figured I'd give 10.1 a go and see how it went, wow... it's not quite as smooth as things were on my Nexus 7, but considering that silly thing had issues and had Google supporting 4.1 on it, I am fairly impressed.
[8.9" Kindle Fire HD Android Development] gsu_golfer:
Hey guys, here's a picture of the wallpaper issue I'm having. Is anyone else experiencing this? I saw an earlier post that mentioned fixing wallpaper issues by changing density to 240, but it's already on 240.

http://i.imgur.com/zoqqpfb.jpg

EDIT: After the "sleep of death" situation I mentioned below, The wallpaper was back to normal after the reboot.
[8.9" Kindle Fire HD Android Development] Reborn627:
Same issue here. Happens with on CM as well as Amazon when using a launcher. Figure it was something to do with the kernel somehow.

Ray
[8.9" Kindle Fire HD Android Development] arda99:
not a KF thing but Hash, can you make an (optional) boot.img to disable adb whitelist feature on 4.2.2?
[8.9" Kindle Fire HD Android Development] gsu_golfer:
Also just had a "sleep of death" situation. What should I do to provide a log for Hashcode?
[8.9" Kindle Fire HD Android Development] arda99:
this also happened on mine when I tried expanded desktop and/or rotation, can't remember the exact combination but it back to normal after reboot.
[8.9" Kindle Fire HD Android Development] Hashcode:
Yep, I should add this to the bugtracker. I'm 100% sure this is due to the lack of surfaceflinger support for hardware rotation, and I should probably just let the device boot up as landscape so that we're not plagued by these little oddities.
[8.9" Kindle Fire HD Android Development] arda99:
just tried to reproduce the bug but failed...the wallpaper worked properly when I switched expanded desktop/rotated screen, or maybe its a launcher thing? I can't remember if it was on Trebuchet when I had the bug but I'm using Apex launcher now.

Anyway it doesn't bother me much because I use (upside down) portrait mode most of the time so pls don't force the device to boot up as landscape.
[8.9" Kindle Fire HD Android Development] Thepooch:
It would still rotate into portrait.
[8.9" Kindle Fire HD Android Development] Seamonkey79:
I was having issues with it until I switched to Nova launcher... Since then I haven't had any weird wallpaper issues... Not sure if connected but...

So far she's running smoother than she was, battery is pretty good in idle, I haven't had SOD yet.
[8.9" Kindle Fire HD Android Development] rodnheli:
Thank you so much for this rom and your instructions here!! the KFHD 8.9 is a really cheap and nice tablet - and you really upgraded it with CM.

no more need for the amazon stock rom :good:

regards

heli
[8.9" Kindle Fire HD Android Development] jeevas.v:
Issue with playing 5.1 audio using xbmc.

Hi Hashcode,

Thanks a lot for the good work. I just noticed that the Audio stutters a lot when a 5.1 audio is played using xbmc. The video is buttery smooth using libstagefright but Audio seems to be a problem. Also there xbmc is not able to detect any Passthrough audio device. I forgot the behaviour of that menu in stock. But the Audio used to play very well thru speakers as well as thru HDMI.

Also the Google talk is not displaying the video chat icon. I was able to start the video chat with anyone and it immediately brings up the camera though. Is it because there is no Audio input devices right now?

Just letting you know. Let me know if you need a bug to be raised or any further testing to be done.

Thanks a lot once again.
[8.9" Kindle Fire HD Android Development] Seamonkey79:
Just took a look at the tab and I see a 21 hour wake lock. Better Battery Stats shows it as Cell Standby with 100% time without signal and 53.4% of battery used. Going to airplane mode it tomorrow and see what goes down.
[8.9" Kindle Fire HD Android Development] soupmagnet:
You can disable data services in the settings. I don't remember exactly where offhand, but if you poke around I'm sure you can find it on your own.
[8.9" Kindle Fire HD Android Development] FroyoShark:
Loving the new update. My tablet actually plays videos smoothly, while my netbook is extremely choppy with some xD

Can't wait until bluetooth is working properly, I'd like to be able to use this for taking notes in class instead of my netbook.
[8.9" Kindle Fire HD Android Development] For1n:
Thank you, Hashcode, :)

Send from my One XL CM10.1
[8.9" Kindle Fire HD Android Development] arda99:
battery drain: better but not best

On standby, the battery drain is about 0.4%/h, so thats 10% day.

Its better than previous rom and on par with the status of previous rom+airplane mode.

In the 4/5 rom I can finally leave the wifi on(which then turns it off 15 minutes later after screen off)

and don't need to put the tablet to airplane mode each time.

Needless to say, amazon's stock OS is much better. However, everything looks good on BBS,

cpu in deepsleep and no excessive amount of wakelocks(about 40 ConnectivityServices wakelocks),

so even sth is not (100%) right it might be a deeper issue.
[8.9" Kindle Fire HD Android Development] Hashcode:
I know there's a source of battery drain from uart2 never fully entering sleep.
[8.9" Kindle Fire HD Android Development] arda99:
is it an easy fix?

if not, maybe just leave it there I can definitely live with that(especially after checking nook hd's cm status)
[8.9" Kindle Fire HD Android Development] putin86:
waiting for coming update. I love original android.