yashsingh1/xdaforums huggingface dataset:
[myTouch 3G Slide Android Development] slughappy1:
KHz, that's what I meant to type. Thanks for your help.
[myTouch 3G Slide Android Development] Febby:
I'm "sorry" haha.. what i meant which kernel would be the best one to choice because i see version 1, 2, 3 and so on... and what would be the suggested settings to use with setcpu if it is required.*my meaning of stable*

thank you!
[myTouch 3G Slide Android Development] dumfuq:
3.5

personally I only use setcpu for testing purposes, not for daily use.
[myTouch 3G Slide Android Development] Febby:
thank you! which speed overcloaked would you suggest? because there is different ones I can pick.. I was thinking 806.
[myTouch 3G Slide Android Development] dumfuq:
depends what your phone can handle. I myself use 806, but i would start with 768 for a few days and bump it up if you don't experience problems and want to push it harder.
[myTouch 3G Slide Android Development] slughappy1:
Is it possible for you to list the kernel speeds available for the 3.5 kernels? My SetCPU keeps screwing up and changing what speeds are available. I'm thinking os just usinging a setcpu.txt, but I would like to know that kernel speeds first. Thanks
[myTouch 3G Slide Android Development] dumfuq:
245760

400000

600000

And either

768000

787200

806400

825600

Or

844800
[myTouch 3G Slide Android Development] slughappy1:
One last question. Are the faster kernels capable of the slower max speeds too? As in, is the 844800 kernel capable of 825600 or 806400?
[myTouch 3G Slide Android Development] dumfuq:
No. I haven't managed to get it stable with multiple frequencies.
[myTouch 3G Slide Android Development] slughappy1:
Ok, thanks for the kernels and the help you just gave me.
[myTouch 3G Slide Android Development] norashers:
GPS

Likewise I'm still having problems with GPS. I'm running the 825 kernel on my legend using Azure. The satellites are detected, but no sync is performed and the gps never manages to calculate the devices position. I'll do a logcat later to see if anything comes up in that.

Also, thank you Dumfuq for your nice kernels :)
[myTouch 3G Slide Android Development] ladderwalker:
No wifi

I flashed v3.5 806 and it was smooth running, but the wifi didn't work, it scans, tries to connect and then disconnects. So I tried v3.5 844 and an older version too and same issue no wifi.

I figured out how to revert but was wondering if I did something wrong or if anyone knows any tricks to get the wifi working because 806 was a huge improvement otherwise.

I am running CM - 6 with the 709 radio on a mytouch slide
[myTouch 3G Slide Android Development] copponex:
Had 787. It caused ramdon reboots, downgraded and for now, it seem like it's running smoothly :)
[myTouch 3G Slide Android Development] dumfuq:
Well, I tried making some faster ones for you guys but it seems to have failed :confused:

Seems (for me at least) these kernels won't go past 600 and if you attempt to it just goes to 245. So unless you set the speed during bootup, the the boot is slow.

adb shell "echo 600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"

If you want to try though, they are here. These are only espresso source because it didn't work anyway :) 864, 884, 902.

If it does work for some of you let me know and I'll make the legend versions.
[myTouch 3G Slide Android Development] dbzfanatic:
Tried 902, setcpu says its set at 902400 but benchmark took 1600ms when 844 took 1200. Qudrant scored 896 on 902 and 1145 on 844. Seems youre right about it reverting to 600. Could you possibly change a voltage value in the kernel to get it to work?
[myTouch 3G Slide Android Development] ladderwalker:
still no wifi

i thought i got it working but i guess i was wrong, wifi worked fine until i flashed the dopio kernel, now it goes into a scan/connect/disconnect, wiped, flashed a bunch of different roms, and wifi is broken. I am not sure if unrooting and going back to stock will fix it, Any suggestions would be greatly appreciated.
[myTouch 3G Slide Android Development] dbzfanatic:
If it wont work on any ROM then its probably a hardware failure. You might want to get it to a store for replacement.
[myTouch 3G Slide Android Development] dumfuq:
ok, I made some progress on two counts.

good news for those wanting it faster than 844.

first I got a working 864:)

second, 768 is still in it:D

245,400,600,768,864

This should also work for higher frequencies, I just haven't compiled any.

So, this is a test, this is only a test, but it is working for me.

espresso only.

obviously if 844 doesn't work for you neither will this.

oc864-test-signed.zip
[myTouch 3G Slide Android Development] dbzfanatic:
Downloading now, will post back with results after flashing. Thank you for your work, hopefully the 902 will be compiled soon :p.

Edit: after 2 hard reboots and 1 random reboot the frquency set. Hard reboot caused by 2D fractals in quadrant freezing. Noticed a mild improvement. 1165 score in quadrant now, was 1143.

Decided to add cpu benchmark scores. 844:1290, 864:1164
[myTouch 3G Slide Android Development] xl DIGITAL lx:
Works great on CR rom, havent had any random or hard reboots. Thanks

Edit: random reboots most of the time.
[myTouch 3G Slide Android Development] dumfuq:
v4.0 is up.

All frequencies merged into one kernel.

You must set your own max or you might boot loop.

Make sure to read the OP.
[myTouch 3G Slide Android Development] BSDADON:
I've never messed with those files. Do I just start a new line and put both those codes in, save it, re-zip, and flash? Or do I need to run the second line from ADB after I flash it?
[myTouch 3G Slide Android Development] migueltherocker:
What if I want my max to be 864? I run 844 perfectly, I think I can handle 864. I don't need to set scaling_max_freq in this case, do I?
[myTouch 3G Slide Android Development] ladderwalker:
wifi working

figured out it had nothing to do with the oc kernel, just a huge coincidence, i rebooted my router and bam, my wifi works.
[myTouch 3G Slide Android Development] norashers:
You can test it, but to ensure you don't get a boot loop it's advisable to limit the boot frequency in your init. Then change it on boot using setcpu. Anyway I guess it's more like a general warning to all the people who can't reach > 768 MHz; their devices will almost certainly fail to boot.
[myTouch 3G Slide Android Development] migueltherocker:
I'll test it now, and post here how it goes.
[myTouch 3G Slide Android Development] norashers:
good luck :)
[myTouch 3G Slide Android Development] boredpcguy:
First I want to thank everyone who made this possible (dumfuq koush etc) and to all the android devs!

I will consider myself lucky, since I misunderstood the meaning behind setting the max_cpu_scaling_freq to 600000 ... I missed the "set higher after boot with setcpu." I have an ultra-fast boot, 40 seconds to boot to the lock screen from cold start. I decided to incorporate the cpu_max_scaling_freq into the ROM just because I am a flashing addict and I tend to be a bit noobish in my methods because I am lazy.

What I did, which is probably unnecessary times 9000:

1. Took my original ROM and plucked out the 00banner

2. Appended the echo > xxxx line to the end of it and chmodded it.

3. stuck it in the zip and signed it.

4. thought long and hard about stuffing this 4.0 mod into the ROM but realized I am a half-step above noob and have never written an update script. It would have been a bigger waste of time IMO.

NOTE: This method broke my camera until I cleared the app data and rebooted. All is once again perfect.

Also, would the boost in clock speed result in more FPS on the camcorder or is it the video PLAYER that is smoother? The test vid I made seems much less choppy than I expected.
[myTouch 3G Slide Android Development] dbzfanatic:
The 4.0 kernel seems a lot more stable than the last 864 you made for some reason. I had to revert to 844 but when I saw youd made a new one I tried it. No random or hard reboots with this one yet :). Hopefully that 902 frequency will be added soon(if its in there then im blind but the highest i saw supported was 864). Will post benchmark scores soon to confirm 864, possibly with a boost due to stability.

Edit: quadrant score is 1177 now.
[myTouch 3G Slide Android Development] bootleg16:
i recently aquired the mytouch slide and i gotta say its an awesome device.

i have been a xda memner since 07 and this is the best forum there is.

i had a G1 and i used dumfuqs kernels before. right now im having one small issue. everytime i try flashing a kernel higher than 806 it boot loops. i had never messed with the build.prop before so i need some help. i am running cyanogens latest build and my quadrant score is 1132
[myTouch 3G Slide Android Development] PcFish:
I haven't attempted yet, but my brother is getting random freezes/reboots with this kernel. Did the proper application of it. Using the latest nightly
[myTouch 3G Slide Android Development] migueltherocker:
I'm loving this kernel, but the 00banner thing is a pain in the ass. I understand why you did it through, but intil we have s-off or a working Amon_Ra recovery its gonna be pretty annoying to have to adb push everytime I flash a ROM.
[myTouch 3G Slide Android Development] KCRic:
I hate to be 'that guy' but I've yet to have the need to modify an init file... until now. Time to pack some more info into what's left of my brain:D Anyway, I'm going to try v4.0 so anyone have a link to get me started with this init modifying? Found a few but they didn't have much in them (as of yet).
[myTouch 3G Slide Android Development] migueltherocker:
Its really much simpler than I expected.

Open 00banner with a text editor

Throw in the line "echo 600000 > yaddayadda"

Then push that new file to /system/etc/init.d/

Then adb shell

Chmod 0750 /system/etc/init.d/00banner

Flash kernel, you're done
[myTouch 3G Slide Android Development] Virus1x:
The newest oc i cant use because you use to set it up for us where all we had to do was install it via recovery but now we have to push things and unfortunatly I don't have a sync cable to dos o
[myTouch 3G Slide Android Development] dbzfanatic:
You dont HAVE to push anything, I didnt at first and it worked fine. Granted I pushed a custom 00banner to make it faster but it worked for me without it as well.
[myTouch 3G Slide Android Development] Corra:
I can't access to etc/init.d in recovery mode. is this normal?
[myTouch 3G Slide Android Development] TheGrammarFreak:
First of all, thanks for the new kernel. I love it :D

But, I now have to update my OC guide. Grr...;)
[myTouch 3G Slide Android Development] migueltherocker:
True, you don't HAVE to, but some people can't handle the 806 update, I doubt they'll be able to boot at 864.
[myTouch 3G Slide Android Development] dbzfanatic:
Youre right but it seemed he thought it was an absolute necessary. I guess it shouldve been worded differently. Like this maybe: If your phone can not boot at 806 or bootloops you need to push 00banner, otherwise no further editing is necessary.
[myTouch 3G Slide Android Development] Ace42:
I was happy my phone booted @844, didn't know it could go that high, only tried your 768/806 only. Still using Cr's OTA,performance is better, and I'm waiting patiently for 2.2....
[myTouch 3G Slide Android Development] Corra:
How do I modify files in init.d folder? I don't find it in recovery mode, can someone please help me?
[myTouch 3G Slide Android Development] RavenWulf:
So if I'm understanding this correctly... if we are running smooth at 844MHz then in theory we SHOULD be able to flash this without modifing the 00banner?
[myTouch 3G Slide Android Development] norashers:
did you mount /system ? and are you using clockworkmod (CW)

In CW you can select mount /system from the partitions menu, otherwise if you are in the normal recovery mode, use adb shell

and then

mount /system

Next

cd /system/etc/init.d
ls

and you should see 00banner being listed, along with the other files in init.d

then you can echo the echo statement into 00banner (no vim in recovery mode ggrrrrr....) by this:

echo "echo 600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq" > 00banner

Reboot and enjoy!

Note:The init files shouldn't be affected by a kernel change, but flashing a rom most certainly will affect it. So if you flash a new kernel after this I don't think you will need to re-edit the file, but if you flash a ROM you definitely will need to re-echo this to 00banner.

I'm used to BSD-style inits (FreeBSD and Arch Linux) not the sysV of most linux distros so I don't know if they have the same behaviour, but I would be surprised if they didn't.
[myTouch 3G Slide Android Development] norashers:
Editing 00banner in Userspace: Symlinking

Also, I forgot to mention in my previous post that I symlinked 00banner from my /data/data partition so I can edit it without being in recovery mode (like what some people do to use adfree).

For those that can't do it, here are the list of commands:

Copy 00banner to a writeable partition in userspace:

cp /system/etc/init.d/00banner /data/data/

For the paranoid: check that it's there...

ls 00*

and check its contents

cat 00banner

Next remove it from the system partition:

rm /system/etc/init.d/00banner

and create a symbolic link

ln -s /data/data/00banner /system/etc/init.d/00banner

and that's it, you can now edit the file in /data/data during normal operation of the phone, no need to recovery mode!

If you want to check that it worked

ls -l /system/etc/init.d/00banner

you should see something like this, pointing to the file that's symlinked:

lrwxrwxrwx 1 root root 19 Oct 19 13:26 /system/etc/init.d/00banner -> /data/data/00banner

WARNING:

If you wipe the data before a flash then obviously the link in /system/etc/init.d/00banner points to a file that doesn't exist any more, so you would need to create a new one in /data/data. One option is to keep a backup somewhere on your sdcard, and then after a wipe & flash, copy the file from your sdcard to /data/data
[myTouch 3G Slide Android Development] Corra:
I can't use shell in htc recovery (says "exec '/system/bin/sh' failed: No such file or directory (2)"). In clockworkmod recovery I can't find /etc/init.d folder (with /system obviuosly mounted). In /etc directory are there only fstab and mtab. What's wrong? :(
[myTouch 3G Slide Android Development] norashers:
you need to look in /system/etc/init.d

the phone root is mounted at /system

the recovery ROMs root is at /

so all you will see in /etc are the fstab and mtab (file system table and mounted table), the rom recovery size would be kept to an absolute minimum so I'm not surprised there's nothing else in there.
[myTouch 3G Slide Android Development] Corra:
ok, it seems to have worked now, many thanks :)
[myTouch 3G Slide Android Development] dumfuq:
These are just a couple of test kernels. No real changes from 4.0 other than the higher frequencies.

883 and 902. 902 does have 883 in it, so no need for both really.

My experience:

883: all steppings seem to work. I can't heavily test because my phone can only handle it for a few minutes. Got a 10.336 in linpack but can't make it through the graphics on quadrant.

902: Not tested at all. My phone instantly locks up when 902 is selected.

fyi 902 will definitely not make it into the newer kernels since I can't even test whether the steppings work.
[myTouch 3G Slide Android Development] norashers:
Brilliant!

time for more fun, thank you.
[myTouch 3G Slide Android Development] KCRic:
I assume I would put it anywhere but just in case (and for others who you know will ask) this is my 00banner w/a2sd (obviously) in it. Would I just add another line at the bottom with the echo? Before the exit of course, Like this:

#!/system/bin/sh
#
# Print startup info
#
#
/system/bin/busybox.a2sd echo "Welcome to Android `getprop ro.build.version.release` / `getprop ro.modversion`";
/system/bin/busybox.a2sd echo "";
/system/bin/busybox.a2sd echo " Powered by _____ _______";
/system/bin/busybox.a2sd echo " | \ | ";
/system/bin/busybox.a2sd echo " | | | ";
/system/bin/busybox.a2sd echo " | | | ";
/system/bin/busybox.a2sd echo " | | | ";
/system/bin/busybox.a2sd echo " |____/ | ";
/system/bin/busybox.a2sd echo " Darktremor Apps2SD";
echo 806400 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
exit;
[myTouch 3G Slide Android Development] dumfuq:
ya that should work (unless you need to use busybox.a2sd for echo like the other lines).

here's what mine looks like...

#!/system/bin/sh
#
# Print startup info
#

L="log -p i -t cm"

$L "Setting cpu frequency to 245min/806max"
echo 245760 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 806400 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
$L "Welcome to Android `getprop ro.build.version.release` / `getprop ro.modversion`";
$L " _ ";
$L " __ __ _ ___ _ _ __ ___ __ _ _ _ _ __ __))";
$L "((_ \\(/'((_( ((\\( ((_)((_( (('((\\( ((\`1( ((_)((_( ";
$L " )) _))";
$L " ";
~
[myTouch 3G Slide Android Development] norashers:
yes anywhere should do... unless you had some cpu_freq dependent scripts in 00banner, which is unlikely!
[myTouch 3G Slide Android Development] KCRic:
Oh I hope not, that would be weird...:eek:
[myTouch 3G Slide Android Development] dbzfanatic:
New test kernel froze at 902 and kept rebooting then freezing at 863. Flashed back to 844.
[myTouch 3G Slide Android Development] migueltherocker:
I've tried checking my cpu speed all the time, but I haven't been able to catch it. If I set my max at 806, will it step 400-600-768-787-806, or 400-600, then straight to 806?
[myTouch 3G Slide Android Development] angelo420:
864 mhz!!!

quadrant score:1213 @864MHZ it seems to be stable after i ran fix permissions:D
[myTouch 3G Slide Android Development] angelo420:
Where do I get the 902mhz kernel
[myTouch 3G Slide Android Development] acejoker25000:
one page back
[myTouch 3G Slide Android Development] angelo420:
i got it but the 864mhz started crashing and i went in to a bootloop i dont think i wanna try now anyway
[myTouch 3G Slide Android Development] acejoker25000:
well i am stable at the 902 mhz and am getting upwards of 1300 on quadrant so this is pretty cool battery life has to be horrible though we will see.. 10.5 on linpack

willing to test 1ghz if at all possible lol hoping for the best here
[myTouch 3G Slide Android Development] RavenWulf:
just flashed V4 and am loving it, running smooth so far. will keep an eye on it tomorrow while in the big truck jumping towers from one end of Texas to the other hauling that GM junk... I haven't noticed a major difference in battery life when I am at home and staying between 2 towers but on the highway I chew up some serious battery power jumping up and down from G to H all day long
[myTouch 3G Slide Android Development] randomafk:
I flashed v4 but after some buggy freezes, I decided to do a full nandroid restore. This worked, but if i try to reflash the kernel it automatically assumes a speed of 86400, what I first set it to, even if i reflash it to 600000 or some other value. Any idea what happened?
[myTouch 3G Slide Android Development] angelo420:
How are you stable at 902 what rom do you use
[myTouch 3G Slide Android Development] dbzfanatic:
Id like to know that too. Im on CM6 and it reboots as soon as i set it to 902.
[myTouch 3G Slide Android Development] TheGrammarFreak:
The rom makes no difference. It's the chipset in your phone...

Swyped from my HTC Legend
[myTouch 3G Slide Android Development] dbzfanatic:
Of course T_T. Well I'm stable up to 864 so I suppose that's enough. I also think the ROM has something to do with it considering on CM6 I'm stable and on CR_OTA (CR_Mod_1.35.351_OTA) it reboots constantly after <30 seconds. Before you ask the ROM is a clean install; factory wipe>install>kernel flash. Can't even install quadrant from the market to test speed. Going back to CM6 now.
[myTouch 3G Slide Android Development] PcFish:
I thought these kernels only work on CM6 roms. Well with dumfuq's work at least.
[myTouch 3G Slide Android Development] dbzfanatic:
Well I've actually used the 844 kernel on CR_OTA before but the speed wasn't nearly as good as on a CM ROM, better than stock kernel but still only about 75% of what you get with CM6.
[myTouch 3G Slide Android Development] HebrewToYou:
The CM6 nightlies + OC kernel are *much* faster than any stock-based rom that's overclocked. This has to do with a number of things, but JIT is definitely one of 'em.

One thing to note when using the OC kernel with a stock rom: you're *probably* going to have some of the same 'bugs' that plague CM6. Wonky wifi, missing bluetooth audio, and so forth. At least such was my experience.
[myTouch 3G Slide Android Development] Corra:
You've probably got a lucky handset, but a >50% overclock is quite incredible. Do you live in a cold place? :)
[myTouch 3G Slide Android Development] acejoker25000:
I must have LOL but no its getting colder now but still relatively warm

There isn't really a noticeable difference in speed honestly
[myTouch 3G Slide Android Development] HebrewToYou:
I'd be interested to know how people define "stable."

Sure, at clockspeeds over 844 my Slide boots and operates just fine, but weird errors manifest over the course of the day and I've experienced very peculiar reboots and and hard crashes.

I think the sweet spot for the Slide overclock in terms of acceptable battery life and improved performance is 806 MHz, but I run mine at 844 MHz while I'm at my desk.

I would really like to see #teamdouche integrate the overclocking into the CM6 kernel source so as to not require flashing the kernel each and every time I update my nightly. I also wonder how often dumfuq gets the chance to rebase the kernel -- I know the CM6-espresso kernel is hardly updated at all, but I can hardly expect our awesome overlocker to constantly monitor for changes.
[myTouch 3G Slide Android Development] dumfuq:
I'm kinda curious as to people consider "stable" as well :).

If I were honest with myself I would run 786, but I run 806. It doesn't reboot or lock up, I just believe you should at least go a step down from what you can handle. 825 only reboots for me every 3 days or so.

I do try to make sure the source is up to date when I compile it, but not necessarily for test builds. You gotta consider that at my core, I'm doing this for myself and want to incorporate whatever changes they make even if it isn't that many :).
[myTouch 3G Slide Android Development] acejoker25000:
Well for me my phone is stable as in no weird crashes odd force closes and no reboots since I have started using the 902 test but I don't keep it 902 max/min either for fear of battery dying before work day is over but once home it is maxed out and still everything is ok. No force closes or reboots lag etc etc so stable idk why my phone is stable at these speeds but I'm sure mine can't be the only one capable of using them. Hence why I would like to push it as far as possible until I start getting the frozen screen/reboot

i will also add that there really isnt much of a difference speed wise between 883 and 902. i only get a .3 or .4 difference with linpack so its not a huge leap but if my phone handles it without problems ill keep those .3 or .4 over not having them
[myTouch 3G Slide Android Development] dumfuq:
well, i cant test it and I can't say I'll continue with it but...

just for kicks.

930-espresso-test-signed.zip
[myTouch 3G Slide Android Development] acejoker25000:
lol sounds fun i will experiment with this!! heres hoping for the best!
[myTouch 3G Slide Android Development] acejoker25000:
well its working and my benchmarks are slightly improved..everything seems fine but after some testing we will see how long that lasts but so far so good

that was the best linpack out of about 5 they ranged from 10.5 as lowest but averaged about 10.7[my highest with 902 is 10.4-10.5]

as far as quadrant goes this was highest and ranged as low as 1190 to 1230s averaged 1230s[highest with 902 is around the 1230s so slight increase]

unless you have anything higher i will keep this lol just hoping my phone doesnt fry before the mytouch is out