yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] CrashV2010:
Cd C:\android-sdk-windows\tools

adb remount

adb push ramzswap.ko /system/lib/modules/2.6.29.6-cyanogenmod

Edit : You have to take the file out of the zip and put it into the tools fold for sdk.

To enable swap, go to cyanogenmod settings, performance, enable compcache. Then to see if it's working, go to terminal emulator, tupe su, free, and you should see swap come up. If there are zeros next to it, it's not working. If there's numbers next to swap, it's working.
[Hero CDMA Android Development] theimpaler747:
And your sd card has to be partitioned for swap to work.
[Hero CDMA Android Development] startak11:
seriously you rock, thank you sir.

worked perfectly.
[Hero CDMA Android Development] startak11:
wow thank you so much...

in the span of 2 hours my phone increased quickness by 100% at least.

so so so smooth...thanks impaler for perfect directions...

I don't know what those weird numbers mean after I typed "free"....but they showed anyway and it seems even snappier.
[Hero CDMA Android Development] theimpaler747:
Glad we could help :D
[Hero CDMA Android Development] CrashV2010:
What he said, lol !!!!
[Hero CDMA Android Development] theimpaler747:
No problem, and all those numbers are is the amount of memory in mb that the swap partition is using
[Hero CDMA Android Development] startak11:
now if i can get a stable cyanogen mod on my wife's incredible with all these tweaks...
[Hero CDMA Android Development] nspot:
I love how no one bothers to read instructions anymore.
[Hero CDMA Android Development] startak11:
Thanks crash!!!
[Hero CDMA Android Development] Vandelay007:
I went back to #14....could no get a lock on GPS with #8
[Hero CDMA Android Development] theimpaler747:
Did you download GPS status and clear out the GPS caches?
[Hero CDMA Android Development] laie1472:
Sup Impaler a wanted to know if u knew what the DIAG enable meant on this kernel

Root-Hack-Mod-Always™
[Hero CDMA Android Development] hotaru:
it's the qualcomm diagnostic mode, so you can use things like cdma workshop and qpst.
[Hero CDMA Android Development] hicdub:
Thank you so much! My hero is balls fast now! This totally got rid of that super annoying lock screen lag that was driving me crazy.
[Hero CDMA Android Development] brokentoaster24:
Also try rebooting, fixed it for me :)
[Hero CDMA Android Development] OmegaBlaze:
When i type this into terminal emulator i get "tupe: permission denied"

when i do it under super user..

i get: "tupe: not found"

what am i doing wrong?
[Hero CDMA Android Development] Decad3nce:
I think he mispelled 'type'.

In terminal emulator:

su
free
[Hero CDMA Android Development] OmegaBlaze:
Thanks!

But there are zero's next to swap= /

edit: not anymore.

i turned the compcache off and then back on.
[Hero CDMA Android Development] theimpaler747:
+1 what he said about diag mode :)

Sent from my HTC Hero running froyo: take that, Sprint!
[Hero CDMA Android Development] Vandelay007:
I downloaded it but I don't see where to clear the GPS cache
[Hero CDMA Android Development] usnret04:
Thanks for that tip, I've uninstalled OC Widget.

What I have done so far is go into the terminal, batt-cfg and selected #1, "revert to 768mhz defaults and exit".

Is that all I can do? Sorry for the questions, I wish there was a noob wiki to refer to.
[Hero CDMA Android Development] LifeInTheGrey:
Menu => Settings => GPS & Sensors => Manage A-GPS State => Reset

That is enough for the basic user. However, if you wish to delve deeper, you can set your own frequencies for each category. I believe that even on 768 you are only at 691 when on battery power (768 is just for charging), so if you wanted to boost that up you could do it there. You could also regulate the total % of reduction it performs (defaults to 33). For all intents and purposes, however, that setting is fine.
[Hero CDMA Android Development] Vandelay007:
No luck on a GPS lock even after this
[Hero CDMA Android Development] fifedogg:
What are your guys best battery saving settings without hurting performance too much. I felt like it slowed my phone down and the battery wasnt lasting any longer... I tried the regular 768 and tried tweaking it myself.
[Hero CDMA Android Development] revcp:
Problems running anything past #11 stable

Decad3nce,

Thought I would give you an update on my inability to run anything past #11 stable. I formatted a new card and switched out sd cards to make sure that the card was utterly "clean". I flashed CM6 and booted fine. I then flashed #14 and then latest BFS. Neither worked. So there is something about the hardware of my phone that won't allow anything past #11 to boot. Think I'm just unlucky, or is there something about the kernel? Right now I'm running CM6 with #11 stable. Using your battery tweak and OCd to 748. I do have some stability issues when I try to run at 768 in case that's helpful.
[Hero CDMA Android Development] theimpaler747:
Wipe your davlik-cache and then flash the kernel, that works for some people who have problems booting.
[Hero CDMA Android Development] revcp:
I've tried that at least a dozen times. It really is confounding. I had no problems at all through #11 stable and then hit a wall with everything after that. There's something about the kernel post #11 that just doesn't work with my phone. All of my experience with this stuff is experiential, so I wouldn't have a clue what the problem is, but everything before and including #11 will flash and boot just fine, nothing after it will boot. I get stuck every time in the HTC boot screen.
[Hero CDMA Android Development] CrashV2010:
10 hrs of work, started this morning at 6am and done at 4pm.... Guess what I'm still with 74 percent battery left... But I didn't have gps or 3g on. But I'm still like omg.... Question, in your battery tweak....when you select option 1, the 768, does that scale down as well ?
[Hero CDMA Android Development] theimpaler747:
Yes it scales from 691 to 245, those are the default #1 ranges.
[Hero CDMA Android Development] Decad3nce:
It scales in whatever range you set it to; between your min and your max for on battery settings.

HOW it scales is controlled by your scaling_governor.
[Hero CDMA Android Development] CrashV2010:
So, another words, you are prefixing us up with the custom tweak, with even the the presets... Awesome !!! Great work. 10hrs, with 74 % left, WOW !!!
[Hero CDMA Android Development] Decad3nce:
I've switched toolchains/build environments in that time. Other than that, I couldn't think of any reason that you wouldn't be able to flash anything past #11.

Do you have any themes? Any kind of mods?
[Hero CDMA Android Development] revcp:
No themes or mods. At least as far as I know! I'm using an ADW theme, but that shouldn't matter, right? Other than that I'm using the battery tweak, but that "lives in" the kernel, right, yes?

Like I mentioned, this morning I flashed a freshly downloaded CM6 from a formatted sd and flashed #14 and the latest BFS right on top of it and nothing. When I flashed #11 on top of the same it booted right up.
[Hero CDMA Android Development] Decad3nce:
Makes no sense.

The changes from #11 to #13:

.31 scheduling updates from Ninpo, which should just increase the performance/stability of the kernel

Reverted from noop i/o scheduler to deadline.

I STILL think that the addition of ext3 and ext4 is somehow involved in this.

If you want to help me run a test, try flashing #9 stable kernel.

If it doesn't boot, then i/o scheduler isn't the reason; and it nearly confirms that ext3 and ext4 support is involved.

If it does boot. Then I'll throw up a version of the latest stable with noop i/o sched as default.

Regardless, I should start making 691mhz versions available. I will once I'm not as busy.
[Hero CDMA Android Development] Dono74:
I would be iinterested In a 691 version of the newest bfs version as well. I can't seem to get much higher than 710 without instability issues. So 691 would be fine. Thanks Dec for all your hard work!
[Hero CDMA Android Development] revcp:
I'll run those tests tonight.
[Hero CDMA Android Development] revcp:
#9 just flashed and booted as beautifully as #11 always has. Now to prove to myself that I'm not insane I will try straight away to flash and boot with #14. OK then, stuck on HTC boot screen with #14.
[Hero CDMA Android Development] Vandelay007:
An help would be great... can't seem to get GPS on anything now....tried bf 8 with and without ramzswap, tried the version that wipes cache and the one that doesn't... nandroided back to #14 with no luck...

Hoping I don't have to nandroid back to sense to get a lock because I'm using mtd partition and would have to edit the mtd file and load it all over again...
[Hero CDMA Android Development] theimpaler747:
Once on the #14 kernel, do the gps status trick. I know you said it didn't work before, but now that you're on a 100% stable gps sourced kernel, it should definitely work. Let me know how it goes :D
[Hero CDMA Android Development] Escanor2010:
So, I've been having issues with Pandora and I think I know the cause. Anytime I have Pandora running in the background, screen off, it periodically skips/lags for a second or two. If I activate the screen and unlock w/ a menu menu it lags hard for about 3-5 seconds. If I let it sit and auto screen off+lock it lags once the screen shuts off.

I am running 9/22 nightly w/ BFS #8. Everything else about the phone is snappy and responsive. My SetCPU Settings are as follows:

Main:

710/245 Interactive

Profiles:

Screen Off: 352/245 Interactive

Battery <50%: 595/245 Interactive

I've tested this on a fresh reboot with lots of RAM available and with all my scaling set to OnDemand on a fresh reboot. Still get the same thing happening, question is if it's the kernel or the nightly. Tested on both decent strength 3g and Wifi.

Thoughts? I think I'm going to flash back to stable #14 and give it a shot.
[Hero CDMA Android Development] Vandelay007:
No luck my friend, unless I should try to restart after clearing it?
[Hero CDMA Android Development] theimpaler747:
You can try, but it really should work... if it doesn't you'll have to do the fresh trick :(
[Hero CDMA Android Development] rhotondm:
Okay I have probably a stupid question. I am running the 9/22 bfs kernel. And I flashed the decad3nce battery tweak. Is there anything else I need to do in order to keep this running properly? I have seen that some people are using oc widget as well. Should I change the CPU governor or is it set to interactive by default?

Sent from my Hero running CM6 Froyo BFS.
[Hero CDMA Android Development] theimpaler747:
Don't use any OC widget with the battery tweak, as they'll conflict and lead to problems. I've found interactive to be slow and laggy for me, but if you want to change it to interactive, there's an option in decad3nce's modded tweak that can do that.
[Hero CDMA Android Development] Escanor2010:
Reverted back to BFS #7. Same deal.
[Hero CDMA Android Development] theimpaler747:
What's happening?
[Hero CDMA Android Development] rhotondm:
Thanks Impaler. Everything is running pretty darn good right now. I will just leave it as is.

Sent from my Hero running CM6 Froyo BFS.
[Hero CDMA Android Development] Escanor2010:
Quoted for you impaler

My install of 9/22 + BFS #8 was totally fresh by the by.

Simply just trying and uninstall, reboot, install of pandora again atm.
[Hero CDMA Android Development] theimpaler747:
No problem, happy to help. Let me know if you need anything else :D
[Hero CDMA Android Development] theimpaler747:
OK so here's what I'm thinking. Since you're running the interactive gov, which ramps up the cpu based on UI interaction, pandora is not receiving the needed cpu, and therefore is not working properly. Try switching the gov to ondemand for me, and changing the screen on min to 610, and the screen off max to 480. Let me know how it goes. Do you have JIT on by the way? If you do I would consider turing it off, as I believe Deca is right, it doesn't help enough to justify ATM.
[Hero CDMA Android Development] Escanor2010:
Settings changed, in middle of rebooting. I am not running JIT, i've seen it discussed and decided to give things a shot without it. Haven't noticed a difference off/on so leaving it off from now on. Only thing I change in the tweaks is to turn off screen dithering.

-edit-

Well, with those settings it is not lagging anymore. It's weird though, I guess it could've been related to my prior setup. I was on 9/20 with Stable #14 and my original setcpu settings and had no lag issues.

I'm going to try scaling back the governors a bit and see if i start encountering it again.
[Hero CDMA Android Development] theimpaler747:
Ok let me know how it goes, if that doesn't work we'll go from there.
[Hero CDMA Android Development] Escanor2010:
So, it would appear the minimum I can go without skipping/lag in Pandora with this combo of ROM/kernel is:

Main: 710/352

Screen Off: 480/352

Both OnDemand.

Earlier builds and stable #14 I could do:

Main: 710/245

Screen Off: 352/245

Interactive or OnDemand

Interesting indeed.
[Hero CDMA Android Development] theimpaler747:
But you could eventually get it to work with my settings?
[Hero CDMA Android Development] Escanor2010:
Yes sorry,

I set it to what you suggested and it worked fine. Then I tried backing down the juice minimums some, no bueno. Where I'm at now on Screen On/Off is most stable I can get it for pandora.
[Hero CDMA Android Development] theimpaler747:
Well at least it works now right? :D
[Hero CDMA Android Development] Escanor2010:
Indeed!

Course I'm a tinkerer so I'll probably have the next nightly build on here soon with BFS #8. I think I'm going to start doing weekly updates everything thursday provided the build doesn't fail, I know a big issue right now is the camera being borked but I don't ever use it.
[Hero CDMA Android Development] theimpaler747:
Well the newest nightly for tonight fixed the camera anyways, so you're good to go :D
[Hero CDMA Android Development] Escanor2010:
Well that works then! Is the Gallery still borked?
[Hero CDMA Android Development] theimpaler747:
Yup, still no fix for that yet.
[Hero CDMA Android Development] Decad3nce:
Will have one up tomorrow! Don't make me forget! @Decad3nce

The I/O shed does seem to be the thing affecting you. I can either put up a 691 version of the stable #14, or I can put up a noop i/o sched based.

I'd rather put up 691 version as it's more likely to work.

Interactive and BFS don't get along. They never have. Thats the reason I have the defaults in my batterytweak set to ondemand.

Impaler is mostly right, without all the technical terms. I explained it somewhere earlier in this thread.

It's set to "ondemand" in my defaults. BFS and Interactive don't get along atm.

If you're running the stable kernels though, definitely use Interactive as it saves battery life. :D
[Hero CDMA Android Development] Escanor2010:
Nice thanks for the info Deca!
[Hero CDMA Android Development] xzjn9p:
I rarely post, but I have been flashing cm6 from day one. I just wanted to say that the 9/22 BFS kernel is bad-ass. GPS is serviceable but does get stuck while driving. If BFS and GPS ever fully work together, I think I'm done flashing the hero.
[Hero CDMA Android Development] Vandelay007:
Hey Bro -

Yeah - it turns out the fix was the one we kinda both knew I had to do to make GPS work again - loading fresh - getting a lock and loading cm6 back up -

I think this is the only downside to using firerats custom mtd partitions! I love having tons of extra space - I just have to go in and edit the mtd file - and reboot into recovery after flashing his recovery patch - if you didnt have to boot into recovery before flashing your nandroid and the boot.zip patch it would be great!

Thanks man!
[Hero CDMA Android Development] uf20wop:
just wanted to say the ramswap w/BFS kernel is awesome!

before my phone would get bogged down while listening to pandora/last.fm etc and trying to do anything else

now it doesnt get nearly as slow while multitasking, love it!
[Hero CDMA Android Development] Pwn3d:
New to kernels :/

How do I flash it?

Do I just place it on my SDCard and flash the .zip?

This is my first time flashing a new kernel...

I downloaded this: "adnan@Decad3nce #9 (NO CACHE WIPE) (DIAG FUNCTION ENABLED)"

Help please >_<

I'm on a:

ROM: CyanogenMod v6.0.0

DEVICE: HTC Sprint CDMA Hero

<-- n00b
[Hero CDMA Android Development] aaronpoweruser:
yea

10 char
[Hero CDMA Android Development] Vandelay007:
Yeah, you just flash it from recovery just like you would do with a rom....but remember to make a nandroid first!
[Hero CDMA Android Development] theimpaler747:
No problem, glad we could get it working in the end :D
[Hero CDMA Android Development] Decad3nce:
There's still one huge bug that we'll experience in all these kernels until we port to .32-.34:

http://gist.github.com/593394

I mean, I could try to backport the cgroup changes, but that would be almost as daunting as porting our board files to .34

EDIT: Also will be unable to compile 691 versions today. My apologies. I haven't slept for 3 days and I finally just decided to get off my meds and crash all day today.
[Hero CDMA Android Development] scmastertech:
I am having problems also with wireless tether. I have tried the same versions as you and I keep getting an error of "Not Root". I have

cm6.0, the #8 Kernel and battery tweak. What am i missing? Its been a while since I used wireless tether (it has worked before both versions) but needed it earlier today and couldn't get it to work.
[Hero CDMA Android Development] theimpaler747:
How's the .32 port looking? Has there been some progress on it recently?
[Hero CDMA Android Development] bravo1565:
Alright guys I'm new when it comes to kernals I'm running cm6 and would like I to be fast what would be recommended what kernal I also heard something about ramswap? clueless what that is
[Hero CDMA Android Development] theimpaler747:
I would use the #8 bfs kernel. To be honest, I would ignore the ramzswap unless you has a class 6 SD card :D

Sent from my HTC Hero running froyo: take that, Sprint!
[Hero CDMA Android Development] xxproblemzxx:
I've been using the stable kernels so this will be the first time I've used bfs. Should I flash the cache wipe one? Or the no cache role?

Sent from my CM6 Sprint Hero. Got a problem with it?!
[Hero CDMA Android Development] theimpaler747:
If you have some time to spare, the cache wipe one. If you need your phone right away, just flash the no wipe.
[Hero CDMA Android Development] xxproblemzxx:
Thanks man. Did the no wipe and its being a lil janky. I'll try the wipe one when I get a chance

Sent from my CM6 Sprint Hero. Got a problem with it?!
[Hero CDMA Android Development] theimpaler747:
Ok, let me know how it goes
[Hero CDMA Android Development] tigerbalm76:
how do i enter quick DIAG mode? i flashed #9 kernel but ##DIAG# doesn't do anything.
[Hero CDMA Android Development] theimpaler747:
I believe you need to install CDMA workshop first.
[Hero CDMA Android Development] nspot:
Is CDMA workshop integrated into Stable #14? Or is deca still working on it?
[Hero CDMA Android Development] Decad3nce:
I'll throw up some revisions in a second. Been slackin'
[Hero CDMA Android Development] theimpaler747:
Hey nice to see you back man, did you enjoy your non-developing day? :D
[Hero CDMA Android Development] theimpaler747:
Not yet, Deca's on it though
[Hero CDMA Android Development] Decad3nce:
Okay, dropped 3 kernels. Razswap modules will be up soonish.. i think.
[Hero CDMA Android Development] theimpaler747:
Awesome, flashing #10 BFS now!!!! :D
[Hero CDMA Android Development] CrashV2010:
CFS stable #2 works great !!!

Also : 5.2 linpack / 430 quad
[Hero CDMA Android Development] theimpaler747:
I'm so hooked on BFS now, I can't even try CFS anymore :p
[Hero CDMA Android Development] CrashV2010:
Question, for the new bfs- since they are both capped at 691, with your battery tweak.... Will the 768 default option still work while you are plugged in either ac or usb ?

Or is the capped 691 for the people that can't get over a higher Htz.
[Hero CDMA Android Development] theimpaler747:
Well only one is capped at 691, the other is still 768.
[Hero CDMA Android Development] Decad3nce:
They're not both capped. There are two versions.
[Hero CDMA Android Development] CrashV2010:
Oh my fault, sorry !!!
[Hero CDMA Android Development] hotaru:
echo 11>/dev/qct_diag_enable

it won't show anything on the screen, but adb should stop working for a second or two.

if you're unable to connect with cdma workshop or qpst, reboot and try again.
[Hero CDMA Android Development] CrashV2010:
I have been Brain FU#%ED !!!
[Hero CDMA Android Development] Decad3nce:
Can someone report back on if the wlan.ko modules load correctly in the two latest BFS releases?

Just enable wifi, if it fails, i need to compile new ones.
[Hero CDMA Android Development] theimpaler747:
Lol me too
[Hero CDMA Android Development] theimpaler747:
Wifi working 100% fine for me, great kernel once again :D
[Hero CDMA Android Development] CrashV2010:
This wipps, like no tomorrow... GREAT WORK !!!

Also : This made my phone boot up so much faster ( BFS #10 )
[Hero CDMA Android Development] CrashV2010:
And the camera works, lol !!!!
[Hero CDMA Android Development] theimpaler747:
Mine too, boot-up felt like it took about 30 seconds.
[Hero CDMA Android Development] Decad3nce:
That's because there's no cache wipe on the BFS kernels. Since it tends to corrupt more often when rebuilding dalvik. Not sure why yet. I still recommend a dalvik wipe after you flash the kernel, but it's not a necessity.
[Hero CDMA Android Development] CrashV2010:
Na, more like 10 secs man... This is something else... Probably said this before !!
[Hero CDMA Android Development] theimpaler747:
Ok may give that a try
[Hero CDMA Android Development] theimpaler747:
10 seconds? I don't think that's possible lol
[Hero CDMA Android Development] CrashV2010:
With this dude, called deca, anything is my friend ....
[Hero CDMA Android Development] theimpaler747:
Well I won't argue that: I want to thank you Decad3nce for amazing work yet again. Anyone who runs CM6 should run these kernels.
[Hero CDMA Android Development] Decad3nce:
Ramzswap modules up. Deca out.
[Hero CDMA Android Development] theimpaler747:
Have a great rest of the weekend man! Thanks for those :)
[Hero CDMA Android Development] Vandelay007:
Impaler,

Is bf8 really that much better than stable 14? I loaded ramzswap on 14 and go my GPS to work by getting a lock on sense and flashing back to cm6...

Was thinking of trying the sense trick with bfs if it is really worth it
[Hero CDMA Android Development] theimpaler747:
If GPS is working on the stable, you should be able to flash BFS and still have your GPS lock. IMO, BFS is about twice as fast as CFS, and I get a GPS lock in about 3 seconds, so I'm happy with it :D
[Hero CDMA Android Development] CrashV2010:
Nan isn't working too well, it stops at backing up Cashe... With BFS-#10
[Hero CDMA Android Development] theimpaler747:
Cache? On GPS?
[Hero CDMA Android Development] CrashV2010:
Ya your nandroid backup.... it stops at backing up Cashe.. Sorry..
[Hero CDMA Android Development] theimpaler747:
On what recovery? I had that happen to me on clockwork, that's why I use Amon 1.7 RA darchstar edition :D
[Hero CDMA Android Development] CrashV2010:
So, I just put that on my phone too....
[Hero CDMA Android Development] theimpaler747:
Here's the 1.7 file so you can redo it. Make sure you unzip it first.
[Hero CDMA Android Development] TP2DH1:
RC2 & Deca BFS #10 with a 691 cap is working good.

Seems it could go 24 hours + with moderate usage.

Yesterday after 12 hours.. an hour of phone calls, screen on for almost 2 hours, texts, emails & GPS testing it was 50%..a winner in my book!

Main unnecessary batt drain is with Beautiful Wigits & GPS. Have BW set to sync weather by GPS every 3 hours. Noticed BW uses the GPS to get an exact GPS. As soon as the GPS turn on to receive it finds the city I am in & updates the temp almost immediately. After that the GPS stays on until it receives a final fix.

Wondering if there is a way when BW wants GPS access to allow it 10 seconds then shut off, only when BW wants GPS? Enough for it to see 2-3 sats & get maybe a 5,000 meter fix..just to narrow down which town its in.