Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > iPhone > iPhone "2G" (Rev. 1) > PwnageTool

Closed Thread
 
LinkBack (26) Thread Tools Display Modes
  #91 (permalink)  
Old 01-03-2009, 09:32 AM
jasonb_too
Status: Offline
Junior Member
 
Join Date: Sep 2007
Posts: 6
Rep Power: 0
jasonb_too is on a distinguished road
Default

Quote:
Originally Posted by jamestemroot View Post
I'm getting a, after step 4 and step 5 doesn't work:
cp: illegal option --V
usage: cp [-R {-H | -L | -P]] {-fi | -n] [-pvX] source_file target_file
cp [-R {-H | -L | -P]] {-fi | -n] [-pvX] source_file ... target_directory

Can anybody please help?
<moment>
I knew this day would come. I now realize that there does indeed exist a threshold beyond which I am literally frightened to help someone.
</moment>

Hi Jamestemroot. I wish you had pasted the exact line you were attempting to execute before the error occurred (the line that must've been just above the "cp: illegal option --V" line).

Quickie UNIX lesson:
* When you open the Terminal application, you leave the friendly world of Mac OS X and enter the harsh and stringent world of the UNIX shell.

* UNIX shell commands are typically formatted in the following manner:
command_name(blank space)options(blank space)parameters

Not so quick lesson on the UNIX copy command:
In this case the command you were attempting to make use of is the "copy" command. For historical reasons, this command is abbreviated to the letters 'c' and 'p' (in that order), so "cp" means "copy".

There must be a single blank space after the command! The blank space tells the UNIX shell that you are finished entering the command and are now moving on to other things that the command needs in order to do its job. So hit the space bar on your keyboard one time after typing "cp".

Next, we need to tell "cp" what options we would like to employ -- there are several from which to choose. Each individual option is identified by a single character (there are other ways to identify options, but let's keep this simple). Right. So today we are going to need options 'R' and 'p'.
You see, "cp" is usually used to copy a single file to some other location, but today we want "cp" to copy an entire directory structure full of files and other directories. The 'R' option tells "cp" that we want to do this -- 'R' stands for "recurse", but don't let that bother you. Let's keep moving.
The 'p' option (omg, sigh) the 'p' option takes a long time to explain. Some might argue (rightly) that it is not necessary for what we are doing today because of what I tell you to do in step 5. It is just an old habit of mine because of a bad experience in the past. The UNIX shell can be evil at times, but we mustn't fear it. Just use the 'p' for now -- do it for me. It stands for "preserve"; let's leave it at that.

Please excuse me for a moment...
<moment>
Now, right here you might be thinking to yourself, "...but there is no 'V'! What good is doing this if I don't get a chance to type a capital-v?" Please understand that "cp" does not like capital-v characters. You will not win this fight today. With experience, you can program your own "cp" command and force it to make use of an option identified as 'V'. It is possible -- just not today.
</moment>

Ok, I'm back.
Good. Ok. We must again enter a single blank space to tell the UNIX shell that we are now finished entering options and are now ready to enter parameters. The UNIX shell will assume everything from this point forward is a parameter. The "cp" command requires at least two (2) parameters. Each parameter must be separated by a single blank space.

Fear this: I'm going to *assume* the following:
* You followed Volkspost's directions and moved his Automator script to the Desktop before double-clicking it.
* You managed to complete my steps 1 through 3 from my previous post successfully.
* Your home directory is called "jamestemroot"
* The hard drive from which you normally boot your Macintosh computer is identified as "Macintosh HD".

If my assumptions are wrong, what I am about to tell you will not work!
This is a bit tricky jamestemroot. The first parameter tells "cp" where to find the stuff we want to copy today. You must then enter a single blank space. Finally, the second parameter tells "cp" where the stuff being copied should go. ATTENTION: the second parameter is a single period (also known as a dot or a full-stop). I know that is confusing -- I'm sorry. I've had nightmares that ended better than what would surely result from my attempt to explain to you why the period is the second parameter. Given the above assumptions are correct, having the period as the second parameter is good.

The parameters today are exactly the following (don't forget the quotes!):

"/Volumes/Macintosh HD/Users/jamestemroot/Desktop/Backup_IOUSBFamily_kext_10_5_6/"*.kext .

I will end with a prayer:
"May God guide your mind and your hands first toward successfully completing these instructions, and next toward your local bookstore where you will find a myriad of helpful books on the subject of the UNIX shell. A-men."
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #92 (permalink)  
Old 01-03-2009, 04:16 PM
Njke
Status: Offline
Trial Member
 
Join Date: Jan 2009
Posts: 1
Rep Power: 0
Njke is on a distinguished road
Default

Just want to appreciate jasonb_too much.
I had the same as many of you problem with the non-working touchpad/mouse and keyboard.
And jason's tutorial really helped.
Except one thing about copying *.kexts from the backup folder. For some strange reason they copied only after adding a destination folder after the command
Code:
cp -R /Volume/Macintosh\ HD/Users/user_name/Desktop/Backup_IOUSBFamily_kext_10_5_6/*.kext /Volume/Macintosh\ HD/System/Library/Extensions
-R is for recursive, cause *.kexts are folders.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #93 (permalink)  
Old 01-04-2009, 12:21 AM
Greendave
Status: Offline
Trial Member
 
Join Date: Jan 2009
Posts: 1
Rep Power: 0
Greendave is on a distinguished road
Default Fix BT mouse and keyboard problems after this patch...

24" Alu iMac 10.5.6. After the patch, my mouse and keyboard just kept disconnecting and the mouse claimed low power all the time (despite several new batteries).

I took the AppleUSBHub.kext and IOUSBCompositeDriver.kext from the Backup_IOUSBFamily_kext_10_5_6 folder and put them in the Install_IOUSBFamily_kext_10_5_5 folder (replacing those which were there) and ran the Automator script in the Install_IOUSBFamily_kext_10_5_5 folder again from the desktop.

Worked like a dream - replaced password with mine, machine rebooted, all mouse and keyboard problems solved. I will use a USB hub next time I update my iPhone and stop messing with my very valuable system!

Thanks for the patch anyway - I did successfully update my iPhone (using Restore not Update which failed with error 12), but much stress and messing about with my Bluetooth for the next 2 days till I linked the 2 events!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Remove advertisements
Advertisement
Advertisement Sponsored links

  #94 (permalink)  
Old 01-04-2009, 02:34 AM
sfaguy
Status: Offline
Senior Member
 
Join Date: Jan 2009
Location: seattle, washington
Posts: 116
Rep Power: 6
sfaguy is on a distinguished road
Send a message via Yahoo to sfaguy
Default

messing with the IOUSBFamily.kext for people who has 10.5.6 or unibody MB seems to cause issues, namely keyboard and mouse, for some and not others.

yet others claim using a USB hub does the trick.

so my question is, the whole point to replace a couple of files within 10.5.6 IOUSBFamily.kext with 10.5.5 is to deploy the functionality of 10.5.5, right? which i totally understand the reason behind that.

what i fail to understand is HOW using a USB hub can accomplish the same thing? a USB hub plugs into 10.5.6 still uses the IOUSBFamily.kext in your MB, so what am i missing here?

those who claim USB hub works care to explain?

** here are a few questions for volks
1. you said you upgraded your unibody MB 10.5.5 to 10.5.6, right?
i have been reading on the apple site where many people seem to have issues
after upgraded to 10.5.6, have you experienced any problems so far?
2. i have unibody MB at 10.5.5 and kind of reluctant to upgrade to 10.5.6 with the
potential problems i have read. so is it possible to stay with 10.5.5 and use
your IOUSBFamily script?
3. assuming i ran your script in 10.5.5 and have no issues with keyboard, mouse
and further assume my MB now recognizes DFU. is that ANY REASON WHATSOEVER
that i need to restore to the backup IOUSBFamily.kext?
in other words, replace the two IOUSBFamily files from your script, have you
encountered any issue using your USB, other than DFU, that would require you
to restore the original files (in your case the 10.5.6 version).

Last edited by sfaguy; 01-04-2009 at 02:51 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #95 (permalink)  
Old 01-04-2009, 04:34 AM
jasonb_too
Status: Offline
Junior Member
 
Join Date: Sep 2007
Posts: 6
Rep Power: 0
jasonb_too is on a distinguished road
Default

Quote:
Originally Posted by Njke View Post
Just want to appreciate jasonb_too much.
I had the same as many of you problem with the non-working touchpad/mouse and keyboard.
And jason's tutorial really helped.
Except one thing about copying *.kexts from the backup folder. For some strange reason they copied only after adding a destination folder after the command
Code:
cp -R /Volume/Macintosh\ HD/Users/user_name/Desktop/Backup_IOUSBFamily_kext_10_5_6/*.kext /Volume/Macintosh\ HD/System/Library/Extensions
-R is for recursive, cause *.kexts are folders.
Thank you for the complement Njke. Your post is a subtle and well-deserved hint to me. You're absolutely right. Much appreciated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #96 (permalink)  
Old 01-04-2009, 07:06 AM
mytran80's Avatar
mytran80
Status: Offline
Member
 
Join Date: Jul 2008
Location: skokie (chicagoland)
Posts: 48
Rep Power: 0
mytran80 is on a distinguished road
Send a message via AIM to mytran80 Send a message via Yahoo to mytran80
Default

this method fixes the dfu problem but now my macbook air can't read my superdrive ,any way to undo this?
__________________
DOG FIGHTS OVER THE VIETNAM SKIES
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Sponsored links Remove advertisements
Advertisement
Advertisement

  #97 (permalink)  
Old 01-06-2009, 01:58 AM
legaleye3000
Status: Offline
Junior Member
 
Join Date: Sep 2008
Posts: 27
Rep Power: 0
legaleye3000 is on a distinguished road
Default

To reverse the process, can't we just copy and paste the files in the backup folder to replace the ones that were just made????

I would like to do this so can someone tell me what folder these files are in...? Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #98 (permalink)  
Old 01-06-2009, 02:54 AM
sfaguy
Status: Offline
Senior Member
 
Join Date: Jan 2009
Location: seattle, washington
Posts: 116
Rep Power: 6
sfaguy is on a distinguished road
Send a message via Yahoo to sfaguy
Default

Quote:
Originally Posted by legaleye3000 View Post
To reverse the process, can't we just copy and paste the files in the backup folder to replace the ones that were just made????

I would like to do this so can someone tell me what folder these files are in...? Thanks!

i have the unibody macbook and i have not made the change because i want to read if people are having issues with it after they modified the file.

if i understand this correctly, the folder for the IOUSBFamily.kext locates in

/System/Library/Extensions

please let us know if everything works after you reverse the process
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #99 (permalink)  
Old 01-06-2009, 03:13 AM
legaleye3000
Status: Offline
Junior Member
 
Join Date: Sep 2008
Posts: 27
Rep Power: 0
legaleye3000 is on a distinguished road
Default

Actually... I was a dumb ass... I did this method and I have an early 08 model, not the unibody...

So I can't report back... my bad..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Sponsored links Remove advertisements
Advertisement
Advertisement

  #100 (permalink)  
Old 01-06-2009, 03:28 AM
sfaguy
Status: Offline
Senior Member
 
Join Date: Jan 2009
Location: seattle, washington
Posts: 116
Rep Power: 6
sfaguy is on a distinguished road
Send a message via Yahoo to sfaguy
Default

Quote:
Originally Posted by legaleye3000 View Post
Actually... I was a dumb ass... I did this method and I have an early 08 model, not the unibody...

So I can't report back... my bad..
if you have an early 08 model, you need not do this method except you have upgraded to 10.5.6

so, is your machine ok now??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.hackint0sh.org/f146/60657.htm
Posted By For Type Date
Apple - Support - Discussions - HELP! My Trackpad, keyboard and USB ... This thread Refback 01-22-2009 01:41 AM
DFU mode gone on new Macbooks (unibody), PWnage tools fails... - Page 4 - Mac Forums Post #0 Refback 01-21-2009 07:58 PM
Apple - Support - Discussions - HELP! My Trackpad, keyboard and USB ... This thread Refback 01-20-2009 04:24 PM
iClarified - iPhone - How to Enable DFU Mode in Mac OS X 10.5.6 (Comments) Post #0 Refback 01-20-2009 04:13 PM
Pwnage Guide: PwnageTool/QuickPwn/WinPwn: Unlock and Jailbreak iPhone/3G - Page 7 - Mac Forums Post #0 Refback 01-19-2009 10:59 PM
Help needed to jailbreak - Mac Forums Post #0 Refback 01-19-2009 10:20 PM
A solid plan for jailbreaking an iPhone 3G in OS X 10.5.6? - Mac Forums This thread Refback 01-19-2009 09:34 PM
Apple - Support - Discussions - HELP! My Trackpad, keyboard and USB ... This thread Refback 01-19-2009 05:16 AM
Apple - Support - Discussions - HELP! My Trackpad, keyboard and USB ... This thread Refback 01-19-2009 12:27 AM
Apple - Support - Discussions - HELP! My Trackpad, keyboard and USB ... This thread Refback 01-18-2009 06:30 PM
jailbreak 2.2 not working ? - Mac Forums Post #0 Refback 01-15-2009 06:35 PM
iClarified - iPhone - How to Enable DFU Mode in Mac OS X 10.5.6 (Comments) Post #0 Refback 01-15-2009 04:43 PM
iClarified - iPhone - How to Enable DFU Mode in Mac OS X 10.5.6 (Comments) Post #0 Refback 01-15-2009 05:58 AM
10.5.6 Disables Pwnage Tool - Mac Forums Post #0 Refback 01-15-2009 12:00 AM
If you want to jailbreak, don't update to OSX 10.5.6 - Mac Forums Post #0 Refback 01-14-2009 10:25 PM
QuickPwn problem - Mac Forums Post #0 Refback 01-14-2009 09:41 PM
|iPhone-notes.de | Another iPhone Site - News, Tutorials, Apps & Co. Post #0 Refback 01-14-2009 07:18 PM
PwnageTool pre Mac OS X 10.5.6 a jailbreak iPhone - MacBlog, Apple weblog Post #0 Refback 01-14-2009 07:09 PM
Error 2001 - Page 2 This thread Refback 01-14-2009 06:36 PM
iClarified - iPhone - How to Enable DFU Mode in Mac OS X 10.5.6 (Comments) Post #0 Refback 01-14-2009 04:39 PM
iClarified - iPhone - How to Enable DFU Mode in Mac OS X 10.5.6 Post #0 Refback 01-14-2009 03:29 PM
iClarified - iPhone - How to Enable DFU Mode in Mac OS X 10.5.6 (Comments) Post #0 Refback 01-14-2009 01:57 PM
!!! Quickpwn 2.2 stuck at "quickpwn is about to run on your 3g" - Mac Forums Post #0 Refback 01-14-2009 12:42 PM
{Tutorials} - 10.5.6 Jailbreak Fix (DFU Mode Problems) AppStorePLUS Post #0 Refback 01-14-2009 12:26 PM
DFU mode gone on new Macbooks (unibody), PWnage tools fails... - Page 2 - Mac Forums Post #0 Refback 01-14-2009 11:57 AM
QuickPWN 2.2 and OS X 10.5.6 - Mac Forums Post #0 Refback 01-14-2009 11:15 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Video/TV Output][Effort] Building your own cable and patch IAP freeproductions Hardware 283 Yesterday 02:21 AM
[1st Gen iPhone Only][solution] How to: reboot, restore/recovery mode, DFU mode volkspost Older Software Unlock Solution 16 10-15-2009 05:27 PM
Re-enable DFU mode in Mac OS X 10.5.6 volkspost Frontpage Blog 0 12-18-2008 03:16 PM
WARNING: Mac OS X 10.5.6 Doesn't Recognize iPhone DFU Mode n350z Frontpage Blog 1 12-16-2008 11:42 AM
ati9700. kext problem in 10.4.10 Isiklik Tiger 0 10-15-2007 08:10 PM



All times are GMT +2. The time now is 10:05 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105