GithubHelp home page GithubHelp logo

chronic-dev / libirecovery Goto Github PK

View Code? Open in Web Editor NEW
158.0 158.0 71.0 769 KB

Console library for iBoot/iBSS used by iPhone & iPod touch

License: GNU Lesser General Public License v2.1

Shell 0.48% C 99.52%

libirecovery's People

Contributors

funkym avatar jaywalker avatar nhaunold avatar nikias avatar posixninja avatar westbaer avatar winocm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

libirecovery's Issues

homebrew

might be a few stupid questions but hey :/ I'm not the brightest crayola.

I'm making a brew formula for this and well I seam to locate a version number but need one for the formula, and then the second one being in the realm of homebrew? perhaps... maybe github...

when I pull an MD5 during download I'm mismatching it from the original MD5 when downloading?

any thoughts would be much appreciated

-Al

How to use this

I'm an idiot, yes.
I've downloaded this. I've run make on it. It created the libirecovery.a and libirecovery.o files. What do I do now? I'm on a Mac, with my terminal application being, well, Terminal, and I'm a total n00b. Any help at all? I just really wanna get this working...
TLDR, how in gods name do I do this

"make linux && sudo make install" doesn't work?

Was reading this tutorial (here)on how to install iDevicerestore on ubuntu and I got to the part where you have to make libirecovery by typing in terminal

cd ~/libirecovery
make linux && sudo make install

I do this and i then get this:

make: *** No rule to make target `linux'.  Stop.

Don't know what to do about this because I can't find very much on this so I figured I would open a new issue.

Thanks for your support - upd8er

error at claiming interface #3

./irecovery2 -s
iRecovery - Version: 2.0.5 - For LIBUSB: 1.0
by westbaer. Thanks to pod2g, tom3q, planetbeing, geohot, posixninja, iH8sn0w.
Rewrite by GreySyntax.
Improved by xerub.

[Device] Connected.
[Program] Error claiming interface.

[Device] Closing Connection.
admins-iMac:Exploit admin$

Cant' access IPhone 4S on Ubuntu

I just compiled irecovery under ubuntu 12.10 but I can't connect to an iPhone4, some kind of usb error. Here is what I did:

sudo irecovery -vs
Attempting to connect...
opening device 05ac:1281...
Setting to configuration 1
Setting to interface 0:0
libusbx: error [submit_bulk_transfer] submiturb failed error -1 errno=2

Any idea how to fix it ?

Unable to connect to iOS 5 device i recovery mode

I just tried to update my iOS 5 device to iOS 6 and it got stuck in recovery mode.

I tried to access the device using iRecovery, but keep getting this error:

$ ./irecovery -sv
Attempting to connect... 
opening device 05ac:1281...
Setting to configuration 1
Setting to interface 0:0
libusb: 0.000000 error [get_endpoints] error getting pipe information for pipe 1: unknown error
libusb: 0.000258 error [darwin_set_interface_altsetting] could not build endpoint table
Attempting to connect... 
opening device 05ac:1281...
Setting to configuration 1
Setting to interface 0:0
libusb: 1.664150 error [get_endpoints] error getting pipe information for pipe 1: unknown error
libusb: 1.664368 error [darwin_set_interface_altsetting] could not build endpoint table
Attempting to connect... 
opening device 05ac:1281...
Setting to configuration 1
Setting to interface 0:0
libusb: 3.328979 error [get_endpoints] error getting pipe information for pipe 1: unknown error
libusb: 3.329187 error [darwin_set_interface_altsetting] could not build endpoint table
Attempting to connect... 
opening device 05ac:1281...
Setting to configuration 1
Setting to interface 0:0
libusb: 5.121214 error [get_endpoints] error getting pipe information for pipe 1: unknown error
libusb: 5.121460 error [darwin_set_interface_altsetting] could not build endpoint table
Attempting to connect... 
opening device 05ac:1281...
Setting to configuration 1
Setting to interface 0:0
libusb: 6.913356 error [get_endpoints] error getting pipe information for pipe 1: unknown error
libusb: 6.913553 error [darwin_set_interface_altsetting] could not build endpoint table
Attempting to connect... 
opening device 05ac:1281...
Setting to configuration 1
Setting to interface 0:0
libusb: 8.577299 error [get_endpoints] error getting pipe information for pipe 1: unknown error
libusb: 8.577530 error [darwin_set_interface_altsetting] could not build endpoint table

Any ideas what I can do?

Thanks for any feedback!

How to compile this

I've tried running make, configure, and basically every other compiler command I know to compile this, but, I keep getting a slew of errors each time I try.
Running Mac OS X 10.7 with Xcode 4

How do I make this?

I've been trying to run 'make' on this file with no success.

Rather, it does run 'make,' but then doesn't run a make install. I'm not sure how to install this, since previous irecovery builds would compile with make linux && sudo make install.

Any advice?

MakeFile will not compile on Arch Linux

When trying to compile I get -
Cloning into '/tmp/yaourt-tmp-samarch/aur-libirecovery-git/src/libirecovery-build'...
done.
gcc -c libirecovery.c -o libirecovery.o -m32 -fPIC -O3 -I./include -I/usr/include -I/usr/local/include
gcc -o libirecovery.so libirecovery.o -L/usr/lib -L/usr/local/lib -shared -W1,-soname,libirecovery.so -m32 -lusb-1.0
gcc: error: unrecognized command line option โ€˜-W1,-soname,libirecovery.soโ€™
make: *** [libirecovery.so] Error 1

Solution -
I used an old Makefile from tokm's old fork and with some modification it worked. I cloned the git into a directory and executed these commands -
gcc -o libirecovery.o -c libirecovery.c -g -I./include -lreadline -fPIC
gcc -o libirecovery.so libirecovery.o -g -shared -Wl,-soname,libirecovery.so -lusb-1.0
gcc -o irecovery irecovery.c -g -I./include -L. -lirecovery -lreadline

It successfully compiles and you get the executable, then you do -
cp libirecovery.so /usr/lib/libirecovery.so
cp include/libirecovery.h /usr/local/include/libirecovery.h
cp irecovery /usr/local/bin/irecovery
ldconfig

Whats the client?

irecv_open_with_ecid(irecv_client_t* client, unsigned long long ecid);
In irecv_client_t* client what type is client? like how do we get that? because it doesn't seem like it's using usbmuxd

I know how to get ecid & udid, but how do i get client?

irecovery won't show any output in terminal

Hello,

When I try to run:

root@desert:/home/marco/libirecovery# ./irecovery -s

radio readnvram

i won't get any output on my terminal.

I am running the latest irecovery version (06/07/11) with an iPhone 3g - 4.1.2 on Ubuntu Linux 11.04.

Error cannot find input file: `src/Makefile.in`

Hi!

When a download a zip version of the repo ; and exec ./autogen.sh I have

config.status: creating Makefile
config.status: error: cannot find input file: `src/Makefile.in'

at the end of the output.

The Makefile is still generated but make all or make produces:

make all
/Library/Developer/CommandLineTools/usr/bin/make  all-recursive
Making all in src
make[2]: *** No rule to make target `all'.  Stop.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any hint?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.