yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] jakiej:
thanks for the idea and this should work with just adb; no need to download the scripts...

su
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
echo "#!/system/bin/sh
echo 46 > /proc/overclock/max_vsel
echo 900000 > /proc/overclock/max_rate
echo 1 300000000 28 > /proc/overclock/mpu_opps
echo 2 600000000 38 > /proc/overclock/mpu_opps
echo 3 900000000 46 > /proc/overclock/mpu_opps
echo 0 900000 > /proc/overclock/freq_table
echo 1 600000 > /proc/overclock/freq_table
echo 2 300000 > /proc/overclock/freq_table" > /system/xbin/setscaling.sh
chmod 755 /system/xbin/setscaling.sh

setscaling.sh

echo "#!/system/bin/sh
sleep 80
/system/xbin/setscaling.sh" > /system/etc/install-recovery.sh
chmod 755 /system/etc/install-recovery.sh

mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
[Defy Android Development] Higgsy:
really glad others are using this and liking it, everyone who is using milestone overclock should be using it!
[Defy Android Development] basshamster:
Hey Higgsy,

i installed your scripts through Root Explorer (incl. executing + rebooting), but checking the mpu_opps file still gives me standard frequencies. You got an idea for this?

Greets, Jack
[Defy Android Development] Higgsy:
is the milestone overlock installed and module loaded?

Custom setting in milestone overclock set to 900mhz/46vsel?

Did you set the permissions? (ie the chmod bit).
[Defy Android Development] basshamster:
- Milestone Overclock installed and loaded (incl. startup-load)

- i use different settings 1000/50 (300/30, 600/40 -> in setscaling-script), but 1000/50 is also set in custom settings so it seems equal to me

- permissions of both scripts are "rwxr-xr-x"

hmmm....

little edit: mpu_opps gives me 300/33, 600/48, 1000/50 so it#s not completely standard :P
[Defy Android Development] Higgsy:
yeah it is standard apart from the max overclock you set in Milestone Overclock.

Please attach your exact setscaling.sh so I can take a look at it.
[Defy Android Development] basshamster:
Thx for helping! :)
[Defy Android Development] Higgsy:
hmm looked ok on the face of it, however when I recreated the file it was 355bytes as opposed to yours that was 353bytes

anyway, i think I might know the problem, in root explorer, open setscaling.sh in text editor - look at the end of each line - is there a little box? If there is the delete them - save and then execute.

Your permissions were ok

This is working ok on my phone now
[Defy Android Development] basshamster:
Unfortunately still not working :( ... don't know what's the problem. Maybe someone else joins us with another solution. Thx for your help anyway!
[Defy Android Development] vanloque:
I posted on the google forum bugreport.

When i click LOAD that reboots the phone and when i relaunch the app the clocks are still empty, so i click load again and it reboots again... Etc.
[Defy Android Development] Higgsy:
@basshamster are you using the milestone overclock off the market? Sorry to say if you have followed the guide, your next option is going to be wipe/reflash and start from scratch I think
[Defy Android Development] tekiccs:
Can you go under 300 mhz? Or is that the min? Because on "screen off" it would be nice to go to like 100-150 mhz or something, with lower vsel :) (though i'm not sure if that would be enough for example a gps tracking app)
[Defy Android Development] vanloque:
Yesh, i followed your advice, i installed it from market, after installer the FrozEclairV2.

Thanks for your help, I'll ignore that possibility for now then, i don't feel like wiping or else.

This Overclock app will still be useable on a custom rom i guess?

But even better, i think i'll wait for a custom rom that might implement those lower default voltages. If it is sure they are safe for the cpu of all the Defys.
[Defy Android Development] Higgsy:
possibly try it and report back
[Defy Android Development] Higgsy:
once the kernel sources are available then this wouldnt be needed, as with alot of these things at the moment they are really just interim solutions
[Defy Android Development] basshamster:
@higgsy: jepp, off the market. Starting from the scratch is no option @this point...maybe when i get a new one due to the earspeaker problem... :D
[Defy Android Development] Higgsy:
fair enough but I can go from my normal setup to stock to my normal setup in like 20 mins. Pity I can't get my hands on your phone lol.
[Defy Android Development] vanloque:
This cpu tweaking should work on JBoogie's custom rom? :)
[Defy Android Development] Higgsy:
to be fair I couldn't tell you, I don't know what amendments/changes hes made - prob best to ask him. This is only tested on stock rooted rom.

EDIT: I'll put that in the OP.
[Defy Android Development] f4lkon:
Ive tested it with the files in Higgsy's script.rar. I still had to remove the squares in the install-recovery.sh at the end of each line. After that it worked for me even after a reboot. Thanks.
[Defy Android Development] Jt612:
I can get the setscaling.sh script to work but i cant get the install-recovery.sh to work i used an exact copy from your scripts.rar and followed your steps exactly?

edit: how do i see and delete these squares people are talking about without root explorer?
[Defy Android Development] f4lkon:
@Jt612: for example with an text editor. just grab one from the market.
[Defy Android Development] Jt612:
no squares, but i still cannot get it to work :/
[Defy Android Development] Higgsy:
Do you have root explorer? Actually bin that idea as soon as I get on the pc ill post mine coz can post zips on the xda app.
[Defy Android Development] Higgsy:
@jt612 and all - I have updated the op with new copies of the scripts zips directly from my phone. jt612 try that one.
[Defy Android Development] Jt612:
thanks dude just applied and phone is rebooting now will see if it worked...

edit: yep works thanks mate.
[Defy Android Development] Higgsy:
nice one, glad its sorted, those original files must have got mashed up somehow, maybe in the zipping process or something.
[Defy Android Development] crazyVII:
if i try this, my phone directly reboots after the last line (actually launch the script...)

should be working? just modified max of 900 to 1000 and max of 46 to 48 vsel...

any ideaS?
[Defy Android Development] Zaben:
@basshamster and Higgsy

On my phone executing through the terminal works but through Root Explorer does not. There is something with how Root Explorer executes scripts.
[Defy Android Development] Higgsy:
yeah but I have no issue with root explorer executing the script.
[Defy Android Development] jakiej:
the script should NOT reboot the phone. i guess it has something to do with the 1000 and 48. are you sure that setting would work? (if 48 is too low, it might make the phone reboot.)
[Defy Android Development] Sorensiim:
Your max vsel is too low for 1ghz, thus causing the phone to tilt.

I ended up with 52 as max vsel @1000mhz - 50 was stable until I installed NFS Shift :D

Great work Higgsy!
[Defy Android Development] Higgsy:
Yeah as my man above says 48 is too low and thats why its rebooting, my recommendation is 52vsel@1ghz. I would always say find the lowest that seems stable and add 2.
[Defy Android Development] Higgsy:
Also if you still having issues post your setscaling.sh on here for me to look at
[Defy Android Development] tekiccs:
Everyone else seem to know this, but I wasnt able to figure it out.

What does this part mean, and how do you do it (with what and where?):

Would you explain it? Thanks!
[Defy Android Development] nisamtetreb:
Those are linux shell commands. You can mess up the software in there, it wuldn't ask you if really wanted to delete all those important system files, for example.
[Defy Android Development] Sorensiim:
A big part of my job is scripting (mostly vbscript, thats why they have to pay me), I'd love to have a go at automating this, as well as the JIT trick. Would be nice to have a one-click solution for JIT, root, overclock and frequency table...
[Defy Android Development] tekiccs:
And where should I write that on the phone? :rolleyes:
[Defy Android Development] Jt612:
You don't you use a computer imp you need to do some googling its intresting stuff

Sent using motorola defy
[Defy Android Development] Fenevad:
Successfully applied the setscaling.sh script, and successfully underclocked, although min freq is just 290 Mhz at 28 vsel.:p

Anyway, it is possible to use more freq step in the script?

Edit:

New result, 250Mhz@26vsel, stable, set for screen off.

Edit2:

With 250@26, the energy consumption much lower then factory settings (from night to morning: factory >10%, 250@26 <10% battery discharge).

Edit 3:

It seems OMAP 3630 have just 4 opps and 3 of it accessable, so not possible to use more freq step.
[Defy Android Development] demolition23:
I m litle noob on OC...

Can I use app setCPU??
[Defy Android Development] Fenevad:
SetCPU just enable to set freqency, based on conditions like battery charge, screen-off, etc.

To overclock/underclock, you need Milestone Overclock.

If you set higher freq with MO, the SetCPU will see that, and you can apply it.
[Defy Android Development] nupi:
Do we know if we can go any lower than this? I tried 150 but I am unsure if it sticks. It shows up in setcpu, but then it still says 300 as min as well...
[Defy Android Development] Fenevad:
Currently I'm using 200Mhz@20vsel for screen off, but have no proof that it applied, since when I power it, it use 1000Mhz/600Mhz. :D

Maybe even lower freq is stable.
[Defy Android Development] shamo42:
what do you get when you enter "cat /proc/overclock/mpu_opps" in a script or via adb?
[Defy Android Development] nisamtetreb:
Judt be carefule, I read that very low frequencies are not healthy either, de memory could get corrupted.

Maybe 50MHz or even 100 would be already dangerous, I don't know.

Mine got unstable at 250MHz/20, I need 22. I tried Streamfurious and it just disappeared, I guess because of the network chip.
[Defy Android Development] martinml:
Can somebody tell me a better vsel value for 800 MHz better than the stock? I don't need to overclock but I'd like to undervolt a little, so I can save battery. Thank you!
[Defy Android Development] Higgsy:
42 will be safe you may be able to go lower, you need to test. Remember to undervolt the other frequencies aswell.
[Defy Android Development] Fenevad:
shamo42:

Of course it says

mpu_opps[3] rate=1000000000 opp_id=3 vsel=50

mpu_opps[2] rate=600000000 opp_id=2 vsel=30

mpu_opps[1] rate=200000000 opp_id=1 vsel=20

also "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies" says

1000000 600000 200000

but with "cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq" get

600000 :(

I don't know why it so high, maybe the adb or 3G connection.

nisamtetreb:

I know all that, but it's full stable on (maybe not really) "200@20", no memory corruption, no freeze, no problem with 3G tether on screen off.
[Defy Android Development] nisamtetreb:
Have you tried Android System Info? For me it shows the percentages of each clock used.

It uses 250MHz when I listen to an internet radio stream for example. 800MHz is usually around 10%, 600 ~5% and the rest at 250 or 300.

You CPU might be stable at that vsel, yes. Mine seemed stable, no freezes, but Streamfurious dissappeared after a short time of listening to radio (no force close).
[Defy Android Development] inteks:
below 300 will not work.

http://xdaforums.com/showpost.php?p=10386766&postcount=28
[Defy Android Development] mick711:
Hello

Have you see this tools for make this change easy : http://xdaforums.com/showthread.php?t=898036
[Defy Android Development] crazyVII:
hey guys, thanks for ur responses... was on holidays... :)

happy new year :)

i used the tool above to quickly change the setting and with 52@1000 vsel everything works as expected.

thanks a lot!

best regards,

cV
[Defy Android Development] shamo42:
Same problem for me. I think there are 2 possibilties:

-It doesn't work and we still get 300 Mhz. (I don't think we get 600 because battery life is great)

-It works but for some reason cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq and other software doesn't display it correctly.

I still have it at 250MHz@23vsel and battery life is awesome: over 130 hours with my last charge. Better than any smartphone I used before.
[Defy Android Development] Higgsy:
Just a quick note to say this method is included in the 2.2 ROM I put out there for you. At the moment set vsel isn't working well for me on 2.2 so this tried an trust method has been reinvigorated lol
[Defy Android Development] isikh:
Yeah me too. For some reason the three frequencies are gone and it's just one frequency

EDIT: Also, do u need to use SETCPU WITH SetVsel?
[Defy Android Development] Higgsy:
I use my script, I don't bother with set cpu, its not really needed imo. but in answer to your question question no you don't, but you could if you wanted.
[Defy Android Development] isikh:
Thanks bud, what's your script? I wanted to do 1.2 GHZ 72 VSEL, 600 MHZ, 250 MHZ at 23 VSEL
[Defy Android Development] Higgsy:
errr the subject of this thread mate lol have read through the op and it tells you how to set it up, you can't go below 300mhz as far as I know the others should be ok tho.
[Defy Android Development] hardKNOXbz:
@Higgsy

Thanks, ur thread's helped me a lot with tweaking my processor speed for my milestone xt720

previously when overclocked my frequency steps were 125,250,500,550,1000 but using your steps i can now set them to 125,350,720,850,1000. handset is much more smoother and efficient.

but install-recovery.sh doesnt seem to automatically run script for me on reboot. i'll try and see if i can run the command through the mot_boot_mode instead.
[Defy Android Development] johnw.xda:
how do you make the script automatically start at system boot?

please help, and thank you.
[Defy Android Development] AgentSmith:
Here setvsel is working fine with froyo and it gives some advantages. Apart from being able to just set all frequencies and voltages in the program it also gives two extra options. First of all you can limit the cpu to the lowest freq/vsel setting when the screen is turned off ensuring a big saving on the battery. But I also limit the cpu to the middle freq/vsel when the battery is below 10% to squeeze out a little bit of extra battery life when needed.

You can also change the threshold or the load percentage when the cpu should actually switch to a higher frequency. It turns out in practice that it mostly switches between lowest and highest settings, skipping the middle setting for the most part. So I figured the middle setting is mostly useful for the <10% battery situations. My vsel combinations:

18/300

30/500

50/1000

This way the cpu draws very little power in standby but overclocks as soon as the screen turns on. Love it. :)
[Defy Android Development] johnw.xda:
500mhz?

how did you do that?
[Defy Android Development] inteks:
i use the install-recovery.sh to load the cifs.ko module

#!/system/bin/sh
insmod /system/lib/modules/slow-work.ko
insmod /system/lib/modules/cifs.ko

http://xdaforums.com/showpost.php?p=11098561&postcount=16

so cifsmanager work on the fly ;)

i think it make sense to combine that.
[Defy Android Development] johnw.xda:
Hi inteks, what is install-recovery.sh?

is the script can auto run on bootup?

can you tell me more?

please help, and thank you.
[Defy Android Development] Higgsy:
not sure why people are bothering with this again now that setvsel is working on most if not all firmware versions.
[Defy Android Development] inteks:
good point ;) ignore my post....

to put loading cifs moduls in install-recovery.sh is more a tip for customrom builders because to configure 2 moduls in cifsmanager is awkward :rolleyes:
[Defy Android Development] hardKNOXbz:
Your Method works well on my Moto Milestone XT720, but setvsel only works for MotoDefy....
[Defy Android Development] Higgsy:
Good point
[Defy Android Development] bmar08:
i used this method to overclock and using SetCPU followed the instructions with the setscaling file and it works amazing... would this setscaling.sh and install-recovery.sh work with other android devices that are rooted and overclocked because i have been getting a good two days out of my battery with this done to the Defy..
[Optimus One, P500, V General] kebeq:
http://xdaforums.com/showthread.php?t=843071
[Optimus One, P500, V General] The_ERROR:
I just created new thread Phone not responding at all.

//Lock :)
[Optimus One, P500, V General] haoss07:
thx for the link
[XPERIA X10 Q&A, Help & Troubleshooting] maa424:
Please find a Bluetooth solution does not work I have in the x10

Knowing that 2.1
[XPERIA X10 Q&A, Help & Troubleshooting] rabetionline:
I always have this problem. I use blutooth file transfer apk.
[Galaxy S I9000 Android Development] HackDown:
Another build by me, this time is based on JPX Froyo 2.2.1 build.

- Deodex and optimized

- Themed with Gingerbread theme by vukandric and modified by me.

- Modaco Gingerbread Launcher (only 10MB in memory)

- Gingerbread keyboard

- Spare Parts (no ads)

- Nexus S Wallpapers (also Live Wallpapers)

- Stock AOSP Froyo/Gingerbread applications

- Stock AOSP Lockscreen

- Nexus S Boot Animation

- Lastest nice hardcore kernel

- No LagFix (If you want use option in CWM Recovery)

- Pre-Rooted and Busybox installed

- Very fast ROM.

For install this ROM you need to disabled any lagfix, flash original JPX ROM with ODIN, flash any custom kernel with CWM Recovery, boot into CMW and choose my zip package to install.

Screenshots:

Downloads: Nevermind to xda community.

Have Fun my friends ;)
[Galaxy S I9000 Android Development] ragin:
PLEASE mention that THIS is A ROM on the Title, & tell everyone I asked you to do so. :D
[Galaxy S I9000 Android Development] DangerMUK:
I'll give this a try if it is as close to AOSP as possible :)
[Galaxy S I9000 Android Development] Astug:
Looks great!

Could you please tell me where I can find "Modaco Gingerbread Launcher (only 10MB in memory)"? Thanks.
[Galaxy S I9000 Android Development] HackDown:
In the market? ;D
[Galaxy S I9000 Android Development] killer1995:
How to install this ROM?
[Galaxy S I9000 Android Development] sardroid:
For install this ROM you need to disabled any lagfix, flash original JPX ROM with ODIN, flash any custom kernel with CWM Recovery, boot into CMW and choose my zip package to install.
[Galaxy S I9000 Android Development] jellette:
I haven't looked through the files yet, but why do you have to flash original through odin first?
[Galaxy S I9000 Android Development] killer1995:
And what custom kernel?
[Galaxy S I9000 Android Development] HackDown:
For a clean install? If my ROM is based on JPX.. and you have another ROM installed.. ?!?
[Galaxy S I9000 Android Development] HackDown:
You need CWM Recovery active, try hardcore kernel or another with a custom recovery built in
[Galaxy S I9000 Android Development] fufus:
Can you give me files: framework-res.apk and twframework-res.apk ?

location: /system/framework/

thx.
[Galaxy S I9000 Android Development] jellette:
I see. Thanks for your reply and the "?!?!!??"'s

I would have assumed a clean install could be accomplished by wiping data, cache partition.
[Galaxy S I9000 Android Development] dabao8862587:
i think i knew the answer.. but still couldnt help asking:any possible to have installed Chines language?
[Galaxy S I9000 Android Development] nuusk1s:
So this is not full rom since you need a base rom for install?
[Galaxy S I9000 Android Development] vinclar:
About livewallpapers:

Microbes works pretty nice, but connection gingerbread livewallpaper looks different than the original one and I like a lot the original one. Where can I find it
[Galaxy S I9000 Android Development] jmadotme:
This rom is awesome, but i have some glitches in the calendar app, one grey image is showing over the first week on the month view and other screens.
[Galaxy S I9000 Android Development] titooo7:
Nice rom, but I have some questions: If I'm not wrong calculator, calendar, messages app, camera app, music player, video player, browser app (and maybe some more) are AOSP stock apps. But which ones are from froyo and which ones are from Gingerbread?

Same here
[Galaxy S I9000 Android Development] HackDown:
I work on stock Samsung Calendar becouse is very nice applications instead AOSP Calendar, please be patient for a update zip package :)
[Galaxy S I9000 Q&A, Help & Troubleshooting] emocan31:
Hi,

I bought a Galaxy S 2 weeks ago,and noticed that in Web Browser,if i touch the screen and do a slide move from right to left or from left to right,i can't do a slide move from up to down of down to up(i dont pull my fingers off from the screen while doing the moves)

for example i opened a page from web browser and zoomed in..if i scroll the page from left to right,i cannot move the page upwards or downwards after that horizontal slide...(if i scroll from up to down-or down to up,i cannot move the page from left-to rigt or right to left too)(and my finger is still on the screen)

this bug happens in only straight way slide-scroll moves.the only way i can do a 360 degree move on a zoomed page is if i start the slide move in cross directions-not straight directions).then i can move the page where ever i want.

I tried this bug on stock 2,1 - 2,2 - 2.2.1 ROMs,on Darkys v5,5 - 5,6 Roms,on stock kernel,on voodoo kernel,on Stock Web browser and on Dolphin HD, i did cache - Data wipe factory reset sd format lots of times and the result is always the same.

Finally i went to shop to try a new Galaxy S to see if this bug happens to other phones,and Yes it happened to that new Galaxy S too.

A 50 € phone doesnt have this bug but a 500 € has it :/

Can anyone help me to solve this problem or know what cause this bug(or is it really a stock bug)?
[Galaxy S I9000 Q&A, Help & Troubleshooting] emocan31:
anyone for help?
[Galaxy S I9000 Q&A, Help & Troubleshooting] gtg2:
I don't know whether that is a bug or not. I know the behaviour you're describing and I see it as a feature. It allows for smoother vertical scrolling when reading long articles.

I wouldn't want this changed.
[Galaxy S I9000 Q&A, Help & Troubleshooting] emocan31:
so does it lock itself to that direction we scroll-for a smoother scrooling,and not allow us to change to any other direction while our finger is still on the screen? :/

i scroll up the page,then if i want to slide the page through left a bit,i must pull off my finger from the screen first,and touch the screen again to slide left...

they could give smoothness with another way,if they do this on purpose for smooth scrolling :/
[Galaxy S I9000 Q&A, Help & Troubleshooting] gtg2:
I'm more likely to scroll vertically reading a long web page than I am to be scrolling vertically and horizontally simultaneously.

Is it taking you much time or effort to lift your finger and press it back down?
[Galaxy S I9000 Q&A, Help & Troubleshooting] emocan31:
npe,its just annoying for me,cant do a 360 degree move without pulling off my finger,if i do a vertical or horizontal slide before :/

thanks for answer
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] ThunderH:
Does anyone have a good solution for me to add my archos 101 in to my car like a ipad? I have a Prius 3 car... I have called the support desk, but there make no car holder.
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] cajl:
no now

it is very big !
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] ThunderH:
Yes.. The Ipad too. :). Well I will think about a solution...
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] d34thd34l3r:
They sell them on ebay
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] ThunderH:
Do you have an link?
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] 675 Trip:
Make sure to look at the dimensions. I have seen some for sale with photoshopped photos and they say in the description up to 4.x inches (when we need 6 minimum)
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] gashadow:
There are some posted on the ArchosFans.com Forum