yashsingh1/xdaforums huggingface dataset:
[Kindle Fire Android Development] smirkis:
someone using cwm should try to flash the cm9rom3 and immediately flash kernel6 before rebooting n see if it works. I think the issue might be the updater-script pushing the kernel to the wrong location for true cm9.

in gb the kernel location is what's in that script. but for true cm9 its actually different.

new

/dev/block/platform/omap/omap_hsmmc.1/by-name/kernel

old

/dev/block/platform/mmci-omap-hs.1/by-name/kernel

u changed the script in the kernel zip to the real location so if I'm not mistaken it may flash properly, but its to late for me to test this theory.
[Kindle Fire Android Development] foxdog66:
Man.... I've been editing every zip I've wanted to install to mount/install to the correct place. I didn't catch the difference between new and old posted above and have been trying to figure out what is wrong with my partition layout all day today thinking it was a problem on my end.
[Kindle Fire Android Development] Hashcode:
My secret is out!

I added the OTG settings into build #6 and planned on testing it whenever I had time.

Great work on checking this out and the video :)

I can add the needed modules into the kernel if we want:

ftdi_sio

hid

mousedev

pl2303

usb-storage

usbhid

usbkbd

usbmouse

usbserial

scsi_wait_scan (already in /system/lib/modules)

Thoughts?
[Kindle Fire Android Development] lovejoy777:
otg would be a good added bonus

thankyou:-)
[Kindle Fire Android Development] Damedus:
Would it be posible to OTG a usb mic and have it work on skype? I can already make a call and hear the other person, but they cant hear me with a mic headset, perhaps a USB mike would allow the missing mike features to work?
[Kindle Fire Android Development] Hashcode:
It's possible that a USB mic of some sort would work for this.

However, the native mic input should work for recording. I'm guessing a bug fix should get this working. It's just not a super high priority at the moment.
[Kindle Fire Android Development] Simon.Otst:
Also highly interested in this OR chance to make usb Bluetooth dongle work to pair my BT headset and use it with skype.
[Kindle Fire Android Development] Damedus:
Yes I'm aware its not a priority, would be awesome if we had Skype fully work for audio with a iPhone type headset, just thought duplex audio was not possible on the line in of the jack that's why I thought of USB. Although if we can get a Bluetooth dongle it would rock as but keyboard mouse headsets and game pads would really boost the amazing ness of the mighty KF.
[Kindle Fire Android Development] moriz1:
Keep in mind that the inline Mic on the Apple headset doesn't work on a lot of devices. Those things are nonstandard. Maybe the poster was using one of those.
[Kindle Fire Android Development] seishuku:
I think probably the basics, like bluetooth , hid, and USB storage would be good choices, then the guys that really need special support can go about building their own drivers for it (if hey need a special module, they should know how to compile it!)

Still need to figure out why some devices fail to read the descriptor though (says "device descriptor read/all, error -71"), and why simple USB 2 devices "use too much power."
[Kindle Fire Android Development] mlpmail:
Why limit the kernel to just the modules you want? I would appreciate it, if all the availible modules were included. It is so much easier for the Kernel developer to just include them than it is for someone else. Now I don't think Hashcode needs to test and support all of them, just include them.

Probably, for all but the lowest powered devices you will need a powered USB hub.
[Kindle Fire Android Development] seishuku:
I'm just trying to think of the poor newbs that don't know what they are doing, just to keep it simple... but whatever I guess. Lol
[Kindle Fire Android Development] victory144:
Streaking problem. (IMPORTANT)

No solution here, its still showing a (blue) line down the middle of the screen, even in twrp (at least until now).

The line appeared after turn off the Kindle, but forgetting to press/hold the power button to shutdown it manually ... About 30 minute later approximately, checked it and was something hot, so turn it off .... turn it on later and came the line on the screen.

Was on build #6... Tried complete wip and restore to cm7, but neither have not solved the problem.

I assume its physical damage (Hope not)...
[Kindle Fire Android Development] masterchop:
?????

Now that OTG is comming i would like to purchase the cable, i dont want to build it because i probably screw it up.

can any OTG cable that fits works for this purposes?:confused:

Sorry I am new to OTG system.
[Kindle Fire Android Development] xolanir:
Not sure if this has been asked yet, but once the kernel gets official and all kinks are ironed out, will it only work with ICS ROMs, or will the rest of us stock launcher/OS benefit from the new kernel and all its glory?
[Kindle Fire Android Development] icemank121:
The 3.0 kernel will only work for ICS ROMs built for this specific kernel.
[Kindle Fire Android Development] smirkis:
did it work?
[Kindle Fire Android Development] xolanir:
K cool Thx for the response. Guess I'll take a bite of some ICS once the kernel gets done. Thx hashcode and everyone involved in the work being done here. You rawk!!! :cool:
[Kindle Fire Android Development] Jaimemex:
Hopefully the screen issues are worked out soon...this is so close to being perfect! Thanks again hash for all your hard work!
[Kindle Fire Android Development] NRGZ28:
Less offtopic posts here.. more developing talk. Go talk about it in the General area topic please :)
[Kindle Fire Android Development] southbird:
You (and I and anyone else wanting USB OTG) want something like this: http://www.ebay.com/itm/Premium-New...891599?pt=PDA_Accessories&hash=item41623abfcf

Watch out for right-angle ones just because you'd block the headphone/mic jack or power button
[Kindle Fire Android Development] Hashcode:
Some upcoming updates for test #7, which I will try and get out once I fix 1 last bug, and find some time later on today:

- I've patched up the LCD timings and DSI controller for the LCD to operate exactly as it does on the stock Amazon kernel. This may or may not fix the banding issues. I'm still looking at some corrections to the PWM backlight timer.

- Included in the next test is a system for generating a unique to the device MAC address for use with the new 3.0 ROMs. It uses the "Die id" of the OMAP chip to create your MAC address the first time ROMs are booted after flashing. This way no matter what ROM you choose or how often you wipe and reflash, your Kindle will always end up with the same MAC.

- I'm adding the current list of modules used for OTG devices into the kernel so you won't need to compile them and/or setup insmod commands.

Edit: Also included will be IntersectRaven's patch to wifi which will need testing. (I believe it was for heat issues.)

Hash
[Kindle Fire Android Development] nxd:
I hope not also, but if it is persisting through flashing different ROMs..

Hashcode, perhaps until proper shutdown is fully working, it would be wise to disable the shutdown function altogether.
[Kindle Fire Android Development] bennettg:
I too was unable to fully shut down and got fooled. I pressed the power button for 30 sec at it appeared off. Hours later when I needed the kf

again I learned that I was fooled

Rom and kernel v6
[Kindle Fire Android Development] d33dvb:
Hey I just discovered that my old micro usb charger, and car charger do not work, and the icon never works, but my official charger that came with the kindle does in fact charge, this would account for the discrepancy in user complaints.

People using alternative chargers will not charge or indicate charge.

People using official kindle charger will charge but will only indicate in battery under settings menu.

Mine will not maintain a charge over USB to PC.
[Kindle Fire Android Development] Jaimemex:
Could u take a picture of it ?
[Kindle Fire Android Development] southbird:
I assume the shutdown, as far as it's going, is still serving the purpose of cleaning up the OS (commit changes to flash drives etc.)

As far as this blue line screen thing goes, it's a unique report, is it possible that the Kindle itself has had a hardware failure unrelated to the ROM? Just good ol' broken LCD?
[Kindle Fire Android Development] Hashcode:
The charging driver is in the process of being completely replaced. I pulled a Summit SMB347 driver from the 3.4 linux source. So it needs some work backporting.
[Kindle Fire Android Development] victory144:
Here you go, include a negative one (scanner).

As i told, maybe its hardware failure. but this:
[Kindle Fire Android Development] Jaimemex:
Have you switched roms? Try completely wiping everything (except SD card) in TWRP and flashing CM7 or stock to see if that fixes the problem...if not restore to stock and unroot and exchange it for a new one...
[Kindle Fire Android Development] southbird:
Just speaking completely off-the-cuff, that looks like a broken LCD to me.
[Kindle Fire Android Development] Jaimemex:
I think I'm going to go back to 1.2v reloaded until #7 or #8 come out...
[Kindle Fire Android Development] Royalaid:
I am having the screen discoloration as well and I just flashed from CM7 with the screen being fine
[Kindle Fire Android Development] bennettg:
What kind of keyboard are you using? Did you need a powered USB hub for the keyboard to work or did it give enough current

On its own? Thx in advance.
[Kindle Fire Android Development] Jaimemex:
It may be a overheating issue...the back of my kindle get a lil warm on #6
[Kindle Fire Android Development] uoY_redruM:
I hate to post here but its bugging me. Is there anything specific to 3.0 that could cause TWRP to not be able to flash the zip? I cannot flash anything with TWRP 2.0.0 or 2.1.1
[Kindle Fire Android Development] gedemis:
I flashed using TWRP 2.1. Did you check if the download finished properly?
[Kindle Fire Android Development] Techlyfe:
Excellent work Hash and others that have contributed to bugfixes. The only issue that I am having is when I wake the kindle up from "sleep/screen off?" it flutters or flickers and then displays properly within a second.

Other than that, no issues whatsoever, Kindle works perfectly with my OEM wall charger and shows charging. On my pc usb cable I don't believe it is supplying enough positive mA to charg so if for instance the kindle by itself on uses 500 mA but my pc usb port will only supply 400mA then because there's never a supply above the current mA draw then it will never show charging. For the last 15 mins with the kindle plugged to my pc usb it has never showed charging but my kindle has not yet dropped below 65%.

USB 2.0 I believe has a maximum supply of 500mA

USB 3.0 I believe can reach upwards of 900mA

The OEM wall charger i think can supply over 1000mA

Im testing current draw from my USB 2.0 port for the next 30 mins with the screen sleep set to 30mins and the screen at the lowest brightness settings.

and then i will test my USB 3.0 port the same, and last i will test the wall charger to see the outcome.

I'm logging everything with Battery Monitor widget.

TWRP 2.1 would not work at all for me and I tried about 20 times. But twrp 2.0 booted up the first time with no issues whatsoever.

+1 to checking the download. Match the Hash's to confirm it properly downloaded.
[Kindle Fire Android Development] lovejoy777:
sent you a pm

don't reply in this thread use general thread:-)
[Kindle Fire Android Development] leviwhite9:
Is there a reason this would boot loop the FFF screen?:confused:
[Kindle Fire Android Development] whoisatlas:
Maybe you are stuck in fastboot mode?

To get out:

ADB:
adb shell idme bootmode 4000
adb reboot

Fastboot:
fastboot -i 0x18d1 oem idme bootmode 4000
fastboot -i 0x18d1 reboot
[Kindle Fire Android Development] leviwhite9:
Yeah, but why?
[Kindle Fire Android Development] whoisatlas:
Not sure, unless you wiped something you shouldn't have (e.g. recovery).
[Kindle Fire Android Development] leviwhite9:
I would use ADB but SDK won't open for me to download what i need. And thanks for the repy.
[Kindle Fire Android Development] smirkis:
sounds like you used cwm?
[Kindle Fire Android Development] Techlyfe:
If you need just the adb and fastboot files, you can probably just download KFU, it will contain what you need. Located in the \tools folder.
[Kindle Fire Android Development] whoisatlas:
http://xdaforums.com/showthread.php?t=1399889

Link for the lazy.
[Kindle Fire Android Development] Hashcode:
KERNEL TEST #7 CAN BE FOUND HERE: http://bit.ly/IxGCRu

md5sum a1ae2c787ddf171dc3f0e64c81d76a48

CHANGES:

- LCD Timing has been corrected to match stock Amazon kernel ** THIS MAY HELP WITH BANDING -- PLEASE LET ME KNOW**

- This patch also implements a fix for the universal MAC address that is seen on previous tests. While this is more of a ROM patch in general, it's based out of the init.*.rc files and executes a one time script on the first boot which will generate a unique MAC address per device. This MAC address will be restored anytime you format /system and reflash. This will most likely need some testing and be tweaked over time.

- The charger was patched with source changes in the 6.3 stock kernel -- this includes another wakelock for charging. I doubt this will help a ton, but let me know.

- The following OTG-related modules have been added into the kernel: ftdi_sio, hid, mousedev, pl2303, usb-storage and usbhid

There were some specific overriding drivers which I chose not to add at this time (usbkbd and usbmouse). We can determine of those should be built as separate modules at a later time.

- IntersectRaven's WIFI Patch to power the wifi card on and off correctly (reduction of heat?) is also included

As always report user issues in the other thread. Try and keep this thread clear for development related postings.

NOTE: all of the devtree projects were updated with the new kernel, wifi MAC fix and module changes.
[Kindle Fire Android Development] d33dvb:
I am still getting banding on power on display

and wifi wont turn on.
[Kindle Fire Android Development] intersectRaven:
To clarify, the WiFi patch doesn't solve the heat-up issue I noticed when the Fire is left sleeping. It just reliably turns off the card so it doesn't consume additional power. I'm still investigating the heat-up issue. :)
[Kindle Fire Android Development] icemank121:
Like just the flicker when hitting the button? Or banding that stays?

WiFI appears broken, but wakelock on AC is working great, AC charges fine even with screen off now.
[Kindle Fire Android Development] philow:
Fix for broken wifi on #7

Looks like the script is not working to fix the Mac address. However, if you go to the /system/etc/firmware/ti-connectivity folder there is a file named wl1271-nvs.bin.orig rename it in your favorite root explorer and reboot.

This will most likely give you the generic mac address but wifi will work again.
[Kindle Fire Android Development] freefaling:
I get just the flutter when the button is hit. No other screen issue. Kernel#6. Holding off on #7 since wifi seems to break.

Edit: Made the jump to kernel#7 after Hashcode (the ever awesome) fixed wi-fi. Screen flutter is (almost) gone.
[Kindle Fire Android Development] seishuku:
So far seems good on the display, I'll keep an eye on it.

However, the wifi module is crashing, it's dumping a stack trace on my Fire.

BTW, leaving out the boot mode keyboard and mouse modules is fine, I just did them so I could test with out loading the whole HID core. Just the HID core is fine.

At any rate, it's working quite well with my generic USB keyboard, just plug it in and go.
[Kindle Fire Android Development] donsam:
wifi

wifi seems to be broken in this kernel release.
[Kindle Fire Android Development] icemank121:
We implemented a script that will create a new .bin file for WiFI that fixes the MAC address issue, so in the new kernel update it removes the old bin so the script can make a new one. But the script is apparently not working since the new bin isn't being created, which is why wifi won't load. I'm sure it'll be fixed soon.
[Kindle Fire Android Development] mjybarr:
Concur...wifi broke but the LCD is now crystal clear.
[Kindle Fire Android Development] masterchop:
Recovery showed as update #5 not 7 is that ok?

screen steel flickers on wake up and WallCharging seems to improve.

I have been monitoring this since #5 with battery widget and it woks.

Ill report later if it took less time than previous releases still charging XD::
[Kindle Fire Android Development] d33dvb:
I was only experiencing screen flicker on power on, not banding that stays.
[Kindle Fire Android Development] seishuku:
Wifi is back after renaming wl1271-nvs.bin.orig to wl1271-nvs.bin

Otherwise, it seems that the LCD timing change fixed the banding issue.
[Kindle Fire Android Development] beyondlife:
I was browsing through the device configuration files and I believe I found an inaccuracy in "device-amazon-otter / overlay / frameworks / base / core / res / res / xml / power_profile.xml".

I believe the kindle fire has a 4400 mAh battery. I'm not sure what affect this would have but I'm sure it can't be good. Was this intentional or just a typo that should be fixed?
[Kindle Fire Android Development] icemank121:
There's not a fix for the screen on flicker yet, its most likely just getting the timing of the resume code right so that the screen resumes BEFORE the backlight comes on.
[Kindle Fire Android Development] mjybarr:
Where did you go to edit that file?
[Kindle Fire Android Development] donsam:
can you provide the steps ?
[Kindle Fire Android Development] jamminjon82:
If you could scroll up...
[Kindle Fire Android Development] Hashcode:
Sorry guys.

I'll run back through my steps and build a #7a .zip that works. I'm at dinner currently, so it'll be just a little bit.
[Kindle Fire Android Development] djkeller3:
Hash, just sent you $10. You deserve a lot more.

All who have not yet donated, please pony up. This man is working so hard to make our devices the best they can be. Let's all do our best and support him.
[Kindle Fire Android Development] mjybarr:
Youtube HD works flawlessly on new kernel...but I seem to have a bit of trouble getting Netflix to work. Just out of curiosity....Is full HW coming in next release as well?
[Kindle Fire Android Development] farmercyst:
Same here. Not tested too long or reinstalled yet but wifi looks to be messed up. I will try reinstall later.
[Kindle Fire Android Development] leviwhite9:
I can boot but no backlight? Any thoughts?
[Kindle Fire Android Development] philow:
http://xdaforums.com/showpost.php?p=25189183&postcount=507
[Kindle Fire Android Development] lovejoy777:
wait for 5 mins with a couple of taps here and there

welldone hash sorry out of thanks:-) thankyou
[Kindle Fire Android Development] leviwhite9:
I can try that. Thanks.
[Kindle Fire Android Development] d33dvb:
Temporary Wifi Fix for those without a root browser (me, doh!)

adb remount /dev/block/mmcblk0p9 /system ext4 rw,relatime,barrier=1,data=ordered 0 0

adb shell

mv /system/etc/firmware/ti-connectivity/wl1271-nvs.bin.orig /system/etc/firmware/ti-connectivity/wl1271-nvs.bin

adb reboot
[Kindle Fire Android Development] twa_priv:
Running my own build from Hashcode's latest sources without any issues so far.

The stripes after some period of sleep time seem to be gone now. Thanks!

Even WiFi also is working fine for me and I didn't need to change wl1271-nvs.bin.
[Kindle Fire Android Development] Jaimemex:
=[ then the screen isn't fix then? That's how the screen was on #6 it would go away after a few mins but every time u let it sleep and wake it up the screen would be messed up...
[Kindle Fire Android Development] farmercyst:
Thanks a lot! I changed the file name in root explorer and "boom goes the dynamite!" now back to walking dead comics!!!

One more thing. I am charging with my charger from my galaxy Note. It wouldn't charge from this charger earlier...if that means anything.
[Kindle Fire Android Development] twa_priv:
The stripes/banding issue is fixed (at least for me).
[Kindle Fire Android Development] victory144:
Me too , update to #7 --> reboot about 2-3 times --> suddenly wake from sleep and the stripe (blue one i had) has gone.

Although flicker after resume still present.
[Kindle Fire Android Development] Jaimemex:
Great news bro! But I'll wait till hashcode releases #7a :D
[Kindle Fire Android Development] fox_dye:
Hooray Hash. I think we have a winner with this one. After renaming file WiFi is working. Connected to both regular and ad-hoc multiple times with no problems. Also color banding is gone. Screen is turning on with one push of the button no longer have to push it many times to get the back light to sync. The back light does flicker a bit when you turn it on but other than that works great. Will post back with more info about charging after I let it sit on the charger for a bit. Thanks for making my fire so bad ass.
[Kindle Fire Android Development] Hashcode:
Download file in the OP is fixed now: http://bit.ly/IxGCRu

new m5sum: a1ae2c787ddf171dc3f0e64c81d76a48

Wifi should come up with the unique MAC address w/o any configuration.

It was an issue w/ the flash .zip and that's why those building from the sources are working just fine.

Enjoy.
[Kindle Fire Android Development] nuds:
I'm getting that flicker as well. It's a sudden white flash as soon as the Kindle resumes. I'll see if I can get it on video later.
[Kindle Fire Android Development] Hashcode:
Yep, this is a known issue and I'm looking for a fix.
[Kindle Fire Android Development] biglama:
I've been able to charge just fine on USB and outlet but I had some other issues that I thought were kernel related. 1.) ICS wasn't showing the battery charging and 2.) The led would flicker when the screen was off and plugged in (on for one second off for 5, on for one off for 15.....)in a very random sequence. The latest kernel along with aokp build 33 have seemed to resolve both issues. I know the first issue was software, I'm now thinking the led was also.

Edit: just came back to see a green flashing led....is anyone else noticing this behavior? I know the led is ported from gingerbread and its not affecting anything stability wise, just an observation.
[Kindle Fire Android Development] mjybarr:
Not to pester in anyway... Is Netflix going to work in next release?

P.S. Other than that...phenominal job on the newest kernel!!
[Kindle Fire Android Development] Stevethegreat:
Great work there Hash...

May I ask whether GPU overclock is (or would be) on 3.0 kernels. I'm asking because the last guy achieving this (doomlord's kernel for stock) gave to KF real omap 4460 support/fujctonality (1.5ghz on CPU, 384mhz on gpu). Those of us managing to run it were given performance equivalent to 4460 (instead of the 4430 with which KF comes with)... the cheapest way to upgrade my CPU to date :p...

Anyhow -yeah-, so how possible/probable gpu overclocking is on 3.0?
[Kindle Fire Android Development] biglama:
I'm using Netflix right now
[Kindle Fire Android Development] shahabk818:
The screen banding is gone :D thanks a lot, if just fix the charging and battery life it would be fantastic
[Kindle Fire Android Development] BrooksBlood:
Just flashed the kernel in this post and the led doesn't work at all. Weird.

Edit: it works during the yellow triangle but not after it starts the boot animation. Also works when charging but I swear it would come on green when you hit the button to wake it from sleep. It also flashes when it is in sleep.
[Kindle Fire Android Development] mjybarr:
How so? What rom and kernel are you using?

Edit: I'm using the latest BiteBlaze rom and the latest Hashcode kernel and I can't get Netflix to work. That's why I am asking what you are running.
[Kindle Fire Android Development] TexasRules777:
Really?
[Kindle Fire Android Development] freestylejunki32:
Charging via AC adapter not seeming to work for me...running build #7