yashsingh1/xdaforums huggingface dataset:
[Thunderbolt Android Development] twistedumbrella:
Oddly I was in safe mode. Easus I think it's called and getdataback are good. Gdb is pricey though and both together got 1/16 of what photorec did on the first pass and took 2 hours longer. I am running 4gigs of ram on a dual core. 6 hours is insanity for 100 photos but 4 for 1600 is reasonable
[Thunderbolt Android Development] tct08:
Hmm I remember seeing photorec when looking for solutions. I believe there is a Windows version. Regardless, I try to make a habit of backing up my SD card now, especially if I know I'm going to be messing with voltages.

Sent from my HTC Thunderbolt
[Thunderbolt Android Development] twistedumbrella:
I had not long ago but then Linux was cramped and I was playing hard drive musical chairs when it happened. Sadly scalpel photorec and foremost are on my ext2buntu to recover on the device itself lol.

Either way the update is on the test server to release when all this finishes
[Thunderbolt Android Development] twistedumbrella:
I want to report alien technology. I am a block away from my house and this thing claims I'm still connected. Half an hour from access to my server...
[Thunderbolt Android Development] sublimaze:
Losing data is no laughing matter, but this photo reminds me of you :D
[Thunderbolt Android Development] BskooL:
Option 15, the tweaks 3 and 4 are switched.
[Thunderbolt Android Development] azturbomini:
Lmao
[Thunderbolt Android Development] twistedumbrella:
I had to wait until the restore finished to even look at that. lol

On a good note, I got to cleanup my sdcard. It literally wiped everything. Backups, pictures, downloads, everything, and pictures were replaced by files of 0 size preventing restore of deleted files. They would just restore as 0kb. Really important files were a few directories deep and were just deleted, so they came back. The scripts were just updated before it happened so they came back. Ext2 ubuntu was unaffected. Photorec got back most photos. I recommend having either a backup server or an extra partition mounted by a script and not vold. I made a backup server for now, but I plan to research partition and linking for photo directories.
[Thunderbolt Android Development] weezin9980:
I was messing around in the script and made a few unwise decisions. Thus i bootlooped. Fixed now.

Where can i find reference material on the script? I dont want ask mindless questions without looking at a book or website first.

Thanks in advance for helping this novice out. (circling my face)
[Thunderbolt Android Development] phoney6:
The script just stopped working for me :-(. I tried reinstalling the newest update from recovery and still nothing. When I type su and then speedtweak.sh I just get the standard lean kernel speedtweak. Nameless isn't hyjacking anything. Any thoughts?
[Thunderbolt Android Development] twistedumbrella:
If you can't find it in this thread, or scattered in the Th3oryROM one, and its not on the link in my signature, feel free to fire off some ?s. My research covers 6 forums and about 20 websites, none of which really follow any logical progression. A lot of it is just guess and test.

For anyone who has to go through a restore, you know your restore folder is every icon, thumbnail, and picture iyour card ever saw and sometimes file size is misleading (which is how you end up deleting a 5MP image that is only 200kb). Here is what I wrote to remove the clutter and make it manageable

#!/bin/bash

# Thunbnailer thumbnail removal

# Original by kaibob of Ubuntu Forums

# Modified by Twisted Playground

cd /

echo "Please enter file directory:"

echo -n "/"

read imagedir

echo "Please enter image dimensions:"

echo -n "Height/Width? "

read userheight

echo -n "Width/Height? "

read userwidth

imageloc="/"$imagedir

cd $imageloc

echo "# Thumbnailer Deleted Files" > thumbnailer.bak

for file in *.jpg ; do

newfile=$file[0]

imageheight=$(identify -format %h $newfile)

imagewidth=$(identify -format %w $newfile)

if [ $imageheight -lt $userheight ] ; then

if [ $imagewidth -lt $userwidth ] ; then

rm $file

echo $file": "$imageheight" x "$imagewidth >> thumbnailer.bak

fi

elif [ $imagewidth -lt $userheight ] ; then

if [ $imageheight -lt $userwidth ] ; then

rm $file

echo $file": "$imagewidth" x "$imageheight >> thumbnailer.bak

fi

fi

done

echo "Would you like to view deletions?"

echo -n "(Y/n) "

read showdeleted

case $showdeleted in

y)

cat thumbnailer.bak

echo "Process complete. Thank you!"

exit

;;

Y)

cat thumbnailer.bak

echo "Process complete. Thank you!"

exit

;;

*)

echo "Process complete. Thank you!"

exit

;;

esac
[Thunderbolt Android Development] dmrnhs:
Does this work with AOSP roms like CM7. If so what should i flash. I tried and it did nothing, so im restoring to my stock backup.
[Thunderbolt Android Development] twistedumbrella:
Thanks. Well call that a relocating fee. Happened when I moved all those options to a separate category. It will be fixed next revision.

Making a change to install. Seems sometimes it doesn't work if some of the files are left behind cx by a previous version, so now installing by bash will be "speedtweak.sh fusion"
[Thunderbolt Android Development] weezin9980:
Go to the front of the page. You will find what you need there
[Thunderbolt Android Development] dopediculous:
for the past two days I have been checking speedtweak and playing in the sand box and for whatever reason, terminal kept saying BAMF was found. No. I've been working with Chingy and testing all the 3d's he's put out. Well today, I flash the newest update. Everything looked fine and I wanted to try the extreme 1.9 and as soon as I did my phone has been total FUBAR! restarted and kept doing so. Tried EVERYTHING to get back to a back up. NOTHING!

17Gb of info, GONE. tons of Kernels I was testing, Roms, Mods, ETC... now I have 29GB free. I checked space on pc and same thing. Put the cursor over the files and even though it says their 300+ megs big, there not. All data says its there, but no... Sucks. Hey but look at the bright side, I get to start all over :)

I mean Who wouldn't wanna replace MONTHS AND MONTHS worth of Gigs of storage. Its just a dozen Roms, Tens of Kernels and Mods, Couple thousand song, Irreplaceable pictures and about 60 Apps. THUMBS UP!

Thought this was the best thing up until today. No BAMF, But yeah the playground was right. I MELT THE **** DOWN!
[Thunderbolt Android Development] twistedumbrella:
Yeah, I wanted to flip out, too. Start your summer reading here:

http://xdaforums.com/showthread.php?p=15417344

After checking back I also realized that if you ran it today, after all that was posted, with no backup, after all that discussion, and it displayed BAMF... then someone needs to tell Chingy he has the string "DasBAMF" in his build.prop and he should really change that.
[Thunderbolt Android Development] sublimaze:
I hear you. I can't count the number of times I've fubar'd something and wished I could hit the rewind button. But the #1 rule of modding is always, ALWAYS make backups before trying something new. The #2 rule is make backups of your backups.
[Thunderbolt Android Development] twistedumbrella:
SanDisk doesn't give you a lifetime warranty because they expect those card to live forever, or protect your data from the nasty digital environment, they give them because handing you a new card and saying "We tried" is a lot easier than having to stand by you as you recover what you lost. "0 Backup" on market is a lot better than I thought it would be when I first saw it, because at one time I thought "well I backed it up to my sdcard" was good enough...
[Thunderbolt Android Development] tumbleweed65:
As a newb but learning.....hopefully not the hard way,what should be backed up? would a backup of the last nandroid saved on a external drive suffice? wouldn't that restore everything?
[Thunderbolt Android Development] twistedumbrella:
Nandroid only covers /system, /data, boot image, and other internal items. The important stuff is your own files

I only do these generic folders

clockworkmod

dcim

download

And if you use any sort of file vault, gallery hide, or other apps that protect your personal files

data

Android

Then any personal folder you may have

This is in addition to syncing Titanium to a dropbox account.
[Thunderbolt Android Development] tumbleweed65:
thanx,I do sync titanium to dropbox and now i'm adding clockwork,data,and android to my zip
[Thunderbolt Android Development] twistedumbrella:
I had to learn the hard way when those were the folders I went for after the wipe. Most of my photos have been sent to or copied by someone else, and luckily my data folder was the only one to properly restore because some files you just can't get back ;)
[Thunderbolt Android Development] twistedumbrella:
Anyone interested in adding add and remove for system apps? Like it will allow push from SD or removal of apps and (possibly on the same release) data for those apps?
[Thunderbolt Android Development] DroidTh3ory:
Hell yeah.. and I also like my prime rib rare, seasoned and seared. What's the command for that??

:)
[Thunderbolt Android Development] twistedumbrella:
s

(Seriously, in test mode, hit s)
[Thunderbolt Android Development] gokudre:
Just happened to me last nite when I attempted to ramp up to 1.9... Screwed up my SD card. I'm so pissed.... Sigh..... Well there goes the hidden pics/vids of my ex
[Thunderbolt Android Development] twistedumbrella:
Alright, on that note looks like its time to disable that mode and change some values.

When it happened to me my values were below even battery saver, but tho values for 1.92 are direct from leanKernel.
[Thunderbolt Android Development] gokudre:
I never thought to backup the backup... Sigh... Oh well. Get to start fresh again I guess.. =)
[Thunderbolt Android Development] twistedumbrella:
Seems I should also include the last page of posts in the mp, just in case. There are recovery options discussed if you don't write a lot to the card immediately after a wipe
[Thunderbolt Android Development] gokudre:
I'm firing up photorec as we speak. Lol. I'm mostly worried about irreplaceable pics n vids. All other roms n etc are redownloable.
[Thunderbolt Android Development] twistedumbrella:
If you need help, let me know. plus check out thumbnailer on my googlecode to weed through all the icons and temp files.
[Thunderbolt Android Development] gokudre:
Lol. Too late just spent 2 hours weeding through them. I got all photos back! And most vids. Thanks a ton!
[Thunderbolt Android Development] twistedumbrella:
Glad to hear you got it back. I know how stressful it is watching the recovery run. At least now you have a backup started, though.
[Thunderbolt Android Development] gokudre:
Using disk drill for Mac for the vids. OK I'm calm. Time for a beer. Lol

...

Update....

....

Well I got everything back. When u fix the voltages let me know. I wanna try 1.9
[Thunderbolt Android Development] capflya:
I just installed the latest dream kernel and the "rapi$t script" package and I only have battSaver, normal, and the OC to 1.9 options for CPU schedules.

Does the script just pull the available options from the kernel, or is something missing in the script that allows the "extreme" CPU schedule?

Thanks

This post is infected with the 3D strain of Gingeritis
[Thunderbolt Android Development] twistedumbrella:
There are more than just download links in the first post and usually you don't bold random paragraphs... Usually.

System app menu was activated. Currently removal does not do anything but list apps until proper cautions are added. Adding applications does work. It will list any apps currently in /sdcard/ (root sdcard folder) and allow moving them to system.
[Thunderbolt Android Development] capflya:
My bad. Reading it from the xda app on the phone doesn't show bold text. Sorry I missed it, thank you for answering my question though.

This post is infected with the 3D strain of Gingeritis
[Thunderbolt Android Development] twistedumbrella:
Extreme and 1.92 unlocked. Increased voltage a little. Oddly the voltages in battery saver are the same as the old extreme. For now the modes will be unlocked to the public with much higher voltage and in beta with a bit lower until tests are complete.
[Thunderbolt Android Development] gokudre:
Well I'm game for being a guinea pig...... Ramping up to 1.9 now. Wish me luck
[Thunderbolt Android Development] gokudre:
Or not... Still not seeing the option.. only 1.4 and undervolted showing
[Thunderbolt Android Development] twistedumbrella:
When in the main menu, enter unlisted option t to access test mode. You can turn it off the same way later.
[Thunderbolt Android Development] Orio56:
Downloaded latest version and flashed thru CWR, and when I start it in terminal emulator, it does not load. I only see the standard kernel speed tweaker. Tried this with Imo's and 2.3.6, with same result. Flashed latest script.
[Thunderbolt Android Development] twistedumbrella:
Run these commands and tell me if it returns the file name or a not found error:

busybox find /system/customize/speedtweak.sh

busybox find /system/etc/init.d/03twist_override

Test mode now has system app delete. The code is stable, but the only prevention from deleting required apps is that the list will identify HTC and Google apps with a special tag. It is only testing to see if people wipe important apps before I release.
[Thunderbolt Android Development] mngdew:
I ran the bash command, and I got line 524 syntax error near unexpected token 'fi'

What does that mean?
[Thunderbolt Android Development] Orio56:
Both return a not found error...no such file or directory.
[Thunderbolt Android Development] phoney6:
So I'm a huge noob... How would I use this script?
[Thunderbolt Android Development] mngdew:
I flashed the zip file, but I only see options related to the cpu tweaking. I don't see other tweaking options. What am I doing wrong?
[Thunderbolt Android Development] lanceman5000:
I am also getting the generic speedtweak menu after flashing the latest script. The speedtweak.sh file is where its supposed to be. However, there is no 03twist_override file in /system/etc/init.d/
[Thunderbolt Android Development] twistedumbrella:
Save it to a file, chmod 755 your_file then ./your_file
[Thunderbolt Android Development] twistedumbrella:
Sorry about that. During my sdcard wipe, all files were lost and the binaries that install verifies or downloads (which it can't in recovery, but can in bash) never made it back into the package. Updated.
[Thunderbolt Android Development] dhacker29:
Thanks for the info on 0 backup. Ran it last night and feel better about tweaking voltages now. Just FYI have you looked at dropspace? I set it up to send my photos to dropbox.
[Thunderbolt Android Development] phoney6:
Yeah 0 backup looks like a great app. Unfortunately I can get my phone to connect to my computer. I guess me and technology aren't getting along today. Any tips?
[Thunderbolt Android Development] gokudre:
Ouch.. tried test. 1.9 froze my phone... BUT... no random reboots or SD card meltdown. The phone doesn't freeze till it ramps up. I let it sit for like 10 min after a reboot to see if it froze. Nope...UNTIL I fired it up and started using it. Once it ramped up to 1.9.... It locked up.
[Thunderbolt Android Development] twistedumbrella:
I use dropbox for anything prying eyes could see, but I prefer a server that doesn't have internet for personal files.

Best bet is to research SMB. I use a very specialized setup, and I don't know how windows does it these days.

Thanks. Was it 1.92 or 1.92x?
[Thunderbolt Android Development] gokudre:
1.92x

... Ill try 1.92 regular now
[Thunderbolt Android Development] twistedumbrella:
That will work, but I know what to look for if its just 1.92x
[Thunderbolt Android Development] azturbomini:
If you figure it out please let me know as I can't connect either
[Thunderbolt Android Development] dhacker29:
Could it just be my phone doesn't like anything above 1.49? I am on ziggy's kernel and voltage at the max of 1500 for all slots 1.57 and up but after running a while it always freezes above 1.49. On the other hand it will run all day at 61 mhz and 750 mah
[Thunderbolt Android Development] dhacker29:
If you are on Windows 7 change your network location to work and go into advanced sharing to set up. The home doesn't play nice with SMB.
[Thunderbolt Android Development] azturbomini:
Thanks. I am on windows 7 and switched from home to work but keep getting the same error when I try and run the app. /mnt/sdcard/GGengine: Failed to connect to server. The GGengine is for reference and changes to different apps each time. Any ideas?
[Thunderbolt Android Development] azturbomini:
Sounds like it is on the phone side not computer or is it at my router not having port forwarding setup? I'm using DD-WRT on my

Linksys router.
[Thunderbolt Android Development] dhacker29:
I tried using the latest package on the current synergy nightly and got several errors including some wget errors.
[Thunderbolt Android Development] gokudre:
Flying along smoothly wit 1.92... So yes its just 1.92x.. hope that helps

Edit

....

I keep getting a long list that says "cannot create system/bin/tweak repair/ read only file ..... " I went into root explorer and the file does exist. And the permissions are all checked. So I'm not.sure y the script can't access the file.
[Thunderbolt Android Development] twistedumbrella:
Looking into that now actually, and your feedback was VERY helpful. Means extreme won't fry the card, but is still too low. Older kernels handled the old values, but the new standards are about 50 to 100 higher, which is a huge difference.

Edit: first I get the randomly inserted " then after I finally find it, I end up with a randomly missing space. Anyway its fixed
[Thunderbolt Android Development] gokudre:
Fixed? Can I attempt 1.92 x now?
[Thunderbolt Android Development] mtuckman:
Error after install

Any idea what might be causing this? I have downloaded the script twice and uninstalled and reinstalled twice now...

$ export PATH=/data/local/bin:$PATH

$su

# speedtweak.sh

busybox: remount,rw: Read-only file system

--2011-07-10 20:57:34-- http://1/

Resolving 1... failed: No address associated with hostname.

[: unable to resolve host address `1'

--2011-07-10 20:57:34-- http://]/

Resolving ]... failed: No address associated with hostname.

[: unable to resolve host address `]'

#

Running BAMF 3.0 RC4 and the latest dreamKernel
[Thunderbolt Android Development] twistedumbrella:
Happened to me too. Checking the included busybox because when I ran busybox installer and reboot it suddenly worked (its not his busybox)

Cleaned out Google code to get the first revision set to the original speedtweak instead of just where I started uploading. Saw an interesting comparison... http://code.google.com/p/cupcake-fr...ptFusion/system/customize/speedtweak.sh&old=1
[Thunderbolt Android Development] dhacker29:
I ran tweakrepair to try to get the newest since it wasn't working and for this.

___ ___ ____ ____ ____ ____

/ __) / __)( _ \(_ _)( _ \(_ _)

\__ \( (__ ) / _)(_ )___/ )(

(___/ \___)(_)\_)(____)(__) (__)

____ __ __ ___ ____ _____ _ _

( ___)( )( )/ __)(_ _)( _ )( \( )

)__) )(__)( \__ \ _)(_ )(_)( ) (

(__) (______)(___/(____)(_____)(_)\_)

wget: invalid option -- 'N'

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

Script Fusion Main Menu

*************

2) Customize CPU Profile 3) Scaling Governor Options

4) Scheduler Options Menu

5) Java Odex Optimization

6) Binary Update Options

Binary Install Options

---------------------- 1) Update Busybox

2) Install Bash Support

0) Cancel

---

Please enter a number: 1

wget: invalid option -- 'N'

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

Usage: wget [-c|--continue] [-s|--spider] [-q|--quiet] [-O|--output-document FILE]

[--header 'header: value'] [-Y|--proxy on/off

___ ___ ____ ____ ____ ____ / __) / __)( _ \(_ _)( _ \(_ _)

\__ \( (__ ) / _)(_ )___/ )(

(___/ \___)(_)\_)(____)(__) (__)

____ __ __ ___ ____ _____ _ _

( ___)( )( )/ __)(_ _)( _ )( \( )

)__) )(__)( \__ \ _)(_ )(_)( ) ( (__) (______)(___/(____)(_____)(_)\_)

wget: invalid option -- 'N'

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

Script Fusion

Main Menu *************

2) Customize CPU Profile

3) Scaling Governor Options

4) Scheduler Options Menu

5) Java Odex Optimization

6) Binary Update Options

7) View Current CPU Settings 8) View time-in-state (By Slot)

Connecting to 64.121.156.138:8888 (64.121.156.138:8888)

speedtweak.sh 100% |****| 134k 00:00:00 ETA

Recovery Complete. Restarting....

/system/customize/speedtweak.sh: line 299: syntax error near unexpected token `)'

/system/customize/speedtweak.sh: line 299: ` echo ' )\ ) ( ( ( ` )\ ) ''

sh-4.1#
[Thunderbolt Android Development] twistedumbrella:
Should solve it for you...
[Thunderbolt Android Development] gokudre:
Still getting lockups wit 1.92. Especially when texting. No fc. 'S or random reboots. Just battery pull lockups.
[Thunderbolt Android Development] twistedumbrella:
Hmm. Alright. I'll see what I can do. What kernel are you using?
[Thunderbolt Android Development] M@|ice:
im having the same issue. and like they said its cool, until i start a text then it locks up.

1.4 seems to be stable for the last 2 days, not one lockup, but i seriously miss the 1.92x.

not sure what they are using but im using imoseyons latest GB kernel release.
[Thunderbolt Android Development] twistedumbrella:
Text messages were the one thing I didn't test. Very strange. I fired up ftp, the forums, and ubuntu locked at 1.92 just to push it. Problem is I can't say which voltage between 1.4 and 1.92 it actually lock on. Don't want to increase everything and waste battery. Time to test

Do you have any of the tweaks activated?
[Thunderbolt Android Development] M@|ice:
tweaks? haha oh hell i think i have them all activated honestly. this script is amazing. you want me to run the disable all tweaks command and test the 1.92x for you?
[Thunderbolt Android Development] gokudre:
Imoseyon 3.3.8

Tweaks 1 - 8 and optimize HTC sense
[Thunderbolt Android Development] M@|ice:
same tweaks here, but 3.4.0
[Thunderbolt Android Development] gokudre:
I'm using handcent for text. Not the stock message app
[Thunderbolt Android Development] gokudre:
Its my 3yr anniversary today so I may be busy later. But I got a few hours to test some things twisted ...
[Thunderbolt Android Development] DroidTh3ory:
That is beautiful... Thank You Twisted!!! You've got PM. :)
[Thunderbolt Android Development] ddarvish:
can you please add tun.ko to the kernel?
[Thunderbolt Android Development] twistedumbrella:
All standard issue imoseyon parts should still work, but I will male sure it is available
[Thunderbolt Android Development] ddarvish:
i dont think he includes it.. would it be too difficult to add?
[Thunderbolt Android Development] mkilla:
I'm not understanding any of this, what does this kernel do compared to what imo released?

Sorry noob to this