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


Go Back   Hackint0sh > Projects and Hacks > iPhone > iPhone 3G and 3G(s) Solutions > Old *pwn Solutions > Quickpwn 3G

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-04-2009, 04:03 PM
test
Status: Offline
Junior Member
 
Join Date: Feb 2009
Posts: 8
Rep Power: 0
test is on a distinguished road
Default Quickpwn modifications

I'm looking to overwrite some particular files on the iphone during jailbreak. I think the quickpwn method is the best, as i'd like to keep all files already on the device that do not need to be modified. So i figured the easiest way was to modify one of the bundles already used in the installation process.

I unpacked the quickpwn packer and modified Data/Cydia.tar.gz to contain a couple dummy files for a test. When i use quickpwn, the process completes fine, but then the device gets stuck in a continuous reboot. My only guess is that there is some checksum somewhere that is causing issues.

so..any ideas on what might be causing this?

also, is there another tool available that uses the quickpwn method to write data to the device?

one more: can i download the quickpwn source somewhere?

i was also considering making my own ipsw adding a bundle and info.plist, then feeding it into quickpwn, but not sure if thats going to work. any thoughts?

Last edited by test; 02-04-2009 at 08:58 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 02-04-2009, 04:50 PM
volkspost
Status: Offline
iPhone Moderator
 
Join Date: Aug 2007
Posts: 3,578
Rep Power: 212
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 test View Post
I'm looking to overwrite some particular files on the iphone during jailbreak. I think the quickpwn method is the best, as i'd like to keep all files already on the device that do not need to be modified. So i figured the easiest way was to modify one of the bundles already used in the installation process.

I unpacked the quickpwn packer and modified Data/Cydia.tar.gz to contain a couple dummy files for a test. When i use quickpwn, the process completes fine, but then the device gets stuck in a continuous reboot. My only guess is that there is some checksum somewhere that is causing issues.

so..any ideas on what might be causing this?

also, is there another tool available that uses the quickpwn method to write data to the device?

one more: can i download the quickpwn source somewhere?

i was also considering making my own ipsw adding a bundle and info.plist, then feeding it into quickpwn, but not sure if thats going to work. any thoughts? im trying to overwrite the /private/var/Keychains/keychain-2.db
Use PwnageTool 2.2.5 this is much earier. You can create additional bundles that users may add.
check the carrier bundle creator mentioned here. Create a bundle and check it out.
__________________
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!
Reply With Quote
  #3 (permalink)  
Old 02-04-2009, 05:17 PM
test
Status: Offline
Junior Member
 
Join Date: Feb 2009
Posts: 8
Rep Power: 0
test is on a distinguished road
Default

thaks volks for the quick reply. unfortuantely i dont have a mac so i cant use pwnagetool.. i was reading many of your previous posts concerning bundle creation, however none seemed to have a full description on how to do it, so im a bit lost.

ideally what i'd like to do is just be able to overwrite those files ONLY and this would have to happen in dfu mode. so i think the quickpwn/jailbreak method is what i should do.

That being said, im guessing that the bundle method is the best way to do it. So i create a ipsw with my changes, create a "\Data\PwnmetheusBundles\iPhone1,2_2.2.1_5H11-TEST.bundle" with a info.plist that matches the ipsw that i created. (this has been super helpful http://www.hackint0sh.org/forum/f146/40063-4.htm).

So am i approaching this correctly? is there an easier way? from what i read i think your carrier bundles are meant to be used either after jailbreak, or during jailbreak where all data is deleted. this method wont work right for me because 1. the data is inaccessible after jailbreak, and 2. the data is destroyed when using options other than quickpwn (remember, only on windows).

i am trying to get a mac shipped to me tomorrow, but its kinda of up in the air as to when it will actually be delivered so i want to try not to rely on that.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #4 (permalink)  
Old 02-04-2009, 06:28 PM
volkspost
Status: Offline
iPhone Moderator
 
Join Date: Aug 2007
Posts: 3,578
Rep Power: 212
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

I have been playing with bundles for Windows versions a while ago for my carrier bundle creator. For Quickpwn (and Winpwn before) the packages need to be tar archives. Thats not a problem at all of cause. The problem is that owner:group and permissions for each containg file has to be set.
I my case, that had to be done by the webserver, it is not that trivial, but I could manage it.
If you're doing it on your Windows box, you have to make sure they are placed with root:wheel and the propper permissions (755 in most cases).
You have to apply this while using the tar command (while packing). I know how to do this on Mac-OS X (cause it is Unix) and on Linux but I do fail on Windows.
I am more or less a regular user on Windows, sorry.

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!
Reply With Quote
  #5 (permalink)  
Old 02-04-2009, 06:30 PM
volkspost
Status: Offline
iPhone Moderator
 
Join Date: Aug 2007
Posts: 3,578
Rep Power: 212
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

one more to be added: I know that PwnageTool is made to accept custom bundles, I do know Winpwn was aswell. But I have never looked into Quickpwn how-to get this done.
__________________
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!
Reply With Quote
  #6 (permalink)  
Old 02-04-2009, 06:38 PM
volkspost
Status: Offline
iPhone Moderator
 
Join Date: Aug 2007
Posts: 3,578
Rep Power: 212
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

As Steve would say: One more thing!

to give you a jump-start on how-to get this working on a Mac, check these old threads:
http://www.hackint0sh.org/forum/f146/38149.htm
[Custom Packages][Solved] Info.plist Command for symlink available? - Hackint0sh
__________________
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!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #7 (permalink)  
Old 02-04-2009, 08:57 PM
test
Status: Offline
Junior Member
 
Join Date: Feb 2009
Posts: 8
Rep Power: 0
test is on a distinguished road
Default

so yup, permissions where the problem. i solved it by

From iphone:
Code:
tar -pcvf Pack.tar /path/to/file/to/copy
copy that from the system via scp

extract quickpwn:

Within Windows, double click the quickpwn.exe once it loads goto
start:run type %TEMP%

copy all data out of the RarSFX1 folder into another folder

Then copy the Data/Cydia.tar.gz and the Pack.tar to a Linux system

From a Linux system (as root):
Code:
mkdir iphone
cd iphone
tar -pzxvf Cydia.tar.gz
tar -pxvf Pack.tar
rm Cydia.tar.gz
rm Pack.tar
tar -pcvf Cydia.tar .
gzip Cydia.tar
Copy the new Cydia.tar.gz off the linux system into the Data/ directory

Now my new problem is that quickpwn is too smart. because the phone i want to jailbreak is locked with a passcode, it wont register with quickpwn in the locked state. So i was able to fool quickpwn up to a certain extent by:

1. Put target phone in DFU mode
2. connecting another iphone
3. clicking next in quickpwn up until the "ready to pwn" screen which gives you the DFU instructions
4. when it reaches "Release the Power button and continue to hold Home for 30 seconds", quickly connect the target phone which is in DFU mode already.

unfortunately, this only works up the "uploading exploit bootloader" step.

So is there an app or a copy of quickpwn or any way to write when the device is already in dfu mode, rather then going through all of these semantics?


also the reason i cant use pwnagetool is that it completely reflashes all data on the device. i need to update on the files the need to be updated, and leave the rest alone, as quickpwn does.

Last edited by test; 02-04-2009 at 09:02 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 02-04-2009, 10:23 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 test View Post
unfortunately, this only works up the "uploading exploit bootloader" step.
I was playing with this a while back (doing something else).

At that point, try removing the cable and plug it back in.
__________________
** 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!
Reply With Quote
  #9 (permalink)  
Old 02-05-2009, 12:26 AM
test
Status: Offline
Junior Member
 
Join Date: Feb 2009
Posts: 8
Rep Power: 0
test is on a distinguished road
Default

no luck with that, progress bar flashed, but still stuck on uploading exploit
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #10 (permalink)  
Old 02-05-2009, 03:51 AM
test
Status: Offline
Junior Member
 
Join Date: Feb 2009
Posts: 8
Rep Power: 0
test is on a distinguished road
Default

also anyone know why idevice will crash after it says its preparing the phone for writing? it also says "Unsupported iTunesMobileDevice.dll Version Major b9000b Minor a " but i dont know if thats unrelated.. heres some more info:


Code:
 
C:\>itunespwn.exe "iPhone1,2_2.2.1_5H11_Restore-MOD.ipsw"
loading: Firmware/dfu/WTF.s5l8900xall.RELEASE.dfu (58590)
packing: Firmware/ (0)
packing: Firmware/dfu/ (0)
packing: Firmware/dfu/WTF.s5l8900xall.RELEASE.dfu (58590)
packing: Restore.plist (636)

C:\>idevice.exe "iPhone1,2_2.2.1_5H11_Restore-MOD.ipsw" n82ap
---------------------------PLEASE READ THIS---------------------------
Please make certain that all iTunes related processes are not running
at this time (use Task Manager, etc. to end them).
---------------------------PLEASE READ THIS---------------------------


loading: Firmware/dfu/WTF.s5l8900xall.RELEASE.dfu (58590)
loading: Firmware/dfu/iBSS.n82ap.RELEASE.dfu (118016)
loading: Firmware/dfu/WTF.n82ap.RELEASE.dfu (119946)
loading: Restore.plist (1717)

Getting iPhone/iPod status...
Unsupported iTunesMobileDevice.dll Version Major b9000b Minor a
Is your iPhone/iPod connected to your computer via USB?
Please answer (y/n): y
Is your iPhone currently powering on?
Please answer (y/n): y
Waiting for iPhone/iPod to power on...
Please turn off your iPhone/iPod without disconnecting the cable connecting it t
o the computer
Press enter when you have turned off your iPhone/iPod...
Waiting for iPhone/iPod to power off...

!!! Your device should now be off. If it is not, please make sure it is before p
roceeding !!!

Timing is crucial for the following tasks. I will ask you to do the following (D
ON'T START YET):
        1. Press and hold down the power button for five seconds
        2. Without letting go of the power button, press and hold down the power
 AND home buttons for ten seconds
        3. Without letting go of the home button, release the power button
        4. Wait 30 seconds while holding down the home button

Try to get the timing as correct as possible, but don't fret if you miss it by a
 few seconds. It might still work, and if it doesn't, you can always try again.
If you fail, you can always just turn the phone completely off by holding power
and home for ten seconds, then pushing power to turn it back on.

Are you ready to begin?
Please answer (y/n): y
Beginning process in 5 seconds...
Beginning process in 4 seconds...
Beginning process in 3 seconds...
Beginning process in 2 seconds...
Beginning process in 1 seconds...

Press and hold down the POWER button (you should now be just holding the power b
utton)... 5... 4... 3... 2... 1...

Press and hold down the HOME button, DO NOT LET GO OF THE POWER BUTTON (you shou
ld now be just holding both the power and home buttons)... 10... 9... 8... 7...
6... 5... 4... 3... 2... 1...

Release the POWER button, DO NOT LET GO OF THE HOME BUTTON (you should now be ju
st holding the home button)... 30... 29... 28... 27... 26... 25... 24... 23... 2
2... 21... 20... 19... Congratulations! You have successfully entered DFU mode.
Please wait while your iPhone/iPod is being prepared to accept custom IPSWs...


<<THEN CRASH>>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
QuickPwn: Tutorial and FAQ | JAILBREAK 2.0.2 using QuickPwn120! Spinstorm Quickpwn 64 06-29-2009 09:12 AM
QuickPwn: Tutorial and FAQ | JAILBREAK 2.0.2 using QuickPwn! Spinstorm Quickpwn 3G 22 06-04-2009 08:09 AM
Official QuickPwn 2.2.5 for Windows Released paliometoxo Quickpwn 1 01-30-2009 11:12 PM
2.2 Jailbroken with Quickpwn 2.1 and Firmware 2.1 crackn Quickpwn 7 11-23-2008 01:14 AM
How to upgrade to 2.1 without using QuickPwn phil0711 Quickpwn 4 10-27-2008 06:41 AM



All times are GMT +2. The time now is 04:29 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