Join Today
+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 16
Like Tree3Likes

Thread: Q: Howto get the phone to run scripts at startup

  1. #1
    Join Date
    Sep 2006
    Location
    UK
    Posts
    1,145

    Default Q: Howto get the phone to run scripts at startup

    I know that modded firmare have included an ezx_boot.cfg file to run the startup.txt file at start up. But how do I get the phone to recognise the ezx_boot.cfg file. Is there any modification to be conducted on the filesystem of the monsterpack?

    Thanks,
    Akshay

  2. #2
    Join Date
    Oct 2006
    Location
    Lansing, MI, USA
    Posts
    612

    Default

    create the script like this: File name: startup1.txt (unix format) in the MMC root. (/mmc/mmca1/)
    I'm so cool, I had the E6 before the E2 launched! Wait. Never mind...

  3. #3
    Join Date
    Sep 2006
    Location
    UK
    Posts
    1,145

    Default

    Thats not what I meant mate, for startup.txt to work you need to have ezx_boot.cfg in /ezx_user/download/setup/appwrite/ For the OS to detect the new cfg file dont you have to edit the init.d file in the etc folder?

  4. #4
    Join Date
    Oct 2006
    Location
    Lansing, MI, USA
    Posts
    612

    Default

    not true, it's actually in /etc/rc.d/rc2.d/ a file called S80autoon. (of course it could be in rc1.d rc2.d rc3.d ...) Anyhow, do a 'cat' on the file (in bash) to see if you have startup scripts enabled. If so, then all you have to do is place the script 'startup.txt' or 'startup1.txt' in the directory that is indicated by the S80autoon.
    I'm so cool, I had the E6 before the E2 launched! Wait. Never mind...

  5. #5

    Question

    Quote Originally Posted by imahottguy View Post
    not true, it's actually in /etc/rc.d/rc2.d/ a file called S80autoon. (of course it could be in rc1.d rc2.d rc3.d ...) Anyhow, do a 'cat' on the file (in bash) to see if you have startup scripts enabled. If so, then all you have to do is place the script 'startup.txt' or 'startup1.txt' in the directory that is indicated by the S80autoon.
    I am also having problems running startup1.txt. When I ldo a cat on S80autoon, this is what I get:

    Code:
    #!/bin/bash
    /bin/ezx_boot

    Does this mean that I would have to place startup1.txt into the /bin directory? Not sure where to go from here...

  6. #6
    Join Date
    Sep 2006
    Location
    UK
    Posts
    1,145

    Default

    What firmware are you running?
    Regards,
    Akshay

  7. #7

    Angry

    Quote Originally Posted by aksd View Post
    What firmware are you running?
    I am running R532_G_11.00.59P_11.30.24P, (mischka's MP) on an A1200i; the interesting thing though is that, when I first flashed this phone with the the above firmware, the startup1.txt file ran fine. Thus I am assuming that it is not a FW issue but rather a some corruption in the execution path.

  8. #8
    Join Date
    Sep 2006
    Location
    UK
    Posts
    1,145

    Default

    Its corruption in your startup.txt because you edited it with notepad. use Notepad++ and in settings save its UNIX format
    planetam likes this.
    Regards,
    Akshay

  9. #9

    Default

    Thanks for your reply. I did exactly as you suggested to no avail. I am getting the impression that ezx_boot.cfg is not running at boot time and thus startup1.txt can't run either. Is there a way to check weather ezx_boot.cfg runs or not?

  10. #10
    Join Date
    Sep 2006
    Location
    UK
    Posts
    1,145

    Default

    Not that I know of.
    Regards,
    Akshay


 
+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 38
    Last Post: 09-12-2010, 12:49 PM
  2. can't run scripts by linloader
    By Amir_6723 in forum Scripting
    Replies: 9
    Last Post: 12-03-2009, 05:09 PM
  3. Q: How do I create Startup.txt to run Apps at Startup?
    By rn5a in forum A1200 General Chat
    Replies: 2
    Last Post: 12-09-2007, 01:52 PM
  4. Under which user permission does Linloader run scripts?
    By CLOVIS KKK in forum A1200 General Chat
    Replies: 5
    Last Post: 01-26-2007, 11:02 AM
  5. How to run any Aps at startup?
    By alexderb in forum A780 General Chat
    Replies: 4
    Last Post: 01-03-2007, 06:10 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Optimization by vBSEO 3.6.0 RC 1