yashsingh1/xdaforums huggingface dataset:
[Kindle Fire Android Development] lsab4007:
Deadline for I/O schedule seems faster in my daily usage
[Kindle Fire Android Development] kvestas:
Yep. Black is the color I mean.
[Kindle Fire Android Development] lovejoy777:
I swapped back to interactive. Its a little laggy with on demand.
[Kindle Fire Android Development] dokie80:
Interactive is the default, right?

I didn't use tweaking app. Not overclocking too. Doesn't seem to make any difference for my normal use.
[Kindle Fire Android Development] lovejoy777:
Yes stock is interactive.
[Kindle Fire Android Development] lsab4007:
I was wondering if it is possible to add SMARTASSV2 to CPU schedules in this ROM. Not asking, just curious about it.
[Kindle Fire Android Development] lovejoy777:
Unfortunately not. I am not making any changes to the rom, it comes just like stock Slimroms. That way it should stay a very stable ROM. If I mess with it, it will not be very stable:)
[Kindle Fire Android Development] lsab4007:
Gotcha, thank you for replying and your great rom.
[Kindle Fire Android Development] AtomicFizzle:
That being said (and I totally understand), there's nothing stopping you or anyone else from trying different kernels. Most devices out there people have tinkered with custom kernels to add other governors and new features like fast charge, etc. Doesn't seem like the Kindle ever had much interest in kernel development. Not sure why. I know there are guides out there if someone is so inclined...
[Kindle Fire Android Development] lsab4007:
It might be off the topic but kernel flashing is something to do with the bootloader for now,and hashcode is dealing with it by developing OtterX. I am not really a fan of custom kernel, but SMARTASSV2 is better than Interactive for old devices including our Kindle Fire Original
[Kindle Fire Android Development] lovejoy777:
agreed but as hash is the only kernel dev for otterx we don't have those options to flash any other kernel
[Kindle Fire Android Development] lovejoy777:
ok. no promises but i think i can do it. ill have a go. the question is, who's going to test it. lol
[Kindle Fire Android Development] AtomicFizzle:
Haha.. the guy who asked for it, of course!! ;) Ah, alright... I can test too.
[Kindle Fire Android Development] lllukas:
I would like test it for us too :)

Everything for progress ;)
[Kindle Fire Android Development] lovejoy777:
OK i need 1 file that may not be written for our device. cpufreq_smartass2.c . I'm looking through other devices kernel source code to see if i can see there tunable parameters, if i know there maxes, mins, thresholds and sampling rates etc for all there governors including smartass2, and i know the otterx's except smartass2 then maybe i can work out through percentages what otterx's parameters should be. its a lot of work though. and it would also help if the devices i check against have the same cpu at least. anyone know of any other devices? unless someone knows where i can get that file.
[Kindle Fire Android Development] lovejoy777:
here are the parameters i need, some i can work out from other governors.

default awake ideal freq

default sleep ideal freq

default ramp up step

default ramp down step

default max cpu load

default min cpu load

default up rate us

default down rate us

default sleep wakeup freq

default sample rate jiffies 2
[Kindle Fire Android Development] sabres032:
I'll test for you also when I have the time away from work.
[Kindle Fire Android Development] lsab4007:
Sorry if my posts end up with your burden, LG P940 and Samsung i9100G, as well as Moto Atrix2 used the OMAP4430 in Kindle Fire Original. Hope that's helpful. Sorry again for my posts.
[Kindle Fire Android Development] lovejoy777:
no problem, i like a new challange:)
[Kindle Fire Android Development] lovejoy777:
OK some things cooking :)
[Kindle Fire Android Development] lovejoy777:
ok 6.4 is built and uploading. still working on smartass. i have made a cpufreq_smartass.c and am trying a kernel build later:)
[Kindle Fire Android Development] lovejoy777:
slimkat build 6.4

Link: http://www.androidfilehost.com/?fid=23501681358562175

md5: 1e94487ae0b20520e5cdc2ed5e96ab99

see slimcenter or slimroms.net for changelog.

kernel builds but smartass is not showing in any governor settings.

(must have missed something).

enjoy Steve
[Kindle Fire Android Development] lovejoy777:
testing now. i had to make up the cpufreq file so it may need tweaking. i only have it as a boot.img at the minute. just fastboot flash it.

fastboot flash boot /path/to/boot.img/here/

link in next post when its uploaded? please only use after a full backup and at your own risk. although it seems fine here.

please test test and test some more. i need feedback.

cheers steve
[Kindle Fire Android Development] lovejoy777:
ok i zipped the boot.img. so just unzip it and fastboot flash it as described above.

EDIT LINK REMOVED

cheers steve

Edit.

for some reason the instructions are not the same in my browser and tapatalk.

to flash the new boot.img just
[Kindle Fire Android Development] AtomicFizzle:
Cool. I'll try it out tonight.
[Kindle Fire Android Development] lovejoy777:
im out now for my mrs birthday. when i get back i will look into a flashable zip.

can someone post a screenshot of there cpu usage (trickster app) before flashing my new kernel. do you have deepsleep??
[Kindle Fire Android Development] sabres032:
1) Happy birthday to the Mrs.

2) I'll have to wait until I get out of work before flashing the new kernel, no fastboot or adb access at work.
[Kindle Fire Android Development] lllukas:
Ok my friend. Just flashed newest build. Kernel too in flashify app.

I see smartassv2 gov. Now testing deepsleep :) thanks!

Edit

Looks deepsleep is here !:)

Screenshot attached

Kindle never been sooooo smoooth ;)

---------- Post added at 09:59 PM ---------- Previous post was at 09:10 PM ----------

I prefer You guys flashify apk from playstore to flashing boot.img

Its easy and simple method for flashing kernel.
[Kindle Fire Android Development] lovejoy777:
thanks mate. thats what i wanted to see:)

it will be interesting to see how it effects battery life.

lets see how it goes over a full cycle. this is my 1st venture into the kernel so wasn't sure if it would work.

also nice to mention flashify as i forget about such apps, i only do it through command line:). i will make a flashable zip soon. thanks for feedback. cheers steve
[Kindle Fire Android Development] sabres032:
Going from Slim Km at 6.2 to SlimKast 6.4 is it OK to wipe system, cache and dalvik cache and flash ROM or is a clean install recommended?
[Kindle Fire Android Development] lovejoy777:
This is 777Kernel version 0.01 :) (flashable)

please make a Twrp backup 1st

1/ flash the zip

2/ wipe caches and reboot.

just in case you havent been following along, I have added SmartassV2 governor to Hashcodes otterx kernel.

Link: http://www.androidfilehost.com/?fid=23501681358562481

md5: a15d656929a4fc1d14ed4d0a95cb73dc

this is a test kernel so please give me some feedback.

cheers Steve
[Kindle Fire Android Development] lovejoy777:
ok to dirty flash. i just flashed it then wiped caches :)

do a full boot before flashing new kernel.
[Kindle Fire Android Development] sabres032:
This is awesome.My wife handed me her Kindle and said "It's not working, fix it." It's still on the regular Amazon partitions running Hellkat ROM. I asked if she was sure and she said yes. Muuuuhahaha..... Add one more Kindle to the OtterX family. I have my project on Friday. :D
[Kindle Fire Android Development] lovejoy777:
lol nice one:)
[Kindle Fire Android Development] sabres032:
Yea, I'm happy she said that. I've been wanting to upgrade her Kindle to OtterX for awhile now but she kept saying no. Now I have free reign. :D.

As far as my Kindle I've flashed the 6.4 SlimKat ROM, gapps and the new kernel. I set it to smartassV2 in tricksterMod and I must say this is the fastest and smoothest my Kindle had run in awhile. RAM is right about 95 to 98 MB used, apps fly and I'm seeing deep sleep in trickster. I have to charge it overnight as I'm at 5% battery right now so I'll report further tomorrow.

Thank you for the awesome ROM and new kernel, Steve. Your work is much appreciated.
[Kindle Fire Android Development] lifegap:
If I have Hashcode OtterX ROM, can I (dirty) flash your ROM directly by copy it to the KF and flash in TWRP?
[Kindle Fire Android Development] dokie80:
Going to try to flash via flashify.

Anyway, I M using ART.
[Kindle Fire Android Development] sd_shadow:
Doesn't sound like a good plan.
[Kindle Fire Android Development] dokie80:
Just crashed while accessing settings.

So factory reset, restore, flash via flashify.

Running 6.4 with smartassv2, and min free for empty app set to 99

I think it's faster, or just my imagination lol

Thanks

Edited to avoid confusion
[Kindle Fire Android Development] lovejoy777:
it is now recovery flashable?
[Kindle Fire Android Development] dokie80:
It is? My apology.. :p

Edited to avoid confusion. Really sorry
[Kindle Fire Android Development] lovejoy777:
i will erase the 1st post with just the .img to stop any confustion. im just trying a dl and install myself. give me 5?

ok i just dl from the link above and flashed it in recovery and its fine???
[Kindle Fire Android Development] dokie80:
[MENTION=4878722]lifegap[/MENTION] probably better to discuss problem here?

Does the kernel works for ext4 and f2fs? Does it matter?

Or perhaps post a new thread for the kernel?
[Kindle Fire Android Development] lovejoy777:
Ive added kernel to OP post3

the kernel is exactly the same as hashcodes (otterx) with the exception of smartassV2 added.

if smartass is not selected then it will function just the same as Hashcodes.

Im not going to have a seperate thread for the kernel until its been tested for a few days:)

Thanks for your help dokie:)
[Kindle Fire Android Development] gnexdude:
Guys thanks for the latest improvements. The love kernel running on smartassv2 seems very smooth and performance overall is great so far, I'll continue testing. [MENTION=994299]dokie80[/MENTION] thanks for the flashify method, it works flawlessly! Also I'm trying your settings of min 90 for app. Enjoying this a lot!
[Kindle Fire Android Development] dokie80:
Thank YOU! .. anyway I thought u ll get more tester If you post a new thread.

---------- Post added at 08:00 PM ---------- Previous post was at 07:55 PM ----------

Flashify method is [MENTION=5279145]lllukas[/MENTION] idea.. Although I already use flashify several time, never thought of flashing the kernel with that though before lllukas mentioned about it. Let's thank him :D
[Kindle Fire Android Development] lovejoy777:
has anyone tried the twrp flashable zip yet? it should work. can someone test it ?
[Kindle Fire Android Development] lovejoy777:
sleeping like a baby?☺
[Kindle Fire Android Development] dokie80:
How to test? Can I just flash it over the existing working one? Or need to wipe all and reflash?
[Kindle Fire Android Development] lovejoy777:
just flash then wipe caches then reboot
[Kindle Fire Android Development] lifegap:
It works in CM Rom, however my TWRP version does not have MD5 check option, so could not check whether I have the correct zip file or not. Now I run your great Slimkat V6.4. Very smooth. Do you include the 777 kernel in 6.4 Rom?
[Kindle Fire Android Development] lovejoy777:
no not yet you need to flash it seperate. then open trickstermod app and change governor to smartassV2
[Kindle Fire Android Development] lovejoy777:
i always check my downloads by.

downloading .zip file then open command prompt and type md5sum /path/to/zipfile/
[Kindle Fire Android Development] sabres032:
I did and it flashed fine. Set the governor to smartassv2 and that ROM is flying. So far no sleep of death issues. I tried overclocking to 1.2Ghz but I don't think my device likes that, became very laggy and some apps crashed. Set it back to 1Ghz, rebooted and profit.
[Kindle Fire Android Development] lovejoy777:
I also find 1.2 laggy but as you say no sod ? all seems good. just battery life to test now, I'm still on my 1st cycle but also i mess around so much that i don't really have a comparison. so its down to your guys feed back for that☺. I'm sure the defaults I entered could be tweaked as I wasn't sure on all the settings. if anyone knows about these smartass settings please advise☺. although my guesses seem OK for now. check these in trickstermod app, just under where you select which governor it has something like "governor control"
[Kindle Fire Android Development] KCJunkman:
So the kernel has to be flashed with flashify, or in fastboot? you cant just flash in in TWRP?
[Kindle Fire Android Development] lovejoy777:
You can just flash from Twrp
[Kindle Fire Android Development] lovejoy777:
1st full cycle on smartass:)

the charging spikes on the battery graph are when I've been hooked up to usb uploading files etc
[Kindle Fire Android Development] lovejoy777:
I've been playing??

slimkat 6.4, 777kernel, with the settings below = Wow?
[Kindle Fire Android Development] dokie80:
Trying out deadline too.

Flashed kernel using twrp 2.7.0.1 without problem
[Kindle Fire Android Development] lovejoy777:
keep me posted. i have made a new kernel thread. in the dev section:)
[Kindle Fire Android Development] lovejoy777:
link: http://xdaforums.com/showthread.php?t=2817298

777Kernel_OtterX
[Kindle Fire Android Development] chykal:
I think this is a very well done kernel addition. It has improved performance quite noticeably.
[Kindle Fire Android Development] redbean25:
I agree with chykal. I loaded 6.4 and am running Smartass v2 and the performance is GREATLY improved. The lag I had previously is barely noticeable now. Thank you for this!!
[Kindle Fire Android Development] dokie80:
Thanks to the one who suggest it too :D

Options are always welcomed. Can always switch back to interactive if one doesn't like it anyway.
[Kindle Fire Android Development] lifegap:
Could not keep the Smartass V2 Governor after reboot

The first day with new kernel (Smartass V2 governor) was smoothly. My KF now have deepsleep state in trickster info. However, It was freezed (all black) this morning in my backpack and very hot. After reset and charging (from 50% battery when freezed), it turn to black and white screen (sometimes happened when I switch between Real dark slim and default Nova theme). First reboot was not solved. Only after 2nd reboot, the screen back to normal screen. One thing to highlight is the SmartassV2 governor was not keep after reboot. It went back to the interactive governor. Have to apply again (and sometimes trickstermod show that the deepsleep state not used, even I apply SmartassV2 successfully). I'm not sure it is due to the kernel or the trickstermod.
[Kindle Fire Android Development] redbean25:
I also have issues with TricksterMod not keeping my settings. I change it to 1200MHz and Smartassv2 and neither are kept after reboot. Even with all 4 items checked in the settings (in the set on boot or check on boot whatever it is called).
[Kindle Fire Android Development] lovejoy777:
ok guys you need to apply on boot setting in trickstermod. its under the settings icon top right. below i will post a ss
[Kindle Fire Android Development] lovejoy777:
set on boot "kernel settings" :)
[Kindle Fire Android Development] lovejoy777:
[MENTION=4878722]lifegap[/MENTION] [MENTION=4418695]redbean25[/MENTION] /\ /\ /\ /\
[Kindle Fire Android Development] redbean25:
Yyyyep. I have all those checked...and still it doesn't persist. That's why I'm lost on this one.
[Kindle Fire Android Development] lovejoy777:
it has the delay and grace periods??
[Kindle Fire Android Development] lovejoy777:
set smartass then reboot and open trickstermod quickly, it should be on interactive then after a minute you should get a notification "set on boot" and see it change from interactive to smartass
[Kindle Fire Android Development] redbean25:
I'll give it a try tonight and see what I get. It wasn't sticking before, but now that I am going to look at it specifically, it probably will just to make me look like a dumbass.
[Kindle Fire Android Development] lovejoy777:
lol
[Kindle Fire Android Development] Wikdclown:
It applies for me with no problems.

And I just have the kernel checked.
[Kindle Fire Android Development] sabres032:
Converting the wife's Kindle over to OtterX tonight and putting on SlimKat with the new kernel. Squeee. :D
[Kindle Fire Android Development] redbean25:
Ok I just tried it twice. The first time it didn't change for me. So I updated it manually, applied the settings, the rebooted. The second time it updated. So it seems to be hit or miss on mine.
[Kindle Fire Android Development] sabres032:
A rooted Kindle Fire on the Amazon partition not running well, install files for OtterX, SlimKat ROM, 777Kernel and some scotch is all that's needed to to add another Kindle Fire to the OtterX family. :D

My job here is done, the wife can personalize her device the way she wants now.
[Kindle Fire Android Development] dokie80:
Had sod.

Dunno if kernel or ROM issue.

Opened apps AFAIK are kindle and hay day.
[Kindle Fire Android Development] sabres032:
I flashed the new kernel and ROM two days ago and haven't had an issue since.
[Kindle Fire Android Development] dokie80:
I'm on the latest ROM and kernel. Did clean install too.

Any suggestion what app to install to see what caused it?
[Kindle Fire Android Development] sabres032:
My only suggestion would be to install better battery stats from the app store. The BBS app has options to view partial wakelocks, kernel wakelocks, CPU states, and what process are keeping the device from deep sleep. Until you can isolate the SOD to a specific app or process that is causing a conflict I'm at a loss.
[Kindle Fire Android Development] lifegap:
Can the kernel turn off one core of Ti OMAP 4430?

set on boot "kernel settings"

Thanks your suggestion, now I have Smartass V2 after reboot and it works fine. Monitoring the Trickstermod, it's seem that both core running at 300Mhz when the KF idle. However, my friend's Lenovo P780 trickstermod show that even do not have smartass governor, the P780 could run on 1 core while 3 other core offline in idle mode. Small survey on internet show that ARM Cortex A9 could turn one of two core off. Could you improve the kernel to be more battrery saving by letting only one core in low power? Thanks

http://sisteming.wordpress.com/2012...e-systems-based-in-arm-architecture-part-iii/
[Kindle Fire Android Development] lovejoy777:
been building for 8 hours and still going. my pc needs a little clean up;)
[Kindle Fire Android Development] lovejoy777:
make -C kernel/amazon/otter-common O=/home/lovejoy777/android/SlimKat4.4.3/out/target/product/otterx/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/lovejoy777/android/SlimKat4.4.3/prebuilts/gcc/linux-x86/arm/arm-eabi-linaro-4.7.3/bin/arm-eabi-" headers_install

last attempt didnt use linaro. but as you can see from the code snippet that its compiling with linaro 4.7.3:) fingers crossed it doesnt error out.:D
[Kindle Fire Android Development] lovejoy777:
hehe i did it?
[Kindle Fire Android Development] KCJunkman:
What does the Linaro add to it?
[Kindle Fire Android Development] Hashbang173:
Can you tell me how you did it, I would like to do this with AICP.
[Kindle Fire Android Development] koop1955:
First off, congrats. Excellent work!

Will you be putting up a new link for the new kernel? Here, of on the kernel thread? I intend to do a complete wipe before install, then go with the SlimRoms packages all around.
[Kindle Fire Android Development] lovejoy777:
speed? just rebuilding as i missed something for smartass in my source, just syncing then build and upload (2 hours max).

slimkat 6.6 with 777kernel baked in and both rom and kernel built with linaro 4.7.3 Toolchain.
[Kindle Fire Android Development] kvestas:
Hi Steve,

Amazing work you are doing lately! I really appreciate that.

I have a small question though. Is it correct that slimrom version compiled using linaro was 4.4.3? Was it necessary to go one build back to make it? Or is it just an old path used when compiling in your code snipet?

Thanks!
[Kindle Fire Android Development] lovejoy777:
I take it you meant 4.7.3 [emoji12] its all 4.7.3 as thats the only linaro toolchain i have in my rom source.
[Kindle Fire Android Development] lovejoy777:
once rom & kernel are built and uploaded i will post a seperate kernel link in 777kernel thread for people not running my rom? lol
[Kindle Fire Android Development] lovejoy777:
as soon as i 100% confirm it all works together (also want to make sure i upload mine before you?) it took a lot of hours of googling / trial & error. this is all new to me, but im enjoying the challenge.
[Kindle Fire Android Development] lovejoy777:
ha ha i see where your getting your 4.4.3 from.... no that's just my build folder path (stupidly named it that at the start, now don't want to change it in case it screws my environment up.
[Kindle Fire Android Development] lllukas:
[MENTION=4410674]lovejoy777[/MENTION] its really awesome news bro !

Im waiting for this new bomb ;)
[Kindle Fire Android Development] kvestas:
No, I mean this:

... O=/home/lovejoy777/android/SlimKat4.4.3... (in your code sample one page back).

I am just wondering why not SlimKat4.4.4.

---------- Post added at 06:56 PM ---------- Previous post was at 06:52 PM ----------

It's OK, I have your answer now... :)
[Kindle Fire Android Development] lovejoy777:
???????? lol. sorry just happy after sooooo many hours searching and trying
[Kindle Fire Android Development] koop1955:
Cool, I'll monitor http://xdaforums.com/kindle-fire/development/777kernelotterx-t2817298 as well as here.

I don't mean to imply that one needs SlimKat ROM to use your new kernel, I just want the whole experience! I enjoyed SlimKat last time, looking forward to seeing how it has improved.
[Kindle Fire Android Development] lovejoy777:
its going to take a little bit longer:( it worked but after sorting smartass out again it all built fine but it used the none linaro modules so no wifi etc. i have had to do a full make clobber and resynced the whole rom/kernel source. its building again. -j12 so hopefully sometime tonight:). sorry for the delay. cheers steve
[Kindle Fire Android Development] lovejoy777:
its all gone to sh%$ guys. sorry i just can not get it to build now. since my make clobber its moaning about my toolchain:( i need sleep, so will continue the quest tomorrow. its a right bummer i had a linaro rom and kernel all working except smartass, then just 1 little tweak and 1 make clobber later and it doesn't even build. :( sad sad sad.
[Kindle Fire Android Development] lovejoy777:
but on a good note, I'm bloody close;)
[Kindle Fire Android Development] dokie80:
Slim-otterx-4.4.4.build.6.7-F2FS.zip

Safe to try? :D
[Kindle Fire Android Development] lovejoy777:
no wifi :( ill sort tonight
[Kindle Fire Android Development] lovejoy777:
although you can install it then flash 777kernel. that should work:) just boot once before flashing kernel.
[Kindle Fire Android Development] dokie80:
Here I thought u need WiFi to do something. Now that I flashed 6.7, I just realize what u really mean. Lol.

777kernel will fix it?

Edit. Confirm flashing 777kernel fix it.

6.7 with new kernel?
[Kindle Fire Android Development] davall:
dirty update with flashing kernel separate works. Thanks lovejoy777!
[Kindle Fire Android Development] dokie80:
Lol. Not even officially announced by the dev
[Kindle Fire Android Development] lovejoy777:
lol. i uploaded before i tested, then noticed the wifi bug:). but forgot to take down the uploaded file. hopefully a new version will be up later with working wifi etc. I was trying linaro unsuccessfully but i noticed big changes to cm sources (which resulted in a broken build) so i had to change it to KFire sources. hence the big mix up. now i don't know if my original linaro changes were the reason i had problems or the changed cm source:( as soon as i get a good full working build done (none linaro) then i will have a go again at linaro.
[Kindle Fire Android Development] Hedied4me:
So far I'm really loving slimkat. Great rom. Anything I can do to make thing slightly more snappier besides overclock and smartassv2.

Sent from my Virgin Mobile HTC Desire 601 cdma zara_cl