Sponsored Links

PS4 News on Facebook! PS4 News on Twitter! PS4 News on YouTube! PS4 News RSS Feed!
Sponsored Links
Sponsored Links

Closed Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 12



  1. #1
    Jr. Member Ecniv's Avatar
    Join Date
    Sep 2010
    Posts
    58




    Sponsored Links!

    [Answered] creating .sh help?

    Sponsored Links
    Hey,

    first off all thx in advance for the help... I`m the proud owner of a Sony Ericson Experia X1 but every time I want to start my psfreedom hack I have to type more words than you can find than some novels so I`m trying to create a somewhat of a .bat file...

    In windows CMD I`m already a bit off a n00b but I can`t make shit out of Xandroid so I was hoping somebody here could help me create and run that file..

    Here is the info about the set up:

    I run haret out off the root of my sdcard and placed the psfreedom.ko file there as well

    I`ve placed the latest payload file (hermes4b renamed "payload.bin") in proc-->psfreedom-->payload; payload.bin

    I tried making the .sh myself formulated this myself as such:

    su
    insmod /sdcard/psfreedom.ko
    cat /sdcard/payload.bin > /proc/psfreedom/payload

    saved it as playstation.sh

    and put that in the root of my sdcard as well but when I thry to run it as ./playstation.sh I get this message:

    not found.sh
    no such file or directorypsfreedom.ko
    playstation.sh line3: can`t create /proc/psfreedom/payload: nonexistent directory

    Can somebody please help me fix this??
    Best Answer - Posted by Ecniv:

    Somebody at XDA found a solution and I`ve posted it in the xperia port thread hope it helps anybody else no more typing for me!!

  2. #2
    Jr. Member sykoNsc's Avatar
    Join Date
    Sep 2010
    Posts
    47




    think you can upload all the files you're running and a screenshot of your phone filedirectory? if you can do this, i may be able to see where your error is coming in from.. also is your phone rooted and such as you may have to have superuser permissions to run a custom .sh

  3. #3
    Moderator CJPC's Avatar
    Join Date
    Apr 2005
    Posts
    2,174




    Your problem is that, if you run a shell script - you do have a header correct, something along the lines of #!/bin/sh , then make sure to do a chmod +x on it - to make it executable!

  4. #4
    Jr. Member Ecniv's Avatar
    Join Date
    Sep 2010
    Posts
    58




    *Update* I found the first mistake myself I "misplaced" the payload.bin it should have been at the root of my sdcard...

    sykoNsc: I`m going to try and make a screenshot of the root and involved folders...

    CJPC: Thx for the tip but as I said I`m not worth much in scripting and english isn`t my primary language as well so I`m strugling quite a bit to understand what you wrote....

    both of you Thx so much 4 helping me...

  5. #5
    Moderator CJPC's Avatar
    Join Date
    Apr 2005
    Posts
    2,174




    If you can, attach your .sh file here, and I can take a look at it!

  6. #6
    Jr. Member Ecniv's Avatar
    Join Date
    Sep 2010
    Posts
    58




    Here it is, don`t get your hopes up though it quite "basic"
    Attached Files Attached Files
    Last edited by Ecniv; 11-04-2010 at 12:26 PM

  7. #7
    Moderator CJPC's Avatar
    Join Date
    Apr 2005
    Posts
    2,174




    Quote Originally Posted by Ecniv View Post
    Here it is, don`t get your hopes up though it quite "basic"
    Ok, try this instead (it shall run)

    #!/bin/sh
    su
    insmod /sdcard/psfreedom.ko
    cat /sdcard/payload.bin > /proc/psfreedom/payload
    Just copy and paste all of that, and give it a run then it should do what you need!

  8. #8
    Jr. Member Ecniv's Avatar
    Join Date
    Sep 2010
    Posts
    58




    not found.sh: line 2 su
    no such file or directorypsfreedom.ko
    nonexistent directory playstation.sh line3: can`t create /proc/psfreedom/payload

    Small changes but no luck yet...

  9. #9
    Moderator CJPC's Avatar
    Join Date
    Apr 2005
    Posts
    2,174




    Quote Originally Posted by Ecniv View Post
    not found.sh: line 2 su
    no such file or directorypsfreedom.ko
    nonexistent directory playstation.sh line3: can`t create /proc/psfreedom/payload

    Small changes but no luck yet...
    I just re-read your original post, are you using windows? If so - that's why it won't work, try linux!

  10. #10
    Jr. Member Ecniv's Avatar
    Join Date
    Sep 2010
    Posts
    58




    Do you mean I have to write it in linux??

    If so it`s all over for me unless xandroid has a scriptprogram as well??

 

Closed Thread

Sponsored Links
Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
  • Register, Login or Activate Your Account to post on the forums.

Advertising - Affiliates - Contact Us - PS4 Downloads - PS4 Forums - Privacy Statement - Site Rules - Top - © 2015 PlayStation 4 News