| | | Notices | To access MotorolaFans with a lighter theme and feature for you mobile phone, you may use the following URL:
wap.motorolafans.com
which brings you directly to the mobile version of the forums with no graphics to load, therefore increasing page loading speed, reducing your data costs and giving you the Best of both worlds!
Thank you for your continued support and ENJOY!! | | A1200 Applications A1200 complied application |  | | MotoFans MODR
Join Date: Jul 2008 Posts: 200
Thanks: 20
Thanked 31 Times in 23 Posts
Location: Greece | |
09-26-2008
| [APP] RunScript - PKG app that execute script code at boot-time RunScript v1.0 - by intermario_gr --- For those of you who don't have an autorun-capable firmware installed on their phone ---
Here is my solution...
This is a PKG application of mine that's meant to execute a specific script when your phone starts up. It is supposed to be used in conjunction with yan0's startup manager (thread link below). Yan0's app only makes PKG applications run at boot-time. If you use it with my app, you're able to execute script code as well (just as you would from the console). [APP]yan0_start_V0.3.mpkg
On with the instructions... - Install on your phone, preferably on your MMC
- Install yan0's startup manager
- Locate the autorun script (autorun.lin) in the folder where RunScript was deployed
- Add script code to this file using a text editor that DOESN'T insert its own special characters (definitely not Notepad!)
- Run yan0's startup manager and check RunScript along with any other PKG applications that you might want to get started when your phone boots.
You're ready! Now each time your phone boots, both selected apps and script code will be executed. No need to reflash your phone to a special autorun-enabled firmware!
NOTES: - You can edit the script file whenever you wish.
- Try PSPad editor or Crimson Editor to edit the script. If you want to edit it straight from the phone, try this one --> Editor, notepad replacement.
- Each time RunScript is executed, it creates a debug log file in your phone's memory (/tmp/runscr.log). If you're unsure if it actually RUNS the autorun script, first delete the file mentioned above, run RunScript and check again if the file is present.
This is my very first attempt to make an application.
It is unbelievably simple but - to me - unbelievably useful.
Please hit the "Thank you!" button if you feel the same way
Many thanks to yan0 for the startup manager he's created.. Without him, I would've never created this!
Last edited by intermario_gr; 09-30-2008 at 03:22 PM.
Reason: Uploaded an updated version that fixes an issue
User Information Current Phone: Motorola A1200e Firmware: R541_G_11.52.12R_F4 Location: Greece | | | | | The Following 5 Users Say Thank You to intermario_gr For This Useful Post: | | MotoFans XPRT
Join Date: Mar 2008 Posts: 344
Thanks: 110
Thanked 46 Times in 36 Posts
Location: God's own Country, INDIA. | |
09-26-2008
| That's great.
Thanks man. I was searching something like this only.
Won't it be more helpful if the debug log could be in the card (or in the runsrc folder itself). User Information Current Phone: ROKR E6, Snoopy S9 Location: God's own Country, INDIA. | | | | MotoFans MODR
Join Date: Jul 2008 Posts: 200
Thanks: 20
Thanked 31 Times in 23 Posts
Location: Greece | |
09-26-2008
| Quote:
Originally Posted by thakkarnimesh Won't it be more helpful if the debug log could be in the card (or in the runsrc folder itself). | No problem, mate, no trouble at all. Here's a slightly modified version that creates the logfile in the memory card, in the folder where RunScript was installed (/mmc/mmca1/.system/QTDownLoad/RunScript). Uninstall previous version and try this one. Let me know should you have any trouble!
Last edited by intermario_gr; 09-26-2008 at 09:08 PM.
User Information Current Phone: Motorola A1200e Firmware: R541_G_11.52.12R_F4 Location: Greece | | | | | The Following 2 Users Say Thank You to intermario_gr For This Useful Post: | | MotoFans XPRT
Join Date: Sep 2007 Posts: 356
Thanks: 1
Thanked 17 Times in 17 Posts
Location: Cape Town, South Africa | |
09-27-2008
| Wow, this is super! gna test it out, some hints on scripts i could run to maybe give me a refreshed idea? thanks man! User Information Current Phone: Motorola E398,
Motorola A1200(r),
HTC (P3700) Touch Diamond Firmware: Generic 25P Location: Cape Town, South Africa | | | | MotoFans XPRT
Join Date: Mar 2008 Posts: 344
Thanks: 110
Thanked 46 Times in 36 Posts
Location: God's own Country, INDIA. | |
09-27-2008
| I wish I could use it but currently I'm unable to start Yan0's start program. I don't know what's the problem. User Information Current Phone: ROKR E6, Snoopy S9 Location: God's own Country, INDIA. | | | | MotoFans MODR
Join Date: Jul 2008 Posts: 200
Thanks: 20
Thanked 31 Times in 23 Posts
Location: Greece | |
09-27-2008
| Quote:
Originally Posted by danielbrits Wow, this is super! gna test it out, some hints on scripts i could run to maybe give me a refreshed idea? thanks man! | Personally, I use it in order to make FoxAlarm (this alarm rocks!) function correctly. You have to execute a mount command every time you power on your phone so that FoxAlarm integrates properly with the phone's default alarm function. That's only just for now, I'm sure it will come in handy later on. If not required by other applications, some file works (copying, uncompressing etc) can be done easily this way without needing a special PKG app to do the job. PS. I'd appreciate it if you thanked me by pressing the "Thank you!" button too! Quote:
Originally Posted by thakkarnimesh I wish I could use it but currently I'm unable to start Yan0's start program. I don't know what's the problem. | Make sure you don't change a thing once you install it (including the app's name)! That's right, I'm only mentioning it because for some strange reason, if I change its original name (which strangely appears as 4 squares on my phone) to anything else, it won't work! Other than that, I can only imagine it's your firmware's fault or it's the super utility you're using (I use SmartAsst).
Last edited by intermario_gr; 09-27-2008 at 06:46 PM.
User Information Current Phone: Motorola A1200e Firmware: R541_G_11.52.12R_F4 Location: Greece | | | | MotoFans NWBE Join Date: Aug 2008 Posts: 13
Thanks: 2
Thanked 0 Times in 0 Posts
Location: Colombia | |
09-27-2008
| I do not worked User Information Current Phone: a1200
e6
a1600 Location: Colombia | | | | MotoFans MODR
Join Date: Jul 2008 Posts: 200
Thanks: 20
Thanked 31 Times in 23 Posts
Location: Greece | |
09-28-2008
| Quote:
Originally Posted by latino18hvm I do not worked | Most probably, your phone can't run *.lin scripts. If you use SmartAssistant though, it can. User Information Current Phone: Motorola A1200e Firmware: R541_G_11.52.12R_F4 Location: Greece | | | | MotoFans XPRT
Join Date: Sep 2007 Posts: 356
Thanks: 1
Thanked 17 Times in 17 Posts
Location: Cape Town, South Africa | |
09-28-2008
| I would click the "thank you" button, but I can't find it - I'm using my cell's browser. Oh yes, that yanO's startup is strange - I also tried changing the name a few times and it then refuses to run. User Information Current Phone: Motorola E398,
Motorola A1200(r),
HTC (P3700) Touch Diamond Firmware: Generic 25P Location: Cape Town, South Africa | | | | MotoFans XPRT
Join Date: Mar 2008 Posts: 344
Thanks: 110
Thanked 46 Times in 36 Posts
Location: God's own Country, INDIA. | |
09-28-2008
| @intermario: Yes. It worked after installing it thru SmartAsst.
And your script also ran.
Thanks buddy. User Information Current Phone: ROKR E6, Snoopy S9 Location: God's own Country, INDIA. | | | |  | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT. The time now is 02:14 AM.
Search Engine Friendly URLs by vBSEO 3.2.0
Powered by vBulletin® Version 3.7.2 Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
VBulletin Skin by ForumMonkeys.
| |