PDA

View Full Version : iNdependence v1.0 released for Mac (next-gen iActivator)


The Operator
08-23-2007, 09:32 PM
iNdependence is a Cocoa-based application for Mac which provides an easy-to-use interface for jailbreak, activation, SSH installation, and ringtone/wallpaper/application installation. It's basically the next generation of iActivator.

You can find it at: http://code.google.com/p/independence/

NOTE: This program will not perform a SIM unlock

The current version is 1.2 (released September 11th, 2007). It's a universal binary and has been tested on both PPC and Intel Macs (running Mac OS X 10.4.10). It's also been tested with iPhone firmware versions 1.0, 1.0.1, and 1.0.2. As well, it works with iTunes 7.4 (and earlier versions).

There's a fairly detailed README file included with it, so please read that first before asking any questions.

For those interested, the SSH installation generates RSA and DSS keys at runtime using dropbearkey (no pregenerated keys are used). You can read through the source code to verify this if you like. The log window which comes up at runtime shows the output from dropbearkey.

0p

alxtribal
08-23-2007, 10:42 PM
Seems a good one, but,
I tried to transfer ringtones or wallpapers, but can't select any file... all greyed:confused:

The Operator
08-23-2007, 10:56 PM
Ringtones must be .m4a files (the file chooser filters based on that file extension), wallpapers must be .png files (again, same file filtering). Also for wallpapers, you should have the main image, and a thumbnail image.

And yes, phone UI customization isn't a strong point of iNdependence. I just put in what I needed. I think I had too many bad trips customizing every little detail of fvwm back in the early Linux days and don't really care for it much anymore. ;)

patvg
08-23-2007, 11:00 PM
Great to see a good tool for Mac users doing SSH and other stuff for the first time ... THX !

dogzilla
08-24-2007, 12:35 AM
Great to see a good tool for Mac users doing SSH and other stuff for the first time ... THX !

Not just for the first time - it's great to have a timesaver to use after a restore or update. Just because i can do it from the command line doesn't mean i want to go thfough the hassle every time. If this works as advertised it'll be a blessing. I'm sick of iphuc requiring 20 tries before it pairs.

petemag
08-24-2007, 01:44 AM
Nice work!

metronet
08-24-2007, 05:59 AM
I upgraded my FW to 1.02 and this tool works great!

thank you Operator.

FCA
08-24-2007, 06:08 AM
Thanks again for your work Operator! I appreciate it cause I really think iPHUC and most of the command line stuff is not only kinda hard and tricky, but boring and slow! anyway, God bless you! :)

-FCA

The Operator
08-24-2007, 03:33 PM
Both iPHUC and iActivator/iNdependence have their place.

iPHUC is more powerful because it exposes almost everything you can do with the phone using Apple's MobileDevice library (put it into restore mode and issue all commands, put it into recovery mode and issue all commands, etc). So it's much more useful for those who are hacking the phone.

However, for those who just want to activate the phone and install stuff, then iNdependence is better suited because it's so much easier to use.

So really, the two programs are targeted at different audiences.

sachin1301
08-24-2007, 11:57 PM
where can i download it from?

sachin1301
08-25-2007, 12:15 AM
OOPS, dunno how i missed the link.

The Operator
08-25-2007, 12:19 AM
where can i download it from?The link was there, you just had to click on "here". However, I've changed it to give an explicit URL to be more clear.

FCA
08-25-2007, 08:30 AM
Both iPHUC and iActivator/iNdependence have their place.
...

So really, the two programs are targeted at different audiences.

very nice point...something new learned today! :)

ernando
08-25-2007, 08:49 AM
I just read on engadgets that there is a sim unlock software right now. Is it available here ?

thanks

willerlee
08-25-2007, 09:46 PM
i can jailbreak , but error in Activation. fully Restored to Firmware 1.02 .
anybody can help ? both iNdependence and iActivator.

The Operator
08-25-2007, 10:03 PM
i can jailbreak , but error in Activation. fully Restored to Firmware 1.02 .
anybody can help ? both iNdependence and iActivator.Quit whichever program you're using (iActivator/iNdependence), then restart it, then try activation again. This is documented as a known issue in the README. Sometimes activation just fails for no good reason.

Some people have also reported success by returning their phone to jail before activating it. Once you have the PEM file on the phone, you can activate it without the phone being jailbroken.

the_gts
08-25-2007, 10:32 PM
I am not sure but what do I do when it asks where I unziped the firmware is

jyavenard
08-26-2007, 03:40 AM
Quit whichever program you're using (iActivator/iNdependence), then restart it, then try activation again. This is documented as a known issue in the README. Sometimes activation just fails for no good reason.

Some people have also reported success by returning their phone to jail before activating it. Once you have the PEM file on the phone, you can activate it without the phone being jailbroken.

I found that I can always activate with iASign after jailbreaking with iNdependence/iActivator , however, iNdependence/iActivator always give me an error.

Jean-Yves

The Operator
08-27-2007, 09:24 AM
I found that I can always activate with iASign after jailbreaking with iNdependence/iActivator , however, iNdependence/iActivator always give me an error.When I get an activation failed message, quitting and restarting iActivator/iNdependence, then attempting activation again works 99% of the time for me (I think I had to do it twice one time). This would be equivalent to running another program.

It's literally one function call in Apple's MobileDevice library to activate the phone (AMDeviceActivate). However, this function call appears to fail for unknown reasons on occasion, requiring a program to reconnect to the phone for it to work again. Eventually I would like to add code which compensates for this flakiness in the MobileDevice library, but for now the workaround is pretty easy, and is well documented.

People have also reported problems with bad restores when using iTunes (having to restore twice on occasion). So it would appear that the MobileDevice library isn't the most solid piece of work from Apple.

dam
08-28-2007, 12:06 AM
i cant activate my iphone with Independence or IActivator

the only way is using a.plist from anderson's method

if i generate mi.plist it throws me an error with a number like this -042653146

any ideas?

Palu
08-28-2007, 12:40 AM
Hallo which is the right dimensions (in pixel) for the thumbnails for wallpapers? Must they be .png as well? thank you

situ
08-28-2007, 01:11 AM
dam:
I had the same error message using iActivator. I quit iActivator, when the message came up, restartet it again and just hit "activate" (using the previously generated activation file) and it worked.

Maybe you try this...

fernas001
08-28-2007, 02:05 AM
hi
i have one problem. I activated my iPhone with independece and looks good i can sync music but i cant sync my videos on iTunes. I have 1.0.2 fw i need help

ashraf@samawi.com
08-28-2007, 03:12 AM
if you get an error with independence when trying to activate, simply use independence to jail your phone and then hit the activate button, choose your activation plist file and it WILL work. for some reason independence gives an error message when trying to activate while the phone is jail broken

dam
08-28-2007, 05:58 AM
i try both ways, first jailbreak, then activate with my own generated plist, and second activation without jailbreak gives that error too.

im with firmware 1.02

ashraf@samawi.com
08-28-2007, 05:11 PM
here's what worked for me...

did a restore and update... so now running 1.0.2
quit itunes and itunes helper
ran indepedence and clicked on jailbreak
put pem
generated a activation.plist by putting in my IMEI and ICCD
tried to activate and got the error
jailed the phone
pressed activate and chose the activation.plist file
everything worked

hammer
08-28-2007, 06:27 PM
Great looking app (I also liked the old one). What would be cool is an integrated youtube one click hack.
Keep up the good work!

catgo
08-29-2007, 03:54 AM
Will running independence allow me to use my cingular sim card with the iphone? Thanks for the program...

rais
08-29-2007, 09:27 AM
I tried to install ssh and etc . Everything vent well even changed passwords.
But i cant connect via ssh?

ashraf@samawi.com
08-29-2007, 09:13 PM
you can't connect via ssh? could be a problem i had....

open terminal and type ssh root@your phones ip address

if it gives you a warning message with a bunch of stuff written then copy the line that says /user/NAME/ect...

and type rm -r /user/NAME/ect...

P.s. it wont say ect.. i just forget what it says....

hit enter and then type ssh root@your phones ip address

now you will get some writting asking you yes or no.... type yes

enter password and enjoy

The Operator
08-30-2007, 03:36 PM
Hallo which is the right dimensions (in pixel) for the thumbnails for wallpapers? Must they be .png as well? thank youThere's a tutorial out there somewhere, but I can't find it offhand. Anyways, here's the image sizes I use:

Main Image: 320x480
Thumbnail Image: 75x75

Those seem to work well for me.

-0p

The Operator
08-30-2007, 03:42 PM
hi
i have one problem. I activated my iPhone with independece and looks good i can sync music but i cant sync my videos on iTunes. I have 1.0.2 fw i need helpThis has nothing to do with how you activated the phone. The iPhone is just very picky in what video types it will allow you to sync/play. I've pretty much only been able to sync over videos that were specifically made for the iPhone. So you'll probably need to convert your existing videos to a format the iPhone supports.

Here's the official word on supported formats from Apple's site:

Video formats supported: H.264 video, up to 1.5 Mbps, 640 by 480 pixels, 30 frames per second, Low-Complexity version of the H.264 Baseline Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; H.264 video, up to 768 Kbps, 320 by 240 pixels, 30 frames per second, Baseline Profile up to Level 1.3 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats

The Operator
08-30-2007, 03:45 PM
Will running independence allow me to use my cingular sim card with the iphone? Thanks for the program...I'm not from the US so I'm not familiar with the phone service providers there. Cingular is the same as AT&T right?

If so, then yes, you should be able to use a Cingular SIM with your iPhone after activating it this way. Basically, after you activate using iNdependence, you should be able to use any AT&T SIM card (even a pay-as-you-go one).

-0p

The Operator
08-30-2007, 03:49 PM
I tried to install ssh and etc . Everything vent well even changed passwords.
But i cant connect via ssh?Make sure you're using the correct IP address for your phone and that your phone is connected to your network.

I've noticed that when the phone locks the display, I can't SSH into it. So I've had to set my phone so that it doesn't lock the display automatically. I think that when it locks the display, it also turns off the WiFi connection to save battery (not sure), so this would essentially disable SSH.

-0p

rais
08-30-2007, 05:41 PM
Make sure you're using the correct IP address for your phone and that your phone is connected to your network.

I've noticed that when the phone locks the display, I can't SSH into it. So I've had to set my phone so that it doesn't lock the display automatically. I think that when it locks the display, it also turns off the WiFi connection to save battery (not sure), so this would essentially disable SSH.

-0p

Have tried that one too.
It says: "port 22: Connection refused"?
But i can change password > strange

Shall i put it back to jail when i'm doing this??

The Operator
08-30-2007, 05:54 PM
Have tried that one too.
It says: "port 22: Connection refused"?
But i can change password > strange

Shall i put it back to jail when i'm doing this??The method used to change the password doesn't involve SSH at all, so you should be able to change the password regardless of whether the SSH install worked correctly or not.

And no, you don't have to return the phone to jail.

So the SSH install went fine? You rebooted twice and everything worked?

The only other thing I've found with SSH is that, if you have ever connected to another device at the same IP address as your iPhone via SSH, then the SSH client will complain about the fact that the key has changed and won't let you connect. Unfortunately, I've found that most GUI-based SSH clients won't report this information to you and will just say that the connection failed.

When using the command-line SSH client, you simply need to remove the entry corresponding to your iPhone's IP address from ~/.ssh/known_hosts. This, of course, could be different for GUI-based SSH clients.

If all that doesn't help, then you can try installing SSH again. Installing it multiple times won't cause problems as it will just keep overwriting the same files. The only thing is that you'll run into the key changed issue every time you reinstall.

Ahmedmuh
09-03-2007, 10:55 AM
Guys, the website is blocked in my country... i am sure it has some nasty links...

can someone help me with another link? i searched the net, but the file name is easily mixed with iPhone "Independence Day" when it was first activated...

if you can't have another link please someone email the prog to ahmedm gmail account...

0p, can you do it?

The Operator
09-06-2007, 05:48 PM
Just released version 1.1. Lots of new stuff in this release. From the CHANGELOG file:

v1.1 - 09/06/07

- Added ability to add/remove applications to/from the phone. This includes setting the correct permissions and restarting Springboard
- Added Finder-like interface for adding ringtones, wallpapers, and applications. Uses buttons or drag and drop. Shows preview images for wallpaper files and application icons.
- Added "Restore PEM File" button which allows users to restore the original PEM file back onto their phone (useful when trying to undo all modifications for a firmware update)
- Added "Remove SSH" button for same reason
- Jailbreak has been verified to work on Windows via a command-line application. In the process of adding some missing CF functionality so that activation will work too. It's getting closer... :)


Please test this version out and report any problems.

--0p

The Operator
09-06-2007, 07:58 PM
I just moved everything to Google code so that it's easier to download and maintain.

td1198
09-06-2007, 09:21 PM
have you looked at the issues everyone is having with iTunes 7.4 and iNdependence (and other jailbreak programs)

The Operator
09-06-2007, 10:09 PM
have you looked at the issues everyone is having with iTunes 7.4 and iNdependence (and other jailbreak programs)
Working on it right now. The offsets for the private functions we're all using have changed, but that was pretty easy to fix. Now jailbreak gets to the end, but fails for some reason (and bricks the phone). Shouldn't take too long to figure out...

olk
09-07-2007, 12:01 AM
Working on it right now. The offsets for the private functions we're all using have changed, but that was pretty easy to fix. Now jailbreak gets to the end, but fails for some reason (and bricks the phone). Shouldn't take too long to figure out...

could this security feature added affect this bricking?
http://docs.info.apple.com/article.html?artnum=306404

The Operator
09-07-2007, 12:27 AM
Working on it right now. The offsets for the private functions we're all using have changed, but that was pretty easy to fix. Now jailbreak gets to the end, but fails for some reason (and bricks the phone). Shouldn't take too long to figure out...ok, I just got a successful jailbreak with iTunes 7.4 installed. Should have a new release shortly... stay tuned.

xportz
09-07-2007, 12:56 AM
Please tell me there is a way to fix the phone if we tried jailbreaking using the current version of iNdependence with iTunes 7.4...?

The Operator
09-07-2007, 01:59 AM
ok, I just released version 1.1.1 and it has been tested with iTunes 7.4 (on both Intel and PPC). Note that you will now see a bunch of text streaming down the screen on your iPhone when performing a jailbreak. This is normal. I had to leave it that way because I wanted to get this out to people as fast as possible. Hopefully I'll be able to get rid of it in the next release.

td1198
09-07-2007, 02:06 AM
Seems like other tools are also being adapted right now, but they state that based on the different naming/addressing scheme, the new version should ONLY be used with iTunes 7.4. Is this the same for iNdependence 1.1.1?

td1198
09-07-2007, 02:08 AM
Apparently using the newer versioned tools (like installer.app) that are updated for iTunes 7.4 will brick phones if the user has 7.3.

Boy are there going to be a lot of newbie bricked phones soon

The Operator
09-07-2007, 02:13 AM
Seems like other tools are also being adapted right now, but they state that based on the different naming/addressing scheme, the new version should ONLY be used with iTunes 7.4. Is this the same for iNdependence 1.1.1?There is code to auto-detect which version of iTunes you have installed. However, I haven't had a chance to test with iTunes 7.3 yet. It should work though as it's using the same code.

G-iPhone
09-07-2007, 02:25 AM
ok, I just released version 1.1.1 and it has been tested with iTunes 7.4 (on both Intel and PPC). Note that you will now see a bunch of text streaming down the screen on your iPhone when performing a jailbreak. This is normal. I had to leave it that way because I wanted to get this out to people as fast as possible. Hopefully I'll be able to get rid of it in the next release.


peace brotha, well done. all works fine again with iTunes 7.4. well done again! go get some sleep now ;-)

The Operator
09-07-2007, 03:42 AM
Apparently using the newer versioned tools (like installer.app) that are updated for iTunes 7.4 will brick phones if the user has 7.3.

Boy are there going to be a lot of newbie bricked phones soonNot if they use iNdependence. I just tested with iTunes 7.3.2 and it works perfectly.

olk
09-07-2007, 11:26 AM
Thanks to The Operator !
You are the man !

2 questions, can INdependence "de-brick" the phones and
can I do restore with 7.4 now, if I use 1.1.1 of INdependence?

amazemeid
09-07-2007, 11:46 AM
I have 7.4 and the latest Independence 1.1.1. On Activation:
- Put PEM File : OK
- Generate Activation: OK
- Activate Phone: Activation failed with code -402653165
Retried couple times, same problem.

What happened and what should I do?

Fryingdutchman
09-07-2007, 01:17 PM
Create a new activationfile with this one and then try again. The activationfile I created with iactivator didn't work with independence.

Does the iPhone work with independence 1.1.1 in combination with iTunes 7.4 when you jailbreaked your iPhone with old versions of both?

exNavy
09-07-2007, 05:41 PM
Operator outstanding job with this program! Just updated my unlocked T Mobile iPhone to 7.4 and reunlocked it again using your program. I'm writing some new guides now....

The Operator
09-07-2007, 06:03 PM
I have 7.4 and the latest Independence 1.1.1. On Activation:
- Put PEM File : OK
- Generate Activation: OK
- Activate Phone: Activation failed with code -402653165
Retried couple times, same problem.

What happened and what should I do?
Yeah, same old, same old with the flakey activation. :)

People have reported all sorts of ways around this:

- quit iNdependence, restart it, and try again
- return phone to jail before activation
- generate a new activation file ensuring that your IMEI and ICCID are correct

When I get a Windows version out (my next priority), I'll spend some time looking into this.

--0p

The Operator
09-07-2007, 06:07 PM
Does the iPhone work with independence 1.1.1 in combination with iTunes 7.4 when you jailbreaked your iPhone with old versions of both?Yes, it should in theory (untested though).

Basically, what jailbreak does in the end is the same for both old and new, just the process to get there is slightly different.

The Operator
09-07-2007, 06:34 PM
can INdependence "de-brick" the phones and
can I do restore with 7.4 now, if I use 1.1.1 of INdependence?
1) No. But there is a tool available on the nullriver website for this (check other threads for information about this).
2) Yes. If you use version 1.1.1 of iNdependence, then everything should be ok with iTunes.

Digital-Avatar
09-07-2007, 08:14 PM
Is there any issues with using iTunes 7.3.2 with the new build of iNdependence 1.1.1?

Is it just a better idea to upgrade to the new version of iTunes before jailbreaking the phone?

Thanks

-Digital-Avatar

The Operator
09-07-2007, 08:22 PM
Is there any issues with using iTunes 7.3.2 with the new build of iNdependence 1.1.1?Nope, none. I've tested it with both iTunes 7.4 and iTunes 7.3.2 and everything works fine.

charliec
09-07-2007, 10:22 PM
first off - thankyou Operator for you and all the other Devs amazing work. I seem, however, to be getting the same problem as amazemeid and others with the fail only coming at the activation stage - any other clues as to how to overcome this or is there a newer version than 1.1.1 out yet that addresses this issue?

thanks again

The Operator
09-07-2007, 10:44 PM
first off - thankyou Operator for you and all the other Devs amazing work. I seem, however, to be getting the same problem as amazemeid and others with the fail only coming at the activation stage - any other clues as to how to overcome this or is there a newer version than 1.1.1 out yet that addresses this issue?

thanks againYeah this has been an issue since day one with iActivator (see post #55 (http://hackint0sh.org/forum/showpost.php?p=36648&postcount=55)). I have no idea why it seems to fail so often for some people, yet work well for others. I personally usually have it fail once, then I'll quit, restart, and it will work the second time.

Like I said, when I get some time, I'm going to look into this. For now, just keep trying. :)

charliec
09-07-2007, 11:14 PM
Mac250 on another thread found a workaround ...

quit itunes & itunes helper (itunes helper is in the activity monitor)
start independence 1.1.1
jailbreak first
put pem file
generate activation
close independence
start independence
activate phone

works a treat!

The Operator
09-07-2007, 11:26 PM
Mac250 on another thread found a workaround ...

quit itunes & itunes helper (itunes helper is in the activity monitor)
start independence 1.1.1
jailbreak first
put pem file
generate activation
close independence
start independence
activate phone

works a treat!Yes, that's exactly how I usually do it (with a failed activation attempt just before the close independence step).

amazemeid
09-08-2007, 02:44 AM
IT WORKS!!! after 5th attempt of closing and restarting iNdependence, the activation is completed. Feels great. great job.

iMania
09-08-2007, 12:35 PM
I just downloaded iNdependence.
Does it work with iTunes 7.4.1?

The Operator
09-08-2007, 03:45 PM
I just downloaded iNdependence.
Does it work with iTunes 7.4.1?From my post in the other thread:

I took a look at iTunes 7.4.1 and there doesn't seem to be any changes in the MobileDevice library (on Mac anyways), so iNdependence 1.1.1 should work fine with it. I just tested a jailbreak and everything is ok.

--0p

The Operator
09-08-2007, 06:22 PM
iscanscan: Can you move your post to a new thread? It's useful information, but it doesn't really fit here because:

a) iNdependence only runs on Mac OS X, so most people here would need a Mac application to convert their video files.
b) iNdependence doesn't have any functionality related to video.
c) People looking for information about how to convert video for their iPhone on Windows wouldn't think to look here.

--0p

The Operator
09-12-2007, 06:40 AM
Just released version 1.2. Activation is _much_ easier in this version (thanks to iZsh). No more fiddling with PEM files, activation files, IMEI, and ICCID. Also, all of the activation failure issues should be fixed.

From the CHANGELOG:

v1.2 (Éphémère) - 09/11/07

- Added better iTunes version checking so that iNdependence will fail if an unsupported version of iTunes is installed (thus avoiding the nasty problems seen with the iTunes 7.4 update)
- Put in new fast jailbreak method (thanks to iZsh)
- Made Activation/Deactivation all-in-one steps (no more fiddling with activation files)
- Removed PEM and activation file related buttons/menus
- Created a Windows command-line version of iNdependence (has everything except SSH and Customization)
- Made it so that if iNdependence detects a phone in restore mode, it will attempt to unbrick it


Let me know how you make out with it.

--0p

Sim1
09-12-2007, 12:14 PM
Damn I am using iTunes 4.1 (2) and iNdependence tells me that it won't go... :(

The Operator
09-13-2007, 06:39 PM
Damn I am using iTunes 4.1 (2) and iNdependence tells me that it won't go... :(Try iNdependence version 1.2.1

iMania
09-19-2007, 02:34 PM
can any one post the link to the new version if independence...

does it work with the new itunes version.. 7.4.2??

Thanks