yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] hotaru:
decided to give bfs another go... tried to update 7 market apps (including google maps) and got a soft reboot.

logcat looks normal (lots of "failed to find cpu subsys", but that's normal for bfs) up until this:

I/Watchdog_N(30631): dumpKernelStacks
I/Process (30631): Sending signal. PID: 30631 SIG: 9
W/Watchdog(30631): *** WATCHDOG KILLING SYSTEM PROCESS: null
I/Zygote (30625): Exit zygote because system server (30631) has terminated

around the same time, this shows up in dmesg:

<6>[54189.673950] request_suspend_state: wakeup (0->0) at 54189794087686 (2010-10-29 03:01:56.835610612 UTC)
<4>[54189.690795] pmem: can't remap task is gone!
<4>[54189.691162] pmem: can't remap task is gone!

last_kmsg doesn't seem to exist.
[Hero CDMA Android Development] xDragod:
I'd like to know as well.
[Hero CDMA Android Development] theimpaler747:
I'd recommend the battery tweak, but that's correct, no screen off needed :D
[Hero CDMA Android Development] Rivas123:
My battery is running hot, charging, ideling, sleeping, web surfing, just plain hot with #15 stable. And deca batt mod. Any ideas? this didn't happen with #9 and batt mod.

Froyo---Hero---Forbidden Love
[Hero CDMA Android Development] Decad3nce:
Anything leading up to the Watchdog kernel stack dump?
[Hero CDMA Android Development] Decad3nce:
Check your settings. My battery never runs hot..

Let me see your batt-diag

adb remount
adb shell
batt-diag -v > batt-diag.txt

and please paste the contents of the batt-diag.txt at pastebin.com or a similar site.
[Hero CDMA Android Development] hotaru:
just a lot of "failed to find cpu subsys" with that PID.

one other thing... i've noticed adb likes to stop working when the cpu frequency drops too low. it seems to work fine with min set to 352, and doesn't work very well with it set to 176. haven't tried it with 245, but at least with interactive scaling there didn't seem to be much difference in battery life between 245 and 352.
[Hero CDMA Android Development] Rivas123:
my adb remount gives me an error. Happens every now and then, will rebooting my phone change anything in the batt-diag?
[Hero CDMA Android Development] Decad3nce:
yes, everything.
[Hero CDMA Android Development] Rivas123:
Ok, so i'll reboot and if the heat is still there i'll try again and upload it to a site like you said and show you. Thanks.
[Hero CDMA Android Development] Decad3nce:
It may just stem from a process not having the ability to utilize CGROUP(CGROUPS aren't supported by BFS).

I haven't seen any problems with adb with the stable kernel, it might just be a problem with interactive + low frequency = bad ramp up, no power to usb driver, etc. If you can recreate it, then dump a kmsg + dmesg; then I'll be able to see what's happening.

cat /proc/kmsg > kmsg.txt
adb shell dmesg > dmesg.txt
[Hero CDMA Android Development] hotaru:
that sounds likely... the problem is that when system_server goes down it takes everything else with it.

it's with the smartass governor on the bfs kernel... i've been unable to reproduce it now on the stable kernel. might try flashing back to bfs tomorrow to see if i can reproduce it that way again.
[Hero CDMA Android Development] 24601:
BYW, flashed newest BFS (768), and using smartass setting I get the skips in Pandora. Went back to CFS (768) using smartass and no skips (except when the ads runs, ha ha).
[Hero CDMA Android Development] cordell12:
I flashed the new BFS using OC widget set to 768, gov set to interactive, I seem pretty stable :) I set gov to smartass and was only 691 so I echo "768000" and fixed that. It seemed to work fine, my quad score stayed the same as letting OC widget control cpu, 457 :D Though with the smartass I got a bit of delay, may be in my head IDK, lol. I am always quick to flash the latest thing but am just as quick to revert back to where I was before hand. It will take me a few days to choose what gov I will run, it doesnt really matter what way I do go as both are FAST!

Thanks for your hard work!
[Hero CDMA Android Development] cheyennemtn:
Reverting to 691mhz from 768 mhz and running like a bat out of hell.

After applying tweak and rebooting is it necessary to let the battery drain down to any specific % before recharging to get max benefit of tweak.
[Hero CDMA Android Development] fifedogg:
I noticed even though I'm using uncapped 768 #14 it reverts back to 691/interactive when I reboot. This is after I echo 768/Smartass. Is there any way to make it keep those settings or am I just doing something wrong?
[Hero CDMA Android Development] Los Altos:
So in order to test out the smartass govener, do I need to disable setcpu first so that there are now conflicts?
[Hero CDMA Android Development] hotaru:
you can set the governor with setcpu.
[Hero CDMA Android Development] BlaqkAudio:
IIRC, if you just echo, it will revert to 691 upon reboot. You need to have a shell script that sets it to 768 or use SetCPU/OC Widget or the battery tweak for it to stick.
[Hero CDMA Android Development] aaronpoweruser:
If u r using the bat tweak set the max CPU speed in there using bat-conf
[Hero CDMA Android Development] Sodikop:
Ok, I'm at a loss here folks...

I'm running the latest CM6.1.0 RC1 with Decad3nce's #15 CFS kernel, v2.2 tweak and the firerat partition tweak, and now the battery tweak doesn't work.

Before I flashed the new RC1 I had the nightlies running with whatever the latest kernel from deca was plus the partition tweaks and the battery tweak worked beautifully.

Now that I flashed the RC1, I can't get the batt-cfg to pull up.

Flash Order:

RC1 zip

gapps zip

kernel zip

battery tweak zip

firerat boot zip

After letting the phone boot up i then go into the terminal, su and then batt-cfg.

This is what it looks like:

#batt-cfg
batt-cfg
#

Happens everytime, I have wiped cache, dalvik, flashed the zip...all several times in different orders. Re-flashed without wiping anything, and still i get the same thing.

:confused: :( :mad:
[Hero CDMA Android Development] theimpaler747:
Try collin's tweak, works fine for me
[Hero CDMA Android Development] Osirus71:
BatteryTweak-DecaMODv2.2(Collins bat tweek custom)

can anyone tell me the process of using BatteryTweak-DecaMODv2.2??? I downloaded it and installed it via recovery but dont see anything in the app drawer or anywhere else. i didnt want to use setcpu. is this command line based??? any help is appreciated. thanks.
[Hero CDMA Android Development] theimpaler747:
Go to terminal emulator on your phone, and type this in:

su
batt-cfg

Then configure to your likings :)
[Hero CDMA Android Development] danaff37:
Yes, it is command line only. Use terminal.
[Hero CDMA Android Development] CrashV2010:
Dude how many threads are going to ask this, lol !!!
[Hero CDMA Android Development] Osirus71:
thanks everyone for your help. got it! im taking my first step into finally trying to overclock my kernel. using the new 786 cfs. what should i use as my setting with collins if i want to try the 768 speed??? thx.
[Hero CDMA Android Development] theimpaler747:
The 768 default ;)
[Hero CDMA Android Development] dirkyd3rk:
Lol setcpu is great along this kernel to guys check it out Google set cpu xda and it will take you to the xda thread with the latest free version of setcpu for the new guys its alot easier to use than batt tweak especially if you don't know what you're doing
[Hero CDMA Android Development] laie1472:
A Dec batt drain is a thing of the past for me heavy use all night and I'm @ 17 hrs and still have 48% left thanks for the great kernel

Edit Latest BFS # 14

Root-Hack-Mod-Always™
[Hero CDMA Android Development] dirkyd3rk:
Using the latest stable #15 kernel with setcpu and changed scaling from on demand to SMARTASS and I can see a noticable diff plus my quads have gone up a little and all I can say is this cm6.1 is flying wow and call me crazy but I feel like I get better batt life with smartass than I did with ondemand or interactive
[Hero CDMA Android Development] Vandelay007:
What does smartass do that it doesn't need a screen off profile ?

Sent with the xda app using CM6
[Hero CDMA Android Development] BlaqkAudio:
It caps the kernel at 352 MHz when screen is off
[Hero CDMA Android Development] :
Text removed. Apparently I offended someone by pasting information from post #2 in case they hadn't seen it.
[Hero CDMA Android Development] fifedogg:
How do i create the script? I already use oc widget for the 768 setting. I just want it to stay on the smartass governor.
[Hero CDMA Android Development] Vandelay007:
Well aren't you awesome but I asked because it wasn't working on mine....the time 'in state' doesn't increase in the lower speeds unless I keep the sleep profile on....so I didn't know if I was missing something

Sent with the xda app using CM6
[Hero CDMA Android Development] davec1234:
Yeah, not working on yours so entire statement must be wrong. No chance of user idiocy right?

He's not special but you're an arrogant ass.

ROM tbd, who's worthy of a donation?

BFS #14 Decad3nce

Radio 2.42.01.04.27

*Bite me Sprint!
[Hero CDMA Android Development] theimpaler747:
Hey, let's keep it friendly here guys, we're all here to help out.
[Hero CDMA Android Development] Vandelay007:
No, Jack ass, I just didn't know if maybe my phone had some kind of problem...

Sent with the xda app using CM6
[Hero CDMA Android Development] theimpaler747:
Hey, please cool this down guys. Last warning before infractions, deleted posts, and warning PMs need to be issued.
[Hero CDMA Android Development] BlaqkAudio:
Um, nowhere in his post did he say anything about the statement being false. So cool your jets buddy and stop jumping down Vandelay007's throat.

Vandelay007, what's your time in state look like? Using interactive, I get roughly the same times for 245 and 768.
[Hero CDMA Android Development] pwachleman:
Phone idle and cell standby

Sorry wrong thread, way too early
[Hero CDMA Android Development] laie1472:
I've noticed ur set up I think u should flash the batt tweak after you boot up from flashing the rest as in flash everything and reboot then reboot into the rom one final time then flash the batt mod wen I tried using both batt mods I always noticed both mods would cause terminal to not respond and force close @ times versus if I flashed everything and then rebooted twice the batt mods would act fine in my case they slowed my phone down but I know different heroes act differently but if you were able to run one of them without any problem then your good just something to try hope this helps good luck

Root-Hack-Mod-Always™
[Hero CDMA Android Development] theimpaler747:
I've always been able to flash back to back, but if it's not working it's with a try :)

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Android Development] Vandelay007:
Thanks man...

And it acts normally when I use interactive or on demand...but I tried setting it to smartass and removed my screen off profile like the post said and I noticed that whatever the numbers were for time in state in the screen off range I set were not going up...I tried to snap screen shots but shoot me is saying that I need to be sure I have root....but SU says its an allowed app....oh well...

Sent with the xda app using CM6
[Hero CDMA Android Development] theimpaler747:
I didn't like smartass either... slower than interactive and with lockscreen lag for me.
[Hero CDMA Android Development] CrashV2010:
You said smartass, lol !!!!
[Hero CDMA Android Development] theimpaler747:
Hey, that's what it's called!
[Hero CDMA Android Development] CrashV2010:
I know, I thought you were saying I'm trying to not be a smartass... I miss read, lol !!!!
[Hero CDMA Android Development] theimpaler747:
Lol, I see it now :D It does sound conspicuous!
[Hero CDMA Android Development] Tungst5n:
took the most recent kernel of BF with CM6.1. Hero runs like a DREAM!!! Thanks man!!
[Hero CDMA Android Development] GeezyAF:
I'm using BFS #14 and batt tweak.

I was wondering what "Enable CFS Tweaks" did under batt-cfg?
[Hero CDMA Android Development] theimpaler747:
You don't need it if you're running BFS :)
[Hero CDMA Android Development] cordell12:
Question, I am running the latest BFS with latest extremely blue. My wifi downloads are SLOW .7 MB, uploads ate 2.5 MB. If I run the latest CFS my downloads are the same as uploads 2.5 Is this a bug or us it just part of the BFS kernel? How or what can I logcat to submit what will be needed to correct this?

Thanks
[Hero CDMA Android Development] rhotondm:
And if you are running CFS? What do the tweaks do?
[Hero CDMA Android Development] theimpaler747:
They make CFS run more like BFS without actually having BFS
[Hero CDMA Android Development] Vrekk:
But it tends to break your GPS
[Hero CDMA Android Development] theimpaler747:
Actually on the new battery tweaks it doesn't thanks to deca :)
[Hero CDMA Android Development] cordell12:
I dropped down to BFS kernel #13, still have 0.7 Mb for download using wifi. With CFS my download speeds are 2.5Mb. Anyone know why or what is effecting the wifi download speeds in BFS kernels?
[Hero CDMA Android Development] hotaru:
so today i found myself wanting to mount a filesystem image on my phone, so...

# mkdir /data/local/mnt
# mount -o loop /sdcard/fs.img /data/local/mnt
mount: can't setup loop device: No such file or directory

so i did some googling to figure out why that didn't work, and ended up trying this:

# modprobe loop
modprobe: chdir(2.6.29.6-Uncapped): No such file or directory

what do i need to do to make this work?
[Hero CDMA Android Development] danaff37:
I use a loop device to boot debian on my phone, works fine with these kernels. Might need to remount your sdcard as a dev partition though

mount -o dev,remount /mnt/vold/179:1 /sdcard

you might want to df and find your sdcard mount, the 179:1 might be different. And if you have any apps on sd on froyo it will not work either.
[Hero CDMA Android Development] hotaru:
well, that sucks. any way to fix it, short of uninstalling way more apps than will fit on my data partition (even with custom mtd partitions)?
[Hero CDMA Android Development] azr6:
These kernals just keep getting better. Great work! I am getting insane battery life with this new one.
[Hero CDMA Android Development] danaff37:
I didn't mess with it a whole lot, I just uninstalled apps I didn't use anymore. I already had the mtd partition. I think it has something to do with native a2sd and the way it mounts. Each app shows up as a separate mount point when you df. I never went into it, as i don't know a lot about linux, just slowly learning, but I think a2sd is changing the way the sd is mounted.
[Hero CDMA Android Development] il Duce:
hey impaler, you are running deca's batt tweak not collins right? what diff did you notice after switching from set cpu? faster? better batt? both?
[Hero CDMA Android Development] theimpaler747:
Both :) faster with better battery savings on bfs interactive 767-245. Just be aware not all phones can handle 768, so to be safe 710-245 is a good frequency range

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Android Development] il Duce:
ok so here's what i did, removed set cpu, installed newest version of your theme, installed deca's batt tweak, set to this:

underclock

interactive

deadline

batt min 245760

batt max 729600 (highest my phone can handle)

usb min 245760

usb max 729600

ac min 352000

ac max 729600

batt poll 90

usb poll 30

ac poll 15

low batt % drain 15

i have realized that regardless of battery i like speed, i have a charger at my desk, my car, the couch, bedside table, etc... :) any changes you would recommend?
[Hero CDMA Android Development] theimpaler747:
Looks good to me! :) should be fast and still offer great battery life!

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Android Development] Stramondroid:
Download links to the newest kernel is not working, seems like a dropbox issue.
[Hero CDMA Android Development] obsanity:
I have to say I'm impressed with the new stable. I've given up on this kernel some time ago and ran CM6 straight but just flashed the #15 and got the wind knock out of me :D

Here are my settings:

CM6.1 RC1

CFS stable #15

interactive

noop

cfs twaks on

I tried the new smartass but it gave me some lag. I'll try it again in the future but so far I'm lovin this one. I had to do a battery stats wipe because it wouldn't keep charge for too long but now that I did, with juice defender I've been up for 15 hours and have 65%.

I don't really know if I want to load anything else at this point LOL
[Hero CDMA Android Development] theimpaler747:
I agree, lag with smartass, great with interactive :)
[Hero CDMA Android Development] danaff37:
Bfs still good with gps for you? Was running the latest, but noticed a lag of about 30 seconds when using navigation. Updates much better with cfs, and just a small hit to my 3d app drawer fly in is the only difference I can tell
[Hero CDMA Android Development] theimpaler747:
Lag for me was manageable, only about 5 seconds

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Android Development] 24601:
After d/l 6.1.0-RC1, I started noticing considerable battery drain with either latest BFS or CFS. Tried different combinations of tweak, wipe, battery calibration, etc., but no luck. Flashed back to 6.1.0 stock and battery was back to normal use. Then flashed back to nightly #98 and newest CFS and battery and speed are great. After reading many posts here and elsewhere, I am convinced this is not kernel related, but perhaps just a fluke with my particular Hero and 6.1.0-RC1. Anyone seeing similar battery issues, or have luck with a particular 6.1.0-RC1 setup that is battery friendly?
[Hero CDMA Android Development] theimpaler747:
I have great battery with BFS interactive 768-245 all around CM 6.1.0
[Hero CDMA Android Development] :
Define great? I pull about 16 hours without any tweak, CM 6.1.0, and moderate usage. Unplugged at 8 a.m. and am currently at 65% (about 10 hours later)...but haven't used it much today (maybe 10 minutes of talk, 20 minutes XDA App:), 20 txts, 10 mins Facebook).
[Hero CDMA Android Development] theimpaler747:
I'd say with about a full day of little use, I'm at 75-80%, on heavy use I'm still left with 20% or so by the end of the day
[Hero CDMA Android Development] :
Not bad...not bad at all...Maybe I ought to mess again with a batt tweak. Never had much luck on 6.0 though. Seemed to be the same or worse than without it:confused: Oh well. I get a day with my use and charge every night anyway, so anything more would just be...a bouns:D
[Hero CDMA Android Development] theimpaler747:
Yeah, I never liked the tweak, until I tried it with 6.1.0, and then for some reason it started working great
[Hero CDMA Android Development] :
I am flashing it right now...
[Hero CDMA Android Development] 24601:
Impaler, which tweak are you using?
[Hero CDMA Android Development] stayclean:
Dec's version of collin's battery tweak. It's in the second post of the thread.
[Hero CDMA Android Development] METHOD1911:
Impaler what's the difference between the two.
[Hero CDMA Android Development] theimpaler747:
Different CPU scheduling... bfs is faster, but cfs is 100% stable :)

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Android Development] METHOD1911:
Oh no I know lol my bad should have been more precise. I meant Dec batt mod and Collins mod
[Hero CDMA Android Development] METHOD1911:
Im running # 15 cfs working well for me btw
[Hero CDMA Android Development] theimpaler747:
Oh my bad, decamod has more options than Collin's

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Android Development] NewShockerGuy:
Really dumb question I just got done installing Cyanogen6.0 on my phone and the clock is already at 691... does this mean I dont' have to flash the new kernel above? Or if I wanted the faster one I could flash but by default I already have 691... is that right?

Thanks,

-Nigel
[Hero CDMA Android Development] Tungst5n:
it should scale to 691 but that doesn't mean your phone will always run up there @ 691. Without the Kernel flash I was bouncing back and forth between 518, 576, 691, & 768. this is a bit more consistent with the uncapped kernel.
[Hero CDMA Android Development] theimpaler747:
I'm using the decamod tweak :D

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Android Development] srkmagnus:
CyanogenMod is capped at 691 since some phones have problems past that. If you want to clock the phone to 768 max then you need to download one of the kernals in the first post.
[Hero CDMA Android Development] danaff37:
There are a lot more tweaks and features in these kernels
[Hero CDMA Android Development] roninj:
I am using the CFS #11 with CM 6.1 RC1, and I was completely blown away by the performance boost I saw from, well, pretty much every other ROM I have run. Thank you, Dec and the entire CM team!

Quick question, is this kernel intended for CM 6 (or other AOSP) roms only, or can it be combined with any of the 2.1 stock derivative ROMs (such as nfinitefx45)?
[Hero CDMA Android Development] 24601:
Thx everyone for the battery/speed feedback. Seeing how others use their Hero I sense my use may be considered moderate to heavy, and effecting battery life accordingly. I have Exchange Touchdown, and K9 mail both pushing email all day. Usually get @ 100 emails combined, and I mainly use my Hero to read and respond. My text usage and phone usage is light <25 each, and I spend < 1 hour on internet. Still, with 6.1.0 and either kernel, I am only getting 2-3 hours before I am down to 20%. Previously, I could go all day (similar to Impaler) and be at 20% after 12-15 hours. With 6.1.0, I also tried my hand at cooking a circle battery mod with UOTKitchen. Any chance I created a battery "leak" cooking up a circle battery mod?
[Hero CDMA Android Development] Decad3nce:
It'll work fine with any 2.1 ROM. You may have to replace some hardware specific libraries though: like sensors/lights in system/lib/hw/ and just replace them with the ones that come with CM6

It's possible.

Run the dalvik debug monitor system(DDMS) and see what processes are holding up. Something may not be allowing your phone to sleep at all, or it's pegging the processor. Either way, you'll have to debug it yourself; sometimes it's best to wipe and start with a clean slate.
[Hero CDMA Android Development] :
To be honest, my phone doesn't like these kernels :\

Everytime I flash it I get worse speed then with the stock kernel.

The best rom's that run on my phone are Zen EXP and Zen Rom both 2.1 roms, Cyanogen and AOSP are sort of laggy in terms of keyboard, anyone know why ?
[Hero CDMA Android Development] theimpaler747:
Do you use the interactive gov? Also, did you use CFS or BFS?
[Hero CDMA Android Development] xDragod:
Exactly how is DecaMod different from regular battery mod? Also, what are CFS Tweaks?
[Hero CDMA Android Development] :
Used interactive.

Tried BFS, horrible for me, CFS better but nothing as fast as 2.1 roms i've used which were blazing fast. I would stick to 2.1 but I love the features Froyo has and it is quick I just have annoying keyboard lag(I text really quick)
[Hero CDMA Android Development] theimpaler747:
More options, and CFS tweaks are used on the CFS kernels to make them more like BFS ;)
[Hero CDMA Android Development] theimpaler747:
Try ondemand governor if interactive doesn't work well
[Hero CDMA Android Development] Etrick:
Installed 6.1 over 6.0

Flashed dalvik.

Kernal 15 cfs

Decades battery mod from post two over Collins install.

Set interactive and used the settings you guys are recommending and other than slightly slower loading of launcher this makes my eyes bleed. Holy $#/+ this is quick. All bugs I knew of are fixed and loading photos and gallery is beautiful and instantaneous. Amazing... *sobs* thank you...

Edit: read that slower load only on boot, running 3 home screens with about 50% capacity of Widgets/icons. From sleep its instantaneous and reboot still seems quicker may be why its slow is I'm watching more of reboot.