yashsingh1/xdaforums huggingface dataset:
[Thunderbolt Android Development] twistedumbrella:
Shouldn't be a problem. Odex advantage is that instead of the system having to read from the app, create a dex file, and reference the app every time, the dex file is outside the app for the system to access without "decompressing"

Dont quote me, because that is the rough explanation from what I remember about the original mod I threw together 3 years ago. I just found all the files when I reopened google code so I'm not fully refreshed.
[Thunderbolt Android Development] BennyJr:
I dont know if this is a bug for me...but when i run extreme mode, which should over clock to 1.4. It overclocks to 1.9,,,
[Thunderbolt Android Development] twistedumbrella:
Hold home, run something else for a minute and then hold home and return to your terminal. Dropbox is capping me I think... Considering I kind of highjacked their view links to use as a download server.

It's an outdated script you're using...
[Thunderbolt Android Development] ridobe:
I'm running in normal mode and I have the latest script. Mine spikes to 1.9/1.7 and freezes my phone upon each reboot. I think it's the governor though. It's actually happening when the screen shuts off during boot-up. I have to try and catch setcpu while the phone is still loading in order to catch it. This is probably a post that needs to be in Imos' thread but I'm just answering to the post above.
[Thunderbolt Android Development] lanceman5000:
Twisted, the most recent update package is newer than the most recent script download (via speedtweak) according to the date/time listed in the OP. Is it necessary to flash the new update package, or will I stay up-to-date using speedtweak whenever a new script update is available? I am currently running God Complex V3 with the latest script update (5/23 10:40pm) via speedtweak.
[Thunderbolt Android Development] twistedumbrella:
Hence setCPU override disclaimer, but ill look into it to make sure the script isn't being weird.

Sorry, update in op is a pack date. if you download through the script you are updating to the same script on my card this second lol
[Thunderbolt Android Development] SomeGuyDude:
After waiting through the stalled issue like you said, the script just says it's committing files to the system and throws me back to the # prompt.

http://i.imgur.com/y7pnQ.png
[Thunderbolt Android Development] gsxraddict:
So I just got more time on battery then I ever have running gb before dropping from 100% since all I've done was keep up to date with your tweaks I have you to thank cause nothing else is different. Thanks man the rapist is getting better by the day!

Thunderbolt powered by Bamf effen 3.0
[Thunderbolt Android Development] twistedumbrella:
I just updated the dreamkernel pack last night to stop looping the setup again, but it does that because after it sets up, it overrides the download script so it exits to launch the real speedtweak.
[Thunderbolt Android Development] DroidTh3ory:
Twisted.. If you want me to setup a username and password for you on my ftp to handle the Rapist's wants and needs on the updating and downloads let me know. May help with the "stalling".

:)
[Thunderbolt Android Development] twistedumbrella:
... Shh... Just fixed my appletv.... My server went live two nights ago.... Modded internet... Update soon.... But THANKS

Dropbox doesn't support the right headers for comparing upload date to download date, but that should be possible now
[Thunderbolt Android Development] DroidTh3ory:
Sounds good!!! But... What the hell is AppleTV. Lol.

:)
[Thunderbolt Android Development] twistedumbrella:
http://www.apple.com/appletv/

But mine is a full mac mini with a server... That I got free because nobody checks if you can turn demo mode off before asking you to toss the display model....

Update once, complete, exit and you now have auto-update
[Thunderbolt Android Development] RjsShadows:
Twisted do you think we can flash rapist to Ziggy's new GB kernel?
[Thunderbolt Android Development] ridobe:
It works.

10 char
[Thunderbolt Android Development] twistedumbrella:
New release tonight will be epic..

If you noticed Imoseyon's kernel has new frequency values, which previously meant this mod won't cooperate... You will have an answer tonight...
[Thunderbolt Android Development] gsxraddict:
Epic! I love epic!
[Thunderbolt Android Development] twistedumbrella:
Let autoupdate run and try out custom... Profiles Brent done yet, but a preview is up.
[Thunderbolt Android Development] gsxraddict:
Is the voltage that comes up what it is now?
[Thunderbolt Android Development] twistedumbrella:
Yeah, still making it all pretty
[Thunderbolt Android Development] gsxraddict:
Awesome never knew safemode voltage was that high.
[Thunderbolt Android Development] twistedumbrella:
Yeah, that's why its safe lol

Battery saver profile added
[Thunderbolt Android Development] Pithism:
i just updated to your newest one on IMO 3.3.6. and there is no option for update script in terminal? is that just me or did you take that out?

EDIT

Nm so thing auto updates? is that why option u is gone? just little confused thanks
[Thunderbolt Android Development] gsxraddict:
After the last auto update st doesn't run.
[Thunderbolt Android Development] twistedumbrella:
Yeah. I had left the menu in there for a revision or two until I got everything running right with the auto-update then it just seemed kinda pointless

You just happened to beat me to the punch on adding in a catch for when the file misses my ftp server and zeros out. just flash the update in the op and it will correct itself. Sorry about that, but in the future it will actually verify itself now
[Thunderbolt Android Development] Pithism:
i have to say its pretty neat that this thing does all it does already. autp update, backups restores, etc etc. its awesome cant wait for the future
[Thunderbolt Android Development] klisp:
Twisted, the rapist script auto updated but when I check the revision number it was still an older version #....so I downloaded your lastest kernel and script on the 1st post but now I can't get speedtweak.sh to work in the terminal...its like it doesn't recognize the speedtweak.sh command...should I reinstall droidtheory Rom to get it working again? Sorry if u gave this answer before...I didn't see an answer in the previous posts...

Thank u..

-------------------------

-HTC ThunderBolt-

ROM: GINGERTH3ORY V4.2X

Kernel: God Complex V4A

Radio: MR2
[Thunderbolt Android Development] twistedumbrella:
Versioning was being overlooked, OFTEN. The autoupdates come right from the newest script floating around on my sdcard, so i was getting lazy when it came to that aspect.

If you download a kernel with the "speedtweak hook" it will get itself up-to-date first run. No additional downloads

If you download ScriptRapist, it will get itself up-to-date first run. No additional downloads

If an update breaks the installation, if you lost connection during a download, etc the UpdatePack will restore the speedtweak to the latest stable version.

Version numbers now detect the last script replacement time, in addition to the previous method of only downloading newer updates, to make it a little easier to know how recent your script is.
[Thunderbolt Android Development] gsxraddict:
Got it working. I delete everything in init.d booted to recovery installed kernel and rapist then it ran perfect.
[Thunderbolt Android Development] BennyJr:
So should i try the latest or wait till later...
[Thunderbolt Android Development] twistedumbrella:
Minor issue, resolved it rather quickly, all good now

If you were using my mod, flashing the update pack will restore speedtweak

If it runs and your voltages are bad, download http://db.tt/jaAKBEP and put it in the sdcard root or /sdcard/ and use option 16 followed by option 2

If all else fails, delete /system/etc/init.d/03twist_override to disable the mod completely

It was made to survive kernel updates, but that file can nuke it.
[Thunderbolt Android Development] Gashira:
FYI, just updated a few minutes ago and I'm getting script errors when I attempt to change the governor. The errors are between lines 168-173. It looks like it's expected an integer and getting something else.

EDIT: Looks like an update from a few seconds ago fixed it :).
[Thunderbolt Android Development] twistedumbrella:
It was looking for a word and getting an integer. Updated again to fix custom voltages not writing to the file. Everything should work now.
[Thunderbolt Android Development] :
Ever since I flashed your script updater nothing happens in speedtweak.sh. Like nothing at all happens.
[Thunderbolt Android Development] BennyJr:
Gotta say man...that auto update is pretty sweet.
[Thunderbolt Android Development] twistedumbrella:
ROM? Kernel? When?

There was a version that slipped through that had a file size of 0. Did you try troubleshooting as per the first post?

Help me help you, lol
[Thunderbolt Android Development] twistedumbrella:
Added the option to the tweak menu to import your own tweaks. Put a text file with your bootup tweaks in the sdcard root - /sdcard/name of file and choose this option to enter the name of your file and it will be added.
[Thunderbolt Android Development] TheImmortal68:
I don't know if this is related to the script, or just a problem with my phone, but I get errors on all the advanced functions of the speedtweak script. Here is one I get when clearing battery stats.

Please enter a number: 17

rm failed for /cache, Device or resource busy

not permited!

I get similar errors with other commands as well. I ran fix permissions and no change.
[Thunderbolt Android Development] ready5:
Is it possible to make rapist update the kernel too? Just thinking about all the updates nero and imo pop out along with your awesome mods and Th3orys nice tweaks to their kernels for his roms...
[Thunderbolt Android Development] twistedumbrella:
The cache error can be ignored. I an working on an alternate removal for that , but for now it doesn't do any harm

Somewhat possible, but there would need to be direct links listed in a text file in a set location for it to retrieve, read from and decide with. Maybe in the future, but that will take some time
[Thunderbolt Android Development] jbeitel:
got through my startup, after boot animation, notification bar comes and boom, it freezes solid.

using imo 3.3.8 and bamf sense3 rc3, thoughts?
[Thunderbolt Android Development] gsxraddict:
What have you done in speadtweak?

Try fix permissions in cw.
[Thunderbolt Android Development] twistedumbrella:
Same happened to me when my voltages were too low, if all else fails:

adb shell rm /system/etc/init.d/03twist_override
[Thunderbolt Android Development] jbeitel:
i'll try to fix permissions but to answer you question, i did nothing in speedtweak because i couldnt get in to my phone.
[Thunderbolt Android Development] twistedumbrella:
Well nothing in speedtweak ran then... Nothing runs by default except minor tweaks to things like sdcard readahead and mounts but that wouldn't cause meltdown.
[Thunderbolt Android Development] gsxraddict:
Sure you flashed a sense kernel not an aosp? Or vise versa if you're on cm7
[Thunderbolt Android Development] jbeitel:
not sure why but you had it right, i fixed permissions and bam everything is peachy keen. thanks!
[Thunderbolt Android Development] ready5:
God kernel..

Twisted.. do we have any idea as to what happened today with the GC? ROM and kernel issues or just kernel?
[Thunderbolt Android Development] ready5:
Latest

and is this the latest full install? Script Rapist (latest 6/27/11)

http://db.tt/tVv20Pt

??
[Thunderbolt Android Development] klisp:
I moved over from Th3ory's thread like you asked....Anyway, after you asked me to exit out the script and rerun the script, it still wouldn't download or find this customtweak.sh file at all.

So I remember you wrote that this file was integrated into the full install. So I installed that version in recovery and now everything works. 100%. Here was the link to the file BTW: http://db.tt/tVv20Pt
[Thunderbolt Android Development] twistedumbrella:
I have no idea what happened today. It is a little hard to see things from a regular use point of view because my phone is set up to be a full computer replacement, so it always has updated busybox, and all the commands you could ever need.

I ran tests on my mother's Droid1 and after installing the same busybox the script looks for, everything actually worked on her phone. Despite her freaking out about what all that green stuff flying by could be, it gave me an idea of what the issues were. I was using friendly names for grep and stat and cut and such, so I went back and added busybox commands instead.

As for the issue of the speedtweak in Th3orys rom, I have no idea, but I think the best way to solve it is I just need to rip the thing apart and see what is going on, because I am not leaving my mess on anyone else's shoulders.

Thanks. I just know his thread was getting a lot of posts that were full page printouts of the speedtweak output, and flooding out other ROM issues. While I know he can handle both, it just makes it a little easier to break the issues up. That file will work and there is a newer version in the op here, but I want to find out what is going on so I can prevent future outbreaks.
[Thunderbolt Android Development] blkghost22:
Can anyone give me a good voltage that US stable and conserves battery but overclocked can't seem to get it right
[Thunderbolt Android Development] gsxraddict:
Problem is what's stable for me might not be for you. But I usually start at 750 to 775 for the 184 slot and go up by 50 to 100 for each slot after.
[Thunderbolt Android Development] twistedumbrella:
#!/system/bin/sh

# Mode: custom

sysfile="/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels"

echo 184320 675 > $sysfile

echo 245760 750 > $sysfile

echo 368640 800 > $sysfile

echo 768000 875 > $sysfile

echo 1024000 975 > $sysfile

echo 1222400 1075 > $sysfile

echo 1408000 1175 > $sysfile

echo 1600000 1225 > $sysfile

echo 1800000 1350 > $sysfile

echo 1900000 1375 > $sysfile

Haven't fully tested the top end. I never go past 1024 but it should hold.
[Thunderbolt Android Development] pitchblack86:
Looks like speedtweak is up and running now. 99 worked. Didn't say not found anymore. Think its good to go. I think lol.
[Thunderbolt Android Development] twistedumbrella:
Good to hear. Break some stuff, let me know what happens, and ill try to make sure we stay stable.
[Thunderbolt Android Development] gsxraddict:
Wow how does the 675 do that's pretty low

This is mine right now. Not over 1ghz though. Battery is life lol

184320: 750

245760: 775

368640: 825

768000: 900

1024000: 950

1222400: 1000

1408000: 1050

1600000: 1200

1800000: 1300

1900000: 1350
[Thunderbolt Android Development] lanceman5000:
Twisted, I'm on Th3ory 4.3 and I just ran the full rapist script from the OP. It seems that speedtweak.sh is fixed for me for the most part. However, I did get an odd output when selecting battery saver mode. The change to batt saver mode was made, but the output was some sort of error message (don't remember exactly, I know, helpful, right?). Also, I noticed that their are only two choices of schedulers for me, noop and deadline. I know Th3ory had to change from the dream to the lean kernel for this release, so maybe this is correct for Imo's lean kernel?
[Thunderbolt Android Development] twistedumbrella:
It actually reads it as 750 due to restrictions on newer kernels, but when it was allowed it ran just enough for screen off
[Thunderbolt Android Development] dhacker29:
When I run option 2 under 99 I get this. Any reason?

---

Please enter a number:

swapon: /data/swapfile: Device or resource busy

vm.swappiness = 40

/system/etc/init.d/99imoseyon: cannot create /sys/devices/system/cpu/cpufreq/ondemand/up_threshold: directory nonexistent

/system/etc/init.d/99imoseyon: cannot create /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate: directory nonexistent

vm.dirty_ratio = 90

vm.dirty_background_ratio = 70

vm.vfs_cache_pressure = 5

vm.oom_kill_allocating_task = 1

vm.min_free_kbytes = 4096

---

All set! Running again resets selections.

#
[Thunderbolt Android Development] twistedumbrella:
What and where is this ziggy kernel I keep hearing about?

And out of curiosity, how many of you are BAMF users?
[Thunderbolt Android Development] RjsShadows:
I'm running synergy, right now only that and chingys newest build run ziggys kernel. Chingy is actually also working on synergy. You can't download Ziggy's kernel on its own yet.
[Thunderbolt Android Development] DroidTh3ory:
It's in the thread for Virus... I am running it now. I pull the zimage from the boot.img splilt the kernel open and swapped it out. Now I have my RAM Disk changes and my 90th3ory script running with it. I have been doing some testing and I have to say it is very nice.

Twisted if you want I can zip and upload. It may help. :)
[Thunderbolt Android Development] ridobe:
I had been running Ziggys' kernel over the last week or two due to the fact that I couldn't boot up any form of Imos' kernels. It is indeed very slick. I actually think it sped up my system quite a bit. He's always made good kernels.

edit: I'm also curious about a drod sense version.
[Thunderbolt Android Development] ready5:
Having an affair....

What are the pro's cons of Imos vs Ziggys... personally I feel like by changing the god complex kernel from Imos to Ziggys... I feel like its cheating on IMO :D
[Thunderbolt Android Development] DroidTh3ory:
Not sure there is any as of now... Both are great kernels, but for some reason my ROM is having relationship issues with Lean. I don't know if it has to do with my RAM Disk MODS, the 90th3ory syscrt or what. But, both are working in perfect harmony with Ziggys base right now.

???? I just don't know. I am not as well versed with kernels as anybody else around here. But, I'm learning. :)
[Thunderbolt Android Development] twistedumbrella:
Alright, I found it and it seems it sparked another speedtweak edit. I prepared for up to ten available frequencies, but this thing has like 15. And the profiles don't cover 24576, lol
[Thunderbolt Android Development] DroidTh3ory:
LOL, it is quite nice.... The Danny thing is solid and smooth as silk. All night, all day so far.
[Thunderbolt Android Development] jbeitel:
I had to bump up your extreme voltages because under heavy load (using gps, data dling, bt on) I would freeze. Bumped the top few up 25 mv. I will test again on my way home.
[Thunderbolt Android Development] jbeitel:
Me
[Thunderbolt Android Development] twistedumbrella:
New update including some new menu options:

Wifi Calibrate - this is for those cases where you flash a new ROM or kernel (and if you are like me, removed the data wipe because you don't want to deal with going from alpha 3 to alpha 11 and having to reconfigure EVERYTHING) and your wifi no longer connects to networks or keeps flashing when you go to settings. This will recalibrate and reboot your phone so that wifi works.

Install location - this will allow you to change the install location for applications. This is useful in cases such as Gingeritis, where the app checks for an ext2 and disables the option if it exists, but your ext2 is ubuntu or something other than applications.

I will be updating the packages in the op as soon as I can be sure this new update is stable. I will be AFK for a little while, but when I get back I will also reply to anything I missed.
[Thunderbolt Android Development] RjsShadows:
Theory I think you should talk to ziggy before including it in your Rom. :b
[Thunderbolt Android Development] twistedumbrella:
The joy of open development is working off what is made available. Speaking of which, anyone know what revision of my install script was used in the Gingeritis alternate kernel? I haven't gotten around to that yet.
[Thunderbolt Android Development] DroidTh3ory:
I never said I was... I was just trying to eliminate (possible) suspects. Plus, after further examination it is imos source tree anyhow without acknowledgment. All though it really isn't my business, it is my choice.... And out of respect for IMO I won't be using it.

Thanks to Twisted, my issue has stemmed from a dumb mistake in my updater-script not calling on busybox.

:)
[Thunderbolt Android Development] jacobk:
its unbelievable how acceptable it is within this community to use terms like rapist.
[Thunderbolt Android Development] gohamstergo:
oh here we go again. weve been over the term dude. let it go. go rape that search button if you wanna read all about it. freedom of speech ftw. now, no one else post about it... back on topic!
[Thunderbolt Android Development] gsxraddict:
LOL go away then if you don't like it

Thunderbolt powered by Bamf effen 3.0
[Thunderbolt Android Development] twistedumbrella:
It's unbelievable how long it took you to notice, but run it once and tell me you care what I name it...
[Thunderbolt Android Development] gsxraddict:
Is it just me or are the slots on the ziggy kernel a mess

Thunderbolt powered by Bamf effen 3.0
[Thunderbolt Android Development] ridobe:
lol. His kernels are always like that.
[Thunderbolt Android Development] twistedumbrella:
That's actually what I am working on fixing right now. Have a check in place before using profiles that will disable them for his kernel, but custom will still work, and there will be extra selections for all the frequencies
[Thunderbolt Android Development] gsxraddict:
I nearly didn't boot up even with set on boot it defaulted back to 122 max yeah that **** was exciting. Lol

Thunderbolt powered by Bamf effen 3.0
[Thunderbolt Android Development] twistedumbrella:
I have a new update up that will let you configure custom to work with ziggy and will disable profiles (for now)

Also working on a frequency generator that will offer "minimal" frequency sets to be customized. It's a little rough right now, but if anyone can confirm based on their tests:

Lowest frequency being at voltage 775, when the next frequency is 100000 or more increase, say 184000 to 247000, voltage increase of 100, like 875, but when the jump is smaller, say 500000 to 550000, voltage increase of 50 like 875 to 925....

Idea is base voltage for (min)

If (next value-min) is greater than 100000, voltage+100

Else voltage+50

If (next value-previous value)....
[Thunderbolt Android Development] jbeitel:
heavy load

good news to report. So i mentioned earlier that i was using extreme speedtweak.sh and i decided to put it to the test. I ran bluetooth, 4g d/l and gps tracking (with waze) all at the same time. It froze like a ton of bricks. The good news is, i did a small step of 25mv more to the slots from 1gz to 4 gz and presto it ran solid for 2 hours under this load with no problems. I didnt want to give up on you or your mod so I wanted to let others know that freezes can be fixed easily with the smallest tweaks. Just dont go blaming everyone's roms/kernels and mods. all phones can be custom tweaked. Thanks twisted.
[Thunderbolt Android Development] DroidTh3ory:
Pretty quiet in here. The mad scientist is at work.

:)
[Thunderbolt Android Development] RjsShadows:
I like how ziggy's kernel has so many frequencies :) I get more choices for my profiles
[Thunderbolt Android Development] jbeitel:
You can't rape the willing
[Thunderbolt Android Development] twistedumbrella:
Voltage assistant is a go. Uses some fancy equations to recommend frequencies based on the set minimum.
[Thunderbolt Android Development] DroidTh3ory:
Sweet, I came wait to see a finish. You should.integrate and develop a console apk. One app, world domination. :)
[Thunderbolt Android Development] twistedumbrella:
Actually thought about that today as I was looking at my still unfinished ubuntu app lol. I have the shell to run it with, the problem is that I don't want to put setcpu out of business haha
[Thunderbolt Android Development] gsxraddict:
You are really making all this too easy :) noobs are gonna break things with this lol.

Thunderbolt powered by Bamf effen 3.0
[Thunderbolt Android Development] twistedumbrella:
Hence all the checks and safe words and such. The update runs free of the actual script because of the possible bad script code, the removal pack reverts the whole thing, I just need an in-script killswitch.