Thread: ? to run Strings Command on file
-
12-02-2008, 07:41 PM #1My iPhone is a Part of Me
- Join Date
- May 2008
- Location
- Scranton
- Posts
- 584
- Thanks
- 164
- Thanked 197 Times in 155 Posts
? to run Strings Command on file
Hi,
im looking for some information on how to run strings on a file on the iphone....i have odcctool installed from cydia and i was told that the strings command is in there...so im assuming i need to run the command from winscp but im not familiar with things like this so any help would be appreciated
the file that i am looking to run the command on is:
System/Library/TextInput/TextInput_emoji.bundle/TextInput_emoji
i was told if i run the strings command on it it would spit out a bunch of file name information so i would be able to skin the Keyboard-Emoji.artwork with winterboard to match my current keyboard....i have skined it the old way but i would like to use winterboard...
any help would be appreciated
Thank you
If I Helped You Hit The Thanks Button
-
12-04-2008, 10:55 AM #2
I dont know nuthn really on unix commands but that sounded usefull so i had a look.
Strings dump all the text thats in a file, ignoring all the nontext stuff. This lets ya find text in a binary file easier.
It is a command that you run from a terminal, so you need to connect to your iphone/touch with something like putty or the terminal in winscp....theres tutorials around on doing that.
Once in the terminal and connected to the iphone you can type something like....
strings /the/path/to/the/file
...and it will list all the strings in the file.
If your like me and ya dont like typing then install winscp...
goto Files/Custom Commands/Customize, click Add, and add....
Descripton:
List PNG strings
Custom Command:
strings "!" | grep -i ".png"
...and tick Show results in terminal
...now you can connect to your iphone, right click on a file and select Custom Commands/List PNG strings and it will do it for you. The extra grep stuff will make it list only the strings that contain .png which is what ya want. Try it on /System/Library/Frameworks/UIKit.framework/UIKit
But then even with the file name you still wont have the pic and that might be a bugger.
Hope it helps.
-
The Following User Says Thank You to PAEz For This Useful Post:
Ice9812 (12-04-2008)
-
12-04-2008, 04:26 PM #3My iPhone is a Part of Me
- Join Date
- May 2008
- Location
- Scranton
- Posts
- 584
- Thanks
- 164
- Thanked 197 Times in 155 Posts
thank you for your reply ...
i tried that and it left a
strings /System/Library/TextInput/TextInput_emoji.bundle/TextInput_emoji
UIKeyboardInputManager_emoji..
so i was looking to get more information out of the file ....so im not sure what to do next...
Thanks again for your help
If I Helped You Hit The Thanks Button



LinkBack URL
About LinkBacks
Reply With Quote
