yashsingh1/xdaforums huggingface dataset:
[Kindle Fire Android Development] DooMLoRD:
try ddms or download Screenshot app from market

em... lots of benchmarks to try:

Linpack

Quadrant

Antutu

CF-bench

Neocore

GLBenchmark
[Kindle Fire Android Development] foxdog66:
that is awesome :D this is my first time using fastboot. Ive used adb and sbf_flash quite a bit before tho
[Kindle Fire Android Development] DooMLoRD:
the kernel string "2.6.35.7" is causing wifi not working issue...

for stock it is: "2.6.35.7+" (http://xdaforums.com/showthread.php?p=20001068#post20001068)

till the time i can compile and use my own wifi modules, i will have to depend on stock wifi modules, so i will change that string to stock and that should sort out wifi issue...
[Kindle Fire Android Development] intersectRaven:
You should also enable SLUB debug info and use SLUB alone or else it will cause crashes when enabling WiFi when using stock WiFi module. :)
[Kindle Fire Android Development] DooMLoRD:
thanks for the tip :)

was thinking of patching it up with SLQB & Tiny RCU but will do that later...
[Kindle Fire Android Development] intersectRaven:
Yeah. So until we can compile everything, I'm still suggesting the use of fastboot boot first instead of direct flashing. (unless someone wants a stylish doorstop) :)
[Kindle Fire Android Development] foxdog66:
do all the bench mark apps need internet? I tried the quadrant one and lintpack but the one needs internet and the other, i think its giving inaccurate results. It breezes through them tho lol
[Kindle Fire Android Development] DooMLoRD:
yups i agree... hotbooting is currently is the safest option...

once we get everything streamlined we can start flashing it on device...

em no problem...

but please do post those screenshots (setcpu) and about phone (kernel version)
[Kindle Fire Android Development] DooMLoRD:
thanks mate!!!
[Kindle Fire Android Development] foxdog66:
No problem, I love testing stuff :D
[Kindle Fire Android Development] EABonney:
For someone who is interested in learning, can someone explain what the "hotbooting" is? I would love to help with the testing and development but am still trying to learn all I can before hand.

Is hotbooting basically booting off of the image through USB so we don't over write the stock files on the device? By rebooting the device does it automatically go back to the stock kernel etc?

Thanks for all the hard work folks it is greatly appreciated.

-Eric
[Kindle Fire Android Development] DooMLoRD:
yes hotbooting doesnt flash the kernel onto the device but rather "boots using that kernel"... so the stock kernel is never replaced :)

so one reboot and u are back on stock kernel...

such things are required in the initial phase of development till we are sure that we can get things working correctly...

actually the biggest problem is incase u flash the kernel, instead of hotbooting it, and if the device doesnt boot with the custom kernel, then currently there is no easy way get back to stock...

i dont know if the "factory cable" thing works correctly for everyone to force the device to get into fastboot mode even if the kernel doesnt boot...
[Kindle Fire Android Development] pyrostic:
I'm getting a dongle in the mail today I'll let you know.
[Kindle Fire Android Development] EABonney:
Ok, I "thought" my understanding was correct but I wanted to make sure. :) Thanks for giving a concise reply and helping educate me!

Guess the "best" practice would be to maybe create a script to actually run the commands so that you have less likely hood of making a typo at the time you run the command? I will start poking around over the weekend and see if I can help at all, may only be with testing folks kernels but it's a start.
[Kindle Fire Android Development] DooMLoRD:
where r u ordering it from?

please send link via p.m.

thanks
[Kindle Fire Android Development] teookie:
I built my own factory cable and tested it last night. It works!

Built it with a micro USB breakout board from sparkfun and an old USB cable from my blackberry.

http://www.sparkfun.com/products/10031

I plugged the cable in and did adb reboot, and it rebooted into fastboot. I was able to detect the kindle with fastboot devices. Removing the jumper between pins 1 and 4 and then executing fastboot reboot reboots the kindle normally.

I'm going to set up my system for building android over the weekend and see if I can help with getting CWR working for us. I'm still a noob but I did take a 100 level C programing class once and I have written some simple android apps. LOL.
[Kindle Fire Android Development] Skimp Killah:
I was wanting to attempt something like this, all we would need to do is make the a short press go down in the menu, and a long press select something. And a way to boot into recovery, probably by holding the power button down during boot. To install CM7 Calvin edited cwm to have it make flashing update.zip the first choice, so I'm assuming people are free to tinker with cwm as long as they give credit to koush. I remember on my epic someone edited cwm so that there wasn't 5 things you had to scroll past to select ok. It seems like it would be simple enough, however my experience is limited to my hello Alex app.
[Kindle Fire Android Development] DooMLoRD:
i am already working on CWM recovery (Touch enabled)...

but since i dont have device with me, as of now, its slowing things down :(

damn this why couldnt they provide Kindle Fire in retail stores (in India)... i am probably going to order it online and it will ship from US but will take 10-12 days!!! :(
[Kindle Fire Android Development] :
How much would it cost you? I sell them at work and if you sned me the money via paypal I could get you one and could get you one and see if I could priority ship it? Might take a few less days? PM if your interested =3 I get a slight discount on it too =]

EDIT: I can do 3-5 days shipping for 50$ or 1-3 for 90$ JFYI
[Kindle Fire Android Development] teookie:
and I'm sure you or someone else who actually knows what their doing will succeed before I ever would. But I'm just doing it for fun anyway so who cares! :D
[Kindle Fire Android Development] DooMLoRD:
released v01-test4

based on this discussion: http://xdaforums.com/showpost.php?p=20131365&postcount=34

hopefully wifi should now work!!!
[Kindle Fire Android Development] Groundhack:
I think I'm gonna test it also for you tonight after work.
[Kindle Fire Android Development] foxdog66:
Test 4 boots, wifi works :) I'm also seeing 400 to 500 higher quadrant scores
[Kindle Fire Android Development] DooMLoRD:
Thanks!!!

Now I can mark V01-TEST4 as final v01...

Will start work on v02 :)

Hopefully a few more users can get the confidence to test this out...

Might increase CPU overclock to 1.3/1.4/1.5Ghz... lets see how much can the device handle... will try underclocking too (125/150/200 mhz)...
[Kindle Fire Android Development] foxdog66:
Sweet! Sounds good to me :D I'm going to hotboot this one a few times, i think there was some kinda a graphical glitch as the lock screen initially loaded and I'm curious to see if it will do it again.

edit: graphical glitch seemed to be my live wallpaper :P
[Kindle Fire Android Development] foxdog66:
Unrelated, anyone else get this "<br />" thing with Tapatalk? I'm using Swype and it does it when i press enter to go to a new line
[Kindle Fire Android Development] fr4nk1yn:
ive lost this post 3 times so here's the short version.

with doomkernel t3 apps are missing, using ade ex, notably neocore. checked twice. it shows with stick kernel.

antutu test DK: 5414, stock 5080. 2d, 3d and database IO takes a hit, IO is 1/3 stock, while the rest is substantially higher.
[Kindle Fire Android Development] teookie:
I may as well try this out to since I have working fastboot.

Dumb question: since we are booting this kernal over USB with fastboot, can we disconnect from USB once it's booted? (I would think yes but just want to make sure). And I guess that subsequent reboots would just boot up with the stock kernel flashed onto the device?

Dumb question #2: How will you know how much overclocking it can handle? What are the warning signs? What are the potential risks?

(fell free to ignore me if my questions are just too dumb)
[Kindle Fire Android Development] EABonney:
Yes I get it every time I post using Tapatalk but it is only in the Tapatalk application. If you view the post on the web or back in Tapatalk it appears the <br> tags are gone.

-Eric

---------- Post added at 02:48 PM ---------- Previous post was at 02:47 PM ----------

Not the dev of this but normally, at least on my EVo, some warning signs that it couldn't handle it where lots of force closes and general lockups.

I too am looking forward to testing out the kernel this weekend! :)
[Kindle Fire Android Development] DooMLoRD:
1) i am not really sure abt this, i will try it on my Xperia ARC when i am back home... yes device will revert back to stock kernel after reboot

2) well ability to overclock depends on a lot of things... Qualcomm chips are better at handling overclocks (my 1Ghz ARC can boot and work well at 2Ghz)... OMAP chips are not best when it comes to overclocks but that wht we need to test... warning signs are random reboots/freezes/kernel panics... potential risks only arise if we use high frequencies for long time (continuous use for few hrs)... generally these devices are mostly in deep sleep mode (screen off) so the risks automatically drop...

though prolonged usage at high frequencies can damage these components...

ideally one should use overclock only when u have demanding tasks (like gaming, etc)...

thanks... can u post detailed screenshots for benchmark results... i will investigate it further..

regarding missing apps thats really odd... the ramdisk is stock only change is ro.secure flag set to 0
[Kindle Fire Android Development] foxdog66:
when fastboot is done and it reboots, i unplug it and press the power button and get the badass boot screen :D

could you add init.d support please :p
[Kindle Fire Android Development] fr4nk1yn:
Here's the ones from earlier. I'll give test4 a go later.
[Kindle Fire Android Development] tex321:
Sorry for my ignorance, but this kernel should work with the ICS two?

I'am just truing to understand the processes you guys do to make devices more awesome.
[Kindle Fire Android Development] JackpotClavin:
Nope, the egl libs are incompatible. Wait till g1011999 posts his device configs and everything this weekend or so as his kernel will be compatible with the egl libs from the vendor files
[Kindle Fire Android Development] tex321:
I now this kind of question is usually not appreciated here but anyway...

You guys think some ICS build will be available next week?

Please don't take it as if I wore hushing anyone, I just thinking if I should flash the CM7.
[Kindle Fire Android Development] fr4nk1yn:
Here's the results from test4:

neocore still does'nt show in adw ex. in the market I have a install button, clicking it downloads and quickly says updating before " couldn't install on USB storage or SD card".
[Kindle Fire Android Development] MrJandD:
It all depends on what barriers devs hit, how much time put in, and Christmas season is here so im expecting slow development, let the devs have christmas! Throw them some gift money while your at it, they put alot of there life's into these things! :)

But, i'm not shutting out the possibility, but don't expect it. Probably not because of Christmas.
[Kindle Fire Android Development] DooMLoRD:
Yup I will add init.d support in next release

I don't know.... when its ready (not necessarily everything working), and if the dev wants, I am sure the he will release it....
[Kindle Fire Android Development] DooMLoRD:
Do u have same issue on stock kernel?
[Kindle Fire Android Development] foxdog66:
I think i figured out the missing apps while booted on the kernel. I'm getting it too with test 4. the apps are installed to the sdcard and not the internal memory
[Kindle Fire Android Development] DooMLoRD:
Interesting... so the sdcard isn't mounted... lets see...

Please provide outputs of following commands when booting using my kernel...

ls -l /dev/block/*

busybox df

mount
[Kindle Fire Android Development] foxdog66:
I directed output to a text file which im attaching, It kinda ran together, sorry
[Kindle Fire Android Development] DooMLoRD:
Hmmm... sdcard seems to be mounted but I don't see /sdcard/.android_secure (native android app2sd) mounted

Can u run the same on stock kernel?
[Kindle Fire Android Development] foxdog66:
yeah sure. I did move those apps that were on the sdcard to internal already
[Kindle Fire Android Development] Veritass:
Can you make a Kernel for cm7?
[Kindle Fire Android Development] Groundhack:
Hi DooM,

I just booted up your kernel for about an hour. Everything ran great I got some Linpack and Antutu benchmark scores to upload later if you need them. Wifi worked flawless and SetCPU had me running at 1200 max 300 min. I did notice missing apps as well. My XDA app was missing. What i did notice after some poking around with root explorer is that the XDA app is not located in /data/app like the rest of the apps. I did a search for tapatalkxdapre which is the build name for it and i found references to it under

/data/dalvik-cache/mnt@asec@com.quoord.tapatalkxdapre.activity-1@pkg.apk@classes.dex

/data/data/com.quoord.tapatalkxdapre.activity

hopefully thats something that rings a bell lol. Please advise of any further testing
[Kindle Fire Android Development] bjanice44:
May have bricked

I was attempting to test this kernel yesterday and copied the the command "adb reboot botloader" from above not noticing the bootloader was mispelled. The mispelled command actually rebooted the fire but now it is hung in limbo with the "Kindle Fire" flash screen constant.

I can't see the fire in adb, fastboot does not recognize it. Am I bricked? Any help would be appreciated.
[Kindle Fire Android Development] teookie:
try holding down the power button for like 20 or 30 seconds.

As a last resort you can open it up and disconnect the battery. If you can't see it with adb or fastboot you don't have a lot of options. Good luck!
[Kindle Fire Android Development] foxdog66:
The kindle fire does not have much of a bootloader and I think fastboot is only officially supported with a factory cable. Also, the kindle does not recognize the bootloader command in "adb reboot bootloader" and is just running "adb reboot"

From what I've read, there is a few ways to use fastboot on the kindle. I went with the 'fire fire fire, bootloader replacement' thread found on this site. It provides a 10 second window to use fastboot.

I simply link the commands together tho like this....

adb reboot && fastboot boot the-name-of-the-boot.img

so once the "adb reboot" runs successfully it will say "waiting for device" then it just takes a second to push and load the new boot.img

Don't quote me on this, it's just my interpretation of what i have read
[Kindle Fire Android Development] DooMLoRD:
not immediately... both, this kernel & CM7, are currently in testing phase... we need to make sure that kernel is stable... once we are sure i will make one for CM7 / ICS / CM9

thanks will try n look into it...

ok so all apps are "missing" or just a few?
[Kindle Fire Android Development] bjanice44:
Thanks for the reply. So I understand you right, you used a factory cable when you used the fire fire fire bootloader replacement? If so did you get it from TBH? somewhere else? or did you make your own?
[Kindle Fire Android Development] fr4nk1yn:
How I do it:

In terminal or command promt

adb shell
su
cd /system/bin
idme bootmode 4002
reboot

once rebooted into fastboot

fastboot -i 0x1949 boot [i]kernel name[/i]

once rebooted in terminal emulator

su
cd /system/bin
idme bootmode 4000

For some reason i get permission errors trying to run: "/system/bin idme bootmode X" even with su without cd to /system/bin.

All the apps don't go missing, Seems like only ones with data on the sd card. maybe apps that are secure? Maybe changing the ramdisk secure flag is worth a try?

I'd use this now as a daily if the apps problem was solved.
[Kindle Fire Android Development] foxdog66:
Na, i don't have the cable. I went with this method http://xdaforums.com/showthread.php?t=1369405

[BOOT] FIREFIREFIRE 0.9 - bootloader with recovery selection

It gives 10 second window to use fastboot pretty much right when you turn the device on. It also let's you press power button to boot into recovery but stock recovery does us no good right now, it actually just reboots the device lol. That option pretty much sets us up for a custom recovery.
[Kindle Fire Android Development] Groundhack:
The only app that i noticed was "missing" was XDA premium. There was no icon and even searching for the app yielded nothing. But all the files were there. Even if i went to go reinstall the APK it said it would overwrite it. When I reverted back to normal kernel my xda app showed up again.

background info on my xda app, it was transferred from my samsung captivate and installed onto the fire. I do not have google market or any of the google framework installed. Im running pure amazon source rooted.

I think you need to

CHMOD +x boot.img

as well. I couldnt flash it without doing that on ubuntu 11.10
[Kindle Fire Android Development] DooMLoRD:
pushed sources to git...

https://github.com/DooMLoRD/Kindle-Fire-Kernel
[Kindle Fire Android Development] bjanice44:
In my case I need to be able to get to the point of using adb commands which I cannot do now. So I guess I need a cable. I tried making my own cable yesterday for some reason it did not work. I opened it up, pulled the battery, still the same.

I guess I am still trying to understand how this command "adb reboot botloader" broke it in the first place or why it even executed when it was mispelled. I may have to mail it to somebody and pay them $50 to unbrick it if I can't do it myself.

*Edit. I am moving my questions over to the unbrick thread, thanks.
[Kindle Fire Android Development] DooMLoRD:
DooMKernel v02 released!

new kernel v02 has been posted...

changes include:

init.d scripts execution support

i will publish more test kernels with 1.3/1.4/1.5Ghz overclocks ones i know this posted version boots and works (init.d scripts execution part)

please test it out and let me know...

links at first post!!!

cheers,

DooMLoRD
[Kindle Fire Android Development] fr4nk1yn:
Apps are still missing :-( And won't install from the market with the "Couldn't install on USB or SD card." error.
[Kindle Fire Android Development] DooMLoRD:
I am not really sure what's causing that issue... might be something in ramdisk, related to mounting...

Can u atleast access sdcard files using some file explorer app?
[Kindle Fire Android Development] foxdog66:
When I moved the apps that weren't showing from sdcard to internal, they showed up and worked fine.

I was getting this same error when trying to install a game, even after changing the default install location from auto to internal. Also changed the set install location to internal and rebooting.

Edit: will be attempting booting v02 soon :)
[Kindle Fire Android Development] foxdog66:
init.d support was a success! I ran a simple test, my script read...

echo -e "this is a test" >> /data/test.txt

rebooted, fastbooted and had /data/test.txt that said this is a test on it :p

1.5Ghz.... here we come :D
[Kindle Fire Android Development] DooMLoRD:
i had already kept a bunch of kernels ready ;)

will start posting them now..
[Kindle Fire Android Development] DooMLoRD:
since i dont have the device with me to test, i am depending on u guys to tell me if the kernels boot and if the changes work :)

my primary focus is the get as much performance we can from the device by overclocking it... we need to know its limits... so that future kernels (when most of the kernel hacks & features will be implemented) can use the stable overclock...

here are the test kernels:

DooMKernel v02-TEST5 (1.3Ghz + overvolting with init.d support) [kernel version will show up as #5002]

DooMKernel v02-TEST4 (1.5Ghz with init.d support) [kernel version will show up as #4002]

DooMKernel v02-TEST3 (1.4Ghz with init.d support) [kernel version will show up as #3002]

DooMKernel v02-TEST2 (1.3Ghz with init.d support) [kernel version will show up as #2002]

DooMKernel v02-TEST1 (1.2Ghz with init.d support) [kernel version will show up as #1002]

MD5HASH: d474205e1a3d2decf0cb8243b75a06c2

i am guessing 1.3Ghz (TEST2) might be slightly stable and 1.4Ghz (TEST3) / 1.5Ghz (TEST4) will be VERY unstable (reason being that the voltages havent been changed for them, they are all still at 1375mV which is VERY low compared to the OC given...

the interesting one will be 1.3Ghz with overvolting (TEST5).. if that works well and can handle CPU stress (lots of benchmarking using performance governor) then we have a way to implement undervolt too :)

REMEMBER TEST ALL OF THESE USING HOTBOOTING ONLY

test them out and do let me know how it goes... if a particular kernel boots then please take screenshot of SETCPU app and post it along with ur test report!

regards,

DooMLoRD
[Kindle Fire Android Development] foxdog66:
ok, before I forget/go to sleep....

Test3 is no go, wouldnt get past the booting doom kernel screen (tried it twice)

Test4 did boot, locked up a lot (especially during boot animation, took a while to boot)

Test5 didnt boot all the way, just as the boot animation is coming to an end and the lock screen should load, it locks up. looking at a logcat, the last line is.... D/szipinf ( 1496): Initializing zlib to inflate

it got to that and just sat there, eventually disconnected from my computer. here http://dl.dropbox.com/u/8827840/test5logcat.txt is the whole logcat

edit: I do have pics of Test4 running at 1.5 if you want me to post them :p
[Kindle Fire Android Development] DooMLoRD:
oh thats interesting... do send pics of test4 ;)

btw what abt test2? (1.3Ghz version)
[Kindle Fire Android Development] foxdog66:
Was going to save it for tomorrow but you talked me into it lol

First try, i thought it was going to run, got to lock screen but when I went to unlock it (before i could touch the screen) it did a hot reboot (boot animation replayed). Second attempt, froze at end of boot animation before lock screen.

Here is pics of test 4 running at 1.5Ghz :)

My pillow is calling.... Looking forward to another day (of testing :))
[Kindle Fire Android Development] DooMLoRD:
hey guys i am currently putting this project on hold till i get the device with me... in 2-3 days i will be able to finalize from where i get this device...

regards,

DooMLoRD
[Kindle Fire Android Development] smirkis:
if people want to get this man a kindle asap, lets all work together :)

ill personally buy it and ship it to him if people wanna donate back the costs? I offered to him and he said no In a nice way but I'm still willing if others wanna help out!
[Kindle Fire Android Development] foxdog66:
I really want to flash version 2 test 1...
[Kindle Fire Android Development] DooMLoRD:
if everything is stable then go ahead flash it :)

but just make sure u have the "factory cable"... just incase ;)
[Kindle Fire Android Development] DooMLoRD:
hey guys i have finally got my HTC Flyer (had ordered it 2 months back :P)...

so i probably wont be buying the Kindle Fire... i need to save money for my next phone ;)

it was great fun working & brain storming with u guys here, especially iR and others at the "building kernel for KF" thread...

thank you all!

if i could afford the device [its almost 300$+ here in India :( ] i would surely continue to work on it...

regards,

DooMLoRD
[Kindle Fire Android Development] foxdog66:
Nooooooooooooo your kernels are the coolest.... Noooooooooo
[Kindle Fire Android Development] DooMLoRD:
as i told u guys before, we (Team UtterChaos) are also working on touch based recovery...

here is a live demo:

[YOUTUBE]QGc1WL19VNs[/YOUTUBE]

right now we have it working for one of the devices we support (Ideos X6)...

we will soon be porting it to other supported devices (Xperia X10, Xperia ARC, Xperia Play, Samsung Galaxy SL (i9003))...

BUT right now i dont have the Kindle Fire with me to do testing/work on it...