yashsingh1/xdaforums huggingface dataset:
[Thunderbolt Android Development] twistedumbrella:
Hopefully not. I will let you know as soon as I get vie chance to attempt building it.

Modified 6.2.1 tweak package built in with swap available without the need to install any additional updates. In terminal, enter "swap.sh create" to create your swap file and enable for next reboot or "swap.sh remove" to disable and delete.

New options to speedtweak script:

Custom will ask you for a minimum and maximum frequency (and then use the closest value allowed) followed by voltages for each frequency level in the range. You will then be asked if you plan to use SetCPU (or any other clock app) to determine if the min and max are written to the file for use by the system.

Backup allows you to back up the file you modified to either /data/data/imoseyon_vdd.backup or /sdcard/imoseyon_vdd.backup

Restore will take the backup file and place it back into the init.d (Requires reboot to apply)

Reboot option to apply restored files or ensure new settings take effect immediately. This option will also clear dalvik and standard cache.

Clear battery stats option - this was added due to the largely discussed battery issue and the suggestion to clear stats when doing a full charge at least twice after installing the kernel. This option is to prevent having to reboot into recovery (using extra battery power) or download extra apps. This option will also clear standard cache and reboot.
[Thunderbolt Android Development] gohamstergo:
just so you know, all of the info twistedumbrella just posted above me was all in the OP.....
[Thunderbolt Android Development] sublimaze:
Hmmmm... I'll have to take this for a spin :cool:
[Thunderbolt Android Development] LexusBrian400:
swap.sh.create = not found
[Thunderbolt Android Development] mkilla:
Yes I'm aware of that thanks but I'm not understanding what a swap file is or does or why its needed.
[Thunderbolt Android Development] twistedumbrella:
Sounds like you downloaded just before i fixed the issue with placement or you werent using "swap.sh create" with a space not a period
[Thunderbolt Android Development] gohamstergo:
cant seem to flash your 2.8.1test1. getting an error in Recovery: "Mount() expects 3 args, got 4"
[Thunderbolt Android Development] twistedumbrella:
All fixed, you can download it again and it should work fine. Forgot that some builds use ext4 and that was causing issues with my mount commands.
[Thunderbolt Android Development] tk192:
This is great twisted. Nice to see u back on the scene. But I'm still waiting for ZeroXThunderbolt ROM. K thnx :)
[Thunderbolt Android Development] gohamstergo:
quick question about swap. when flashing a new kernel version, do i need to recreate the swap or is it detected and used automatically?
[Thunderbolt Android Development] breakerfall:
2.8.2 test4 in Im's thread.

Any ideas when you'll have it ready?
[Thunderbolt Android Development] twistedumbrella:
No need to make the file again, but it wouldn't hurt if you do.

Was a little distracted doing a complete rewrite of http://xdaforums.com/showthread.php?t=1104983 last night and forgot to post the test 2 I had modified
[Thunderbolt Android Development] rlervin:
Does your kernel address any of the problems in the Imo kernel? 2.8.2test4 has a lot of problems with charging.
[Thunderbolt Android Development] Diversion:
What voltage values are accepted when creating a custom profile using speedtweak.sh?

Have you considered a menu of voltages to select to make things easier than typing out each voltage amount for each slot?

Thanks,

Div
[Thunderbolt Android Development] twistedumbrella:
The only modifications being done are the ones listed in the first post. I would love to address the issues in the main kernel, but Imo is hard at work doing that, and I have another project sucking up a lot of my time already.

Considered it, but if you want to take the time to make a menu that will start with 184 (listing the absolute possible minimum, which varies from person to person, all the way up to the maximum) and end on 1.92 then I will gladly integrate it. I made the restore option, which used in conjunction with the display current option, lets you know what your previous values were and then entered values based on that, tested, and changed as necessary.
[Thunderbolt Android Development] cdma:
Also running the same thing and get the same error. Anyone?
[Thunderbolt Android Development] dhacker29:
I flashed the latest package on synergy with ziggy kernel and still get....

wget: invalid option -- 'N'

BusyBox v1.19.0.git.adrynalyne (2010-12-21 22:03:30 MST) multi-call binary.

Script Fusion Main Menu

And of course it won't update. LOL
[Thunderbolt Android Development] twistedumbrella:
Disable sense optimize and see if 1.92 works
[Thunderbolt Android Development] M@|ice:
i disabled all tweaks, 2 seconds after i changed it to 1.92x the phone froze and sat there for about 30 sec then rebooted.
[Thunderbolt Android Development] twistedumbrella:
Another idea hits the trash bin. It's just odd because I can't replicate the freeze.
[Thunderbolt Android Development] M@|ice:
for whatever reason i went into the script it updated and not extreme mode flips out when i scroll through a long gmail message. not sure if something changed, just checking.

are you on a gb leak by the way?
[Thunderbolt Android Development] gokudre:
Reset all tweaks. Reflashed kernal and script. Still freezes on 1.92 when sending a text
[Thunderbolt Android Development] M@|ice:
is it ONLY when you send a text?

if so is it when its lengthy only and not when its short? i do remember having issues like your describing but short text were fine, when it got long it flipped like the cache on a pc getting too full and it crashes to dump memory.

however now, i do 192 and its done in a few seconds, doesnt like it anymore.

UPDATE: i did a battery pull and let it sit for a few, the extreme works fine now and seems stable, cant get it to reproduce the lockups anymore. 192 still poops out instantly.
[Thunderbolt Android Development] gokudre:
Short ones too. I got 2 words into my last text. Locked up.
[Thunderbolt Android Development] twistedumbrella:
I run a modified rc5, dream 2.3.6, Mr2.5, with SPB home, autokiller memory manager, juicedefender and setCPU
[Thunderbolt Android Development] twistedumbrella:
What baffled me is that they are literally the stock voltages from imoseyon 3.3.6-3.4.0
[Thunderbolt Android Development] gokudre:
U use set CPU? So I need an oc app wit the built in speedtweak? I uninstalled mine cause the tweak oc 's. It
[Thunderbolt Android Development] M@|ice:
Could it be temperature? He mentioned that as a possible culprit in his thread.

Do you have haptic feedback on by chance? I do. I wonder if that's spiking it out of control since its repeated fast requiring juice rather then very spaced out like going through menus...
[Thunderbolt Android Development] twistedumbrella:
No you don't. I use it for the charging profile. I did all the settings in speedtweak, and just have one profile kick on in that

On another note, what is with every thunderbolt developer with a ROM doing more flaming than the users? I understand a little sarcasm with people who don't read or use search, but not making them feel inadequate to exist.

I have seen one developer quit over drama in my first 4 years of android development, and both a whole team and another in just the last month. No less talking trash on the way. I apologize that going out does not mean changing IRC chat rooms where I come from, but seriously... Do we need to raise the age limit on registration? These temper tantrums are getting old.
[Thunderbolt Android Development] gokudre:
Where would I see if I have haptic feedback on? C
[Thunderbolt Android Development] gokudre:
I totally agree. People defended that dev when he quit but it was a temper tantrum. Plain and simple. He was nasty n rude. Some people got bashed so badly for simple questions. But oh well. U seem cool so I'm happy
[Thunderbolt Android Development] twistedumbrella:
Check spare parts if you have it. If you use root explorer /data/data/com.android.providers.settings/databases/settings.db under vibration feedback is the value for it.
[Thunderbolt Android Development] gokudre:
Haptic feedback was disabled
[Thunderbolt Android Development] M@|ice:
So its only during texting eh? You using native or 3rd party?
[Thunderbolt Android Development] twistedumbrella:
I am still looking into this. It just got put on hold while I build a website. My friend has a meeting tomorrow at one and his site was built by a fairly new Microsoft frontpage user in the course of a day. He wants amazing and had basically a stylesheet to work with. Had to build a menu frame, image gallery, restructure the entire site to support mobile redirect, add a company Facebook... He has a great idea and I want to see him succeed. Just a matter of throwing in my talent, what little I can gather.

http://www.drumbellz.com
[Thunderbolt Android Development] gokudre:
3rd party. "Handcent "
[Thunderbolt Android Development] fronc:
Is it possible to create a temperature profile that gets built into the kernel? I don't want to use SetCPU if I don't have to, as I get worried it will conflict with other settings. I like the way the kernel manages the CPU.

Just wondering if this was possible/ever attempted before. I've been getting random reboots lately on every configuration of clock speed (cm7 - MR2.5) and thought it might be linked to heat..
[Thunderbolt Android Development] M@|ice:
try seeing if it happens with the native messenger.
[Thunderbolt Android Development] twistedumbrella:
Been working on it. Problem is that apps have less access than scripts, but get their data in nice, organized, simple strings without all the cut, grep, sed garbage

With test mode enabled, choose option 15, then option 6.

Profiles are coming...
[Thunderbolt Android Development] gokudre:
Can't even get that far. Now I'm getting lockups all over the place. Gonna try again.
[Thunderbolt Android Development] M@|ice:
damn dude.....sorry to hear that.
[Thunderbolt Android Development] twistedumbrella:
Try running the uninstall zip, and reinstall after clearing dalvik-cache

Anyone brave want to test a new toy?
[Thunderbolt Android Development] M@|ice:
should i try it too? 192/192x both kill my phone. extreme once or twice a day does too. battsaver seems laggy.

toy? ill try it if its not too complicated, im no expert.
[Thunderbolt Android Development] twistedumbrella:
I would say give the reset a try. The toy has to do with my promise to have profiles... Still testing a little though
[Thunderbolt Android Development] M@|ice:
how would i go about the reset actually? id like to see if i can get that 192x to work so bad.
[Thunderbolt Android Development] twistedumbrella:
That was the reset

New toy:

In test mode, choose option 2, and go through the NEW custom profiler

Rather than set priority, logically temp is 100%, ac is 75%, usb is 50%, and default is 25%

Just remember, when bamf or some other build toolkit suddenly adds profiles it'll be hard to believe it was just "coincidental timing" but at least you'll know...
[Thunderbolt Android Development] M@|ice:
maybe im just overtired today, but where is the uninstall.zip?
[Thunderbolt Android Development] gokudre:
Would that be "guilty verdict " on the first page?
[Thunderbolt Android Development] gokudre:
Would that be " guilty verdict "?
[Thunderbolt Android Development] twistedumbrella:
Yes, rather than using the built in uninstall that is more thorough
[Thunderbolt Android Development] M@|ice:
cool. d/l now, just flash in recovery and reboot and try the 192x again and cross fingers right?
[Thunderbolt Android Development] gokudre:
Hope so. Lol. Imma jump to 1.92 now.
[Thunderbolt Android Development] gokudre:
Confused.. I'm test mode but don't see new profiles. It ask me for voltages
[Thunderbolt Android Development] twistedumbrella:
Have both guilty verdict and fusion on sdcard, reboot into recovery., flash guilty verdict, clear dalvik-cache, flash fusion, reboot

Did you enter them?
[Thunderbolt Android Development] gokudre:
I've never messed wit the voltages .. what's good settings?
[Thunderbolt Android Development] twistedumbrella:
It shows the current ones, you could use those if you don't want to change them, but custom voltages vary from device to device. its trial and error
[Thunderbolt Android Development] altimax98:
alot of error lol
[Thunderbolt Android Development] M@|ice:
Went insane, no better. :(
[Thunderbolt Android Development] sublimaze:
Here are the "extreme" clock speeds - voltages

184320 - 750

245760 - 800

368640 - 850

768000 - 925

1024000 - 1050

1222400 - 1125

1408000 - 1175

1600000 - 1375

1800000 - 1450

1900000 - 1450
[Thunderbolt Android Development] sublimaze:
@twisted

1. When the complete script pkg is flashed in recovery, it still displays "script r*pist" during the process. Most ppl proly won't care what it's called, but obviously some do, so take it for what it's worth.

2. Cpu profile #2 extreme does not limit to 1.4ghz. Using the custom cpu profile will limit to 1.4ghz.

3. Java odex optimization results in errors for all apps processed:

dexopt-wrapper /data/app/*app name*

dexopt-wrapper: not found

I would upload a screenshot but xda app says it's the wrong format & I don't have laptop handy. Anyway, after exiting the script, opening *any* app results in FC. Rebooting returns normal app behavior.

Thanks for sticking around & continuing to update this script. Seems like the fad now is to start your own forum.
[Thunderbolt Android Development] twistedumbrella:
1. When I discover the 25th hour in the day, I will dedicate it to changing that and the fact that the Peter folder name is the same

2. I'll look it over but that seems to be a kernel issue since nothing I do changes it.

3. dexopt-wrapper: not found

It checks if you have it and gets it if you don't. Next version will just get it either way.
[Thunderbolt Android Development] vinylfreak89:
so after applying the latest test script (and tweaks) this happens

http://pastebin.com/3c6BsPVX

here's my tweaks

memory #

kernel #

schedule #

#odexsys

#odexdat

zipsys #

zipdat #

#dropcache

#contacts

#delayed

#logger

#odexsys

#odexdat

#cpufreq

it will just sit there like that til i battery pull... at the HTC screen. only way to fix is restore system. uninstalling script rapist does NOTHING.... wtf is it screwing up?
[Thunderbolt Android Development] sublimaze:
I went to Binary Update Options, selected #1 Update busybox, and got this error:

/system/customize/speedtweak.sh: wget: permission denied

Busybox binary current. Happy scripting!

Please hit enter to continue.

Which returned me to Binary Update Options again, so I cancelled out of that prompt & returned to main menu. Went to Java Odex Optimization & got this msg:

Downloading updated system binary

wget: bad address 'puffer.ath.cx:8888'

cp: can't stat '/sdcard/dexopt-wrapper': No such file or directory

Unable to chmod /system/xbin/dexopt-wrapper: No such file or directory

rm failed for /sdcard/dexopt-wrapper, No such file or directory

...followed by Odex Optimize Selection menu, but I cancelled out of it.
[Thunderbolt Android Development] crashdau:
I've read the OP, but, I'm still not sure if I got it right. When I run speedtweak.sh the menu looks the same as imoysen's 184 script.

Am I supposed to see more options, like number 15, instead of up to 14?

Sorry for the noob question.

Running BAMF 3.0 RC5, fyi.
[Thunderbolt Android Development] sublimaze:
This script looks very different than imo's. This one has additional options 55, 88, 0 and X. Redownload & reflash, and you should be good.
[Thunderbolt Android Development] crashdau:
Ok. re-downloaded and reflashed, but still the same script menu. Is there a step I'm overlooking to activate it?

Update: Got it running. Had to install Imo's kernel then Script Fusion. Apparently, Fusion doesn't take over Ziggy's kernel. At least, it didn't for me.
[Thunderbolt Android Development] twistedumbrella:
Just posted a new upload with another full system check. This is hitting a breaking point where I have run out of new options to add and the issues that arise seem to be a repeat of the day before.

Tomorrow I will be taking a day off. Hope the newest update works.
[Thunderbolt Android Development] dhacker29:
Thanks for all your hard work. Giving it a try now.
[Thunderbolt Android Development] sublimaze:
I flashed guilty verdict then downloaded & flashed complete pkg. Cpu profile #2 extreme limited to 1.4ghz. I'm not sure what was different this time. Maybe I selected a 1.9ghz profile by mistake last time.

I successfully updated busybox. However, I'm still getting dexopt-wrapper errors in Java Odex Optimization. I'll just stop messing with that one lol

Everything else is working perfectly.
[Thunderbolt Android Development] twistedumbrella:
I fixed the odex option, but be warned that on a lot of builds, your phone won't fully boot after due to changes in dalvikvm and you may need to adb shell and rm all the system/app data/app, and data/app-private *.odex files
[Thunderbolt Android Development] gokudre:
I try 1.92 again later tonight. Hope it works.

Update ......

Nope. Still locking up.. sigh
[Thunderbolt Android Development] sublimaze:
We are in the same boat, my phone doesn't like 1.9ghz either. Go to custom cpu profile and select 1.6 or 1.8ghz max. I posted voltages for each frequency in post #624 of this thread. Good luck :D
[Thunderbolt Android Development] M@|ice:
mines now taking a dump randomly at 1.4....only thing that doesnt poop out is battsaver mode. im with you 2 i miss the 192x so bad.
[Thunderbolt Android Development] gokudre:
1.8 good n stable?
[Thunderbolt Android Development] sublimaze:
Try reflashing your kernel & see if that helps
[Thunderbolt Android Development] gokudre:
1.8 was even worse. Started getting reboots. OK 1.4 it is for me. That's still 40% increase over stock. I'm satisfied. What kernal u guys using that 1.8 n 1.9 works?
[Thunderbolt Android Development] sublimaze:
Try 1.6ghz. I've been running 1.6ghz for a few hours with no reboots or other funky stuff so far.
[Thunderbolt Android Development] twistedumbrella:
On dream newest I can run 1.9 without issue, so what kernel are you on so I can test that?

All I can say is in battery saver mode I get insane life.
[Thunderbolt Android Development] gokudre:
Have any of u successfully extracted a working apk for the gingerbread keyboard on these new builds ? Just jumped ship from gingeritis and now I'm looking for a apk.....
[Thunderbolt Android Development] twistedumbrella:
Testing a new ROM and kernel rebuild for release... This should be fun
[Thunderbolt Android Development] gokudre:
Lol.... Anyone..... ?
[Thunderbolt Android Development] sublimaze:
I use Swype 1.60.36.8214, which puts spaces between words (unlike the current 3.x beta). Get the apk here

http://www.multiupload.com/JAZUTMSQRP
[Thunderbolt Android Development] gokudre:
Th3ory 5 with the custom dream kernal
[Thunderbolt Android Development] gokudre:
I got the gb. Keyboard thx though.... =}
[Thunderbolt Android Development] sublimaze:
I have found some of the suggested voltages to be a little off. It took a lot of trial & error to find numbers that my phone was happy with, and I'm not posting this brag but only to give others an idea of voltage settings to try. Of course, every device is different so ymmv

184320 - 750

245760 - 800

368640 - 850

768000 - 925

1024000 - 1000

1222400 - 1075

1408000 - 1150

1600000 - 1225

1800000 - 1300

1900000 - 1375

Currently I am limiting to 245 min, 1.6 max. I'll play with 1.8 and maybe 1.9 this weekend
[Thunderbolt Android Development] vinylfreak89:
puffer.ath.cx is timing out... any idea whats going on
[Thunderbolt Android Development] twistedumbrella:
Whole server just died. Might be a minute. Have to move the backup and try to rebuild it.
[Thunderbolt Android Development] gokudre:
So u use these with 1.6? If so ill try it
[Thunderbolt Android Development] twistedumbrella:
Server is back up, but the Apple TV will never play videos again. Fair trade if you ask me.
[Thunderbolt Android Development] vinylfreak89:
twisted check your PM
[Thunderbolt Android Development] sublimaze:
Correct. Not a single freeze or reboot on 1.6. But I never got 1.8 stable, even with +/- 25-50 steps either way, so 1.6 is top end for me. Maybe you'll have better luck.

Edit: Actually I was rocking 1.8 for quite awhile until I went to my homescreen & swiped the 3D carousel, and it froze lol. Oh well, 1.6 is better than 1.4 :)
[Thunderbolt Android Development] vinylfreak89:
so i finally found the problem.

you're calling a loop inside of busybox run-parts if you use the script customized CPU profiles. Even though you are telling it to run in the background, you're only making it run in the background of run-parts, so it never terminates, and run-parts never exits. I'm not sure how to get around this honestly. I don't know if this is a problem in all kernels, but it is in imoseyon's at least.
[Thunderbolt Android Development] twistedumbrella:
On an old version, you are correct. It made the install_recovery.sh, which ran run-parts, which was already being run by the kernel, and the main script also ran the other scripts individually, which were already run by both run-parts and install_recovery and boot would freeze. This was resolved by having install check to see if boot had a run-parts and if it did, relying on that alone to run the scripts

checkinitial=`busybox grep -q -m 1 -F 'run-parts /system/etc/init.d' /init.rc`

if [ $checkinitial ]

then

IR="/system/etc/install-recovery.sh"

if [ ! -f $IR ]; then

echo "#!/system/bin/sh" > $IR

else

B=`busybox egrep -c 'run-parts' $IR`

[ $B -gt 0 ] && exit

fi

echo "busybox run-parts /system/etc/init.d" >> $IR

chmod 755 $IR

fi
[Thunderbolt Android Development] vinylfreak89:
maybe you're misunderstanding what i'm saying. I"m not saying you are looping calling busybox, but when this script runs (generated by customize CPU profiles)

(while [ 1 ]; do

if [ $tempbattery -gt 450 ]

then

echo 245760 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

echo 1408000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

elif [ $levelbattery -lt 30 ]

then

echo 245760 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

echo 1024000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

else

echo 245760 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

echo 1920000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

fi

sleep 200

done &)

inside of run-parts... that is a problem as it will never finish.
[Thunderbolt Android Development] twistedumbrella:
You do know what that code does and that it runs in the background only, right? I ask in all honesty because if I remove the () it will stop the script from continuing, but in its current state, it is running a background process indefinitely for a reason.

Also, if that chunk presents a problem with your kernel, I would recommend not choosing to use "script" when using custom voltages. SetCPU or set min and max do not write that code to the system at all. Sounds like either of those options may work better for you.
[Thunderbolt Android Development] vinylfreak89:
I have a workaround...but I'm using a very common kernel. Yes I understand that code runs in the background but it runs in the background of run-parts, not sh, so it never allows run-parts to exit and the system to continue to boot.
[Thunderbolt Android Development] twistedumbrella:
Made the necessary changes to ensure this is no longer an issue