yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] housecat93:
Thanks, quick question if you've got the time!

Hey XB 56

I'm a sgh-t989 user and I'd like to know how much of an effort it would take to make this available to the t989 as well.

You'd be reaching a really broad audience if you did, and a lot of thanks buttons would go up / donations would go your way. We raised raise HELLA donations for new developers ;)

As far as I know we mostly have the same internals, except the orientation sensor is mounted at a diff angle in the phone, and we have a different baseband processor.

Just for your consideration :D

Thanks Dude!!

Also, do you go to Charles Wright? A ton of my friends go that school and since you're really smart I wouldn't be surprised!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] xboarder56:
nope public high school :D
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] housecat93:
Damn dude!

Congratulations on being an absolute baller!!!

Who got you into all this? Is your dad an engineer or something?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] CXENTE:
WOW!!!! Looks promising :-) keep up the great work!!! +1
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] riceninja:
how is it that one man can beat the entire at&t/rogers software department?

astounding
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] nthknd:
and be half there age and go to school fulltime(I'm assuming )and still do a better job.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] :
Its because he doesnt have to deal with the politics of the industry. No board meetings, or concept designs. Lol
[Kindle Fire Android Development] Hashcode:
[ 02/09/2012: Screen Flicker / Brightness is an issue. I'll be looking at it. ]

Hi guys,

In an attempt to help further kernel development for the Kindle Fire, I'd like to share my stock defconfig. It's a bit different than the original otter_android_defconfig that g1011999 came up with.

I was never able to get a usable kernel. So I took some time and built up mine.

https://github.com/KFire-Android/kernel_omap/blob/stock/arch/arm/configs/otter_android_defconfig

This kernel builds using the preferred TI compiler used in all of their walk-thrus: CodeSourcery 2010-q1

Moving forward into CM9/ICS, some changes need to happen to the kernel over time. The migration kernel is found in a branch: "L27.13.1-ICS". The END result of this will be a kernel / source that fully support hw codecs for ICS.

[02/08/2012] FLASH ZIP FOR THOSE RUNNING NIND'S BUILDS: http://bit.ly/xYOf0V

The following ROM is built from the sources at GitHub under the KFire-Android org. Many of those files and configurations are the result of countless hours of development by JackpotClavin. I don't want there to be any confusion as to who put in a ton of time getting this to work.

[02/09/2012] FULL ROM INSTALL: http://bit.ly/ygVvQB

Changelog:

- Screen flicker IS an issue right now. Digging into it

- Touchscreen "Slop" set to 16. This should help touches register on the touchscreen.

- Working Data usage stats (xt_qtaguid / xt_quota2 kernel modules)

- TUN, CIFS support

- USB mounting fixes
[Kindle Fire Android Development] nind:
Thanks Hashcode, currently building a latest ICS version of it.

A little note for those who also want to compile: arm-eabi-4.4.3 and arm-eabi-4.4.0 did not work for me, they ended the compile without any errormessage in the middle of nowhere, arm-eabi-4.3.1 did the job. Took me some time to figure that out ...
[Kindle Fire Android Development] Hashcode:
If you want to follow a very good step by step guide for setting this up the same way TI (the CPU maker) intended, then follow this:

http://www.omappedia.com/wiki/PandaBoard_L27.12.1-P2_Release_Notes#Setting_up_build_environment

Obviously, that's for PandaBoard, but the Toolchain source and setup are very good.
[Kindle Fire Android Development] foxdog66:
It goes into deep sleep for me and turning off the stay awake option in settings, developer options, the screen goes off like its supposed to.
[Kindle Fire Android Development] death2all110:
So does this boot cm7 or anything? My kernel builds boot stock kindle but not cm7

Its something to do with netd/dnsproxyd. Just finding a fix that works is a PITA common issue, but then people dont say how they fixed it..
[Kindle Fire Android Development] Hashcode:
Right now ive only tested this with CM9
[Kindle Fire Android Development] jabdo79:
touch points

Any chance you're looking into enabling more than 2 touch points in this kernel? :D
[Kindle Fire Android Development] namurt:
I'm running nind/sitic's cm9-02-04 build with this kernel baked in. I, too, have Stay Awake disabled in Developer Options, and my Kindle is going into deep sleep. I am experiencing the power down issue, though.

It's something I'm absolutely willing to live with for the time being. This is good stuff. Thanks Hashcode!
[Kindle Fire Android Development] Hashcode:
Thats really the future of this kernel. I needed a solid base to start from.
[Kindle Fire Android Development] death2all110:
Well reason I asked was because my kernel wont boot cm7 or cm9. It boots the stock kindle fire os okay. Im getting netd/dnsproxyd errors in the kernel when I try booting cm7.
[Kindle Fire Android Development] Hashcode:
Right now the difference between this kernel and stock is:

- About 8 ip6 netfilter modules were added

And that's about it.
[Kindle Fire Android Development] wdfowty:
Are you using the stock ramdisk or the modified ramdisk for cm? I know there must be a difference, as intersectRaven puts out several different variations of his kernel in boot.img form, but I haven't gotten around to diffing them yet
[Kindle Fire Android Development] death2all110:
ill look into insectraven's cm kernel thanks!

Edit: That worked! Thanks!

he starts the dnsproxyd differently than what I've seen. But it works!
[Kindle Fire Android Development] foxdog66:
So I noticed that /mnt/ is mounted read-only which causes issues with apps installing to the sdcard and probably the issue people are having with mounting the sdcard to the computer. Some apps insist on installing to the sdcard (I hate that)

Edit: or do I have this all wrong? Lol I'm no dev :-P remounting it r/w gets the job done.
[Kindle Fire Android Development] foxdog66:
Is there any websites or anything that you guys would recommend to learn about the Linux kernel and development of it?
[Kindle Fire Android Development] Hashcode:
Tonight, I went back through and cleaned up my config some more. Removed extra power controls, usb mtp settings and omap mmc host controller (for sd card slot boards).

From my tests, everything deep sleeps correctly and the power off issue is fixed.

https://github.com/KFire-Android/kernel_omap
[Kindle Fire Android Development] foxdog66:
will you be posting a installable zip or boot.img? I'm running nind's cm9-02-05 build which has this kernel and its by far the most stable for me. I would like to update without waiting for someone to include it in a rom please :-)
[Kindle Fire Android Development] Hashcode:
I'll see what I can do. boot.img would be ok?
[Kindle Fire Android Development] foxdog66:
Yeah that's cool.
[Kindle Fire Android Development] Hashcode:
Here's an updated boot.img for nind's 2/5 build:

[ UPDATED OP W/ FLASH.ZIP FILE ]
[Kindle Fire Android Development] neilrl79:
Sorry if I'm being a pain in the ass but could someone make a flashable .zip? I would appreciate it and i'd imagine others might as well.
[Kindle Fire Android Development] Sblood86:
Any help compiling Wifi

Alright so it took me quite awhile to figure out how to get this far and clearly I'm making a wrong turn somewhere, I'm just going to run through my commands/syntax and see if y'all can help :D

PATH=$HOME/Android/toolchain/CodeSourcery/Sourcery_G++_Lite/bin:$PATH
export PATH
ARCH=arm CROSS_COMPILE=arm-none-eabi- make distclean
ARCH=arm CROSS_COMPILE=arm-none-eabi- make otter_android_defconfig
ARCH=arm CROSS_COMPILE=arm-none-eabi- make -j4

The kernel compiles just fine but I have issues w/ wifi, been doing the following (out of laziness I actually wrote it as a script hoping it would work than I would never have to type it again lol):

WLAN=$HOME/Android/src/CM7/system/wlan/ti/sta_dk_4_0_4_32
cd $WLAN
export KERNEL_DIR=$HOME/Android/src/Kernels/omap_kernel
ARCH=arm CROSS_COMPILE=arm-none-eabi- make clean
ARCH=arm CROSS_COMPILE=arm-none-eabi- make TNETW=1150

It acts like it's going to work, but than I get the following error

/home/<username>/Android/src/CM7/system/wlan/ti/sta_dk_4_0_4_32/./pform/linux/src/esta_drv.c: In function 'tiwlan_sdio_probe':
/home/<username>/Android/src/CM7/system/wlan/ti/sta_dk_4_0_4_32/./pform/linux/src/esta_drv.c:1909: error: implicit declaration of function 'MSM_GPIO_TO_INT'
make[2]: *** [/home/<username>/Android/src/CM7/system/wlan/ti/sta_dk_4_0_4_32/./pform/linux/src/esta_drv.o] Error 1
make[1]: *** [_module_/home/<username>/Android/src/CM7/system/wlan/ti/sta_dk_4_0_4_32] Error 2
make[1]: Leaving directory `/home/<username>/Android/src/Kernels/omap_kernel'
make: *** [libestadrv.a] Error 2

Yes I am compiling for CM7 but I get the same errors if I try to use the stock 6.2.2 source tree as well.
[Kindle Fire Android Development] Hashcode:
I don't think that's how the wifi modules are supposed to be made. And to be honest, I use the stock modules with the only issue being that if I let the tablet deep sleep, it'll disconnect the wireless but leave it showing "active" in Android. I'm looking for a better fix.

To make the wireless modules, grab the "wlan" folder in the source for 6.2.2 or download an appropriate version of: git://git.omapzoom.org/platform/hardware/ti/wlan.git (branch "gingerbread") and place it into your build filesystem:

(This is how my filesystem is setup):

~/amazon-otter/kernel

~/amazon-otter/wlan (from the Amazon Kindle sources or from TI OMAPZOOM)

~/amazon-otter/build_tools/arm-2010q1/bin (This is CodeSourcery 2010q1-202. This could be a symlink to 1 "build_tools" dir kept outside of each device you work on)

~/amazon-otter/mydroid/ (this is the root of the android build files)

I start in "amazon-otter" and run the following commands:

export YOUR_PATH=`pwd`

export MYDROID=$YOUR_PATH/mydroid

export PATH=$PATH:$YOUR_PATH/build_tools/arm-2010q1/bin

export JAVA_HOME=/usr/lib/jvm/java-6-sun

export CROSS_COMPILE=arm-none-linux-gnueabi-

export KERNEL_DIR=$YOUR_PATH/kernel

cd $YOUR_PATH/kernel

make ARCH=arm distclean

make ARCH=arm otter_android_defconfig

make -j8 ARCH=arm uImage

make ARCH=arm modules

Now, to build the wlan modules do this:

cd $YOUR_PATH/wlan/wl1283/platforms/os/linux

make clean

make TNETW=1273

(NOTE: I'm not 100% sure that the TNETW=1273 build would be compatible with our 1270 chip. But I had issues getting the modules to compile from the "1271" folders in wlan.)

On a side note, what kind of wireless issues are you having?
[Kindle Fire Android Development] Sblood86:
That's what I get for following the TI walk through (or at least I thought I did, for the most part. Some deviation as I had originally installed the code sourcery toolchain in a different location for other builds). At any rate I would have thought when I tried that with the stock wlan it would have resulted in something different... I have my directory structures setup differently but that's probably cause I'm a bit nuts anyway thanks for the info I'll have another go at this tomorrow.

No actual wifi issues with running anything soo much as I meant I was having issues compiling the wifi modules lol... (again I'm nuts it may not be something I need to do it's more just something I want to do)
[Kindle Fire Android Development] Hashcode:
Updated the OP w/ a flash.zip file to put this over your CM9 build.

It includes the CM9 ramdisk and kernel modules for net usage and TUN support.
[Kindle Fire Android Development] foxdog66:
Not only works, it fixes installing apps to the sdcard (and the error) and it looks like the permissions on the sdcard isn't all screwed up anymore :D
[Kindle Fire Android Development] Hashcode:
Thanks for the feedback!

if i get some time I'm going to experiment with bluetooth..
[Kindle Fire Android Development] foxdog66:
Could you pleeeeeease add init.d support? :D and did I read somewhere that you had successfully added more touch points, is that correct? Is that a kernel thing? I'd love to try it!
[Kindle Fire Android Development] Hashcode:
i did experiment with more touch points.. but i could never get more than 2 to register at a given time.

need new firmware i think.

i can look into init.d
[Kindle Fire Android Development] sduvick:
Hashcode: to add init.d support, add this to init.omap443.rc:

/system/xbin/busybox run-parts /system/etc/init.d
[Kindle Fire Android Development] voltageek:
Finally, I was using the cm9-02-05.zip by mind.

After doing factory-reset and flashing this, I can confirm:

USB Mounting works as it should

I no longer get the "Couldn't install to usb storage" error when install apps

ADB works as well

I'll add any other notes & observations as they come up
[Kindle Fire Android Development] dnd61:
Get off if you can't enable hw video decoder
[Kindle Fire Android Development] Segnale007:
are you joking or what??
[Kindle Fire Android Development] dcaplinger76:
I see "touch slop set" in the changeover. does this fix the touch sensitivity?

Just curious, thanks.
[Kindle Fire Android Development] adam900710:
Same problem.But can be solved using the wlan source from Amazon.

Neither source codes from omapzoom or CM works due to missing functions in kernel.

That's all...

Also takes sometime to test.
[Kindle Fire Android Development] kjwalker:
You are straight up scum. You don't deserve to use these forums.
[Kindle Fire Android Development] Buffet_of_Lies:
refresh rate flickering video?

I just flashed this and everything appears to be working properly, except the screen has some subtle flickering, similar to the flicker I usually see in TWRP. Is there something wrong with the refresh rate on this build? Does anybody else have this symptom? :confused:

I'm also noticing that the backlight doesn't turn off when the screen goes into sleep mode.
[Kindle Fire Android Development] animefun135:
hw video decoder is a very important part of this rom, there is some process of correcting it?
[Kindle Fire Android Development] Buffet_of_Lies:
Every time someone asks that question God kills a kitten.
[Kindle Fire Android Development] mysteryguy:
screen has some subtle flickering

I agree with yoi
[Kindle Fire Android Development] animefun135:
+1

and brightness control does not work at all.
[Kindle Fire Android Development] cruel91:
Same with me :(
[Kindle Fire Android Development] dnd61:
Sorry guys, i don't type that, there are some one stolen my account. I just got it now.
[Kindle Fire Android Development] KAdot:
screen is flickering for me too :(
[Kindle Fire Android Development] Segnale007:
same here along with brightness control not working. Also I have noticed sometimes when the display goes to sleep the screen goes dark but the backlight doesn't shut down... Just sometimes ..
[Kindle Fire Android Development] jwilliamf:
Hashcode,

After using this app (Touchscreenbooster), my kindle seem to response better to touch.

I wonder if anything can be taking from it to help the KF touchscreen.
[Kindle Fire Android Development] csholmq:
Fixes screen flicker and screen dimmer. My KF also goes to sleep properly. Even with USB connected.
[Kindle Fire Android Development] Hashcode:
Yep. I was compiling as a hdpi device and jackpots/ninds is set for mdpi. Ill test it later.
[Kindle Fire Android Development] dnd61:
What's difference from hdpi and mdpi?
[Kindle Fire Android Development] csholmq:
It's two different segments for device display density.

Google Android screen size and pixel density segments.

According to http://www.tabletreaderinfo.com, the KF has 151 dpi. Landing it right in the middle of MDPI.
[Kindle Fire Android Development] sduvick:
hey Hashcode,

Tried out your latest kernel on my non-flickering and then on my flickering build, it's not affected, so the issue must be outside the kernel&ramdisk somewhere... (flashed the 2-8 boot.img from the OP).

I think it's in your omap4xxx repo, but I'm not sure. cloned the aosp repo for omap4xxx, I'm rebuilding now.

EDIT: talked with you, you were right. ignore me.
[Kindle Fire Android Development] Hashcode:
What a perfect explanation.

I'll have a new ICS kernel + build out in a day or so with some more changes.

I updated the PVR driver and I'm going to try and backport the tiler/dmm/ion stuff. That would be exactly 50% of what I need to get hw codecs running.

And since so many are having USB issues between Windows and Linux, I can look at backporting the entire Android gadget for full adb and usb compatibility (I know some of you HATE mtp, but it may be the only way).
[Kindle Fire Android Development] icemank121:
Out of curiosity, how often are you merging the progress of the CM9 team into your port? There seems to be a lot of unfinished menus and CM9 specific items, so I was wondering how up-to-date the build we are using is compared to where CM9 is as of now.

Also for me the latest build 02/09 with Hashcode's kernel from the other thread, ADB and USB work great, both notifications work and all and ADB and USB both work great on Win7 x64.

The major bug I'm seeing is with WiFi turned on it sticks at 1008Mhz but it steps down properly with WiFi off. Makes battery life really bad.
[Kindle Fire Android Development] nind:
I think all should be fixed now, there only have been some persistent leftovers for which a full wipe was needed and adb drivers missing/not working correctly. That's why people still had problems.

CM9 is active under development so they always add some settings/placeholders for features yet to come. Check http://r.cyanogenmod.com/#q,branch:ics,n,z for recent/future CM changes.
[Kindle Fire Android Development] jwilliamf:
I'm using nind 02_09 with hashcode kernel and this build is perfect. I had a problem with adb but fixed by adding adb_usb.ini into the .android folder in my linux box. Now everything seem to work fine including sd mount/unmount. So far, since I installed the rom late last night, no SOD or freeze and touch is working smooth as a butter.

thank you hashcode and nind, really good job!!!
[Kindle Fire Android Development] randallu:
Flicker looks like its related to low refresh rate:

root@android:/ # cat /sys/devices/omapdss/display0/timings

46000,1024/160/150/10,600/12/20/3

46000 is low. The Nook color had something like this too (though those timings don't work for me...): http://www.mobileread.com/forums/showthread.php?t=115112
[Kindle Fire Android Development] vibrant808:
Hey sorry new here, do I flash both of those files to install? or one of them? Is one a kernel? Thanks
[Kindle Fire Android Development] lovejoy777:
hi

this one http://bit.ly/ygVvQB is the full rom & kernal just flash this and then flash gapps.

do a factory wipe fist

its awesome:-)
[Kindle Fire Android Development] astmario:
7" 1024x600 gives 169.55 dpi not 151 but in this case it does not change much:D
[Kindle Fire Android Development] Hashcode:
Some small updates as to the progress of the "ICS" kernel:

- Updated the PVR libs to 1.8 @ 785978 (Similar to what the GNex is running)

- Backported the matching Tiler / DMM modules for graphics allocations

- Working on the Ion driver as we speak. It's being tricky.

The progress is up on Github:

https://github.com/KFire-Android/kernel_omap/commits/L27.13.1-ICS

NOTE TO DEVS: The next build using this kernel requires updated graphics driver binaries, which I'll have posted once the Ion driver is working.
[Kindle Fire Android Development] csholmq:
Just saying...
[Kindle Fire Android Development] Hashcode:
Anyone have the timings for nind's build handy?
[Kindle Fire Android Development] jwilliamf:
this is what i get on mine using nind 02_09 with hashcode kernel:
[Kindle Fire Android Development] foxdog66:
The kernel support zRam?
[Kindle Fire Android Development] ST3P_2:
Is there an ETA for screen flickering fix? I love this ROM! Thank you so much for all your hard work!
[Kindle Fire Android Development] fox_dye:
Pro tip don't ask for etas you won't get them and it irritates the devs. Be patient and you will get it when it comes out. We all want a fix and the dev probably wants it more than any of us.

Flashed this earlier and it is killer. Thanks for the rom and all the work you put in to it.
[Kindle Fire Android Development] ST3P_2:
For some reason after I hit lock the screen goes black but the backlight stays on for about a minute afterward. You only notice the problem in a dark room. Does anyone else have this problem?
[Kindle Fire Android Development] Techlyfe:
I've noticed this, but my back-light seems to never go out. <shrugs> Work in progress and all that jazz, so I didn't bother to mention it. I've noticed it with Hashcodes Kernel and also with intersectraven's kernel.
[Kindle Fire Android Development] Moverf16:
I did a search but couldn't find anything. I flashed this rom, but the Amazon Appstore and Amazon Kindle App both force close before starting. Any idea what may be causing that?
[Kindle Fire Android Development] ammubarak:
Use the ROM at the following thread

http://xdaforums.com/showthread.php?p=20700175
[Kindle Fire Android Development] Jaimemex:
Is hashcode still working on this?
[Kindle Fire Android Development] Buffet_of_Lies:
He's probably concentrating on the 3.0 kernel at this point.
[Kindle Fire Android Development] Trafford Devil:
Hi all,

I just wanted to ask Hashcode now that he's gotten the fire officially merged into cyanogenmod, if he still plans on updating this ics/cm9 kernel?
[Kindle Fire Android Development] :
Honestly, I would love to see CM9 with all the new kernel updates that have occurred by hashcode in the last year... but thats probably just me.
[Asus  Eee Pad Transformer Prime] ayman07:
The new update to Google docs allows you to choose files to be available offline. It seems like its downloading them but I can't find where the files are located. I am guessing they are hidden or perhaps I'm overlooking them. Anyone have a clue? This could be the dropbox alternative I've been waiting for!
[Asus  Eee Pad Transformer Prime] sean is here.:
It worked for me, on my phone. In accounts and sync, I set docs to sync. It took about 30 minutes or so then they were there.

Try opening the Google Docs app.:D
[Asus  Eee Pad Transformer Prime] tdrussell:
I was curious about an actual location as well, as I still don't have a way to fully leverage my vast amount of Google docs storage as easily I can my dropbox storage. It seems the intention is for the files to be accessible within the app, or I didn't look hard enough.

TF201 | XDA Premium
[Asus  Eee Pad Transformer Prime] sean is here.:
Someone will correct me if I'm wrong, but I think it functions like gMusic does. The stuff online is 'cached'...meaning you don't actually DL the word.doc or the song.mp3 to your HD.
[Asus  Eee Pad Transformer Prime] ayman07:
That's what I am thinking too but that is BS! There has to be a way to see the files. I decided against rooting but maybe someone with root can 'download' one of their files and search for it in some hidden folders on their SD card? This is a bit ridiculous.
[Asus  Eee Pad Transformer Prime] arrrgh:
There's a fairly inconvenient way to get to the files, they are under the following path:

sdcard/Android/data/com.google.android.apps.docs/files/pinned_docs_files_do_not_edit

But unless you just want to grab a single file it's pretty useless since the offline files are stored 'cache' style, e.g. my test.pdf appears as content14489124142file