yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] MontAlbert:
is it possible to make a script that backs up a file from a data folder? Is it also possible make it work automatically once a weekor so?

eg. cp /system/intmem/data/com.wktmngr/MyWorkout /sdcard/workoutmanager

not sure how to seperate the file each week- actually if it just took the place of the old one is fine.....

*****edit****** just typed in the above. worked perfectly... well i think so- have tried to reinstall it but it looks ok.... now to set it to run once a week automatically?
[Android Apps and Games] rogro82:
I am actually thinking about creating a task scheduler for GScript so that you can schedule scripts to run for e.g. once a day / a week etc.

This way you can easily backup your sms/mms etc once a week or clear your cache every now and then with out having to use any form of input...

If enough people would find it useful ill start working on it.
[Android Apps and Games] prash:
A task scheduler for GScript would make this perfect app even better! Most of my scripts are ones I run on a regular basis. I am a highly paranoid guy so I like to back up a lot since I flash builds/themes a lot. An automated system for some scripts would rock! Thanks!
[Android Apps and Games] soloxp:
Hey Rogro82

I use GScriptLite and it does all I need it to do. But I would like to buy the paid GScript to support your hard work. How much is it in US dollars.

A task scheduler would be very nice.

Thx Soloxp
[Android Apps and Games] shaneaus:
Wow! a task scheduler! I would love it!
[Android Apps and Games] prscott1:
Wow! I was just starting to search for a cron or scheduler - and thought about checking in with you first. I'm definitely interested and would get the GScript paid version too! :D
[Android Apps and Games] rogro82:
Ok you guys have convinced me :D

I will start working on it as soon as I have some time left... Already have worked out some stuff on how to do it.

I think the easiest way is you can add schedules to a script where you can select a day and a time etc. This way you can setup as many schedules for a script you like... So you can let a script run weekly on monday or everyday or multiple times every day....
[Android Apps and Games] Puky70:
@ all,

can anyone tell me where are the cache files located in haykuro's 6.0r1 Firmware. I want to clear the cache of browser, market etc.

This one does not work for me:

Thx

Regards

Edit: solved

Puky70
[Android Apps and Games] prscott1:
sounds great to me ! Can't wait to give it a whirl.

If you need testers, I volunteer!
[Android Apps and Games] rogro82:
Ive been pretty quiet lately but to let you all now im not doing nothing.

At the moment im completely rewriting GScript from scratch and including new features, updating GUI etc etc.

Some features i'm working on / planning to work on are:

* Better GUI

* Schedule service to schedule scripts ( allowing you to create unlimited nr of schedules for a given day of the week and a time to execute a script... this way you can setup schedules to run a script once a week, everyday, multiple times a day etc etc )

* "On Event" script execution ( for now i will only implement On Boot so you can start scripts when the device is booted ).

* Import / exports of multiple scripts and resources using XML from SDcard and the internet, this will allow you to restore all your scripts after a wipe.

* Resources, which are basically easy to setup links to useful resources online like the GScript scripts thread.

* Settings ( related to execution, scheduling etc )

* Some more stuff :)

These will all be available in GScript 2.0 as soon as its ready... Stay tuned :)
[Android Apps and Games] prscott1:
OMG! GScript 2.0 sounds too good to be true! :D
[Android Apps and Games] RaiderX303:
looking forward to gscript 2.0 for the load on boot feature, means i can get it to enable swap on startup :D
[Android Apps and Games] MontAlbert:
any news on when 2.0 will be ready? i would love a task scheduler (on boot)
[Android Apps and Games] Franklees:
possible bluetooth on a JACHero ROM

I have a question or suggestion to put froward. A little wile back someone posted that they could get bluetooth working on a JACHero ROM. He did not write a script for it (quote below). Could someone write a script with that command and create a shortcut or 2 on the desktop (one for enable and one for disable). If I am mistaken or obviously do not know what I am talking about, there is no need to flame me, just tell me the idea was cute and I should run along and go play outside.
[Android Apps and Games] t1h5ta3:
i had this running, wiped my phone, then couldnt get it working.

tryed redownloading, install from adb, everything i could think of...

then i remembered there was a code page....

downloaded from there all good!

http://code.google.com/p/gscript-android/ incase any one else has issues....
[Android Apps and Games] sayiramkn:
regarding GScript

Hi All

i am trying to run some Commands like MKDIR as well trying to execute some comandline applications. so to call this whats the script i have to write?

i have done all possible ways but not seen any output.any one can help on this??

Sram
[Android Apps and Games] Proxin:
Not working on the latest Cyanogenmod... can you update it to work with Donut?
[Android Apps and Games] IConrad01:
To any reading this, I would suggest going with the Android Scripting Environment app instead ( http://code.google.com/p/android-scripting/ ). It lets you execute shell, Lua, Bean, and Python scripts, and yes you can create shortcuts to your desktop.

ASE has /much/ more updating activity than does GScript; with its most recent version being put out 8.20, as opposed to 6.05.

For some reason, /my/ system has an issue that it doesn't want to execute shell scripts via ASE. However, getting around that is as simple as executing a python script as follows:

import os
x = /path/to/script.sh
os.system(x)

Alternatively, if the script requires SU:

import os
x = 'su -c "/path/to/script.sh"'
os.system(x)

(Note the closing quote).

It lags by a couple of seconds, but that's /still/ quicker than having to type all that out rather than just clicking a single icon on the desktop. :)
[Android Apps and Games] prscott1:
Hi Rogro, Have you abandoned this project?

If not, I'm seeing a few problems using it on Donut. That is, when loading a script from the sdcard, it says loaded but actually doesn't show up on the gui list.

When I look in the table using sqlite3 (I have the paid full version), I don't see them in there either.

Thanks for any info you can provide!
[Android Apps and Games] rogro82:
No i havent abandoned it...

Im still not running Donut, but will upgrade tomorrow to see whats wrong and will upgrade it as soon as I find out whats wrong.

Thanks for letting me know.
[Android Apps and Games] prash:
Just to chime in, I'm on Cyanogen's donut rom 4.1.999 and GScript functions perfectly as before.

Have you tried uninstalling/reinstalling? If you haven't wiped in a while it may be some permissions issue. I reinstalled from market and I haven't had any issues loading the saved scripts.
[Android Apps and Games] prscott1:
Hi - I uninstalled and reinstalled and now it works fine on my donut build. Thanks all!
[Android Apps and Games] prscott1:
Glad to hear that! I sure wouldn't like my Android as much as I do now without this app.

Thank you as always!

:D
[Android Apps and Games] bert269:
Cannot see .sh files on sdcard

I have copied my script.sh file to the root of my sdcard. When I try to 'load' it does not show...am I missing something?

Thanks

HTC G1

Cyanogen 4.2.7.1

16GB Class 6
[Android Apps and Games] QMAN101:
gscript looks for the files inside a gscript folder on the root of the sd card.
[Android Apps and Games] OrganizedFellow:
What's the recommended method of installing *.apk?

How about making it loop and install .apk from within a folder?

I've tried countless ROMs. And after switching from CM recovery to RA-dream recovery, I've really liked using BART/NAND+EXT backups.

Makes it super easy to restore environments.

But when flashing a new ROM, what's your preferred way to batch install apps you already have on your SD card?

GScript? or some other app?
[Android Apps and Games] edso:
how to run grep? (motorola droid)

(I apologize for this newby question, but please note that other beginners may

have the same problem.)

"grep" does not work (permission denied).

I have not rooted my phone - I am reluctant to do so, as there is always the risk of messing something up. (Yes, I am root on my lap/desktop systems, but that's a different story.)

Is there any set of scripts that allow one to do basic unix stuff without rooting your phone?

Thanks in advance!
[Android Apps and Games] shaneaus:
In response to the above post... No, you can't run any scripts without root to my knowledge.

Don't be afraid of messing something up on your phone by rooting. As long as your careful you won't hurt anything. I purchased my G1 specifically so I could root the phone. I have never used Linux and don't know much at all about programming, etc. But, I know how to be very careful about what I do and to research all possible related issues first. Been "messing" with my phone ever since and haven't run across a single problem that couldn't be solved.
[Android Apps and Games] IConrad01:
@edso -- Try this instead: http://code.google.com/p/android-scripting (It might just work for you.)
[Android Apps and Games] mr_chris:
A while ago, someone requested a feature that would allow launching a script from within another application. I was wondering if any more thought had been given to this, I would find it extremely useful.

I use an auto-profile switcher that allows me to set a given "profile" based on certain conditions (time of day/location/etc). It also allows me to launch applications based on these conditions.

I was thinking that the easiest way to accomplish this with GScript might be to define one script as a "default" and that default script would run every time the application itself was opened or called from another app (maybe after a 3 second "security" delay to prevent problems with a rogue script).

Anyone have any thoughts on this?

Chris
[Android Apps and Games] fubaya:
Hey guys. I love GScript. My iPhone was full of scripts which I had set up to run through shortcuts so it was great to find GScript to do the same thing on the Nexus One. I have one problem though, I have several scripts that use ssh but they won't work because GScript thinks my home directory is / and looks for the .ssh directory in //.ssh.

Example. Typing this in a terminal will log into my home PC and run the uname command: ssh [user]@[myIP] -i /data/dropbear/dropbear_rsa_host_key -p 24680 'uname'

Putting it into a script and running it with GScript, I get the following error:

"stderr: ssh: Warning: failed creating //.ssh:

Read-only file system

stderr: Host '[my PC's ip address]' is not in the trusted hosts file

My $HOME is set to /data/dropbear in ash, bash, /system/bin/sh and /system/xbin/sh (symlink to busybox). Is there any way to set it in GScript or any other workaround to this?
[Android Apps and Games] Proxin:
Can you tell me how you set these scripts up? Or was it through SB Settings?
[Android Apps and Games] fubaya:
I did this. It's more like a GScript shortcut, but not quite as nice. The downside is there's no way to get any output and the iPhone has a timeout that kills apps if they don't open cleanly after a certain time and scripts can't tell the system they opened cleanly so long ones get killed after about 18 seconds. But I did find somewhat awkward solutions to get output and avoid the timeout.

EDIT: that only works for jailbroken iphones, of course.
[Android Apps and Games] Proxin:
Well, that goes without saying :p

What sort of scripts would you recommend, what did you use?
[Wing, P4350 General] beergenius:
I'm trying to to free up my startup menu on my wing and there is something called cfutray.lnk. is this something I can remove from the startuo menu? What are the effects? thanks, Scott.
[Wing, P4350 General] beergenius:
I guess no one else has this on their startup menu? Wierd
[Wing, P4350 General] david090:
I also have that in the start up but no idea.

i have the same wing, please tell me how else can i free up ram & storage area.

Thanks
[Wing, P4350 General] akademik_acheeba:
leave it alone...its only 25b
[Touch Diamond, MDA Compact IV Themes and Apps] stevecampoli:
Hi Guys,

For some reason when i first got the phone on the Internet tab all of the favorites had Favicons..for example google had the "G" icon near it and so did facebook...now their missing and their is only the you tube icon...any way to restore these or if theres a cab file out there to have it back. thanks.
[Touch HD General] bug-i:
since yesterday my device turns the display off when i dont make an input for 2 or 3 seconds. this sucks massive, cause i have to press the button on top to reactivate the screen.

this happens only if not connected to a power plug. i found there some settings in "energy options" but the setting there ist alread to 10 mins!!

what could that be? i cant remember changing any settings

yesterday. help :(

update: weird thing. its not even the display. somehow also the device. coreplayer stops playing too. tomtom and phonecalls are working normal.
[Touch HD General] fwt:
Same Problem here

Hi,

i have the same Problem ... since i flashed yesterday with "Davideuck_V-5 WWE".

I also installed the Diamond ATI D3D Driver for better grafix.

I've installed "Pocket Shield" which locks the Screen after being in Standby.

But ... when i press the Power Button just after the Screen went off, it turn on again with the last App running and not with locked Screen.

Very confusing. :confused: :(

Did you install any Driver or Tools?
[Touch HD General] bug-i:
no, nothing, i made no changes in the last weeks, i happend just out of the blue.

Now I made a hard reset. problem solved. but i have to install all apps again:(
[Touch HD General] fwt:
with the Problem is solved for a while (and then appears again) after a Softreset. :(

But if You have to install all Apps again ... here's a little Tip:

SASHIMI => http://www.winmo-experts.com/index.php

There are also Threads here in XDA just search for "SASHIMI"

Also on Youtube => http://www.youtube.com/watch?v=ANgzCqrcjHw

Just give it a try (if you don't allready know this Beatifull Tool :D)

Anyway => GOOD LUCK ;)
[G1 Android Development] MUSICMOGUL:
I've had my g1 for about 2 weeks. I have root. I have the RC33 update. I was able to connect to a pc after this update then one day I tried to get this song off of the computer so I plugged in the phone and it said "found new hardware"....I have tried everything different pc's different usb ports,different storage cards,....I tried the anycut app method....failed on one pc it opened on my laptop and then shut off again....I've soft reset,hard reset...removd the card and put it back in...no luck...any one with the answer please help...I will love you long time!

And the pc does recognize the phone is plugged up because its charging...
[G1 Android Development] bestwebs:
Hi,

Found new hardware means it was trying to install the usb drivers for your g1.

If this was not done correctly, than several things won't work like adb.

So that's what that message is.

But unplug your phone and go into settings, applications, development uncheck the box that says usb debugging,

Exit out and connect your cable, mount you drive and you can transfer files back and forth again.

:)
[G1 Android Development] MUSICMOGUL:
Ok I did that but the box was already unchecked...so I plugged up the phone...and nothing happens so I check the box and the g1 acknowleded the pc and vise versa....and the installation wizard is for Android Phone...and is asking for an installation disk...so now I'm back to square 1...
[G1 Android Development] greenkabbage:
Once you have plugged in the USB cable and Windows has recognized your phone (i.e. no new hardware found dialog anymore), you need to pull down the notification bar of the G1 and click on "connected to USB" or something along those lines. The phone will then give you an option to mount the SD card for read/write over the USB cable.
[S740, S743 General] steinaa:
Somehow My Contacts and the Calender won't respond no matter how much I click on them - neither will Vista synchronize the phone when I connect it. It can't even tell I've plugged in the phone by USB.

The rest of the functions still work like a charm.

Any ideas?
[Touch Pro, Fuze General] sovrce:
Assuming the Weather tab uses the AccuWeather server to display the current conditions, does anyone know why my temperature would be off? For the longest time, since I bought the phone and even after I successfully added other cities to the weather tab, I could NOT get my home city to work. Eventually I reinstalled the Weather Customizer for one reason or another and I just recently got it to work. Before it would show a "Partly Sunny" icon and name and say "IDS_ERROR" where it would normally display the temperature. Like I said, I FINALLY got it to work but it seems off. Any ideas why? Is it not AccuWeather that it uses?
[Touch Pro, Fuze General] johnfoam:
I had the same issue. The temp was frequently way off for all of my "custom" cities. As an experiment, I added a fake city and to my surprise it actually displayed a temp reading (which of course was completely bogus). I ended up getting rid of my custom cities. Not sure what the problem was, but then again, I didn't really look much into either. The pre-loaded cities are close enough for me.
[Wing, P4350 ROM development] crackzattic:
i did a hardspl and i am using microlabs newest rom and despite what everyone else says its really glitchy and has frozen up soo many times on me and i wanna just use ivanmmj's justme clean rom and install touchflo 2d (if there is even a way to do that). anyway do i need to go back to an orginal tmobile rom or can i just flash another rom over the microlab one? sorry i just dont wanna brick my fone
[Wing, P4350 ROM development] ivanmmj:
You can flash over it. Just remember: JustMe requires that you flash through an SD card formatted as FAT32.

Also, installing TouchFLO2D is possible on ANY ROM. (TouchFLO2D itself is VERY buggy, though.)

On a different note: You may get a warning from the MOD for posting this here. Please remember that the Development subforum is to talk about Developing ROMs. Normally, you'd want to post in one of the other Herald subforums.
[Wing, P4350 ROM development] crackzattic:
thx alot but also under the subforum has a description that says rom issues as well as rom development thats why i posted here, sorry if its in the wrong place and again thx for the help
[Wing, P4350 ROM development] apathetic:
hehe I always thought about stating that but never did :)
[Touch Diamond, MDA Compact IV General] ranko:
Dears,

Before i had my Diamond i had an HP IPAQ h6340, with that device whenever i took the battery off to change SIM card i lost all my data and was hard resetting. I wonder if this is true for the Diamond or i can keep my data intact after changing SIM.
[Touch Diamond, MDA Compact IV General] vale|46:
On the Diamond, taking out the battery will not lose any data.

Unless you're talking about the SIM contacts? There is setting you can change with Advanced Config Tool to purge SIM contacts when no SIM is present, this is actually enabled by default.
[Touch Diamond, MDA Compact IV General] fraps:
Once you have disabled the feature just copy the contacts to the phone and voila!
[Tilt, TyTN II, MDA Vario III Themes and Apps] dheehd:
Hello all,

I would like to be able to lock the phone (disable touch screen and keyboard) without shuting down the screen and with the screen still displaying the running app.

Right now, when I press the handup button for the 2sec, it does lock the phone as expected but it also brings the Today screen back which is the concern.

I do not remember having that problem with WM6.0 but I definitively have it with WM6.1... could it be related?

Does anybody have a clue to help me with this ?

Thanks

David.

TyTN II - Taiwanese WM6.1 ROM (official from HTC)
[Tilt, TyTN II, MDA Vario III Themes and Apps] kilrah:
Hmm I have 2 programs that have a "lock screen" command - QuickMenu and AEBPlus - and both will loch the screen on the currently focused app, not return to today screen.
[Tilt, TyTN II, MDA Vario III Themes and Apps] dheehd:
Thanks for the info.

I ll try them and see if it helps.
[XPERIA X1 ROM Development] DriveBuyB:
Hi everybody. I have a X1i that I have been using for 4 months or so. I really hated the stock rom. I lurked around this forum for a little while after reading about it somewhere (forgot where). Saw all these glorious roms that I was afraid to try cause I had no idea was HARD SPL was, until this morning when I flashed the TOUCH-IT 4.0 Landscape rom. I have a few questions if you guys can help me

Im fairly new here so I hope you can forgive my question if its been asked before. I searched back a dozen or so pages and couldnt find a similar thread.

Which ROM is most user friendly and stable so far? The nX1i Lightspeed or Touch-IT Landscape 4.0 or the Generic RA10 UK rom?

Currently I am using the Touch-IT Landscape by ITJE and i love it. Much better than the original rom my xperia was shipped with. Video is noticeably better.

However, if i do not need touch-flo, should I use the generic RA10 rom or nX1i rom instead?

Also, for youtube, i kept reading that I need to install the youtube.cab from blackstone. Where can I get this cab? I've tried installing previous youtube.cab but I guess they were the wrong version cause youtube doesnt work and the panel does not show up.

previously I tried cabs located

here

http://xdaforums.com/showthread.php?t=462595

and here

http://xdaforums.com/showthread.php?t=462595

Sorry if my questions have been asked before. Even more sorry if this is the wrong forum...
[XPERIA X1 ROM Development] norti:
You can find the correct youtube.cab and the panel for it in my collection topic (in my signature), it should work fine on WWE roms installing the cab first and the panel after.
[XPERIA X1 ROM Development] DriveBuyB:
If im already using TOUCH-IT v4.0 Landscape, do I still need the WVGAFix?
[XPERIA X1 ROM Development] norti:
WVGAFix is for such applications that cannot run in WVGA only in QVGA,VGA or other. You can change the screen's resolution on the X1 with this, so you might need this for some apps.
[XPERIA X1 ROM Development] guap:
despite to itje's great work, new tflo3d isn't 100% stable and some crash happens. If you need a full and stable rom stay with itje' 3.5 or something else but don't choose a rom with new manila landscape, we have to wait a bit more before using it every day

Also, generic rom sucks, now we have many great rom from our cookers, choose one of them and be happy ;)
[XPERIA X1 ROM Development] d0z3y:
Unfortunately, which is best is very hard to answer because everyone has different requirements and perceptions of what is good.

I have tried Jack's roms, itje's roms and now the nx1 rom.

For me the most important thing is my perception of responsiveness. I also want to have a highly customizable device and therefore tf3d is not ideal. Given this, the nx1 rom seems to be the best for me. All the roms seemed reasonably stable but I am still playing around with it so much that it is difficult to know whether any problems are caused by the software I am loading or the rom.

The best thing to do would be to read the comments people are leaving regarding the different roms and then if you like the sound of it, give one a go. Unfortunately this is a time consuming process.
[XPERIA X1 ROM Development] przemest:
d0z3y, can You paste here link to nx1 rom or itje ?

And question from me:

Is there available rom, that it is stable, very fast (graphic too) and have generic panels or it's nice to be a SPB panel or Manila HD panel ?

Please help me, bacause i've found difficulty with understanding every information about roms in topics. I dont speak english very well.

Can You answer me with simple english ?

TIA
[XPERIA X1 ROM Development] buchman:
You should just look in the route forum of this thread and you can find them all there, and many more.......