yashsingh1/xdaforums huggingface dataset:
[Captivate Android Development] TimF:
Does nandroid Backup and restore at the kernel level? If I decide to flash to a different kernel, can I revert by restoring from a previous backup?

I have yet to flash any kernels to my phone, mainly because it is my only phone and I don't want to screw it up and have to spend hours fixing it. If nandroid will restore the kernel then I will probably start playing around with the kernel stuff.

On a side note, is there any way to debug on the kernel level?
[Captivate Android Development] Clienterror:
Hey Unhelpful, is the kernel in the OP the 1.1 or the 1.0 still? Didn't know because it was the same file....or you named it the same thing? And post a donation link damn it lol.
[Captivate Android Development] IStern:
usb debugging now preserved across reboots! thanks dude!
[Captivate Android Development] mostyle:
I'm there with ya on this. I'm looking through Unhelpful's github in the kernel directory. Would really appreciate a PM if you find the solution.
[Captivate Android Development] moosefist:
how bad is the decrease in battery life from running at 1.2? I am curious to try it, but with how often I am talking on the OC I am worried it will make my phone die to often.
[Captivate Android Development] Unhelpful:
It would be in the initramfs - look in usr/initrd_files.
[Captivate Android Development] Unhelpful:
No, I just hadn't attached v1.1, and so there was only the mediafire link for it. I've now attached v1.1, and have the attachments as well as links at mediafire and github linked for each version along with the source. I hope that makes things clearer, and if there are no complaints I'll just keep it that way in the future.
[Captivate Android Development] Unhelpful:
Higher clocks are only used as needed - unless you change the settings your CPU will drop to 100MHz when idle, even if 1.2GHz is enabled. The frequency is adjusted by the CPU governor, which steps the speed down to the next lower step when load is low enough, and steps up to a higher step based on a table when load is too high. Using a table rather than simply using the next highest step seems to be a change that Samsung made to the conservative governor. I have modified the table to speed up rather quickly from low speeds, but that is probably going to be obsoleted when I get the interactive governor merged. :)
[Captivate Android Development] Clienterror:
Thanks a bunch :-)
[Captivate Android Development] Haloruler64:
Sorry for asking a stupid question, but how do you make the init.d folder? Im in /system/etc in Astro and the "New" button is grayed out. How do I make this folder?
[Captivate Android Development] Clienterror:
Its not stupid, if you asked how to get into download mode I'd call ya names :-) you need to download "root explorer" off the market. Astro doesn't let you play with system stuff but root explorer lets you do anything.
[Captivate Android Development] Haloruler64:
Thank you so much! I know how to get into download mode :P but I made the folder and dropped the OC script in it. How do I know if the overclock is running? Any good system info apps?
[Captivate Android Development] Unhelpful:
It also needs executable permission. This is really much easier to do with a root shell over adb than even with root explorer.

If you open SetCPU it will show the current limits.
[Captivate Android Development] Haloruler64:
I threw the script in, and restarted my phone. Ran Quadrant, got 776 (Stock ROM, no lagfixes). Says i have a max/min of 1200/100 like its supposed to, but why the low score? I used to get over 1000 with AJermans kernel. Am I doing something wrong?

EDIT: How do you do executable permissions with adb?
[Captivate Android Development] Unhelpful:
[chshrcat@alice ~]$ adb shell
$ su
# chmod 755 /etc/init.d/E00_cpufreq

I'm starting to rethink the executable requirement. I wanted to allow for alternate interpreters, instead of just the system shell, but it seems that this is more than a little hassle for users, and all of the scripts so far can do everything they need with the system shell.
[Captivate Android Development] Haloruler64:
Im sorry, I have really no clue what this means. With the beginning and the $ signs...
[Captivate Android Development] Unhelpful:
In that case, root explorer is probably easier for you. I find the command-line approach easier.
[Captivate Android Development] ace518:
Could you put the version number/date of your kernel in the thread title... I wouldnt want to miss a release but might not want to open thread every time they're is a new post... That would be quite helpful :-)

Sent from my I9000 (don't tell it that it's really a captivate)
[Captivate Android Development] TheTodFather:
I think you answered my question about future plans that you where developing.

An interactive governor as compared to a table that you tweaked to ramp up speed in the lower 100-800 mhz.

What exactly would a dynamic governor do as far as performance, would it be made for conserving energy?
[Captivate Android Development] networkdood:
adb shell lets you run apk files move (mv), copy (cp) files and other functions, once your are in the shell you type su to obtain superuser access to let you fool around with the more sensitive items that a noob may mess up by accident...lol....chmod changes permissions which are huge in linux/UNIX. I would advise to google linux commands and familiarize yourself. That 1 symester course on linux back in 2002 is now coming in quite handy :D
[Captivate Android Development] shaolin95:
Excellent reply mate! Thanks a ton for this.

I guess I will be reflashing this later tonight. :D
[Captivate Android Development] Haloruler64:
Thanks a lot for the info. Can someone post instructions for a noob to set the permissions for the script? I'm really confused. Im dual booting Windows and Linux BTW
[Captivate Android Development] Clienterror:
Glad I can help ;-)
[Captivate Android Development] IStern:
busybox chmod a+x <your init.d script>

gives everybody execute perms on your script
[Captivate Android Development] ewingr:
Better Battery Life?

I have a buddy that is using a ROM from XDA somewhere with Android 2.2 and the undervolting, as well as playing with settings in SetCPU and getting great battery life.

I posted about that, and got pointed to this thread. I expect I'll be using this when I get my Captivate again (waiting for the GPS fix).

I'm curious if anyone here has seen battery life improvments that you ahve measured. FYI...my buddy's 2.2 HTC HD was at 24 hours, 15 minutes when he stopped by, and had 58% battery still left.

[EDIT]

I just realized that my buddy's ROM has undervoltage. Unless I missed it, this ROM is not offering that.
[Captivate Android Development] Unhelpful:
This is only a kernel, it doesn't change any of the applications, so you will still have 2.1. UV is on my to-do list but I.m already working on a few other things. I want UV to be configurable at runtime because I'm sure there will be some differences between phones as to how low we can go.
[Captivate Android Development] ace518:
keep up the good work man. The 1.1 kernel fixed the issues with settings resetting for me. Really loving the work you are doing.
[Captivate Android Development] ewingr:
Understood.

I'm still waiting for them to fix the GPS before I re-purchase a Captivate. Once I do, I'm interested in a good ROM such as you are doing, along with the UV. Given what my buddy is seeing on battery savings, I'm wanting to replicate that.

I presume when teh GPS fix comes out, you will be incorporating that as well.

From what I'm reading, you are doing great work.

On another topic...I'm sure you've heard this before: first time I saw something about your (someone referencing your good work in another thread), I was bit confused about them calling you 'Unhelpful' :p
[Captivate Android Development] Clienterror:
Might be waiting a while. If these "Beta testing roms (JH2/JH3)" are any indication of how far they've come in fixing GPS it's pretty pathetic IMO.
[Captivate Android Development] ewingr:
Yep. Although based on the date on those (I think both are actually dated in July), they may be debug ROMS before they even started much on GPS. Can only hope.

But...we're veering off topic...But anxiously waiting.
[Captivate Android Development] DJGonzo:
Does anyone know if 1.28GHZ is possible now on the Captivate?

It is possible on the Galaxy S now: http://xdaforums.com/showthread.php?t=743782
[Captivate Android Development] Clienterror:
Omg that's smexy.
[Captivate Android Development] Zilch25:
That extra 80mhz could net you TENS of points in quadrant! :D
[Captivate Android Development] DJGonzo:
:p There, I fixed it for ya.
[Captivate Android Development] Clienterror:
Dude! My friends droid x only gets 1100 in quadrant and I get about 2500 (screen shot) *cough* so OBVIOUSLY my phone its over 2x as fast right? It was hard keeping a strait face while swyping that lol.
[Captivate Android Development] Zilch25:
Here's a leaked screenshot of the 1.28Ghz OC...

:D
[Captivate Android Development] Clienterror:
Rofl, I think it needs a zero on the end.

*edit*

Do wait at 3000+ is it SO responsive that it does what you want before you even touch the screen?
[Captivate Android Development] Fortune090:
Lol. Good point. ;) I'm getting ~2000 and it's already pretty much instantaneous... But still, why run at only a fraction of what this phone really can?

Sent from my un-Craptivated Captivate.
[Captivate Android Development] cowballz69:
im a little confused on how to update to the new kernal, what tool do i need to build it to a 7z so odin can recognize it?
[Captivate Android Development] designgears:
haha, wish I would have known I could have done it that way
[Captivate Android Development] ace518:
Hey design, you building this into your sre?? :-)

unhelpful, good work as always... Thanks for putting the version in the header

Sent from my I9000 (don't tell it that it's really a captivate)
[Captivate Android Development] Unhelpful:
You don't need Odin at all! Use the "install zip from sd card" option in ClockworkMod recovery, your screen will show some garage for a bit, and you're done!
[Captivate Android Development] maerlim:
Unhelpful, if we're not doing any OC'ing with kernel v1.1, does v1.2 add/fix anything?
[Captivate Android Development] Unhelpful:
The interactive governor is probably not quite right for us yet, btw. It no longer hangs my phone in sleep, but it sometimes gets stuck @ 100MHz. I was able to recover by changing governors, but that can be a chore @ 100.
[Captivate Android Development] raspdeep:
hi unhelpful, can u create a patch file for v1.2?
[Captivate Android Development] IStern:
Playing with the phone on interactive now. Wow! It has never been this responsive 8) Haven't noticed the stuck at 100mhz bug yet...
[Captivate Android Development] Unhelpful:
The bugfix applies even if you're not overclocking, but I think it might need some work, as I suspect it may now be possible for the phone to be set to 1.2GHz on waking from sleep even if the governor is capped at 1GHz.
[Captivate Android Development] maerlim:
I'll wait then. :)
[Captivate Android Development] SSJ4Gokou:
Im new to all of this android stuff so sorry for the noob question. I am running JM5 and SamSet 1.9f. Do i have to flash back to stock JH3? Then flash to JM6? And how do i flash the this kernel? Open the Zip file and extract the zimage and flash the zimage file?

Thanks!
[Captivate Android Development] smokestack76:
:D There ya go
[Captivate Android Development] xan:
I think its worth reposting here (if not - correct me):

This is on Raspdeep's kernel, IDK if he and OP cooperate on this matter, but this info might be useful for you Unhelpful too.

Especially when it comes to GPU-part. IDK if its scaling with CPU clock, but these results might indicate that.

1)It might be our graphic is CPU-limited kinda like on PC system,

2)I got freezes @1.2Ghz (no matter raspdeep's kernel or ur 1.1) @ asphalt and QIII and 100% stability doing any other thing, I suspect instability is GPU related.

3)And finally Quadrant's graphic benchark could be more CPU than GPU intensive (no freezes there!)
[Captivate Android Development] phr00t:
I am having the same problem.. I am using JM6 and I would like to use these kernels... however, trying the update.zip method just gives me an "installation aborted" error with the i9000 ROMs :(

I could install this kernel fine using Odin, but now I don't know how to use Odin with the ZIP format... :( I tried tarring up the zImage file, but it wouldn't flash :o
[Captivate Android Development] tzones:
Hi,

I am running the SRE v 1.2.1 which includes the kernel over clocking to 1.2GHz which I don't want to use on day to day uses. Is there a way to disable this overclocking feature other than running setCPU? I am running Ubuntu and I remember seeing somewhere about removing a script from /etc/init.d...Can you post that procedure?

thanks

TZ
[Captivate Android Development] Clienterror:
I had the same issue with JH3, then I used clockwork to flash it and it worked. So try to flash in clockwork and see what happens.
[Captivate Android Development] Unhelpful:
They are not signed, so the stock recovery will not flash them. You really should have ClockworkMod installed anyway to do backups before you try these kernels...
[Captivate Android Development] smokestack76:
Just nuts how many pointless post i read in here. Lmao...oh wait here is another one :-(
[Captivate Android Development] Zilch25:
Is someone paging me? I heard the words "pointless post".

To contribute, flashed it in with clockwork and it's running beautifully, nice job Unhelpful :D
[Captivate Android Development] Clienterror:
Actually I'm the king of pointless posts, just to make that point.....Up Up Down Down Left Right Left Right B	A Start.

The new "interactive" option is running smooth as butter man. Out of curiosity was it getting stuck at 100 mhz on certain apps or was it totally random?
[Captivate Android Development] cachookaman:
so how exactly do i upgrade to the newest version? im currently running the I9000 JM6 firmware with SRE and the 1.0 version of this kernel. i tried installing it with rom manager and im not sure if it did anything. my phone rebooted and i cant tell if it installed or not.
[Captivate Android Development] Unhelpful:
I'm pretty sure it was getting stuck on sleep. Once I got it stuck I could only get it back out by changing governors, even changing scaling_min_freq wouldn't unstick it.
[Captivate Android Development] IStern:
Darn, phone was playing music one minute, next minute black screen, had to pull battery to reboot. Ah well, back to conservative for now...
[Captivate Android Development] Unhelpful:
Yes, I had to change some things to make work at all, but it obviously needs a bit more work to function correctly on Captivate. The fix in v1.2 also made ondemand more stable, but it did eventually die in its sleep.
[Captivate Android Development] xan:
Could you compile 1.2 for I9000? (ofc dont if u got sth better to do!)
[Captivate Android Development] shawnchalfant:
Now that I've done this custom kernel and downloaded setcpu, what are some safe settings to use? I set mine to conservative 1200 max and 600 min. Auto detect resets on reboot. Did a 5 minute stress test, no errors at all. Any advice will help.
[Captivate Android Development] Dani897:
i will start by saying im a total noob, i have just begun to use linux and recently bought a captivate that is rooted but not much else.

is the .zip file above intended to be renamed "update.zip" and run in recovery mode? i tried that and get installation aborted message. i'll assume that means it didn't take.

what did i do wrong? are there other steps needed to prepare the phone before hand?

is there anything i need to disable/enable? or is that file not intended to be used that way? do i need a windows machine to get this done?
[Captivate Android Development] Unhelpful:
It's unsigned, so stock recovery will reject it. I recommend installing ROM Manager from the market, it can back up your phone, which you really should do before you get into modifying your phone. It will also allow you to browse your SD card for a zip file to install so you don't have to rename them to update.zip - I keep several so I can revert if something goes wrong.
[Captivate Android Development] Dani897:
thank you unhelpful, you have been very umm helpful!

bet it's not the first time you heard that.

Edit: kernel is installed and running stable for several hours, you are the man!
[Captivate Android Development] jasonyump:
This kernels.been great for me! Thanks unhelpful.for helping so much with your.contributions to the community. :) one question about 1.2 before i use it. What is the original GPU clocks? I've been trying to.find them. I see in the kernel it is 222mhz with all cpu clocks except for 100mhz. So yeah what's the original clocks? Thanks!
[Captivate Android Development] Clienterror:
Ya unhelpful is one of many bad asses on this forum, now if he'd just put up a damn donation link. Yea unhelpful I know you're reading this. ;-)
[Captivate Android Development] staplebox:
Just wanted to add that I appreciate the work on the kernel OC. It is running well at 12k - conservative, with a couple of profiles. Plus the SRE and lag 4 fix. 10 min stress test was fine.

It is all coming together.

If you don't want donations maybe you could link to your favorite charity - it'll make some of us feel better and help someone out.
[Captivate Android Development] gtg465x:
I can't make it through an Asphalt 5 race without freezing and I suspect the GPU overclock. If you're trying to reproduce the issue, try Asphalt 5 3.1.3 because GPU acceleration has been disabled in the latest versions to help with phones that have faster CPUs than GPUs, like the snapdragon phones.

Either that, or please tell me how to disable the GPU overclock.
[Captivate Android Development] Unhelpful:
It's the last four values in each row pc the div0 table. I can't really explain too clearly without looking at the source, but the 9th, 10th, and 11th values in each write should be zeroes to revert to the stock 200MHz clocks while using the new code. Look back through the recent changes to find the table I'm taking about, sorry but that's about the best explanation I can give from my phone. FWIW I can run several 2D and 3D benchmarks without incident with the 11% overclock.
[Captivate Android Development] A.VOID:
Interactive was unreal until I started playing Nova ...

Then it got stuck at the 100 and LAAAAAAAAAAAAAG

back to conservative.
[Captivate Android Development] jschiefer:
How come we stopped talking about this?! I want 3000+ lol

EDIT: Really referring to the picture. Just didn't want to repost the obnoxious size haha

On an unrelated note,

Thank you, this is working very well for me.
[Captivate Android Development] tytdfn:
Hello unhelpful are you planning on implementing the fix supercurio is developing onto your kernel once he releases the public release?
[Captivate Android Development] rajendra82:
He's released the source code of his current beta. Probably worth for unhelpful to start looking at it.

http://github.com/voodoo-project/lagfix/downloads
[Captivate Android Development] Zilch25:
There's no source there =P

He hasn't released it yet, someone leaked the link for the project, and it's currently in beta
[Captivate Android Development] RyanZA:
There is source there. ;)
[Captivate Android Development] Zilch25:
Lol well there WASN'T source there :) but this is good news!
[Captivate Android Development] Zilch25:
Hey Unhelpful, I hope this isn't too "inside" of a question or anything, but I've been following the whole Voodoo thing for a while, AND the I9000 forums in general, and I know you have been too... I was just curious if you're making any headway in the department of integrating some of this stuff into your kernel?

More specifically, are you planning to integrate the Voodoo method or dkcldark's method?

You don't have to answer if you don't want to :) Just chompin at the bit a little here!
[Captivate Android Development] rajendra82:
NVM (10 chars)
[Captivate Android Development] Zilch25:
Yup that's the second method I was referencing... seems like it would fit in easily with the already established init.d (Since the author used it himself haha) implementation Unhelpful uses. Unfortunately he took the scripts down so I can't even attempt a solid software bricking this morning :(

Wanna try dat NILFS2!
[Captivate Android Development] rsx19:
when was 1.2 released?
[Captivate Android Development] aqtrans:
If you want I could upload the scripts somewhere and PM you the link. :) Working great so far on my Captivate. Even switched from EXT4 to NILFS2 without a problem :cool:
[Captivate Android Development] Zilch25:
Oh that would be awesome if you could pm that to me... I'd love to play with nilfs2!
[Captivate Android Development] elghouchd:
Hey Unhelpful,

When i rename the file to update.zip, i get installation aborted. You mentioned something about Rom manager...so how do i use that to install the kernel? (im a noob at this)

Thanks
[Captivate Android Development] Unhelpful:
ROM Manager is available in the market, and will require a rooted phone to work properly.
[Captivate Android Development] elghouchd:
Ok thank you....and i have the stock rom on my captivate, so does this kernel support the stock rom? Beacuse i have heard that if i install a kernel that is not compatible with my rom, my phone could potentially get bricked.

Thanks
[Captivate Android Development] Unhelpful:
It should work fine with the stock ROM. If you want any easy install for a phone that's not already rooted, plus some other features, I believe designgears is using my kernels in his SRE package.
[Captivate Android Development] Kaik541:
yes he is, SRE just contains it within a signed package. simpler if you're starting from complete stock, and even comes with pre-configured options with mobile AP working, overclock on/off by default, etc.
[Captivate Android Development] Dani897:
Hey unhelpful, are there any new developments in the over/under voltage and further over clocking?
[Captivate Android Development] crupp:
can this be undone if there are adverse effects? On another note, how long should stress test run in setcpu?
[Captivate Android Development] Fortune090:
Yes, easily, just by flashing a stock kernel back over it, and the SetCPU settings will readjust accordingly. I would say about 5-10 minutes if you're really curious about it. OC-ing to 1.2GHz really isn't going to cause you any trouble. I've been running it since it released with no issues. ;)
[Captivate Android Development] crupp:
cool thanks. can i just rename to "update zip" drop it on my SD and re-install
[Captivate Android Development] tjsooley:
I have a captivate flash with the i9000 fw

what do i chose in rom manager cap or i9000
[Captivate Android Development] akachay:
captivate.... 1 word reply not allowed (too short) y?
[Captivate Android Development] Clienterror:
captivate is only 9 chars.....you need a minimum of 10 to post something. That's why people say "LOL 10 char" it's 10 characters and meets the minimum posting requirement..
[Captivate Android Development] ewingr:
Showing my ignorance on this topic...

I did a search on Kernel and came up with lots of things other than just a plain definition.

I am familiar with loading ROMS, etc. But I'm not familiar with changing kernels.

Can someone explain w/o too much effort what changing kernels means? If I change kernel, I understand loading the original ROM replaces it again. Just a bit confused.

Maybe I should have opened a specific thread for this question. Sorry if breaking protocol.
[Captivate Android Development] Dani897:
Crupp

This is un signed and needs ron manager. No need to rename using rom manager.
[Captivate Android Development] crupp:
Ok. thanks. I'll put Rom Manager on and see what happens