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
  #151 (permalink)  
Old 01-24-2009, 12:13 AM
DoubeD
Status: Offline
Junior Member
 
Join Date: Jan 2009
Location: Newalins
Posts: 9
Rep Power: 0
DoubeD is on a distinguished road
Default

Quote:
Originally Posted by sfaguy View Post
do you know instead of using the script, you can also manually copy those two files if you are familiar with viewing the content of the IOUSBFamily.kext. the way, you have more control as to what files are you copying over.
I'm not that familiar with the Mac to know how to do that.....it said something about rebuilding the cache in one of the steps that the script performs so I'm sure if you just replaced the files you'd have to "rebuild the cache" and I'm not sure how to do that.

I did receive a response from Volks and he's been out on business for the past 2 weeks and said he would catch up on this thread on Monday. I didn't receive my USB hub today so hopefully it'll show up tomorrow. If it does I'll report on whether or not it works or not...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #152 (permalink)  
Old 01-26-2009, 05:03 PM
volkspost
Status: Online
iPhone Moderator
 
Join Date: Aug 2007
Posts: 3,581
Rep Power: 213
volkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to all
Default

Quote:
Originally Posted by DoubeD View Post
I'm not that familiar with the Mac to know how to do that.....it said something about rebuilding the cache in one of the steps that the script performs so I'm sure if you just replaced the files you'd have to "rebuild the cache" and I'm not sure how to do that.

I did receive a response from Volks and he's been out on business for the past 2 weeks and said he would catch up on this thread on Monday. I didn't receive my USB hub today so hopefully it'll show up tomorrow. If it does I'll report on whether or not it works or not...
I just came back from a long business trip, sorry for beeing not around for a while - real-life-stuff.

There seem to be one thing that can mess up the script: not placing the folder on the desktop and running it from there. Thats why I put this one in bold/big font size in post #1 "place the folder "Install_IOUSBFamily_kext_10_5_5" on your Desktop (important)"

here is what the script does. it is a mixture of Automator and integrated shell & AppleScript use. Only alltogether it does work at all.

1. After checking that you are on Mac OS X 10.5.6
2. An Automator action creates a new folder "Backup_IOUSBFamily_kext_10_5_6" on your Desktop.
2. Next step Terminal copies the two (original) file from your Mac into that backup folder created before on the desktop
Code:
cp -R /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBHub.kext Desktop/Backup_IOUSBFamily_kext_10_5_6/
cp -R /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/IOUSBCompositeDriver.kext Desktop/Backup_IOUSBFamily_kext_10_5_6/
The next and important step is done by an AppleScript cause we have to get the admin password first. After this is done the AppleScript executes shell scripts:

Code:
do shell script "sudo rm -R /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBHub.kext" password the_password with administrator privileges
do shell script "sudo rm -R /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/IOUSBCompositeDriver.kext" password the_password with administrator privileges
do shell script "sudo cp -R $HOME/Desktop/Install_IOUSBFamily_kext_10_5_5/AppleUSBHub.kext /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/" password the_password with administrator privileges
do shell script "sudo cp -R $HOME/Desktop/Install_IOUSBFamily_kext_10_5_5/IOUSBCompositeDriver.kext /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/" password the_password with administrator privileges
do shell script "sudo chown -R root:wheel /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBHub.kext" password the_password with administrator privileges
do shell script "sudo chmod -R 755 /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBHub.kext" password the_password with administrator privileges
do shell script "sudo chown -R root:wheel /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/IOUSBCompositeDriver.kext" password the_password with administrator privileges
do shell script "chmod -R 755 /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/IOUSBCompositeDriver.kext" password the_password with administrator privileges
do shell script "sudo rm -r /System/Library/Extensions.mkext" password the_password with administrator privileges
do shell script "sudo touch /System/Library/Extensions" password the_password with administrator privileges
do shell script "sudo reboot" password the_password with administrator privileges
First it removes the two (original) files, then copies the two from 10.5.5 out of the folder that has to sit on the desktop ($HOME/Desktop) into the proper location, sets owner:group and permissions, removes, then rebuilds the cache and starts a reboot.

The problem seems to be the following: If the folder (with the Automator script) is NOT sitting on the desktop (as it should), the two 10.5.5 files are not found (e.g. not copied) to the proper location and the whole thing goes bad.

I will try to find a way, need to check a few things to do so.

v.
__________________
Read the stickies and search the forum before posting!
If you want to become a Hackint0sh supporter click here
----------
iPhone 3GS factory unlocked (3.1.2; Blackra1n, Cydia, OpenSSH, custom 3.0 ipcc file (no sig), tethering hack by Dev team, 32 GB)
iPhone 3G (3.0.1; Redsn0w 0.8, Cydia, OpenSSH) 16 GB

Last edited by volkspost; 01-26-2009 at 05:05 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #153 (permalink)  
Old 01-26-2009, 07:18 PM
DoubeD
Status: Offline
Junior Member
 
Join Date: Jan 2009
Location: Newalins
Posts: 9
Rep Power: 0
DoubeD is on a distinguished road
Default

Volks, Thanks for the insight there. Here's my situation, please read through it and answer the questions in red.
Thanks,
Derek

iMac 20" bought 6/08
iPhone 2G, iTunes 8.0.2


D/L and ran the automator from the downloads folder(I know not the right place), the script ran and asked for an admin password but it was filled in already so I hit enter and then the second popup can on for my admin password and I entered it and hit enter. The script placed the Back-up folder on my desktop with the 2 kext files but the mac never rebooted.

I think I then moved the downloaded automator folder into the backup fold and ran the script again but it only gets the part where you click OK on the READ ME and then it does nothing.

I have since rebooted the mac(twice) to no ill effects, still have mouse/keyboard working. I'm getting Error 2001 in iTunes when I put the phone in DFU mode. I'm pretty sure its DFU mode I get the black screen on the phone and iTunes pops up and says "ipod unindentified or something Error 2001"

My question is, did the Automator actually replace the kext files? How can I tell?

I'm assuming so if I can get the phone to DFU mode.
Maybe not since iTunes doesn't recognize the phone.


I see Mussa posted the same situation as mine and he deleted the backup folder on the desktop and has now lost his keyboard/mouse. Is the system now relying on these kext files on my desktop and not in the system files location??


I'm really new at the Mac so I probably have no right to treading on these grounds but I have used Pwnage 2.1 to jailbreak the phone before so I figured I could do it. I'm just worried that I screwed something up on my Mac. I ordered a powered USB hub today in hopes of using that to jailbreak.
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

  #154 (permalink)  
Old 01-26-2009, 11:07 PM
volkspost
Status: Online
iPhone Moderator
 
Join Date: Aug 2007
Posts: 3,581
Rep Power: 213
volkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to all
Default

Quote:
Originally Posted by DoubeD View Post
Volks, Thanks for the insight there. Here's my situation, please read through it and answer the questions in red.
Thanks,
Derek
iMac 20" bought 6/08
iPhone 2G, iTunes 8.0.2
D/L and ran the automator from the downloads folder(I know not the right place), the script ran and asked for an admin password but it was filled in already so I hit enter and then the second popup can on for my admin password and I entered it and hit enter. The script placed the Back-up folder on my desktop with the 2 kext files but the mac never rebooted.

I think I then moved the downloaded automator folder into the backup fold and ran the script again but it only gets the part where you click OK on the READ ME and then it does nothing.

I have since rebooted the mac(twice) to no ill effects, still have mouse/keyboard working. I'm getting Error 2001 in iTunes when I put the phone in DFU mode. I'm pretty sure its DFU mode I get the black screen on the phone and iTunes pops up and says "ipod unindentified or something Error 2001"

My question is, did the Automator actually replace the kext files? How can I tell?

I'm assuming so if I can get the phone to DFU mode.
Maybe not since iTunes doesn't recognize the phone.


I see Mussa posted the same situation as mine and he deleted the backup folder on the desktop and has now lost his keyboard/mouse. Is the system now relying on these kext files on my desktop and not in the system files location??


I'm really new at the Mac so I probably have no right to treading on these grounds but I have used Pwnage 2.1 to jailbreak the phone before so I figured I could do it. I'm just worried that I screwed something up on my Mac. I ordered a powered USB hub today in hopes of using that to jailbreak.
Ok, you are kind of safe but cant get into DFU.
First things first:
Open safari on your Mac and download the Combo Update 10.5.6 from Apple here:
Mac OS X 10.5.6 Combo Update
It is big, about 677 Mb. Once downloaded to your Mac open the dmg file by double-clicking it and run the updater. It wont change any of your data but will make sure you are on a 10.5.6 system with matching kext files.

Delete the kext backup you have from using the Automator script and delete the Automator folder aswell.

You are back as you were before then, no DFU of cause. It is up to you to use the Automator script again then from a fresh copy FROM THE DESKTOP or just wait for another solution.

Remember: you only need to get into DFU once. If the iPhone is pwnaged one time you wont need DFU again. So if you dont want to use the Automator Script, check for an older Mac of a friend of yours or a Windows-PC.

hope that helps,
v.
__________________
Read the stickies and search the forum before posting!
If you want to become a Hackint0sh supporter click here
----------
iPhone 3GS factory unlocked (3.1.2; Blackra1n, Cydia, OpenSSH, custom 3.0 ipcc file (no sig), tethering hack by Dev team, 32 GB)
iPhone 3G (3.0.1; Redsn0w 0.8, Cydia, OpenSSH) 16 GB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #155 (permalink)  
Old 01-27-2009, 04:17 AM
DoubeD
Status: Offline
Junior Member
 
Join Date: Jan 2009
Location: Newalins
Posts: 9
Rep Power: 0
DoubeD is on a distinguished road
Default

OK d/l the combo and let it do its thing and deleted all the files.
I got in my USB hub today and that works like a charm getting the phone in DFU and iTunes recognized it as an iPhone in Recovery mode so I did the Option/Restore and selected my custom IPSW and them iTunes gives me Error 1600!! I'm tired of iTunes errors! Any suggestions on getting through this error?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #156 (permalink)  
Old 01-27-2009, 10:52 AM
volkspost
Status: Online
iPhone Moderator
 
Join Date: Aug 2007
Posts: 3,581
Rep Power: 213
volkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to all
Default

Quote:
Originally Posted by DoubeD View Post
OK d/l the combo and let it do its thing and deleted all the files.
I got in my USB hub today and that works like a charm getting the phone in DFU and iTunes recognized it as an iPhone in Recovery mode so I did the Option/Restore and selected my custom IPSW and them iTunes gives me Error 1600!! I'm tired of iTunes errors! Any suggestions on getting through this error?
Sounds like you iPhone has been in DFU mode before. Try to use simple restore/recovery mode:
1. Disconnect PC and iPhone, start itunes 8
2. Shut down the iphone (red slider after holding start/sleep)
3. Hold Home-Button on the iPhone while connecting iPhone and PC - keep holding Home-button...
4. until iTunes detects an iPhone in recovery mode

Should work then.
__________________
Read the stickies and search the forum before posting!
If you want to become a Hackint0sh supporter click here
----------
iPhone 3GS factory unlocked (3.1.2; Blackra1n, Cydia, OpenSSH, custom 3.0 ipcc file (no sig), tethering hack by Dev team, 32 GB)
iPhone 3G (3.0.1; Redsn0w 0.8, Cydia, OpenSSH) 16 GB
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

  #157 (permalink)  
Old 01-27-2009, 06:29 PM
DoubeD
Status: Offline
Junior Member
 
Join Date: Jan 2009
Location: Newalins
Posts: 9
Rep Power: 0
DoubeD is on a distinguished road
Default

no dice! Got error 21 and phone was stuck on the itunes/cable screen so I had to restore again from there.....I think its time to hang up the modding until there is another FW update.

Since you see very knowledgeable about all this stuff let me ask you this:

Would it be possible to somehow fake the signature on an app like Winterboard so we could just load it through iTunes without having to jailbreak the phone? To me this would make things alot easier for modding.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #158 (permalink)  
Old 01-27-2009, 09:12 PM
lantinian
Status: Offline
Trial Member
 
Join Date: Jan 2009
Posts: 1
Rep Power: 0
lantinian is on a distinguished road
Thumbs up Yey! Works now

I followed Unkle's post on page 8 to bring back the dead keyboard and trackpad on my new Macbook after trying the DFU script
Re-enable DFU mode in Mac OS X 10.5.6 & MacBooks (unibody 2008) - Page 8 - Hackint0sh

Worked like charm. Used a iPod Shuffle as the USB drive.

Thanks you guys. Really saved the evening. I was so wound up in worry over this.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #159 (permalink)  
Old 01-28-2009, 12:50 PM
volkspost
Status: Online
iPhone Moderator
 
Join Date: Aug 2007
Posts: 3,581
Rep Power: 213
volkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to all
Default

Quote:
Originally Posted by DoubeD View Post
no dice! Got error 21 and phone was stuck on the itunes/cable screen so I had to restore again from there.....I think its time to hang up the modding until there is another FW update.
Here is what I would do. BUT BEWARE: DO NOT TRY THIS WITH FW 2.2.1!!!!!!
Only allpies to firmware 2.2, dont try this on 2.2.1 that came out today.

DFU restore the iPhone with iTunes 8 to standard Apple 2.2 firmware. It will be re-locked, jailbreak aso gone.
Use PwnageTool 2.2.1 and a 2.2 firmware file to create a custom firmware file.
DFU restore the iPhone with iTunes 8 to the custom firmware file.

Quote:
Originally Posted by DoubeD View Post
Would it be possible to somehow fake the signature on an app like Winterboard so we could just load it through iTunes without having to jailbreak the phone? To me this would make things alot easier for modding.
Nope, this would be nice, but...
__________________
Read the stickies and search the forum before posting!
If you want to become a Hackint0sh supporter click here
----------
iPhone 3GS factory unlocked (3.1.2; Blackra1n, Cydia, OpenSSH, custom 3.0 ipcc file (no sig), tethering hack by Dev team, 32 GB)
iPhone 3G (3.0.1; Redsn0w 0.8, Cydia, OpenSSH) 16 GB

Last edited by dtube; 01-28-2009 at 10:32 PM. Reason: bold type
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

  #160 (permalink)  
Old 01-28-2009, 10:37 PM
dtube
Status: Offline
Administrator
 
Join Date: Oct 2007
Posts: 3,622
Rep Power: 10
dtube is a name known to alldtube is a name known to alldtube is a name known to alldtube is a name known to alldtube is a name known to alldtube is a name known to all
Default

Quote:
Originally Posted by DoubeD View Post
Would it be possible to somehow fake the signature on an app like Winterboard so we could just load it through iTunes without having to jailbreak the phone? To me this would make things alot easier for modding.
Dream on ...
Even if there is such an app, Apple will never approve it on AppStore. .
Even so, how do one get to many themes, plug-ins and etc ... if the phone is not jailbroken
__________________
** If you just want to support hackint0sh.org with a donation click here **
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 Today 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 11:44 PM.



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