PDA

View Full Version : Removing Files


SebSter85
08-07-2007, 10:34 PM
I installed the SSH and have transferred a few applications over, my question is how do I erase them off the iPhone hd?

Using WinSCP as in the writeup on hacktheiphone, any time I copy over a file it works fine, but when I try to delete anything it gives me an error. Can anyone let me know how I go about deleting files that Ive copied over once I dont want them there anymore?

Lukifer
08-08-2007, 12:34 AM
You'll want to upload some or all of the files from the latest iPhone binkit (http://iphone.natetrue.com/), in the same folder structure (/bin in /bin, /usr/bin in /usr/bin, etc). Then run ssh ("ssh root@iPhoneIPaddress") and you can delete files with "rm /path/to/file". As always, be careful when deleting. :)

Miyavi
08-08-2007, 02:08 AM
Or simply scp the rm command to the bin folder in the iphone root

SebSter85
08-08-2007, 03:29 AM
Ive copied the bin filed and everything, and still get a Permission Denied error... anything Ive missed that would cause that? I logged in with the default passwords root/dottie passwords..

eddy123
08-08-2007, 05:26 AM
Ive copied the bin filed and everything, and still get a Permission Denied error... anything Ive missed that would cause that? I logged in with the default passwords root/dottie passwords..
Not sure if it helps or not. You may check this out.

http://www.winandmac.com/mobile/iphone/remove-applications-from-iphone/

:)

tehsquigly
08-08-2007, 11:14 AM
I had the same permission denied problem.

After installing the binkit, give all files in the /bin/ directory 755chmod by using the WinSCP program, reboot iphone, and you should be able to use the commands, for example deleting folders.

-squirLy

Sassha
08-08-2007, 07:21 PM
Use this - http://www.modmyiphone.com/forums/downloads.php?do=file&id=326&act=down

SebSter85
08-08-2007, 07:32 PM
Dumb question, but what is the 755chmod?

(I used 'chmod +x /****/' to activate the applications)

SebSter85
08-08-2007, 07:32 PM
Use this - http://www.modmyiphone.com/forums/downloads.php?do=file&id=326&act=down

Will try as soon as I get a chance to. Thx.

mb2696
08-08-2007, 11:57 PM
@SebSter85 - 755 gives write permissions for root, in addition to read/execute for all