Two Awesome Free Windows Apps! - Off-topic

Here's a couple of Windows apps that I just got done building for everyone!
The first one is "ADB.exe"!
It opens a command prompt and runs 'adb devices' for you!
The cool part....
You don't even have to install ADB or Android-Studio first!
It's got the ADB Binaries built in!
The second app is "WIFI.exe"!
It's just like the first one, except, this one asks you for your Android's IP address!
Enter it and you've got an ADB Wireless connection!
(Must be on the same internet network for it to work!)
WARNING! - This is a 'One-Touch' download link!
http://j.mp/ADB-CMD
Nice, clean, little apps by me @...
******Dunce Cap Software******

Related

Guide: Using Android Without a Data Plan - Getting Apps, Moving Contacts, and More

aa
thanks for the guide! ive been looking all over for something like this
its totally worth switching to android now with the market apps
Guide Stuck! Thanks for this.
usb outlook sync
here's a possible usb sync solution for outlook users; it's pretty expensive though ($40, 15 day trial version), and I haven't tried it since my vouge is not activated atm.
http ://www .companionlink.com/androidusb/ol-android-usb.html
(spaces in link for newbie post)
Would this work with the vogue's usb driver?? I know i've read about issues with only parts of the usb driver being implemented.
Anyway there's a trial if anyone's interested. I'm still holding out for a "reverse tethering" solution so I can access the internet on my vogue over usb or bluetooth. There's another thread on here about that.
Great work on the guide. I'm sure I might be using it when I upgrade to a new phone in the near future
this is a great guide, thanks. i am due for upgrade around december and think that i will keep my 6900 in service- not sure as to what she will do,but ill figure out something
this gives me the opportunity to keep her at full service.
thanks again
What are you guys doing for a calendar.
Was there ever a way discovered to use the google calendar?
aa
I'm having trouble with Titanium Backup. It keeps on saying that the emulator needs to be rooted to be used, so how would I get it to work?
th3lolz said:
In the comments on my site trackstarboi said that this was good, but I have yet to try it:
http://www.androlib.com/android.application.jp-co-johospace-jorte-iwqp.aspx
Click to expand...
Click to collapse
I recently found ancal http://code.google.com/p/ancal/wiki/AnCal
and it seems to be working for me. I've tried jorte, didn't care for it.
It would still be ideal to use the google calendar, because of the widgets it has etc.
th3lolz said:
6. The apps you backup will be backed up to /sdcard/backups/apps/
7. You can use one of the following adb commands to pull these files from the emulator:
adb pull /sdcard/backups/apps/ /AndApps
This will download all of your backed up apps to a folder on your root drive called AndApps
or
adb pull /sdcard/backups/apps/<NAME OF APK>.apk /AndApps/<NAME OF APK>.apk
This will copy a single apk of your choosing to /AndApps/
Click to expand...
Click to collapse
I don't quite get this part, where do i put in adb pull /sdcard/backups/apps/ /AndApps
my emulator is stuck on the boot screen....im running the one from the accessmarket.rar
If anyone is using this on a Mac, I would love to know how you go about setting it up and using this accessmarket.avd
I can run the emulator but I can't seem to be able to figure out how to Import? this package
aa
aa
aa
aa
Good work
Thanks for the guide. Very helpful.
th3lolz said:
You have to place it in the directory stated by the sdk documentation for Mac:
If it works for you, post it here and I'll update the guide for mac users too. I'm not really sure what you'd do with the .ini though, perhaps a mac user can tell you that (or you could create an avd through SDK setup and upload your avd folder so I can look at it)
Click to expand...
Click to collapse
Thank you for the reply. I did copy the avd to my .android folder on Mac, but the emulator doesn't see it. I am a fairly new Mac user as well, so not too much help from here
aa

ADB Wireless (Widget)

I couldn't get my win7 to load the proper ADB driver (even though it had worked before). I found an app call ADBWireless (widget). It allows me to hit the widget and connect through ADB wirelessly (local wifi) and push/pull ect.
Of course you have to have the Tab up so it wouldn't help for anyone who's in a loop.
When you hit the widget it shows the local ip address to connect to:
-I go to the command prompt \androidsdk\tools and type:
adb connect 192.xxx.xxx.xxx:5555
-it connects, and I am able to see the device
I have to use adb remount and then I'm good to go (tested push/pull)
Hope this helps someone down the road. I'll keep checking back here but feel free to PM me if you have any questions.

[Q] Sideloading Help (Non-Root)

Hey all,
I have a Galaxy Gear that I received as a gift for Christmas, and I absolutely love it! However, when I saw a YouTube video showing off Nova Launcher, Angry Birds etc, I wanted to try for myself. After some research, I found out there were only about two different ways to do this: ADB or Wondershare Mobile Go. I understand how to use the terminal and ADB would be no problem, except for the fact that I don't have a computer. All I have, hardware-wise, is a Sprint Galaxy S4 and my Galaxy Gear. Is there some way to side load to the gear via my S4? A "Gear Manager" for side loading? I do not wish to root my Gear, or my S4. If this is not possible at all, I understand. I was just hoping some more experienced Android Users could give me some intelligent insight here.
Thanks.
-Roy
RoyFour said:
Hey all,
I have a Galaxy Gear that I received as a gift for Christmas, and I absolutely love it! However, when I saw a YouTube video showing off Nova Launcher, Angry Birds etc, I wanted to try for myself. After some research, I found out there were only about two different ways to do this: ADB or Wondershare Mobile Go. I understand how to use the terminal and ADB would be no problem, except for the fact that I don't have a computer. All I have, hardware-wise, is a Sprint Galaxy S4 and my Galaxy Gear. Is there some way to side load to the gear via my S4? A "Gear Manager" for side loading? I do not wish to root my Gear, or my S4. If this is not possible at all, I understand. I was just hoping some more experienced Android Users could give me some intelligent insight here.
Thanks.
-Roy
Click to expand...
Click to collapse
Open terminal on PC
CD C:\adb
adb
Adb devices
You are now ready to adb push to device with adb push command don't forget to have USB debug mode enabled on your watch by going to about in settings and clicking on the kernel continuously good luck my friend you need a PC.
Can't do anything if you don't have a computer
jutley said:
Open terminal on PC
CD C:\adb
adb
Adb devices
You are now ready to adb push to device with adb push command don't forget to have USB debug mode enabled on your watch by going to about in settings and clicking on the kernel continuously good luck my friend you need a PC.
Click to expand...
Click to collapse
Brendo said:
Can't do anything if you don't have a computer
Click to expand...
Click to collapse
Alright. I guess I just need to buy one. Thanks guys.
BTW. Any suggestions for good, cheap, laptops or desktops? Nothing super high-end, but about two Gigs if Ram would be nice.
(If this is off topic, my feelings won't be hurt if this thread is deleted. )

[Plugin] Remote Adb Shell

Hi everyone!
I just created my first Tasker plug-in. This plug-in enables you to send an adb shell command to any other device on the network that has adb over wifi enabled. I for example use it to turn my androidtv on or off by sending it the command "input keyevent POWER". You can also open specific activities in apps for example or simulate touch input.
Please read the description before using it and don't hesitate to leave feedback/bug reports/tips! This is my first app ever published so I still have a lot to learn.
You can download it for free from the play store:
https://play.google.com/store/apps/details?id=com.ADBPlugin
Edit: It's now also available on XDA Labs! You can find it here
First update is live!
This includes proper (cat)logs and Tasker errors if something went wrong, so if you run in any problems, you can now tell me . It also plays a lot nicer with the Tasker timeout system.
@Humpie
Thanks for this plugin. I allready made a project for my sony android tv. Start apps and controll media play.
But to make the plugin better I have some featur requests:
It would be nice to be able to work with tasker variables. e.g input text "%mytext".
Another feature reqest would be to get a output variable for commands with output like adb shell pm list packages.
MartelKombat said:
@Humpie
Thanks for this plugin. I allready made a project for my sony android tv. Start apps and controll media play.
But to make the plugin better I have some featur requests:
It would be nice to be able to work with tasker variables. e.g input text "%mytext".
Another feature reqest would be to get a output variable for commands with output like adb shell pm list packages.
Click to expand...
Click to collapse
Thanks for the tips! Will definitely add variable support and I'll also have a look at output variables. They are visible in the logs already, but not yet to tasker.
Why can't we use the built-in code Acton in Tasker? Is there a difference?
loogielv said:
Why can't we use the built-in code Acton in Tasker? Is there a difference?
Click to expand...
Click to collapse
In fact there is, since android 4.something google removed adb from android devices, so you can't perform adb commands from your phone, well aside from my plugin that is.
There would however be no difference if your remote device did have Tasker and you programmed it so that a certain action does something with code. However, you would have to figure out a way to contact that device etc...
Second update! The Plugin now has Tasker variable support!
(enjoy @MartelKombat btw I'm still thinking about how to implement your other request!)
I doont understand. I can type the code, but i do have to remove the "adb sell" part of the code but it's good to go… is that not what this plugin does?
Humpie said:
Thanks for the tips! Will definitely add variable support and I'll also have a look at output variables. They are visible in the logs already, but not yet to tasker.
Click to expand...
Click to collapse
Humpie said:
Second update! The Plugin now has Tasker variable support!
(enjoy @MartelKombat btw I'm still thinking about how to implement your other request!)
Click to expand...
Click to collapse
Any news on the output variable? I have high hopes since you mentioned you already see the output in the logs...
Thanks a lot for this plugin! It makes an unrooted phone much easier to control!
How to run root commands on an unrooted device with this plugin
I just wanted to share how I use this plugin, just to give others an example of what this nice plugin is capable of.
Recently, I bought a new device and for now, I have no intention of rooting it. Coming from a rooted OnePlus One, this means some of my Tasker profiles do not work as expected anymore and I have to find workarounds.
On LineageOS (and CyanogenMod before that), we have the option to display left/right cursor arrows in the navigation bar when typing text. I always loved this feature, since placing the cursor in the right position by tapping will always be a hit&miss game. Since my new device (S7 Edge) has no onscreen navigation bar, I was searching for a replacement solution to move the cursor. I came up with the idea that it would be quite handy to use the volume buttons for this. So, the idea was the following:
IF the keyboard is shown THEN use the volume keys to move the cursor (and suppress any volume changes, if possible).
It took me a while to figure out how to determine whether the keyboard is out (solution: install another keyboard and intercept the "change input method" notification as a trigger). Suppressing the volume keys' usual behaviour was easy (AutoInput -> Key Suppress) but the final step turned out to be quite difficult: How to move the cursor?
After doing some extensive research, I always came to the same point: "not possible without root". Damn.
But then, this plugin came in. The keyword "remote" in its name might suggest that you can use this plugin only to act from one device to another, but that's not true. Actually, you can use this plugin to run adb commands on the same device.
What does that mean? It means that you can run an adb shell command like "adb shell input keyevent xy" on your phone WITHOUT ROOT. In my case, I can run "input keyevent 21" and "input keyevent 22" to move the cursor. So, how can we do that?
Prerequisites:
Connect your device via ADB to a PC (google it if you don't know how) and run the command "adb tcpip 5555". That's it, you can disconnect your device now.
Then in Tasker, create an action with this plugin and type in the following:
IP Address: localhost
Port: 5555
ADB Shell Command: input keyevent POWER
Hit the play button to test this action. If you've done everything right, your screen will turn off.
Congrats, you just executed a command on an unrooted device which usually requires root privileges!
Important:
The only downside is, the tcpip setting does not survive a reboot, so you have to set the port 5555 again via PC after rebooting the device.
I hope I explained the important part well enough. If that's not the case, don't hesitate to quote me and I'll answer here.
digitalpig82 said:
Any news on the output variable? I have high hopes since you mentioned you already see the output in the logs...
Thanks a lot for this plugin! It makes an unrooted phone much easier to control!
Click to expand...
Click to collapse
I'm sorry for my absence, really busy with school etc. (honestly, I also completely forgot, I hope you can forgive me). I'll try to look into it soon (this week or the next) and see how far I get. I really like that you like my plugin! I just found out myself last week that I can let unrooted phones send shell commands to themselves using my plugin, so I'm glad to see you found it out as well! (I used it for snapchat to simulate volume key presses, which is also possible without root indeed: https://www.reddit.com/r/tasker/comments/699sav/project_share_handsfree_snapchat_picture_and/ It also works for other camera apps that require you to hold the button to film, like whatsapp etc)
Edit: I hope it pleases you to hear that today I started working on it again. I already have the responses bundled in a list in Java, now I just need to parse them to Tasker
loogielv said:
I doont understand. I can type the code, but i do have to remove the "adb sell" part of the code but it's good to go… is that not what this plugin does?
Click to expand...
Click to collapse
Yes, you have to remove the "adb shell" part since all my plugin does is access the adb shell part. This means commands like adb pull etc won't work, that requires a different type of connection, that for now I can't achieve with Tasker. But running any remote shell command should be fine (like how you would run it if you were directly running the commands from a terminal on your phone)
digitalpig82 said:
I just wanted to share how I use this plugin, just to give others an example of what this nice plugin is capable of.
Recently, I bought a new device and for now, I have no intention of rooting it. Coming from a rooted OnePlus One, this means some of my Tasker profiles do not work as expected anymore and I have to find workarounds.
On LineageOS (and CyanogenMod before that), we have the option to display left/right cursor arrows in the navigation bar when typing text. I always loved this feature, since placing the cursor in the right position by tapping will always be a hit&miss game. Since my new device (S7 Edge) has no onscreen navigation bar, I was searching for a replacement solution to move the cursor. I came up with the idea that it would be quite handy to use the volume buttons for this. So, the idea was the following:
IF the keyboard is shown THEN use the volume keys to move the cursor (and suppress any volume changes, if possible).
It took me a while to figure out how to determine whether the keyboard is out (solution: install another keyboard and intercept the "change input method" notification as a trigger). Suppressing the volume keys' usual behaviour was easy (AutoInput -> Key Suppress) but the final step turned out to be quite difficult: How to move the cursor?
After doing some extensive research, I always came to the same point: "not possible without root". Damn.
But then, this plugin came in. The keyword "remote" in its name might suggest that you can use this plugin only to act from one device to another, but that's not true. Actually, you can use this plugin to run adb commands on the same device.
What does that mean? It means that you can run an adb shell command like "adb shell input keyevent xy" on your phone WITHOUT ROOT. In my case, I can run "input keyevent 21" and "input keyevent 22" to move the cursor. So, how can we do that?
Prerequisites:
Connect your device via ADB to a PC (google it if you don't know how) and run the command "adb tcpip 5555". That's it, you can disconnect your device now.
Then in Tasker, create an action with this plugin and type in the following:
IP Address: localhost
Port: 5555
ADB Shell Command: input keyevent POWER
Hit the play button to test this action. If you've done everything right, your screen will turn off.
Congrats, you just executed a command on an unrooted device which usually requires root privileges!
Important:
The only downside is, the tcpip setting does not survive a reboot, so you have to set the port 5555 again via PC after rebooting the device.
I hope I explained the important part well enough. If that's not the case, don't hesitate to quote me and I'll answer here.
Click to expand...
Click to collapse
So...is it possible to create a version of the plugin that runs locally and doesn't disappear on a reboot?
kenkiller said:
So...is it possible to create a version of the plugin that runs locally and doesn't disappear on a reboot?
Click to expand...
Click to collapse
I would like to be able to create such a think but I don't think Google would allow it since it's a big security flaw to have adb opened to the world at all time without notifying the user. Some devices however have a debug over wifi function hidden in the developer options (like the nvidia shield android tv), there you can just enable it and it will probably survive a reboot.
However what I would advise to do if this option is not available, is to create a .bat file on your desktop containing "adb tcpip 5555". That way after a reboot you can just plug in your phone, click the bat file and be done!
Humpie said:
I would like to be able to create such a think but I don't think Google would allow it since it's a big security flaw to have adb opened to the world at all time without notifying the user. Some devices however have a debug over wifi function hidden in the developer options (like the nvidia shield android tv), there you can just enable it and it will probably survive a reboot.
However what I would advise to do if this option is not available, is to create a .bat file on your desktop containing "adb tcpip 5555". That way after a reboot you can just plug in your phone, click the bat file and be done!
Click to expand...
Click to collapse
Hmm....But there's this custom nav bar app where it allows users to grant it adb shell permissions, and the permission survives over reboots. Auto tools and Securetask relies on the same process as well.
I guess what we're asking for is something that's not as encompassing as your plugin. Me, I just want to execute the power command without root in a way that respects smart lock, which is possible now with your app but doesn't survive a reboot, or with the custom nav bar app, which survives a reboot, but restricts me to using it in a tiny button on the nav bar, as the dev doesn't seem interested in exposing the commands to external usage.
---------- Post added at 07:30 AM ---------- Previous post was at 07:28 AM ----------
We discussed it in this part here....
https://forum.xda-developers.com/an...avigation-bar-customize-t3590967/post72212488
kenkiller said:
Hmm....But there's this custom nav bar app where it allows users to grant it adb shell permissions, and the permission survives over reboots. Auto tools and Securetask relies on the same process as well.
I guess what we're asking for is something that's not as encompassing as your plugin. Me, I just want to execute the power command without root in a way that respects smart lock, which is possible now with your app but doesn't survive a reboot, or with the custom nav bar app, which survives a reboot, but restricts me to using it in a tiny button on the nav bar, as the dev doesn't seem interested in exposing the commands to external usage.
---------- Post added at 07:30 AM ---------- Previous post was at 07:28 AM ----------
We discussed it in this part here....
https://forum.xda-developers.com/an...avigation-bar-customize-t3590967/post72212488
Click to expand...
Click to collapse
It seems this app uses specific android permissions to be able to send events etc. However my plugin has no direct access to the android system (only by using the adb bridge), so granting my plugin these permissions won't help. What however would help is if I could find a way to enable adb over wifi using only some permissions... I have no clue whether this is possible though as the app would have to call service.adb.tcp.port 5555 for itself and that needs root or an adb connection (so it still requires a laptop XD). I'm still trying though.
Humpie said:
It seems this app uses specific android permissions to be able to send events etc. However my plugin has no direct access to the android system (only by using the adb bridge), so granting my plugin these permissions won't help. What however would help is if I could find a way to enable adb over wifi using only some permissions... I have no clue whether this is possible though as the app would have to call service.adb.tcp.port 5555 for itself and that needs root or an adb connection (so it still requires a laptop XD). I'm still trying though.
Click to expand...
Click to collapse
No worries. It's just that it's so close yet so far, heheh.... I guess I'll have to reboot only when home.
kenkiller said:
No worries. It's just that it's so close yet so far, heheh.... I guess I'll have to reboot only when home.
Click to expand...
Click to collapse
I found out it is in fact possible to have wireless adb survive a reboot! However it requires a build.prop edit.
in \system\build.prop "service.adb.tcp.port=5555" needs to be added at the end of the file and then after a reboot adb over wifi will still be enabled (at least it was in my case).
The downside is that this modification can't be done via adb without root unless you have a custom recovery like TWRP and run adb while having that opened and /System/ mounted.
I'm trying to create a zip that modifies the build.prop how it should be modified, but I don't think it's possible to run it through a non-custom recovery...
Edit: I added my .bat file for modifying the build.prop adding that line. It uses an adb connection that requires more rights than what android allows when booted, but should probably work if you are able to access adb from recovery and you are of course booted in recovery mode (using recoveries like TWRP or even some stock manufacturer ones).
Update 4.3 is live!
As requested you can now access the output from the console directly in Tasker.
I tried to order everything neatly in a list, with each line in the console being an item in the list, but this does mean that the initial "device\sdcard $" et cetera get added as an item as well.
But since I didn't want to cut off anything important I just kept it that way. You can just modify the list in any way you want (AutoTools has some handy Array handling tools built in).
I also added some hints in the main screen just for fun.
If you run into any strange behaviour, bugs or have tips, please tell me!
digitalpig82 said:
Any news on the output variable? I have high hopes since you mentioned you already see the output in the logs...
Thanks a lot for this plugin! It makes an unrooted phone much easier to control!
Click to expand...
Click to collapse
Enjoy
Since most people are using my Plugin locally instead of remotely, I'm thinking of renaming it to just 'ADB Shell [Tasker]'. It would make it simpler when googling it. What do you think?

Question Can anyone supply me with a NON-ADB , and NON FRP related method to crash the Android-Setup app?

Basically i need something that can be ran via terminal emulator, or a third party app that i can install which will crash the setup that happens after a factory reset.... Reason is my setup is corrupted, and until it sends a completed flag to my phone, all preloaded apps, as well as many functions in settings are disabled, and also the phone does not activate the MTP protocol so i cannot use adb, because the phone hasnt released the block of it. My setup crashes approx 7 seconds after i touch the screen to start going thru it. I can use trickery to allow me to NEARBY SHARE apk files, and more trickery to load them... but that is as far as the phone will permit. So i really just need a solid method to BREAK or CRASH the android setup, or a command that will have permissions capable of "Config_Settings_Device_Setup_Complete=1" or something to that sort. Remember i am limited to Termux and Terminal Emulator...
beatbreakee said:
Basically i need something that can be ran via terminal emulator, or a third party app that i can install which will crash the setup that happens after a factory reset.... Reason is my setup is corrupted, and until it sends a completed flag to my phone, all preloaded apps, as well as many functions in settings are disabled, and also the phone does not activate the MTP protocol so i cannot use adb, because the phone hasnt released the block of it. My setup crashes approx 7 seconds after i touch the screen to start going thru it. I can use trickery to allow me to NEARBY SHARE apk files, and more trickery to load them... but that is as far as the phone will permit. So i really just need a solid method to BREAK or CRASH the android setup, or a command that will have permissions capable of "Config_Settings_Device_Setup_Complete=1" or something to that sort. Remember i am limited to Termux and Terminal Emulator...
Click to expand...
Click to collapse
If you have no access to ADB or apps of any kind and no other access to the device then no I don't think you can..
If your device isn't working then why not just flash a payload.bin via Fastboot enhance and get your device working again
dladz said:
If you have no access to ADB or apps of any kind and no other access to the device then no I don't think you can..
If your device isn't working then why not just flash a payload.bin via Fastboot enhance and get your device working again
Click to expand...
Click to collapse
i am on a Oneplus 10Pro ORIGINALLY T-Mobile branded NE2217... They disabled Hardware Key combinations for Fastboot, and FastbootD .... only recovery and edl are still active! But lemme clear up a few things.....
I CAN INSTALL apps.... certain ones will not open after install, mainly any Web Browser, 3rd party search, file manager, or email client... no app that can reach out to the Internet...
WHAT I CAN LOAD is apps like Terminal Emulator, Termux, Launchers, the plain "FIles" file manager, and many more. I can access the shelf in the black screen, and thru it i can jump into the crippled Settings app, followed by "Home Screen Settings", and when i change the orientation of the app list, (vertical, horizontal), it takes me to a handicapped Home screen.. looks completely normal, but EVERY icon says "cannot find package" when clicked. i managed to force Terminal Emulator, and Termux to install and open. I can do others, provided it is something that is readily availble somewhere.
In the About Phone tab, when i go to version number, and start tapping build, it does nothing... because its locked out, just like all the apps are.... Everything normal is in some kind of perpetual hold state, that will only release when , "Android_Config_Status_User_Complete = 0" changes to "1".
This is why i need a System UI crash to take down the setup app... then i can go enable USB DEBUGGING, run the command to get back to FastBoot, and use the tool to flash a payload. But til i can break the hold, i am limited severely in what the device will allow me to do.
If you can root your device and run su in termux you can uninstall the setup apk.
Actually they may not work if you can't get into Fastboot...
Tbh I'd send it back...T mobile strikes again...

Categories

Resources