yashsingh1/xdaforums huggingface dataset:
[8.9" Kindle Fire HD Android Development] Hashcode:
The best way to build the kernel / boot.img is from inside the Android build.

Summary:

Follow the ROM build setup instructions

brunch jem

After the first bits are displayed showing cm_jem and the build version, ctrl-c cancel the build

make -j8 $OUT/boot.img

(Kernel / module build finishes)

adb push $OUT/system/lib/modules

adb shell "chmod 644 /system/lib/modules/*"

(Reboot device to fastboot mode)

fastboot -i 0x1949 flash boot $OUT/boot.img

fastboot -i 0x1949 reboot

Done!
[8.9" Kindle Fire HD Android Development] brotbuexe:
I think I found a problem with some apps getting installed on /mnt/asec in this ROM.

I explained it in http://xdaforums.com/showthread.php?p=45023505 because the first app I found, that should have worked but didn't, was Swiftkey.

Because a lot of apps getting installed on /mnt/asec it could be we wrongly thought for some games they didn't run because of the hardware or drivers but instead have a problem with the asec.

It would be nice to get rid of the asec, because we just have all the storage in /data available. And because we don't have a "real" asec we can't move apps from asec to data within settings/apps.
[8.9" Kindle Fire HD Android Development] GA400:
What an awesome rom!

Just had to post a brief word of thanks for developing this rom. My kindle fire hd had grown very sluggish and battery life was growing worse and worse. Once I installed this rom and re-set up my apps (less than two hours total, and I am slow and cautious), I felt like I had a brand new tablet and my battery life is indescribably better!

Will make a donation when finances pick up a bit, but a huge THANK YOU!
[8.9" Kindle Fire HD Android Development] Tronar:
A quick question. Part of the reason to buy the Kindle Fire HD 8.9 was for me to be able to use it as a playing device for movies on my HDTV. I also bought the official amazon HDMI to Micro HDMI cable to connect the kindle with my TV. The problem I am now having is that my HDTV (Philips) produces two vertical black bars, i.e. it doesn't offer the full 1920x1080p resolution, but something a little smaller (I guess around 1700x1080p).

Yes, I tried all the scaling options on my TV to no avail. And my Xbox, my BluRay-Player and my PC do produce a flawless Full HD 1920x1080p experience on that TV Set on the exact same HDMI port.

I suspect that the reason for that behaviour is the fact that the kindle display runs a resolution of 1920x1200, which is not 16:9 but 16:10. So as a result my TV squeezes the picture to fit it and thus produces the black bars left and right. It also doesn't matter if I am playing a video using VLC, surfing the web with Silk or just display the Kindle App selection screen. There are always the black bars left and right.

(BTW: amazon customer service acknowledged the problem, couldn't find an immediate resolution and promised to call be back.)

Now my question. Since this custom ROM says in the description of the first page of this thread:

"HDMI video out is now correct and work across several resolutions. YMMV"

does that mean that I can access and actively change the resolution output with this custom ROM?

My kindle is already rooted but I was happy with the native Kindle experience. But if this ROM would actually allow me to set the output resolution to 1920x1080p that would be a good reason to install it.
[8.9" Kindle Fire HD Android Development] heinz1:
One question... Is this otter2 or otter 1 Rom ?

I think i'm in wrong section..
[8.9" Kindle Fire HD Android Development] mdblaze:
Flashed on my 8.9 32 gig first try, and looking great so far. Thank you all for what has been done so far.
[8.9" Kindle Fire HD Android Development] FroyoShark:
Hey Hashcode, just curious, is there any chance you could add some more schdulers, governors, and overclocking to the kernel? (After you're done fixing the bugs, of course)
[8.9" Kindle Fire HD Android Development] JuannTwo3:
I manually changed stone things around in the build.prop and it seems to have helped so far.

This is ripped from a Nexus 10

ro.build.id=JVP15P

ro.build.display.id=JVP15P

ro.build.version.incremental=513126

ro.build.version.sdk=17

ro.build.version.codename=REL

ro.build.version.release=4.2

ro.build.date=Tue Oct 23 20:12:57 UTC 2012

ro.build.tags=release-keys

ro.product.model=Nexus 10

ro.product.brand=google

ro.product.name=mantaray

ro.product.device=manta

ro.product.board=manta

ro.product.cpu.abi=armeabi-v7a

ro.product.cpu.abi2=armeabi

ro.product.manufacturer=samsung

ro.product.locale.language=en

ro.product.locale.region=US

ro.wifi.channels=

ro.build.description=mantaray-user 4.2 JVP15P 513126 release-keys

ro.build.fingerprint=google/mantaray/manta:4.2/JVP15P/513126:user/release-keys
[8.9" Kindle Fire HD Android Development] slacka-vt:
You can download Chrome and Dropbox with these settings ?
[8.9" Kindle Fire HD Android Development] Hashcode:
I added this note to the OP:

Be aware that the "sdcard" space has changed slightly from ICS to JB4.2. You will find your stock amazon OS files in /data/media/ or "sdcard" on the Stock OS. But CM10.1 will create a sub directory "/data/media/0" and call that "sdcard". And in TWRP it will also use "data/media/0" as "sdcard". This has to do with multi-user settings. So when placing files on the "sdcard" be sure to check both locations before wondering why that file is missing.

I hope that helps some folks who are wondering why their files keep going missing.
[8.9" Kindle Fire HD Android Development] FroyoShark:
Changed those in my build.prop, won't boot now.
[8.9" Kindle Fire HD Android Development] JuannTwo3:
Just tried then out and yes, they do seem to work.

---------- Post added at 01:59 AM ---------- Previous post was at 01:55 AM ----------

I'm sorry to hear that but im working well.

EDIT: I did not change the ro.board.platform to exynos. That may be the reason behind that. I'll edit my post.
[8.9" Kindle Fire HD Android Development] Hashcode:
Re: [ROM-AOSP] Unofficial CM10.1 (JB 4.2.1) [02/01 ALPHA]

make sure you reset the permissions on build.prop after any edits. has to be 644 or android will not boot.
[8.9" Kindle Fire HD Android Development] FroyoShark:
Yep, that fixed it, thanks!

EDIT: Chrome still isn't compatible... (cleared Play Store data)

And @hashcode not changing the permissions would get stuck at blue Kindle Fire logo, setting them would go to black screen.

-----

Is it just my connection/security (WPA2), or is the WiFi speed really slow on this ROM?

EDIT: Yep, it's my connection (or security). Tried wirelessly tethering it to my phone and it's fine.
[8.9" Kindle Fire HD Android Development] Hashcode:
Re: [ROM-AOSP] Unofficial CM10.1 (JB 4.2.1) [02/01 ALPHA]

i'll try and figure out what needs to be set in the build.prop as i get time. i doubt most of those prop changes are needed. maybe 2 or 3.
[8.9" Kindle Fire HD Android Development] JuannTwo3:
I realize that I moat likely went overboard but I just wanted to make sure it'd work. I guess I should have added I made the changes with Rom Toolbox's build.prop editor. After all this is just a temp fix as I am sure you'll get it working properly without the unnecessary stuff
[8.9" Kindle Fire HD Android Development] FroyoShark:
Decided to run an AnTuTu benchmark test. This is with the SD card cache at 2048, V6 supercharger, and Crossbreeder. Everything else is bone stock. As a reference, my Evo 3D with the same mods, same ROM, but dual core overclocked @1.7GHz (this is 1.5) is about 9000.
[8.9" Kindle Fire HD Android Development] LivingChampion:
Hashcode, I am so glad you are bringing your work to the KFHD 8.9. It almost brings a tear to my eyes that development for this device is finally starting and/or getting somewhere. I can only hope it gets even close to the support that the original KF had/has.
[8.9" Kindle Fire HD Android Development] Poke851Le:
Anyone helps me

I installed twrp and this rom (2/01 initial version) + gapps. but after amazon logo appeared , my kindle showed the black screen.

so i entered the fastboot mode (through fastboot -i 0x1949 getvar product)

i tried to recover the stock rom by SR tool. (http://xdaforums.com/forumdisplay.php?f=1999&nocache=1&nocache=1)

but after runing restore su of the SR tool, my kindle runs the amazon logo (yellow) and stopped..

If one of u guys knew it help me plz :o

(I had no back up files.. so no boot.img, recovery.img. do i need this to recovery the stock? if i do , where can i find img file?)
[8.9" Kindle Fire HD Android Development] FroyoShark:
I'll PM you the stock boot.img, as well as instructions on how to flash it.
[8.9" Kindle Fire HD Android Development] Poke851Le:
You saved my Kindle and my money. Thank you very much.
[8.9" Kindle Fire HD Android Development] FroyoShark:
Bug report:

Bluetooth does not work at all. Doesn't see other devices, and isn't seen by other devices.

I can try to get a logcat if you need one, but I've never used it before, so I don't really know how :)
[8.9" Kindle Fire HD Android Development] JuannTwo3:
I noticed a couple things so far:

The "smart cover" like feature isn't working. I'm not sure how easy/hard it is to get this going on the ROM but I thought I would point it out.

HDMI out kind of works. Orientation is locked in landscape on the device but what is displayed on the TV is always in portrait (if that makes any sense)

I'm not pointing these out to complain. I'm pointing them out so you know that they are there and will hopefully fix them when you have the chance Hash
[8.9" Kindle Fire HD Android Development] Hashcode:
FYI,

I made the following changes in my build.prop:

ro.product.brand=google

ro.sf.lcd_density=240

And I was able to install Chrome. Your results may vary. I'll see what I can do to embed these into the build from now on.

EDIT: I also wiped data/cache after these changes.

EDIT2: didn't need ro.product.device=manta. So I removed that as well. I can set the above 2 items in the next build.
[8.9" Kindle Fire HD Android Development] rootedkfirefan:
Hi Hash code,

I noticed the keyboard was a little off when I changed the build prop LCD density to 240. I did a little research and I read some articles stating the Kindle HD 8.9 pixel density is 254. I changed it and the keyboard looks like it is accurate. Should it be set to 240 because it's Cyanogen? Just curious.

Edit: By the way, the new build prop got all the other Google apps running, like Chrome, maps, music, movies, etc. So far its been working very well that I left this ROM on here.
[8.9" Kindle Fire HD Android Development] skdubg:
yes you are wrong.

this is "jem"
[8.9" Kindle Fire HD Android Development] ajma:
Neither. This is the jem rom
[8.9" Kindle Fire HD Android Development] heinz1:
Mind explain what is jem ?

So jem rom works on both otter1 and otter2 ?

BTW someone helping this MTP problem ?

http://xdaforums.com/showthread.php?p=45073152#post45073152
[8.9" Kindle Fire HD Android Development] skdubg:
jem is the technical name of KFHD.

otter and otter2 are the technical names of the previous generation.

"jem" Roms doesnt work
[8.9" Kindle Fire HD Android Development] mrbender666:
Hi,

First of all i want say a big thank you to Hashcode for porting cm on this tablet. I want report it working well and i sent you a beer by paypal some days ago :)

Then i want to report that i tried patch from jonasl but it doesn't work for me, just the first and the last item are managed by hwc and secon and the third remain gle that makes quite choppy the tablet i had to came back tothe original cm.

Bye
[8.9" Kindle Fire HD Android Development] Hashcode:
This is quite a fantastic write up with well thought out points and examples. Thank you.

I've been so busy catching up on other Android devices that I just haven't had time to dig into the graphic performance issues on Jem.

You mention your knowledge of HWC and GPU/GC320 integration.. I'm very curious where you picked this knowledge up. :)

The HWC code that we're using is based on the jb-mr1 branches of TI's omapzoom gits from around Dec 2012 (right before they swapped to the kernel 3.4 development). This is a link to a close point in the tree where our HWC matches up:

http://www.omapzoom.org/?p=platform...2;hb=35c0742669787fd71ee4c5d9a31884c7f170dc9f

For reference, here's the current HWC source (cm-10.2 branch):

https://github.com/CyanogenMod/android_device_amazon_omap4-common/tree/cm-10.2/hwc

I think your BEST point is the tiler1d memory allocation. It certainly needs to be raised as it was based on ICS allocations. I will also do some research on a setting for the WallpaperService but that change to the CM framework may be more difficult -- it has to go through review. And, I'd like to test that change a bit more to see if it's necessary once we limit the wallpaper size using the overlay.

My other thought was to finish merging in the new HWC code from omapzoom. They updated it a while back to API 1.1. And while there is certainly kernel 3.4 code in there now which will need to be adjusted it may be worth it.

I have a few questions and I'm always trying to learn more, so I may PM you with some questions if you don't mind.
[8.9" Kindle Fire HD Android Development] civiksi:
I'm still having a problem with a lot of games not working. My son likes to play games on it and the ones he likes don't work. Real steel wont even start, A monster university game keeps rotating while you try to play it. I believe an iron man 3 game does the same thing. I recently went back to stock and it is HORRIBLE! But thats the only way he can play his games. Wondering if this is just a known prob.
[8.9" Kindle Fire HD Android Development] Hashcode:
This is my only real focus on the ROM atm.

Once the odd rotation and game play issues are solved, i'll submit the device to CM for official status.
[8.9" Kindle Fire HD Android Development] civiksi:
Thanks for the reply. I've been running this since you released it. Going back to stock is god awful. That and the sound not being loud is my only *****. But I know I have no place to complain. I would have sold this thing months ago if it wasn't for you. Damn you're doing a hell of a job!
[8.9" Kindle Fire HD Android Development] daruiner:
I'm curious about the development process for CM. Once a device becomes official will more developers contribute to the process or will you still be the sole maintainer of this device's code line?

Thanks for all your hard work. The only reason I bought my KFHD 8.9 over something else is because I found this thread.
[8.9" Kindle Fire HD Android Development] brotbuexe:
The problem of games not starting could be related to them getting installed in /mnt/asec as default.

You could check with root explorer or inside titanium backup if you have it.

If this is the case you could try moving them to /data/app just by backup and restore (app only) with titanium backup.

I explained it a little more here: http://xdaforums.com/showthread.php?p=45023505

A workaround for the rotation issue could be a Rotation Control appl like https://play.google.com/store/apps/details?id=nl.fameit.rotate&hl=de
[8.9" Kindle Fire HD Android Development] OdiemanSAM:
Dido... had to have root and a great rom. Great job Hashcode
[8.9" Kindle Fire HD Android Development] smeitmeister:
USB OTG support

Hashcode, first and foremost, a big thank you for your work on these CM builds for KFHD.

Are there any plans on USB OTG support (or is there even more progression)? As a newb I really don't know what effort goes into this.

I would like to use the KFHD 8.9 with CM10.1 (or .2) with USB On-The-Go as a laptop replacement as well, hooking up with USB keyboards, mice, storage, charging, etc. For now, I go the Bluetooth way (with kb and mouse at least).
[8.9" Kindle Fire HD Android Development] jeevas.v:
Is there any real evidence that the hardware is capable of Otg. Is there a 5v generator in the PCB? Is the otg detection line in the micro USB port wired to something? Without knowing any of these how can we expect something using software?
[8.9" Kindle Fire HD Android Development] Greek2me:
I'm still having issues with booting up the tablet. The spinning, centered CM logo displays infinitely until I turn the tablet back off. I then need to clear the cache using TWRP in order to boot.
[8.9" Kindle Fire HD Android Development] narse:
I'm getting the same issue. Not sure when it started doing it though as I rarely shut the device down.
[8.9" Kindle Fire HD Android Development] Greek2me:
It used to happen randomly - more often than not it would boot normally. However, as of the latest build it happens pretty much every time.
[8.9" Kindle Fire HD Android Development] mwa3aan:
I am running the build from jonasl and the difference is incredible. It would be great if this could make its way into hascode's builds for cm 10.2 as well.

I went back to the 10.1 build from jonasl after trying the latest 10.2 build. After getting used to the ui perf on jonasl's build its hard to use the other builds.

Thanks for the great work everyone!!
[8.9" Kindle Fire HD Android Development] civiksi:
Restored my last backup of CM. The one specific game that wouldn't load now does. Don't know why and it was where it should be in /data/app. The rotation locker seemed to have fixed the random flip flopping of some games. Thanks for your help.
[8.9" Kindle Fire HD Android Development] ZilverZurfarn:
Yes, you're not alone. I'd say it never boots without wiping dalvik cache first. Not that it matters much, as it's usually always on, but it would be nice to be able to reboot without entering recovery once in a while... :)
[8.9" Kindle Fire HD Android Development] Hashcode:
can you try to get me a failed bootlog by rebooting without wiping cache and then when it doesn't boot use "adb reboot recovery" and then when in recovery

adb shell "cat /proc/last_kmsg" > log.txt
[8.9" Kindle Fire HD Android Development] narse:
Tried the jonasl version and that version doesn't seem to have the reboot problem. However I didn't notice any real difference in performance and my kindle started to freeze every now and then, so have now gone back to the hashcode version. As soon as I flashed this version, the reboot issue happened first time. I have tried to get the "last_kmsg" for you (got stuck at cyanogenmod circle, powered off and back into recovery), but the file doesn't exist. The command didn't find it and the file manager in TWRP doesn't show it. There is a kmsg, which I have got a copy of, but guessing that this is for the current boot to Recovery?

When the cyanogenmod circle is spinning round, there are no devices seen by adb, so couldn't use adb to reboot as you suggested. Not sure if that is why the file was not there. Is there anything else I can do to get more info for you?
[8.9" Kindle Fire HD Android Development] ZilverZurfarn:
I'm also running the version from jonasl, and like narse, the boot issue is gone. However, I used to have ADB access while in "boot loop", as my standard procedure in that case is to do

adb shell reboot recovery

and wipe dalvik cache.

<edit>That was a lame excuse for not helping out. I'm now in the process of backing up current and restoring latest Hashcode build, and see if I can't get a boot loop and the last_kmsg out.</edit>
[8.9" Kindle Fire HD Android Development] ZilverZurfarn:
After rebooting (and as usual boot looping) and rebooting back to recovery, there's no last_kmsg in /proc, unfortunately. Just kmsg. I did however catch half a minute of logcat output during the eternal bootup - PM me if that might help you.
[8.9" Kindle Fire HD Android Development] Tronar:
Hello? Nobody has an answer to my question:

Since this custom ROM says in the description of the first page of this thread:

"HDMI video out is now correct and work across several resolutions. YMMV"

does that mean that I can access and actively change the resolution output with this custom ROM?

Any help is greatly appreciated!!!
[8.9" Kindle Fire HD Android Development] jmccarter:
headphones not working

Hey -

I'm on the latest (cm-10.1-20130812-UNOFFICIAL-jem), and it's great, but headphones do not work. If I plug them in, I get no sound through them, and sound continues through the speaker. Has anyone else experienced this?

Thanks.

-Justin
[8.9" Kindle Fire HD Android Development] aaron.a:
Is the whole screen flip flop issue and the general rotation issue something you're actively investigating or is it hopeless, for lack of better words.. I mean, for me rotation is unusable. If I rotate framerates drop. After several rotations the device is inoperable until reboot. If I keep rotation locked its a beast tho. Like, validates my investment, beast. Just saying. I digress. Rotation fix = money, yo. ROM is boss. Etc etc xD

The performance tweaks might work.. yeah, I found some stability in rotations using then performance tweaks. Answered my own question.
[8.9" Kindle Fire HD Android Development] mazzorca:
found something about the ezpdf reader problem

Hi Hashcode,

I been testing this and others ROMs for Kindle Fire HD 8.9. I was frustrated with the ezpdf reader and mantano reader bug. I tried install the trials of both apps, and they worked flawlessly. So I suppose this is a registration issue. I got some cracked apk of both apps, and they worked too. So I think this is a problem with the registration part of both ezpdf and mantano reader.

Hope this give some ideas to fix that problem.
[8.9" Kindle Fire HD Android Development] brotbuexe:
Just to be sure.

Anyone using HDMI Output?

Do you have black bars on both sides on a 16:9 TV?

It should be normal because the aspect ratio of the kindle is 16:10!?

---------- Post added at 07:45 PM ---------- Previous post was at 07:42 PM ----------

Could anyone please check if you have this issue with your kindle?

Can you play games like Asphalt 8 or Worms 2 right after you install them?

If yes, can you check where the game is installed to?

If not, can you try moving it with Titanium Backup (just backup and restore (app only)) and check if the game works then?
[8.9" Kindle Fire HD Android Development] smeitmeister:
Jeevas, there is some mixed info in http://www.amazon.com/forum/kindle?_encoding=UTF8&cdForum=Fx1D7SY3BVSESG&cdThread=TxNRE4N0CAV8W6 .

My guess it should work from hardware point of view, although power is quite limited. I still hope someone can deal with the implementation in the software...
[8.9" Kindle Fire HD Android Development] jeevas.v:
Even that page do not have any evidence. Just few people speculating about support.
[8.9" Kindle Fire HD Android Development] mrbender666:
Hi,

i want to report a problem that is driving me very sad

Can't play any kind of video or stream using any kind of app (youtube , mx player stock player etc)

Description

After boot , it usually working ok. I can play videos or stream without issues.

but

if i start to heavy using html5 player in chrome (jumping from video to video from page in page) or mxplayer for more then 10 minutes with hdtv,

the video (or stream) stops,

then i close mx or chrome and re-try the same videos or stream i won't be able to see anything.

From that point, all the players are able to play nothing. they remains in loading or caching.

and also 3d games like RR3 became so choppy to be unplayable

until i reboot the tablet.

sometimes, but very rarely, i have to wipe cache because this problem drives me in to the never ending boot logo issue.

thank you for the effort

.
[8.9" Kindle Fire HD Android Development] civiksi:
I have noticed this too. It just started recently though. I thought my tablet was on its way out.
[8.9" Kindle Fire HD Android Development] smeitmeister:
bluetooth mouse

Anyone experience using a bluetooth mouse + keyboard with the Kindle Fire HD 8.9 with CM10.1 ?

No problems with keyboard, but I can't get my mouse to work (http://dx.com/p/500-1000dpi-bluetooth-optical-mouse-with-carrying-pouch-22313).

I managed to pair it with the tablet, as it states "Bluetooth Mouse Connected", and it is also listed (checkbox) in the Profiles tab as an Input device. However, I don't see any mouse pointer or something similar when using it. (Mouse was tested on Win8 laptop.)

Am I missing something? Or is this also missing from the kernel like USB OTG?

Thanks in advance for providing feedback.