yashsingh1/xdaforums huggingface dataset:
[Thunderbolt Android Development] twistedumbrella:
Just checked, updated, and verified install and added custom tweak current options detection to stop reset of settings when running it again. I suggest disabling all then selecting the first time you run custom tweaks after updating.
[Thunderbolt Android Development] patdroid1:
hey twisted...just flashed over das bamf 1.8.6 with Imo's latest froyo kernel...getting a syntax error after running speedtweak.

any ideas??? does this work on froyo kernels???

thanks in advance for the help and great work on the scripts
[Thunderbolt Android Development] twistedumbrella:
Redownload and flash. Had a server error for a minute while I refreshed everything. Been at the girlfriend's parents all weekend, so I had to switch back from remote operation. Downside to live updating is that there was no buffer for network issues (read "a backup was added and integrated")
[Thunderbolt Android Development] patdroid1:
yeah already did just that and all is working perfect...thanks man
[Thunderbolt Android Development] AvatarOfFrost:
Sorry for the noob question, but do I just flash this in recovery and then use it via terminal emulator?

Is this correct? Thanks
[Thunderbolt Android Development] chrootz:
Twisted- i flashed rapist script via cwr, I tried run speedtweak.sh in terminal emulator, and It doesn't run rapist's speedtweak.sh. Any solution?

Maybe I should take snapshot and show you what im trying talk about. Would it helpful for you diagnostic the problem?

Here the screenshot. You can see the rapist script did not take over the imo's speedtweak.sh.
[Thunderbolt Android Development] sublimaze:
Boot into recovery & flash from there (not cwr)
[Thunderbolt Android Development] chrootz:
Yes, That what i mean rebooted to recovery and flashed rapist script twice. No success. Like I said older OMFGB 29x2 version (402w_1 radios) worked fine but not the newer with MR2.5 radios. It seems screwed somehow.
[Thunderbolt Android Development] revs9k01:
Battery life is amazing! Best I've been able to get thus far.
[Thunderbolt Android Development] bp328i:
I see I'm not the only one that want to talk about battery, revs9k01 above my post likes it too.

Since I started using your Rapist (oh man did I just say a bad word on the internet...lol) I have been getting awesome battery life. Every time I went to take a screen shot I had always pluged my phone in (out of habit). So yesterday I made sure not to.

I must say I'm running SetCPU for Profiles but using the battsaver from your script.

Well I guess you can say I'm not running anything right now but more so my wife is as I'm in Manila for work and my wife is using my phone, (but I'm still the one doing everything remotely via Logmein) the only thing she knows about flashing is women do it and men try to get her to do it every year when we go to Mardi Gras.
[Thunderbolt Android Development] chrootz:
Ok, I tried use the flashable rapist script and it did not success on my OMFGB rom. I decide try use 2nd method. It WORKED!
[Thunderbolt Android Development] mikeb252:
Not sure if link on op is good or not. Having trouble. Tried to load latest. Version this am. Boot into recovery. Clear casche and davlik. Install zip. Reboot. From terminal Su enter. Speedtweak.sh enter. Stalls during busybox. Let it go and ends with a whole page of busy ox errors. Phone freezes. Pull battery and restart. Tried several times and 3 diff downloads. Any ideas? Thanks

Mike
[Thunderbolt Android Development] mikeb252:
Sorry. Should add using droidth3ory 4.2.
[Thunderbolt Android Development] twistedumbrella:
Sorry all for the delay. Went into a coma after not sleeping all weekend. I think it may not be working on older builds because of how the script is called. Going to test a few things and see about a fix because I tested recovery and ROM manager install and had no problems.
[Thunderbolt Android Development] rafaelvelasquez2:
I have a simple yes or no question.

Don't IMO's kernels have this already cooked in?
[Thunderbolt Android Development] gsxraddict:
Last time I saw no he does have speadtweak but not to the extent of twisteds tweaks

Thunderbolt powered by Bamf effen 3.0
[Thunderbolt Android Development] rafaelvelasquez2:
Thanks man. Thats all I needed to know. I'm gonna flash this sucker and see what its all about.
[Thunderbolt Android Development] mikeb252:
Thanks Twisted. Waiting to hear.

Mike
[Thunderbolt Android Development] twistedumbrella:
Delete the update you have, download http://db.tt/tVv20Pt and flash it. Let me know if that fixes it. Removed an error check that may have been causing issues on some ROMs, put in an error check that will do the same thing a different way. Seems it was letting a different file pass as one of mine.
[Thunderbolt Android Development] CBMC:
After applying the 1-7 optimization menu I have had a couple of my widgets disappear. Not a big deal. Just wondering what I did that may have caused this. Thanks in advance.
[Thunderbolt Android Development] mikeb252:
Thanks Twisted, just downloaded, ill fire it up and get back to you.

Mike
[Thunderbolt Android Development] twistedumbrella:
Honestly, I have no idea. Is it the contacts widget? If you enabled the contacts tweak it changes contact icon permissions, otherwise no widgets are touched.

That happened with the old version and one specific tweak not liking the way it was organized. It should have been fixed in the newest version.
[Thunderbolt Android Development] mikeb252:
"syntax error. Near unexpected token. Newline"

Can't do anything. Atleast phone isn't freezing!!

Mike
[Thunderbolt Android Development] twistedumbrella:
While I work on some AOSP issues, here is a copy of Gingeritis Beta1.1 with a couple mods:

Added in HTC Hub and HTC Likes

Removed all the crap that was installed in data

Removed the data wipe

Added AppWidgetPicker and some HTC Widgets

Added ScriptRapist and Ext2buntu required files

Imoseyon v3.4.0 kernel

Vortex boot animation

Graffiti font package

All required binaries

GTalk with voice and video

Cyanogen Glow lockscreen ring

Footprints app and widget with corrected icons

Screen density of 160

http://db.tt/JyChECd

I think I listed everything I did to it, but it is basically how I set my phone up after installing a new ROM. I still recommend the GingerTh3ory ROMs for users, but I run this because of the amount of purely useless crap I add and because with the odex files and all the 3.0 junk, and having EVERY SINGLE app and widget, it gives me more scenarios to test the script against.

This update is UNSIGNED. Make sure you allow in recovery.

First off the system issue is that you need to fix permissions, second if ScriptRapist causes a lock within three days, you should change the settings you apply.

It really needs to be understood across the board that by default, ScriptRapist links the modified speedtweak to the original. NO OTHER MODIFICATIONS TAKE PLACE. Not every tweak works on every phone and while I try to make it detect what will, it is not perfect.
[Thunderbolt Android Development] twistedumbrella:
I have made every little edit and change I could think of to get this thing working outside having it pack up my phone, print an address label, and ship it to the user.

I found the error that was causing the script to not take. I fixed a few things with backing up existing scripts and reloading the ones that are compatible

There was an issue with using the original 6.2.1 and 7.1 mods that would prevent this from running because it was letting those mods run in place of it.

There was also the problem of the package leaving the files the way they were (to prevent erasing existing mods) and in the process skipping the update of files that required changes.

These items led to a lot of people either having the script not take, or getting errors when it did. If you were having problems, please download the update and flash it and let me know if it fixes the issues... Thanks
[Thunderbolt Android Development] mikeb252:
Downloaded update from 18:11. See 19:09 error. Thanks
[Thunderbolt Android Development] twistedumbrella:
Fixed a couple more calls to busybox that may have been causing issues. Let me know if it gets you anywhere. The only other thing I can think of is to download busybox installer from market and let it reinstall busybox because yours may be corrupted.
[Thunderbolt Android Development] mikeb252:
I'll give it a go now. Thanks.

Mike
[Thunderbolt Android Development] tct08:
I seem to be having issues. Flashed on top of lean kernel 3.4.0 and the first time, it didn't even flash all the way. Terminal said couldn't find speedtweak.sh. Second time flashed, it stalled at verifying in terminal and gave me an error. I then manually installed speedtweak.sh by using the bash command. Went to set custom voltages and the phone locked up after the last screen where you choose to enable or disable setcpu usage (I hit disable). The same voltages have worked for me before, but just to be sure I tried higher ones but the result was the same. Any ideas?

Sent from my HTC Thunderbolt
[Thunderbolt Android Development] CBMC:
Hello again. I am getting the following error. Any ideas?

/sbin/speedtweak.sh: 98: Syntax error: EOF in backquote substitution
[Thunderbolt Android Development] twistedumbrella:
The frozen install is a known issue from a few versions ago. You are not enabling or disabling SetCPU, active means you currently use it and will edit the script accordingly. If the phone locks up selecting voltages that is usually a voltage issue with them being too low or that the voltages you set do not match the frequencies available, which was an issue on some kernels that did not have matching frequency values in both places they are stored. What kernel are you using?

What ROM and kernel are you using and how recent is your script? I received that error once in testing, and it was when the EOF was out of line, which should be fixed, but there is also a chance that the ROM being used reads things differently.
[Thunderbolt Android Development] sublimaze:
@twisted

I'm running Gingeritis 3D v1.0 beta1 and I wanted to grab the tweaked ScriptRapist for Gingeritis, but http://db.tt/JyChECd gives a 404, and http://bit.ly/jAdJNY is a full 325mb rom. I'd like to get the tweaked version you mentioned in post #439
[Thunderbolt Android Development] rafaelvelasquez2:
I'm running today's vv20pt script with bamf's rc4. All good here. Just don't flash multiple things at once, like custom lock ring, right key remap mod, and script rapist in same session. Do 1 at a time in different recovery sessions. End up flashing the scrpit rapist 3 times before I figured that out.

Btw. Anyone else using the latest rapist and rc4 having awesome battery life?

What settings r u using?
[Thunderbolt Android Development] CBMC:
Using Ginger BAMF remix. I went ahead and wiped and reinstalled rom and that problem went away. My widgets are still disappearing after running the optimization menu. Not a big deal, I just readded them. One time I lost my weather and clock widget completely (disappeared from my widget selection menu). The weather widget apk was still in system/app, just couldn't get it to appear on the widget menu. Now everything seems to be running fine again after wipe. Thanks for all the hard work.
[Thunderbolt Android Development] CBMC:
Delete. 10char
[Thunderbolt Android Development] twistedumbrella:
It was a full ROM, but after the nice issue this morning, I deleted it. Found parts were half-assed that caused freezing. Updated the main script with the mods I was using anyway.

Bamf builds do not like modifications. End of story. The superuser 3.0 causes issues, busybox mods cause issues, and until they get worked out, the script never takes. I usually have to install the ROM, boot, fix busybox, reboot, fix busybox then su, reboot, install the script, reboot, fix busybox, su, and permissions, then if lucky, use my phone.
[Thunderbolt Android Development] altimax98:
So if we update through terminal it will carry over those mods?
[Thunderbolt Android Development] altimax98:
I've got two questions for you as well twisted...

1: has anyone else had an issue running script rapist and the battery no updating in the system automaticly? The top bar and about phone wont update lol. I didn't know it it was a kernal issue or rom.

2: what edit in the script removes wipe
[Thunderbolt Android Development] altimax98:
I figured out the script :-) thanks! !!
[Thunderbolt Android Development] sublimaze:
I flashed the latest Current ScriptRapist Package and followed your advice, changing one thing at a time and rebooting between each change. The first thing I did was change the cpu profile to #2 extreme, then rebooted. Next changed the governor to ondemand, rebooted. Next was odex optimization of all system & user apps. Everything appeared to optimize, no weird error messages. Rebooted. Then I noticed the cpu profile was reset to default. I changed it back to #2 extreme, rebooted, and it "stuck" throughout the rest of my meddling. Enabled swap, rebooted. Went to Tweak Customization menu, selected #1 Aggressive Memory Mgmt, then Generate & Exit, and the (-) remained there. Rebooted. I did this for options 2 thru 7, rebooting between each. Everything went smoothly except #7, I got this error:

/data/data/com.android.providers.contacts/files/thumbnail_photo_2691.jpg: unknown operand

btw, only one of my contacts has a photo associated, maybe that is why I got that error just one time.

I am running Gingeritis 3D v1.0 beta1, so I selected #44 Optimize HTC Sense, #0, rebooted.

Everything is running silky smooth :cool:
[Thunderbolt Android Development] twistedumbrella:
What wipe were you trying to remove? The script doesn't wipe anything.

Looking into the unknown operand. That contact mod doesn't do any real harm, but its a little shaky.
[Thunderbolt Android Development] altimax98:
The wipe in gingervitis

Eris/Droid1/Incredible/Rooted Nook/Thunderbolt!!!
[Thunderbolt Android Development] sublimaze:
This is a kernel addon, it doesn't affect the rom wipe.
[Thunderbolt Android Development] altimax98:
I know I was talking about twisted post 429 about the modded script in gingivitis
[Thunderbolt Android Development] DroidTh3ory:
You need to edit the updates-script for it to not wipe on install. Nothing can be done in here to do it.

:)
[Thunderbolt Android Development] altimax98:
Yeah I took some time at work and found it, I hadn't gone into a rom like that before

Eris/Droid1/Incredible/Rooted Nook/Thunderbolt!!!
[Thunderbolt Android Development] twistedumbrella:
Well, I could make it unzip the ROM and edit the updater-script... actually that is a really good idea! Was going to post an update, but it will wait for one other feature...
[Thunderbolt Android Development] lanceman5000:
Just opened speedtweak.sh, and after the auto-update, I'm getting this:

/sbin/speedtweak.sh: line 230: [: Customized: binary operator expected

/sbin/speedtweak.sh: line 2663: unexpected EOF while looking for matching ``'

/sbin/speedtweak.sh: line 2680: syntax error: unexpected end of file

sh-3.2#

I'm on GingerTh3ory 4.5.1, and I've been running your rapist script since flashing it the day it was released and have had no problems.
[Thunderbolt Android Development] altimax98:
I always get tons of errors LOL. I ignore them all time. As long as I can build my own 1.6 Oc, setup swap and BFQ schedule I'm happy :-)
[Thunderbolt Android Development] lanceman5000:
When I run speedtweak.sh now, all I get is the above readout. I can't even get into the menu to change cpu profiles, edit swap, etc. I guess I'll just download the latest rapist zip in the OP and flash it.
[Thunderbolt Android Development] altimax98:
Flashing never worked for me. I download the live file and bash it
[Thunderbolt Android Development] twistedumbrella:
Your autoupdate happened right when code was being uploaded. I have still not found a way to make a test buffer (it just hit me how...) Rm I haven't implemented the test buffer yet lol.

New option. Updater-script Editor. which removes data wipe

Extract the entire META-INF folder from a ROM or the ROM itself, run this option, point to it, zip the folder and flash.

Example would be update named GingeritisBeta2, extracted using root explorer, your input would be extracted/GingeritisBeta2, and then you would long press the Gingeritis folder in root explorer, zip it, and flash compressed/GingeritisBeta2.zip

A backup is made to /sdcard/updater-script.bak
[Thunderbolt Android Development] lanceman5000:
I figured it was my luck I'd run the update at that exact moment. Anyway, I flashed the newest zip and everything is back to running normally. Thanks for all you do.

Also, if I'm reading your post right, the new option you are referencing is for those who don't want a new ROM or ROM update to auto-wipe? It has nothing to do with the problem I had, correct?
[Thunderbolt Android Development] LexusBrian400:
spits out about 40 errors on Bash. Gingeritis1.1 Imoseyon latest GB kernel
[Thunderbolt Android Development] twistedumbrella:
Correct. it will edit the file for you. Mainly for those who can find extract, but don't have a clues what the guts of an updater-script do. Noob features. Similar to the screen density editor.

Not to be a jerk, but the obvious answer is use the update zip instead. Bash won't work for every bash binary.
[Thunderbolt Android Development] twistedumbrella:
If anyone is interested in beta testing as new features come along, shoot me a PM. If I get enough testers I will add an "opt-in" toggle in the script itself so you can toggle test mode. Otherwise I will limit testing to just those who have messaged.
[Thunderbolt Android Development] twistedumbrella:
Found the freeze issue. When the update happened to solve overlap with the original 6.2.1 package, the old tweak file was sticking around. This meant every tweak was being run twice instead of the files being merged as intended. Those who cleared and enabled one at a time were properly overwriting the file. Issue resolved in the latest update and preventive measures taken.
[Thunderbolt Android Development] gsxraddict:
Screen density in the speedtweak you're the man...but making it easy for noobs to be lazy lol

Thunderbolt powered by Bamf effen 3.0
[Thunderbolt Android Development] twistedumbrella:
After trying to find recommended values, and instead reading 4 pages of where is it and what app works...

160, 176, and 200 are good values. A lot of people say 185, but I doubt they notice all these values have something in common with 240
[Thunderbolt Android Development] twistedumbrella:
New versions of everything.

New commands

typing speedtweak.sh guilty in terminal is the same as running the guilty verdict package in the oq and will remove all changes made by ScriptRapist

Beta testers: typing speedtweak.sh detest in terminal turns testing off if the script is broken and you need to revert to stable
[Thunderbolt Android Development] twistedumbrella:
Updated Googlecode for the changes to the updater-script and Guilty Verdict packages

Made some changes to the packages to fix the bad installs

Cleaned up the bash install and tested on Droid to verify it will work on the least compatible systems (had busybox 1.6 and everything in system/bin instead of xbin)
[Thunderbolt Android Development] twistedumbrella:
Ran out of space on my ubuntu drive and was amazed by the fact that 4GB on a phone goes so much further than 40 GB on a hard drive. Sooo cloning to a 250GB and sacrificing all my downloads. Why, you may ask, am I telling you? Because once I have the free space again, I can start development on Dr. Kernel (the app version of all this hooplah)
[Thunderbolt Android Development] twistedumbrella:
Anyone interested in a much faster, much more stable version with some new menu options and a cleaner interface? Just waiting for the right moment...
[Thunderbolt Android Development] DroidTh3ory:
Of course... :)

You've got PM.
[Thunderbolt Android Development] tct08:
Just wanted to say that the new name made me chuckle :)
[Thunderbolt Android Development] RjsShadows:
Constant updating lol. Hard to keep up.
[Thunderbolt Android Development] DoctorZaius68:
Nameless? LOL.

Did you finally have enough with all the whining about the name of your program?
[Thunderbolt Android Development] gsxraddict:
Man I missed this. I'll pm anyways if you don't need anymore the oh well lol

Thunderbolt powered by Bamf effen 3.0
[Thunderbolt Android Development] twistedumbrella:
Android Market is no place for logic or explanation and if an app is going to link to the thread, then I have to leave those ideals behind.
[Thunderbolt Android Development] twistedumbrella:
Complete rebuild. More stable. MUCH faster.
[Thunderbolt Android Development] phoney6:
This keeps getting better and better! Once the app comes out will speedtweak.sh still be an option?
[Thunderbolt Android Development] M@|ice:
this script is flipping amazing, the control i have over this phone now has truly made it worth the **** battery, much more fun and powerful device now. thanks!
[Thunderbolt Android Development] sublimaze:
I just noticed the name change too. Surely we can do better than the "nameless" mod :confused:
[Thunderbolt Android Development] 66dude:
"BAMF user detected! Meltdown imminent"? LOLWUT?
[Thunderbolt Android Development] M@|ice:
i love that part. :)
[Thunderbolt Android Development] twistedumbrella:
Much like bamf toolkit, the App will only be a shell that prevents having to use terminal. This method will remain and somehow the App will integrate the updated versions.

They are slowly being added for more builds. Th3ory ROM has one, too

echo ' _____ _ _____ '

echo '. /__ \ |__ |___ / ___ _ __ _ _ '

echo ' / /\/ _ \ |_ \ / _ \| __| | | |'

echo ' / / | | | |___) | (_) | | | |_| |'

echo ' \/ |_| |_|____/ \___/|_| \__, |'

echo ' |___/ '

echo

echo " Th3ory detected! Gained God complex..."
[Thunderbolt Android Development] Derrtydozen:
I'm running CM7 with Kang Bang kernel and I'm getting this
[Thunderbolt Android Development] rlervin:
I am getting the above message and I am running Ginger Th3ory 4.5.1. Why would I get this message?
[Thunderbolt Android Development] DroidTh3ory:
It sniffs out certain tags in the build prop. I get it also. Lol.

Whatever it is sniffing out must be familiar to CM7, BAMF, and my ROMs... I would assume it is something to do with the lines regarding sense 3.0. :)
[Thunderbolt Android Development] sublimaze:
@twisted

The tweak menu shows

11) maintain system odex -

12) maintain user odex +

What is the benefit of enabling system odex, but not user odex? (or vice versa)
[Thunderbolt Android Development] twistedumbrella:
Might be a glitch in the menu if you mean one is selected and one is not, but data is not always stable, and with a lot of apps can add lag to boot time. System is pretty set, with few changes, and only looks for missing odex files. I usually just do system because I have 90 apps with updates like a revolving door.
[Thunderbolt Android Development] LexusBrian400:
Wont work for me. Stock CM7 1.1

Do i need to flash an IMO aosp kernel first? The thread title says Anykernel, So I assumed not, but its def not working.

Thanks anyway
[Thunderbolt Android Development] sublimaze:
Yeah, system odex is enabled (but not user) by default, before I messed with anything. Thanks for the clarification.
[Thunderbolt Android Development] RjsShadows:
I think Twisted Mod sounds sick.
[Thunderbolt Android Development] twistedumbrella:
I had a newer version with some new mods (which will have to be rewritten due to the following issue). Release has been delayed because for the second time using a BAMF ROM my phone rebooted to random deletions throughout my sdcard. Seems dreamKernel does not like low voltages. As for any smartass comments from the peanut gallery... you might want to hit CTRL A, and then BACKSPACE

I highly recommend checking out Forensic Recovery with Ubuntu
[Thunderbolt Android Development] tct08:
I've had this happen before when I chose extreme mode on an old lean kernel. Lost everything in a folder on my sd card, but strangely nothing in the root. It seems to be caused by undervolting too low as I have seen others report similar situations. Do you have any recommendations for recovery using Windows?

Sent from my HTC Thunderbolt