zjole
Guest
|
|
« Reply #150 on: February 07, 2008, 12:59:39 am » |
|
I think the current kernel is all right. I suggest restore the default(stock) apmd and let the user to decide whether to enable the not so perfect OC or not later on.
|
|
|
Logged
|
|
|
|
keaglez
Indonesian Motolover
PHD modder
Karma: 61
Offline
Posts: 2562
http://jeffri.net
|
|
« Reply #151 on: February 07, 2008, 02:44:29 am » |
|
Ah... My internet connection was down yesterday, encountered some life problem, taking a time for autorun.lin but an error reported there (i havent found the error), argg... Because my mood wasnt good, I delayed checking the script... Btw during the making of autorun.lin yesterday, I thinking of a better autorun script, more efficient I think, should be faster even for a second only... I will need to update them all, including the Autorun Manager and all the autorun scripts... Oh, that looks cool arctu...especially the font changer... Hehe... There is "loading" everywhere... For the apmd, it will be wonderful if it can be fixed... Take a look for sensor, while it runs, the apmd drop to 312mhz... (i use 208/416/624) I wonder why...
|
|
|
Logged
|
Best regards, Jeffri H.
|
|
|
arctu
Guest
|
|
« Reply #152 on: February 07, 2008, 02:59:26 am » |
|
@keaglez Hello! Haha.. you're not chinese eh? I thought you are celebrating CNY... hehs.. Hmm, what you mean by "better"? Care to share? (:
Oh, well, "loading" is everywhere... I kinda like it that way as the phone seems more "responsive".. You know, when I clicked email last time... I thought.. "wtf happened?".. it was a few seconds later that I know the thing is actually "loading"...
Btw.. actually.. the command line "autorun" is very simple... What I want you to is just that..
When I run in terminal/console/telnet: autorun activate "Swap_File"
the autorun script above will check for "Swap_File.lin" in the corresponding folder and if available, add the autorun to autorun.txt. "deactivate" will just do the opposite. (: I wonder if you are doing different thing instead... haha..
@zjole I agree totally. (:
Do you know which files kaleidoscope replaces? Or maybe.. you want to create the "KaleiDEactivate" script yourself? (It's somewhat just a mount --bind and refresh script..)
|
|
|
Logged
|
|
|
|
keaglez
Indonesian Motolover
PHD modder
Karma: 61
Offline
Posts: 2562
http://jeffri.net
|
|
« Reply #153 on: February 07, 2008, 03:30:28 am » |
|
Im working like that for sure... Here is what it will do: autorun.lin -a "Swap File" >>> It will search for every autorun script and match with the title and add it in autorun.txt autorun.lin -a swapfile.lin >>> It will search for the autorun script with that file name and add it in autorun.txt also: autorun.lin --add "Swap File" (-a and --add are same) autorun.lin -r "Swap File" >>> to remove from autorun.txt autorun.lin --remove swapfile.lin >> same but match with file name (-r and --remove are same) autorun.lin -l autorun.lin --list >>> list the available autorun script The new autorun.txt is simplier, maybe like this (i havent tested yet): #!/bin/bash exec_list="swapfile.lin apmd.lin" for exec in $exec_list do /ezxlocal/.system/autorun/${exec} & done
Maybe faster...
|
|
|
Logged
|
Best regards, Jeffri H.
|
|
|
arctu
Guest
|
|
« Reply #154 on: February 07, 2008, 04:33:09 am » |
|
Wow.. Cool.. I'm waiting for it... (:
Oh yeah, btw.. your device manager script have a bug. When I run in and then click cancel, it still ask me if I want to unmount. :S
Oh, I think you can name it "autorun" without the .lin. (;
|
|
|
Logged
|
|
|
|
keaglez
Indonesian Motolover
PHD modder
Karma: 61
Offline
Posts: 2562
http://jeffri.net
|
|
« Reply #155 on: February 07, 2008, 04:43:52 am » |
|
Well, its from showMultiSelect... It return the same result for "cancel" and choose none...they both return nothing... or i miss something?
|
|
|
Logged
|
Best regards, Jeffri H.
|
|
|
arctu
Guest
|
|
« Reply #156 on: February 07, 2008, 05:25:46 am » |
|
Ah.. that make sense.. but.. asking for umount when user click cancel is nonsense.. =p well, theres no other way is there? hehe..
Anyway, I've created the SDEject myself. (; That should lessen the burden on you. Ah, while making that, I also realise something.. for your device manager, you should add a "careful" feature.. that is.. to disable swap file before unmounting... you can check for swap file with "cat /proc/swaps | grep /mmc/mmca | awk '{print $1}'". If we don't do this, I think unmounting while swap file is still active will freeze the phone.
|
|
|
Logged
|
|
|
|
Taurnil
Guest
|
|
« Reply #157 on: February 07, 2008, 08:14:13 am » |
|
OK I'm working on the apmd switcher.... it's pretty simple, as arctu said... if you select an .apmd file on your file browser, it asks you if you wanna set it temporally or "permanently"... if you open the application directly, it checks if there's a custom apmd mounted, so you can disable it or keep using the custom apmd you have... would be interesting to read inside the apmd binary to know wich frequencies it uses... ADDED: I finished a preliminar version. Working on my good ol' apmd switcher spent like 5 minutes don't have my USB cable right now, so couldn't test it I'm sure it's buggy.... may someone help me testing it through msn?
|
|
« Last Edit: February 07, 2008, 08:34:57 am by Taurnil »
|
Logged
|
|
|
|
arctu
Guest
|
|
« Reply #158 on: February 07, 2008, 08:46:06 am » |
|
@Taurnil Wow.. good job. (: I really wish I could test it now.. But I've just finished with PhoneGuard Manager script and I'm now awfully tired.. (spent about 3hrs+ working on it)...
Hope somebody can help test it out.. Oh, Taurnil, if your APMD changer is used, I'll be sure to include your name in rokrCP about screen. hehe..
|
|
|
Logged
|
|
|
|
keaglez
Indonesian Motolover
PHD modder
Karma: 61
Offline
Posts: 2562
http://jeffri.net
|
|
« Reply #159 on: February 07, 2008, 08:56:39 am » |
|
I see... Thats why the mmc/mmca1 cant be umounted in my past script... ADDED: Btw the autorun almost finished... The "add" and "list" are worked now... The rest only to add "remove", then add more error checking, and done... Once autorun finished, the Autorun Manager will be updated asap... Today...should be ready... Btw i spend about 2 hours...well...not a full working... I make it during watching TV and browsing... LOL
|
|
« Last Edit: February 07, 2008, 12:41:20 pm by keaglez »
|
Logged
|
Best regards, Jeffri H.
|
|
|
Taurnil
Guest
|
|
« Reply #160 on: February 07, 2008, 06:36:00 pm » |
|
OK, big fat thanks to fedegil69 for helping me testing the switch script. Looks like I'm damn lucky today, the script worked smoothly... I'll attach it here... it's not useful if you don't know how to use it, and is only useable through telnet... so it's ok I would like to hear more opinions or testing results... Added: If you want, I can move on to "setTimeouts" script since it's available I made an improved version of this script wich shows the actual setting in showRadio menu. It's already done . Sadly I don't have it right now, but I can find it! I wish I could help ya with bigger scripts or even apps, but as u know, I do this stuff @ office... It's late here, see ya tomorrow.
|
|
« Last Edit: February 07, 2008, 06:54:43 pm by Taurnil »
|
Logged
|
|
|
|
arctu
Guest
|
|
« Reply #161 on: February 07, 2008, 09:10:47 pm » |
|
@Taurnil Cool, I haven't tested it out with APMD yet. But I know how it works by looking at the script... You read my mind.. Hehe.. (:
Hmm.. You want improvements? Then, I'll let you improvise it: When run without arguments, (as you have made it), instead of just asking the user if he wants to use the default APMD, create a showRadio with a list of APMDs from /ezxlocal/.system/apmd/. Then, when selected, the apmd will be changed.. Complicated enough? Well, if not, then make it so that everytime a person clicked on a .apmd, the script remembers the location and instead of the above, display a list of "remembered" apmds...
Oh, btw, when you associate the APMDs, the .apmd filename is on $2 not $1...
EDIT: @zjole I was thinking, maybe we should just scrapped the idea of integrating Rockbox and QPlayer.. what do you think? (They're too large right?)
|
|
« Last Edit: February 08, 2008, 03:40:24 am by arctu »
|
Logged
|
|
|
|
keaglez
Indonesian Motolover
PHD modder
Karma: 61
Offline
Posts: 2562
http://jeffri.net
|
|
« Reply #162 on: February 08, 2008, 04:35:39 am » |
|
@arctu, dont forget to add 7z support (use 7zr binary, its available in The One firmware) and add it in your ROKR GUI... Btw im in last check of the autorun...add, remove, list, all works now!
|
|
|
Logged
|
Best regards, Jeffri H.
|
|
|
arctu
Guest
|
|
« Reply #163 on: February 08, 2008, 05:10:27 am » |
|
ah.. I thought very little of people uses 7z.. Oh well, I'll add it.. (: waiting for your autorun.. hehe..
@zjole I've just take a look at The One Beta 2 firmware.. I think linking would be fine but if we're doing it.. we will only do it on CG34.. (The One Beta 2 uses CG31 for the space.. very ugly)
|
|
|
Logged
|
|
|
|
Taurnil
Guest
|
|
« Reply #164 on: February 08, 2008, 06:32:33 am » |
|
Hi @arctu K, those are good ideas, all that's possible... sadly It'll take more time, I've a lot of work these days (even this weekend)... I'll translate the screentimeout script, and post it here
|
|
|
Logged
|
|
|
|
|