yashsingh1/xdaforums huggingface dataset:
[Kindle Fire Android Development] Hashcode:
06-28: KERNEL.ZIP #13 IS NOW READY HERE (FLASH IN RECOVERY): REMOVED TEMP

md5sum: a16c281fa3dbe0962c6dc2c03e6df5bc

Full ROM: http://bit.ly/NaD2vW

md5sum: d9dfe6f5f97eadbeaecc86d0314cb80e

- Mainline Linux 3.0.31 updates

- TI kernel 3.0.21 branch updates

- [ROM-Only] Now w/ "OtterParts where the touchscreen filter setting can be set (0 as default, but 30 is very usable) -- (Scott Brady)

- Built using Linaro toolchain

- Added KRAIT optimizations (not sure how effective yet) (twa_priv)

NOTE: I haven't adjusted the nightly server to use the 3.0.31 kernel OR Linaro yet. This is the only ROM link I've built with it in it.
[Kindle Fire Android Development] thepsman:
Just flashed the new kernel on the old Hashcode ICS, kindle fire didn't boot, it stopped at the blackscreen with backlight on right before the boot animation.

fixed my kindle by reflashing the old kernel.

thanks for your hard work.
[Kindle Fire Android Development] NMCBR600:
Just tried the new kernel and had the same issue. Reverted to the prior kernel.
[Kindle Fire Android Development] twa_priv:
Hey Hash,

Just curious - what linaro version are you using? I assume you only build the kernel using linaro and not all components (by setting TARGET_TOOLS_PREFIX to linaro), right?

Krait had the biggest impact on my builds benchmark-wise (both linaro and non-linaro). Antuntu jumped about 200 - 300 points.

Edit: The black screen is caused by netd restarting on boot (when TARGET_TOOLS_PREFIX is set to linaro).

It can be solved by replacing CM's android_external_jpeg with jpge-turbo:

<remove-project name="CyanogenMod/android_external_jpeg" />

<project path="external/jpeg" name="people/tomgall/libjpeg-turbo/libjpeg-turbo" remote="linaro" revision="android" />

Thx
[Kindle Fire Android Development] freefaling:
And I thought I was the only one. I flashed it over the SGT7 CM9 ROM by twa-priv, though.

EDIT: the new ROM works! no stuck-at-boot issues! Did a factory reset and flashed the new linaro ROM by Hashcode.
[Kindle Fire Android Development] milanche:
Same problem here, gedeROM 1.7. Hangs on boot screen, before boot animation.
[Kindle Fire Android Development] Hashcode:
Ah. So can't really run a kernel.zip install of this? Has to be the whole ROM? I'll do some more testing.

I'm running the whole ROM version and I never had the netd issue, that I know of.

On the whole ROM version, I was seeing 6500 antutu scores (up from about 5800).
[Kindle Fire Android Development] Hashcode:
REMOVED
[Kindle Fire Android Development] twa_priv:
Yeah, that's pretty much what I'm getting - scores between 6500 and 6600.
[Kindle Fire Android Development] RebelebeR:
I had the same problem so I downloaded the full rom and used adb to copy it to my fire and installed it.
[Kindle Fire Android Development] andTab:
Must have been a bad flash.

I don't know what it is but Hash's files give me endless problems while flashing (which I never had with any other ROM/Kernel on the Fire or any other device I have).

Flashing any of Hash's files is a real PITA as it usually takes 10+ tries f;ashing the file before the device boots properly and there are no issues (like with the settings).

To put it into perspective: I have no problems at all flashing the "Vanilla CM9" roms ... with Hash's I got 5 tries of bootloops, at least 8 tries of boot stopping/handing during an endless startup animation (left it for at least 30+ minutes) and probably 5+ tries of flashing with some error like the settings.

Based on some of the issues described in this thread, I would venture a guess that Hash's server introduces something that goes wonky on certain devices?

(I am on TWRP 2.1.1)
[Kindle Fire Android Development] Jaimemex:
Any Chance Jellybean coming to the kindle fire Hashcode?
[Kindle Fire Android Development] sthomas38:
Sources will be released mi July, and with this kernel it won't be a problem :).

Envoyé depuis mon GT-I9000 avec Tapatalk
[Kindle Fire Android Development] x0xhellx0x:
I know this is off topic but I like pie and kindle fire is like pie pie is easy to eat kindle fire is easy to fall inlo e with when you have this any devs working on it

Probly made no sense
[Kindle Fire Android Development] Jessical:
That made perfect sense, and I agree.

You like pie and you think it's easy to eat.

The Kindle is like pie because it's a great $199 tablet that can run the stock ROM, CM7, CM9, and soon Jelly Bean.

And because it's such a great tablet, you think any dev would love to work on it.

But this should go in the general discussion and not the development forum. :laugh:
[Kindle Fire Android Development] kenikh:
^ Actually makes perfect sense
[Kindle Fire Android Development] x0xhellx0x:
I agree just trying to lighten the mood
[Kindle Fire Android Development] Jaimemex:
Great news! =D
[Kindle Fire Android Development] incognico:
Charging LED not working on linaro full rom, though it charges.
[Kindle Fire Android Development] twa_priv:
Hey Hash,

I have a weird issue with Netflix: Netflix does not load thumbnail movie pictures when scrolling to the right for some reason.

The visible thumbnails are loaded properly on app startup but when scrolling a category to the right Netflix does not load thumbnail movie pictures for some weird reason I can't figure out. I don't see anything useful in logcat.

Interestingly the way to get it to work is to change this one line in build.prop:

ro.product.model=Galaxy Nexus

This happens not only on my own builds, it also happens on hashcode's latest build (that's why I'm posting it here). It's not related to linaro, same behaviour on linaro and non-linaro builds.

Thx
[Kindle Fire Android Development] Hashcode:
I really hate how more and more apps are wanting "Galaxy Nexus" etc. Its really stupid.

Also: Looks like ROMbot got beat up during some new GNex ROMs based off of Jelly Bean. So their upgrading the server and adding more bandwidth.

Links will be down for a bit.
[Kindle Fire Android Development] :
Works for me while screen is on... but like previous versions, no LED while screen off
[Kindle Fire Android Development] incognico:
Mirror: http://lifeisabug.com/android/cm9_linaro/otter/cm-9-20120628-UNOFFICIAL-otter-linaro-3.0.31.zip
[Kindle Fire Android Development] erronr:
Can you link me to or upload which kernel you flashed? I am currently having this issue right now. Hoping that might help.
[Kindle Fire Android Development] MayfairDROID:
Random bug, but I thought I'd post for Hash to take a look: the weather on the lock screen only shows Celsius, not farenheit even after use metric is unchecked...-
[Kindle Fire Android Development] ghost_og:
I just tried duplicating this and my lock screen is showing the both C° and F° correctly. I'm on the newest full from from Hashcode.
[Kindle Fire Android Development] thepsman:
Hi

I flashed the 8-6 kernel it is still up here

http:// dl.hash-of-codes.com/files/kfire-android/kfire-kernel-06-08.zip

Just flash it over the new one and you should be ok.

Good luck
[Kindle Fire Android Development] AproSamurai:
Tap the weather so it can manually refresh then, you should be good.
[Kindle Fire Android Development] BrooksBlood:
Im starting to get frustrated again lol i just came back to my computer after trying to sync the repo and this is what i see

ap4.13.1-Beta

* [new tag] android-3.0-4AI.1 -> android-3.0-4AI.1

* [new tag] android-3.0-4AI.2 -> android-3.0-4AI.2

* [new tag] android-3.0-4AI.2-rls -> android-3.0-4AI.2-rls

* [new tag] android-3.0-4AI.3 -> android-3.0-4AI.3

* [new tag] android-3.0-4AI.3-rls -> android-3.0-4AI.3-rls

* [new tag] android-3.0-4AI.4 -> android-3.0-4AI.4

* [new tag] android-3.0-4AI.5 -> android-3.0-4AI.5

* [new tag] android-3.1-5AI.1.7 -> android-3.1-5AI.1.7

* [new tag] android-3.1-5AI.1.8 -> android-3.1-5AI.1.8

* [new tag] kfire-4AI.5-v0.1 -> kfire-4AI.5-v0.1

* [new tag] v2.6.38-rc7 -> v2.6.38-rc7

error: Exited sync due to fetch errors

nick@nick-VirtualBox:~/otter/cm9$

I updated my manifest so idk why its not working. I also tried to sync the repo yesterday and was getting this-

fatal: Index pack failed

fatal: Index pack failed

fatal: the remote end hung up unexpectedly

error: cannot fetch Kfire_android_system_framework
[Kindle Fire Android Development] e495957:
These download issues are very frustrating. Why don't we get otter on the official Cyanogenmod list and work with their system which is really fast on www.get.cm
[Kindle Fire Android Development] twa_priv:
Make sure your local_manifest.xml in your .repo folder looks exactly like this:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- CM removals -->
<remove-project name="CyanogenMod/android_frameworks_base" />

<!-- local projects -->
<project path="frameworks/base" name="KFire-Android/android_frameworks_base" remote="github" revision="ics" />
<project path="device/amazon/otter" name="KFire-Android/device-amazon-otter" remote="github" revision="ics" />
<project path="kernel/amazon/otter" name="KFire-Android/kernel_omap" remote="github" revision="4AI.5" />
<project path="vendor/amazon/otter" name="KFire-Android/android_vendor_amazon_otter" remote="github" revision="ics" />

</manifest>

This is what you should get when you you download the file as per this readme using curl: https://github.com/KFire-Android/android_local_manifest/blob/ics/README.mkdn
[Kindle Fire Android Development] BrooksBlood:
I have that exactly

I'll resync now and see what's good.

I'll use repo sync -f and see if it works because I think that my connection has a problem to do with it
[Kindle Fire Android Development] twa_priv:
Sometimes repo sync hangs for me also - I usually don't wait until it errors out and just kill the process(es).

Running repo sync single threaded usually helps then and works:

repo sync -j1
[Kindle Fire Android Development] andTab:
Curious about this too (especially, since Hash's builds are a PITA to flash)
[Kindle Fire Android Development] str3tchb0y:
Not getting the same score as Hashcode.

I am not seeing a score like that. I have tried a couple of times, apparently not having enough sdcard space affects your antutu scores. but once I got that ironed out I am getting 5655 for a score on the cm-9-20120628-UNOFFICIAL-otter-linaro-3.0.31.zip rom. This is a clean install after factory reset, that and gapps. Also if I try antutu with NRGZ28's Energy rom I get a 6000ish score. Tell me what I am doing wrong Hash. I would love to have that rom you are running. :) (I know benchmarks aren't everything. I live it the real world despite my nerdish appearance)
[Kindle Fire Android Development] twa_priv:
I'm pretty sure hash got this score using the performance governor overclocked to 1200Mhz. At least that's what I do when benchmarking and doing so matches hashcode's results.
[Kindle Fire Android Development] BrooksBlood:
alright i finally got the repo to sync all the way (done it three times now) but im running into this now-

nick@nick-VirtualBox:~/otter/cm9/vendor$ cd ..

nick@nick-VirtualBox:~/otter/cm9$ repo sync -j1

Fetching projects: 100% (257/257), done.

Syncing work tree: 100% (257/257), done.

nick@nick-VirtualBox:~/otter/cm9$ cd vendor/cm

nick@nick-VirtualBox:~/otter/cm9/vendor/cm$ ./get-prebuilts

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

100 2544k 100 2544k 0 0 446k 0 0:00:05 0:00:05 --:--:-- 481k

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

100 142 100 142 0 0 165 0 --:--:-- --:--:-- --:--:-- 196

100 286k 100 286k 0 0 213k 0 0:00:01 0:00:01 --:--:-- 213k

Archive: ./proprietary/Term.apk

inflating: ./proprietary/lib/armeabi/libjackpal-androidterm4.so

nick@nick-VirtualBox:~/otter/cm9/vendor/cm$ source build/envsetup.sh

bash: build/envsetup.sh: No such file or directory
[Kindle Fire Android Development] twa_priv:
cd ~/otter/cm9
cd vendor/cm
./get-prebuilts
[COLOR=DarkRed][B]cd ../..[/B][/COLOR]
. build/envsetup.sh
brunch otter

Or download the attached script, remove the .txt extension, put it in $HOME/bin and do a "chmod 775 $HOME/bin/build.sh". The script uses ccache which will make subsequent builds at least two times faster.

cd ~/otter/cm9
cd vendor/cm
./get-prebuilts
[COLOR=DarkRed][B]cd ../..[/B][/COLOR]
build.sh otter
[Kindle Fire Android Development] BrooksBlood:
I get a 404 error when clicking the link you provided

on the other hand

ok the build started and went for a while and when i came back i saw this-

make[4]: *** [sub-make] Error 2

make[3]: *** [all] Error 2

make[2]: *** [kbuild] Error 2

make[1]: *** [build] Error 2

make[1]: Leaving directory `/home/nick/otter/cm9/kernel/amazon/otter/external/sgx/src/eurasia_km/eurasiacon/build/linux2/omap4430_android'

make: *** [KERNEL_EXTERNAL_MODULES] Error 2

nick@nick-VirtualBox:~/otter/cm9$

is the build done now and if so where is it? and whats with the errors?
[Kindle Fire Android Development] Hashcode:
Actually it was 1.2Ghz CPU + Interactive (which I consider a fairly "stock" running config)
[Kindle Fire Android Development] Hashcode:
I would need a bit more of this log to see what's going wrong.
[Kindle Fire Android Development] Hashcode:
DEVS: I cleaned up the tags on the kernel git.

I'm going to be tagging releases as best I can using the following method:

kfire-{kernel version}-{release date}

For instance we currently have the following tags:

kfire-3.0.21-20120512

kfire-3.0.21-20120526

kfire-3.0.21-20120608

kfire-3.0.31-20120629

My main project branch is still 4AI.5 currently (it would change to something like android-omap-3.4 if I ever move up to that). If you're pulling from that branch in your builds then it's like pulling from "master". You could in theory get a broken kernel when I'm in the middle of some changes. But pulling from tagged releases should be safe.
[Kindle Fire Android Development] intersectRaven:
I think he's experiencing the same problem I had about a missing initializer while trying to compile module.o. I can't forward logs though since I just turned of the warning as errors to compile it as a quick fix since I don't have time to debug this. Maybe something changed in .31? :confused:
[Kindle Fire Android Development] lovejoy777:
i would love to have that script.

as it takes me 5/6 hours per build:-(

just updated & synced, Building been going about 3 hours, with no errors yet.

fingers crossed for the other 3.

thanks again guy's, just out of intrest my unofficial build (not linaro) scores between 6000 & 6100 (1200 with performance). :-)

edit: sorry for the dumb question, are the tags hashes talking about in the source when we sync as per new local_manifest (posted a couple of posts above)?

edit 2. wow done already 3.5 hours (that would be 2 hors with script:-)

no errors.
[Kindle Fire Android Development] twa_priv:
For some reason xda refuses to properly upload the script. Here it is embedded - copy/paste the text in a file called $HOME/build.sh, make it executable (chmod 775 build.sh). The script also save the build output to a file called build_otter_<date>.log.

#!/bin/bash

if [ -z "$1" ]; then
echo "usage: build.sh <device>"
exit 1
fi
device=$1

# ensure ccache is in the path
export PATH="$PATH:$PWD/prebuilt/$(uname|awk '{print tolower($0)}')-x86/ccache"

setup()
{
USE_CCACHE=1
CCACHE=ccache
CCACHE_BASEDIR="$PWD"
CCACHE_DIR="$PWD/.ccache"
#export CCACHE_COMPRESS=1
export USE_CCACHE CCACHE_DIR CCACHE_BASEDIR
if [ ! "$(ccache -s|grep -E 'max cache size'|awk '{print $4}')" = "10.0" ]; then
ccache -M 10G
fi
source build/envsetup.sh
#lunch cm_$1-userdebug
}

setup $device

LOGFILE=build_${device}_$(date +%Y%m%d_%H%M).log

START=$(date +%s)

#make -j`cat /proc/cpuinfo| grep processor | wc -l` bacon 2>&1 | tee $LOGFILE
brunch $device 2>&1 | tee $LOGFILE

END=$(date +%s)
ELAPSED=$((END - START))
E_MIN=$((ELAPSED / 60))
E_SEC=$((ELAPSED - E_MIN * 60))
printf "Time to compile: " >> $LOGFILE
[ $E_MIN != 0 ] && printf "%d min(s) " $E_MIN >> $LOGFILE
printf "%d sec(s)\n" $E_SEC >> $LOGFILE

grep "Time to compile" $LOGFILE
[Kindle Fire Android Development] Sambena:
change log

Is there a change log for the nightly builds?
[Kindle Fire Android Development] :
Page 1 has some recent
[Kindle Fire Android Development] Entropy512:
Hashcode needs to fix the broken charger stuff first. I'm fairly certain they won't accept it for official nightlies until "blockers" like that are removed.

Things are moving in that direction though - hash already has access to the CM private developer channel for the purposes of coordinating that.
[Kindle Fire Android Development] BrooksBlood:
ok just went to build again using the script twa_priv provided and this is the log im getting. I still think something is wrong

http://pastebin.com/q6BFZgYB
[Kindle Fire Android Development] sthomas38:
How many RAM do you have in your PC?
[Kindle Fire Android Development] BrooksBlood:
4gb
[Kindle Fire Android Development] Hashcode:
Last night I tried a full rebuild of the ROM + kernel using gcc 4.4.3 just to make sure the patches for newer compilers didn't break anything.

I'm running that build now, and everything seems to be running perfectly.

Can you try cleaning the ccache?

ccache -C
[Kindle Fire Android Development] BrooksBlood:
OK doing ccache -c now

One question after the build is done where can I find the flashable zip?
[Kindle Fire Android Development] lovejoy777:
before rebuild issue "make clobber" to clear out folder
[Kindle Fire Android Development] BrooksBlood:
OK I think between issuing make clobber and ccache -c its going to build now. Again where would I find the flash able zip when its done?
[Kindle Fire Android Development] lovejoy777:
out/target/product/otter/ in otter/cm9

edit: that question may be tempting fate, but here you go. lol
[Kindle Fire Android Development] BrooksBlood:
Wish me luck lol this has been all I have been doing non stop for the last three days :-P I just want to build haha

---------- Post added at 12:06 PM ---------- Previous post was at 11:36 AM ----------

still getting errors :/ im dumbfounded on whats going on, heres a log

http://pastebin.com/f7PXdUbU
[Kindle Fire Android Development] BrooksBlood:
yet another error when building. any help would be greatly appreciated

heres a log

http://pastebin.com/DnyQJM6A
[Kindle Fire Android Development] lovejoy777:
sorry doesn't mean alot to me.

all i can suggest is to start from scratch ie delete otter/cm9 & make dir again, then dl repo, reposync, then build:-(

but wait a bit as i am no dev.

someone may know something.

maybe your sync didn't dl all modules?

edit try just repo sync again without deleting all. just make clobber and resync repo (it shouldn't take long and if theres something missing/wrong it may sort it. (just a thought).
[Kindle Fire Android Development] twa_priv:
First of all I suggest to post all these build problems in your other thread .... and rename the thread title to something like "building CM9 from source".

I suspect that your kernel and device repos are out of sync. I would do a repo sync, then a:

cd /home/nick/otter/cm9/

rm -rf out/target

build.sh otter
[Kindle Fire Android Development] intersectRaven:
Just create the out/target/product/otter/root and out/target/product/otter/root/modules folders and you'll get past that. I'm also wondering why that happens on my machine when it doesn't happen to anyone else's. Doesn't happen when I build for my Galaxy Nexus as well. Anyways, hopefully you can do your build. :)
[Kindle Fire Android Development] BrooksBlood:
Thanks I'll try that next. I just deleted everything and started the repo sync now so when its done I'll let you know how it goes :-) thanks again raven
[Kindle Fire Android Development] twa_priv:
I remember getting a similar error quite some time ago and after looking closer throught the build log I discovered log messages like this:

/bin/sh: dos2unix: not found

After creating a symlink for dos2unix the error went away.

cd /usr/bin

sudo ln -s fromdos dos2unix

sudo ln -s todos unix2dos

Edit: The error I got back then (and never saw again after creating the symbolic link) was this one:

make[6]: *** [/u02/dev/android/otter/cm9/out/target/product/otter/target/kbuild/services4/srvkm/env/linux/module.o] Error 1
make[5]: *** [_module_/u02/dev/android/otter/cm9/out/target/product/otter/target/kbuild] Error 2
make[4]: *** [sub-make] Error 2
make[3]: *** [all] Error 2
make[2]: *** [kbuild] Error 2
make[1]: *** [build] Error 2
make[1]: Leaving directory `/u02/dev/android/otter/cm9/kernel/amazon/otter/external/sgx/src/eurasia_km/eurasiacon/build/linux2/omap4430_android'
target Symbolic: libOMX.TI.DUCATI1.VIDEO.MPEG4E (out/target/product/otter/symbols/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so)
make: *** [KERNEL_EXTERNAL_MODULES] Error 2
[Kindle Fire Android Development] BrooksBlood:
I had seen that you posted that a while ago in another thread and I already tried that :-\
[Kindle Fire Android Development] Hashcode:
What flavor of Linux are you running?
[Kindle Fire Android Development] BrooksBlood:
Ubuntu 11.10
[Kindle Fire Android Development] intersectRaven:
Have you seen if dos2unix is installed on your machine? I just checked my Arch installation and found that that's the problem. :p
[Kindle Fire Android Development] pbailey212:
Also which Java are you running on Ubuntu. Its been a long time since I tried, but last I saw you had to use Java 6 to properly compile, Java 7 won't work. I may be way behind in this conversation, sorry if I'm stating the obvious

sent from my Nokia 5110
[Kindle Fire Android Development] BrooksBlood:
Yeah I did that earlier as suggested by twa-priv, I just ended up deleting the directory and starting over with the repo Init cmd just about finished syncing hopefully I'll have some luck.

Edit:

I have Java 6
[Kindle Fire Android Development] TexasRules777:
Hey hash..i know this is the least of the issues you're working on but i was just wondering when the new kernel and code will be included in the nightly branch? Or can i just flash the new kernel over the nightlies? Thanks again for all you've done for the kindle!
[Kindle Fire Android Development] Hashcode:
As soon as ROMbot is migrated, the nightlies will include the new kernel. I merged it back into the 4AI.5 branch.

I still need to build a non-linaro flashable .zip
[Kindle Fire Android Development] thanhhai8888:
Hi hasdcode!

I'm try flash kenel #13 to my kindle, using gedemis room, flash is ok but my kindle cannot boot, i'm try 2 way
[Kindle Fire Android Development] intersectRaven:
Did you encounter problems using Linaro? I've been using their toolchain since forever and haven't had any problems aside from some compilation errors due to GCC 4.6+. :)

I don't think we can support you on that since I, for one, is unfamiliar with that ROM and two, there may have been some changes in hashcode's PVR builds which may not have been applied to gedemis' ROM. :)
[Kindle Fire Android Development] wolf45801:
I know this is off topic but i was wondering if it was possible to get an older version with the older kernel cause mine does not want to charge with 3.0 at all
[Kindle Fire Android Development] southbird:
1) You probably didn't read all the giant text on post #1 about charging

2) This is the 3.0 development thread; look for the CM7 thread

3) If you know you're off-topic, why would you post anyway?
[Kindle Fire Android Development] wolf45801:
actually yes i did read it i been running the 3.0 kernel since he first started it mine will start by saying charging then it will stop thats why i asked about the older 2.6 kernel
[Kindle Fire Android Development] southbird:
There are issues with reporting of charging. The LED is generally wrong (often off) and the Android indicator never rightly sets itself. Are you sure it's not actually charging and just failing to report that? I leave it plugged in overnight and it's always charged even if there's no outward indication of such. (Although in general the battery stats will always correctly report charging / not charging.)
[Kindle Fire Android Development] wolf45801:
well the battery will continue to decrease instead of increase when the stats says discharging

ps it dont even want to charge inside twrp for me lol
[Kindle Fire Android Development] andTab:
USB Mass storage does not show up for me?

Connect Fire via USB, turn on USB storage - nothing on the PC.