Comments (15)
does the device screen turns white (before or after the program fails) ?
Original comment by [email protected]
on 1 Jun 2011 at 10:06
- Changed state: Accepted
from iphone-dataprotection.
Nope - the device stayed black and dead. I had to do a hard reset to revive it.
So my guess was that there is a communication problem.
I fixed that problem by installing another libusb (sudo port install) and
recompile tetheredboot. Now the device gets white and it starts booting.
Now tetheredboot ends with:
----
Waiting 10 seconds for the device to pop up...
opening device 05ac:1281...
Setting to configuration 1
Setting to interface 0:0
Preparing to upload iBSS payload
[==================================================] 100.0%
Executing iBSS payload
Waiting 10 seconds for the device to pop up...
opening device 05ac:1281...
Setting to configuration 1
Setting to interface 0:0
Preparing to upload devicetree
Checking if DeviceTree.n90ap already exists
Preparing to fetch firmware image from Apple's servers
Fetching Firmware/all_flash/all_flash.n90ap.production/DeviceTree.n90ap.img3...
[==================================================] 100.0%
Resetting device counters
Uploading DeviceTree.n90ap to device
[==================================================] 100.0%
Preparing to upload ramdisk
[==================================================] 100.0%
Executing ramdisk
libusb:error [darwin_transfer_status] transfer error: timed out
Preparing to upload kernelcache
Checking if kernelcache already exists
Resetting device counters
[==================================================] 100.0%
libusb:error [darwin_transfer_status] transfer error: timed out
Exiting libpois0n
----
Don't really know if this is sucess or not.
On the device I get:
---
...
Listening on port 1999
Running /sbin/sshd
AppleBCMWLAN: handleIOKitBusyWatchdogTimeout(): Error no successful firmware
download after 60000 ms!! Giving up ...
---
followed by warnings "limiting USB input current"
So the device is up and running, it reacts on USB (dis-)connect events,
sshd has been started -- but I still can't connect to it :-(
tcprelay reports incoming requests but not connection
Any hint what I have to look out for?
Original comment by [email protected]
on 1 Jun 2011 at 10:59
from iphone-dataprotection.
ok so the ramdisk boots fine, this looks like some kind of usb issue, i never
had the "limiting USB input current" warnings on my test setup. Does the device
show up in system profiler ? Could you also post the tcprelay output ? Thanks
Original comment by [email protected]
on 1 Jun 2011 at 11:11
from iphone-dataprotection.
I guess that we can ignore the "current" thing - it is related to charging
limitations. I also get a message "Charging not supported with this
accessories" when I connect the running device via USB. They all disappear if I
remove the USB extension cable.
tcypreplay does not show anything interesting:
$ python tcprelay.py -t 22:2222 5900:5900 1999:1999 1234:1234
Forwarding local port 2222 to remote port 22
Forwarding local port 5900 to remote port 5900
Forwarding local port 1999 to remote port 1999
Forwarding local port 1234 to remote port 1234
Incoming connection to 2222
There is no answer and/or status if I try to connect to any of the ports.
System profiler shows an iphone connected to USB (serial number: blah)
There are a couple of other errors in the output on the iphone like:
GetMasterBlock: Error 16 opening /dev/md0
I just don't know what is relevant.
Original comment by [email protected]
on 1 Jun 2011 at 12:22
from iphone-dataprotection.
ok, not a usb bug then. This is weird, since "Running /sbin/sshd" is displayed
it should be ok. I'll try to reproduce the issue and dig further.
Original comment by [email protected]
on 1 Jun 2011 at 12:50
from iphone-dataprotection.
Is the exit of tetheredboot ok?
---
Resetting device counters
[==================================================] 100.0%
libusb:error [darwin_transfer_status] transfer error: timed out
Exiting libpois0n
----
Is there a way to check, if tcprelay is really talking to the device?
Can I do some kind of "ping" over ther USB line, to see if the device is alive?
fyi: I will be away from my lab from tomorrow until next monday, so I can't do
any further testing.
Original comment by [email protected]
on 1 Jun 2011 at 1:08
from iphone-dataprotection.
yes, if the ramdisk boots with verbose output on the device screen then
tetherboot should be ok.
I've attached a modified usbmux.py script with debug prints, could you post the
ouput ?
Otherwise, this is not a real solution but you can also try using tetherboot
under windows (a compiled binary is available on the download page).
Original comment by [email protected]
on 1 Jun 2011 at 1:37
Attachments:
from iphone-dataprotection.
# ssh -p 2222 root@localhost
Incoming connection to 2222
connect /var/run/usbmuxd
self.listener.listen()
listen
sendpacket
self.socket.send(data)
getreply
self.socket.recv(4)
---
# nc localhost 1234
Incoming connection to 1234
connect /var/run/usbmuxd
self.listener.listen()
listen
sendpacket
self.socket.send(data)
getreply
self.socket.recv(4)
Original comment by [email protected]
on 1 Jun 2011 at 2:21
from iphone-dataprotection.
On my Windows XP test system, tetheredboot.exe crashes after saying "Fetching
kernelcache.release" leaving the device black and dead.
Original comment by [email protected]
on 1 Jun 2011 at 3:25
from iphone-dataprotection.
Just checked: tetheredboot.exe also crashes on Windows Vista using:
tetheredboot.exe -p payload -r myramdisk.dmg
Original comment by [email protected]
on 7 Jun 2011 at 10:17
from iphone-dataprotection.
Same on Windows 7 - crash after "Fetching kernelcache.release"
Double checked in admin mode
Original comment by [email protected]
on 7 Jun 2011 at 10:39
from iphone-dataprotection.
i can't look into it that much this week, does it crashes or does the process
just exits ? also are you running windows in a virtual machine ?
Original comment by [email protected]
on 7 Jun 2011 at 11:42
from iphone-dataprotection.
It crashes. I am offered to send info to Microsoft. I can try to extract,
whatever you need and send it to you (just drop me a mail to ju_at_heisec.de).
To avoid problems with USB, I did not use VMs but real hardware in all 3 cases.
Maybe we should split this in to issues:
1) no communication with jailbroken iphone
2) Windows tetheredboot.exe crashes
Original comment by [email protected]
on 7 Jun 2011 at 1:24
from iphone-dataprotection.
I'm trying this same thing, on iphone 4 on 4.3.2 and when I get to the part to
/ mount I get this error:
GetMasterBlock: Error 16 opening /dev/md0
Can someone help?
Original comment by [email protected]
on 30 Sep 2011 at 10:51
from iphone-dataprotection.
Original comment by [email protected]
on 6 Oct 2011 at 6:54
- Changed state: Done
from iphone-dataprotection.
Related Issues (20)
- Emf_decrypter in Windows HOT 5
- Tuto HOT 2
- Issues after starting a RAMdisk on a device with iOS 4.3.4 HOT 5
- bruteforce result in a "FAIL: missing UID kernel patch" HOT 14
- ramdiskclient.py getDeviceInfo ERROR HOT 3
- Ramdisk method to backup Iphone 4 data, Error, GetMasterBlock: Error 16 opening /dev/md0 HOT 6
- Keychain Viewer does not show items in iOS 5 HOT 2
- Cannot build ramdisk_tools HOT 5
- demo_bruteforce.py connection refused HOT 14
- emf_decrypter segmentation fault HOT 17
- iPhone 4 CDMA: kernel patches not applying HOT 3
- -bash hg: command not found HOT 24
- keychain_tool.py using option "-p" fails with UnicodeDecodeError HOT 1
- Bus Error: 10 when trying to boot ramdisk img HOT 12
- Bus Error: 10 when trying to boot ramdisk img
- ldid error util/ldid.cpp(578): _assert(2:false) HOT 10
- Unable to display the keychain database contents HOT 2
- Can this be used to SSH ramdisk recovery? HOT 3
- Fix iTunes backups support and unify keychain code HOT 3
- Problems with current SDK? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iphone-dataprotection.