yashsingh1/xdaforums huggingface dataset:
[Kindle Fire Android Development] AlexDeGruven:
Well, this is going to take a bit more doing than I thought. I need to brush up on C bigtime before I'll be able to contribute anything to the shutdown issue.

I was hoping most of the routines were held in scripts, but no such luck.

I still imagine it's a similar issue, however, in that whatever is calling the stop routine on the remaining CPU isn't quite getting the response it is expecting and is just hanging there.

We shall see...
[Kindle Fire Android Development] shahabk818:
ok ok calm down, i didn't say it's ready to use
[Kindle Fire Android Development] backspacepc:
Used jackpotclavin's device tree from his github, and pulled the os from github.com/cyanogenmod/android.git source.
[Kindle Fire Android Development] Hashcode:
And then you flashed the kernel seperately after?

I'm not sure how well jackpot's device setup will work w/ the 3.0 kernel as it has a bunch of defines setup for the GB kernel in it, and it doesn't have the ICS audio source for the new kernel driver, it's still using the GB wrappered libs.

Here's the new local_manifest.xml for building w/ the 3.0 kernel:

https://github.com/KFire-Android/android_local_manifest/blob/ics-test/local_manifest.xml

And the device tree I'm using is (included in that manifest):

https://github.com/KFire-Android/device-amazon-otter/tree/ics-test
[Kindle Fire Android Development] backspacepc:
Now that you mention it, I never tested the audio. Yes flashed kernel separate, thanks for the device tree. That'll be a lot of help.
[Kindle Fire Android Development] drk.hd:
Hash:

I can't boot your testing CM9 build. :( All I get is a black screen flashing, and a bit of logcat output. I was able to boot into CWM to pull a last_kmsg, the pertinent info which is below.

Logcat - from when it actually catches - is here.

And the last_kmsg is here, with...

[ * 13.067321] Write Boot Partition 1

[ * 13.140716] bma250_shutdown

[ * 13.144409] summit_smb347 4-0006: summit_shutdown

[ * 13.149444] summit_smb347 4-0006: * * * * summit_fsm_stateTransform:state : suspend(0) -> shutdown(12) ; event : SHUTDOWN*

[ * 13.161041] ilitek_i2c_shutdown

[ * 13.164703] bq27541 1-0055: bq27541_shutdown

[ * 13.169311] <dss_mgr_disable> disabling 2lcd

[ * 13.177215] mmci-omap-hs mmci-omap-hs.1: shutting down mmc

[ * 14.190826] Restarting system with command '0'.

[ * 14.195556] Device is rebooting thanks to Phonix...*
​

I'm stuck, any suggestions?
[Kindle Fire Android Development] Hashcode:
There is a known issue with installing from CWRecovery at the moment. Right now TWRP has more success.

That being said, I have some more work to do, to make this a more testable build. So maybe hold off.
[Kindle Fire Android Development] BrooksBlood:
Hashcode, here is a pastebin containing my logcat that I ran while using the new rom. Idk if it is just me but I can confirm the charger is working, I saw it go from 67% to 72% while I was running this logcat. Hope this helps you out, I turned the screen on and off multiple times, as well as attempted to watch HD videos on YouTube so it would record on the log cat. Here ya go

http://pastebin.com/ZiCtnTfE
[Kindle Fire Android Development] Hashcode:
Yep. The error we're currently seeing on YouTube is the hardware codecs (via the ducati processor) trying to kick in with mismatching memory allocations. I sort of put in a hack to get the ducati to load. I also had a few new ideas of how to get it loaded without the hack, and I'm going to work on that once the backlight issue is fixed.

Thanks for the log!

I noticed you had a lot of "writing stack traces to .." in there which I dont normally see. I'll have to start watching for that more.
[Kindle Fire Android Development] erikiksaz:
Please let us know if you need any more logcats.
[Kindle Fire Android Development] backspacepc:
I noticed the mismatch as well, I hadn't had a chance to run a logcat to post, managed to erase it somehow. I don't have the "writing stack traces to.." and honestly, I'm not quite sure what that means.
[Kindle Fire Android Development] ammubarak:
Hashcode

Thanks for great work. I just want to highlight I managed to install current ROM after I changed the recovery partition to the latest TWRP version 2.1 from CWM.

I will let you know of any bug beside YouTube issue that you have already highlighted.
[Kindle Fire Android Development] Felnarion:
Interesting, is there anyone who has successfully gotten it to install, boot up, and have the screen work at all on anything other than TWRP 2.1 or TWRP 2.0?
[Kindle Fire Android Development] ZyxxeZ:
It didn't work for me on TWRP 2.0 so it's not recovery specific problem
[Kindle Fire Android Development] BrooksBlood:
Not sure if this has anything to do with it but I collected that log using the app alogcat because I like the text being color coded etc just makes it easy to read really quick, so maybe that's why it says the "writing stack traces to..." but I could be wrong haha. I'll record a log the old fashioned way using adb and see if that pops up in there at all. I'll post the log cat when I finish work and get home.

Edit: just did a logcat at work, haven't had a lot of time to scan through it since I'm supposed to be working on a project for my VP but I've gotten through about 150 lines without seeing a "writing stack traces to..." so I think it had to do with using the alogcat app. I'll post my log at when I get home.
[Kindle Fire Android Development] isaiahhhhh:
Ok I have an idea, I skimmed this thread because i'm in a rush so if this has already been done to this degree I apologize for the repeat. It seems that we're all posting logcats for Hashcode to look at but we're not treating this like a proper experiment (i.e. controlled and uncontrolled subjects) I would suggest that several of us, some who have issues where the rom does not work and some with the the rom working to the degree where we can actually use our Kindle Fires in some form, do a full adb wipe down so we basically have an expensive flash drive and then start fresh with both new installs of twrp, clockworkmod via fastboot and KFU. This issue seems to have a common variable so if we get Hashcode thee logcats of different devices under very specific conditions I would think the issue might present itself better, once again if this has already been suggested I apologize, i'm taking my five minute break from studying and thought i'd throw my two cents in.

-Isaiah
[Kindle Fire Android Development] soupmagnet:
By "didn't work" do you mean "didn't boot" or "screen didn't come on"? From my experience, recovery was only causing boot failures.

On a completely separate note, I'm having trouble getting the rom to build for some reason.

I keep getting "/frameworks/base/data/sounds/...whatever.mk: No such file or directory

I've synced the repo several times. And I checked github @KFire-Android/android_frameworks_base to see if the aforementioned files were there and they aren't.

Am I missing something? I'm sure it's something stupid. I'll try again to see where I might have screwed up.
[Kindle Fire Android Development] Shermanballz:
I installed #6 to try it out and, sure enough, I had striping after I let it sit in standby for a while BUT:

I chose reboot and noticed the striping persisted during the firefirefire screen. Then TWRP came up and the striping was there too! And TWRP of course is always a little flickery, but this time it was more so. Significantly more so. I factory reset and restored my reloaded 1.2 and the striping slowly faded to normal during the process. The flickering subsided too.

Hope this helps narrow the issue a bit
[Kindle Fire Android Development] moriz1:
Judging by the screenshots, it's probably a timing issue for the LCD. Maybe the refresh is set too high. The other possibility is that the GPU is clocked too high and is artifacting, which explains why the artifacts persists into reboot. However, it doesn't look like unstable GPU.
[Kindle Fire Android Development] masterchop:
USB/Battery Charging

I just tested out with Battery widget and it seems to be that the power cord charging works 10x better than USB.

USB cord shows 100+/- mA

Power Cord shows 1000+/- mA

So keep using wall charger cuz it works much better to charge the device and it SD mount doesnt work trow your USB cable to the trash CAN :D
[Kindle Fire Android Development] backspacepc:
No issues here, refresh intervals are off
[Kindle Fire Android Development] masterchop:
UI crashes

For the UI crashes.

There are 2 possible reasons:

-installing GAPPS before the 1st boot

-using TWRP 2.1

Ill post update after testing.
[Kindle Fire Android Development] Damedus:
Getting flickering on build 6 ,was fine on 4 with 1200 clock, is it possible to get a #6 kernel at 1200 to test flicker issues ?
[Kindle Fire Android Development] Jaimemex:
No screen issues? Only the top half of my screen was effected :(
[Kindle Fire Android Development] NRGZ28:
Ask stupid questions in this thread again and you will be gone. Thank you...
[Kindle Fire Android Development] asimons81:
I'm a relative newcomer to the KF scene and I just wanted to say you're doing an amazing job with the development of this Kernel. I'm really glad I waited until just recently to get my Fire -- it looks like I had perfect timing. Keep up the good work!
[Kindle Fire Android Development] alan110112:
@jaimemex: same issue as me with #6 kernel: stripes on top half screen, in os, firefirefire and twrp. Flashing the old 2.X kernel and rebooting the device solve this issue, but obiouvsly lose all hashcode improvement.

I had some scare about the fixed stripes on the lcd, I tought for an hardware problem due to the presence also on twrp and fff...
[Kindle Fire Android Development] mughalgxt:
Congrats to the developer for achieving the milestone (HW codecs) would have donated if had a job:o! all's perfect except for the intermittent issue of stubborn black screen when switching the tab on and return from sleep mode!need to press power button multiple times.

EDITED:(next day) -> tab display fails to stay lit beyond the initial yellow fire sign! power button led is glowing green and when connected to computer lits orange but screen is black(backlight not working)!:confused:

Edited: using the new kernel #7 with hashcode's test ROM all display related issues resolved! keep up!
[Kindle Fire Android Development] freefaling:
I did and it feels like it's stuttering. MX w/ S/W seems better than Dice w/ H/W :confused:

Or at least that's what happened w/ the file I played.
[Kindle Fire Android Development] BluPix:
Fantastic work, USB OTG is working. Thanks. DSLR Controller + Kindle Fire with ICS and this kernel is ultimate photographer tool.
[Kindle Fire Android Development] intersectRaven:
Did you turn it off using the 10-20 second press of the power button? Software controlled shutdown doesn't work properly yet so that may be the problem. :)
[Kindle Fire Android Development] mughalgxt:
As i said, the tab was swiched off all night and when turned on it ran the fire sign (boot screen) and cyanogen mod 9 animation before homescreen. lets hear from other users experiencing this issue, if i ain't alone.
[Kindle Fire Android Development] fr4nk1yn:
Same here. Sometimes it takes one press, sometimes 2-3 presses to wake the screen.

After some use I believe the stripping goes away quicker than before on 6.

Would logcat possibly catch the screen on issue?
[Kindle Fire Android Development] masterchop:
:confused: It seems that sometimes the mA just drops so you have to unplug it and plug it until you get a decent mA so you can charge it.

I plug it yesterday AC at 200+mA and it was not charged this morning.

we need charging speed more than usb mass storage.
[Kindle Fire Android Development] intersectRaven:
Can you post a dmesg and logcat? I'm concerned about the screen wake-up issue. This shouldn't be happening as hashcode has already restored the previous method for initializing the different displays. :confused:
[Kindle Fire Android Development] pbailey212:
According to better battery stats audioout_1 caused 2166 partial wakelocks overnight. I bet that has something to do with the stand by battery drain and the audio issues people are having
[Kindle Fire Android Development] fr4nk1yn:
have to reboot for logcat. it's taking a longtime to write to a file.

here's the dmesg. I'm no dev but it looks like hotplug is on. didn't that case screen on issues?

ran logcat -c command and am waiting on the issue. log at is filling with wpa supplicant survey data missing.

log at added.
[Kindle Fire Android Development] Krunk_Kracker:
Hashcode, it seems mac addresses are had coded. Everyone has the same MAC address.

Here's the mac address everyone is reporting: 00:d2:8b:43:9f:fd

Example:
[Kindle Fire Android Development] fr4nk1yn:
I have the same wifi mac address.
[Kindle Fire Android Development] intersectRaven:
No, I'm seeing the hotplug events as well and I have no screen issue. I'm guessing it has something to do with the LG screen you have and the new panel driver. I'll try to re-examine that once I finish with my current focus on WiFi power enabling/disabling. :)
[Kindle Fire Android Development] fr4nk1yn:
a bit more info. after manually shutting the screen off it resumes with one press.

when the screen times out it will need multiple presses each time I've tried since trying to replicate the issue.
[Kindle Fire Android Development] intersectRaven:
Ok...now that's odd...they should have the same initialization paths... :confused:
[Kindle Fire Android Development] Demetris:
Anyone care to test gpu performance and report back Mpixels/s:xxx

You must be on ICS to run this.

On my Vibrant i get Mpixels/s:0.9421507

GPU is the same as kindle just runs at 200MHZ

http://www.ziilabs.com/downloads/MandelMark_1.12.zip

Info about this benchmark can be found here:

http://www.ziilabs.com/products/software/mandelmark.php
[Kindle Fire Android Development] vbdss:
The last thing important is the GPU performance, use the User thread for it.
[Kindle Fire Android Development] ma.da.ladla:
are u kidding that usb otg is working did u connect usb flash drive with it and played some media

Sent From my Kindle Fire

Setup:Details are Below

Cm7 Barebones+Raven's Kernel

Minimum:300 Higher 1200mhz

Go launcher Ex With MIUI Theme

Games:MC3,Fifa 2012,Real Racing 2,Stick Cricket,Gangster Rio....

Apps:Mx Video Player,JetVid,Titanium Backup,Opera Mobile,Dolphin HD,Adobe Reader
[Kindle Fire Android Development] shobon:
I used a wall charger on kernel 5.2, rebooted, and now my Kindle won't turn on. Did I brick my tablet ;_;?
[Kindle Fire Android Development] fr4nk1yn:
Don't know if this has been mentioned. AC charging does works long as the screen is on.

I'll assume USB charging is the same but that keeps the screen active(?).
[Kindle Fire Android Development] pbailey212:
After doing some research audioout_1 is caused by touch sounds and unlock sounds. If you turn those off in the sound settings it will get rid of most of the partial wakelocks while in deep sleep. It seems to be a common problem. I haven't found a "fix" for it yet, but turning them off will do the trick for now
[Kindle Fire Android Development] asatnik11:
Whistlestop's cm7 build had the same Mac address issue until he fixed it somehow. Maybe he can help. If memory serves me, an explanation of the fix is contained in his thread.
[Kindle Fire Android Development] TheKid2:
Restore original MAC Address, for people with multiple kindles using mac address filtering.

http://xdaforums.com/showpost.php?p=25130845&postcount=458

Hope I have this right. If someone could verify this. I will edit and or remove post if there are any problems.

Thanks to everyone
[Kindle Fire Android Development] Jaimemex:
So this should fix the screen problems 2?
[Kindle Fire Android Development] pbailey212:
No. I still have the striping. But it does seem to help the battery. I haven't had enough time to fully test. I'm going to leave my fire unplugged all day while I work and we will see if it makes a difference on battery discharge while sleeping
[Kindle Fire Android Development] leoinj:
Flashed kernel 6 on my MIUI 2.3.30 KF. It boots but many bugs currently.

-No Boot Animation

-Power Button does not respond to button press. LEDs ok but pressing button will not sleep/wake. Long press to shutdown does work.

-No Sound

-No WiFi

-Internal storage does not mount as SD
[Kindle Fire Android Development] vbdss:
Its because MIUI isnt ready for this New kernel
[Kindle Fire Android Development] icemank121:
For the kernel to work you also need to build the ROM with the matching device tree so you have all of the correct drivers.
[Kindle Fire Android Development] simonbove:
New bug, I think..

When I turned on my kf after deep sleep there were suddenly a red line across the screen..

It's a bit like ghosting, because it doesn't show up on screenshots and the last 5 minutes it has faded a bit.

I'm going to try one of the earlier builds of the kernel to see if it will disappear...

Here are the picture of it..

What do you guys think? Just ghosting? Or maybe not even a kernel issue?

EDIT: I think it were some kind of ghosting, because after I wrote this it was gone again..

Sorry for my post about, apparently, nothing...

Sendt fra min HTC One X med Tapatalk2
[Kindle Fire Android Development] namuk:
:( I'm still facing the screen banding problem. It doesn't always happen, but sometimes it does. The second build 3.0 kernel works perfect for me except the wifi. ;)
[Kindle Fire Android Development] smirkis:
I've been using #6 for just over a day now. battery life is decent, I let it sit for like 6-8 hours untouched and came back to the banding issue. rebooted, wiped cache/dalvik and it remained for a while. left it and eventually it went away.vv
[Kindle Fire Android Development] Jaimemex:
For good?
[Kindle Fire Android Development] fox_dye:
For me the color banding is there when I wake it up and after a few minutes of use it goes away. It's not really that much of an issue. Also after turning off touch and unlock sounds my battery isn't draining.
[Kindle Fire Android Development] smirkis:
I turned off those sounds and I still hear them?

the banding isn't too bothersome, just weird how it sticks around even after rebooting n what not lol
[Kindle Fire Android Development] donsam:
volume

Why is the Volume so low ?
[Kindle Fire Android Development] Jaimemex:
So I shouldn't charge my kindle with a outlet? What will happened if I do?
[Kindle Fire Android Development] mattweed9:
I am on the latest kernel and wall charger is working. just watched it go from 66% to 67% while typing this.
[Kindle Fire Android Development] Jaimemex:
But will I damage it if I charge by outlet? Has anyone else had issues?
[Kindle Fire Android Development] lovejoy777:
no if it charges for you, luky you,:-)

mine works on wall charger but not on usb charge.

some people seem to have one or the other?
[Kindle Fire Android Development] lovejoy777:
? mine seems fine
[Kindle Fire Android Development] djkeller3:
I'm using the wall charger to charge mine right now and having NO issues whatsoever; except that the battery indicator is not showing charge, but if I look in settings, I see it is charging at the normal rate. :)

ROM: CM9 ReloadedROM v1.2H

Kernel: Hashcode 3.0.21+

Overclock: 1.0 GHz Max, 1.0 GHz Min. Performance

Launcher: Apex
[Kindle Fire Android Development] seishuku:
usb host seems to be working! I'm typing this on a usb keyboard right now!

Hash, I don't know if you did anything in build 6 with it, but it's working much better with my "Y" cable now.

All I had to do is build some USB modules, and boom... it works!

Edit-

USB mouse works too, but my hi speed flash drives complain about needing too much power.

Edit 2-

Youtube video

http://www.youtube.com/watch?v=TRzHyEkdeWo
[Kindle Fire Android Development] jmcoffey:
What did you do to get it to work? Is it anything you can post???
[Kindle Fire Android Development] seishuku:
Just built the kernel modules and plugged in the device.

Also, the fire seems to be able to provide power on its own, just not much... enough for a keyboard and mouse (USB 1.x?), but not hi speed USB 2 devices.

Needs more testing for sure, and a powered USB 2 hub. Lol
[Kindle Fire Android Development] jmcoffey:
How do you do that exactly? :P lol. I would like to have this working by Monday to take notes in school.
[Kindle Fire Android Development] Stevethegreat:
What about usb 2.0 sticks. Do they revert to 1.1 speeds or they simply don't work w/t a powered hub ('cause that would s*ck a little).
[Kindle Fire Android Development] foxdog66:
Your Y cable isn't any kinda special adapter? I bought some otg adaptors to use on my nexus and mounting external storage requires an app. I've also read that people who have built their own otg adaptors, it would only work with one thing at a time.
[Kindle Fire Android Development] seishuku:
No, nothing special about it, it's actually a modified Moto zoom cable.

Here are some modules, just unzip them to your /system/lib/modules directory

http://www.mediafire.com/?s5erspykc78hx1x

I've tested keyboard and mouse (at least a wireless mouse), haven't tested the USB serial adapter yet and forgot to build a bluetooth driver (do'h!)
[Kindle Fire Android Development] Krunk_Kracker:
No Bluetooth chip on the Fire.
[Kindle Fire Android Development] seishuku:
USB bluetooth, I know the kindle doesn't have one.

Here are those modules:

http://www.mediafire.com/?f2cm9nbwpms5noz
[Kindle Fire Android Development] jmcoffey:
I did that and still can't get my keyboard to work.
[Kindle Fire Android Development] foxdog66:
Permissions need to be set and isn't their a file that needs edited to load the modules on boot? In the ramdisk or something?
[Kindle Fire Android Development] seishuku:
I'm just using a terminal emulator and running insmod myself, shouldn't be too hard to change some boot script to load them on startup.
[Kindle Fire Android Development] jmcoffey:
How would I do it with terminal emulator?
[Kindle Fire Android Development] Damedus:
would these work? http://www.dealextreme.com/p/micro-usb-on-the-go-host-otg-adapter-pair-50774

and what about this reader? http://www.dealextreme.com/p/otg-card-reader-for-samsung-galaxy-i9100-i9220-126457?item=6
[Kindle Fire Android Development] pbailey212:
*cough* thread hijacked *cough*
[Kindle Fire Android Development] seishuku:
My USB serial port adapter works!

That's the signature for my car's megasquirt efi controller.

My USB Bluetooth adapter doesn't seem to work though, it fails trying to read the descriptor.
[Kindle Fire Android Development] foxdog66:
Think I'm getting ahead of myself lol. Not sure my otg cable will even work

with this, I'm not having very good luck anyway. I could very well be doing to wrong.

Painfully lol

Not really considering the modules would be useless without the kernel (from what I understand)
[Kindle Fire Android Development] fr4nk1yn:
There's an app for that?!?
[Kindle Fire Android Development] shahabk818:
Please help:(:(

So I'm using kernel 3.0 not I got this weird problem that when I leave my Kindle for a while and then I come back to use it the display colors become so messy, I doesn't happened when the Kindle is pluged to usb (charging) when I screen shot it, it looks normal so I took some pictures with my phone, I know this kernel is under developing, but I'm afraid that it might damage the hardware! So anybody else got this problem? what should I do? It fades away after 3-4 mins using the Kindle, but I'm just a little scared:confused:

These are the pictures I took:

look at upper half of the screen

http://www.up.vatandownload.com/images/iqc812e7g7ka4gwmigp.jpg

http://www.up.vatandownload.com/images/0k8qgbo0ruib8jujpaq.jpg
[Kindle Fire Android Development] 50CalPotato:
You haven't even bothered looking at the thread... Seriously, this is just being insulting.
[Kindle Fire Android Development] blatadude:
Sorry if I'm asking a total noob question, but where is the rom for this kernel?

EDIT- nevermind I'm a noob found a rom. First on the list! (Insert noob joke here)