How to: Root the PRE

Discussion in 'Homebrew Apps' started by atlanta, Jun 10, 2009.

  1. atlanta New Member

    Message Count:
    311
    Likes Received:
    0
    How to: Root the PRE

    Hey all heres instructions on how to root the pre..


    1. Download the WebOS image
    2. Rename this file to .zip, and extract it
    3. set the Konami code on your pre (upupdowndownleftrightleftrightbastart), and put it into dev mode. Plug it into your windows laptop after it's booted
    4. Run the driver installer from the extracted file, it is: webosdoctorp100ewwsprint/resources/NovacomInstaller_x86.msi
    5. Install Python 2.6
    6. Get the rooter from subversion: http://svn.saurik.com/repos/webos-dev/trunk/rooter/
    7. Run talk.py inside of the rooter in subversion, it'll output a bunch of lines. If you see an error, join the irc (irc.freenode.net #webos-internals)
    8. Turn on the wifi on your pre. Get your pre's IP address, and you can telnet into it (username: root)
    Run these commands in the shell

    Makes phone writeable.
    Creates file to run the backdoor to open telnet on boot.
    //irix edited the iptables to only allow on eth0 thanks irix.
    //eth0 is the WIFI link
    Bash file to open up the iptables firewall to telnet and start telnet
    Set permissions on the bash file
    Make the file system read only again.
    Source:http://predev.wikidot.com/rooting via precentral.

    Thanks to irix also..
  2. atlanta New Member

    Message Count:
    311
    Likes Received:
    0
    P.S. Everything Pre is not responsible for you bricking your phone so try at your own risk

    AND I REPEAT I DO NOT RECOMMEND THE AVERAGE END USER TO TRY THIS IN ANY WAY... !!!!!!!!
  3. atlanta New Member

    Message Count:
    311
    Likes Received:
    0
  4. leez New Member

    Message Count:
    30
    Likes Received:
    0
    I think this is amazing! Hopefully a "cleaner" solution will come along for rookies later :) particularly one that uses USB.

    Currently how badly is WiFi + connection draining the battery?

    Best,
  5. firefly4423 New Member

    Message Count:
    15
    Likes Received:
    0
    good thanks. Thanks for that![IMG]
  6. atlanta New Member

    Message Count:
    311
    Likes Received:
    0
    Code:
     TESTING
    You can do it over your phone EVDO/1x connection also no need for wifi just have to use the browser and go to like cmyip.com and get your external IP

    But to make it work like that you have to use
    Code:
    [FONT=monospace]
    [/FONT]iptables -D INPUT -p tcp --dport 23 -j ACCEPT
    iptables -I INPUT -p tcp --dport 23 -j ACCEPT
    
    Which is somewhat of a big security concern because if i get ahold on your
    external ip i can wipe your device
  7. stronglikedan New Member

    Message Count:
    70
    Likes Received:
    0
    According to this, enabling wifi may help the battery.
  8. 007onion New Member

    Message Count:
    24
    Likes Received:
    0
    Zealot, why don't you just make this into an app and make yourself some bank$$ I payed for the app on the treo to do this and you could come out nice. (By the way please send my 1% of all sales for giving you the inspiration) :)
  9. atlanta New Member

    Message Count:
    311
    Likes Received:
    0
    who is zealot?? lol

    oh the ranking thing ....

    No im a person of free knowledge. i believe in helping others and always think that it comes back 150 folds stronger
  10. softspirits New Member

    Message Count:
    597
    Likes Received:
    0
    Ok, I am definately an END USER but this gives me amazing hope that an application will be written that will enable the Pre to teather. This is something my husband will pay for, because it is cruicial to him actually aquiring a Pre. Please guys, get this done because I am so tired of him being jealous of mine :) .
  11. SirWill New Member

    Message Count:
    110
    Likes Received:
    0

    I think a reason for NOT doing this would be....

  12. trooper54 New Member

    Message Count:
    197
    Likes Received:
    0
    This would be the reason for making the app, so that people don't mess it up, rather the app does it for you...
  13. 007onion New Member

    Message Count:
    24
    Likes Received:
    0
    ha, I read the wrong thing, Just too much tech for me to get online and not pay Hotel fee to use their wifi. Maybe you can use your skills to hack the sounds so I can change my text message sound back to R2D2 like I had on my treo 755 or just the calendar alarm. Keep hackin
  14. SirWill New Member

    Message Count:
    110
    Likes Received:
    0
    I watched the video's on YouTube and it looks cool. But to me it also looks like it's something that Palm could fix/block via an OTA update.

    I think this signifies the chances of 3rd party apps that go beyond the html/javascript/css approach. If we can actually load software on to the device and execute it through the gui, that would be major.
  15. trooper54 New Member

    Message Count:
    197
    Likes Received:
    0

    Thats why we love you!
  16. atlanta New Member

    Message Count:
    311
    Likes Received:
    0
    Thats what we are trying to accomplish right now ... dunno if palm added any way to call shell from the apps. so we are surfing
  17. softspirits New Member

    Message Count:
    597
    Likes Received:
    0
    Palm isn't the one with the problem with teathering... its Sprint.
  18. atlanta New Member

    Message Count:
    311
    Likes Received:
    0
    Yea they are trying to push the mobile card thingys.
  19. leez New Member

    Message Count:
    30
    Likes Received:
    0

    That's a different context really. That'd be for general every day use, where wifi supplements/replaces your EVDO connection to pull up pages, etc. In this tethered configuration you'd be using BOTH at the same time.
  20. amseidler New Member

    Message Count:
    53
    Likes Received:
    0
    Is this possible to do on Ubuntu? I am not running Windows.

Share This Page