1. Download our Official Android App: Forums for Android!

Support Batch file, How to ?

Discussion in 'Android Devices' started by stainless, Apr 20, 2010.

  1. stainless

    stainless Member
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    49
    Joined:
    Nov 7, 2009

    Nov 7, 2009
    49
    1
    16
    Engineer
    Oak Ridge, TN
    How would I write a simple batch file to delete the stock apps on my droid.
    I can do it via Terminal emulator but want to be able to do with a simple click.
     

    Advertisement

  2. johnlgalt

    johnlgalt Antidisestablishmentarian
    Rank:
    None
    Points:
    453
    Posts:
    9,415
    Joined:
    Oct 28, 2009

    Oct 28, 2009
    9,415
    1,924
    453
    Male
    Graduate Research Assitant | That part time IT guy
    3rd Rock
    Would have to be some sort of shell script to do so. Your best bet would be to take a look at some of the other shell scripts already written from some of the ROM developers to get an idea on how to do it.

    Not sure if there is a way to write the script so that it gains root 8and* performs the commands, as I haven't delved into it, but if you wrote 2 scripts, one that did all the work, and another that gains root access and calls the first, it *should8 theoretically work.
     
  3. stainless

    stainless Member
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    49
    Joined:
    Nov 7, 2009

    Nov 7, 2009
    49
    1
    16
    Engineer
    Oak Ridge, TN
    Yes you can do it.
    I got it working great.
    downloaded GScript Lite and wrote it in there.
     
    johnlgalt likes this.
  4. johnlgalt

    johnlgalt Antidisestablishmentarian
    Rank:
    None
    Points:
    453
    Posts:
    9,415
    Joined:
    Oct 28, 2009

    Oct 28, 2009
    9,415
    1,924
    453
    Male
    Graduate Research Assitant | That part time IT guy
    3rd Rock
    Nice find. Thanks for the info.
     

Share This Page

Loading...