How to Write a Batch File – Automate your Android Commands

How to Write a Batch File – Automate your Android Commands

my-portfolio

XDA TV Producer RootJunky has helpfully created a lot of Super Tools. These tools automate the process of unlocking, rooting and other hacks on your

TOP 10 MẪU BÀN ĂN THÔNG MINH NHÀ DIỆN TÍCH HẸP RẤT CẦN
Dinh dưỡng khi mang thai: Mẹ bầu có nên ăn mít không? Những lợi ích tuyệt vời khi ăn mít.
How to Flash Any Xiaomi Phone using Mi Flash Tool | Hindi



XDA TV Producer RootJunky has helpfully created a lot of Super Tools. These tools automate the process of unlocking, rooting and other hacks on your phone. He has created a Samsung Gear Live Super Tool, a LG G Watch Super Tool and a Moto 360 Super Tool. He has created all of these using batch files.

In this episode of XDA TV, RootJunky shows you how to get started with creating a batch file. He helps you set up your workspace for a batch file that will automate Android ADB and Fastboot commands. So if you wanted to learn how to automate your Android commands with batch files, check out this video to find out!

XDA Portal:
XDA Forums:
XDA TV:

Resource Links:
Batch File Examples and Info Article:
Links to Batch File Script Tool’s Made by RootJunky:
Amazon Fire TV:
Tegra Note 7:
Motorola Moto 360 Watch:

RootJunky’s YouTube Channel:
RootJunky’s Server Site:
Rootjunky.com Site:

Check Out XDA on Social Media.
Twitter:
Facebook:
Google+:

Nguồn:https://hdwallpaperslovely.com/

COMMENTS

WORDPRESS: 20
  • comment-avatar

    Transfering batch files over the internet is ILLEGAL

  • comment-avatar

    Can we run bash script on non-rooted phone

  • comment-avatar

    Hi !! is it possible to run a batch file to rename android deveice bluetooth names. I dont want to physically name device by device

  • comment-avatar

    im running operation ghost through rh all game loader and im trying to write a .bat to start demulshooter then run operation ghost by starting the rh all game loader exe. i can get demulshooter to launch but opg wont launch or its says it cant find it but i copied the path directly from a shortcut to the exe. any help would be greatly appreciated. Thanks heres what i have in my bat file.

    cd C:UsersARCADEDesktopoperation ghost
    demulshooter.exe -target=ringwide -rom=og

    start "C:UsersARCADEDesktopoperation ghostGame Loader All RH.exe"

  • comment-avatar
  • comment-avatar

    I know how to write batch on pc but can I make an app that u can go to playstore on ur phone and download with batch? I made a small game in batch and I want to put it on a phone

  • comment-avatar

    is there a way to make something like that but on your device not with pc

  • comment-avatar
  • comment-avatar

    what is the name of the preview thingy program

  • comment-avatar

    you dont have to have the bat in a folder with the adb files you can add the path in the proporties thingy and you can use the cd command in the batch file…

  • comment-avatar

    This is really usefull ,thank u

  • comment-avatar

    Excellent video. I used to write batch files in the days of dos/DCOM (I was about 10). Kinda lost interest then, but I restored stock firmware/locked boatload on my n7 the other day manually and had to do it several times because the flash-all.bat wouldn't work correctly. And it never even crossed my mind to edit/create one to do it for me. Thanks for the vid and reigniting my interest 🙂

  • comment-avatar

    How to write a batch file? 
    End of video

  • comment-avatar

    Correct me if I'm wrong, but the "adb" from the line "adb reboot bootloader", doesn't reference the adb.exe that is in the same folder. It references the adb.exe that is in one of the paths in your windows PATH evironment variable.

  • comment-avatar

    Please do more videos like this. This stuff really interests me!

  • comment-avatar

    is this what windows looks like now? It's been so long since I've seen it.

  • comment-avatar

    No need to rename .bat to .txt when using notepad++ or without it since right-click gives in option to open .bat as a .txt

    but in the beginning of the video he said he wasn't an expert :p sooo..

  • comment-avatar

    Hi, i have a canadian s4 SGH-I337M with cm11 m12   so i have a custom recovery. I'm looking for a s5 port rom like ozcan rom or samy deluxe rom with the look of s5 all features like power saving mod kid mod air gesture and all the s5 apps s voice , music, camera etc. all the rom i saw are for GT-I9500 or GT-I9505 but i have the canadian SGH-I337M.

  • comment-avatar

    Bat file tutorial? Really?? -_-

  • comment-avatar

    Changing files' extensions is pointless. It's just a waste of time. You can edit .bat .txt .prop .whatever with notepad++ anyways.

  • DISQUS: