POV-Ray : Newsgroups : povray.off-topic : iPod touch Server Time
4 Nov 2024 13:13:38 EST (-0500)
  iPod touch (Message 1 to 10 of 35)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Nicolas Alvarez
Subject: iPod touch
Date: 28 Feb 2008 08:10:00
Message: <47c6b2a8$1@news.povray.org>
(I guess the subject of my previous thread wasn't exciting enough to get 
any interest)

I managed to cross-compile POV-Ray. Build system: i686-pc-cygwin. Host 
system: arm-apple-darwin. Took like all day arguing with libraries, 
compiler errors, and libtiff's broken build system. I'm now the proud 
owner of a 1.9MB file that supposedly will make my iPod touch capable of 
raytracing.

Now, only way to get it to work is jailbreaking the iPod. And running 
POV on a shell, since of course I didn't make a fancy GUI. And since I 
had firmware 1.1.3, looks like the jailbreak procedure (somewhat 
simplified) is:
- downgrade to 1.1.1
- open safari, go to jailbreakme.com, and let the TIFF exploit do 
everything for you
- run OKtoPrep (whatever that is)
- upgrade to 1.1.2
- jailbreak again
- upgrade to 1.1.3

Okay... Let's start. I download 1.1.1 firmware from the official apple 
website. Then hold shift while clicking Restore on iTunes. Shift makes 
it ask for a file instead of automatically downloading the latest 
firmware. I click on the 1.1.1 file. "Extracting firmware", "Preparing 
iPod for installing", "Unknown error". iPod shows apple logo. Minutes 
later, iPod still shows apple logo. I'm screwed?

I can't believe I got it bricked on the first step. And that was 
probably the safest step too. I didn't do any hacking yet, it was just 
downgrading to an official and unmodified firmware (1.1.1) using an 
official and unmodified program (iTunes).

I tried restoring multiple times, following instructions to hold home 
and sleep buttons to completely reset it, restoring to 1.1.3, nothing 
worked. "Unknown error (6)". That particular error number is listed on 
apple support website, but the instructions didn't help me either. I 
even tried letting iTunes restore it to the latest version (without 
pressing shift), which meant waiting for yet another 160MB download.

I finally managed to restore it (to 1.1.4, the latest) from my dad's 
Mac. Maybe my machine really did need a reboot; 7 days uptime, and I 
think I should have rebooted after installing iTunes. But now I lack 
half the applications on the iPod.

I had read before a blog post with instructions on how to copy Mail.app 
from an iPhone to an iPod touch, and I thought "wtf, doesn't that 
*already* come with the iTouch? Mine has it... Must be an older firmware 
version that doesn't have it, and it's an old blog post..." But nope. 
Turns out Mail, Weather, Stocks, Google Maps, Notes, and the ability to 
customize the home screen are all optional features on the iPod touch. 
"Available for only $19.99." Sheesh... I won't be paying 20 bucks to get 
apps I had working just fine yesterday.

Probably Sun did more than just preloading the iPod with course videos 
and laser-engraving "Sun Learning Services" on the back. They must have 
added that application pack as well. But along with the free iPod, they 
should have also given my dad some way to get those apps back in case 
the iPod had to be restored for any reason... Oh well. I guess I can't 
complain much given I got it for free?


Post a reply to this message

From: Warp
Subject: Re: iPod touch
Date: 28 Feb 2008 09:54:58
Message: <47c6cb41@news.povray.org>
Nicolas Alvarez <nic### [at] gmailisthebestcom> wrote:
> - open safari, go to jailbreakme.com, and let the TIFF exploit do 
> everything for you

  Whoa, TIFF decoding must be one of the most broken things in the world.

  One of the most popular exploits to run third-party applications in a
PSP is precisely a TIFF exploit.

-- 
                                                          - Warp


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: iPod touch
Date: 28 Feb 2008 10:12:04
Message: <47c6cf44$1@news.povray.org>
Warp escribió:
> Nicolas Alvarez <nic### [at] gmailisthebestcom> wrote:
>> - open safari, go to jailbreakme.com, and let the TIFF exploit do 
>> everything for you
> 
>   Whoa, TIFF decoding must be one of the most broken things in the world.

Blame libtiff :) Its build system seemed to be one of the most broken 
things in the world too, when I tried to x-compile POV-Ray.

http://dancameron.org/general/jailbreakmecom


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: iPod touch
Date: 28 Feb 2008 16:13:06
Message: <47c723e2@news.povray.org>

> - downgrade to 1.1.1
> - open safari, go to jailbreakme.com, and let the TIFF exploit do 
> everything for you
> - run OKtoPrep (whatever that is)
> - upgrade to 1.1.2
> - jailbreak again
> - upgrade to 1.1.3
> 
> Okay... Let's start. I download 1.1.1 firmware from the official apple 
> website. Then hold shift while clicking Restore on iTunes. Shift makes 
> it ask for a file instead of automatically downloading the latest 
> firmware. I click on the 1.1.1 file. "Extracting firmware", "Preparing 
> iPod for installing", "Unknown error". iPod shows apple logo. Minutes 
> later, iPod still shows apple logo. I'm screwed?

I'll attempt the downgrade again... Wish me luck.


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: iPod touch
Date: 28 Feb 2008 16:18:24
Message: <47c72520@news.povray.org>

> I'll attempt the downgrade again... Wish me luck.

Bricked *sigh*

Now I have to wait for my dad to come back to work so I can restore 
again with his Mac.


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: iPod touch
Date: 28 Feb 2008 16:23:13
Message: <47c72641@news.povray.org>


>> I'll attempt the downgrade again... Wish me luck.
> 
> Bricked *sigh*
> 
> Now I have to wait for my dad to come back to work so I can restore 
> again with his Mac.

Wow!

Plugged iPod to a different USB port, tried again (with latest 
firmware), and it actually restored this time; no more error!! Why did I 
not think of that before?

Time to actually try 1.1.1 now.


Post a reply to this message

From: Warp
Subject: Re: iPod touch
Date: 28 Feb 2008 17:04:38
Message: <47c72ff6@news.povray.org>
Nicolas Alvarez <nic### [at] gmailisthebestcom> wrote:
> >   Whoa, TIFF decoding must be one of the most broken things in the world.

> Blame libtiff :) Its build system seemed to be one of the most broken 
> things in the world too, when I tried to x-compile POV-Ray.

  TIFF, the most popular image format in the printing industry, and the
one with the most badly broken codec library in the world...

  One would think that vast popularity in such a widespread professional
field would be a good incentive to make a good library, but seemingly not.

-- 
                                                          - Warp


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: iPod touch
Date: 28 Feb 2008 17:55:10
Message: <47c73bce$1@news.povray.org>

> Time to actually try 1.1.1 now.

Didn't work, different error. Tried 1.1.3, yet another different error. 
Only .4 worked.

But the hacking community rocks. With help from #itouch on the 
hackintosh server, I got it downgraded.


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: iPod touch
Date: 29 Feb 2008 09:23:39
Message: <47c8156b$1@news.povray.org>
Well, it's jailbreaked, running firmware 1.1.2, and with OpenSSH 
installed. I tried running my POV-Ray binary, and got the big help 
explaining switches. Good start (valid binary, no missing libraries).

Copied scenes/camera/perspective.pov and its #included dependencies.

iPod:~ root# ./povray -Iperspective.pov -L. -w40 -h30 -fn
povray: cannot open the system configuration file 
/usr/local/etc/povray/3.6/povray.conf: No such file or directory
povray: cannot open the user configuration file 
/var/root/.povray/3.6/povray.conf: No such file or directory
povray: I/O restrictions are disabled.
povray: cannot open an INI file, creating a temporary file 
'/private/var/root/pov36.ini'.
povray: removing '/private/var/root/pov36.ini'.
Persistence of Vision(tm) Ray Tracer Version 3.6.1 (arm-apple-darwin-g++ 
4.0.1 @
  arm-apple-darwin)
This is an unofficial version compiled by:
  Nicolas Alvarez <nic### [at] gmailcom>
  The POV-Ray Team(tm) is not responsible for supporting this version.
POV-Ray is based on DKBTrace 2.12 by David K. Buck & Aaron A. Collins
Copyright 1991-2003 Persistence of Vision Team
Copyright 2003-2004 Persistence of Vision Raytracer Pty. Ltd.

Primary POV-Ray 3.5/3.6 Developers: (Alphabetically)
   Chris Cason         Thorsten Froehlich  Nathan Kopp         Ron Parker

Contributing Authors: (Alphabetically)
   Steve Anger         Eric Barish         Dieter Bayer        Steve A. 
Bennett
   David K. Buck       Nicolas Calimet     Aaron A. Collins    Chris Dailey
   Steve Demlow        Andreas Dilger      Alexander Enzmann   Dan Farmer
   Mark Gordon         Christoph Hormann   Mike Hough          Chris Huff
   Kari Kivisalo       Lutz Kretzschmar    Jochen Lippert      Pascal 
Massimino
   Jim McElhiney       Douglas Muir        Juha Nieminen       Bill Pulver
   Eduard Schwan       Wlodzimierz Skiba   Robert Skinner      Yvo 
Smellenbergh
   Zsolt Szalavari     Scott Taylor        Massimo Valentini   Timothy 
Wegner
   Drew Wells          Chris Young

Other contributors are listed in the documentation.

Support libraries used by POV-Ray:
   ZLib 1.2.1, Copyright 1995-1998 Jean-loup Gailly and Mark Adler
   LibPNG 1.2.5, Copyright 1998-2002 Glenn Randers-Pehrson
   LibJPEG 6b, Copyright 1998 Thomas G. Lane
   LibTIFF 3.8.2, Copyright 1988-1997 Sam Leffler, 1991-1997 SGI
terminate called after throwing an instance of 'int'
Abort trap
iPod:~ root#


Aww :(

I wonder if anyone has ported gdb yet.


Post a reply to this message

From: Invisible
Subject: Re: iPod touch
Date: 29 Feb 2008 09:40:49
Message: <47c81971@news.povray.org>
> Support libraries used by POV-Ray:
>   ZLib 1.2.1, Copyright 1995-1998 Jean-loup Gailly and Mark Adler
>   LibPNG 1.2.5, Copyright 1998-2002 Glenn Randers-Pehrson
>   LibJPEG 6b, Copyright 1998 Thomas G. Lane
>   LibTIFF 3.8.2, Copyright 1988-1997 Sam Leffler, 1991-1997 SGI
> terminate called after throwing an instance of 'int'
> Abort trap
> iPod:~ root#
> 
> 
> Aww :(
> 
> I wonder if anyone has ported gdb yet.

Um... OK, I'll bite. *Why* would you be attempting to run POV-Ray on a 
device that has a 3 MHz CPU and a monochrome display? This doesn't seem 
very sensible...

[FWIW, I recently discovered that my MP3 player now has an osciliscope, 
a 3D cube, and a Mandelbrot explorer. All very silly really...]

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.