Results 1 to 12 of 12
  1. #1
    radnomguywfq3's Avatar
    Join Date
    Jan 2007
    Gender
    male
    Location
    J:\E\T\A\M\A\Y.exe
    Posts
    8,858
    Reputation
    381
    Thanks
    1,823
    My Mood
    Sad

    Programming An Ipod Touch Using The Windows Platform

    Test Source Code 'name.c':
    [php]#include <stdio.h>
    #include <stdlib.h>

    int main(int argc, char* argv[])
    {
    if(argc <= 1) {
    printf("[!ERROR!] %s", "Not Enough Paramsn");
    return 0;
    }

    char* name = argv[1];
    unsigned int i;
    for(i = 0; i < 10; i++)
    printf("Message: %s n", name);

    return 0;
    }[/php]Prerequisites :
    - Basic C programming knowledge.
    - Slightly familiar with the unix command line
    - Basic networking knowledge
    - LAN\WIFI connection to PC's SSH client.

    I'll explain everything but jailbreaking in this tutorial.
    If it's your first time opening cydia, it will ask you which kind of user you are, select Developer. This will remove all the filters and allow you to access ToolChain(which contains GCC, the unix C++ compiler you'll be using)

    Step 1 : Jailbreak your Ipod\Iphone
    Step 2 : Open Cydia and download MobileTerminal
    Step 3 : Open Cydia and download Automatic SSH
    Step 4 : Open Cydia and download Toolchain
    Step 5 : Open up windows, download and install WinSCP


    • After all these have been installed, reboot your Iphone\Ipod.


    • Go to setting from the SpringBoard(desktop of the Ipod)
    • From setting go to Generel > Network > Wi-Fi, select the blue arrow next to your connection(it must be locally connected to the PC)
    • Write down the Ip Address.
    • Open WinSCP, under host name put the IP Address you just wrote down, User : root, password : alpine(default).
    • Leave all the rest as they are. Now, connected to your Ipod touch by selecting "Login", if it fails, try again 3 times.
    • Once you login you should see all files and directorys(even system-level files) in your Ipod Touch. All these can be modified, deleted and created.
    • Open up the terminal, which can be accessed on the Ipods 'Desktop'.
    • Reconnect WinSCP
    • Create a fold you will place all your C and object files. I suggest (root\private\var\ccode) Remember the console is CASE-SENSITIVE, so try to keep all your file names and dirs lower-case.
    • In the console type cd /var/ccode/ This will select the ccode directory you just created, set it's permissions to 0777 via MobileCommandline or WinSCP.
    • Upload a source file to /var/ccode/, name it source.c. When programming this, be careful with memory\CPU usage. You can see my example of C code that I wrote to test on my compiler above.


    Compiling name.c

    • In MobileCommandline, navigate to your ccode directory using the cd command
    • Type the following commands
    • gcc name.c
    • chmod 0777 a.out
    • ldid -S a.out

    Now the file is compiled, to run it, type ./a.out
    More information :
    The gcc command can be given parameters such as -o to specify the output file instead of the default a.out. Note, if you really wanted to(i have for when I'm at school) you can download a text editor and program\compile with just the Ipod touch, even though this is a bit of hassle with the onscreen keyboard.
    Last edited by radnomguywfq3; 03-20-2009 at 03:15 PM.



    There are two types of tragedies in life. One is not getting what you want, the other is getting it.

    If you wake up at a different time in a different place, could you wake up as a different person?


  2. The Following 5 Users Say Thank You to radnomguywfq3 For This Useful Post:

    Dorado (04-17-2009),LegendaryAbbo (03-25-2009),Midrash (04-11-2009),Obama (03-20-2009),[D]evliin (03-24-2009)

  3. #2
    Obama's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    The Black house
    Posts
    22,195
    Reputation
    870
    Thanks
    6,076
    My Mood
    Cool
    Wow to bad I dont have a fucking itouch. This is genius great job as usual. Hopefully more people will read this.
    Last edited by Obama; 03-20-2009 at 03:18 PM.

  4. #3
    GG2GG's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    United Kingdom
    Posts
    3,382
    Reputation
    21
    Thanks
    4,294,967,295
    My Mood
    Blah
    if you do ever find how to do this on a blackberry storm let me know

  5. #4
    Corey Taylor's Avatar
    Join Date
    Mar 2009
    Gender
    female
    Posts
    37
    Reputation
    10
    Thanks
    0
    Meh, an entire documentation of the iphone chipset along with any special processor facilities would be nice. Of course I don't have an iphone so what's there to even ague about

  6. #5
    pokiworms's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    here
    Posts
    62
    Reputation
    10
    Thanks
    14
    My Mood
    Angry
    Quote Originally Posted by GG2GG View Post
    if you do ever find how to do this on a blackberry storm let me know
    i dont think u can

    FUCKING VERIZON USE QUALCOMM BREW AND SHIT

    i can hack for unlimited games during subscription though xD

  7. #6
    radnomguywfq3's Avatar
    Join Date
    Jan 2007
    Gender
    male
    Location
    J:\E\T\A\M\A\Y.exe
    Posts
    8,858
    Reputation
    381
    Thanks
    1,823
    My Mood
    Sad
    Quote Originally Posted by Corey Taylor View Post
    Meh, an entire documentation of the iphone chipset along with any special processor facilities would be nice. Of course I don't have an iphone so what's there to even ague about
    Why the hell would you need a doc on that? This is c programming, not hardware hacking. The compiler or the APIs within the Iphone are supposed to be used to communicate with hardware, and compile readable object code for obvious reasons.



    There are two types of tragedies in life. One is not getting what you want, the other is getting it.

    If you wake up at a different time in a different place, could you wake up as a different person?


  8. #7
    Corey Taylor's Avatar
    Join Date
    Mar 2009
    Gender
    female
    Posts
    37
    Reputation
    10
    Thanks
    0
    Even though you can use the given libraries, but I'm a guy that wants to learn everything about the hardware I'm working with. And plus, I'm working on a multi-platform OS, so it helps that I get this info. Also what's there to hack? Unless I'm doing some freaky software restricted hardware facilities I don't see why it's called hardware hacking unless you don't get full manipulation of hardware. I've always imagined a program that somewhere along the lines does neat GPS stuff. :O
    Last edited by Corey Taylor; 03-24-2009 at 12:31 PM.

  9. #8
    dk173's Avatar
    Join Date
    Jul 2008
    Gender
    male
    Location
    In your dreams
    Posts
    4,767
    Reputation
    19
    Thanks
    461
    My Mood
    Mellow
    well my iphone is all ready jailbroken so dont really need this

  10. #9
    Corey Taylor's Avatar
    Join Date
    Mar 2009
    Gender
    female
    Posts
    37
    Reputation
    10
    Thanks
    0
    What's the bail?

  11. #10
    Aoe3_CA's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    everywhere but nowhere
    Posts
    705
    Reputation
    12
    Thanks
    49
    Aight this looks sweet nice jeta one question what does it do lol seriously

  12. #11
    ClapBangKiss's Avatar
    Join Date
    Feb 2006
    Gender
    male
    Posts
    2,119
    Reputation
    3
    Thanks
    722
    My Mood
    Asleep
    Quote Originally Posted by Aoe3_CA View Post
    Aight this looks sweet nice jeta one question what does it do lol seriously
    it sucks your cock and makes you look like a pansy

  13. #12
    Corey Taylor's Avatar
    Join Date
    Mar 2009
    Gender
    female
    Posts
    37
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by ClapBangKiss View Post
    it sucks your cock and makes you look like a pansy
    I will kindly bagin balls to Kissinger reeling upfourth wind bind in incredible accuracy in a minor. Much applauded. Please do.

Similar Threads

  1. Emo people use the net! (Spiderman 3)
    By arunforce in forum General
    Replies: 4
    Last Post: 05-09-2007, 02:36 PM
  2. [Pls dave, Fix it!!] U can't use the trainers made in CE? read this!!
    By juanitobalde in forum WarRock - International Hacks
    Replies: 4
    Last Post: 04-24-2007, 02:27 PM
  3. You thought the windows performace was bad!?
    By SATANICAT in forum General
    Replies: 6
    Last Post: 09-21-2006, 08:41 AM
  4. Just in case you use the Console Administrator Hack...
    By Rocker1989 in forum Gunz General
    Replies: 9
    Last Post: 05-26-2006, 09:05 AM
  5. Can u use the gain experience hack with 1 player
    By mjt20mik in forum WarRock - International Hacks
    Replies: 7
    Last Post: 02-05-2006, 02:20 AM

Tags for this Thread